1 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
3 * scripts/bench.pl: Append volatile keyword to type.
5 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7 * sysdeps/sh/sotruss-lib.c: New file.
8 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
10 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14 2013-12-05 Joseph Myers <joseph@codesourcery.com>
17 * math/w_tgamma.c: Include <errno.h>.
18 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
19 * math/w_tgammaf.c: Include <errno.h>.
20 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
21 * math/w_tgammal.c: Include <errno.h>.
22 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
23 * math/auto-libm-test-in: Do not allow missing errno on tgamma
24 underflow. Add more tgamma tests.
25 * math/auto-libm-test-out: Regenerated.
26 * sysdeps/i386/fpu/libm-test-ulps: Update.
27 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
30 sin, sinh, tan, tanh, tgamma, y0 and y1.
31 * math/auto-libm-test-out: Regenerated.
32 * math/libm-test.inc (TEST_COND_x86_64): New macro.
33 (TEST_COND_x86): Likewise.
34 (M_E2l): Remove macro.
36 (M_2_SQRT_PIl): Likewise.
37 (M_SQRT_PIl): Likewise.
38 (M_1_DIV_El): Likewise.
39 (log_test_data): Use AUTO_TESTS_f_f.
40 (log10_test_data): Likewise.
41 (log1p_test_data): Likewise.
42 (log2_test_data): Likewise.
43 (sin_test_data): Likewise.
44 (sin_tonearest_test_data): Likewise.
45 (sin_towardzero_test_data): Likewise.
46 (sin_downward_test_data): Likewise.
47 (sin_upward_test_data): Likewise.
48 (sinh_test_data): Likewise.
49 (sinh_tonearest_test_data): Likewise.
50 (sinh_towardzero_test_data): Likewise.
51 (sinh_downward_test_data): Likewise.
52 (sinh_upward_test_data): Likewise.
53 (tan_test_data): Likewise.
54 (tan_tonearest_test_data): Likewise.
55 (tan_towardzero_test_data): Likewise.
56 (tan_downward_test_data): Likewise.
57 (tan_upward_test_data): Likewise.
58 (tanh_test_data): Likewise.
59 (tgamma_test_data): Likewise.
60 (y0_test_data): Likewise.
61 (y1_test_data): Likewise.
62 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
63 (special_real_inputs): Add pi/4.
64 * sysdeps/i386/fpu/libm-test-ulps: Update.
65 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
70 "longjmp_target" static probes.
71 (__longjmp): Rename to __longjmp_symbol.
72 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
73 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
74 on which longjmp to generate.
75 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
76 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
78 (__sigsetjmp): Rename to __sigsetjmp_symbol.
79 (__sigjmp_save): Rename to __sigjmp_save_symbol.
80 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
81 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
82 and __sigjmp_save_symbol based on which sigsetjmp to generated.
83 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
84 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
85 __longjmp_symbol based on which __longjmp to generate.
86 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
88 (setjmp): Rename to setjmp_symbol.
89 (__sigsetjmp): Rename to __sigsetjmp_symbol.
90 (_setjmp): Rename to _setjmp_symbol.
91 (__sigsetjmp): Rename to __sigsetjmp_symbol.
92 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
93 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
94 which setjmp to generate.
95 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
96 "longjmp_target" static probes.
98 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
100 * benchtests/README: Add note about output arguments.
101 * benchtests/bench-sincos.c: Remove file.
102 * benchtests/sincos-inputs: New file.
103 * scripts/bench.pl: Identify output arguments and define
104 static variables for them.
106 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
109 * Makefile (INSTALL): Add install-plain.texi as the primary
111 * manual/install-plain.texi: New file.
112 * manual/install.texi: Include node directive only for
113 non-plaintext output.
115 2013-12-04 Joseph Myers <joseph@codesourcery.com>
117 * stdlib/longlong.h: Update from GCC.
121 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
122 * math/w_j0f.c (y0f): Likewise.
123 * math/w_j0l.c (__y0l): Likewise.
124 * math/w_j1.c (y1): Likewise.
125 * math/w_j1f.c (y1f): Likewise.
126 * math/w_j1l.c (__y1l): Likewise
127 * math/w_jn.c (yn): Likewise.
128 * math/w_jnf.c (ynf): Likewise.
129 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
130 Bessel function pole errors in _POSIX_ mode. Use NAN as return
131 value for Bessel function domain errors outside _SVID_ mode.
132 Adjust sign of return value for yn (negative integer, 0).
133 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
134 by zero in return for negative x and set sign appropriately for
136 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
137 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
138 * math/libm-test.inc (y0_test_data): Add more tests and adjust
139 expectations in error cases.
140 (y1_test_data): Likewise.
141 (yn_test_data): Likewise.
142 * sysdeps/i386/fpu/libm-test-ulps: Update.
143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
145 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
147 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
148 "64" to "64-v1". Add "64-v2".
149 (abi-64-options): Rename to ...
150 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
151 (abi-64-condition): Rename to ...
152 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
153 (abi-64-ld-soname): Rename to ...
154 (abi-64-v1-ld-soname): ... this.
155 (abi-64-v2-options): Define.
156 (abi-64-v2-condition): Likewise.
157 (abi-64-v2-ld-soname): Likewise.
158 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
159 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
162 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
164 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
165 Alan Modra <amodra@gmail.com>
167 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
168 New versions for use with the ELFv2 ABI.
169 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
170 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
172 (struct La_ppc64v2_retval): Likewise.
173 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
174 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
175 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
176 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
177 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
178 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
179 Do not save or restore CR.
180 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
181 (_dl_profile_resolve): Do no save or restore CR. Support extended
182 return values for ELFv2 ABI. Fix location of FPR return registers.
183 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
184 updated values for _CALL_ELF == 2.
185 (La_regs, La_retval, int_retval): Likewise.
187 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
189 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
190 (FRAME_MIN_SIZE_PARM): Likewise.
191 (FRAME_BACKCHAIN): Likewise.
192 (FRAME_CR_SAVE): Likewise.
193 (FRAME_LR_SAVE): Likewise.
194 (FRAME_TOC_SAVE): Likewise.
195 (FRAME_PARM_SAVE): Likewise.
196 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
197 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
198 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
199 (call_mcount_parm_offset): New macro.
200 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
201 (PROF): Use symbolic stack frame offsets.
202 (TAIL_CALL_SYSCALL_ERROR): Likewise.
203 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
204 Redefine in terms of FRAME_MIN_SIZE.
205 (_dl_runtime_resolve): Use symbolic stack frame offsets.
206 (_dl_profile_resolve): Likewise. Update comment.
207 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
208 symbols stack frame offsets.
209 (__sigsetjmp): Likewise.
210 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
211 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
212 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
213 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
216 (FRAME_BACKCHAIN): Remove.
217 (FRAME_CR_SAVE): Likewise.
218 (FRAME_LR_SAVE): Likewise.
219 (FRAME_COMPILER_DW): Likewise.
220 (FRAME_LINKER_DW): Likewise.
221 (FRAME_TOC_SAVE): Likewise.
222 (FRAME_PARM_SAVE): Likewise.
223 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
224 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
225 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
227 (CHECK_SP): Use symbolic stack frame offsets.
228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
229 zone" instead of caller's parameter save area for temp storage.
230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
231 Likewise. Also, use symbolic stack frame offsets.
232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
233 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
234 our own stack frame instead of the caller's.
235 (__socket): Use symbolic stack frame offsets.
237 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
238 Alan Modra <amodra@gmail.com>
240 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
242 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
243 PPC64_LOCAL_ENTRY_OFFSET): Define.
244 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
246 (elf_machine_fixup_plt): Call it.
247 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
249 (elf_machine_rela): Update call to elf_machine_plt_conflict.
250 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
251 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
252 r2 before calling target.
254 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
255 Alan Modra <amodra@gmail.com>
257 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
258 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
259 versions of macros to support ELFv2 ABI.
260 (LOCALENTRY): New macro.
261 (ENTRY, EALIGN): Use it.
262 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
263 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
264 fall through into ENTRY entry point.
265 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
266 Only define if _CALL_ELF != 2.
268 (elf_machine_matches_host): Verify ABI version matches.
269 (RTLD_START): Use LOCALENTRY.
270 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
271 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
272 (PLT_ENTRY_WORDS): New macro.
273 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
274 (elf_machine_runtime_setup): Support ELFv2 ABI.
275 (elf_machine_fixup_plt): Likewise.
276 (elf_machine_plt_conflict): Likewise.
277 (resolve_ifunc): Likewise.
278 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
279 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
282 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
284 (makecontext): Support ELFv2 ABI.
285 * elf/elf.h (EF_PPC64_ABI): Define.
287 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
289 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
291 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
292 [ASSEMBLER] (ENTRY): ... but instead here ...
293 [ASSEMBLER] (EALIGN): ... and here.
294 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
295 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
296 [!ASSEMBLER] (ENTRY_2): Use it.
297 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
298 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
299 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
300 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
301 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
303 Use PPC64_LOAD_FUNCPTR.
305 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
307 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
309 2013-12-04 Alan Modra <amodra@gmail.com>
311 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
312 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
313 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
314 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
316 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
317 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
318 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
319 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
320 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
321 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
323 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
326 (__makecontext): Fix incorrect CFI when backtracing out of
327 context created via makecontext.
328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
329 (__setcontext): Fix incorrect CFI during switch to new context.
330 (__novec_setcontext): Likewise.
332 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
335 * time/strptime_l.c (__strptime_internal): Allow modifiers
337 * time/tst-strptime.c (day_tests): Add testcase.
340 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
342 * scripts/bench.pl: Skip over blank lines.
344 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
347 * manual/time.texi (Calendar Time): Clarify what timezone functions
350 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
354 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
356 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
358 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
359 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
360 * debug/memset_chk.c (__memset_chk): Likewise.
361 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
362 * debug/strncpy_chk.c: Likewise.
364 2013-12-03 Joseph Myers <joseph@codesourcery.com>
368 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
369 (__ieee754_exp): For possibly underflowing results, check size of
370 result and force underflow exception if required.
371 * math/auto-libm-test-in: Add more tests of exp.
372 * math/auto-libm-test-out: Regenerated.
373 * sysdeps/i386/fpu/libm-test-ulps: Update.
374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
377 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
378 * math/w_exp2f.c (__exp2f): Likewise.
379 * math/w_exp2l.c (__exp2l): Likewise.
380 * math/auto-libm-test-in: Do not allow missing errno on exp2
382 * math/auto-libm-test-out: Regenerated.
384 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
387 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
388 handle filename validation.
389 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
392 2013-12-03 Joseph Myers <joseph@codesourcery.com>
395 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
396 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
397 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
399 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
400 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
401 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
402 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
403 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
404 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
405 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
406 * math/auto-libm-test-in: Don't allow missing errno from erfc.
408 * math/auto-libm-test-out: Regenerated.
409 * sysdeps/i386/fpu/libm-test-ulps: Update.
410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
412 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
413 exp2, expm1, j0 and j1.
414 * math/auto-libm-test-out: Regenerated.
415 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
416 (erfc_test_data): Likewise.
417 (exp_test_data): Likewise.
418 (exp_tonearest_test_data): Likewise.
419 (exp_towardzero_test_data): Likewise.
420 (exp_downward_test_data): Likewise.
421 (exp_upward_test_data): Likewise.
422 (exp10_test_data): Likewise.
423 (exp2_test_data): Likewise.
424 (expm1_test_data): Likewise.
425 (j0_test_data): Likewise.
426 (j1_test_data): Likewise.
427 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
428 (input_flag_type): Add flag_xfail_rounding.
429 (input_flags): Add xfail-rounding.
430 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
431 (output_for_one_input_case): Handle flag_xfail_rounding.
432 * sysdeps/i386/fpu/libm-test-ulps: Update.
433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
435 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
438 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
441 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
444 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
445 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
446 (STAP_PROBE0): New macro.
447 (STAP_PROBE1): Likewise.
448 (STAP_PROBE2): Likewise.
449 (STAP_PROBE3): Likewise.
450 (STAP_PROBE4): Likewise.
452 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
454 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
456 2013-12-02 Steve Ellcey <sellcey@mips.com>
458 * benchtests/Makefile (bench): Add sqrt.
459 (LDLIBS-bench-sqrt): New.
460 * benchtests/sqrt-input: New.
462 2013-12-02 Pavel Simerda <psimerda@redhat.com>
464 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
465 (GAIH_EAI): Likewise.
466 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
467 (gaih_inet): Likewise.
468 (getaddrinfo): Don't use GAIH_EAI.
470 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
471 (struct gaih): Remove definition.
473 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
475 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
476 Use HERRNOP directly.
478 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
482 2013-11-30 Joseph Myers <joseph@codesourcery.com>
484 * math/gen-auto-libm-tests.c (test_functions): Add more
485 single-argument functions.
486 (special_fill_pi_2): New function.
487 (special_fill_minus_pi_2): Likewise.
488 (special_fill_pi_6): Likewise.
489 (special_fill_minus_pi_6): Likewise.
490 (special_fill_pi_3): Likewise.
491 (special_fill_2pi_3): Likewise.
492 (special_fill_e): Likewise.
493 (special_fill_1_e): Likewise.
494 (special_fill_e_minus_1): Likewise.
495 (special_real_inputs): Add more special inputs.
496 (output_for_one_input_case): Do not require ERANGE on underflow to
497 zero if round-to-nearest result does not underflow to zero, unless
498 exact results required.
499 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
500 atan, atanh, cbrt, cos and cosh.
501 * math/auto-libm-test-out: Regenerated.
502 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
503 (acos_tonearest_test_data): Likewise.
504 (acos_towardzero_test_data): Likewise.
505 (acos_downward_test_data): Likewise.
506 (acos_upward_test_data): Likewise.
507 (acosh_test_data): Likewise.
508 (asin_test_data): Likewise.
509 (asin_tonearest_test_data): Likewise.
510 (asin_towardzero_test_data): Likewise.
511 (asin_upward_test_data): Likewise.
512 (asinh_test_data): Likewise.
513 (atan_test_data): Likewise.
514 (atanh_test_data): Likewise.
515 (cbrt_test_data): Likewise.
516 (cos_test_data): Likewise.
517 (cos_tonearest_test_data): Likewise.
518 (cos_towardzero_test_data): Likewise.
519 (cos_downward_test_data): Likewise.
520 (cos_upward_test_data): Likewise.
521 (cosh_test_data): Likewise.
522 (cosh_tonearest_test_data): Likewise.
523 (cosh_towardzero_test_data): Likewise.
524 (cosh_downward_test_data): Likewise.
525 (cosh_upward_test_data): Likewise.
526 * sysdeps/i386/fpu/libm-test-ulps: Update.
527 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
529 2013-11-29 Joseph Myers <joseph@codesourcery.com>
532 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
533 * math/w_exp10f.c (__exp10f): Likewise.
534 * math/w_exp10l.c (__exp10l): Likewise.
535 * math/libm-test.inc (exp10_test_data): Add more tests and expect
536 errno settings in existing tests.
539 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
540 precision control set to double precision.
541 * sysdeps/i386/fpu/w_sqrt.c: New file.
542 * math/auto-libm-test-in: Add more tests.
543 * math/auto-libm-test-out: Update.
545 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
546 (sqrt_test_tonearest): New function.
547 (sqrt_towardzero_test_data): New variable.
548 (sqrt_test_towardzero): New function.
549 (sqrt_downward_test_data): New variable.
550 (sqrt_test_downward): New function.
551 (sqrt_upward_test_data): New variable.
552 (sqrt_test_upward): New function.
553 (main): Call the new functions.
555 * math/gen-auto-libm-tests.c: New file.
556 * math/auto-libm-test-in: Likewise.
557 * math/auto-libm-test-out: New generated file.
558 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
560 (%beautify): Add generated representations of zero.
561 (top level): Set $auto_input and call parse_auto_input.
562 (beautify): Remove trailing "f" from hex float constants.
563 (parse_args): Handle XFAIL_TEST.
564 (convert_condition): New function.
565 (or_value): Likewise.
566 (or_cond_value): Likewise.
567 (generate_testfile): Handle AUTO_TESTS_* lines.
568 (parse_auto_input): New function.
569 * math/libm-test.inc (XFAIL_TEST): New macro.
570 (ERRNO_UNCHANGED): Update value.
571 (ERRNO_EDOM): Likewise.
572 (ERRNO_ERANGE): Likewise.
573 (IGNORE_RESULT): Likewise.
574 (TEST_COND_flt_32): New macro.
575 (TEST_COND_dbl_64): Likewise.
576 (TEST_COND_ldbl_96_intel): Likewise.
577 (TEST_COND_ldbl_96_m68k): Likewise.
578 (TEST_COND_ldbl_128): Likewise.
579 (TEST_COND_ldbl_128ibm): Likewise.
580 (TEST_COND_long32): Likewise.
581 (TEST_COND_long64): Likewise.
582 (TEST_COND_before_rounding): Likewise.
583 (TEST_COND_after_rounding): Likewise.
584 (enable_test): Handle XFAIL_TEST flag.
585 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
587 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
590 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
591 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
594 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
595 __tls_get_addr_internal instead of __tls_get_offset in order to
596 avoid GOT pointer dependency. Make rtld export
597 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
598 __tls_get_addr since we are a __tls_get_offset platform.
599 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
600 GOT pointer being set up before.
601 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
603 2013-11-28 Joseph Myers <joseph@codesourcery.com>
605 * manual/math.texi (Errors in Math Functions): Document accuracy
609 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
610 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
611 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
612 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
613 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
614 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
615 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
616 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
617 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
618 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
619 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
620 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
621 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
622 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
623 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
624 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
626 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
627 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
628 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
629 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
630 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
632 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
634 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
636 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
637 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
638 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
639 atomic-feupdateenv and flt-rounds.
640 * sysdeps/powerpc/nofpu/Versions (libc): Add
641 __atomic_feholdexcept, __atomic_feclearexcept,
642 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
643 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
644 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
645 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
646 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
648 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
651 * manual/arith.texi (FP Exceptions): Document that exceptions may
652 not be raised when matherr is used.
653 (Math Error Reporting): Document overflow in directed rounding
654 modes. Document that errno may not be set when finite values are
655 returned on overflow. Document intent to set errno on underflow
656 only for underflow to zero.
659 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
660 round-to-nearest then adjust result for other rounding modes.
661 * include/fenv.h (fegetround): Use libm_hidden_proto.
662 * math/fegetround.c (fegetround): Use libm_hidden_def.
663 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
664 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
665 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
666 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
668 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
669 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
670 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
671 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
673 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
676 * nss/Versions (libnss_files): Add
677 _nss_files_gethostbyname3_r.
678 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
680 (HOST_DB_LOOKUP): Remove macro.
681 (_nss_files_gethostbyname_r): Implement function without the
682 HOST_DB_LOOKUP macro.
683 (_nss_files_gethostbyname2_r): Likewise.
685 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
687 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
689 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
691 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
692 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
695 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
697 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
698 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
699 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
700 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
701 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
702 __fe_nomask_env_priv and attribute_hidden.
703 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
704 (libc_feupdateenv_test_ppc): Likewise.
705 (libc_feresetround_ppc): Likewise.
706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
707 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
710 (__fe_nomask_env): Likewise.
711 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
713 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
715 * string/Makefile: Remove ifunc tests.
716 * string/test-string.h: Define TEST_IFUNC.
717 * string/test-bcopy-ifunc.c: Remove.
718 * string/test-bzero-ifunc.c: Likewise.
719 * string/test-memccpy-ifunc.c: Likewise.
720 * string/test-memchr-ifunc.c: Likewise.
721 * string/test-memcmp-ifunc.c: Likewise.
722 * string/test-memcpy-ifunc.c: Likewise.
723 * string/test-memmem-ifunc.c: Likewise.
724 * string/test-memmove-ifunc.c: Likewise.
725 * string/test-mempcpy-ifunc.c: Likewise.
726 * string/test-memrchr-ifunc.c: Likewise.
727 * string/test-memset-ifunc.c: Likewise.
728 * string/test-rawmemchr-ifunc.c: Likewise.
729 * string/test-stpcpy-ifunc.c: Likewise.
730 * string/test-stpncpy-ifunc.c: Likewise.
731 * string/test-strcasecmp-ifunc.c: Likewise.
732 * string/test-strcasestr-ifunc.c: Likewise.
733 * string/test-strcat-ifunc.c: Likewise.
734 * string/test-strchr-ifunc.c: Likewise.
735 * string/test-strchrnul-ifunc.c: Likewise.
736 * string/test-strcmp-ifunc.c: Likewise.
737 * string/test-strcpy-ifunc.c: Likewise.
738 * string/test-strcspn-ifunc.c: Likewise.
739 * string/test-strlen-ifunc.c: Likewise.
740 * string/test-strncasecmp-ifunc.c: Likewise.
741 * string/test-strncat-ifunc.c: Likewise.
742 * string/test-strncmp-ifunc.c: Likewise.
743 * string/test-strncpy-ifunc.c: Likewise.
744 * string/test-strnlen-ifunc.c: Likewise.
745 * string/test-strpbrk-ifunc.c: Likewise.
746 * string/test-strrchr-ifunc.c: Likewise.
747 * string/test-strspn-ifunc.c: Likewise.
748 * string/test-strstr-ifunc.c: Likewise.
750 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
752 * benchtests/Makefile: Remove ifunc tests.
753 * benchtests/bench-string.h: Define TEST_IFUNC.
754 * benchtests/bench-bcopy-ifunc.c: Remove.
755 * benchtests/bench-bzero-ifunc.c: Likewise.
756 * benchtests/bench-memccpy-ifunc.c: Likewise.
757 * benchtests/bench-memchr-ifunc.c: Likewise.
758 * benchtests/bench-memcmp-ifunc.c: Likewise.
759 * benchtests/bench-memcpy-ifunc.c: Likewise.
760 * benchtests/bench-memmem-ifunc.c: Likewise.
761 * benchtests/bench-memmove-ifunc.c: Likewise.
762 * benchtests/bench-mempcpy-ifunc.c: Likewise.
763 * benchtests/bench-memrchr-ifunc.c: Likewise.
764 * benchtests/bench-memset-ifunc.c: Likewise.
765 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
766 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
767 * benchtests/bench-stpcpy-ifunc.c: Likewise.
768 * benchtests/bench-stpncpy-ifunc.c: Likewise.
769 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
770 * benchtests/bench-strcasestr-ifunc.c: Likewise.
771 * benchtests/bench-strcat-ifunc.c: Likewise.
772 * benchtests/bench-strchr-ifunc.c: Likewise.
773 * benchtests/bench-strchrnul-ifunc.c: Likewise.
774 * benchtests/bench-strcmp-ifunc.c: Likewise.
775 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
776 * benchtests/bench-strcpy-ifunc.c: Likewise.
777 * benchtests/bench-strcspn-ifunc.c: Likewise.
778 * benchtests/bench-strlen-ifunc.c: Likewise.
779 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
780 * benchtests/bench-strncat-ifunc.c: Likewise.
781 * benchtests/bench-strncmp-ifunc.c: Likewise.
782 * benchtests/bench-strncpy-ifunc.c: Likewise.
783 * benchtests/bench-strnlen-ifunc.c: Likewise.
784 * benchtests/bench-strpbrk-ifunc.c: Likewise.
785 * benchtests/bench-strrchr-ifunc.c: Likewise.
786 * benchtests/bench-strsep-ifunc.c: Likewise.
787 * benchtests/bench-strspn-ifunc.c: Likewise.
788 * benchtests/bench-strstr-ifunc.c: Likewise.
790 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
792 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
794 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
796 * resolv/netdb.h: Use __glibc_reserved instead __unused.
797 * rt/aio.h: Likewise.
798 * sysdeps/gnu/bits/utmp.h: Likewise.
799 * sysdeps/gnu/bits/utmpx.h: Likewise.
800 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
801 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
802 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
803 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
804 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
805 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
806 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
807 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
808 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
809 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
810 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
811 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
812 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
814 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
815 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
816 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
817 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
818 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
819 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
820 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
821 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
822 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
823 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
824 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
825 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
826 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
827 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
828 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
829 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
830 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
831 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
832 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
833 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
834 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
835 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
836 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
837 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
838 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
839 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
840 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
841 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
843 2013-11-25 Carlos O'Donell <carlos@redhat.com>
846 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
847 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
849 2013-11-25 Joseph Myers <joseph@codesourcery.com>
851 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
852 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
855 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
857 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
858 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
859 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
860 (__fesetround): Remove define.
861 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
862 rounding and exceptions handling.
863 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
864 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
865 (__fe_nomask_env): Likewise.
866 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
867 __fegetround instead of fegetround.
868 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
869 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
871 2013-11-21 Roland McGrath <roland@hack.frob.com>
873 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
876 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
878 2013-11-21 Meador Inge <meadori@codesourcery.com>
881 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
882 (encrypt_r): Likewise.
883 * malloc/obstack.h (obstack_free): Likewise.
884 * posix/unistd.h (encrypt): Likewise.
886 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
888 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
889 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
890 DL_CALL_DT_FINI() that call the functions directly.
891 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
892 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
893 * elf/dl-fini.c: Likewise.
895 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
897 * malloc/hooks.c (memalign_check): Add alignment rounding.
898 * malloc/malloc.c (_mid_memalign): New function.
899 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
900 Implement by calling _mid_memalign.
901 * manual/probes.texi (Memory Allocation Probes): Remove
902 memory_valloc_retry and memory_pvalloc_retry.
904 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
906 * locale/programs/locarchive.c (open_archive): Add const
907 qualifier to ARCHIVEFNAME and copy default fname to
911 * libio/tst-widetext.input: Rename Oriya to Odia.
912 * locale/iso-639.def: Likewise.
914 * manual/probes.texi (Mathematical Function Probes): Add
915 documentation for sin, cos, asin and acos probes.
916 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
917 (__sin32): Add slowasin probe.
918 (__cos32): Add slowacos probe.
919 (__mpsin): Add slowsin probe.
920 (__mpcos): Add slowcos probe.
922 2013-11-19 Joseph Myers <joseph@codesourcery.com>
925 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
926 thread-local __sim_exceptions_thread and global
927 __sim_exceptions_global.
928 (__sim_disabled_exceptions): Change to thread-local
929 __sim_disabled_exceptions_thread and global
930 __sim_disabled_exceptions_global.
931 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
932 and global __sim_round_mode_global.
933 (__simulate_exceptions): Use thread-local floating-point state and
934 set global state from it as needed.
935 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
936 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
937 __sim_round_mode_thread.
938 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
939 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
940 and global __sim_exceptions_global.
941 (__sim_disabled_exceptions): Change to thread-local
942 __sim_disabled_exceptions_thread and global
943 __sim_disabled_exceptions_global.
944 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
945 and global __sim_round_mode_global.
946 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
947 (SIM_SET_GLOBAL): Likewise.
948 * sysdeps/powerpc/soft-fp/sfp-machine.h
949 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
950 __sim_round_mode_thread.
951 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
952 __sim_disabled_exceptions_thread.
953 (__sim_exceptions): Change to __sim_exceptions_thread.
954 (__sim_disabled_exceptions): Change to
955 __sim_disabled_exceptions_thread.
956 (__sim_round_mode): Change to __sim_round_mode_thread.
957 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
958 thread-local floating-point state and set global state from it as
960 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
961 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
962 (__sim_disabled_exceptions): Remove extern declaration.
963 (feenableexcept): Use thread-local floating-point state and set
964 global state from it as needed.
965 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
967 (__sim_disabled_exceptions): Likewise.
968 (__sim_round_mode): Likewise.
969 (__fegetenv): Use thread-local floating-point state.
970 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
971 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
972 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
973 floating-point state and set global state from it as needed.
974 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
975 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
976 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
978 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
979 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
981 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
982 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
983 Use __sim_round_mode_thread.
984 * math/test-fenv-tls.c: New file.
985 * math/Makefile (tests): Add test-fenv-tls.
986 ($(objpfx)test-fenv-tls): Depend on
987 $(common-objpfx)nptl/libpthread.so.
989 2013-11-19 Andreas Schwab <schwab@suse.de>
991 * locale/programs/locale.c (show_info): Decode wordarray elements.
992 * locale/categories.def (LC_MONETARY): Add element for
993 _NL_MONETARY_CRNCYSTR.
994 * locale/C-monetary.c (conversion_rate): New variable.
995 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
998 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
1000 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1001 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1003 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1005 * elf/Makefile (tst-auxv): New test.
1006 * elf/tst-auxv.c: New
1007 * elf/rtld.c (dl_main): Adjust AT_EXECFN
1009 2013-11-18 Joseph Myers <joseph@codesourcery.com>
1011 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1012 (hidden_proto): Caller changed.
1013 (hidden_tls_proto): New macro.
1014 (libc_hidden_tls_proto): Likewise.
1015 (rtld_hidden_tls_proto): Likewise.
1016 (libm_hidden_tls_proto): Likewise.
1017 (libresolv_hidden_tls_proto): Likewise.
1018 (librt_hidden_tls_proto): Likewise.
1019 (libdl_hidden_tls_proto): Likewise.
1020 (libnss_files_hidden_tls_proto): Likewise.
1021 (libnsl_hidden_tls_proto): Likewise.
1022 (libnss_nisplus_hidden_tls_proto): Likewise.
1023 (libutil_hidden_tls_proto): Likewise.
1025 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
1028 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1029 (decompose_rpath): Defer expansion to fillin_rpath.
1030 (_dl_init_paths): Pass linkmap to fillin_rpath.
1032 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1034 * benchtests/Makefile: Add strsep.
1035 * benchtests/bench-strsep.c: New file: strsep benchtest.
1036 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1038 2013-11-18 Andreas Schwab <schwab@suse.de>
1040 * locale/programs/locale.c (show_info) [case byte]: Check for
1041 '\377' instead of '\177'.
1042 * locale/C-monetary.c (not_available): Always use "\377".
1043 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1044 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
1045 detect unavailable sign_posn locale elements.
1046 * locale/localeconv.c (__localeconv): For grouping and
1047 mon_grouping handle "\177" and "\377" like no grouping.
1048 (INT_ELEM): New macro. Use it to set all numeric members.
1049 * locale/programs/ld-monetary.c (monetary_read)
1050 <tok_mon_grouping>: Normalize single -1 to the empty string.
1051 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1054 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
1057 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1058 when we match (nil).
1059 * stdio-common/tst-sscanf.c (struct test): Add testcase.
1061 2013-11-16 Joseph Myers <joseph@codesourcery.com>
1063 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1064 (NO_TEST_INLINE): Update value.
1065 (ERRNO_UNCHANGED): Likewise.
1066 (ERRNO_EDOM): Likewise.
1067 (ERRNO_ERANGE): Likewise.
1068 (IGNORE_RESULT): Likewise.
1069 (check_float_internal): Check signs of NaN results if
1071 (check_complex): Pass TEST_NAN_SIGN flag through to second
1072 check_float_internal call.
1073 (copysign_test_data): Add tests with quiet NaNs as second
1074 argument. Use TEST_NAN_SIGN.
1075 (fabs_test_data): Add test of negative quiet NaN argument. Use
1077 (signbit_test_data): Add tests of quiet NaN argument.
1078 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1080 * math/gen-libm-test.pl (show_exceptions): Take extra argument
1082 (parse_args): Handle function results specified as IGNORE.
1083 * math/libm-test.inc (IGNORE_RESULT): New macro.
1084 (check_float_internal): Do not check numerical result if flag
1086 (check_complex): Pass through IGNORE_RESULT to second
1087 check_float_internal call.
1088 (check_int): Do not check numerical result if flag IGNORE_RESULT
1090 (check_long): Likewise.
1091 (check_bool): Likewise.
1092 (check_longlong): Likewise.
1093 (lrint_test_data): Add tests of infinite and NaN arguments.
1094 (lrint_tonearest_test_data): Likewise.
1095 (lrint_towardzero_test_data): Likewise.
1096 (lrint_downward_test_data): Likewise.
1097 (lrint_upward_test_data): Likewise.
1098 (llrint_test_data): Likewise.
1099 (llrint_tonearest_test_data): Likewise.
1100 (llrint_towardzero_test_data): Likewise.
1101 (llrint_downward_test_data): Likewise.
1102 (llrint_upward_test_data): Likewise.
1103 (lround_test_data): Likewise.
1104 (llround_test_data): Likewise.
1106 * math/libm-test.inc (NO_TEST_INLINE): New macro.
1107 (ERRNO_UNCHANGED): Update value.
1108 (ERRNO_EDOM): Likewise.
1109 (ERRNO_ERANGE): Likewise.
1110 (NO_TEST_INLINE_FLOAT): New macro.
1111 (NO_TEST_INLINE_DOUBLE): Likewise.
1112 (enable_test): New function.
1113 (RUN_TEST_f_f): Check enable_test before running test.
1114 (RUN_TEST_2_f): Likewise.
1115 (RUN_TEST_fff_f): Likewise.
1116 (RUN_TEST_c_f): Likewise.
1117 (RUN_TEST_f_f1): Likewise.
1118 (RUN_TEST_fF_f1): Likewise.
1119 (RUN_TEST_fI_f1): Likewise.
1120 (RUN_TEST_ffI_f1): Likewise.
1121 (RUN_TEST_c_c): Likewise.
1122 (RUN_TEST_cc_c): Likewise.
1123 (RUN_TEST_f_i): Likewise.
1124 (RUN_TEST_f_i_tg): Likewise.
1125 (RUN_TEST_ff_i_tg): Likewise.
1126 (RUN_TEST_f_b): Likewise.
1127 (RUN_TEST_f_b_tg): Likewise.
1128 (RUN_TEST_f_l): Likewise.
1129 (RUN_TEST_f_L): Likewise.
1130 (RUN_TEST_fFF_11): Likewise.
1131 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1133 (cosh_test_data): Likewise.
1134 (exp_test_data): Likewise.
1135 (expm1_test_data): Likewise.
1136 (hypot_test_data): Likewise.
1137 (pow_test_data): Likewise.
1138 (sinh_test_data): Likewise.
1139 (tanh_test_data): Likewise.
1140 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1143 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1144 tests with quiet NaN input and output.
1145 (acosh_test_data): Likewise.
1146 (asin_test_data): Likewise.
1147 (asinh_test_data): Likewise.
1148 (atan_test_data): Likewise.
1149 (atanh_test_data): Likewise.
1150 (atan2_test_data): Likewise.
1151 (cbrt_test_data): Likewise.
1152 (cos_test_data): Likewise.
1153 (cosh_test_data): Likewise.
1154 (erf_test_data): Likewise.
1155 (erfc_test_data): Likewise.
1156 (exp_test_data): Likewise.
1157 (exp10_test_data): Likewise.
1158 (exp2_test_data): Likewise.
1159 (expm1_test_data): Likewise.
1160 (hypot_test_data): Likewise.
1161 (j0_test_data): Likewise.
1162 (j1_test_data): Likewise.
1163 (jn_test_data): Likewise.
1164 (lgamma_test_data): Likewise.
1165 (log_test_data): Likewise.
1166 (log10_test_data): Likewise.
1167 (log1p_test_data): Likewise.
1168 (log2_test_data): Likewise.
1169 (pow_test_data): Likewise.
1170 (scalb_test_data): Likewise.
1171 (sin_test_data): Likewise.
1172 (sincos_test_data): Likewise.
1173 (sinh_test_data): Likewise.
1174 (tan_test_data): Likewise.
1175 (tanh_test_data): Likewise.
1176 (tgamma_test_data): Likewise.
1177 (y0_test_data): Likewise.
1178 (y1_test_data): Likewise.
1179 (yn_test_data): Likewise.
1182 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1183 argument being NaN and avoid computations with second argument in
1185 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1186 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1187 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1189 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
1191 * locale/iso-639.def: Add Chitwani Tharu (the).
1193 2013-11-14 Andreas Schwab <schwab@suse.de>
1195 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1196 word instead of empty string.
1198 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1201 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1203 (__fe_nomask_env): Likewise.
1205 2013-11-13 Steve Ellcey <sellcey@mips.com>
1207 * benchtests/bench-timing.h: Include time.h.
1209 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
1212 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1214 * sysdeps/unix/sysv/linux/configure: Regenerated.
1216 2013-11-13 Joseph Myers <joseph@codesourcery.com>
1219 * stdlib/strtod_l.c (round_and_return): Do not consider
1220 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1221 exponent one less than half the least subnormal exponent.
1222 * stdlib/test-strtod-round-data: Add more tests.
1223 * stdlib/tst-strtod-round.c (tests): Regenerated.
1225 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1228 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1229 (__fe_mask_env): Likewise.
1230 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1231 libm_hidden_proto and add function prototype.
1232 (__fe_mask_env): Add function prototype.
1233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1234 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1235 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1236 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1237 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1238 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1240 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1242 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
1243 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1245 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1247 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1248 of htab_find_slot().
1250 2013-11-11 David S. Miller <davem@davemloft.net>
1253 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1254 symbol in the non-vis3 case in static builds.
1255 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1256 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1257 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1258 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1260 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1263 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1266 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1268 * benchtests/Makefile: Add bench-strtod.
1269 * benchtests/bench-strtod.c: New file: strtod benchtest
1271 2013-11-11 Andreas Schwab <schwab@suse.de>
1274 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1275 terminating NUL in key length.
1277 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1279 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1280 Add artificial ODP entry for vDSO symbol for PPC64.
1281 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
1282 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1284 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
1287 * nss/getent.c (services_keys): Recognize services starting with digit.
1289 2013-11-06 David S. Miller <davem@davemloft.net>
1292 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1293 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1295 2013-11-06 Will Newton <will.newton@linaro.org>
1297 * manual/memory.texi (Malloc Examples): Remove register
1298 keyword from examples.
1300 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
1302 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1304 2013-11-04 Joseph Myers <joseph@codesourcery.com>
1306 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
1307 depending on [__GCC_IEC_559 > 0].
1308 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1309 depending on [__GCC_IEC_559_COMPLEX > 0].
1311 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
1313 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1316 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
1318 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1320 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
1323 * malloc/malloc (malloc_info): Do not handle first bin as
1326 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
1328 * locale/iso-639.def: Add Central Nahuatl (nhn).
1330 2013-11-01 Bruno Haible <bruno@clisp.org>
1333 * manual/math.texi (BSD Random): Specify range upper bound as
1336 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
1338 * locale/iso-639.def: Add Meadow Mari (mhr).
1340 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
1342 [BZ #14752], [BZ #15763]
1343 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1345 * rt/tst_shm.c: Add test for escaping directory.
1347 2013-10-31 Andreas Schwab <schwab@suse.de>
1350 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1351 followed by 'x' as part of digit sequence.
1352 * stdio-common/tst-sscanf.c (double_tests2): New tests.
1354 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1357 * configure.ac: allow GNU Make 4.0 and greater.
1358 * configure: Regenerated.
1360 2013-10-30 Will Newton <will.newton@linaro.org>
1363 * malloc/hooks.c (memalign_check): Limit alignment to the
1364 maximum representable power of two.
1365 * malloc/malloc.c (__libc_memalign): Likewise.
1366 * malloc/tst-memalign.c (do_test): Add test for very
1367 large alignment values.
1368 * malloc/tst-posix_memalign.c (do_test): Likewise.
1370 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
1373 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1374 (munmap_chunk): Likewise.
1375 (mremap_chunk): Likewise.
1377 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
1380 * stdlib/div.c (div): Remove obsolete code.
1381 * stdlib/ldiv.c (ldiv): Likewise.
1382 * stdlib/lldiv.c (lldiv): Likewise.
1384 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1387 * nss/nss_files/files-XXX.c (get_contents_ret): New
1389 (get_contents): New function.
1390 (internal_getent): Use it. Expand size of LINEBUFLEN.
1392 2013-10-30 Mike Frysinger <vapier@gentoo.org>
1394 * configure.in: Moved to ...
1395 * configure.ac: ... here. Change reference to configure.in
1397 * sysdeps/arm/preconfigure.ac: ... here.
1398 configure.in to configure.ac.
1399 * sysdeps/gnu/configure.in: Moved to ...
1400 * sysdeps/gnu/configure.ac: ... here.
1401 * sysdeps/i386/configure.in: Moved to ...
1402 * sysdeps/i386/configure.ac: ... here.
1403 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1404 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1405 * sysdeps/mach/configure.in: Moved to ...
1406 * sysdeps/mach/configure.ac: ... here.
1407 * sysdeps/mach/hurd/configure.in: Moved to ...
1408 * sysdeps/mach/hurd/configure.ac: ... here.
1409 * sysdeps/powerpc/configure.in: Moved to ...
1410 * sysdeps/powerpc/configure.ac: ... here.
1411 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1412 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1413 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1414 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1415 * sysdeps/s390/s390-32/configure.in: Moved to ...
1416 * sysdeps/s390/s390-32/configure.ac: ... here.
1417 * sysdeps/s390/s390-64/configure.in: Moved to ...
1418 * sysdeps/s390/s390-64/configure.ac: ... here.
1419 * sysdeps/sh/configure.in: Moved to ...
1420 * sysdeps/sh/configure.ac: ... here.
1421 * sysdeps/sparc/configure.in: Moved to ...
1422 * sysdeps/sparc/configure.ac: ... here.
1423 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1424 * sysdeps/unix/sysv/linux/configure.ac: ... here.
1425 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1426 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1427 * sysdeps/x86_64/configure.in: Moved to ...
1428 * sysdeps/x86_64/configure.ac: ... here.
1429 * sysdeps/x86_64/preconfigure.in: Moved to ...
1430 * sysdeps/x86_64/preconfigure.ac: ... here.
1431 * aclocal.m4: Change reference to configure.in to configure.ac.
1432 * config.h.in: Likewise.
1433 * manual/install.texi: Likewise.
1434 * manual/maint.texi: Likewise.
1435 * Makefile: Likewise.
1436 * malloc/Makefile: Likewise.
1437 * nscd/Makefile: Likewise.
1438 * Makeconfig: Change reference to configure.in and
1439 preconfigure.in to configure.ac and preconfigure.ac
1441 * INSTALL: Regenerated.
1442 * configure: Likewise.
1443 * sysdeps/gnu/configure: Likewise.
1444 * sysdeps/i386/configure: Likewise.
1445 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1446 * sysdeps/mach/configure: Likewise.
1447 * sysdeps/mach/hurd/configure: Likewise.
1448 * sysdeps/powerpc/configure: Likewise.
1449 * sysdeps/powerpc/powerpc32/configure: Likewise.
1450 * sysdeps/powerpc/powerpc64/configure: Likewise.
1451 * sysdeps/s390/s390-32/configure: Likewise.
1452 * sysdeps/s390/s390-64/configure: Likewise.
1453 * sysdeps/sh/configure: Likewise.
1454 * sysdeps/sparc/configure: Likewise.
1455 * sysdeps/unix/sysv/linux/configure: Likewise.
1456 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1457 * sysdeps/x86_64/configure: Likewise.
1458 * sysdeps/x86_64/preconfigure: Likewise.
1460 2013-10-29 Andreas Schwab <schwab@suse.de>
1462 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1464 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1466 * benchtests/pow-inputs: Add new inputs.
1468 * benchtests/exp-inputs: Add new inputs.
1470 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1471 conditional check for return value.
1472 (__cos32): Likewise.
1474 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1476 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1477 to provide a boost for large inputs with word alignment.
1478 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1479 implementation based on optimized PPC64 strcpy.
1480 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1481 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1482 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1483 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1485 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
1488 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1490 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
1493 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1494 * time/tst-strptime.c (day_tests): Add testcase.
1496 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
1499 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1501 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1504 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1505 MAP_FAILED on error.
1507 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1510 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1511 heap for large requests.
1513 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1516 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1517 result if the result has no associated interface.
1518 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1519 interface for all 127.X.Y.Z addresses.
1521 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
1523 * locale/iso-639.def: Add Ligurian (lij)
1525 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
1528 * sunrpc/rpc_main.c: Document rpcgen -5.
1530 2013-10-19 Michael Stahl <mstahl@redhat.com>
1532 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1534 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
1537 * posix/glob.c: Match only directories when trailing slash is present.
1538 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1539 (main): Add testcase.
1541 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
1544 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1546 2013-10-18 Carlos O'Donell <carlos@redhat.com>
1548 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1549 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1550 AUTH_DES and cindex for FIPS 140-2.
1551 (DES Encryption): Add cindex FIPS 46-3.
1553 * locale/locarchive.h (struct locarhandle): Add fname.
1554 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1555 if an optional argument was specified to --list-archive,
1557 * locale/programs/locarchive.c (show_archive_content): Take new
1558 argument fname and pass it via ah.fname to open_archive.
1559 * locale/programs/localedef.h: Update decl.
1560 (open_archive): If AH->fname is non-null, open that file
1561 rather than the default file name, and don't ignore ENOENT.
1562 (create_archive): Set AH.fname to NULL.
1563 (delete_locales_from_archive): Likewise.
1564 (add_locales_to_archive): Likewise.
1565 * locale/programs/locfile.c (write_all_categories): Likewise.
1567 2013-10-18 Joseph Myers <joseph@codesourcery.com>
1568 Aldy Hernandez <aldyh@redhat.com>
1570 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1571 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1572 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1573 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1574 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1575 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1576 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1577 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1578 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1579 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1580 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1581 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1582 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1583 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1584 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1586 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1588 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1590 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1592 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1593 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1595 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1596 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1597 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1598 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1600 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1601 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1602 * sysdeps/powerpc/preconfigure: Likewise.
1603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1605 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1606 Replace contents of file by #include of <fenv_libc.h>.
1607 * sysdeps/powerpc/soft-fp/sfp-machine.h
1608 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1610 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1611 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1612 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1613 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1614 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1615 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1616 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1617 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1618 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1619 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1620 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1621 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1622 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1623 Allow copysignl PLT reference to be missing.
1625 2013-10-18 Richard Sandiford <richard@codesourcery.com>
1626 Joseph Myers <joseph@codesourcery.com
1629 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1631 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1633 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1635 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1636 * elf/tst-tls1.c: Likewise.
1637 * elf/tst-tls10.h: Likewise.
1638 * elf/tst-tls14.c: Likewise.
1639 * elf/tst-tls2.c: Likewise.
1640 * elf/tst-tls3.c: Likewise.
1641 * elf/tst-tls4.c: Likewise.
1642 * elf/tst-tls5.c: Likewise.
1643 * elf/tst-tls6.c: Likewise.
1644 * elf/tst-tls7.c: Likewise.
1645 * elf/tst-tls8.c: Likewise.
1646 * elf/tst-tls9.c: Likewise.
1647 * elf/tst-tlsmod1.c: Likewise.
1648 * elf/tst-tlsmod13.c: Likewise.
1649 * elf/tst-tlsmod13a.c: Likewise.
1650 * elf/tst-tlsmod14a.c: Likewise.
1651 * elf/tst-tlsmod16a.c: Likewise.
1652 * elf/tst-tlsmod16b.c: Likewise.
1653 * elf/tst-tlsmod2.c: Likewise.
1654 * elf/tst-tlsmod3.c: Likewise.
1655 * elf/tst-tlsmod4.c: Likewise.
1656 * elf/tst-tlsmod5.c: Likewise.
1657 * elf/tst-tlsmod6.c: Likewise.
1659 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
1662 * malloc/malloc.c: remove checks for statistics.
1664 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
1667 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1668 * inet/tst-network.c: Add testcase.
1670 2013-10-17 Andreas Schwab <schwab@suse.de>
1673 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1674 to determine canonical name.
1676 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
1678 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1679 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1680 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1681 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1682 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1683 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1684 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1685 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1686 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1687 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1688 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1689 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1690 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1691 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1692 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1693 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1694 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1695 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1696 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1697 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1698 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1699 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1700 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1701 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1702 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1703 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1704 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1705 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1706 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1707 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1708 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1709 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1710 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1711 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1712 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1713 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1714 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1715 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1716 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1717 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1718 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1719 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1720 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1721 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1722 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1723 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1724 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1725 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1726 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1727 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1728 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1729 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1730 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1731 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1732 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1733 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1734 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1735 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1737 2013-10-17 Joseph Myers <joseph@codesourcery.com>
1740 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1741 make result into a quiet NaN.
1743 2013-10-16 Joseph Myers <joseph@codesourcery.com>
1745 * soft-fp/adddf3.c: Fix horizontal whitespace.
1746 * soft-fp/addsf3.c: Likewise.
1747 * soft-fp/addtf3.c: Likewise.
1748 * soft-fp/divdf3.c: Likewise.
1749 * soft-fp/divsf3.c: Likewise.
1750 * soft-fp/divtf3.c: Likewise.
1751 * soft-fp/double.h: Likewise.
1752 * soft-fp/eqdf2.c: Likewise.
1753 * soft-fp/eqsf2.c: Likewise.
1754 * soft-fp/eqtf2.c: Likewise.
1755 * soft-fp/extenddftf2.c: Likewise.
1756 * soft-fp/extended.h: Likewise.
1757 * soft-fp/extendsfdf2.c: Likewise.
1758 * soft-fp/extendsftf2.c: Likewise.
1759 * soft-fp/extendxftf2.c: Likewise.
1760 * soft-fp/fixdfdi.c: Likewise.
1761 * soft-fp/fixdfsi.c: Likewise.
1762 * soft-fp/fixdfti.c: Likewise.
1763 * soft-fp/fixsfdi.c: Likewise.
1764 * soft-fp/fixsfsi.c: Likewise.
1765 * soft-fp/fixsfti.c: Likewise.
1766 * soft-fp/fixtfdi.c: Likewise.
1767 * soft-fp/fixtfsi.c: Likewise.
1768 * soft-fp/fixtfti.c: Likewise.
1769 * soft-fp/fixunsdfdi.c: Likewise.
1770 * soft-fp/fixunsdfsi.c: Likewise.
1771 * soft-fp/fixunsdfti.c: Likewise.
1772 * soft-fp/fixunssfdi.c: Likewise.
1773 * soft-fp/fixunssfsi.c: Likewise.
1774 * soft-fp/fixunssfti.c: Likewise.
1775 * soft-fp/fixunstfdi.c: Likewise.
1776 * soft-fp/fixunstfsi.c: Likewise.
1777 * soft-fp/fixunstfti.c: Likewise.
1778 * soft-fp/floatdidf.c: Likewise.
1779 * soft-fp/floatdisf.c: Likewise.
1780 * soft-fp/floatditf.c: Likewise.
1781 * soft-fp/floatsidf.c: Likewise.
1782 * soft-fp/floatsisf.c: Likewise.
1783 * soft-fp/floatsitf.c: Likewise.
1784 * soft-fp/floattidf.c: Likewise.
1785 * soft-fp/floattisf.c: Likewise.
1786 * soft-fp/floattitf.c: Likewise.
1787 * soft-fp/floatundidf.c: Likewise.
1788 * soft-fp/floatundisf.c: Likewise.
1789 * soft-fp/floatunditf.c: Likewise.
1790 * soft-fp/floatunsidf.c: Likewise.
1791 * soft-fp/floatunsisf.c: Likewise.
1792 * soft-fp/floatunsitf.c: Likewise.
1793 * soft-fp/floatuntidf.c: Likewise.
1794 * soft-fp/floatuntisf.c: Likewise.
1795 * soft-fp/floatuntitf.c: Likewise.
1796 * soft-fp/fmadf4.c: Likewise.
1797 * soft-fp/fmasf4.c: Likewise.
1798 * soft-fp/fmatf4.c: Likewise.
1799 * soft-fp/gedf2.c: Likewise.
1800 * soft-fp/gesf2.c: Likewise.
1801 * soft-fp/getf2.c: Likewise.
1802 * soft-fp/ledf2.c: Likewise.
1803 * soft-fp/lesf2.c: Likewise.
1804 * soft-fp/letf2.c: Likewise.
1805 * soft-fp/muldf3.c: Likewise.
1806 * soft-fp/mulsf3.c: Likewise.
1807 * soft-fp/multf3.c: Likewise.
1808 * soft-fp/negdf2.c: Likewise.
1809 * soft-fp/negsf2.c: Likewise.
1810 * soft-fp/negtf2.c: Likewise.
1811 * soft-fp/op-1.h: Likewise.
1812 * soft-fp/op-2.h: Likewise.
1813 * soft-fp/op-4.h: Likewise.
1814 * soft-fp/op-8.h: Likewise.
1815 * soft-fp/op-common.h: Likewise.
1816 * soft-fp/quad.h: Likewise.
1817 * soft-fp/single.h: Likewise.
1818 * soft-fp/soft-fp.h: Likewise.
1819 * soft-fp/sqrtdf2.c: Likewise.
1820 * soft-fp/sqrtsf2.c: Likewise.
1821 * soft-fp/sqrttf2.c: Likewise.
1822 * soft-fp/subdf3.c: Likewise.
1823 * soft-fp/subsf3.c: Likewise.
1824 * soft-fp/subtf3.c: Likewise.
1825 * soft-fp/truncdfsf2.c: Likewise.
1826 * soft-fp/trunctfdf2.c: Likewise.
1827 * soft-fp/trunctfsf2.c: Likewise.
1828 * soft-fp/trunctfxf2.c: Likewise.
1829 * soft-fp/unorddf2.c: Likewise.
1830 * soft-fp/unordsf2.c: Likewise.
1831 * soft-fp/unordtf2.c: Likewise.
1833 2013-10-15 Joseph Myers <joseph@codesourcery.com>
1835 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1836 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1838 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
1840 * elf/dl-libc.c: Clear initfini list after freeing.
1842 2013-10-14 Joseph Myers <joseph@codesourcery.com>
1844 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1845 * soft-fp/addsf3.c: Likewise.
1846 * soft-fp/addtf3.c: Likewise.
1847 * soft-fp/divdf3.c: Likewise.
1848 * soft-fp/divsf3.c: Likewise.
1849 * soft-fp/divtf3.c: Likewise.
1850 * soft-fp/double.h: Likewise.
1851 * soft-fp/eqdf2.c: Likewise.
1852 * soft-fp/eqsf2.c: Likewise.
1853 * soft-fp/eqtf2.c: Likewise.
1854 * soft-fp/extenddftf2.c: Likewise.
1855 * soft-fp/extended.h: Likewise.
1856 * soft-fp/extendsfdf2.c: Likewise.
1857 * soft-fp/extendsftf2.c: Likewise.
1858 * soft-fp/extendxftf2.c: Likewise.
1859 * soft-fp/fixdfdi.c: Likewise.
1860 * soft-fp/fixdfsi.c: Likewise.
1861 * soft-fp/fixdfti.c: Likewise.
1862 * soft-fp/fixsfdi.c: Likewise.
1863 * soft-fp/fixsfsi.c: Likewise.
1864 * soft-fp/fixsfti.c: Likewise.
1865 * soft-fp/fixtfdi.c: Likewise.
1866 * soft-fp/fixtfsi.c: Likewise.
1867 * soft-fp/fixtfti.c: Likewise.
1868 * soft-fp/fixunsdfdi.c: Likewise.
1869 * soft-fp/fixunsdfsi.c: Likewise.
1870 * soft-fp/fixunsdfti.c: Likewise.
1871 * soft-fp/fixunssfdi.c: Likewise.
1872 * soft-fp/fixunssfsi.c: Likewise.
1873 * soft-fp/fixunssfti.c: Likewise.
1874 * soft-fp/fixunstfdi.c: Likewise.
1875 * soft-fp/fixunstfsi.c: Likewise.
1876 * soft-fp/fixunstfti.c: Likewise.
1877 * soft-fp/floatdidf.c: Likewise.
1878 * soft-fp/floatdisf.c: Likewise.
1879 * soft-fp/floatditf.c: Likewise.
1880 * soft-fp/floatsidf.c: Likewise.
1881 * soft-fp/floatsisf.c: Likewise.
1882 * soft-fp/floatsitf.c: Likewise.
1883 * soft-fp/floattidf.c: Likewise.
1884 * soft-fp/floattisf.c: Likewise.
1885 * soft-fp/floattitf.c: Likewise.
1886 * soft-fp/floatundidf.c: Likewise.
1887 * soft-fp/floatundisf.c: Likewise.
1888 * soft-fp/floatunsidf.c: Likewise.
1889 * soft-fp/floatunsisf.c: Likewise.
1890 * soft-fp/floatuntidf.c: Likewise.
1891 * soft-fp/floatuntisf.c: Likewise.
1892 * soft-fp/floatuntitf.c: Likewise.
1893 * soft-fp/fmadf4.c: Likewise.
1894 * soft-fp/fmasf4.c: Likewise.
1895 * soft-fp/fmatf4.c: Likewise.
1896 * soft-fp/gedf2.c: Likewise.
1897 * soft-fp/gesf2.c: Likewise.
1898 * soft-fp/getf2.c: Likewise.
1899 * soft-fp/ledf2.c: Likewise.
1900 * soft-fp/lesf2.c: Likewise.
1901 * soft-fp/letf2.c: Likewise.
1902 * soft-fp/muldf3.c: Likewise.
1903 * soft-fp/mulsf3.c: Likewise.
1904 * soft-fp/multf3.c: Likewise.
1905 * soft-fp/negdf2.c: Likewise.
1906 * soft-fp/negsf2.c: Likewise.
1907 * soft-fp/negtf2.c: Likewise.
1908 * soft-fp/op-1.h: Likewise.
1909 * soft-fp/op-2.h: Likewise.
1910 * soft-fp/op-4.h: Likewise.
1911 * soft-fp/op-8.h: Likewise.
1912 * soft-fp/op-common.h: Likewise.
1913 * soft-fp/quad.h: Likewise.
1914 * soft-fp/single.h: Likewise.
1915 * soft-fp/soft-fp.h: Likewise.
1916 * soft-fp/sqrtdf2.c: Likewise.
1917 * soft-fp/sqrtsf2.c: Likewise.
1918 * soft-fp/sqrttf2.c: Likewise.
1919 * soft-fp/subdf3.c: Likewise.
1920 * soft-fp/subsf3.c: Likewise.
1921 * soft-fp/subtf3.c: Likewise.
1922 * soft-fp/truncdfsf2.c: Likewise.
1923 * soft-fp/trunctfdf2.c: Likewise.
1924 * soft-fp/trunctfsf2.c: Likewise.
1925 * soft-fp/trunctfxf2.c: Likewise.
1926 * soft-fp/unorddf2.c: Likewise.
1927 * soft-fp/unordsf2.c: Likewise.
1928 * soft-fp/unordtf2.c: Likewise.
1930 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
1933 * misc/error.c (error_tail): Fix possible buffer overflow.
1935 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1938 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1941 2013-10-14 P. J. McDermott <pj@pehjota.net>
1944 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1945 testing pipefail option.
1947 2013-10-12 Joseph Myers <joseph@codesourcery.com>
1949 * soft-fp/double.h: Indent preprocessor directives inside #if.
1950 * soft-fp/extended.h: Likewise.
1951 * soft-fp/op-2.h: Likewise.
1952 * soft-fp/op-4.h: Likewise.
1953 * soft-fp/op-common.h: Likewise.
1954 * soft-fp/quad.h: Likewise.
1955 * soft-fp/single.h: Likewise.
1956 * soft-fp/soft-fp.h: Likewise.
1958 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1960 * iconv/iconv_prog.c: Fix typos.
1961 * stdio-common/psiginfo-data.h: Likewise.
1963 2013-10-12 Reuben Thomas <rrt@sc3d.org>
1966 * locale/setlocale.c: Fix typo.
1968 2013-10-12 Joseph Myers <joseph@codesourcery.com>
1971 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
1972 signaling NaN arguments.
1973 * soft-fp/unordsf2.c (__unordsf2): Likewise.
1974 * soft-fp/unordtf2.c (__unordtf2): Likewise.
1977 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
1979 * soft-fp/gesf2.c (__gesf2): Likewise.
1980 * soft-fp/getf2.c (__getf2): Likewise.
1981 * soft-fp/ledf2.c (__ledf2): Likewise.
1982 * soft-fp/lesf2.c (__lesf2): Likewise.
1983 * soft-fp/letf2.c (__letf2): Likewise.
1985 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
1986 * soft-fp/eqsf2.c (__eqsf2): Likewise.
1987 * soft-fp/eqtf2.c (__eqtf2): Likewise.
1988 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
1989 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
1990 * soft-fp/fixdfti.c (__fixdfti): Likewise.
1991 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
1992 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
1993 * soft-fp/fixsfti.c (__fixsfti): Likewise.
1994 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
1995 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
1996 * soft-fp/fixtfti.c (__fixtfti): Likewise.
1997 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
1998 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
1999 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2000 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2001 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2002 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2003 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2004 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2005 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2006 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2007 * soft-fp/floatdisf.c (__floatdisf): Likewise.
2008 * soft-fp/floatsisf.c (__floatsisf): Likewise.
2009 * soft-fp/floattidf.c (__floattidf): Likewise.
2010 * soft-fp/floattisf.c (__floattisf): Likewise.
2011 * soft-fp/floattitf.c (__floattitf): Likewise.
2012 * soft-fp/floatundidf.c (__floatundidf): Likewise.
2013 * soft-fp/floatundisf.c (__floatundisf): Likewise.
2014 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2015 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2016 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2017 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2018 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2019 * soft-fp/gesf2.c (__gesf2): Likewise.
2020 * soft-fp/getf2.c (__getf2): Likewise.
2021 * soft-fp/ledf2.c (__ledf2): Likewise.
2022 * soft-fp/lesf2.c (__lesf2): Likewise.
2023 * soft-fp/letf2.c (__letf2): Likewise.
2025 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2026 Undefine and redefine.
2027 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2028 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2029 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2030 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2031 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2032 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2033 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2034 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2035 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2036 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2037 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2038 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2039 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2040 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2041 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2044 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2045 without decrementing exponent if mantissa >= that for the
2047 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2048 denominator, not >. Decrement exponent in < case instead of
2049 incrementing in >= case.
2050 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2051 without decrementing exponent if mantissa >= that for the
2054 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2055 computing saturated result for unsigned overflow.
2057 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2058 Jeff Law <law@redhat.com>
2060 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2061 (atan2Mp): Add systemtap probe marker.
2062 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2063 (__ieee754_log): Add systemtap probe marker.
2064 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2065 (atanMp): Add systemtap probe marker.
2066 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2067 (tanMp): Add systemtap probe marker.
2068 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2069 (__slowexp): Add systemtap probe marker.
2070 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2071 (__slowpow): Add systemtap probe marker.
2072 * manual/probes.texi: Document probes.
2074 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
2077 * libio/fileops.c (_IO_new_file_write): Return count of bytes
2079 (_IO_new_file_xsputn): Don't return EOF if nothing has been
2081 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2082 written to buffer but not flushed.
2083 * libio/iofwrite_u.c: Likewise.
2084 * libio/iopadn.c: Return bytes returned even if EOF was
2086 * libio/iowpadn.c: Likewise.
2087 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2088 if _IO_padn does not write the whole buffer.
2089 [!COMPILE_WPRINTF] (PAD): Likewise.
2091 2013-10-10 David S. Miller <davem@davemloft.net>
2093 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2096 2013-10-10 Joseph Myers <joseph@codesourcery.com>
2098 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
2099 instead of FSF address.
2100 * soft-fp/fixdfti.c: Likewise.
2101 * soft-fp/fixsfti.c: Likewise.
2102 * soft-fp/fixtfti.c: Likewise.
2103 * soft-fp/fixunsdfti.c: Likewise.
2104 * soft-fp/fixunssfti.c: Likewise.
2105 * soft-fp/fixunstfti.c: Likewise.
2106 * soft-fp/floattidf.c: Likewise.
2107 * soft-fp/floattisf.c: Likewise.
2108 * soft-fp/floattitf.c: Likewise.
2109 * soft-fp/floatuntidf.c: Likewise.
2110 * soft-fp/floatuntisf.c: Likewise.
2111 * soft-fp/floatuntitf.c: Likewise.
2112 * soft-fp/trunctfxf2.c: Likewise.
2114 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
2115 * soft-fp/fixdfti.c: Likewise.
2116 * soft-fp/fixsfti.c: Likewise.
2117 * soft-fp/fixtfti.c: Likewise.
2118 * soft-fp/fixunsdfti.c: Likewise.
2119 * soft-fp/fixunssfti.c: Likewise.
2120 * soft-fp/fixunstfti.c: Likewise.
2121 * soft-fp/floattidf.c: Likewise.
2122 * soft-fp/floattisf.c: Likewise.
2123 * soft-fp/floattitf.c: Likewise.
2124 * soft-fp/floatuntidf.c: Likewise.
2125 * soft-fp/floatuntisf.c: Likewise.
2126 * soft-fp/floatuntitf.c: Likewise.
2127 * soft-fp/trunctfxf2.c: Likewise.
2129 2013-10-10 David S. Miller <davem@davemloft.net>
2131 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2133 2013-10-10 Joseph Myers <joseph@codsourcery.com>
2135 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2136 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2137 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2138 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2139 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2140 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2141 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2143 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2144 for NaNs before doing comparisons on argument.
2145 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2148 2013-10-10 Will Newton <will.newton@linaro.org>
2150 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2151 passed to _int_memalign does not overflow.
2153 2013-10-10 Torvald Riegel <triegel@redhat.com>
2155 * scripts/bench.pl: Add include-sources directive.
2156 * benchtests/README: Update documentation.
2158 2013-10-10 Joseph Myers <joseph@codesourcery.com>
2160 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2161 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2162 instead of FP_INIT_ROUNDMODE.
2163 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2164 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2167 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
2168 copy class of input value.
2169 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
2170 not handle exceptions.
2171 * soft-fp/negsf2.c (__negsf2): Likewise.
2172 * soft-fp/negtf2.c (__negtf2): Likewise.
2173 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2175 2013-10-09 Joseph Myers <joseph@codesourcery.com>
2177 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2178 semicolon. From Linux kernel.
2180 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
2182 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2184 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2187 * manual/socket.texi: Added statement about buffer
2188 for gethostbyname2_r.
2190 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
2192 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2193 Use .p2align directive instead, throughout.
2194 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2195 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2196 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2197 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2198 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2199 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2200 * sysdeps/x86_64/strchr.S: Likewise.
2201 * sysdeps/x86_64/strrchr.S: Likewise.
2203 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2205 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2207 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2209 * sysdeps/generic/math_private.h (__mpsin1): Remove
2211 (__mpcos1): Likewise.
2212 (__mpsin): New argument __range_reduce.
2213 (__mpcos): Likewise.
2214 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2215 (slow): Use __mpsin and __mpcos.
2222 (bsloww1): Likewise.
2223 (bsloww2): Likewise.
2226 (csloww1): Likewise.
2227 (csloww2): Likewise.
2228 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2229 range_reduce. Merge in __mpsin1.
2230 (__mpcos): Likewise.
2232 (__mpcos1): Likewise.
2234 2013-10-07 Joseph Myers <joseph@codesourcery.com>
2236 * locale/loadlocale.c (_nl_intern_locale_data): Use
2238 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2239 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2240 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2241 obstack data is appropriately aligned.
2242 (obstack_int32_grow_fast): Likewise.
2243 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2244 * locale/programs/locfile.c (add_locale_uint32): Likewise.
2245 (add_locale_uint32_array): Likewise.
2247 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2249 * benchtests/Makefile: Remove ARGLIST and RET variables.
2250 ($(objpfx)bench-%.c): Pass only function name to the script.
2251 * benchtests/README: Update documentation.
2252 * benchtests/acos-inputs: Add new directives.
2253 * benchtests/acosh-inputs: Likewise.
2254 * benchtests/asin-inputs: Likewise.
2255 * benchtests/asinh-inputs: Likewise.
2256 * benchtests/atan-inputs: Likewise.
2257 * benchtests/atanh-inputs: Likewise.
2258 * benchtests/cos-inputs: Likewise.
2259 * benchtests/cosh-inputs: Likewise.
2260 * benchtests/exp-inputs: Likewise.
2261 * benchtests/log-inputs: Likewise.
2262 * benchtests/pow-inputs: Likewise.
2263 * benchtests/rint-inputs: Likewise.
2264 * benchtests/sin-inputs: Likewise.
2265 * benchtests/sinh-inputs: Likewise.
2266 * benchtests/tan-inputs: Likewise.
2267 * benchtests/tanh-inputs: Likewise.
2268 * scripts/bench.pl: Add support for new directives.
2270 2013-10-07 Alan Modra <amodra@gmail.com>
2272 * README: Fix careless merge.
2274 2013-10-05 Alan Modra <amodra@gmail.com>
2276 * NEWS: Mention powerpc64le support and bugs fixed.
2277 * README: Both big-endian and little-endian powerpc64 supported.
2279 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2281 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
2282 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
2283 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
2284 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
2286 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
2288 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2291 2013-10-04 Joseph Myers <joseph@codesourcery.com>
2293 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
2294 Move -mhard-float appending from
2295 ports/sysdeps/powerpc/powerpc32/Makefile.
2296 [$(with-fp) = yes] (ASFLAGS): Likewise.
2297 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
2298 * sysdeps/powerpc/nofpu: Move directory from
2299 ports/sysdeps/powerpc/nofpu.
2300 * sysdeps/powerpc/soft-fp: Move directory from
2301 ports/sysdeps/powerpc/soft-fp.
2302 * sysdeps/powerpc/powerpc32/405: Move directory from
2303 ports/sysdeps/powerpc/powerpc32/405.
2304 * sysdeps/powerpc/powerpc32/440: Move directory from
2305 ports/sysdeps/powerpc/powerpc32/440.
2306 * sysdeps/powerpc/powerpc32/464: Move directory from
2307 ports/sysdeps/powerpc/powerpc32/464.
2308 * sysdeps/powerpc/powerpc32/476: Move directory from
2309 ports/sysdeps/powerpc/powerpc32/476.
2310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2311 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2313 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2315 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2317 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2319 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2320 * README: Update for powerpc-*-linux-gnu software floating point
2323 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2324 case to powerpc/powerpc32*.
2325 * sysdeps/unix/sysv/linux/configure: Regenerated.
2327 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2328 (_FPU_MASK_OM): Define as 0x04.
2329 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2330 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2332 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2334 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2337 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2340 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2343 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2344 and setcontext_e500.
2346 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
2348 * locale/iso-3166.def: Update iso-1366.def and related occurrences
2350 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2352 * manual/threads.texi (Default Thread Attributes): Fix typo.
2354 2013-10-04 Will Newton <will.newton@linaro.org>
2356 * malloc/Makefile: Add tst-memalign.
2357 * malloc/tst-memalign.c: New file.
2359 * malloc/tst-posix_memalign.c: Add comments.
2360 (do_test): Add comments and call free on all potentially
2361 allocated pointers. Add space after cast.
2363 * malloc/tst-pvalloc.c: Add comments.
2364 (do_test): Add comments and call free on all potentially
2365 allocated pointers. Remove duplicate check for NULL pointer.
2366 Add space after cast.
2368 * malloc/tst-valloc.c: Add comments.
2369 (do_test): Add comments and call free on all potentially
2370 allocated pointers. Remove duplicate check for NULL pointer.
2371 Add space after cast.
2373 2013-10-04 Alan Modra <amodra@gmail.com>
2375 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2376 Use stdint types in rather than __attribute__((mode())).
2377 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2379 2013-10-04 Alan Modra <amodra@gmail.com>
2381 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2382 Correct handling of unaligned relocs for little-endian.
2383 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2385 2013-10-04 Alan Modra <amodra@gmail.com>
2387 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2388 * configure: Regenerate.
2389 * nptl/shlib-versions: Powerpc*le starts at 2.18.
2390 * shlib-versions: Likewise.
2392 2013-10-04 Alan Modra <amodra@gmail.com>
2394 * string/tester.c (test_memrchr): Increment reported test cycle.
2396 2013-10-04 Alan Modra <amodra@gmail.com>
2398 * string/test-memcpy.c (do_one_test): When reporting errors, print
2399 string address and don't overrun end of string.
2401 2013-10-04 Alan Modra <amodra@gmail.com>
2403 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2404 insrdi. Make better use of reg selection to speed exit slightly.
2405 Schedule entry path a little better. Remove useless "are we done"
2406 checks on entry to main loop. Handle wrapping around zero address.
2407 Correct main loop count. Handle single left-over word from main
2408 loop inline rather than by using loop_small. Remove extra word
2409 case in loop_small caused by wrong loop count. Add little-endian
2411 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2412 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
2414 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2415 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2416 support. Avoid rlwimi.
2417 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2419 2013-10-04 Alan Modra <amodra@gmail.com>
2421 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
2423 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2424 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2425 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2426 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2427 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2428 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2430 2013-10-04 Alan Modra <amodra@gmail.com>
2432 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2433 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2434 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2435 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2436 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2437 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2438 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2439 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2440 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2441 use of regs. Use power7 mtocrf. Tidy function tails.
2443 2013-10-04 Alan Modra <amodra@gmail.com>
2445 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2446 Formatting. Consistently use rXXX register defines or rN defines.
2447 Use early exit labels that avoid restoring unused non-volatile regs.
2448 Make cr field use more consistent with rWORDn compares. Rename
2449 regs used as shift registers for unaligned loop, using rN defines
2450 for short lifetime/multiple use regs.
2451 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2452 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2453 addi 1,1,64 to pop stack frame. Simplify return value code.
2454 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2456 2013-10-04 Alan Modra <amodra@gmail.com>
2458 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2459 support. Correct typos, formatting. Optimize tail. Use insrdi
2461 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2462 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2463 little-endian support. Correct typos.
2464 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2466 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2467 in loop and entry code to keep "and." results.
2468 (strchr): Add little-endian support. Comment. Move cntlzd
2470 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2472 2013-10-04 Alan Modra <amodra@gmail.com>
2474 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2475 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2476 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2477 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2479 2013-10-04 Alan Modra <amodra@gmail.com>
2481 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2482 (rTMP): Define as r11.
2483 (strcmp): Add little-endian support. Optimise tail.
2484 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2485 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2486 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2487 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2488 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2489 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2490 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2492 2013-10-04 Alan Modra <amodra@gmail.com>
2494 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2495 little-endian support. Remove unnecessary "are we done" tests.
2496 Handle "s" wrapping around zero and extremely large "size".
2497 Correct main loop count. Handle single left-over word from main
2498 loop inline rather than by using small_loop. Correct comments.
2499 Delete "zero" tail, use "end_max" instead.
2500 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2502 2013-10-04 Alan Modra <amodra@gmail.com>
2504 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2505 support. Don't branch over align.
2506 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2507 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2508 support. Rearrange tmp reg use to suit. Comment.
2509 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2511 2013-10-04 Alan Modra <amodra@gmail.com>
2513 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2515 2013-10-04 Alan Modra <amodra@gmail.com>
2517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2518 conditional form of branch and link when obtaining pc.
2519 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2521 2013-10-04 Alan Modra <amodra@gmail.com>
2523 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2525 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2528 2013-10-04 Alan Modra <amodra@gmail.com>
2530 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2531 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2532 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2533 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2534 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2535 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2536 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2537 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2538 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2539 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2541 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2542 Alistair Popple <alistair@ozlabs.au.ibm.com>
2543 Alan Modra <amodra@gmail.com>
2546 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2547 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2548 _dl_hwcap access for little-endian.
2549 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2550 destroy vmx regs when saving unaligned.
2551 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2552 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2553 destroy vmx regs when saving unaligned.
2555 2013-10-04 Alan Modra <amodra@gmail.com>
2557 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2558 Don't use a union to pack hi/low value.
2560 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2562 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2564 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2565 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2566 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2567 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2568 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2570 2013-10-04 Alan Modra <amodra@gmail.com>
2572 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2573 constants to usual value for .cst8 section, and remove redundant
2575 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2576 constant for 0x1p52. Load little-endian words of double from
2577 correct stack offsets.
2579 2013-10-04 Alan Modra <amodra@gmail.com>
2581 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2582 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2583 words of double from correct stack offsets.
2584 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2585 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2586 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2587 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2588 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2589 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2590 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2591 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2592 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2593 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2594 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2595 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2596 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2597 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2598 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2599 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2600 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2602 2013-10-04 Alan Modra <amodra@gmail.com>
2604 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2605 64-bit int/double union.
2606 (_FPU_SETCW): Likewise.
2607 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2608 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2610 2013-10-04 Alan Modra <amodra@gmail.com>
2612 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2613 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2615 2013-10-04 Alan Modra <amodra@gmail.com>
2617 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2618 use vector int constants.
2619 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2621 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2623 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2624 array with long long.
2625 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2626 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2627 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2628 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2629 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2630 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2631 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2632 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2633 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2634 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2635 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2636 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2637 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2639 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2641 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2642 (__signbit): Likewise. Correct for little-endian.
2643 (__signbitl): Call __signbit.
2644 (lrint): Correct for little-endian.
2645 (lrintf): Call lrint.
2647 2013-10-04 Alan Modra <amodra@gmail.com>
2649 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2650 union 32-bit int array member with 64-bit int array.
2651 (t515, tm256): Double rather than long double.
2652 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2654 2013-10-04 Alan Modra <amodra@gmail.com>
2656 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2658 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2659 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2660 version of math_ldbl.h.
2662 2013-10-04 Alan Modra <amodra@gmail.com>
2664 [BZ #15734], [BZ #15735]
2665 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2666 all uses of ieee875 long double macros and unions. Simplify test
2667 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2668 ldbl_extract_mantissa value for ix,iy exponents. Properly
2669 normalize after ldbl_extract_mantissa, and don't add hidden bit
2670 already handled. Don't treat low word of ieee854 mantissa like
2671 low word of IBM long double and mask off bit when testing for
2673 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2674 all uses of ieee875 long double macros and unions. Simplify tests
2675 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2676 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2677 two1022, instead use their values. Recognise that tests for large
2678 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2679 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2680 Rewrite all uses of ieee875 long double macros and unions. Simplify
2681 test for 0.0L and nan. Correct negation.
2682 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2683 ieee875 long double macros and unions. Correct output for large
2684 magnitude x. Correct absolute value calculation.
2685 (__erfcl): Likewise.
2686 * math/libm-test.inc: Add tests for errors discovered in IBM long
2687 double versions of fmodl, remainderl, erfl and erfcl.
2689 2013-10-04 Alan Modra <amodra@gmail.com>
2691 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2692 all uses of ieee854 long double macros and unions. Simplify tests
2693 for long doubles that are fully specified by the high double.
2694 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2696 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2697 Remove dead code too.
2698 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2699 (__ieee754_ynl): Likewise.
2700 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2701 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2702 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2703 Remove dead code too.
2704 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2705 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2706 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2707 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2709 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2711 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2712 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2713 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2714 Comment on variable precision.
2715 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2716 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2718 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2719 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2720 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2721 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2722 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2724 2013-10-04 Alan Modra <amodra@gmail.com>
2726 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2727 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2728 all uses of ieee854 long double macros and unions.
2729 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2730 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2731 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2732 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2733 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2734 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2736 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2737 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2738 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2739 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2740 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2741 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2742 Simplify sign and nan test too.
2743 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2744 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2745 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2746 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2748 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2749 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2751 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2752 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2753 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2754 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2755 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2756 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2758 2013-10-04 Alan Modra <amodra@gmail.com>
2760 * stdio-common/printf_size.c (__printf_size): Don't use
2761 union ieee854_long_double in fpnum union.
2762 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2763 signbit macro to retrieve sign from long double.
2764 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2765 retrieve sign from long double.
2766 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2767 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2768 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2769 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2770 * math/test-misc.c (main): Don't use union ieee854_long_double.
2772 2013-10-04 Alan Modra <amodra@gmail.com>
2775 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2776 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2777 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2778 calculation. Remove unnecessary test for denormal exponent.
2779 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2780 Correct handling of denormals. Avoid undefined shift behaviour.
2781 Correct normalisation of low mantissa when low double is denormal.
2782 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2783 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
2784 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2785 Correct normalisation of low mantissa. Test for overflow of high
2786 mantissa and normalise.
2787 (ldbl_nearbyint): Use more readable constant for two52.
2788 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2789 (__mpn_construct_long_double): Fix test for overflow of high
2790 mantissa and correct normalisation. Avoid undefined shift.
2792 2013-10-04 Alan Modra <amodra@gmail.com>
2794 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2795 (union ibm_extended_long_double): Define as an array of ieee754_double.
2796 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2797 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2798 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2799 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2800 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2801 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2802 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2803 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2804 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2805 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2806 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2808 2013-10-03 Joseph Myers <joseph@codesourcery.com>
2810 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2811 page size instead of calling getpagesize.
2813 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2814 (LOCFILE_ALIGN_MASK): Likewise.
2815 (LOCFILE_ALIGN_UP): Likewise.
2816 (LOCFILE_ALIGNED_P): Likewise.
2817 * locale/programs/ld-collate.c (collate_output): Use the new
2818 macros instead of __alignof__ (int32_t).
2819 * locale/weight.h (findidx): Likewise.
2821 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
2824 * manual/string.texi: Fix strncat and wcsncat.
2826 2013-10-03 Brooks Moses <bmoses@google.com>
2829 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2830 * Makerules: ...here, and adjust associated comments.
2832 2013-10-02 Will Newton <will.newton@linaro.org>
2834 * malloc/Makefile: Add tst-pvalloc.
2835 * malloc/tst-pvalloc.c: New file.
2837 2013-10-02 Will Newton <will.newton@linaro.org>
2839 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2840 improve test coverage.
2842 2013-10-02 Will Newton <will.newton@linaro.org>
2844 * malloc/Makefile: Add tst-posix_memalign.
2845 * malloc/tst-posix_memalign.c: New file.
2847 2013-10-01 Eric Blake <eblake@redhat.com>
2849 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2850 Use __THROWNL rather than __THROW on static functions.
2852 2013-09-30 Petr Machata <pmachata@redhat.com>
2854 * elf/elf.h (R_AARCH64_ABS16): New macro.
2855 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2856 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2857 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2858 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2859 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2860 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2861 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2862 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2863 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2864 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2865 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2866 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2867 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2868 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2869 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2870 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2871 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2872 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2873 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2874 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2875 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2876 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2877 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2878 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2879 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2880 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2881 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2882 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2883 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2884 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2885 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2886 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2887 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2888 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2889 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2890 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2891 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2892 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2893 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2894 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2895 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2896 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2897 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2898 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2899 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2900 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2901 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2902 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2903 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2904 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2905 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2906 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2907 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2908 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2909 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2910 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2911 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2912 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2913 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2914 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2915 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2916 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2917 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2918 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2919 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2920 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2921 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2922 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2923 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2924 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2925 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2926 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2927 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2928 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2929 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2930 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2931 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2932 (R_AARCH64_TLSDESC_LDR): Likewise.
2933 (R_AARCH64_TLSDESC_ADD): Likewise.
2934 (R_AARCH64_TLSDESC_CALL): Likewise.
2936 2013-09-30 Andreas Schwab <schwab@suse.de>
2939 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2940 the nss database lookup.
2941 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2942 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2944 2013-09-28 Mike Frysinger <vapier@gentoo.org>
2946 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2948 2013-09-28 P. J. McDermott <pj@pehjota.net>
2950 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2951 ${Bash-specific parameter/pattern/string} parameter expansion.
2952 * sysdeps/unix/make-syscalls.sh: Likewise.
2954 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2956 * sysdeps/sh/stackguard-macros.h: New file.
2958 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
2960 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2961 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2962 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2963 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2964 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2965 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2967 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2969 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2970 Fix thread ID register.
2972 2013-09-25 Joseph Myers <joseph@codesourcery.com>
2974 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
2975 [POSIX || UNIX98]: Require rather than permitting all symbols from
2977 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
2978 element of struct sched_param.
2979 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
2980 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
2981 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
2982 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
2985 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
2987 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
2988 argument calculation.
2990 2013-09-24 Joseph Myers <joseph@codesourcery.com>
2992 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
2994 [POSIX] (pthread_attr_t): Do not require type.
2995 [POSIX] (pthread_cond_t): Likewise.
2996 [POSIX] (pthread_condattr_t): Likewise.
2997 [POSIX] (pthread_key_t): Likewise.
2998 [POSIX] (pthread_mutex_t): Likewise.
2999 [POSIX] (pthread_mutexattr_t): Likewise.
3000 [POSIX] (pthread_once_t): Likewise.
3001 [POSIX] (pthread_t): Likewise.
3002 [POSIX-based standards] (pthread_atfork): Expect function.
3004 2013-09-24 Joseph Myers <joseph@codesourcery.com>
3005 Richard Sandiford <richard@codesourcery.com>
3007 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3008 (swap_endianness_p): New extern variable.
3009 (set_big_endian): New inline function.
3010 (maybe_swap_uint32): Likewise.
3011 (maybe_swap_uint32_array): Likewise.
3012 (maybe_swap_uint32_obstack): Likewise.
3013 * locale/programs/locfile.c: Include <stdbool.h>.
3014 (swap_endianness_p): New variable.
3015 (add_locale_uint32): Call maybe_swap_uint32.
3016 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3017 (write_locale_data): Call maybe_swap_uint32_array.
3018 * locale/programs/ld-collate.c (obstack_int32_grow): Call
3020 (obstack_int32_grow_fast): Likewise.
3021 (output_weightwc): Call maybe_swap_uint32_obstack.
3022 (collate_output): Likewise.
3023 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3024 (OPT_LITTLE_ENDIAN): Likewise.
3025 (options): Add --little-endian and --big-endian options.
3026 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3027 * locale/programs/locarchive.c: Include "locfile.h".
3031 (create_archive): Use the new macros to access fields of
3032 structures directly mapped from or written to locale archives.
3033 (oldlocrecentcmp): Likewise.
3034 (enlarge_archive): Likewise.
3035 (insert_name): Likewise.
3036 (add_alias): Likewise.
3037 (add_locale): Likewise.
3038 (delete_locales_from_archive): Likewise.
3039 (show_archive_content): Likewise.
3040 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
3043 2013-09-24 Roland McGrath <roland@hack.frob.com>
3045 * manual/freemanuals.texi: Updated from (newly) canonical copy at
3046 http://www.gnu.org/doc/freemanuals.texi.
3047 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3049 2013-09-24 Will Newton <will.newton@linaro.org>
3051 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3054 2013-09-23 Joseph Myers <joseph@codesourcery.com>
3056 * locale/hashval.h (compute_hashval): Interpret bytes of key as
3059 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
3061 * manual/threads.texi (POSIX Threads): Fix a typo.
3063 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3066 * string/tst-strcoll-overflow.c: New test case.
3067 * string/Makefile (xtests): Add tst-strcoll-overflow.
3068 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3069 cache if string sizes may cause integer overflow.
3072 * string/strcoll_l.c (coll_seq): New members rule, idx,
3073 save_idx and back_us.
3074 (get_next_seq_nocache): New function.
3075 (do_compare_nocache): New function.
3076 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3079 2013-09-23 Carlos O'Donell <carlos@redhat.com>
3082 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3083 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3084 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3087 * elf/Makefile (tests): Add tst-ptrguard1.
3088 (tests-static): Add tst-ptrguard1-static.
3089 (tst-ptrguard1-ARGS): Define.
3090 (tst-ptrguard1-static-ARGS): Define.
3091 * elf/tst-ptrguard1.c: New file.
3092 * elf/tst-ptrguard1-static.c: New file.
3093 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3094 * sysdeps/i386/stackguard-macros.h: Likewise.
3095 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3096 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3097 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3098 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3099 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3100 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3102 2013-09-23 Hector Marco <hecmargi@upv.es>
3103 Ismael Ripoll <iripoll@disca.upv.es>
3104 Carlos O'Donell <carlos@redhat.com>
3107 * sysdeps/generic/stackguard-macros.h: Define
3108 __pointer_chk_guard_local and POINTER_CHK_GUARD.
3109 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3110 Define __pointer_chk_guard_local.
3111 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3112 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3114 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3117 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3119 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3121 * include/string.h (__ffs): Declare as hidden.
3122 * string/ffs.c (__ffs): Define as hidden.
3123 * sysdeps/i386/ffs.c (__ffs): Likewise.
3124 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3125 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3126 * sysdeps/s390/ffs.c (__ffs): Likewise.
3127 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3129 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
3131 * NEWS: Mention malloc probes.
3133 * malloc/arena.c (new_heap): New memory_heap_new probe.
3134 (grow_heap): New memory_heap_more probe.
3135 (shrink_heap): New memory_heap_less probe.
3136 (heap_trim): New memory_heap_free probe.
3137 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3138 (systrim): New memory_sbrk_less probe.
3139 * manual/probes.texi: Document them.
3141 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3142 * manual/probes.texi: Document it.
3144 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3145 (__libc_realloc): Add memory_realloc_retry probe.
3146 (__libc_memalign): Add memory_memalign_retry probe.
3147 (__libc_valloc): Add memory_valloc_retry probe.
3148 (__libc_pvalloc): Add memory_pvalloc_retry probe.
3149 (__libc_calloc): Add memory_calloc_retry probe.
3150 * manual/probes.texi: Document them.
3152 * malloc/arena.c (get_free_list): Add probe
3153 memory_arena_reuse_free_list.
3154 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3155 and memory_arena_reuse.
3156 (arena_get2) [!PER_THREAD]: Likewise.
3157 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3158 memory_arena_reuse_realloc.
3159 * manual/probes.texi: Document them.
3161 * malloc/malloc.c (__libc_free): Add
3162 memory_mallopt_free_dyn_thresholds probe.
3163 (__libc_mallopt): Add multiple memory_mallopt probes.
3164 * manual/probes.texi: Document them.
3166 * malloc/malloc.c: Include stap-probe.h.
3167 (__libc_mallopt): Add memory_mallopt probe.
3168 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3169 * manual/probes.texi: New.
3170 * manual/Makefile (chapters): Add probes.
3171 * manual/threads.texi: Set next node.
3173 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3176 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3177 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3178 Add `Chinese' to `nan' entry name.
3180 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3182 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3183 (POLYNOMIAL): Likewise.
3184 (TAYLOR_SINCOS): Likewise.
3185 (TAYLOR_SLOW): Likewise.
3186 (__sin): Use TAYLOR_SINCOS.
3188 (slow): Use TAYLOR_SLOW.
3193 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3195 * stdlib/strtod_l.c: Fix buffer overrun.
3197 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3199 * benchtests/Makefile (bench): Add sincos.
3200 * benchtests/bench-sincos.c: New file.
3202 * math/libm-test.inc (cos_test_data): New test inputs.
3203 (sin_test_data): Likewise.
3205 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3213 (bsloww1): Likewise.
3214 (bsloww2): Likewise.
3216 (csloww1): Likewise.
3217 (csloww2): Likewise.
3219 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3224 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3228 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
3230 * config.h.in (HAVE_MIPS_NAN2008): New macro.
3231 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3232 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3233 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3234 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3235 * elf/cache.c (print_entry): Handle the new cache flags.
3237 2013-09-18 Joseph Myers <joseph@codesourcery.com>
3238 Aldy Hernandez <aldyh@redhat.com>
3240 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3241 Change condition to [_SOFT_FLOAT].
3242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3243 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3244 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3245 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3246 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3247 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3248 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3249 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3250 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3251 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3252 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3253 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3254 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3255 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3256 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3257 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3260 2013-09-18 Joseph Myers <joseph@codesourcery.com>
3262 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3263 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3264 (__longjmp): Use LOAD_GP to load saved GPRs.
3265 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3266 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3267 (__sigsetjmp): Use SAVE_GP to save GPRs.
3269 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3270 Do not append -msoft-float.
3271 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3273 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3275 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3277 2013-09-17 Joseph Myers <joseph@codesourcery.com>
3280 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
3281 (_FPU_GETCW): Use initial "__" on variable and field names but not
3282 on macro parameter name.
3283 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
3284 parentheses around reference to macro parameter.
3286 2013-09-13 Richard Sandiford <richard@codesourcery.com>
3288 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3290 (ctype_startup): Use uint32_t in cast and sizeof for
3293 2013-09-11 Jia Liu <proljc@gmail.com>
3295 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3297 [__FreeBSD__]: Likewise.
3299 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
3301 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3302 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
3303 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
3304 (strchr): Remove __strchr_sse42 ifunc selection.
3305 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
3306 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
3308 2013-09-11 Will Newton <will.newton@linaro.org>
3310 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3311 parameter to RES. Remove hardcoded 1000 value.
3312 * benchtests/bench-skeleton.c (main): Pass RES parameter
3313 to TIMING_INIT and multiply result by 1000.
3315 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3319 2013-09-11 Andreas Schwab <schwab@suse.de>
3321 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3323 (O_TMPFILE) [__USE_GNU]: Define.
3324 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3327 2013-09-11 Will Newton <will.newton@linaro.org>
3330 * malloc/malloc.c (__libc_memalign): Check the value of bytes
3333 2013-09-11 Will Newton <will.newton@linaro.org>
3336 * malloc/malloc.c (__libc_valloc): Check the value of bytes
3339 2013-09-11 Will Newton <will.newton@linaro.org>
3342 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3345 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
3347 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3348 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3349 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3350 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3351 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3353 2013-09-10 Allan McRae <allan@archlinux.org>
3356 * manual/arith.texi (Parsing of Floats): Clarify
3360 * manual/install.texi (Running make install): Mention
3362 * INSTALL: Regenerated.
3364 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3366 * csu/init-first.c (_init): Remove the !SHARED condition around
3367 FPU control word initialization.
3368 * elf/dl-support.c (_dl_fpu_control): New variable.
3369 (_dl_aux_init) <AT_FPUCW>: Initialize it.
3370 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3371 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3372 * math/test-fpucw-static.c: New file.
3373 * math/test-fpucw-ieee.c: New file.
3374 * math/test-fpucw-ieee-static.c: New file.
3375 * math/Makefile (tests): Add `test-fpucw-ieee' and
3377 (tests-static): New variable.
3378 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3380 [($(build-shared),yes)]
3381 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3383 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3386 2013-09-09 Allan McRae <allan@archlinux.org>
3389 * manual/string.texi (Collation Functions): Fix typo in
3391 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3394 * stdlib/isomac.c (get_null_defines): Fix memory leak.
3397 * libio/memstream.c (open_memstream): Fix memory leak.
3398 * libio/wmemstream.c (open_wmemstream): Likewise.
3401 * nscd/netgroupcache.c: Fix nesting of ifdefs.
3403 2013-09-09 Will Newton <will.newton@linaro.org>
3405 * malloc/Makefile: Add tst-realloc to tests.
3406 * malloc/tst-realloc.c: New file.
3408 2013-09-09 Allan McRae <allan@archlinux.org>
3411 * COPYING: Update from GNU website to fix FSF address.
3412 * COPYING.LIB: Likewise.
3414 2013-09-06 David S. Miller <davem@davemloft.net>
3416 * po/zh_TW.po: Update Chinese (traditional) translation from
3417 translation project.
3419 2013-09-06 Richard Sandiford <richard@codesourcery.com>
3420 Joseph Myers <joseph@codesourcery.com>
3422 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3424 (obstack_chunk_alloc): New macro.
3425 (obstack_chunk_free): Likewise.
3426 (record_offset): New function.
3427 (init_locale_data): Likewise.
3428 (align_locale_data): Likewise.
3429 (add_locale_empty): Likewise.
3430 (add_locale_raw_data): Likewise.
3431 (add_locale_raw_obstack): Likewise.
3432 (add_locale_string): Likewise.
3433 (add_locale_wstring): Likewise.
3434 (add_locale_uint32): Likewise.
3435 (add_locale_uint32_array): Likewise.
3436 (add_locale_char): Likewise.
3437 (start_locale_structure): Likewise.
3438 (end_locale_structure): Likewise.
3439 (start_locale_prelude): Likewise.
3440 (end_locale_prelude): Likewise.
3441 (write_locale_data): Take locale_file structure rather than an
3443 * locale/programs/locfile.h: Include "obstack.h".
3444 (struct locale_file): Change to store locale file contents instead
3446 (init_locale_data): New prototype.
3447 (align_locale_data): Likewise.
3448 (add_locale_empty): Likewise.
3449 (add_locale_raw_data): Likewise.
3450 (add_locale_raw_obstack): Likewise.
3451 (add_locale_string): Likewise.
3452 (add_locale_wstring): Likewise.
3453 (add_locale_uint32): Likewise.
3454 (add_locale_uint32_array): Likewise.
3455 (add_locale_char): Likewise.
3456 (start_locale_structure): Likewise.
3457 (end_locale_structure): Likewise.
3458 (start_locale_prelude): Likewise.
3459 (end_locale_prelude): Likewise.
3460 (write_locale_data): Update prototype.
3461 * locale/programs/3level.h (struct TABLE): Remove result field.
3462 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3463 Use new locale_file interface.
3464 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3465 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3466 * locale/programs/ld-address.c (address_output): Use new
3467 locale_file interface.
3468 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3470 (collate_finish): Don't call collseq_table_finalize.
3471 (collate_output): Use new locale_file interface.
3472 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3474 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3475 (TABLE): Move defines earlier in file.
3476 (ELEMENT): Likewise.
3477 (DEFAULT): Likewise.
3478 (wctrans_table_add): Move macro and inline function earlier in
3480 (struct wctype_table): Move type earlier in file.
3481 (add_locale_wctype_table): New static prototype.
3482 (struct locale_ctype_t): Use logical types instead of struct iovec
3483 pointers for members.
3484 (ctype_output): Use new locale_file interface.
3485 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3486 new locale_file interface.
3487 (allocate_arrays): Update for use of new locale_file interface.
3488 * locale/programs/ld-identification.c (identification_output): Use
3489 new locale_file interface.
3490 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3491 * locale/programs/ld-messages.c (messages_output): Likewise.
3492 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3493 * locale/programs/ld-name.c (name_output): Likewise.
3494 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3495 * locale/programs/ld-paper.c (paper_output): Likewise.
3496 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3497 * locale/programs/ld-time.c (time_output): Likewise.
3499 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3501 * benchtests/Makefile: Add memrchr benchmark.
3502 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3503 benchmark as memrchr.
3504 * benchtests/bench-memrchr-ifunc.c: New file.
3505 * benchtests/bench-memrchr.c: New file.
3507 2013-09-06 Will Newton <will.newton@linaro.org>
3509 * benchtests/Makefile (string-bench): Add memcpy.
3511 2013-09-05 Carlos O'Donell <carlos@redhat.com>
3512 Cong Wang <amwang@redhat.com>
3514 * sysdeps/unix/sysv/linux/bits/in.h
3515 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3516 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3517 before __USE_KERNEL_IPV6_DEFS uses.
3518 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3520 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3521 sockaddr_in6, or ipv6_mreq.
3523 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3525 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3526 memory access for final bytes in some large inputs.
3527 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3529 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3531 * string/test-memrchr.c: New file.
3532 * string/test-memrchr-ifunc.c: New file.
3533 * string/Makefile: Add new memrchr testcase.
3535 2013-09-05 Mike Frysinger <vapier@gentoo.org>
3537 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3538 fanotify_init returns EPERM.
3540 2013-09-04 Joseph Myers <joseph@codesourcery.com>
3542 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3544 (top level): Treat second token from macro or constant entries for
3545 allowed headers as allowed.
3546 * include/complex.h: Condition internal declarations on
3548 * include/fenv.h: Condition include of <stdbool.h> and internal
3549 declarations on [!_ISOMAC].
3551 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3554 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3556 2013-09-04 Joseph Myers <joseph@codesourcery.com>
3558 * configure.in (--enable-versioning): Remove configure option.
3559 (libc_cv_asm_symver_directive): Remove configure test.
3560 (libc_cv_ld_version_script_option): Likewise.
3561 (VERSIONING): Remove variable and AC_SUBST.
3562 (DO_VERSIONING): Remove AC_DEFINE.
3563 * configure: Regenerated.
3564 * config.h.in (DO_VERSIONING): Remove macro.
3565 * Makerules [$(versioning) = yes]: Change conditionals to
3566 [$(build-shared) = yes].
3567 * config.make.in (versioning): Remove variable.
3568 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3569 [$(build-shared) = yes].
3570 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3571 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3572 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3573 [$(build-shared) = yes].
3574 * extra-lib.mk [$(versioning) = yes]: Likewise.
3575 * hurd/Makefile [$(versioning) = yes]: Likewise.
3576 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3578 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3580 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3581 [SHARED && !NO_HIDDEN].
3582 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3584 [SHARED && DO_VERSIONING]: Likewise..
3585 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3586 [$(build-shared) = yes].
3587 * manual/install.texi (--disable-versioning): Remove
3589 * INSTALL: Regenerated.
3590 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3592 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3593 [$(build-shared) = yes].
3594 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3595 * sysdeps/i386/i686/multiarch/strstr-c.c
3596 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3597 [SHARED && !NO_HIDDEN].
3598 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3599 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3600 * sysdeps/powerpc/powerpc32/dl-machine.c
3601 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3602 * sysdeps/powerpc/powerpc32/sysdep.h
3603 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3604 to [SHARED && PIC && !NO_HIDDEN].
3605 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3606 conditional to [SHARED].
3608 2013-09-04 Will Newton <will.newton@linaro.org>
3610 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3611 * benchtests/bench-string.h: Include bench-timing.h instead
3612 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3613 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3614 call to HP_TIMING_DIFF_INIT.
3615 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3616 instead of hp-timing.h macros.
3617 * benchtests/bench-memchr.c: Likewise.
3618 * benchtests/bench-memcmp.c: Likewise.
3619 * benchtests/bench-memcpy.c: Likewise.
3620 * benchtests/bench-memmem.c: Likewise.
3621 * benchtests/bench-memmove.c: Likewise.
3622 * benchtests/bench-memset.c: Likewise.
3623 * benchtests/bench-rawmemchr.c: Likewise.
3624 * benchtests/bench-strcasecmp.c: Likewise.
3625 * benchtests/bench-strcasestr.c: Likewise.
3626 * benchtests/bench-strcat.c: Likewise.
3627 * benchtests/bench-strchr.c: Likewise.
3628 * benchtests/bench-strcmp.c: Likewise.
3629 * benchtests/bench-strcpy.c: Likewise.
3630 * benchtests/bench-strcpy_chk.c: Likewise.
3631 * benchtests/bench-strlen.c: Likewise.
3632 * benchtests/bench-strncasecmp.c: Likewise.
3633 * benchtests/bench-strncat.c: Likewise.
3634 * benchtests/bench-strncmp.c: Likewise.
3635 * benchtests/bench-strncpy.c: Likewise.
3636 * benchtests/bench-strnlen.c: Likewise.
3637 * benchtests/bench-strpbrk.c: Likewise.
3638 * benchtests/bench-strrchr.c: Likewise.
3639 * benchtests/bench-strspn.c: Likewise.
3640 * benchtests/bench-strstr.c: Likewise.
3642 2013-09-04 Will Newton <will.newton@linaro.org>
3644 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3646 2013-09-03 Joseph Myers <joseph@codesourcery.com>
3649 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3650 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3651 * math/libm-test.inc (lgamma_test_data): Add more tests.
3652 * sysdeps/i386/fpu/libm-test-ulps: Update.
3653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3655 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
3657 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3658 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3660 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3661 Add strcmp-sse2-unaligned
3662 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3664 2013-09-02 Mike Frysinger <vapier@gentoo.org>
3666 * Versions.def (libc): Add GLIBC_2.19.
3668 2013-09-02 Mike Frysinger <vapier@gentoo.org>
3670 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3671 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3673 2013-09-02 Joseph Myers <joseph@codesourcery.com>
3676 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3677 intermediate calculations in recurrence.
3678 (__ieee754_ynf): Likewise.
3679 * math/libm-test.inc (jn_test_data): Do not allow spurious
3680 underflow exception. Add more tests.
3681 (yn_test_data): Add more tests.
3682 * sysdeps/i386/fpu/libm-test-ulps: Update.
3683 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3685 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
3687 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3689 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3691 * csu/init-first.c: Fix then/than typos.
3692 * locale/programs/ld-collate.c: Likewise.
3693 * locale/programs/linereader.h: Likewise.
3694 * manual/charset.texi: Likewise.
3695 * manual/filesys.texi: Likewise.
3696 * manual/stdio.texi: Likewise.
3697 * manual/string.texi: Likewise.
3698 * stdlib/fmtmsg.c: Likewise.
3699 * sysdeps/i386/stpncpy.S: Likewise.
3700 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3701 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3702 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3703 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3705 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3707 * elf/dl-open.c: Fix typos.
3708 * iconvdata/gbbig5.c: Likewise.
3709 * iconvdata/iso-2022-jp.c: Likewise.
3710 * iconv/gconv_int.h: Likewise.
3711 * iconv/loop.c: Likewise.
3712 * nis/rpcsvc/nis.h: Likewise.
3713 * resolv/ns_name.c: Likewise.
3714 * stdio-common/vfscanf.c: Likewise.
3715 * streams/stropts.h: Likewise.
3716 * sunrpc/rpc_thread.c: Likewise.
3717 * sysdeps/i386/strpbrk.S: Likewise.
3718 * sysdeps/ieee754/k_standard.c: Likewise.
3719 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3720 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3721 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3722 * sysdeps/mach/hurd/profil.c: Likewise.
3723 * sysdeps/s390/dl-procinfo.h: Likewise.
3724 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3725 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3726 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3727 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3728 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3730 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3732 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3733 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3735 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
3737 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3739 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3740 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3741 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3742 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3743 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3744 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3745 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3746 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3748 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3749 Roland McGrath <roland@hack.frob.com>
3751 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3752 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3754 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3756 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3757 __executable_start symbol instead of _start.
3759 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3761 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3762 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3764 * sysdeps/gnu/ldsodefs.h: ... this new file.
3766 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3767 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3768 instead of ELFOSABI_LINUX.
3770 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
3771 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3772 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3773 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3775 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3776 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3777 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3779 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3780 (ibm_extended_long_double): Add ieee_nan member.
3781 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3782 (do_test): New function.
3784 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3786 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3787 functions, renamed from truncdfsf_test, trunctfsf_test,
3789 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3791 (do_test): Run all these.
3793 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
3795 * argp/argp-help.c: Fix typos.
3796 * argp/argp-parse.c: Likewise.
3797 * debug/backtracesyms.c: Likewise.
3798 * elf/elf.h: Likewise.
3799 * malloc/malloc.c: Likewise.
3800 * nis/nis_print.c: Likewise.
3801 * resolv/res_comp.c: Likewise.
3802 * stdlib/stdlib.h: Likewise.
3803 * sunrpc/clnt_tcp.c: Likewise.
3804 * sunrpc/clnt_udp.c: Likewise.
3805 * sunrpc/clnt_unix.c: Likewise.
3806 * sysdeps/unix/bsd/ptsname.c: Likewise.
3807 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3808 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
3809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3815 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3817 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3819 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3820 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3822 2013-08-27 Mike Frysinger <vapier@gentoo.org>
3825 * dlfcn/Makefile (tests): Add bug-dl-leaf.
3826 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3827 ($(objpfx)bug-dl-leaf): New rule.
3828 ($(objpfx)bug-dl-leaf.so): Likewise.
3829 ($(objpfx)bug-dl-leaf.out): Likewise.
3830 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3831 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3832 * dlfcn/bug-dl-leaf.c: New test.
3833 * dlfcn/bug-dl-leaf-lib.c: Likewise.
3834 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3835 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3836 (dlclose): Likewise.
3837 (dlmopen): Likewise.
3839 2013-08-27 Roland McGrath <roland@hack.frob.com>
3841 * include/netdb.h [!_ISOMAC]:
3842 Don't include <tls.h>.
3843 (h_errno, __libc_h_errno): Move declaration and macros out of
3846 * include/resolv.h [_RESOLV_H_]:
3847 Don't include <tls.h>.
3848 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3849 * resolv/res_libc.c: Don't include <tls.h>.
3850 (_res): Use __attribute__ ((nocommon)) in place of
3851 __attribute__ ((section (".bss"))).
3853 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3854 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3856 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3858 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3859 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3861 * resolv/res_mkquery.c: Include <sys/time.h>.
3863 * inet/ifreq.c: Moved to ...
3864 * sysdeps/unix/ifreq.c: ... here.
3865 * inet/ifreq.c: New file, true stub version.
3867 * socket/sa_len.c: New file.
3868 * socket/Makefile (aux): Add it.
3869 * sysdeps/unix/sysv/linux/Makefile
3870 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3871 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3872 and #include <socket/sa_len.c>.
3873 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3874 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3876 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3877 * bits/socket.h: ... here.
3879 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3880 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3881 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3883 2013-08-27 Andreas Schwab <schwab@suse.de>
3886 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3887 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3888 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3889 * string/test-strcasecmp.c (test_main): Run tests in several
3891 * string/test-strncasecmp.c (test_main): Likewise.
3893 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3894 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3895 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3896 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3897 (__strncasecmp_ssse3) [PIC]: Likewise.
3899 2013-08-26 Roland McGrath <roland@hack.frob.com>
3901 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3903 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3904 instead of explicitly declaring xdecrypt.
3905 * nis/nss_nis/nis-publickey.c: Likewise.
3907 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3910 * nscd/aicache.c: Include res_hconf.h.
3911 (addhstaiX): Initialize res_hconf.
3913 2013-08-26 Andreas Schwab <schwab@suse.de>
3915 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3916 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3918 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3920 * nscd/aicache.c (addhstaiX): Fix indentation.
3922 2013-08-25 Mike Frysinger <vapier@gentoo.org>
3924 * configure.ac: Quote $build_pt_chown test.
3925 * configure: Regenerated.
3927 2013-08-23 Joseph Myers <joseph@codesourcery.com>
3930 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3931 * math/s_cexpf.c (__cexpf): Likewise.
3932 * math/s_cexpl.c (__cexpl): Likewise.
3933 * math/libm-test.inc (cexp_test_data): Correct expected return
3934 value for NaN + i0. Add another test.
3936 2013-08-22 David S. Miller <davem@davemloft.net>
3938 * po/ca.po: Update Catalan translation from translation project.
3939 * po/uk.po: Add Ukrainian translations from translation project.
3941 2013-08-21 Joseph Myers <joseph@codesourcery.com>
3944 * math/s_fdim.c (__fdim): Check for infinite arguments if result
3945 is infinite, not alongside NaN test.
3946 * math/s_fdimf.c (__fdimf): Likewise.
3947 * math/s_fdiml.c (__fdiml): Likewise.
3948 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
3951 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
3953 * argp/argp-help.c: Fix typos.
3954 * crypt/speeds.c: Likewise.
3955 * csu/check_fds.c: Likewise.
3956 * elf/dl-load.c: Likewise.
3957 * elf/dl-open.c: Likewise.
3958 * elf/reldep3.c: Likewise.
3959 * elf/reldep.c: Likewise.
3960 * elf/sprof.c: Likewise.
3961 * iconv/iconv_charmap.c: Likewise.
3962 * iconv/skeleton.c: Likewise.
3963 * iconv/strtab.c: Likewise.
3964 * io/lockf64.c: Likewise.
3965 * libio/libioP.h: Likewise.
3966 * resolv/gai_notify.c: Likewise.
3967 * resolv/ns_name.c: Likewise.
3968 * resolv/ns_samedomain.c: Likewise.
3969 * resolv/res_send.c: Likewise.
3970 * stdlib/random.c: Likewise.
3971 * sunrpc/rpc/xdr.h: Likewise.
3972 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
3973 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3974 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3975 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3976 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3977 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3978 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3979 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3980 * sysdeps/mach/hurd/check_fds.c: Likewise.
3981 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
3982 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3983 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3984 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
3985 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3986 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3987 * sysdeps/pthread/aio_notify.c: Likewise.
3988 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
3989 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
3990 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
3991 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3992 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
3994 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3996 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
3997 version if bit_Slow_SSE4_2 is set.
3998 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
3999 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4001 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4004 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4005 trampoline stack frame information.
4006 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4007 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4008 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4009 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4010 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4011 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4012 (_libc_vdso_platform_setup): Initialize the signal trampolines.
4013 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4015 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4016 interrupting a syscall and set with option SA_SIGINFO.
4018 2013-08-20 Joseph Myers <joseph@codesourcery.com>
4021 * math/s_cproj.c (__cproj): Only return an infinity if one part of
4022 argument is infinite.
4023 * math/s_cprojf.c (__cprojf): Likewise.
4024 * math/s_cprojl.c (__cprojl): Likewise.
4025 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4026 * math/libm-test.inc (cproj_test_data): Add more tests.
4028 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4030 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4031 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4032 size. Use __ffs to determine corresponding shift.
4034 2013-08-20 Joseph Myers <joseph@codesourcery.com>
4035 Roland McGrath <roland@hack.frob.com>
4037 * Makefile (INSTALL): Remove trailing blank lines from output of
4040 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4042 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4043 Align 32 bit compat elf_greg to 8 bytes.
4045 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4047 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4049 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4051 * string/strcoll_l.c (coll_seq): New structure.
4052 (get_next_seq_cached): New function.
4053 (get_next_seq): New function.
4054 (do_compare): New function.
4055 (STRCOLL): Use GNU style definition. Simplify implementation
4056 by using get_next_seq, get_next_seq_cached and do_compare.
4058 2013-08-16 Florian Weimer <fweimer@redhat.com>
4062 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4064 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4066 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4067 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4068 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
4070 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4071 GETDENTS_64BIT_ALIGNED.
4072 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4073 * manual/filesys.texi (Reading/Closing Directory): Document
4074 ENAMETOOLONG return value of readdir_r. Recommend readdir more
4076 * manual/conf.texi (Limits for Files): Add portability note to
4078 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4080 2013-08-13 Andreas Schwab <schwab@suse.de>
4083 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4085 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4086 LDBL_MAX_EXP >= 16384]: Add tests for it.
4088 2013-08-12 David S. Miller <davem@davemloft.net>
4090 * version.h (RELEASE): Set to "development".
4091 (VERSION): Set to "2.18.90".
4092 * NEWS: Add 2.19 section.
4094 2013-08-03 David S. Miller <davem@davemloft.net>
4096 * po/ko.po: Update Korean translation from translation project.
4098 2013-08-01 David S. Miller <davem@davemloft.net>
4100 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
4101 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4104 2013-07-30 David S. Miller <davem@davemloft.net>
4106 * po/fr.po: Update French translation from translation project.
4108 2013-07-28 David S. Miller <davem@davemloft.net>
4110 * po/cs.po: Update Czech translation from translation project.
4112 * po/sv.po: Update Swedish translation from translation project.
4114 2013-07-27 David S. Miller <davem@davemloft.net>
4116 * po/eo.po: Update Esperanto translation from translation project.
4118 * po/vi.po: Update Vietnamese translation from translation project.
4120 * po/de.po: Update German translation from translation project.
4122 2013-07-26 David S. Miller <davem@davemloft.net>
4124 * po/bg.po: Update Bulgarian translation from translation project.
4126 * po/nl.po: Update Dutch translation from translation project.
4127 * po/pl.po: Update Polish translation from translation project.
4128 * po/ru.po: Update Russian translation from translation project.
4130 2013-07-24 David S. Miller <davem@davemloft.net>
4132 * po/libc.pot: Update.
4134 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4136 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4138 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4139 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4140 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4142 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4144 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4146 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4147 Andreas Schwab <schwab@suse.de>
4148 Roland McGrath <roland@hack.frob.com>
4149 Joseph Myers <joseph@codesourcery.com>
4150 Carlos O'Donell <carlos@redhat.com>
4153 * config.h.in: Define HAVE_PT_CHOWN.
4154 * config.make.in (build-pt-chown): New variable.
4155 * configure.in (--enable-pt_chown): New configure option.
4156 * configure: Regenerate.
4157 * login/Makefile: Include Makeconfig. Build pt_chown only if
4158 build-pt-chown is enabled.
4159 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4160 pt_chown to fix pty ownership.
4161 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4163 * manual/install.texi (Configuring and compiling): Mention
4164 --enable-pt_chown. Add @findex for grantpt.
4165 * INSTALL: Regenerate.
4167 2013-07-20 David S. Miller <davem@davemloft.net>
4169 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4170 difference between 32-bit and 64-bit.
4172 2013-07-15 Carlos O'Donell <carlos@redhat.com>
4175 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4176 Avoid system header dependency with -ffreestanding.
4177 ($(objpfx)bits/syscall%d): Likewise.
4179 2013-07-13 David S. Miller <davem@davemloft.net>
4181 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4182 underflows from atanl/atan2l due to bug 15319.
4183 (casinh_test_data): Likewise.
4185 2013-07-07 David S. Miller <davem@davemloft.net>
4187 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4189 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
4191 * sysdeps/i386/fpu/libm-test-ulps: Update.
4192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4194 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4196 * configure.in (--enable-lock-elision): Fix message text.
4197 * INSTALL: Regenerate.
4198 * configure: Regenerate.
4200 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4204 2013-07-03 Andreas Jaeger <aj@suse.de>
4206 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4208 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4209 (ptrace_peeksiginfo_args): Add.
4210 (__ptrace_peeksiginfo_flags): Add.
4211 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4212 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4213 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4215 2013-07-03 Allan McRae <allan@archlinux.org>
4217 * sysdeps/i386/fpu/libm-test-ulps: Update.
4219 2013-07-02 David S. Miller <davem@davemloft.net>
4221 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4223 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
4225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4227 2013-07-02 Joseph Myers <joseph@codesourcery.com>
4229 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4232 2013-07-02 Andi Kleen <ak@linux.intel.com>
4234 * config.h.in (ENABLE_LOCK_ELISION): Add.
4235 * configure.in (--enable-lock-elision): Add option.
4236 * manual/install.texi: Document --enable lock elision.
4237 * configure: Regenerate
4238 * INSTALL: Regenerate.
4240 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
4242 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4243 SSE4.2 strcasecmp for libc.a.
4244 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4246 2013-07-02 Joseph Myers <joseph@codesourcery.com>
4249 * soft-fp/op-common.h (_FP_FMA): New macro.
4250 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4251 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
4252 (_FP_MUL_MEAT_1_imm): ... here.
4253 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
4254 (_FP_MUL_MEAT_1_wide): ... here.
4255 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
4256 (_FP_MUL_MEAT_1_hard): ... here.
4257 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4258 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
4259 (_FP_MUL_MEAT_2_wide): ... here.
4260 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
4261 (_FP_MUL_MEAT_2_wide_3mul): ... here.
4262 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
4263 (_FP_MUL_MEAT_2_gmp): ... here.
4264 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4265 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
4266 (_FP_MUL_MEAT_4_wide): ... here.
4267 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
4268 (_FP_MUL_MEAT_4_gmp): ... here.
4269 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4270 (_FP_WFRACBITS_DW_S): Likewise.
4271 (_FP_WFRACXBITS_DW_S): Likewise.
4272 (_FP_HIGHBIT_DW_S): Likewise.
4273 (FP_FMA_S): Likewise.
4274 (_FP_FRAC_HIGH_DW_S): Likewise.
4275 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4276 (_FP_WFRACBITS_DW_D): Likewise.
4277 (_FP_WFRACXBITS_DW_D): Likewise.
4278 (_FP_HIGHBIT_DW_D): Likewise.
4279 (FP_FMA_D): Likewise.
4280 (_FP_FRAC_HIGH_DW_D): Likewise.
4281 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
4282 (_FP_WFRACBITS_DW_E): Likewise.
4283 (_FP_WFRACXBITS_DW_E): Likewise.
4284 (_FP_HIGHBIT_DW_E): Likewise.
4285 (FP_FMA_E): Likewise.
4286 (_FP_FRAC_HIGH_DW_E): Likewise.
4287 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
4288 (_FP_WFRACBITS_DW_Q): Likewise.
4289 (_FP_WFRACXBITS_DW_Q): Likewise.
4290 (_FP_HIGHBIT_DW_Q): Likewise.
4291 (FP_FMA_Q): Likewise.
4292 (_FP_FRAC_HIGH_DW_Q): Likewise.
4293 * soft-fp/fmasf4.c: New file.
4294 * soft-fp/fmadf4.c: Likewise.
4295 * soft-fp/fmatf4.c: Likewise.
4297 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4299 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4300 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
4302 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
4304 (index_Slow_SSE4_2): Likewise.
4305 (index_Prefer_PMINUB_for_stringop): Likewise.
4306 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
4307 bit_Slow_SSE4_2 is set.
4308 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4309 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4311 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4313 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4314 rtld_global._dl_hwcap2.
4315 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4317 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4318 POWER8 feature descriptions defined in _dl_hwcap2.
4319 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4320 string handling for POWER8 feature bits.
4321 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4322 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4323 _dl_powerpc_cap_flags.
4324 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4325 * sysdeps/powerpc/rtld-global-offsets.sym
4326 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4327 _dl_hwcap2 in the rtld_global_ro structure.
4329 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4331 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4332 hardware capabilities in support of AT_HWCAP2.
4333 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4334 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4336 (_dl_show_auxv): Add support for calling _dl_procinfo to display
4337 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
4338 explicitly the unknown a_type display mechanism is used.
4339 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4340 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4342 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4343 to macro prototype for AT_HWCAP2 support.
4344 * sysdeps/i386/dl-procinfo.h: Likewise.
4345 * sysdeps/s390/dl-procinfo.h: Likewise.
4346 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4347 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
4348 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
4349 return -1 for unknown a_type display fallback.
4350 * sysdeps/sparc/dl-procinfo.h: Likewise.
4351 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4352 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4354 2013-06-28 Joseph Myers <joseph@codesourcery.com>
4356 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4357 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4359 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
4362 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4363 mprotect making __stack_prot writable.
4365 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
4366 Joseph Myers <joseph@codesourcery.com>
4368 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4369 as being properly aligned.
4371 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
4373 * dlfcn/modstatic5.c: New file.
4374 * dlfcn/tststatic5.c: New file.
4375 * dlfcn/Makefile (tests): Add tststatic5.
4376 (tests-static): Likewise.
4377 (modules-names): Add modstatic5.
4378 (tststatic5-ENV): New variable.
4379 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4382 * elf/dl-support.c (_dl_main_map): New variable.
4383 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4384 (_dl_nns, _dl_load_adds): Set to 1.
4385 (_dl_initial_searchlist): Refer to _dl_main_map.
4386 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4387 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4388 call to _dl_get_origin.
4389 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4391 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4392 * dlfcn/modstatic3.c: New file.
4393 * dlfcn/tststatic3.c: New file.
4394 * dlfcn/tststatic4.c: New file.
4395 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4396 (tests-static): Likewise.
4397 (modules-names): Add modstatic3.
4398 (tststatic3-ENV, tststatic4-ENV): New variables.
4399 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4400 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4402 2013-06-26 Joseph Myers <joseph@codesourcery.com>
4404 * configure.in (CC): Require GCC version 4.4 or later.
4405 * configure: Regenerated.
4406 * manual/install.texi (Tools for Compilation): Update GCC version
4408 * INSTALL: Regenerated.
4410 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4413 * string/test-memcmp.c (check2): New.
4414 (main): Call check2.
4416 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4418 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
4421 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4423 (dl_open_worker) [!SHARED]: ... here.
4425 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4427 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4429 2013-06-25 Richard Henderson <rth@redhat.com>
4431 * locale/programs/locarchive.c: Include <libc-internal.h>
4433 2013-06-25 Joseph Myers <joseph@codesourcery.com>
4435 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4436 trailing whitespace removed.
4438 2013-06-24 Mike Frysinger <vapier@gentoo.org>
4441 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4442 * locale/programs/locarchive.c: Include libc-mmap.h.
4443 (prepare_address_space): Take two new outputs (the mmap base and len).
4444 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4446 (create_archive): Declare new mmap base and len values for
4447 prepare_address_space, and store the result in ah.
4448 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4449 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4450 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4451 Declare new mmap base and len values for
4452 prepare_address_space, and store the result in new_ah.
4453 (open_archive): Declare new mmap base and len values for
4454 prepare_address_space, and store the result in ah.
4455 (close_archive): If ah->mmap_base is not NULL, use that and
4456 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4457 * sysdeps/generic/libc-mmap.h: New file.
4459 2013-06-24 Mike Frysinger <vapier@gentoo.org>
4461 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4462 (ALIGN_UP): Likewise.
4463 (PTR_ALIGN_DOWN): Likewise.
4464 (PTR_ALIGN_UP): Likewise.
4466 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4468 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4469 entry mapped to PPC_PLATFORM_POWER8.
4470 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4472 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4473 (_dl_string_platform): Add case for exporting platform position for
4475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4476 search path to sysdeps/powerpc/powerpc32/power8 directory.
4477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4478 search path to sysdeps/powerpc/powerpc64/power8 directory.
4479 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4481 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4484 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4486 * INSTALL: Regenerate.
4488 * nscd/connections.c (nscd_init): Fix comment.
4490 2013-06-22 Joseph Myers <joseph@codesourcery.com>
4492 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4495 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4496 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4498 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4500 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4502 (DL_DST_REQ_STATIC): Remove macro.
4504 2013-06-21 Joseph Myers <joseph@codesourcery.com>
4507 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4508 with a shift of 0 bits.
4510 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4512 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4515 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4518 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4520 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4522 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4523 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4524 accepts -fno-tree-loop-distribute-patterns.
4525 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4526 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4528 * string/memset.c (memset): Likewise.
4529 * string/test-memmove.c (simple_memmove): Disable loop transformation
4531 * string/test-memset.c (simple_memset): Likewise.
4532 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4533 * benchtests/bench-memset.c (simple_memset): Likewise.
4534 * configure: Regenerated.
4536 2013-06-20 Joseph Myers <joseph@codesourcery.com>
4538 * math/test-misc.c (main): Ignore fesetround failure when failures
4539 of subsequent rounding tests would be ignored.
4542 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4543 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4544 * math/fegetenv.c (__fegetenv): Return 0.
4545 * math/fegetexcept.c (fegetexcept): Return 0.
4546 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4548 * math/feholdexcpt.c (feholdexcept): Return 0.
4549 * math/fesetenv.c (__fesetenv): Return 0.
4550 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4551 argument FE_TONEAREST.
4552 * math/feupdateenv.c (__feupdateenv): Return 0.
4553 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4555 2013-06-18 Roland McGrath <roland@hack.frob.com>
4557 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4558 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4559 ($(objpfx)rtld-%.os rules): Use them.
4561 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4563 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4566 2013-06-17 Roland McGrath <roland@hack.frob.com>
4568 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4569 length of target pattern, then descending length of dependency pattern.
4570 * configure.in (AWK): Require gawk 3.1.2 or newer.
4571 * manual/install.texi (Tools for Compilation): Say that we do.
4572 * configure: Regenerated.
4574 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4575 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4576 * scripts/sysd-rules.awk: ... this new script.
4577 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4578 than a glob-style pattern.
4580 2013-06-17 Joseph Myers <joseph@codesourcery.com>
4582 * math/test-misc.c (main): Do not treat incorrectly rounded
4583 conversions as failure unless ROUNDING_TESTS passes.
4585 2013-06-15 Joseph Myers <joseph@codesourcery.com>
4588 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4589 restore exception state around main square root computation, then
4590 check for inexactness explicitly.
4592 * math/libm-test.inc (fma_test_data): Add another test.
4594 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4596 * manual/threads.texi (Non-POSIX Extensions): New document
4597 node. Document pthread_getattr_default_np and
4598 pthread_setattr_default_np.
4600 * Versions.def (libpthread): Add GLIBC_2.18.
4601 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4606 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4608 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4610 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4612 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4614 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4616 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4621 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4623 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4624 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4626 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4627 H.J. Lu <hjl.tools@gmail.com>
4630 * sysdeps/x86_64/rtld-memset.c: Remove file.
4631 * sysdeps/x86_64/rtld-memset.S: New file.
4633 2013-06-14 Joseph Myers <joseph@codesourcery.com>
4635 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4636 (test_in_one_mode): Take arguments for whether the rounding mode
4637 is supported for each floating-point type.
4638 (do_test): Pass new arguments to test_in_one_mode using
4641 2013-06-13 Roland McGrath <roland@hack.frob.com>
4643 * posix/tst-waitid.c (do_test): Distinguish different instances of
4644 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4645 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4646 before entering the kernel for waitpid.
4648 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4650 * NEWS: Fix note on clock function precision. Text by Roland
4653 2013-06-13 Roland McGrath <roland@hack.frob.com>
4655 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4656 it into place only when and if the sanity check passes.
4658 2013-06-13 Joseph Myers <joseph@codesourcery.com>
4660 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4661 output for whether conversion result is exact. Take argument
4662 indicating whether type is IBM long double.
4663 (round_for_all): Change need_exact field to ibm_ld.
4664 * stdlib/tst-strtod-round.c (struct exactness): New type.
4665 (struct test): Change bool ld_ok field to struct exactness exact.
4666 (TEST): Update all definitions for change to field.
4667 (tests): Regenerate array contents.
4668 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4669 field value. Check for IBM long double here.
4670 (do_test): Update calls to test_in_one_mode.
4672 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4675 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4676 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4678 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4681 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4682 generated by the compiler on loop optimizations.
4683 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4684 general definitions.
4686 2013-06-12 Joseph Myers <joseph@codesourcery.com>
4688 * math/bug-nextafter.c: Include <math-tests.h>.
4689 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4691 * math/bug-nexttoward.c: Include <math-tests.h>.
4692 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4694 * math/test-misc.c: Include <math-tests.h>.
4695 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4698 2013-06-12 Andreas Jaeger <aj@suse.de>
4700 * po/ia.po: Update Interlingua translation from translation
4703 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4705 * include/fenv.h: Include stdbool.h.
4706 (struct rm_ctx): New structure.
4707 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4709 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4710 (SET_RESTORE_ROUNDF): Likewise.
4711 (SET_RESTORE_ROUNDL): Likewise.
4712 (SET_RESTORE_ROUND_NOEX): Likewise.
4713 (SET_RESTORE_ROUND_NOEXF): Likewise.
4714 (SET_RESTORE_ROUND_NOEXL): Likewise.
4715 (SET_RESTORE_ROUND_53BIT): Likewise.
4716 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4717 (libc_feresetround_noexf_ctx): Likewise.
4718 (libc_feresetround_noexl_ctx): Likewise.
4719 (libc_feholdsetround_53bit_ctx): Likewise.
4720 (libc_feresetround_53bit_ctx): Likewise.
4721 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4722 (libc_feholdexcept_setround_sse_ctx): New function.
4723 (libc_fesetenv_sse_ctx): Likewise.
4724 (libc_feupdateenv_sse_ctx): Likewise.
4725 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4726 (libc_feholdexcept_setround_387_ctx): Likewise.
4727 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4728 (libc_feholdsetround_387_prec_ctx): Likewise.
4729 (libc_feholdsetround_387_ctx): Likewise.
4730 (libc_feholdsetround_387_53bit_ctx): Likewise.
4731 (libc_feholdsetround_sse_ctx): Likewise.
4732 (libc_feresetround_sse_ctx): Likewise.
4733 (libc_feresetround_387_ctx): Likewise.
4734 (libc_feupdateenv_387_ctx): Likewise.
4735 (libc_feholdexcept_setroundf_ctx): Define macro.
4736 (libc_fesetenvf_ctx): Likewise.
4737 (libc_feupdateenvf_ctx): Likewise.
4738 (libc_feholdsetroundf_ctx): Likewise.
4739 (libc_feresetroundf_ctx): Likewise.
4740 (libc_feholdexcept_setround_ctx): Likewise.
4741 (libc_fesetenv_ctx): Likewise.
4742 (libc_feupdateenv_ctx): Likewise.
4743 (libc_feholdsetround_ctx): Likewise.
4744 (libc_feresetround_ctx): Likewise.
4745 (libc_feholdexcept_setroundl_ctx): Likewise.
4746 (libc_feupdateenvl_ctx): Likewise.
4747 (libc_feholdsetroundl_ctx): Likewise.
4748 (libc_feresetroundl_ctx): Likewise.
4749 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4750 (libc_feresetround_53bit_ctx): Likewise.
4752 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4754 * locale/iso-639.def: Convert to UTF-8.
4756 2013-06-11 Joseph Myers <joseph@codesourcery.com>
4758 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4759 (EXCEPTION_TESTS_double): Likewise.
4760 (EXCEPTION_TESTS_long_double): Likewise.
4761 (EXCEPTION_TESTS): Likewise.
4762 * math/libm-test.inc (test_exceptions): Only test exceptions if
4763 EXCEPTION_TESTS (FLOAT).
4765 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4767 * benchtests/Makefile (string-bench): Add strcpy_chk and
4769 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4770 * benchtests/bench-stpcpy_chk.c: New file.
4771 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4772 * benchtests/bench-strcpy_chk.c: New file.
4773 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4775 (do_test): Likewise.
4777 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4779 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4780 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4781 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4782 with tabs where appropriate.
4783 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4785 [PPC_PLATFORM_PPC440]: Likewise.
4786 [PPC_PLATFORM_PPC464]: Likewise.
4787 [PPC_PLATFORM_PPC476]: Likewise.
4788 (_dl_string_platform): Add support for detecting ppc405, ppc440,
4789 ppc464, and ppc476 platform strings merging from ports/
4792 2013-06-11 Andreas Schwab <schwab@suse.de>
4795 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4796 (from_ucs4_idx): Regenerate.
4797 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4798 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4799 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4800 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4801 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4802 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4803 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4804 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4805 from FROM_LOOP and TO_LOOP specific macros.
4806 (BODY): Handle combining characters.
4807 * iconvdata/BIG5HKSCS.irreversible: Update.
4808 * iconvdata/BIG5HKSCS.precomposed: New file.
4809 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4811 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4813 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4815 * include/sys/time.h: Fix indentation and add copyright header.
4817 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4818 (do_test): Likewise.
4819 * string/test-memchr.c (do_one_test): Likewise.
4820 (do_test): Likewise.
4821 * string/test-memcmp.c (do_one_test): Likewise.
4822 (do_test): Likewise.
4823 * string/test-memcpy.c (do_one_test): Likewise.
4824 (do_test): Likewise.
4825 * string/test-memmem.c (do_one_test): Likewise.
4826 (do_test): Likewise.
4827 (do_random_tests): Likewise.
4828 * string/test-memmove.c (do_one_test): Likewise.
4829 (do_test): Likewise.
4830 * string/test-memset.c (do_one_test): Likewise.
4831 (do_test): Likewise.
4832 * string/test-rawmemchr.c (do_one_test): Likewise.
4833 (do_test): Likewise.
4834 * string/test-strcasecmp.c (do_one_test): Likewise.
4835 (do_test): Likewise.
4836 * string/test-strcasestr.c (do_one_test): Likewise.
4837 (do_test): Likewise.
4838 * string/test-strcat.c (do_one_test): Likewise.
4839 (do_test): Likewise.
4840 * string/test-strchr.c (do_one_test): Likewise.
4841 (do_test): Likewise.
4842 * string/test-strcmp.c (do_one_test): Likewise.
4843 (do_test): Likewise.
4844 * string/test-strcpy.c (do_one_test): Likewise.
4845 (do_test): Likewise.
4846 * string/test-string.h: Likewise.
4847 (test_init): Likewise.
4848 * string/test-strlen.c (do_one_test): Likewise.
4849 (do_test): Likewise.
4850 * string/test-strncasecmp.c (do_one_test): Likewise.
4851 (do_test): Likewise.
4852 * string/test-strncat.c (do_one_test): Likewise.
4853 (do_test): Likewise.
4854 * string/test-strncmp.c (do_one_test): Likewise.
4855 (do_test_limit): Likewise.
4856 (do_test): Likewise.
4857 * string/test-strncpy.c (do_one_test): Likewise.
4858 (do_test): Likewise.
4859 * string/test-strnlen.c (do_one_test): Likewise.
4860 (do_test): Likewise.
4861 * string/test-strpbrk.c (do_one_test): Likewise.
4862 (do_test): Likewise.
4863 * string/test-strrchr.c (do_one_test): Likewise.
4864 (do_test): Likewise.
4865 * string/test-strspn.c (do_one_test): Likewise.
4866 (do_test): Likewise.
4867 * string/test-strstr.c (do_one_test): Likewise.
4868 (do_test): Likewise.
4870 * benchtests/Makefile (string-bench): Add string benchmarks.
4871 * benchtests/bench-bcopy-ifunc.c: New file.
4872 * benchtests/bench-bcopy.c: New file.
4873 * benchtests/bench-bzero-ifunc.c: New file.
4874 * benchtests/bench-bzero.c: New file.
4875 * benchtests/bench-memccpy-ifunc.c: New file.
4876 * benchtests/bench-memccpy.c: New file.
4877 * benchtests/bench-memchr-ifunc.c: New file.
4878 * benchtests/bench-memchr.c: New file.
4879 * benchtests/bench-memcmp-ifunc.c: New file.
4880 * benchtests/bench-memcmp.c: New file.
4881 * benchtests/bench-memmem-ifunc.c: New file.
4882 * benchtests/bench-memmem.c: New file.
4883 * benchtests/bench-memmove-ifunc.c: New file.
4884 * benchtests/bench-memmove.c: New file.
4885 * benchtests/bench-mempcpy-ifunc.c: New file.
4886 * benchtests/bench-mempcpy.c: New file.
4887 * benchtests/bench-memset-ifunc.c: New file.
4888 * benchtests/bench-memset.c: New file.
4889 * benchtests/bench-rawmemchr-ifunc.c: New file.
4890 * benchtests/bench-rawmemchr.c: New file.
4891 * benchtests/bench-stpcpy-ifunc.c: New file.
4892 * benchtests/bench-stpcpy.c: New file.
4893 * benchtests/bench-stpncpy-ifunc.c: New file.
4894 * benchtests/bench-stpncpy.c: New file.
4895 * benchtests/bench-strcasecmp-ifunc.c: New file.
4896 * benchtests/bench-strcasecmp.c: New file.
4897 * benchtests/bench-strcasestr-ifunc.c: New file.
4898 * benchtests/bench-strcasestr.c: New file.
4899 * benchtests/bench-strcat-ifunc.c: New file.
4900 * benchtests/bench-strcat.c: New file.
4901 * benchtests/bench-strchr-ifunc.c: New file.
4902 * benchtests/bench-strchr.c: New file.
4903 * benchtests/bench-strchrnul-ifunc.c: New file.
4904 * benchtests/bench-strchrnul.c: New file.
4905 * benchtests/bench-strcmp-ifunc.c: New file.
4906 * benchtests/bench-strcmp.c: New file.
4907 * benchtests/bench-strcpy-ifunc.c: New file.
4908 * benchtests/bench-strcpy.c: New file.
4909 * benchtests/bench-strcspn-ifunc.c: New file.
4910 * benchtests/bench-strcspn.c: New file.
4911 * benchtests/bench-strlen-ifunc.c: New file.
4912 * benchtests/bench-strlen.c: New file.
4913 * benchtests/bench-strncasecmp-ifunc.c: New file.
4914 * benchtests/bench-strncasecmp.c: New file.
4915 * benchtests/bench-strncat-ifunc.c: New file.
4916 * benchtests/bench-strncat.c: New file.
4917 * benchtests/bench-strncmp-ifunc.c: New file.
4918 * benchtests/bench-strncmp.c: New file.
4919 * benchtests/bench-strncpy-ifunc.c: New file.
4920 * benchtests/bench-strncpy.c: New file.
4921 * benchtests/bench-strnlen-ifunc.c: New file.
4922 * benchtests/bench-strnlen.c: New file.
4923 * benchtests/bench-strpbrk-ifunc.c: New file.
4924 * benchtests/bench-strpbrk.c: New file.
4925 * benchtests/bench-strrchr-ifunc.c: New file.
4926 * benchtests/bench-strrchr.c: New file.
4927 * benchtests/bench-strspn-ifunc.c: New file.
4928 * benchtests/bench-strspn.c: New file.
4929 * benchtests/bench-strstr-ifunc.c: New file.
4930 * benchtests/bench-strstr.c: New file.
4932 * benchtests/Makefile: Disable parallel execution of targets.
4933 (string-bench): Add memcpy.
4934 (benchset): New variable to store a list of benchmark sets.
4935 (bench-func): Renamed from bench.
4936 (bench-set): New target.
4937 (bench): Depend on bench-func and bench-set.
4938 * benchtests/README: Add section on benchmark sets.
4939 * benchtests/bench-memcpy-ifunc.c: New file.
4940 * benchtests/bench-memcpy.c: New file.
4941 * benchtests/bench-string.h: New file.
4943 2013-06-11 Andreas Schwab <schwab@suse.de>
4946 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4947 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4948 values in the triple.
4949 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4950 terminator in the group key.
4952 2013-06-11 Andreas Jaeger <aj@suse.de>
4954 * po/zh_TW.po: Update Chinese (traditional) translation from
4955 translation project.
4957 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4959 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4960 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4961 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
4962 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4963 (clock_getcpuclockid): Likewise.
4964 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4965 Add weak_alias and libc_hidden_def.
4966 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4967 * rt/clock_gettime.c (clock_gettime): Rename to
4968 __clock_gettime. Add weak_alias and libc_hidden_def.
4969 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4970 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4971 __clock_nanosleep. Add weak_alias and libc_hidden_def.
4972 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
4973 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
4975 * rt/clock_settime.c (clock_settime): Rename to
4976 __clock_settime. Add weak_alias and libc_hidden_def.
4977 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
4979 2013-06-10 Joseph Myers <joseph@codesourcery.com>
4981 * mach/err_boot.sub: Remove trailing whitespace.
4982 * mach/err_ipc.sub: Likewise.
4983 * mach/err_mach.sub: Likewise.
4985 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
4986 (ROUNDING_TESTS_double): Likewise.
4987 (ROUNDING_TESTS_long_double): Likewise.
4988 (ROUNDING_TESTS): Likewise.
4989 * math/libm-test.inc: Include <math-tests.h>.
4990 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
4991 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
4992 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
4993 (IF_ROUND_INIT_FE_UPWARD): Likewise.
4995 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4997 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5000 2013-06-08 Joseph Myers <joseph@codesourcery.com>
5002 * sysdeps/gnu/errlist.awk: Do not generate space at end of
5003 otherwise empty TRANS lines.
5004 * sysdeps/gnu/errlist.c: Regenerated.
5006 * catgets/gencat.c (error_print): Use (void) in function
5008 * crypt/crypt_util.c (__init_des): Likewise.
5009 * crypt/speeds.c (Stop): Likewise.
5011 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5012 * inet/ruserpass.c (token): Likewise.
5013 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5014 * intl/localealias.c (extend_alias_table): Likewise.
5015 * intl/plural-exp.c (init_germanic_plural): Likewise.
5016 * libio/fcloseall.c (__fcloseall): Likewise.
5017 * libio/genops.c (_IO_flush_all): Likewise.
5018 (_IO_flush_all_linebuffered): Likewise.
5019 (_IO_cleanup): Likewise.
5020 (_IO_iter_begin): Likewise.
5021 (_IO_iter_end): Likewise.
5022 (_IO_list_lock): Likewise.
5023 (_IO_list_unlock): Likewise.
5024 (_IO_list_resetlock): Likewise.
5025 * libio/getchar.c (getchar): Likewise.
5026 * libio/getchar_u.c (getchar_unlocked): Likewise.
5027 * libio/getwchar.c (getwchar): Likewise.
5028 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5029 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5030 * login/getpt.c (__getpt): Likewise.
5031 * login/tst-utmp.c (main): Likewise.
5032 * malloc/hooks.c (__malloc_check_init): Likewise.
5033 * malloc/malloc.c (__malloc_stats): Likewise.
5034 * malloc/mtrace.c (tr_break): Likewise.
5036 (muntrace): Likewise.
5037 * misc/fstab.c (endfsent): Likewise.
5038 * misc/getclktck.c (__getclktck): Likewise.
5039 * misc/getdtsz.c (__getdtablesize): Likewise.
5040 * misc/gethostid.c (gethostid): Likewise.
5041 * misc/getpagesize.c (__getpagesize): Likewise.
5042 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5043 (__get_nprocs): Likewise.
5044 (__get_phys_pages): Likewise.
5045 (__get_avphys_pages): Likewise.
5046 * misc/getttyent.c (getttyent): Likewise.
5047 (setttyent): Likewise.
5048 (endttyent): Likewise.
5049 * misc/getusershell.c (getusershell): Likewise.
5050 (endusershell): Likewise.
5051 (setusershell): Likewise.
5052 (initshells): Likewise.
5053 * misc/hsearch.c (__hdestroy): Likewise.
5054 * misc/sync.c (sync): Likewise.
5055 * misc/syslog.c (closelog_internal): Likewise.
5056 (closelog): Likewise.
5057 * misc/ttyslot.c (ttyslot): Likewise.
5058 * misc/vhangup.c (vhangup): Likewise.
5059 * posix/fork.c (__fork): Likewise.
5060 * posix/getegid.c (__getegid): Likewise.
5061 * posix/geteuid.c (__geteuid): Likewise.
5062 * posix/getgid.c (__getgid): Likewise.
5063 * posix/getpid.c (__getpid): Likewise.
5064 * posix/getppid.c (__getppid): Likewise.
5065 * posix/getuid.c (__getuid): Likewise.
5066 * posix/pause.c (pause): Likewise.
5067 * posix/setpgrp.c (setpgrp): Likewise.
5068 * posix/setsid.c (__setsid): Likewise.
5069 * posix/test-vfork.c (noop): Likewise.
5070 * resolv/gethnamaddr.c (_endhtent): Likewise.
5071 (_gethtent): Likewise.
5072 (ht_endhostent): Likewise.
5073 (gethostent): Likewise.
5074 (dns_service): Likewise.
5075 * stdlib/drand48.c (drand48): Likewise.
5076 * stdlib/lrand48.c (lrand48): Likewise.
5077 * stdlib/mrand48.c (mrand48): Likewise.
5078 * stdlib/rand.c (rand): Likewise.
5079 * stdlib/random.c (__random): Likewise.
5080 * stdlib/setenv.c (clearenv): Likewise.
5081 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5082 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5083 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5084 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5085 (__get_nprocs): Likewise.
5086 (__get_phys_pages): Likewise.
5087 (__get_avphys_pages): Likewise.
5088 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5089 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5090 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5091 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5092 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5093 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5094 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5095 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5096 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5097 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5098 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5099 * sysdeps/mach/hurd/sync.c (sync): Likewise.
5100 * sysdeps/posix/clock.c (clock): Likewise.
5101 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5102 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5103 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5104 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5105 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5106 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5107 (__get_nprocs_conf): Likewise.
5108 (__get_phys_pages): Likewise.
5109 (__get_avphys_pages): Likewise.
5110 * time/clock.c (clock): Likewise.
5111 * time/tzset.c (__tzname_max): Likewise.
5113 2013-06-07 Joseph Myers <joseph@codesourcery.com>
5115 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5116 (__bswap_32): Do not use "register".
5117 * crypt/crypt.c (_ufc_doit_r): Likewise.
5118 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5119 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5120 * gmon/gmon.c (__monstartup): Likewise.
5121 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5122 * hurd/hurdmalloc.c (more_memory): Likewise.
5125 (realloc): Likewise.
5126 (malloc_fork_prepare): Likewise.
5127 (malloc_fork_parent): Likewise.
5128 (malloc_fork_child): Likewise.
5129 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5130 (_svcauth_des): Likewise.
5131 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5132 * inet/inet_net.c (inet_network): Likewise.
5133 * inet/inet_netof.c (inet_netof): Likewise.
5134 * inet/rcmd.c (__validuser2_sa): Likewise.
5135 * io/fts.c (fts_open): Likewise.
5136 (fts_load): Likewise.
5137 (fts_close): Likewise.
5138 (fts_read): Likewise.
5139 (fts_children): Likewise.
5140 (fts_build): Likewise.
5141 (fts_stat): Likewise.
5142 (fts_sort): Likewise.
5143 (fts_alloc): Likewise.
5144 (fts_lfree): Likewise.
5145 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5146 (_IO_file_xsgetn): Likewise.
5147 (_IO_file_xsgetn_mmap): Likewise.
5148 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5149 (_IO_cookie_write): Likewise.
5150 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5151 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5152 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5153 * malloc/obstack.c (_obstack_begin): Likewise.
5154 (_obstack_begin_1): Likewise.
5155 (_obstack_newchunk): Likewise.
5156 (_obstack_allocated_p): Likewise.
5157 (obstack_free): Likewise.
5158 (_obstack_memory_used): Likewise.
5159 * misc/getttyent.c (getttynam): Likewise.
5160 (getttyent): Likewise.
5163 * misc/getusershell.c (initshells): Likewise.
5164 * misc/syslog.c (__vsyslog_chk): Likewise.
5165 * misc/ttyslot.c (ttyslot): Likewise.
5166 * nis/nis_hash.c (__nis_hash): Likewise.
5167 * posix/fnmatch_loop.c (FCT): Likewise.
5168 * posix/getconf.c (print_all): Likewise.
5170 * posix/getopt.c (exchange): Likewise.
5171 * posix/glob.c (globfree): Likewise.
5172 (prefix_array): Likewise.
5173 (__glob_pattern_type): Likewise.
5174 * resolv/arpa/nameser.h (NS_GET16): Likewise.
5175 (NS_GET32): Likewise.
5176 (NS_PUT16): Likewise.
5177 (NS_PUT32): Likewise.
5178 * resolv/gethnamaddr.c (getanswer): Likewise.
5179 (gethostbyname2): Likewise.
5180 (gethostbyaddr): Likewise.
5181 (_gethtent): Likewise.
5182 (_gethtbyname2): Likewise.
5183 (_gethtbyaddr): Likewise.
5184 * resolv/ns_print.c (dst_s_get_int16): Likewise.
5185 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5186 * resolv/res_init.c (__res_vinit): Likewise.
5187 (net_mask): Likewise.
5188 * resolv/res_mkquery.c (outchar): Likewise.
5190 * stdio-common/printf_fp.c (outchar): Likewise.
5192 * stdio-common/printf_fphex.c (outchar): Likewise.
5194 * stdio-common/printf_size.c (outchar): Likewise.
5196 * stdio-common/test_rdwr.c (main): Likewise.
5197 * stdio-common/tfformat.c (matches): Likewise.
5198 * stdio-common/vfprintf.c (outchar): Likewise.
5199 (printf_unknown): Likewise.
5200 (buffered_vfprintf): Likewise.
5201 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5202 * stdio-common/xbug.c (AppendToBuffer): Likewise.
5203 (ReadFile): Likewise.
5204 * stdlib/qsort.c (SWAP): Likewise.
5205 (_quicksort): Likewise.
5206 * stdlib/setenv.c (__add_to_environ): Likewise.
5207 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5208 * stdlib/strtol_l.c (__strtol_l): Likewise.
5209 * stdlib/tst-strtod.c (main): Likewise.
5210 * stdlib/tst-strtol.c (main): Likewise.
5211 * stdlib/tst-strtoll.c (main): Likewise.
5212 * string/bits/string2.h (__strcmp_cc): Likewise.
5213 (__strcmp_cg): Likewise.
5214 (__strcspn_c1): Likewise.
5215 (__strcspn_c2): Likewise.
5216 (__strcspn_c3): Likewise.
5217 (__strspn_c1): Likewise.
5218 (__strspn_c2): Likewise.
5219 (__strspn_c3): Likewise.
5220 (__strsep_1c): Likewise.
5221 (__strsep_2c): Likewise.
5222 (__strsep_3c): Likewise.
5223 * string/memccpy.c (__memccpy): Likewise.
5224 * string/stpcpy.c (__stpcpy): Likewise.
5225 * string/strcmp.c (strcmp): Likewise.
5226 * string/strrchr.c (strrchr): Likewise.
5227 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5229 * sysdeps/mach/hurd/getcwd.c
5230 (_hurd_canonicalize_directory_name_internal): Likewise.
5231 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5232 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5233 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5234 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5235 Likewise, in both definitions.
5236 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5238 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5239 64] (__bswap_64): Likewise.
5240 * time/test_time.c (main): Likewise.
5241 * time/tzfile.c (__tzfile_read): Likewise.
5242 (__tzfile_compute): Likewise.
5243 * time/tzset.c (__tzset_parse_tz): Likewise.
5244 (tzset_internal): Likewise.
5245 (compute_change): Likewise.
5246 * wcsmbs/wcscat.c (__wcscat): Likewise.
5247 * wcsmbs/wcschr.c (wcschr): Likewise.
5248 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5249 * wcsmbs/wcscspn.c (wcscspn): Likewise.
5250 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5251 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5252 * wcsmbs/wcsspn.c (wcsspn): Likewise.
5253 * wcsmbs/wcsstr.c (wcsstr): Likewise.
5254 * wcsmbs/wmemchr.c (wmemchr): Likewise.
5255 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5256 * wcsmbs/wmemset.c (wmemset): Likewise.
5258 2013-06-06 Joseph Myers <joseph@codesourcery.com>
5260 * scripts/config.guess: Update to version 2013-05-16.
5261 * scripts/config.sub: Update to version 2013-04-24.
5262 * scripts/install-sh: Update to version 2011-11-20.07.
5263 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5264 * scripts/move-if-change: Update to version 2012-01-06 07:23.
5266 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
5268 * debug/fgetws_u_chk.c: Fix leading whitespaces.
5269 * elf/sln.c: Likewise.
5270 * hurd/hurd/ioctl.h: Likewise.
5271 * hurd/hurdmalloc.c: Likewise.
5272 * hurd/xattr.c: Likewise.
5273 * include/shlib-compat.h: Likewise.
5274 * inet/ruserpass.c: Likewise.
5275 * libio/iofgets_u.c: Likewise.
5276 * libio/iofgetws_u.c: Likewise.
5277 * locale/programs/ld-identification.c: Likewise.
5278 * locale/programs/ld-time.c: Likewise.
5279 * mach/msg-destroy.c: Likewise.
5280 * nss/nss_files/files-netgrp.c: Likewise.
5281 * resolv/res_data.c: Likewise.
5282 * soft-fp/op-1.h: Likewise.
5283 * soft-fp/op-2.h: Likewise.
5284 * soft-fp/op-4.h: Likewise.
5285 * soft-fp/op-common.h: Likewise.
5286 * stdio-common/printf_fphex.c: Likewise.
5287 * stdlib/strtod_l.c: Likewise.
5288 * sunrpc/rpc/clnt.h: Likewise.
5289 * sysdeps/generic/framestate.c: Likewise.
5290 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5291 * sysdeps/i386/bsd-setjmp.S: Likewise.
5292 * sysdeps/i386/__longjmp.S: Likewise.
5293 * sysdeps/i386/setjmp.S: Likewise.
5294 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5295 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5296 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5297 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5298 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5299 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5300 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5301 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5302 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5303 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5304 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5305 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5306 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5307 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5308 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5309 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5310 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5311 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5312 * sysdeps/ieee754/support.c: Likewise.
5313 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5314 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5315 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5316 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5317 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5318 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5319 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5320 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5321 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5322 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5323 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5324 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5325 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5326 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5327 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5328 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5329 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5332 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
5334 * posix/transbug.c: Remove executable mode.
5336 2013-06-05 Joseph Myers <joseph@codesourcery.com>
5338 * crypt/speeds.c: Remove trailing whitespace.
5339 * dlfcn/default.c: Likewise.
5340 * elf/ifuncdep2.c: Likewise.
5341 * elf/ifuncmain1.c: Likewise.
5342 * elf/ifuncmain1vis.c: Likewise.
5343 * elf/testobj.h: Likewise.
5344 * elf/tst-stackguard1.c: Likewise.
5345 * gmon/sys/gmon.h: Likewise.
5346 * hurd/hurdmsg.c: Likewise.
5347 * hurd/new-fd.c: Likewise.
5348 * hurd/ports-get.c: Likewise.
5349 * iconvdata/ibm1008_420.c: Likewise.
5350 * inet/tst-getni1.c: Likewise.
5351 * inet/tst-getni2.c: Likewise.
5352 * libio/ioungetc.c: Likewise.
5353 * libio/wfiledoalloc.c: Likewise.
5354 * manual/libm-err-tab.pl: Likewise.
5355 * math/w_dremf.c: Likewise.
5356 * misc/ftruncate.c: Likewise.
5357 * posix/bug-glob2.c: Likewise.
5358 * posix/tst-pcre.c: Likewise.
5359 * posix/wait4.c: Likewise.
5360 * resolv/README: Likewise.
5361 * resolv/res_debug.h: Likewise.
5362 * resolv/tst-inet_ntop.c: Likewise.
5363 * setjmp/bug269-setjmp.c: Likewise.
5364 * soft-fp/extended.h: Likewise.
5365 * soft-fp/op-1.h: Likewise.
5366 * soft-fp/op-2.h: Likewise.
5367 * soft-fp/op-4.h: Likewise.
5368 * soft-fp/op-8.h: Likewise.
5369 * soft-fp/testit.c: Likewise.
5370 * stdio-common/bug16.c: Likewise.
5371 * stdlib/random.c: Likewise.
5372 * sunrpc/rpcsvc/rquota.x: Likewise.
5373 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5374 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5375 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5376 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5377 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5378 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5379 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5380 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5381 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5382 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5383 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5384 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5385 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5386 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5387 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5388 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5389 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5390 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5391 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5392 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5393 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5394 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5395 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5396 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5397 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5398 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5399 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5400 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5401 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5402 * sysdeps/ieee754/s_lib_version.c: Likewise.
5403 * sysdeps/mach/hurd/check_fds.c: Likewise.
5404 * sysdeps/mach/hurd/getsockname.c: Likewise.
5405 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5406 * sysdeps/mach/hurd/recvfrom.c: Likewise.
5407 * sysdeps/powerpc/bits/link.h: Likewise.
5408 * sysdeps/powerpc/dl-procinfo.c: Likewise.
5409 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5410 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5411 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5412 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5413 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5414 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5415 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5416 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5417 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5418 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5419 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5420 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5421 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5422 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5423 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5424 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5425 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5426 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5427 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5428 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5429 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5430 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5431 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5432 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5433 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5434 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5435 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5436 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5437 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5438 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5439 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5440 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5441 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5442 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5443 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5444 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5445 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5446 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5447 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5448 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5449 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5450 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5451 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5452 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5453 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5454 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5455 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5456 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5457 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5458 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5459 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5460 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5461 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5462 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5463 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5464 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5465 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5466 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5467 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5468 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5469 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5470 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5471 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5472 * sysdeps/powerpc/sysdep.h: Likewise.
5473 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5474 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5475 * sysdeps/sh/dl-trampoline.S: Likewise.
5476 * sysdeps/sh/memset.S: Likewise.
5477 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5478 * sysdeps/sh/strlen.S: Likewise.
5479 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5480 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5481 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5482 * sysdeps/sparc/sparc32/rem.S: Likewise.
5483 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5484 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5485 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5486 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5487 * sysdeps/sparc/sparc32/urem.S: Likewise.
5488 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5489 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5490 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5491 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5492 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5493 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5494 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5495 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5496 * sysdeps/unix/bsd/times.c: Likewise.
5497 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5498 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5500 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5502 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5503 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5504 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5505 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5506 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5507 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5508 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5509 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5510 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5511 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5512 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5513 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5514 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5515 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5516 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5517 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5518 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5519 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5520 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5521 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5522 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5523 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5524 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5525 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5526 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5527 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5528 * sysdeps/x86_64/strcspn.S: Likewise.
5530 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5532 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5533 generated file. Regenerate properly from gen-translit.pl.
5534 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5535 locale/C-translit.h.
5537 2013-06-05 Andreas Schwab <schwab@suse.de>
5540 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5541 week as 6 instead of -1.
5542 * time/tst-strptime.c (day_tests): Add test case.
5544 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5546 * sysdeps/generic/math_private.h
5547 (libc_feholdexcept_setround_53bit): Replace with
5548 libc_feholdsetround_53bit.
5549 (libc_feupdateenv_53bit): Replace with
5550 libc_feresetround_53bit.
5551 (SET_RESTORE_ROUND_53BIT): Adjust.
5553 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5555 * string/test-strchrnul.c: Add copyright header.
5557 * posix/tst-getaddrinfo4.c: Increase test timeout.
5559 2013-06-03 Carlos O'Donell <carlos@redhat.com>
5562 * math/libm-test.inc (MAX_EXP): Remove
5564 (ulp): Use MIN_EXP - MANT_DIG.
5565 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5567 2013-05-31 Carlos O'Donell <carlos@redhat.com>
5569 * po/be.po: Revert last change.
5570 * po/zh_CN.po: Likewise.
5571 * po/header.pot: Likewise.
5573 2013-05-31 Joseph Myers <joseph@codesourcery.com>
5575 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5576 link-libc-deps to empty as target-specific variable.
5577 * Makerules (link-libc-args): New variable.
5578 (libc-for-link): Likewise.
5579 (link-libc-deps): Likewise.
5580 (lib%.so): Depend on $(link-libc-deps). Link with
5582 (build-module): Link with $(link-libc-args).
5583 (build-module-asneeded): Likewise.
5584 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5586 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5587 target-specific variable.
5588 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5589 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5590 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5592 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5594 ($(objpfx)libpcprofile.so): Likewise.
5595 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5597 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5598 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5599 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5601 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5602 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5603 * login/Makefile ($(objpfx)libutil.so): Likewise.
5604 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5605 * math/Makefile ($(objpfx)libm.so): Likewise.
5606 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5607 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5608 variable instead of depending directly on libc.
5609 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5610 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5612 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5614 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5615 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5616 ($(objpfx)libanl.so): Likewise.
5617 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5619 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5621 * sysdeps/i386/fpu/Makefile: Remove file.
5622 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5623 ($(objpfx)libm.so): Remove dependency on ld.so.
5625 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
5628 * nis/yp_xdr.c (XDRMAXNAME): Define.
5629 (XDRMAXRECORD): Define.
5630 (xdr_domainname): Use XDRMAXNAME.
5631 (xdr_mapname): Likewise.
5632 (xdr_peername): Likewise.
5633 (xdr_keydat): Use XDRMAXRECORD.
5634 (xdr_valdat): Likewise.
5636 2013-05-30 Jeff Law <law@redhat.com>
5639 * manual/errno.texi (ESTALE): Update to account for more than
5640 just NFS file systems.
5641 * sysdeps/gnu/errlist.c: Regenerated.
5643 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5646 * elf/Makefile (tests): Add tst-null-argv.
5647 (modules-names): Add tst-null-argv-lib.
5648 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5649 (tst-null-argv-ENV): Set environment for tst-null-argv.
5650 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5651 (RTLD_PROGNAME): New macro.
5652 * elf/tst-null-argv.c: New test case.
5653 * elf/tst-null-argv-lib.c: Library for test case.
5654 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5655 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5656 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5657 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5658 * elf/dl-init.c (call_init): Likewise.
5659 (_dl_init): Likewise.
5660 * elf/dl-load.c (print_search_path): Likewise.
5661 (_dl_map_object): Likewise.
5662 * elf/dl-lookup.c (do_lookup_x): Likewise.
5663 (add_dependency): Likewise.
5664 (_dl_lookup_symbol_x): Likewise.
5665 (_dl_debug_bindings): Likewise.
5666 * elf/dl-open.c (_dl_show_scope): Likewise.
5667 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5668 * elf/dl-version.c (match_symbol): Likewise.
5669 (_dl_check_map_versions): Likewise.
5670 * elf/rtld.c (dl_main): Likewise.
5671 (print_unresolved): Use RTLD_PROGNAME.
5672 (print_missing_version): Likewise.
5673 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5674 (elf_machine_rela): Likewise.
5675 * sysdeps/powerpc/powerpc32/dl-machine.c
5676 (__process_machine_rela): Likewise.
5677 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5679 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5681 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5683 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5684 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5686 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5688 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5690 2013-05-28 Carlos O'Donell <carlos@redhat.com>
5692 * po/be.po: Add descriptive title.
5693 * po/zh_CN.po: Likewise.
5694 * po/header.pot: Likewise.
5696 2013-05-28 Mike Frysinger <vapier@gentoo.org>
5698 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5700 (enlarge_archive): Likewise.
5702 2013-05-28 Ben North <ben@redfrontdoor.org>
5704 * manual/arith.texi (frexp): It is the magnitude of the return
5705 value which lies in [0.5, 1), not the return value itself.
5707 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5709 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5711 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5713 * stdio-common/bug26.c (main): Correct fscanf template.
5715 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5716 declare _dl_skip_args.
5718 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5721 * manual/platform.texi: Add missing @end deftypefun.
5723 2013-05-24 Joseph Myers <joseph@codesourcery.com>
5726 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5727 bit of mantissa of 2^16382.
5728 * math/libm-test.inc (hypot_test_data): Add more tests.
5730 * math/libm-test.inc: Add drem and pow10 to list of tested
5732 (pow10_test): New function.
5733 (drem_test): Likewise.
5734 (drem_test_tonearest): Likewise.
5735 (drem_test_towardzero): Likewise.
5736 (drem_test_downward): Likewise.
5737 (drem_test_upward): Likewise.
5738 (main): Call the new functions.
5740 * math/libm-test.inc (finite_test_data): Remove.
5741 (finite_test): Run tests from isfinite_test_data.
5742 (gamma_test_data): Remove.
5743 (gamma_test): Run tests from lgamma_test_data.
5744 * sysdeps/i386/fpu/libm-test-ulps: Update.
5745 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5747 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5749 * manual/platform.texi: Add PowerPC PPR function set documentation.
5750 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5753 2013-05-24 Carlos O'Donell <carlos@redhat.com>
5755 * math/libm-test.inc (MAX_EXP): Define.
5757 (ulp): New function.
5758 (check_float_internal): Use ULPDIFF.
5759 (cpow_test): Disable failing test.
5760 (check_ulp): Test ulp() implemetnation.
5761 (main): Call check_ulp before starting tests.
5763 2013-05-24 Joseph Myers <joseph@codesourcery.com>
5765 * math/gen-libm-test.pl (generate_testfile): Do not handle
5766 START_DATA and END_DATA.
5767 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5769 (acos_tonearest_test_data): Likewise.
5770 (acos_towardzero_test_data): Likewise.
5771 (acos_downward_test_data): Likewise.
5772 (acos_upward_test_data): Likewise.
5773 (acosh_test_data): Likewise.
5774 (asin_test_data): Likewise.
5775 (asin_tonearest_test_data): Likewise.
5776 (asin_towardzero_test_data): Likewise.
5777 (asin_downward_test_data): Likewise.
5778 (asin_upward_test_data): Likewise.
5779 (asinh_test_data): Likewise.
5780 (atan_test_data): Likewise.
5781 (atanh_test_data): Likewise.
5782 (atan2_test_data): Likewise.
5783 (cabs_test_data): Likewise.
5784 (cacos_test_data): Likewise.
5785 (cacosh_test_data): Likewise.
5786 (carg_test_data): Likewise.
5787 (casin_test_data): Likewise.
5788 (casinh_test_data): Likewise.
5789 (catan_test_data): Likewise.
5790 (catanh_test_data): Likewise.
5791 (cbrt_test_data): Likewise.
5792 (ccos_test_data): Likewise.
5793 (ccosh_test_data): Likewise.
5794 (ceil_test_data): Likewise.
5795 (cexp_test_data): Likewise.
5796 (cimag_test_data): Likewise.
5797 (clog_test_data): Likewise.
5798 (clog10_test_data): Likewise.
5799 (conj_test_data): Likewise.
5800 (copysign_test_data): Likewise.
5801 (cos_test_data): Likewise.
5802 (cos_tonearest_test_data): Likewise.
5803 (cos_towardzero_test_data): Likewise.
5804 (cos_downward_test_data): Likewise.
5805 (cos_upward_test_data): Likewise.
5806 (cosh_test_data): Likewise.
5807 (cosh_tonearest_test_data): Likewise.
5808 (cosh_towardzero_test_data): Likewise.
5809 (cosh_downward_test_data): Likewise.
5810 (cosh_upward_test_data): Likewise.
5811 (cpow_test_data): Likewise.
5812 (cproj_test_data): Likewise.
5813 (creal_test_data): Likewise.
5814 (csin_test_data): Likewise.
5815 (csinh_test_data): Likewise.
5816 (csqrt_test_data): Likewise.
5817 (ctan_test_data): Likewise.
5818 (ctan_tonearest_test_data): Likewise.
5819 (ctan_towardzero_test_data): Likewise.
5820 (ctan_downward_test_data): Likewise.
5821 (ctan_upward_test_data): Likewise.
5822 (ctanh_test_data): Likewise.
5823 (ctanh_tonearest_test_data): Likewise.
5824 (ctanh_towardzero_test_data): Likewise.
5825 (ctanh_downward_test_data): Likewise.
5826 (ctanh_upward_test_data): Likewise.
5827 (erf_test_data): Likewise.
5828 (erfc_test_data): Likewise.
5829 (exp_test_data): Likewise.
5830 (exp_tonearest_test_data): Likewise.
5831 (exp_towardzero_test_data): Likewise.
5832 (exp_downward_test_data): Likewise.
5833 (exp_upward_test_data): Likewise.
5834 (exp10_test_data): Likewise.
5835 (exp2_test_data): Likewise.
5836 (expm1_test_data): Likewise.
5837 (fabs_test_data): Likewise.
5838 (fdim_test_data): Likewise.
5839 (finite_test_data): Likewise.
5840 (floor_test_data): Likewise.
5841 (fma_test_data): Likewise.
5842 (fma_towardzero_test_data): Likewise.
5843 (fma_downward_test_data): Likewise.
5844 (fma_upward_test_data): Likewise.
5845 (fmax_test_data): Likewise.
5846 (fmin_test_data): Likewise.
5847 (fmod_test_data): Likewise.
5848 (fpclassify_test_data): Likewise.
5849 (frexp_test_data): Likewise.
5850 (gamma_test_data): Likewise.
5851 (hypot_test_data): Likewise.
5852 (ilogb_test_data): Likewise.
5853 (isfinite_test_data): Likewise.
5854 (isgreater_test_data): Likewise.
5855 (isgreaterequal_test_data): Likewise.
5856 (isinf_test_data): Likewise.
5857 (isless_test_data): Likewise.
5858 (islessequal_test_data): Likewise.
5859 (islessgreater_test_data): Likewise.
5860 (isnan_test_data): Likewise.
5861 (isnormal_test_data): Likewise.
5862 (issignaling_test_data): Likewise.
5863 (isunordered_test_data): Likewise.
5864 (j0_test_data): Likewise.
5865 (j1_test_data): Likewise.
5866 (jn_test_data): Likewise.
5867 (ldexp_test_data): Likewise.
5868 (lgamma_test_data): Likewise.
5869 (lrint_test_data): Likewise.
5870 (lrint_tonearest_test_data): Likewise.
5871 (lrint_towardzero_test_data): Likewise.
5872 (lrint_downward_test_data): Likewise.
5873 (lrint_upward_test_data): Likewise.
5874 (llrint_test_data): Likewise.
5875 (llrint_tonearest_test_data): Likewise.
5876 (llrint_towardzero_test_data): Likewise.
5877 (llrint_downward_test_data): Likewise.
5878 (llrint_upward_test_data): Likewise.
5879 (log_test_data): Likewise.
5880 (log10_test_data): Likewise.
5881 (log1p_test_data): Likewise.
5882 (log2_test_data): Likewise.
5883 (logb_test_data): Likewise.
5884 (logb_downward_test_data): Likewise.
5885 (lround_test_data): Likewise.
5886 (llround_test_data): Likewise.
5887 (modf_test_data): Likewise.
5888 (nearbyint_test_data): Likewise.
5889 (nextafter_test_data): Likewise.
5890 (nexttoward_test_data): Likewise.
5891 (pow_test_data): Likewise.
5892 (pow_tonearest_test_data): Likewise.
5893 (pow_towardzero_test_data): Likewise.
5894 (pow_downward_test_data): Likewise.
5895 (pow_upward_test_data): Likewise.
5896 (remainder_test_data): Likewise.
5897 (remainder_tonearest_test_data): Likewise.
5898 (remainder_towardzero_test_data): Likewise.
5899 (remainder_downward_test_data): Likewise.
5900 (remainder_upward_test_data): Likewise.
5901 (remquo_test_data): Likewise.
5902 (rint_test_data): Likewise.
5903 (rint_tonearest_test_data): Likewise.
5904 (rint_towardzero_test_data): Likewise.
5905 (rint_downward_test_data): Likewise.
5906 (rint_upward_test_data): Likewise.
5907 (round_test_data): Likewise.
5908 (scalb_test_data): Likewise.
5909 (scalbn_test_data): Likewise.
5910 (scalbln_test_data): Likewise.
5911 (signbit_test_data): Likewise.
5912 (sin_test_data): Likewise.
5913 (sin_tonearest_test_data): Likewise.
5914 (sin_towardzero_test_data): Likewise.
5915 (sin_downward_test_data): Likewise.
5916 (sin_upward_test_data): Likewise.
5917 (sincos_test_data): Likewise.
5918 (sinh_test_data): Likewise.
5919 (sinh_tonearest_test_data): Likewise.
5920 (sinh_towardzero_test_data): Likewise.
5921 (sinh_downward_test_data): Likewise.
5922 (sinh_upward_test_data): Likewise.
5923 (sqrt_test_data): Likewise.
5924 (tan_test_data): Likewise.
5925 (tan_tonearest_test_data): Likewise.
5926 (tan_towardzero_test_data): Likewise.
5927 (tan_downward_test_data): Likewise.
5928 (tan_upward_test_data): Likewise.
5929 (tanh_test_data): Likewise.
5930 (tgamma_test_data): Likewise.
5931 (trunc_test_data): Likewise.
5932 (y0_test_data): Likewise.
5933 (y1_test_data): Likewise.
5934 (yn_test_data): Likewise.
5935 (significand_test_data): Likewise.
5937 * math/gen-libm-test.pl (@functions): Remove variable.
5938 (generate_testfile): Don't handle START and END lines.
5939 * math/libm-test.inc (START): New macro.
5941 (END_COMPLEX): Likewise.
5942 (acos_test): Use END macro without arguments.
5943 (acos_test_tonearest): Likewise.
5944 (acos_test_towardzero): Likewise.
5945 (acos_test_downward): Likewise.
5946 (acos_test_upward): Likewise.
5947 (acosh_test): Likewise.
5948 (asin_test): Likewise.
5949 (asin_test_tonearest): Likewise.
5950 (asin_test_towardzero): Likewise.
5951 (asin_test_downward): Likewise.
5952 (asin_test_upward): Likewise.
5953 (asinh_test): Likewise.
5954 (atan_test): Likewise.
5955 (atanh_test): Likewise.
5956 (atan2_test): Likewise.
5957 (cabs_test): Likewise.
5958 (cacos_test): Use END_COMPLEX macro without arguments.
5959 (cacosh_test): Likewise.
5960 (carg_test): Use END macro without arguments.
5961 (casin_test): Use END_COMPLEX macro without arguments.
5962 (casinh_test): Likewise.
5963 (catan_test): Likewise.
5964 (catanh_test): Likewise.
5965 (cbrt_test): Use END macro without arguments.
5966 (ccos_test): Use END_COMPLEX macro without arguments.
5967 (ccosh_test): Likewise.
5968 (ceil_test): Use END macro without arguments.
5969 (cexp_test): Use END_COMPLEX macro without arguments.
5970 (cimag_test): Use END macro without arguments.
5971 (clog_test): Use END_COMPLEX macro without arguments.
5972 (clog10_test): Likewise.
5973 (conj_test): Likewise.
5974 (copysign_test): Use END macro without arguments.
5975 (cos_test): Likewise.
5976 (cos_test_tonearest): Likewise.
5977 (cos_test_towardzero): Likewise.
5978 (cos_test_downward): Likewise.
5979 (cos_test_upward): Likewise.
5980 (cosh_test): Likewise.
5981 (cosh_test_tonearest): Likewise.
5982 (cosh_test_towardzero): Likewise.
5983 (cosh_test_downward): Likewise.
5984 (cosh_test_upward): Likewise.
5985 (cpow_test): Use END_COMPLEX macro without arguments.
5986 (cproj_test): Likewise.
5987 (creal_test): Use END macro without arguments.
5988 (csin_test): Use END_COMPLEX macro without arguments.
5989 (csinh_test): Likewise.
5990 (csqrt_test): Likewise.
5991 (ctan_test): Likewise.
5992 (ctan_test_tonearest): Likewise.
5993 (ctan_test_towardzero): Likewise.
5994 (ctan_test_downward): Likewise.
5995 (ctan_test_upward): Likewise.
5996 (ctanh_test): Likewise.
5997 (ctanh_test_tonearest): Likewise.
5998 (ctanh_test_towardzero): Likewise.
5999 (ctanh_test_downward): Likewise.
6000 (ctanh_test_upward): Likewise.
6001 (erf_test): Use END macro without arguments.
6002 (erfc_test): Likewise.
6003 (exp_test): Likewise.
6004 (exp_test_tonearest): Likewise.
6005 (exp_test_towardzero): Likewise.
6006 (exp_test_downward): Likewise.
6007 (exp_test_upward): Likewise.
6008 (exp10_test): Likewise.
6009 (exp2_test): Likewise.
6010 (expm1_test): Likewise.
6011 (fabs_test): Likewise.
6012 (fdim_test): Likewise.
6013 (finite_test): Likewise.
6014 (floor_test): Likewise.
6015 (fma_test): Likewise.
6016 (fma_test_towardzero): Likewise.
6017 (fma_test_downward): Likewise.
6018 (fma_test_upward): Likewise.
6019 (fmax_test): Likewise.
6020 (fmin_test): Likewise.
6021 (fmod_test): Likewise.
6022 (fpclassify_test): Likewise.
6023 (frexp_test): Likewise.
6024 (gamma_test): Likewise.
6025 (hypot_test): Likewise.
6026 (ilogb_test): Likewise.
6027 (isfinite_test): Likewise.
6028 (isgreater_test): Likewise.
6029 (isgreaterequal_test): Likewise.
6030 (isinf_test): Likewise.
6031 (isless_test): Likewise.
6032 (islessequal_test): Likewise.
6033 (islessgreater_test): Likewise.
6034 (isnan_test): Likewise.
6035 (isnormal_test): Likewise.
6036 (issignaling_test): Likewise.
6037 (isunordered_test): Likewise.
6038 (j0_test): Likewise.
6039 (j1_test): Likewise.
6040 (jn_test): Likewise.
6041 (ldexp_test): Likewise.
6042 (lgamma_test): Likewise.
6043 (lrint_test): Likewise.
6044 (lrint_test_tonearest): Likewise.
6045 (lrint_test_towardzero): Likewise.
6046 (lrint_test_downward): Likewise.
6047 (lrint_test_upward): Likewise.
6048 (llrint_test): Likewise.
6049 (llrint_test_tonearest): Likewise.
6050 (llrint_test_towardzero): Likewise.
6051 (llrint_test_downward): Likewise.
6052 (llrint_test_upward): Likewise.
6053 (log_test): Likewise.
6054 (log10_test): Likewise.
6055 (log1p_test): Likewise.
6056 (log2_test): Likewise.
6057 (logb_test): Likewise.
6058 (logb_test_downward): Likewise.
6059 (lround_test): Likewise.
6060 (llround_test): Likewise.
6061 (modf_test): Likewise.
6062 (nearbyint_test): Likewise.
6063 (nextafter_test): Likewise.
6064 (nexttoward_test): Likewise.
6065 (pow_test): Likewise.
6066 (pow_test_tonearest): Likewise.
6067 (pow_test_towardzero): Likewise.
6068 (pow_test_downward): Likewise.
6069 (pow_test_upward): Likewise.
6070 (remainder_test): Likewise.
6071 (remainder_test_tonearest): Likewise.
6072 (remainder_test_towardzero): Likewise.
6073 (remainder_test_downward): Likewise.
6074 (remainder_test_upward): Likewise.
6075 (remquo_test): Likewise.
6076 (rint_test): Likewise.
6077 (rint_test_tonearest): Likewise.
6078 (rint_test_towardzero): Likewise.
6079 (rint_test_downward): Likewise.
6080 (rint_test_upward): Likewise.
6081 (round_test): Likewise.
6082 (scalb_test): Likewise.
6083 (scalbn_test): Likewise.
6084 (scalbln_test): Likewise.
6085 (signbit_test): Likewise.
6086 (sin_test): Likewise.
6087 (sin_test_tonearest): Likewise.
6088 (sin_test_towardzero): Likewise.
6089 (sin_test_downward): Likewise.
6090 (sin_test_upward): Likewise.
6091 (sincos_test): Likewise.
6092 (sinh_test): Likewise.
6093 (sinh_test_tonearest): Likewise.
6094 (sinh_test_towardzero): Likewise.
6095 (sinh_test_downward): Likewise.
6096 (sinh_test_upward): Likewise.
6097 (sqrt_test): Likewise.
6098 (tan_test): Likewise.
6099 (tan_test_tonearest): Likewise.
6100 (tan_test_towardzero): Likewise.
6101 (tan_test_downward): Likewise.
6102 (tan_test_upward): Likewise.
6103 (tanh_test): Likewise.
6104 (tgamma_test): Likewise.
6105 (trunc_test): Likewise.
6106 (y0_test): Likewise.
6107 (y1_test): Likewise.
6108 (yn_test): Likewise.
6109 (significand_test): Likewise.
6111 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
6114 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6116 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6119 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6120 __ppc_mdoio and __ppc_mdoom.
6121 * manual/platform.texi: Document new functions __ppc_yield,
6122 __ppc_mdoio and __ppc_mdoom.
6124 2013-05-22 Carlos O'Donell <carlos@redhat.com>
6126 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6127 (main): Mention "tls" pseudo-hwcap is legacy.
6128 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6130 2013-05-22 Joseph Myers <joseph@codesourcery.com>
6132 * math/gen-libm-test.pl (parse_args): Output only string of
6133 arguments as text for test name, not full call or descriptions of
6134 tests for extra outputs.
6135 (generate_testfile): Do not pass function name to parse_args.
6136 Generate this_func variable from START.
6137 * math/libm-test.inc (struct test_f_f_data): Rename test_name
6139 (struct test_ff_f_data): Likewise.
6140 (test_ff_f_data_nexttoward): Likewise.
6141 (struct test_fi_f_data): Likewise.
6142 (struct test_fl_f_data): Likewise.
6143 (struct test_if_f_data): Likewise.
6144 (struct test_fff_f_data): Likewise.
6145 (struct test_c_f_data): Likewise.
6146 (struct test_f_f1_data): Likewise. Remove field extra_name.
6147 (struct test_fF_f1_data): Likewise.
6148 (struct test_ffI_f1_data): Likewise.
6149 (struct test_c_c_data): Rename test_name field to arg_str.
6150 (struct test_cc_c_data): Likewise.
6151 (struct test_f_i_data): Likewise.
6152 (struct test_ff_i_data): Likewise.
6153 (struct test_f_l_data): Likewise.
6154 (struct test_f_L_data): Likewise.
6155 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
6157 (COMMON_TEST_SETUP): New macro.
6158 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6159 (COMMON_TEST_CLEANUP): Likewise.
6160 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6161 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
6163 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6164 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
6166 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6167 (RUN_TEST_fff_f): Take argument string. Call new setup and
6169 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6170 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
6172 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6173 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
6175 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6176 (RUN_TEST_fF_f1): Take argument string. Call new setup and
6178 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6179 (RUN_TEST_fI_f1): Take argument string. Call new setup and
6181 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6182 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
6184 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6185 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
6187 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6188 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
6190 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6191 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
6193 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6194 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
6196 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6197 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
6199 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6200 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
6202 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6203 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
6205 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6206 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
6208 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6209 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
6211 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6212 (RUN_TEST_fFF_11): Take argument string. Call new setup and
6214 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6216 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6218 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6219 to _sifields.sigfault.
6220 (si_addr_lsb): Define new macro.
6221 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6222 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6223 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6225 2013-05-03 Carlos O'Donell <carlos at redhat.com>
6228 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6230 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6232 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6235 2013-05-22 Joseph Myers <joseph@codesourcery.com>
6237 * math/gen-libm-test.pl (parse_args): Do not include expected
6238 result in test name.
6239 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6240 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6241 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6242 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6243 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6246 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6248 * benchtests/Makefile: Sort function entries.
6250 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6251 tanh, asinh, acosh, atanh.
6252 * benchtests/acos-inputs: New file.
6253 * benchtests/acosh-inputs: New file.
6254 * benchtests/asin-inputs: New file.
6255 * benchtests/asinh-inputs: New file.
6256 * benchtests/atanh-inputs: New file.
6257 * benchtests/cosh-inputs: New file.
6258 * benchtests/log-inputs: New file.
6259 * benchtests/sinh-inputs: New file.
6260 * benchtests/tanh-inputs: New file.
6262 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
6265 * posix/tst-getaddrinfo4.c: New test.
6266 * posix/Makefile (tests): Add it.
6268 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6271 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6272 when no services were used.
6273 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6274 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6276 2013-05-21 Andreas Schwab <schwab@suse.de>
6279 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6280 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6282 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
6283 redundant variable declarations and reallocation of buffer when
6284 parsing as IPv6 address. Always set NSS status when called from
6285 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
6286 buffer too small. Correct computation of needed size.
6287 * nss/Makefile (tests): Add test-digits-dots.
6288 * nss/test-digits-dots.c: New test.
6290 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6292 * benchtests/Makefile: Remove instructions for adding
6294 * benchtests/README: New file to explain how to execute and
6295 enhance the benchmark tests.
6297 2013-05-21 Andreas Schwab <schwab@suse.de>
6300 * setjmp/Makefile (tests): Add tst-sigsetjmp.
6301 * setjmp/tst-sigsetjmp.c: New test.
6303 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
6305 * sysdeps/x86_64/memset.S (memset): New implementation.
6306 (__bzero): Likewise.
6307 (__memset_tail): New function.
6309 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
6311 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6312 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6313 __memcpy_sse2_unaligned ifunc selection.
6314 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6315 Add memcpy-sse2-unaligned.S.
6316 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6317 Add: __memcpy_sse2_unaligned.
6319 2013-05-19 Joseph Myers <joseph@codesourcery.com>
6322 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6323 math_force_eval before restoring floating-point envrionment.
6324 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6325 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6327 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6329 (__nearbyintl): Use math_force_eval before restoring
6330 floating-point environment.
6331 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6333 * math/gen-libm-test.pl (special_functions): Remove.
6334 (parse_args): Don't handle TEST_extra. Handle functions with no
6336 * math/libm-test.inc (struct test_sincos_data): Replace with
6337 struct test_fFF_11_data.
6338 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6339 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6340 (sincos_test_data): Change element type to struct
6341 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
6342 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6343 RUN_TEST_LOOP_sincos.
6344 * math/README.libm-test: Don't mention special handling of
6345 individual functions.
6346 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6347 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6348 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6349 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6350 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6353 * math/gen-libm-test.pl (get_variable): Remove function.
6354 (parse_args): Don't show pointer parameters to call in test
6355 names. Use "extra output N" in test names for extra outputs
6356 rather than naming variables.
6358 2013-05-18 Joseph Myers <joseph@codesourcery.com>
6361 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6362 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6363 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6365 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6367 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6370 * math/gen-libm-test.pl (@tests): Remove variable.
6372 (new_test): Remove function.
6373 (show_exceptions): New function.
6374 (special_functions): Use show_exceptions instead of new_test.
6375 (parse_args): Likewise.
6376 (generate_testfile): Pass only function name in generated call to
6377 print_max_error or print_complex_max_error.
6378 (get_ulps): Do not handle complex tests specially.
6379 (output_test): Rename to ...
6380 (get_all_ulps_for_test): ... this. Return a string rather than
6381 printing to a file. Require ulps to be present.
6382 (output_ulps): Generate arrays rather than #defines.
6383 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6384 (struct ulp_data): New type.
6385 (BUILD_COMPLEX_ULP): Remove macro.
6386 (compare_ulp_data): New function.
6387 (find_ulps): Likewise.
6388 (find_test_ulps): Likewise.
6389 (find_function_ulps): Likewise.
6390 (find_complex_function_ulps): Likewise.
6391 (print_max_error): Determine allowed ulps using
6393 (print_complex_max_error): Determine allowed ulps using
6394 find_complex_function_ulps.
6395 (check_float_internal): Determine max ulps using find_test_ulps.
6396 (check_float): Do not take max_ulp parameter. Update call to
6397 check_float_internal.
6398 (check_complex): Likewise.
6399 (check_int): Do not take max_ulp parameter.
6400 (check_long): Likewise.
6401 (check_bool): Likewise.
6402 (check_longlong): Likewise.
6403 (struct test_f_f_data): Remove max_ulp field.
6404 (struct test_ff_f_data): Likewise.
6405 (struct test_ff_f_data_nexttoward): Likewise.
6406 (struct test_fi_f_data): Likewise.
6407 (struct test_fl_f_data): Likewise.
6408 (struct test_if_f_data): Likewise.
6409 (struct test_fff_f_data): Likewise.
6410 (struct test_c_f_data): Likewise.
6411 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6412 (struct test_fF_f1_data): Likewise.
6413 (struct test_ffI_f1_data): Likewise.
6414 (struct test_c_c_data): Remove max_ulp field.
6415 (struct test_cc_c_data): Likewise.
6416 (struct test_f_i_data): Likewise.
6417 (struct test_ff_i_data): Likewise.
6418 (struct test_f_l_data): Likewise.
6419 (struct test_f_L_data): Likewise.
6420 (struct test_sincos_data): Likewise.
6421 (RUN_TEST_f_f): Do not handle ulps.
6422 (RUN_TEST_LOOP_f_f): Likewise.
6423 (RUN_TEST_2_f): Likewise.
6424 (RUN_TEST_LOOP_2_f): Likewise.
6425 (RUN_TEST_fff_f): Likewise.
6426 (RUN_TEST_LOOP_fff_f): Likewise.
6427 (RUN_TEST_c_f): Likewise.
6428 (RUN_TEST_LOOP_c_f): Likewise.
6429 (RUN_TEST_f_f1): Likewise.
6430 (RUN_TEST_LOOP_f_f1): Likewise.
6431 (RUN_TEST_fF_f1): Likewise.
6432 (RUN_TEST_LOOP_fF_f1): Likewise.
6433 (RUN_TEST_fI_f1): Likewise.
6434 (RUN_TEST_LOOP_fI_f1): Likewise.
6435 (RUN_TEST_ffI_f1): Likewise.
6436 (RUN_TEST_LOOP_ffI_f1): Likewise.
6437 (RUN_TEST_c_c): Likewise.
6438 (RUN_TEST_LOOP_c_c): Likewise.
6439 (RUN_TEST_cc_c): Likewise.
6440 (RUN_TEST_LOOP_cc_c): Likewise.
6441 (RUN_TEST_f_i): Likewise.
6442 (RUN_TEST_LOOP_f_i): Likewise.
6443 (RUN_TEST_f_i_tg): Likewise.
6444 (RUN_TEST_LOOP_f_i_tg): Likewise.
6445 (RUN_TEST_ff_i_tg): Likewise.
6446 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6447 (RUN_TEST_f_b): Likewise.
6448 (RUN_TEST_LOOP_f_b): Likewise.
6449 (RUN_TEST_f_b_tg): Likewise.
6450 (RUN_TEST_LOOP_f_b_tg): Likewise.
6451 (RUN_TEST_f_l): Likewise.
6452 (RUN_TEST_LOOP_f_l): Likewise.
6453 (RUN_TEST_f_L): Likewise.
6454 (RUN_TEST_LOOP_f_L): Likewise.
6455 (RUN_TEST_sincos): Likewise.
6456 (RUN_TEST_LOOP_sincos): Likewise.
6458 2013-05-17 Joseph Myers <joseph@codesourcery.com>
6462 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6463 main case of finite arguments, set rounding mode to FE_TONEAREST
6464 and discard exceptions.
6465 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6467 (remainder_tonearest_test_data): New variable.
6468 (remainder_test_tonearest): New function.
6469 (remainder_towardzero_test_data): New variable.
6470 (remainder_test_towardzero): New function.
6471 (remainder_downward_test_data): New variable.
6472 (remainder_test_downward): New function.
6473 (remainder_upward_test_data): New variable.
6474 (remainder_test_upward): New function.
6475 (main): Call the new test functions.
6477 * math/libm-test.inc (struct test_f_f1_data): Remove field
6479 (struct test_fF_f1_data): Likewise.
6480 (struct test_ffI_f1_data): Likewise.
6481 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6482 based on value of EXTRA_EXPECTED.
6483 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6484 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6485 EXTRA_VAR based on value of EXTRA_EXPECTED.
6486 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6487 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6488 EXTRA_VAR based on value of EXTRA_EXPECTED.
6489 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6490 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6491 EXTRA_VAR based on value of EXTRA_EXPECTED.
6492 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6493 * math/gen-libm-test.pl (parse_args): Don't output initializers
6494 for extra output values.
6496 * math/libm-test.inc (check_int): Expect result to be exactly
6497 equal to expected value and do not handle ulps.
6498 (check_long): Likewise.
6499 (check_longlong): Likewise.
6501 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6503 (cimag_test_data): Likewise.
6504 (conj_test_data): Likewise.
6505 (copysign_test_data): Likewise.
6506 (cproj_test_data): Likewise.
6507 (creal_test_data): Likewise.
6508 (fabs_test_data): Likewise.
6509 (fdim_test_data): Likewise.
6510 (finite_test_data): Likewise.
6511 (floor_test_data): Likewise.
6512 (fmax_test_data): Likewise.
6513 (fmin_test_data): Likewise.
6514 (fmod_test_data): Likewise.
6515 (fpclassify_test_data): Likewise.
6516 (frexp_test_data): Likewise.
6517 (ilogb_test_data): Likewise.
6518 (isfinite_test_data): Likewise.
6519 (isgreater_test_data): Likewise.
6520 (isgreaterequal_test_data): Likewise.
6521 (isinf_test_data): Likewise.
6522 (isless_test_data): Likewise.
6523 (islessequal_test_data): Likewise.
6524 (islessgreater_test_data): Likewise.
6525 (isnan_test_data): Likewise.
6526 (isnormal_test_data): Likewise.
6527 (issignaling_test_data): Likewise.
6528 (isunordered_test_data): Likewise.
6529 (ldexp_test_data): Likewise.
6530 (lrint_test_data): Likewise.
6531 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6532 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6533 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6534 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6535 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6536 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6538 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6539 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6540 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6541 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6543 (lrint_downward_test_data): Test for "inexact" exceptions.
6544 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6545 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6546 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6548 (lrint_upward_test_data): Test for "inexact" exceptions.
6549 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6551 (llrint_test_data): Test for "inexact" exceptions.
6552 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6553 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6554 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6555 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6556 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6557 (llrint_downward_test_data): Test for "inexact" exceptions.
6558 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6559 (llrint_upward_test_data): Test for "inexact" exceptions.
6560 (logb_test_data): Likewise.
6561 (logb_downward_test_data): Likewise.
6562 (nextafter_test_data): Likewise.
6563 (nexttoward_test_data): Likewise.
6564 (remainder_test_data): Likewise.
6565 (remquo_test_data): Likewise.
6566 (scalbn_test_data): Likewise.
6567 (scalbln_test_data): Likewise.
6568 (signbit_test_data): Likewise.
6569 (sqrt_test_data): Likewise.
6570 (significand_test_data): Likewise.
6572 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6575 * benchtests/bench-modf.c (struct args): Mark arg0 as
6577 * scripts/bench.pl: Mark members of struct args as volatile.
6579 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6582 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6583 negative infinity on POWER6 or lower.
6584 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6586 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6589 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6590 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6591 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6592 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6593 (_FP_SETQNAN): New macro.
6594 (_FP_SETQNAN_SEMIRAW): Likewise.
6595 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6596 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6597 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6598 (FP_EXTEND): Use _FP_FRAC_SNANP.
6599 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6600 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6602 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6604 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6607 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6609 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6610 with DIVIDE_BY_ZERO_EXCEPTION.
6611 (gamma_test_data): Likewise.
6612 (lgamma_test_data): Likewise.
6613 (log_test_data): Likewise.
6614 (log10_test_data): Likewise.
6615 (log2_test_data): Likewise.
6616 (tgamma_test_data): Likewise.
6618 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6619 (acos_test_tonearest): Likewise.
6620 (acos_test_towardzero): Likewise.
6621 (acos_test_downward): Likewise.
6622 (acos_test_upward): Likewise.
6623 (acosh_test): Likewise.
6624 (asin_test): Likewise.
6625 (asin_test_tonearest): Likewise.
6626 (asin_test_towardzero): Likewise.
6627 (asin_test_downward): Likewise.
6628 (asin_test_upward): Likewise.
6629 (asinh_test): Likewise.
6630 (atan_test): Likewise.
6631 (atanh_test): Likewise.
6632 (atan2_test): Likewise.
6633 (cabs_test): Likewise.
6634 (cacos_test): Likewise.
6635 (cacosh_test): Likewise.
6636 (casin_test): Likewise.
6637 (casinh_test): Likewise.
6638 (catan_test): Likewise.
6639 (catanh_test): Likewise.
6640 (cbrt_test): Likewise.
6641 (ccos_test): Likewise.
6642 (ccosh_test): Likewise.
6643 (cexp_test): Likewise.
6644 (clog_test): Likewise.
6645 (clog10_test): Likewise.
6646 (cos_test): Likewise.
6647 (cos_test_tonearest): Likewise.
6648 (cos_test_towardzero): Likewise.
6649 (cos_test_downward): Likewise.
6650 (cos_test_upward): Likewise.
6651 (cosh_test): Likewise.
6652 (cosh_test_tonearest): Likewise.
6653 (cosh_test_towardzero): Likewise.
6654 (cosh_test_downward): Likewise.
6655 (cosh_test_upward): Likewise.
6656 (cpow_test): Likewise.
6657 (csin_test): Likewise.
6658 (csinh_test): Likewise.
6659 (csqrt_test): Likewise.
6660 (ctan_test): Likewise.
6661 (ctan_test_tonearest): Likewise.
6662 (ctan_test_towardzero): Likewise.
6663 (ctan_test_downward): Likewise.
6664 (ctan_test_upward): Likewise.
6665 (ctanh_test): Likewise.
6666 (ctanh_test_tonearest): Likewise.
6667 (ctanh_test_towardzero): Likewise.
6668 (ctanh_test_downward): Likewise.
6669 (ctanh_test_upward): Likewise.
6670 (erf_test): Likewise.
6671 (erfc_test): Likewise.
6672 (exp_test): Likewise.
6673 (exp_test_tonearest): Likewise.
6674 (exp_test_towardzero): Likewise.
6675 (exp_test_downward): Likewise.
6676 (exp_test_upward): Likewise.
6677 (exp10_test): Likewise.
6678 (exp2_test): Likewise.
6679 (expm1_test): Likewise.
6680 (fmod_test): Likewise.
6681 (gamma_test): Likewise.
6682 (hypot_test): Likewise.
6683 (j0_test): Likewise.
6684 (j1_test): Likewise.
6685 (jn_test): Likewise.
6686 (lgamma_test): Likewise.
6687 (log_test): Likewise.
6688 (log10_test): Likewise.
6689 (log1p_test): Likewise.
6690 (log2_test): Likewise.
6691 (logb_test_downward): Likewise.
6692 (pow_test): Likewise.
6693 (pow_test_tonearest): Likewise.
6694 (pow_test_towardzero): Likewise.
6695 (pow_test_downward): Likewise.
6696 (pow_test_upward): Likewise.
6697 (remainder_test): Likewise.
6698 (remquo_test): Likewise.
6699 (sin_test): Likewise.
6700 (sin_test_tonearest): Likewise.
6701 (sin_test_towardzero): Likewise.
6702 (sin_test_downward): Likewise.
6703 (sin_test_upward): Likewise.
6704 (sincos_test): Likewise.
6705 (sinh_test): Likewise.
6706 (sinh_test_tonearest): Likewise.
6707 (sinh_test_towardzero): Likewise.
6708 (sinh_test_downward): Likewise.
6709 (sinh_test_upward): Likewise.
6710 (sqrt_test): Likewise.
6711 (tan_test): Likewise.
6712 (tan_test_tonearest): Likewise.
6713 (tan_test_towardzero): Likewise.
6714 (tan_test_downward): Likewise.
6715 (tan_test_upward): Likewise.
6716 (tanh_test): Likewise.
6717 (tgamma_test): Likewise.
6718 (y0_test): Likewise.
6719 (y1_test): Likewise.
6720 (yn_test): Likewise.
6722 * math/gen-libm-test.pl (adjust_arg): Remove function.
6723 (special_function): Remove argument $in_func. Only handle
6724 generating output for tables of tests, not inside functions.
6725 (parse_args): Likewise.
6726 (generate_testfile): Remove variable $in_func. Update call to
6728 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6729 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6730 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6731 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6732 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6733 (MAX_VALUE_INIT): Rename macro to max_value.
6734 (MIN_VALUE_INIT): Rename macro to min_value.
6735 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6736 (plus_zero): Remove variable.
6737 (minus_zero): Likewise.
6738 (plus_infty): Likewise.
6739 (minus_infty): Likewise.
6740 (qnan_value): Likewise.
6741 (max_value): Likewise.
6742 (min_value): Likewise.
6743 (min_subnorm_value): Likewise.
6745 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6747 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6748 uint64_t or uint32_t usage.
6749 * crypt/sha256-block.c: Likewise.
6750 * crypt/sha256-crypt.c: Likewise.
6751 * crypt/sha256.c: Likewise.
6752 * crypt/sha512-block.c: Likewise.
6753 * crypt/sha512-crypt.c: Likewise.
6754 * crypt/sha512.c: Likewise.
6755 * debug/backtrace-tst.c: Likewise.
6756 * debug/pcprofiledump.c: Likewise.
6757 * elf/cache.c: Likewise.
6758 * elf/dl-cache.c: Likewise.
6759 * elf/dl-misc.c: Likewise.
6760 * elf/dl-profile.c: Likewise.
6761 * elf/dl-support.c: Likewise.
6762 * elf/ldconfig.c: Likewise.
6763 * elf/sprof.c: Likewise.
6764 * iconv/dummy-repertoire.c: Likewise.
6765 * iconv/iconv_charmap.c: Likewise.
6766 * iconv/skeleton.c: Likewise.
6767 * iconvdata/8bit-generic.c: Likewise.
6768 * iconvdata/cp737.h: Likewise.
6769 * iconvdata/cp775.h: Likewise.
6770 * iconvdata/ibm1008.h: Likewise.
6771 * iconvdata/ibm1025.h: Likewise.
6772 * iconvdata/ibm1046.h: Likewise.
6773 * iconvdata/ibm1097.h: Likewise.
6774 * iconvdata/ibm1112.h: Likewise.
6775 * iconvdata/ibm1122.h: Likewise.
6776 * iconvdata/ibm1123.h: Likewise.
6777 * iconvdata/ibm1124.h: Likewise.
6778 * iconvdata/ibm1129.h: Likewise.
6779 * iconvdata/ibm1130.h: Likewise.
6780 * iconvdata/ibm1132.h: Likewise.
6781 * iconvdata/ibm1133.h: Likewise.
6782 * iconvdata/ibm1137.h: Likewise.
6783 * iconvdata/ibm1140.h: Likewise.
6784 * iconvdata/ibm1141.h: Likewise.
6785 * iconvdata/ibm1142.h: Likewise.
6786 * iconvdata/ibm1143.h: Likewise.
6787 * iconvdata/ibm1144.h: Likewise.
6788 * iconvdata/ibm1145.h: Likewise.
6789 * iconvdata/ibm1146.h: Likewise.
6790 * iconvdata/ibm1147.h: Likewise.
6791 * iconvdata/ibm1148.h: Likewise.
6792 * iconvdata/ibm1149.h: Likewise.
6793 * iconvdata/ibm1153.h: Likewise.
6794 * iconvdata/ibm1154.h: Likewise.
6795 * iconvdata/ibm1155.h: Likewise.
6796 * iconvdata/ibm1156.h: Likewise.
6797 * iconvdata/ibm1157.h: Likewise.
6798 * iconvdata/ibm1158.h: Likewise.
6799 * iconvdata/ibm1160.h: Likewise.
6800 * iconvdata/ibm1161.h: Likewise.
6801 * iconvdata/ibm1162.h: Likewise.
6802 * iconvdata/ibm1163.h: Likewise.
6803 * iconvdata/ibm1164.h: Likewise.
6804 * iconvdata/ibm1166.h: Likewise.
6805 * iconvdata/ibm1167.h: Likewise.
6806 * iconvdata/ibm12712.h: Likewise.
6807 * iconvdata/ibm1390.h: Likewise.
6808 * iconvdata/ibm1399.h: Likewise.
6809 * iconvdata/ibm16804.h: Likewise.
6810 * iconvdata/ibm4517.h: Likewise.
6811 * iconvdata/ibm4899.h: Likewise.
6812 * iconvdata/ibm4909.h: Likewise.
6813 * iconvdata/ibm4971.h: Likewise.
6814 * iconvdata/ibm5347.h: Likewise.
6815 * iconvdata/ibm803.h: Likewise.
6816 * iconvdata/ibm856.h: Likewise.
6817 * iconvdata/ibm901.h: Likewise.
6818 * iconvdata/ibm902.h: Likewise.
6819 * iconvdata/ibm9030.h: Likewise.
6820 * iconvdata/ibm9066.h: Likewise.
6821 * iconvdata/ibm921.h: Likewise.
6822 * iconvdata/ibm922.h: Likewise.
6823 * iconvdata/ibm9448.h: Likewise.
6824 * iconvdata/isiri-3342.h: Likewise.
6825 * iconvdata/jis0201.h: Likewise.
6826 * include/link.h: Likewise.
6827 * include/netdb.h: Likewise.
6828 * inet/check_native.c: Likewise.
6829 * inet/check_pf.c: Likewise.
6830 * inet/getipv4sourcefilter.c: Likewise.
6831 * inet/getnameinfo.c: Likewise.
6832 * inet/getsourcefilter.c: Likewise.
6833 * inet/htonl.c: Likewise.
6834 * inet/setipv4sourcefilter.c: Likewise.
6835 * inet/setsourcefilter.c: Likewise.
6836 * inet/test-inet6_opt.c: Likewise.
6837 * inet/tst-network.c: Likewise.
6838 * locale/C-collate.c: Likewise.
6839 * locale/C-ctype.c: Likewise.
6840 * locale/C-time.c: Likewise.
6841 * locale/C-translit.h: Likewise.
6842 * locale/loadarchive.c: Likewise.
6843 * locale/programs/3level.h: Likewise.
6844 * locale/programs/charmap.c: Likewise.
6845 * locale/programs/charmap.h: Likewise.
6846 * locale/programs/ld-address.c: Likewise.
6847 * locale/programs/ld-collate.c: Likewise.
6848 * locale/programs/ld-ctype.c: Likewise.
6849 * locale/programs/ld-identification.c: Likewise.
6850 * locale/programs/ld-measurement.c: Likewise.
6851 * locale/programs/ld-messages.c: Likewise.
6852 * locale/programs/ld-monetary.c: Likewise.
6853 * locale/programs/ld-name.c: Likewise.
6854 * locale/programs/ld-numeric.c: Likewise.
6855 * locale/programs/ld-paper.c: Likewise.
6856 * locale/programs/ld-telephone.c: Likewise.
6857 * locale/programs/ld-time.c: Likewise.
6858 * locale/programs/linereader.c: Likewise.
6859 * locale/programs/locale.c: Likewise.
6860 * locale/programs/locarchive.c: Likewise.
6861 * locale/programs/locfile.h: Likewise.
6862 * locale/programs/repertoire.c: Likewise.
6863 * locale/programs/simple-hash.c: Likewise.
6864 * locale/programs/simple-hash.h: Likewise.
6865 * malloc/memusage.c: Likewise.
6866 * malloc/memusagestat.c: Likewise.
6867 * nis/nis_defaults.c: Likewise.
6868 * nis/nis_hash.c: Likewise.
6869 * nis/nis_print.c: Likewise.
6870 * nis/nis_xdr.c: Likewise.
6871 * nscd/connections.c: Likewise.
6872 * nscd/hstcache.c: Likewise.
6873 * nscd/nscd_gethst_r.c: Likewise.
6874 * nscd/nscd_getserv_r.c: Likewise.
6875 * nscd/nscd_helper.c: Likewise.
6876 * nscd/servicescache.c: Likewise.
6877 * nss/makedb.c: Likewise.
6878 * nss/nss_db/db-XXX.c: Likewise.
6879 * nss/nss_db/db-initgroups.c: Likewise.
6880 * nss/nss_db/db-netgrp.c: Likewise.
6881 * nss/nss_files/files-network.c: Likewise.
6882 * nss/nss_files/files-parse.c: Likewise.
6883 * posix/bug-regex5.c: Likewise.
6884 * posix/fnmatch_loop.c: Likewise.
6885 * posix/regcomp.c: Likewise.
6886 * posix/regexec.c: Likewise.
6887 * posix/tst-rfc3484-2.c: Likewise.
6888 * posix/tst-rfc3484-3.c: Likewise.
6889 * posix/tst-rfc3484.c: Likewise.
6890 * resolv/nss_dns/dns-canon.c: Likewise.
6891 * resolv/nss_dns/dns-network.c: Likewise.
6892 * resolv/res_init.c: Likewise.
6893 * resolv/res_mkquery.c: Likewise.
6894 * resolv/tst-aton.c: Likewise.
6895 * stdlib/cxa_atexit.c: Likewise.
6896 * stdlib/cxa_finalize.c: Likewise.
6897 * stdlib/gen-fpioconst.c: Likewise.
6898 * stdlib/strtol_l.c: Likewise.
6899 * string/tst-endian.c: Likewise.
6900 * sunrpc/auth_des.c: Likewise.
6901 * sunrpc/clnt_udp.c: Likewise.
6902 * sunrpc/rtime.c: Likewise.
6903 * sunrpc/svcauth_des.c: Likewise.
6904 * sunrpc/xdr.c: Likewise.
6905 * sunrpc/xdr_intXX_t.c: Likewise.
6906 * sunrpc/xdr_rec.c: Likewise.
6907 * sysdeps/generic/ldconfig.h: Likewise.
6908 * sysdeps/generic/ldsodefs.h: Likewise.
6909 * sysdeps/generic/memusage.h: Likewise.
6910 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6911 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6912 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6913 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6914 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6915 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6916 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6917 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6918 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6919 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6920 * sysdeps/posix/getaddrinfo.c: Likewise.
6921 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6922 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6923 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6924 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6925 * sysdeps/powerpc/test-gettimebase.c: Likewise.
6926 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6927 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6928 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6929 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6930 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6931 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6932 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6933 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6934 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6935 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6936 * sysdeps/x86_64/dl-tls.h: Likewise.
6937 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6938 * time/alt_digit.c: Likewise.
6939 * time/era.c: Likewise.
6940 * wcsmbs/tst-c16c32-1.c: Likewise.
6942 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6944 * math/libm-test.inc (struct test_sincos_data): New type.
6945 (RUN_TEST_LOOP_sincos): New macro.
6946 (sincos_test_data): New variable.
6947 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6949 2013-05-16 Richard Henderson <rth@redhat.com>
6951 * math/atest-exp2.c (LIMB64): New macro.
6952 (CONSTSZ): New macro.
6953 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6955 (print_mpn_fp): ... to function scope.
6956 (read_mpn_hex): Remove.
6958 (exp2_mpn): Use mp_log2.
6959 (main): Use mp_exp1.
6961 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6963 * math/libm-test.inc: Remove comment about not testing "inexact"
6965 (INEXACT_EXCEPTION): New macro.
6966 (NO_INEXACT_EXCEPTION): Likewise.
6967 (INVALID_EXCEPTION_OK): Update value.
6968 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6969 (OVERFLOW_EXCEPTION_OK): Likewise.
6970 (UNDERFLOW_EXCEPTION_OK): Likewise.
6971 (IGNORE_ZERO_INF_SIGN): Likewise.
6972 (ERRNO_UNCHANGED): Likewise.
6973 (ERRNO_EDOM): Likewise.
6974 (ERRNO_ERANGE): Likewise.
6975 (test_exceptions): Handle testing "inexact" exceptions.
6976 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
6977 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
6978 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
6979 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
6981 (rint_towardzero_test_data): Likewise.
6982 (rint_downward_test_data): Likewise.
6983 (rint_upward_test_data): Likewise.
6985 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
6986 with OVERFLOW_EXCEPTION.
6987 (exp10_test_data): Likewise.
6988 (exp2_test_data): Likewise.
6989 (expm1_test_data): Likewise.
6990 (lgamma_test_data): Likewise.
6991 (pow_test_data): Likewise.
6992 (tgamma_test_data): Likewise.
6993 (yn_test_data): Remove duplicate test of overflow.
6995 * math/libm-test.inc (struct test_cc_c_data): New type.
6996 (RUN_TEST_LOOP_cc_c): New macro.
6997 (cpow_test_data): New variable.
6998 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7000 * math/libm-test.inc (struct test_f_L_data): New type.
7001 (RUN_TEST_LOOP_f_L): New macro.
7002 (llrint_test_data): New variable.
7003 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7004 (llrint_tonearest_test_data): New variable.
7005 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7006 (llrint_towardzero_test_data): New variable.
7007 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7008 (llrint_downward_test_data): New variable.
7009 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7010 (llrint_upward_test_data): New variable.
7011 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7012 (llround_test_data): New variable.
7013 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7015 2013-05-13 Peter Collingbourne <pcc@google.com>
7017 * math/atest-exp2.c (get_log2): Remove const attribute.
7019 2013-05-15 Joseph Myers <joseph@codesourcery.com>
7021 * math/libm-test.inc (struct test_f_l_data): New type.
7022 (RUN_TEST_LOOP_f_l): New macro.
7023 (lrint_test_data): New variable.
7024 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7025 (lrint_tonearest_test_data): New variable.
7026 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7027 (lrint_towardzero_test_data): New variable.
7028 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7029 (lrint_downward_test_data): New variable.
7030 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7031 (lrint_upward_test_data): New variable.
7032 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7033 (lround_test_data): New variable.
7034 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7036 2013-05-15 Peter Collingbourne <pcc@google.com>
7038 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7039 (EXTRACT_WORDS64) Use where appropriate.
7040 (INSERT_WORDS64) Likewise.
7042 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7043 constraints with x constraints.
7044 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7046 * malloc/obstack.c (_obstack_compat): Add initializer.
7048 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
7050 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7051 si_trapno and add si_addr_lsb to _sifields.sigfault.
7052 (si_trapno): Remove macro.
7053 (si_addr_lsb): Define new macro.
7054 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7056 2013-05-15 Joseph Myers <joseph@codesourcery.com>
7058 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7059 instead of TEST_f_l.
7060 (llrint_test_tonearest): Likewise.
7061 (llrint_test_towardzero): Likewise.
7062 (llrint_test_downward): Likewise.
7063 (llrint_test_upward): Likewise.
7064 (llround_test): Likewise.
7066 * math/libm-test.inc (struct test_f_i_data): Add comment.
7067 (RUN_TEST_LOOP_f_b): New macro.
7068 (RUN_TEST_LOOP_f_b_tg): Likewise.
7069 (finite_test_data): New variable.
7070 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7071 (isfinite_test_data): New variable.
7072 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7073 (isinf_test_data): New variable.
7074 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7075 (isnan_test_data): New variable.
7076 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7077 (isnormal_test_data): New variable.
7078 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7079 (issignaling_test_data): New variable.
7080 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7081 (signbit_test_data): New variable.
7082 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7084 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7085 with INVALID_EXCEPTION.
7086 (acosh_test_data): Likewise.
7087 (asin_test_data): Likewise.
7088 (atanh_test_data): Likewise.
7089 (fmod_test_data): Likewise.
7090 (log_test_data): Likewise.
7091 (log10_test_data): Likewise.
7092 (log2_test_data): Likewise.
7093 (pow_test_data): Likewise.
7094 (sqrt_test_data): Likewise.
7095 (y0_test_data): Likewise.
7096 (y1_test_data): Likewise.
7097 (yn_test_data): Likewise.
7099 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7102 * math/libm-test.inc (struct test_ff_i_data): New type.
7103 (RUN_TEST_LOOP_ff_i_tg): New macro.
7104 (isgreater_test_data): New variable.
7105 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7106 (isgreaterequal_test_data): New variable.
7107 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7108 (isless_test_data): New variable.
7109 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7110 (islessequal_test_data): New variable.
7111 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7112 (islessgreater_test_data): New variable.
7113 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7114 (isunordered_test_data): New variable.
7115 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7117 2013-05-14 David S. Miller <davem@davemloft.net>
7119 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7121 2013-05-14 Joseph Myers <joseph@codesourcery.com>
7123 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7125 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7127 (struct test_f_i_data): Change type of max_ulp to int.
7129 * math/libm-test.inc (test_ffI_f1_data): New type.
7130 (RUN_TEST_LOOP_ffI_f1): New macro.
7131 (remquo_test_data): New variable.
7132 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7134 * setjmp/tst-setjmp-fp.c: New file.
7135 * setjmp/Makefile (tests): Add tst-setjmp-fp.
7136 (link-libm): New variable.
7137 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7139 * math/libm-test.inc (struct test_f_i_data): New type.
7140 (RUN_TEST_LOOP_f_i): New macro.
7141 (RUN_TEST_LOOP_f_i_tg): Likewise.
7142 (fpclassify_test_data): New variable.
7143 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7144 (ilogb_test_data): New variable.
7145 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7147 * math/libm-test.inc (scalbln_test): Correct function name in END
7150 * math/libm-test.inc (struct test_f_f1_data): Add comment.
7151 (RUN_TEST_LOOP_fI_f1): New macro.
7152 (frexp_test_data): New variable.
7153 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7155 * math/libm-test.inc (struct test_fF_f1_data): New type.
7156 (RUN_TEST_LOOP_fF_f1): New macro.
7157 (modf_test_data): New variable.
7158 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7160 * math/libm-test.inc (struct test_f_f1_data): New type.
7161 (RUN_TEST_LOOP_f_f1): New macro.
7162 (gamma_test_data): New variable.
7163 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7164 (lgamma_test_data): New variable.
7165 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7167 2013-05-13 Carlos O'Donell <carlos@redhat.com>
7169 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7170 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7171 (main): Comment "tls" pseudo-hwcap.
7173 2013-05-13 Joseph Myers <joseph@codesourcery.com>
7175 * math/libm-test.inc (struct test_fl_f_data): New type.
7176 (RUN_TEST_LOOP_fl_f): New variable.
7177 (scalbln_test_data): New variable.
7178 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7180 * math/libm-test.inc (struct test_fi_f_data): New type.
7181 (RUN_TEST_LOOP_fi_f): New macro.
7182 (ldexp_test_data): New variable.
7183 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7184 (scalbn_test_data): New variable.
7185 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7187 * math/libm-test.inc (struct test_c_f_data): New type.
7188 (RUN_TEST_LOOP_c_f): New macro.
7189 (cabs_test_data): New variable.
7190 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7191 (carg_test_data): New variable.
7192 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7193 (cimag_test_data): New variable.
7194 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7195 (creal_test_data): New variable.
7196 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7198 * math/libm-test.inc (struct test_if_f_data): New type.
7199 (RUN_TEST_LOOP_if_f): New macro.
7200 (jn_test_data): New variable.
7201 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7202 (yn_test_data): New variable.
7203 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7205 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7207 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7209 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7210 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7212 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7214 * benchtests/Makefile (CPPFLAGS-nonlib): Add
7215 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7216 (bench-deps): Add bench-timing.h.
7217 * benchtests-bench-skeleton.c: Include bench-timing.h.
7218 (main): Use TIMING_* macros instead of clock_gettime.
7219 * benchtests/bench-timing.h: New file.
7222 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7223 Renamed from _LIB_VERSION.
7224 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7226 2013-05-12 Joseph Myers <joseph@codesourcery.com>
7228 * math/libm-test.inc (struct test_fff_f_data): New type.
7229 (RUN_TEST_LOOP_fff_f): New macro.
7230 (fma_test_data): New variable.
7231 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7232 (fma_towardzero_test_data): New variable.
7233 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7234 (fma_downward_test_data): New variable.
7235 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7236 (fma_upward_test_data): New variable.
7237 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7239 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7240 (struct test_c_c_data): New type.
7241 (RUN_TEST_LOOP_c_c): New macro.
7242 (cacos_test_data): New variable.
7243 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7244 (cacosh_test_data): New variable.
7245 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7246 (casin_test_data): New variable.
7247 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7248 (casinh_test_data): New variable.
7249 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7250 (catan_test_data): New variable.
7251 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7252 (catanh_test_data): New variable.
7253 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7254 (ccos_test_data): New variable.
7255 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7256 (ccosh_test_data): New variable.
7257 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7258 (cexp_test_data): New variable.
7259 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7260 (clog_test_data): New variable.
7261 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7262 (clog10_test_data): New variable.
7263 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7264 (conj_test_data): New variable.
7265 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7266 (cproj_test_data): New variable.
7267 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7268 (csin_test_data): New variable.
7269 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7270 (csinh_test_data): New variable.
7271 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7272 (csqrt_test_data): New variable.
7273 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7274 (ctan_test_data): New variable.
7275 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7276 (ctan_tonearest_test_data): New variable.
7277 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7278 (ctan_towardzero_test_data): New variable.
7279 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7280 (ctan_downward_test_data): New variable.
7281 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7282 (ctan_upward_test_data): New variable.
7283 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7284 (ctanh_test_data): New variable.
7285 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
7286 (ctanh_tonearest_test_data): New variable.
7287 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7288 (ctanh_towardzero_test_data): New variable.
7289 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7290 (ctanh_downward_test_data): New variable.
7291 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7292 (ctanh_upward_test_data): New variable.
7293 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7294 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
7297 * math/libm-test.inc (struct test_ff_f_data): New type.
7298 (struct test_ff_f_data_nexttoward): Likewise.
7299 (RUN_TEST_LOOP_2_f): New macro.
7300 (RUN_TEST_LOOP_ff_f): Likewise.
7301 (atan2_test_data): New variable.
7302 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
7303 (copysign_test_data): New variable.
7304 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
7305 (fdim_test_data): New variable.
7306 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
7307 (fmax_test_data): New variable.
7308 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7309 (fmin_test_data): New variable.
7310 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7311 (fmod_test_data): New variable.
7312 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7313 (hypot_test_data): New variable.
7314 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7315 (nextafter_test_data): New variable.
7316 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7317 (nexttoward_test_data): New variable.
7318 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7319 (pow_test_data): New variable.
7320 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7321 (pow_tonearest_test_data): New variable.
7322 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7323 (pow_towardzero_test_data): New variable.
7324 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7325 (pow_downward_test_data): New variable.
7326 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7327 (pow_upward_test_data): New variable.
7328 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7329 (remainder_test_data): New variable.
7330 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7331 (scalb_test_data): New variable.
7332 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7333 * sysdeps/i386/fpu/libm-test-ulps: Update.
7335 2013-05-11 Joseph Myers <joseph@codesourcery.com>
7337 * math/libm-test.inc (fma_test): Use max_value instead of local
7339 (nextafter_test): Likewise.
7341 * math/libm-test.inc (acos_towardzero_test_data): New variable.
7342 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7343 (acos_downward_test_data): New variable.
7344 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7345 (acos_upward_test_data): New variable.
7346 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7347 (acosh_test_data): New variable.
7348 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7349 (asin_test_data): New variable.
7350 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7351 (asin_tonearest_test_data): New variable.
7352 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7353 (asin_towardzero_test_data): New variable.
7354 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7355 (asin_downward_test_data): New variable.
7356 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7357 (asin_upward_test_data): New variable.
7358 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7359 (asinh_test_data): New variable.
7360 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7361 (atan_test_data): New variable.
7362 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7363 (atanh_test_data): New variable.
7364 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7365 (cbrt_test_data): New variable.
7366 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7367 (ceil_test_data): New variable.
7368 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7369 (cos_test_data): New variable.
7370 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7371 (cos_tonearest_test_data): New variable.
7372 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7373 (cos_towardzero_test_data): New variable.
7374 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7375 (cos_downward_test_data): New variable.
7376 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7377 (cos_upward_test_data): New variable.
7378 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7379 (cosh_test_data): New variable.
7380 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7381 (cosh_tonearest_test_data): New variable.
7382 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7383 (cosh_towardzero_test_data): New variable.
7384 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7385 (cosh_downward_test_data): New variable.
7386 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7387 (cosh_upward_test_data): New variable.
7388 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7389 (erf_test_data): New variable.
7390 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7391 (erfc_test_data): New variable.
7392 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7393 (exp_test_data): New variable.
7394 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7395 (exp_tonearest_test_data): New variable.
7396 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7397 (exp_towardzero_test_data): New variable.
7398 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7399 (exp_downward_test_data): New variable.
7400 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7401 (exp_upward_test_data): New variable.
7402 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7403 (exp10_test_data): New variable.
7404 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7405 (exp2_test_data): New variable.
7406 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7407 (expm1_test_data): New variable.
7408 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7409 (fabs_test_data): New variable.
7410 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7411 (floor_test_data): New variable.
7412 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7413 (j0_test_data): New variable.
7414 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7415 (j1_test_data): New variable.
7416 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7417 (log_test_data): New variable.
7418 (log_test): Run tests with RUN_TEST_LOOP_f_f.
7419 (log10_test_data): New variable.
7420 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7421 (log1p_test_data): New variable.
7422 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7423 (log2_test_data): New variable.
7424 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7425 (logb_test_data): New variable.
7426 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7427 (logb_downward_test_data): New variable.
7428 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7429 (nearbyint_test_data): New variable.
7430 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7431 (rint_test_data): New variable.
7432 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7433 (rint_tonearest_test_data): New variable.
7434 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7435 (rint_towardzero_test_data): New variable.
7436 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7437 (rint_downward_test_data): New variable.
7438 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7439 (rint_upward_test_data): New variable.
7440 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7441 (round_test_data): New variable.
7442 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7443 (sin_test_data): New variable.
7444 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7445 (sin_tonearest_test_data): New variable.
7446 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7447 (sin_towardzero_test_data): New variable.
7448 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7449 (sin_downward_test_data): New variable.
7450 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7451 (sin_upward_test_data): New variable.
7452 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7453 (sinh_test_data): New variable.
7454 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7455 (sinh_tonearest_test_data): New variable.
7456 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7457 (sinh_towardzero_test_data): New variable.
7458 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7459 (sinh_downward_test_data): New variable.
7460 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7461 (sinh_upward_test_data): New variable.
7462 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7463 (sqrt_test_data): New variable.
7464 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7465 (tan_test_data): New variable.
7466 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7467 (tan_tonearest_test_data): New variable.
7468 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7469 (tan_towardzero_test_data): New variable.
7470 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7471 (tan_downward_test_data): New variable.
7472 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7473 (tan_upward_test_data): New variable.
7474 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7475 (tanh_test_data): New variable.
7476 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7477 (tgamma_test_data): New variable.
7478 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7479 (trunc_test_data): New variable.
7480 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7481 (y0_test_data): New variable.
7482 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7483 (y1_test_data): New variable.
7484 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7485 (significand_test_data): New variable.
7486 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7488 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7491 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7493 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7495 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7497 2013-05-10 Andreas Jaeger <aj@suse.de>
7500 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7501 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7503 2013-05-10 Joseph Myers <joseph@codesourcery.com>
7505 * math/gen-libm-test.pl (adjust_arg): New function.
7506 (special_functions): Handle generating output in both functions
7508 (parse_args): Likewise.
7509 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7510 $in_func argument to parse_args.
7511 * math/libm-test.inc (struct test_f_f_data): New type.
7512 (IF_ROUND_INIT_): New macro.
7513 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7514 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7515 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7516 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7517 (ROUND_RESTORE_): Likewise.
7518 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7519 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7520 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7521 (ROUND_RESTORE_FE_UPWARD): Likewise.
7522 (RUN_TEST_LOOP_f_f): New macro.
7523 (acos_test_data): New variable.
7524 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7525 (acos_tonearest_test_data): New variable.
7526 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7528 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7530 * benchtests/bench-skeleton.c (startup): Fix coding style.
7532 2013-05-10 Joseph Myers <joseph@codesourcery.com>
7535 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7536 negative infinity argument.
7537 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7538 negative infinity argument.
7539 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7540 negative infinity argument.
7541 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7544 2013-05-10 Florian Weimer <fweimer@redhat.com>
7546 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7547 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7548 * iconv/iconv_prog.c (main): Likewise.
7549 * locale/programs/charmap-dir.c (charmap_readdir)
7550 (fopen_uncompressed): Likewise.
7551 * locale/programs/locfile.c (siblings_uncached)
7552 (write_locale_data): Use lstat64 instead of lstat.
7553 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7556 2013-05-10 Andreas Jaeger <aj@suse.de>
7559 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7563 2013-05-09 Carlos O'Donell <carlos@redhat.com>
7565 * elf/dl-close.c (_dl_close_worker): Add comments.
7567 2013-05-09 Joseph Myers <joseph@codesourcery.com>
7570 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7572 (__ieee754_rem_pio2l): Update comments.
7575 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7577 (__ieee754_rem_pio2l): Update comments.
7579 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7580 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7582 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7585 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7586 (M_PI_34_LOG10El): Likewise.
7587 (M_PI2_LOG10El): Likewise.
7588 (M_PI4_LOG10El): Likewise.
7589 (M_PI_LOG10El): Likewise.
7591 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7595 2013-05-08 Joseph Myers <joseph@codesourcery.com>
7597 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7598 (MINUS_ZERO_INIT): Likewise.
7599 (PLUS_INFTY_INIT): Likewise.
7600 (MINUS_INFTY_INIT): Likewise.
7601 (QNAN_VALUE_INIT): Likewise.
7602 (MAX_VALUE_INIT): Likewise.
7603 (MIN_VALUE_INIT): Likewise.
7604 (MIN_SUBNORM_VALUE_INIT): Likewise.
7605 (plus_zero): Initialize with PLUS_ZERO_INIT.
7606 (minus_zero): Initialize with MINUS_ZERO_INIT.
7607 (plus_infty): Initialize with PLUS_INFTY_INIT.
7608 (minus_infty): Initialize with MINUS_INFTY_INIT.
7609 (qnan_value): Initialize with QNAN_VALUE_INIT.
7610 (max_value): Initialize with MAX_VALUE_INIT.
7611 (min_value): Initialize with MIN_VALUE_INIT.
7612 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7614 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7615 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7616 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7617 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7619 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7620 (RUN_TEST_2_f): Likewise.
7621 (RUN_TEST_ff_f): Likewise.
7622 (RUN_TEST_fi_f): Likewise.
7623 (RUN_TEST_fl_f): Likewise.
7624 (RUN_TEST_fff_f): Likewise.
7625 (RUN_TEST_c_f): Likewise.
7626 (RUN_TEST_f_f1): Likewise.
7627 (RUN_TEST_fF_f1): Likewise.
7628 (RUN_TEST_fI_f1): Likewise.
7629 (RUN_TEST_ffI_f1): Likewise.
7630 (RUN_TEST_c_c): Likewise.
7631 (RUN_TEST_cc_c): Likewise.
7632 (RUN_TEST_f_i): Likewise.
7633 (RUN_TEST_f_i_tg): Likewise.
7634 (RUN_TEST_ff_i_tg): Likewise.
7635 (RUN_TEST_f_b): Likewise.
7636 (RUN_TEST_f_b_tg): Likewise.
7637 (RUN_TEST_f_l): Likewise.
7638 (RUN_TEST_f_L): Likewise.
7639 (RUN_TEST_sincos): Likewise.
7640 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7641 whether to show exceptions. Do not include ");\n" in return
7643 (special_functions): Output call to RUN_TEST_sincos instead of
7644 check_float calls. Update calls to new_test.
7645 (parse_args): Output call to single RUN_TEST_* macro instead of
7646 check_* calls and other assignments. Update calls to new_test.
7652 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7653 input to result for tgamma overflow.
7654 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7655 (gamma_coeff): New variable.
7656 (NCOEFF): New macro.
7657 (gamma_positive): New function.
7658 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7659 underflow here. Use gamma_positive instead of exp (lgamma) for
7661 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7662 (gamma_coeff): New variable.
7663 (NCOEFF): New macro.
7664 (gammaf_positive): New function.
7665 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7666 underflow here. Use gamma_positive instead of exp (lgamma) for
7668 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7669 (gamma_coeff): New variable.
7670 (NCOEFF): New macro.
7671 (gammal_positive): New function.
7672 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7673 underflow here. Use gamma_positive instead of exp (lgamma) for
7675 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7676 (gamma_coeff): New variable.
7677 (NCOEFF): New macro.
7678 (gammal_positive): New function.
7679 (__ieee754_gammal_r): Handle positive infinity, overflow and
7680 underflow here. Handle NaN the same as positive infinity. Remove
7681 check x < 0xffffffff for negative integers. Use gamma_positive
7682 instead of exp (lgamma) for other arguments.
7683 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7684 (gamma_coeff): New variable.
7685 (NCOEFF): New macro.
7686 (gammal_positive): New function.
7687 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7688 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7689 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7690 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7691 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7692 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7693 * sysdeps/generic/math_private.h (__gamma_productf): New
7695 (__gamma_product): Likewise.
7696 (__gamma_productl): Likewise.
7697 * math/Makefile (libm-calls): Add gamma_product.
7698 * math/libm-test.inc (tgamma_test): Add more tests.
7699 * sysdeps/i386/fpu/libm-test-ulps: Update.
7700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7702 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
7704 * benchtests/bench-skeleton.c (main): Preheat CPU.
7706 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7708 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7710 2013-05-07 Roland McGrath <roland@hack.frob.com>
7712 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7713 and _dl_skip_args_internal.
7715 2013-05-07 Carlos O'Donell <carlos@redhat.com>
7717 * manual/message.texi (Message Translation): Talk about users.
7718 Message to key mapping impacts design.
7720 2013-05-06 Roland McGrath <roland@hack.frob.com>
7722 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7724 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7726 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7727 * sysdeps/wordsize-64/glob64.c: ... here.
7729 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7730 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7733 * debug/getlogin_r_chk.c: Moved to ...
7734 * login/getlogin_r_chk.c: ... here.
7735 * debug/Makefile (routines): Move getlogin_r_chk to ...
7736 * login/Makefile (routines): ... here.
7737 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7738 * login/Versions (libc: GLIBC_2.4): ... here.
7740 * io/poll.c (__poll): Renamed from poll.
7741 Add libc_hidden_def.
7742 (poll): Define as weak alias.
7744 * debug/ptsname_r_chk.c: Moved to ...
7745 * login/ptsname_r_chk.c: ... here.
7746 * debug/Makefile (routines): Move ptsname_r_chk to ...
7747 * login/Makefile (routines): ... here.
7748 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7749 * login/Versions (libc: GLIBC_2.4): ... here.
7751 * posix/getlogin.c: Moved to ...
7752 * login/getlogin.c: ... here.
7753 * posix/getlogin_r.c: Moved to ...
7754 * login/getlogin_r.c: ... here.
7755 * posix/getlogin_r.c: Moved to ...
7756 * login/getlogin_r.c: ... here.
7757 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7758 * login/Makefile (routines): ... here.
7759 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7760 * login/Versions (libc: GLIBC_2.0): ... here.
7762 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7763 (setrlimit): Define as weak alias.
7765 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7766 Call __ names for open, ftruncate, and close.
7767 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7768 (truncate): Define as weak alias.
7770 2013-05-06 Joseph Myers <joseph@codesourcery.com>
7772 * math/gen-libm-test.pl (parse_args): Initialize x before each
7773 test of frexp, modf and remquo.
7775 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7778 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7782 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7784 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7786 2013-05-06 Roland McGrath <roland@hack.frob.com>
7788 * elf/dl-writev.h: New file.
7789 * elf/dl-misc.c: Include it.
7790 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7791 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7793 2013-05-04 Joseph Myers <joseph@codesourcery.com>
7795 * math/libm-test.inc (noXFails): Remove variable.
7796 (noXPasses): Likewise.
7797 (BUILD_COMPLEX_INT): Remove macro.
7798 (print_screen): Remove xfail argument.
7799 (print_screen_max_error): Likewise.
7800 (update_stats): Likewise.
7801 (print_max_error): Likewise. Update calls to other affected
7803 (print_complex_max_error): Likewise.
7804 (test_single_exception): Update calls to print_screen.
7805 (test_single_errno): Likewise.
7806 (check_float_internal): Remove xfail argument. Update calls to
7807 other affected functions.
7808 (check_float): Likewise.
7809 (check_complex): Likewise.
7810 (check_int): Likewise.
7811 (check_long): Likewise.
7812 (check_bool): Likewise.
7813 (check_longlong): Likewise.
7814 (main): Don't print noXFails and noXPasses.
7815 * math/gen-libm-test.pl (top level): Don't mention expected
7816 failure handling in comment.
7817 (new_test): Don't handle expected failures.
7818 (parse_args): Don't mention expected failure handling in comment.
7819 (generate_testfile): Don't handle expected failures.
7820 (parse_ulps): Likewise.
7821 (print_ulps_file): Likewise.
7822 (get_failure): Remove function.
7823 (output_test): Don't handle expected failures.
7824 * make/README.libm-test: Don't mention expected failure handling.
7826 * math/libm-test.inc (plus_zero): Make const. Add initializer.
7827 (minus_zero): Likewise.
7828 (plus_infty): Likewise.
7829 (minus_infty): Likewise.
7830 (qnan_value): Likewise.
7831 (max_value): Likewise.
7832 (min_value): Likewise.
7833 (min_subnorm_value): Likewise.
7834 (initialize): Do not initialize those variables dynamically.
7836 2013-05-03 Roland McGrath <roland@hack.frob.com>
7838 * io/open.c (__open_2): Moved to ...
7839 * io/open_2.c: ... this new file.
7840 * io/open64.c (__open64_2): Moved to ...
7841 * io/open64_2.c: ... this new file.
7842 * io/openat.c (__openat_2): Moved to ...
7843 * io/openat_2.c: ... this new file.
7844 * io/openat64.c (__openat64_2): Moved to ...
7845 * io/openat64_2.c: ... this new file.
7846 * io/Makefile (routines): Add them.
7847 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7848 * sysdeps/unix/sysv/linux/open_2.c: File removed.
7849 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7850 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7851 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7852 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7853 (__openat64): Add hidden_ver.
7854 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7855 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7857 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7858 Separately conditionalize setting of GLRO(dl_sysinfo) so
7859 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7860 as well, but the actual setting is only under [NEED_DL_SYSINFO].
7862 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7864 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7865 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7867 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7868 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7869 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7870 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7871 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7873 2013-05-03 Joseph Myers <joseph@codesourcery.com>
7875 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7878 * math/libm-test.inc (hypot_test): Do not use
7879 IGNORE_ZERO_INF_SIGN.
7881 2013-05-03 Andreas Jaeger <aj@suse.de>
7883 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7885 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7886 (PF_MAX): Adjust for VSOCK change.
7888 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7890 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7892 2013-05-02 Carlos O'Donell <carlos@redhat.com>
7895 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7896 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7897 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7899 2013-05-02 David S. Miller <davem@davemloft.net>
7901 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7903 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
7905 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7907 2013-05-01 Roland McGrath <roland@hack.frob.com>
7909 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7911 2013-05-01 Richard Smith <richard@metafoo.co.uk>
7914 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7915 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7916 Use __attribute__ ((__gnu_inline__)).
7917 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7918 Don't use __attribute__ ((__gnu_inline__)).
7920 2013-05-01 Joseph Myers <joseph@codesourcery.com>
7923 * math/s_catan.c (__catan): Handle small real or imaginary part of
7924 input specially to avoid spurious underflow.
7925 * math/s_catanf.c (__catanf): Likewise.
7926 * math/s_catanh.c (__catanh): Likewise.
7927 * math/s_catanhf.c (__catanhf): Likewise.
7928 * math/s_catanhl.c (__catanhl): Likewise.
7929 * math/s_catanl.c (__catanl): Likewise.
7930 * math/libm-test.inc (catan_test): Add more tests.
7931 (catanh_test): Likewise.
7932 * sysdeps/i386/fpu/libm-test-ulps: Update.
7933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7935 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7937 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7939 2013-04-30 Joseph Myers <joseph@codesourcery.com>
7942 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7943 accurately for denominator in atan2.
7944 * math/s_catanf.c (__catanf): Likewise.
7945 * math/s_catanh.c (__catanh): Likewise.
7946 * math/s_catanhf.c (__catanhf): Likewise.
7947 * math/s_catanhl.c (__catanhl): Likewise.
7948 * math/s_catanl.c (__catanl): Likewise.
7949 * math/libm-test.inc (catan_test): Add more tests.
7950 (catanh_test): Likewise.
7951 * sysdeps/i386/fpu/libm-test-ulps: Update.
7952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7954 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7956 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7958 * benchtests/Makefile (bench): Remove slow benchmarks.
7959 * benchtests/atan-inputs: Add slow benchmark inputs.
7960 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7961 (BENCH_FUNC): Accept variant offset.
7963 * benchtests/bench-skeleton.c (main): Run benchmark for each
7965 * benchtests/cos-inputs: Add slow benchmark inputs.
7966 * benchtests/exp-inputs: Likewise.
7967 * benchtests/pow-inputs: Likewise.
7968 * benchtests/sin-inputs: Likewise.
7969 * benchtests/slowatan-inputs: Remove.
7970 * benchtests/slowatan.c: Remove.
7971 * benchtests/slowcos-inputs: Remove.
7972 * benchtests/slowcos.c: Remove.
7973 * benchtests/slowexp-inputs: Remove.
7974 * benchtests/slowexp.c: Remove.
7975 * benchtests/slowpow-inputs: Remove.
7976 * benchtests/slowpow.c: Remove.
7977 * benchtests/slowsin-inputs: Remove.
7978 * benchtests/slowsin.c: Remove.
7979 * benchtests/slowtan-inputs: Remove.
7980 * benchtests/slowtan.c: Remove.
7981 * benchtests/tan-inputs: Add slow benchmark inputs.
7982 * scripts/bench.pl: Parse comments and directives.
7984 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
7986 ($(objpfx)bench-%.c): Remove *-ITER.
7987 * benchtests/bench-modf.c: Remove definition of ITER.
7988 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
7989 (main): Loop for DURATION seconds instead of fixed number of
7991 * scripts/bench.pl: Don't expect iterations in parameters.
7993 2013-04-29 Roland McGrath <roland@hack.frob.com>
7995 * io/fchdir.c (__fchdir): Renamed from fchdir.
7996 (fchdir): Define as weak alias.
7998 2013-04-29 Joseph Myers <joseph@codesourcery.com>
8000 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8001 (ERRNO_EDOM): Likewise.
8002 (ERRNO_ERANGE): Likewise.
8003 (noErrnoTests): New variable.
8004 (init_max_error): Set errno to 0.
8005 (test_single_errno): New function.
8006 (test_errno): Likewise.
8007 (check_float_internal): Call test_errno. Set errno to 0.
8008 (check_complex): Refer to errno tests in comment.
8009 (check_int): Call test_errno. Set errno to 0.
8010 (check_long): Likewise.
8011 (check_bool): Likewise.
8012 (check_longlong): Likewise.
8013 (cos_test): Use ERRNO_* flags for errno tests instead of
8015 (expm1_test): Likewise.
8016 (fmod_test): Likewise.
8017 (ilogb_test): Likewise.
8018 (lgamma_test): Likewise.
8019 (pow_test): Likewise.
8020 (remainder_test): Likewise.
8021 (sin_test): Likewise.
8022 (tan_test): Likewise.
8023 (yn_test): Likewise.
8024 (initialize): Set errno to 0.
8025 (main): Print number of errno tests.
8026 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8028 2013-04-29 Andreas Jaeger <aj@suse.de>
8031 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8035 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8036 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8040 * stdlib/random.c (__initstate): Return NULL if
8044 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8045 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8048 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8050 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8052 2013-04-29 Joseph Myers <joseph@codesourcery.com>
8054 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8055 of individual tests.
8056 (casin_test): Likewise.
8057 (casinh_test): Likewise.
8059 2013-04-27 Joseph Myers <joseph@codesourcery.com>
8062 * math/s_catan.c (__catan): Handle arguments with large real or
8063 imaginary part separately without squaring.
8064 * math/s_catanf.c (__catanf): Likewise.
8065 * math/s_catanh.c (__catanh): Likewise.
8066 * math/s_catanhf.c (__catanhf): Likewise.
8067 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8069 (__catanhl): Handle arguments with large real or imaginary part
8070 separately without squaring.
8071 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8073 (__catanl): Handle arguments with large real or imaginary part
8074 separately without squaring.
8075 * math/libm-test.inc (catan_test): Add more tests.
8076 (catanh_test): Likewise.
8077 * sysdeps/i386/fpu/libm-test-ulps: Update.
8078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8080 2013-04-27 Andreas Jaeger <aj@suse.de>
8083 * stdlib/stdlib.h: Update guards for qecvt.
8084 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8087 2013-04-27 Allan McRae <allan@archlinux.org>
8089 * sysdeps/i386/fpu/libm-test-ulps: Update.
8091 2013-04-26 Joseph Myers <joseph@codesourcery.com>
8094 * math/s_catan.c: Include <float.h>.
8095 (__catan): Ensure underflow exception occurs for underflowed
8097 * math/s_catanf.c: Include <float.h>.
8098 (__catanf): Ensure underflow exception occurs for underflowed
8100 * math/s_catanh.c: Include <float.h>.
8101 (__catanh): Ensure underflow exception occurs for underflowed
8103 * math/s_catanhf.c: Include <float.h>.
8104 (__catanhf): Ensure underflow exception occurs for underflowed
8106 * math/s_catanhl.c: Include <float.h>.
8107 (__catanhl): Ensure underflow exception occurs for underflowed
8109 * math/s_catanl.c: Include <float.h>.
8110 (__catanl): Ensure underflow exception occurs for underflowed
8112 * math/libm-test.inc (catan_test): Add more tests.
8113 (catanh_test): Likewise.
8116 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8118 * math/s_ccoshf.c (__ccoshf): Likewise.
8119 * math/s_ccoshl.c (__ccoshl): Likewise.
8120 * math/s_csin.c (__csin): Likewise.
8121 * math/s_csinf.c (__csinf): Likewise.
8122 * math/s_csinh.c (__csinh): Likewise.
8123 * math/s_csinhf.c (__csinhf): Likewise.
8124 * math/s_csinhl.c (__csinhl): Likewise.
8125 * math/s_csinl.c (__csinl): Likewise.
8126 * math/libm-test.inc (ccos_test): Add more tests.
8127 (ccosh_test): Likewise.
8128 (csin_test): Likewise.
8129 (csinh_test): Likewise.
8131 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8133 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8134 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8135 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8136 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8137 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8138 powerpc/power5+/fpu folders.
8139 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8142 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8144 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8146 2013-04-25 Joseph Myers <joseph@codesourcery.com>
8148 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8149 additions to variable.
8150 [$(config-machine) = x86_64] (modules-names): Likewise.
8151 ($(objpfx)tst-audit3): Remove dependency.
8152 ($(objpfx)tst-audit3.out): Likewise.
8153 ($(objpfx)tst-audit4): Likewise.
8154 ($(objpfx)tst-audit4.out): Likewise.
8155 ($(objpfx)tst-audit5): Likewise.
8156 ($(objpfx)tst-audit5.out): Likewise.
8157 ($(objpfx)tst-audit6): Likewise.
8158 ($(objpfx)tst-audit6.out): Likewise.
8159 ($(objpfx)tst-audit7): Likewise.
8160 ($(objpfx)tst-audit7.out): Likewise.
8161 (tst-audit3-ENV): Remove variable.
8162 (tst-audit4-ENV): Likewise.
8163 (tst-audit5-ENV): Likewise.
8164 (tst-audit6-ENV): Likewise.
8165 (tst-audit7-ENV): Likewise.
8166 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8167 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8168 addition to variable.
8169 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8170 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8171 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8172 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8173 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8174 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8175 tst-audit3, tst-audit4 and tst-audit5.
8176 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8177 tst-audit6 and tst-audit7.
8178 [$(subdir) = elf] (modules-names): Add audit modules for those
8180 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8181 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8182 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8183 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8184 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8185 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8186 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8187 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8188 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8189 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8190 [$(subdir) = elf] (tst-audit3-ENV): New variable.
8191 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8192 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8193 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8194 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8195 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8197 [$(subdir) = elf && $(config-cflags-avx) = yes]
8198 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8199 [$(subdir) = elf && $(config-cflags-avx) = yes]
8200 (CFLAGS-tst-auditmod4a.c): Likewise.
8201 [$(subdir) = elf && $(config-cflags-avx) = yes]
8202 (CFLAGS-tst-auditmod4b.c): Likewise.
8203 [$(subdir) = elf && $(config-cflags-avx) = yes]
8204 (CFLAGS-tst-auditmod6b.c): Likewise.
8205 [$(subdir) = elf && $(config-cflags-avx) = yes]
8206 (CFLAGS-tst-auditmod6c.c): Likewise.
8207 [$(subdir) = elf && $(config-cflags-avx) = yes]
8208 (CFLAGS-tst-auditmod7b.c): Likewise.
8209 * elf/tst-audit3.c: Move to ...
8210 * sysdeps/x86_64/tst-audit3.c: ... here.
8211 * elf/tst-audit4.c: Move to ...
8212 * sysdeps/x86_64/tst-audit4.c: ... here.
8213 * elf/tst-audit5.c: Move to ...
8214 * sysdeps/x86_64/tst-audit5.c: ... here.
8215 * elf/tst-audit6.c: Move to ...
8216 * sysdeps/x86_64/tst-audit6.c: ... here.
8217 * elf/tst-audit7.c: Move to ...
8218 * sysdeps/x86_64/tst-audit7.c: ... here.
8219 * elf/tst-auditmod3a.c: Move to ...
8220 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8221 * elf/tst-auditmod3b.c: Move to ...
8222 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8223 * elf/tst-auditmod4a.c: Move to ...
8224 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8225 * elf/tst-auditmod4b.c: Move to ...
8226 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8227 * elf/tst-auditmod5a.c: Move to ...
8228 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8229 * elf/tst-auditmod5b.c: Move to ...
8230 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8231 * elf/tst-auditmod6a.c: Move to ...
8232 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8233 * elf/tst-auditmod6b.c: Move to ...
8234 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8235 * elf/tst-auditmod6c.c: Move to ...
8236 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8237 * elf/tst-auditmod7a.c: Move to ...
8238 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8239 * elf/tst-auditmod7b.c: Move to ...
8240 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8242 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8245 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8246 define unconditionally.
8247 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8248 define unconditionally.
8249 (INT8_C, INT16_C, etc.): Likewise.
8251 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
8253 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8254 __ehdr_start with hidden visibility.
8256 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8258 2013-04-24 Carlos O'Donell <carlos@redhat.com>
8260 * math/libm-test.inc (cos_test): Use accurate hex constants.
8261 (sincost_test): Likewise.
8263 2013-04-24 Joseph Myers <joseph@codesourcery.com>
8265 * math/libm-test.inc (catan_test): Add more tests.
8266 (catanh_test): Likewise.
8268 * math/s_catanf.c (__catanf): Use suffixed floating-point
8270 * math/s_catanhf.c (__catanhf): Likewise.
8271 * math/s_catanhl.c (__catanhl): Likewise.
8272 * math/s_catanl.c (__catanl): Likewise.
8275 * math/s_catan.c (__catan): Calculate imaginary part of result
8276 with log1p not log unless computing log of number close to 0.
8277 * math/s_catanf.c (__catanf): Likewise.
8278 * math/s_catanl.c (__catanl): Likewise.
8279 * math/s_catanh.c (__catanh): Calculate real part of result with
8280 log1p not log unless computing log of number close to 0.
8281 * math/s_catanhf.c (__catanhf): Likewise.
8282 * math/s_catanhl.c (__catanhl): Likewise.
8283 * math/libm-test.inc (catan_test): Add more tests.
8284 (catanh_test): Likewise.
8285 * sysdeps/i386/fpu/libm-test-ulps: Update.
8286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8288 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8290 * benchtests/Makefile: Mention files in which fast and slow
8291 paths of math functions are implemented.
8293 2013-04-23 Roland McGrath <roland@hack.frob.com>
8295 * sysdeps/posix/timespec_get.c: New file.
8297 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8299 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8301 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
8303 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8304 powerpc/power5/fpu folders.
8305 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
8306 * benchtests/Makefile: Add modf testcase.
8307 * benchtests/bench-modf.c: New file: Benchmark test for mo
8309 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8312 * time/Makefile (tests): Add tst-strptime-whitespace.
8313 * time/strptime_l.c (get_number): Use ISSPACE.
8314 (__strptime_internal): Likewise.
8315 * time/tst-strptime-whitespace.c: New test case.
8317 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
8319 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8321 (_nss_files_init): Set it here.
8323 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
8325 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8326 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8329 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
8331 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8333 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8335 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8338 2013-04-21 David S. Miller <davem@davemloft.net>
8340 * po/ru.po: Update Russion translation from translation project.
8342 2013-04-17 Adam Conrad <adconrad@0c3.net>
8344 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8347 2013-04-17 Carlos O'Donell <carlos@redhat.com>
8349 * configure.in: Remove i386 configure warning. Remove i386 case.
8350 * configure: Regenerate.
8351 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
8352 Add example to error message.
8353 * sysdeps/i386/configure: Regenerate.
8355 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8357 * benchtests/Makefile (bench): Add cos, tan, slowcos and
8359 * benchtests/cos-inputs: New file.
8360 * benchtests/slowcos-inputs: New file.
8361 * benchtests/slowcos.c: New file.
8362 * benchtests/slowtan-inputs: New file.
8363 * benchtests/slowtan.c: New file.
8364 * benchtests/tan-inputs: New file.
8366 2013-04-16 Roland McGrath <roland@hack.frob.com>
8368 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8371 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8373 * benchtests/Makefile: Include cppflags-iterator.mk to add
8374 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8376 * Makefile.in (bench-clean): New target.
8377 * benchtests/Makefile (bench-clean): Likewise.
8379 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
8381 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8383 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
8385 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8387 2013-04-15 Andreas Schwab <schwab@suse.de>
8389 * nscd/grpcache.c (cache_addgr): Properly check for short write.
8390 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8391 * nscd/pwdcache.c (cache_addpw): Likewise.
8392 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
8395 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8397 * benchtests/Makefile (bench): Write all output to
8398 bench-out.tmp together.
8400 2013-04-15 Andreas Schwab <schwab@suse.de>
8402 * nscd/nscd.c (main): Don't fork again after closing files.
8404 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8406 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8408 * benchtests/Rules (bench-deps): Collect dependencies into a
8409 single variable. Add Makefile to dependencies.
8410 ($(objpfx)bench-%.c): Depend on bench-deps.
8412 2013-04-12 Roland McGrath <roland@hack.frob.com>
8413 Xavier Roche <roche+kml2@exalead.com>
8416 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8417 just that it's a file descriptor.
8418 * manual/llio.texi (Synchronizing AIO Operations): Update description
8419 for EBADF error from aio_fsync.
8421 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8423 * Rules (bench): Move target definition...
8424 * benchtests/Makefile: ... here.
8426 2013-04-11 Carlos O'Donell <carlos@redhat.com>
8428 * math/libm-test.inc (cos_test): Fix PI/2 test.
8429 (sincos_test): Likewise.
8430 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8431 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8433 2013-04-11 Andreas Schwab <schwab@suse.de>
8436 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8437 accept exponent character only when digits were seen.
8438 * stdio-common/Makefile (tests): Add bug26.
8439 * stdio-common/bug26.c: New file.
8442 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8445 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8447 * Makeconfig (rtld-prefix): Define built linker prefix.
8448 * Rules (run-bench): Use it.
8449 * math/Makefile (run-regen-ulps): Likewise.
8451 * Rules (bench): Remove eval.
8453 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8454 Roland McGrath <roland@hack.frob.com>
8455 Ondrej Bilka <neleai@seznam.cz>
8458 * time/getdate.c: Include ctype.h and alloca.h.
8459 (__getdate_r): Trim leading and trailing spaces of input.
8460 * time/tst-getdate.c (tests): Add tests with leading and
8463 2013-04-08 Roland McGrath <roland@hack.frob.com>
8466 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8467 when computing value.
8469 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8471 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8472 Use testrun.sh to run libm tests.
8475 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8477 2013-04-06 Marko Myllynen <myllynen@redhat.com>
8480 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8482 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8484 * Makefile.in (regen-ulps): New target.
8485 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8486 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8487 [ifneq (no,$(PERL)] (regen-ulps): New target.
8488 [ifeq (no,$(PERL)] (regen-ulps): New target.
8489 * math/libm-test.inc (ulps_file_name): Define.
8490 (output_dir): New variable.
8491 (options): Add "output-dir" option.
8492 (parse_opt): Handle 'o' case.
8493 (main): If output_dir is non-NULL use it as a prefix
8495 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8497 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8500 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8501 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8502 fail configure if __sync_val_compare_and_swap is not inlined.
8503 * sysdeps/i386/configure: Regenerate.
8504 * configure.in: Build for i686 when configured for i386.
8505 * configure: Regenerate.
8506 * README: Remove i386 reference.
8508 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8510 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8511 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8513 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8515 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8516 (lmsnanval): New variables.
8517 (F): Add conversion tests.
8518 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8519 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8521 * stdio-common/tstdiomisc.c (F): Properly collect individual
8525 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8526 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8527 Instead, use input NaN values or generate a qNaN by arithmetic
8528 operation. Also fix bugs to comply with the standard.
8529 * math/libm-test.inc (remainder_test): Add more tests.
8532 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8533 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8534 input NaN values or generate a qNaN by arithmetic operation.
8536 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8539 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8542 2013-04-03 Joseph Myers <joseph@codesourcery.com>
8545 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8547 * math/s_cexpf.c (__cexpf): Likewise.
8548 * math/s_cexpl.c (__cexpl): Likewise.
8549 * math/libm-test.inc (cexp_test): Add more tests.
8551 2013-04-03 Andreas Schwab <schwab@suse.de>
8554 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8555 order arrays from heap if bigger than alloca cutoff.
8557 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8559 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8560 (SNAN_TESTS_double): Refer to GCC PR56831.
8561 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8564 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8566 * Rules (bench): Move bench.out after the run is complete.
8568 * Rules (bench): Echo currently running benchmark.
8570 * benchtests/Makefile (bench): Add atan and slowatan.
8571 * benchtests/atan-inputs: New file.
8572 * benchtests/slowatan-inputs: New file.
8573 * benchtests/slowatan.c: New file.
8575 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8576 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8580 * sysdeps/unix/sysv/linux/kernel-features.h
8581 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8582 __ASSUME_XFS_RESTRICTED_CHOWN.
8583 * sysdeps/unix/sysv/linux/pathconf.c
8584 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8585 Save and restore errno.
8587 2013-04-02 Joseph Myers <joseph@codesourcery.com>
8590 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8591 arguments using __kernel_casinh.
8592 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8593 arguments using __kernel_casinhf.
8594 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8595 arguments using __kernel_casinhl.
8596 * math/libm-test.inc (cacosh_test): Add more tests.
8597 * sysdeps/i386/fpu/libm-test-ulps: Update.
8598 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8600 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8602 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8603 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8605 * bench/Makefile (bench): Add sin and slowsin.
8606 * benchtests/sin-inputs: New file.
8607 * benchtests/slowsin-inputs: New file.
8608 * benchtests/slowsin.c: New file.
8610 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8611 (bench): Add slowexp and slowpow.
8612 (exp-ITER): Increase iterations.
8613 (pow-ITER): Likewise.
8614 * benchtests/exp-inputs: Change input.
8615 * benchtests/pow-inputs: Likewise.
8616 * benchtests/slowexp-inputs: New file.
8617 * benchtests/slowexp.c: New file.
8618 * benchtests/slowpow-inputs: New file.
8619 * benchtests/slowpow.c: New file.
8621 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8623 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8625 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8626 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8627 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8628 * benchtests/Makefile: Add rint benchtest.
8629 * benchtests/rint-inputs: Input for rint benchtest.
8631 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8633 * Versions.def (libm): Add GLIBC_2.18.
8634 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8635 hidden libm prototypes.
8636 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8637 * math/Makefile (libm-calls): Add s_issignaling.
8638 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8639 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8640 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8642 * math/math.h [__USE_GNU] (issignaling): New macro.
8643 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8644 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8645 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8646 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8647 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8648 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8649 * manual/arith.texi (issignaling): New section.
8650 * manual/libm-err-tab.pl (@all_functions): Update comment.
8651 * math/gen-libm-test.pl (parse_args): Apply special handling for
8653 * math/libm-test.inc (print_float, issignaling_test): New
8655 (check_float_internal): Add issignaling checks.
8656 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8658 * sysdeps/powerpc/math-tests.h: New file.
8659 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8661 * math/test-snan.c (TEST_FUNC): Likewise.
8663 2013-03-30 David S. Miller <davem@davemloft.net>
8665 * po/de.po: Update from translation team.
8667 2013-03-30 Joseph Myers <joseph@codesourcery.com>
8670 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8671 imaginary part less than 1.0 and real part less than 0.5
8673 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8674 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8675 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8676 (cacos_test): Add more tests.
8677 (casin_test): Likewise.
8678 (casinh_test): Likewise.
8679 * sysdeps/i386/fpu/libm-test-ulps: Update.
8680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8682 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8684 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8687 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8688 (__pow_mp): Replace ONE and MONE with their values.
8689 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8690 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8691 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8692 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8693 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8694 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8696 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8698 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8699 (__pow_mp): Replace ZERO and MZERO with their values.
8700 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8701 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8702 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8703 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8704 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8705 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8708 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8710 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8712 2013-03-28 Roland McGrath <roland@hack.frob.com>
8714 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8715 Declare with __attribute__ ((weak)).
8716 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8717 Call __call_tls_dtors only if it's not NULL.
8719 2013-03-28 Roland McGrath <roland@hack.frob.com>
8721 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8722 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8723 magic __ehdr_start linker symbol if it's defined.
8724 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8725 them up here if it was already done.
8727 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8728 (_dl_aux_init): Use const in cast when setting it.
8729 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8730 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8731 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8733 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8735 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8736 * csu/libc-tls.c: Nor here.
8737 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8739 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8740 (__libc_message): Never call vsyslog.
8742 2013-03-28 Alan Modra <amodra@gmail.com>
8744 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8746 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8749 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8752 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8754 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8756 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8759 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8760 Don't add gid passed as argument.
8762 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8764 2013-03-27 Joseph Myers <joseph@codesourcery.com>
8767 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8768 imaginary part between 1.0 and 1.5 and real part less than 0.5
8770 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8771 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8772 * math/libm-test.inc (cacos_test): Add more tests.
8773 (casin_test): Likewise.
8774 (casinh_test): Likewise.
8775 * sysdeps/i386/fpu/libm-test-ulps: Update.
8776 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8778 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8780 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8784 (__dbl_mp): Likewise.
8785 (add_magnitudes): Likewise.
8786 (sub_magnitudes): Likewise.
8794 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8796 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8797 (__dubcos): Likewise.
8798 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8799 (__ieee754_acos): Likewise.
8800 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8801 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8803 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8804 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8806 (my_log2): Likewise.
8807 (checkint): Likewise.
8808 * sysdeps/ieee754/dbl-64/e_remainder.c
8809 (__ieee754_remainder): Likewise.
8810 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8811 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8813 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8815 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8816 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8817 MANTISSA_STORE_T to store computations on mantissa. Use
8818 macros for rounding and division.
8820 (__dbl_mp): Likewise.
8821 (add_magnitudes): Likewise.
8822 (sub_magnitudes): Likewise.
8825 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8826 powers of two in terms of TWOPOW macro.
8827 (mp_no): Make type of mantissa as MANTISSA_T.
8828 [!RADIXI]: Define RADIXI.
8829 [!TWO52]: Define TWO52.
8830 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8832 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8834 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8835 llroundl symbol when building for PPC32.
8837 2013-03-24 Mark H Weaver <mhw@netris.org>
8839 * manual/arith.texi (Normalization Functions): Fix prototypes for
8840 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8842 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8845 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8846 high value to check if expl overflow.
8847 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8848 to check for underflow and overflow.
8849 * math/libm-test.inc: Add exp test.
8851 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8854 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8857 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8859 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8862 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8864 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8865 wrap blocks consisting of several statements.
8867 * sysdeps/generic/math-tests.h: New file.
8868 * sysdeps/i386/fpu/math-tests.h: Likewise.
8869 * math/test-snan.c: Include it.
8870 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8872 2013-03-21 Joseph Myers <joseph@codesourcery.com>
8875 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8876 (__ieee754_j0l): Do not improve calculations using cos of twice
8877 input for inputs above LDBL_MAX / 2.0L.
8878 (__ieee754_y0l): Likewise.
8879 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8880 (__ieee754_j1l): Do not improve calculations using cos of twice
8881 input for inputs above LDBL_MAX / 2.0L.
8882 (__ieee754_y1l): Likewise.
8883 * math/libm-test.inc (j0_test): Add another test.
8884 (j1_test): Likewise.
8885 (y0_test): Likewise.
8886 (y1_test): Likewise.
8887 * sysdeps/i386/fpu/libm-test-ulps: Update.
8889 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8891 * Rules ($(objpfx)bench-%.c): Include code from a C source
8894 2013-03-21 Joseph Myers <joseph@codesourcery.com>
8897 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8898 imaginary part 1.0 and real part less than 0.5 specially.
8899 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8900 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8901 * math/libm-test.inc (cacos_test): Add more tests.
8902 (casin_test): Likewise.
8903 (casinh_test): Likewise.
8904 * sysdeps/i386/fpu/libm-test-ulps: Update.
8905 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8907 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8909 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8910 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8912 2013-03-20 Joseph Myers <joseph@codesourcery.com>
8914 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8915 * config.make.in (config-cflags-sse4): Remove variable.
8916 (config-cflags-avx): Likewise.
8917 (config-cflags-sse2avx): Likewise.
8918 (config-cflags-novzeroupper): Likewise.
8919 (config-asflags-i686): Likewise.
8920 (have-mfma4): Likewise.
8921 (have-as-vis3): Likewise.
8923 * configure.in (MIG): Do not AC_SUBST.
8924 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8925 (libc_cv_cc_sse4): Do not AC_SUBST.
8926 (libc_cv_cc_avx): Likewise.
8927 (libc_cv_cc_sse2avx): Likewise.
8928 (libc_cv_cc_novzeroupper): Likewise.
8929 (libc_cv_cc_fma4): Likewise.
8930 (libc_cv_as_i686): Likewise.
8931 (libc_cv_sparc_as_vis3): Likewise.
8932 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8934 (config-asflags-i686): Likewise.
8935 (config-cflags-avx): Likewise.
8936 (config-cflags-sse2avx): Likewise.
8937 (have-mfma4): Likewise.
8938 (config-cflags-novzeroupper): Likewise.
8939 * sysdeps/mach/configure.in (MIG): Likewise.
8940 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8941 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8943 (config-cflags-avx): Likewise.
8944 (config-cflags-sse2avx): Likewise.
8945 (have-mfma4): Likewise.
8946 (config-cflags-novzeroupper): Likewise.
8947 * configure: Regenerated.
8948 * sysdeps/i386/configure: Likewise.
8949 * sysdeps/mach/configure: Likewise.
8950 * sysdeps/sparc/configure: Likewise.
8951 * sysdeps/x86_64/configure: Likewise.
8953 2013-03-20 Roland McGrath <roland@hack.frob.com>
8956 * locale/programs/localedef.c (options): Put N_ translation marker
8957 on argument names, not just descriptions.
8959 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8961 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8963 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
8966 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8968 2013-03-19 Roland McGrath <roland@hack.frob.com>
8970 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8971 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
8972 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
8973 [!BEFORE_ABORT] (before_abort): New function.
8974 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
8975 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
8976 (writev_for_fatal): New function.
8977 (WRITEV_FOR_FATAL): New macro; call that.
8978 (backtrace_and_maps): New function.
8979 (BEFORE_ABORT): New macro; call that.
8980 (struct str_list): Type removed.
8981 (__libc_message, __libc_fatal): Functions removed.
8982 Include <sysdeps/posix/libc_fatal.c> instead.
8984 2013-03-19 Joseph Myers <joseph@codesourcery.com>
8986 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
8988 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
8991 2013-03-19 Andreas Schwab <schwab@suse.de>
8993 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
8994 * sysdeps/gnu/configure: Regenerate.
8996 * configure.in: Substitute libc_cv_rtlddir.
8997 * configure: Regenerate.
8998 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
8999 * Makeconfig (rtlddir, inst_rtlddir): New variables.
9000 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9001 * elf/Makefile (install-others, CFLAGS-interp.c)
9002 (ldso_install, common-ldd-rewrite): Likewise.
9003 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9004 $(inst_slibdir)/$(rtld-installed-name).
9005 * scripts/rellns-sh: Add -p option.
9006 * Makerules (make-shlib-link): Use rellns-sh to get relative name
9009 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9011 * manual/nptl.texi: Renamed to ...
9012 * manual/threads.texi: ... this.
9013 * manual/Makefile (chapters): Update.
9015 2013-03-18 Roland McGrath <roland@hack.frob.com>
9018 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9019 on argument names, not just descriptions.
9020 * malloc/memusagestat.c (options): Likewise.
9021 * nss/getent.c (options): Likewise.
9023 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
9026 * iconv/iconv_prog.c (options): Put N_ translation marker
9027 on argument names, not just descriptions.
9028 * iconv/iconvconfig.c (options): Likewise.
9030 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
9032 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9033 implementation which is faster on all x86_64 architectures.
9034 Tested on AMD, Intel Nehalem, SNB, IVB.
9035 * sysdeps/x86_64/strnlen.S: Likewise.
9037 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9038 Remove all multiarch strlen and strnlen versions.
9039 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9040 Remove strlen and strnlen related parts.
9042 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9044 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9046 * sysdeps/x86_64/multiarch/strlen.S: Remove.
9047 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9048 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9049 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9050 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9051 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9053 2013-03-17 Carlos O'Donell <carlos@redhat.com>
9055 * manual/memory.texi (Malloc Tunable Parameters):
9056 Sort parameters alphabetically. Add comments for missing entries.
9058 2013-03-17 David S. Miller <davem@davemloft.net>
9060 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9062 2013-03-16 Joseph Myers <joseph@codesourcery.com>
9065 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9066 for arguments at most half maximum finite value.
9067 * math/libm-test.inc (j0_test): Add more tests.
9068 (j1_test): Likewise.
9069 (y0_test): Likewise.
9070 (y1_test): Likewise.
9071 * sysdeps/i386/fpu/libm-test-ulps: Update.
9072 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9075 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9076 1 / x and functions P and Q for arguments above 0x1p256L.
9077 (__ieee754_y0l): Likewise.
9078 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9079 (__ieee754_y1l): Likewise.
9080 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9081 (j1_test): Likewise.
9082 (y0_test): Likewise.
9083 (y1_test): Likewise.
9085 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
9087 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9090 2013-03-15 Roland McGrath <roland@hack.frob.com>
9092 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9093 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9094 zero since it's initialized to EXEC_PAGESIZE.
9096 * sysdeps/unix/sysv/linux/ldsodefs.h
9097 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9098 * sysdeps/generic/ldsodefs.h: ... here.
9100 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
9102 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9104 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9106 * math/test-snan.c: Renamed from
9107 sysdeps/powerpc/fpu/test-powerpc-snan.c.
9108 * math/Makefile (tests): Add test-snan.
9109 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9112 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9113 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9115 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9116 __builtin_nan family of functions.
9117 * math/libm-test.inc (initialize): Initialize qnan_value with
9118 __builtin_nan family of functions.
9119 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9121 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9123 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9124 storage class. Initialize qNaN_var and sNaN_var with
9125 __builtin_nan and __builtin_nans families of functions,
9128 * math/libm-test.inc (acosh_test): Also test with qNaN input.
9129 (sqrt_test): Remove duplicate test with qNaN input.
9130 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9131 (round_test, signbit_test, significand_test): Note missing +/-Inf
9132 as well as qNaN tests.
9134 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9135 qNaN_var. Fix a few strings, too.
9136 * math/libm-test.inc (nan_value): Rename to qnan_value.
9137 * math/gen-libm-test.pl (%beautify): Adjust to that.
9138 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9139 * math/test-misc.c (main): Likewise.
9140 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9141 to __qnan_bytes, and __qnan_union, respectively.
9142 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9144 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9145 and lqnanval, respectively.
9146 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9147 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9148 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9149 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9151 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9152 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9155 * math/test-misc.c (main): Fix copy'n'pastos.
9156 * misc/tst-efgcvt.c (special): Likewise.
9158 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9159 Remove declarations.
9161 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9163 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9164 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9165 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9166 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9168 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9170 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9171 macro to return vdso values correctly in IFUNC implementations.
9172 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9173 Optimization by using IFUNC.
9175 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9176 Richard Henderson <rth@redhat.com>
9177 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9179 * Makefile.in (bench): New target.
9180 * NEWS: Mention the benchmark framework.
9181 * Rules (bench): Likewise.
9182 (binaries-bench): Generate binaries for functions to
9184 * benchtests/Makefile: New makefile for benchmark tests.
9185 * benchtests/bench-skeleton.c: New skeleton file for benchmark
9187 * benchtests/exp-inputs: New input file for EXP function.
9188 * benchtests/pow-inputs: New input file for POW function.
9189 * scripts/bench.pl: New script to generate source files for
9192 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9194 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9195 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9196 computations on mantissa. Use macros for rounding and
9199 (__dbl_mp): Likewise.
9200 (add_magnitudes): Likewise.
9201 (sub_magnitudes): Likewise.
9204 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9205 powers of two in terms of TWOPOW macro.
9206 (mp_no): Make type of mantissa as MANTISSA_T.
9207 [!RADIXI]: Define RADIXI.
9208 [!TWO52]: Define TWO52.
9209 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9211 * manual/nptl.texi (cindex): Modify threads to pthreads.
9213 2013-03-15 Joseph Myers <joseph@codesourcery.com>
9215 * sysdeps/x86_64/preconfigure: Regenerated.
9217 2013-03-14 Joseph Myers <joseph@codesourcery.com>
9220 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9222 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9223 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9225 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9226 * math/libm-test.inc (j0_test): Do not allow one spurious
9227 underflow exception.
9228 (y1_test): Likewise.
9230 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9232 * manual/Makefile (chapters): Add nptl.
9233 * manual/debug.texi (Debugging Support): Add link to Threads
9235 * manual/nptl.texi: New file.
9237 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9239 2013-03-14 Petr Baudis <pasky@ucw.cz>
9241 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9242 for non-NULL pointer before the memory validity test. Pointed
9243 out by Holger Brunck <holger.brunck@keymile.com>.
9245 2013-03-13 Andreas Schwab <schwab@suse.de>
9247 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9250 2013-03-13 Joseph Myers <joseph@codesourcery.com>
9252 * timezone/zic.c: Update from tzcode 2013b.
9254 2013-03-12 Carlos O'Donell <carlos@redhat.com>
9256 * manual/install.texi (Configuring and compiling):
9257 Mention i686 and i586.
9258 * INSTALL: Regenerate.
9260 2013-03-12 Roland McGrath <roland@hack.frob.com>
9262 * sysdeps/init_array/elf-init.c: New file.
9264 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9265 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9267 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9268 __gmon_start__ as global, but as static with a .preinit_array pointer.
9269 * sysdeps/init_array/gmon-start.c: New file. Use that.
9270 * sysdeps/init_array/crti.S: New file, empty except for comments.
9271 * sysdeps/init_array/crtn.S: Likewise.
9273 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
9275 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9277 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9278 Remove Prefer_SSE_for_memop.
9279 * sysdeps/x86_64/multiarch/init-arch.h: Remove
9280 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9281 HAS_PREFER_SSE_FOR_MEMOP.
9282 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9284 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9285 Remove bzero, memset ifunc support.
9286 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
9287 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
9288 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9289 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9291 2013-03-11 Andreas Schwab <schwab@suse.de>
9294 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9296 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9297 (GLIBC_2.16): Remove pthread_atfork.
9299 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9301 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
9302 (ptestcases.h): Likewise.
9304 2013-03-08 Roland McGrath <roland@hack.frob.com>
9306 * Makeconfig ($(common-objpfx)config.status): Depend on
9307 sysdeps/*/preconfigure{,.in} too.
9309 2013-03-08 Joseph Myers <joseph@codesourcery.com>
9311 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9312 (__free_hook): Use void * instead of __malloc_ptr_t.
9313 (__malloc_hook): Likewise.
9314 (__realloc_hook): Likewise.
9315 (__memalign_hook): Likewise.
9316 (__after_morecore_hook): Likewise.
9317 * malloc/arena.c (save_malloc_hook): Likewise.
9318 (save_free_hook): Likewise.
9319 * malloc/hooks.c (malloc_hook_ini): Likewise.
9320 (realloc_hook_ini): Likewise.
9321 (memalign_hook_ini): Likewise.
9322 * malloc/malloc.c (malloc_hook_ini): Likewise.
9323 (realloc_hook_ini): Likewise.
9324 (memalign_hook_ini): Likewise.
9325 (__free_hook): Likewise.
9326 (__malloc_hook): Likewise.
9327 (__realloc_hook): Likewise.
9328 (__memalign_hook): Likewise.
9329 (__libc_malloc): Likewise.
9330 (__libc_free): Likewise.
9331 (__libc_realloc): Likewise.
9332 (__libc_memalign): Likewise.
9333 (__libc_valloc): Likewise.
9334 (__libc_pvalloc): Likewise.
9335 (__libc_calloc): Likewise.
9336 (__posix_memalign): Likewise.
9337 * malloc/morecore.c (__sbrk): Likewise.
9338 (__default_morecore): Likewise.
9340 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9342 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9343 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9346 * malloc/malloc.h (__malloc_size_t): Remove macro.
9347 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9349 (old_memalign_hook): Likewise.
9350 (old_realloc_hook): Likewise.
9351 (struct hdr): Likewise.
9353 (mallochook): Likewise.
9354 (memalignhook): Likewise.
9355 (reallochook): Likewise.
9356 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9357 (tr_old_realloc_hook): Likewise.
9358 (tr_old_memalign_hook): Likewise.
9359 (tr_mallochook): Likewise.
9360 (tr_reallochook): Likewise.
9361 (tr_memalignhook): Likewise.
9363 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9365 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9366 default_ldbl_pack and using as default implementation.
9367 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9369 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9370 redundant definition.
9371 (ldbl_insert_mantissa): Likewise.
9372 (ldbl_canonicalize): Likewise.
9373 (ldbl_nearbyint): Likewise.
9374 (ldbl_pack): Rename to ldbl_pack_ppc.
9375 (ldbl_unpack): Rename to ldbl_unpack_ppc.
9376 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9377 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9379 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9382 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9383 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9384 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9385 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9386 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9387 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9388 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9390 2013-03-07 Andreas Jaeger <aj@suse.de>
9392 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9395 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9397 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9398 Include mpa.h and declare __MPEXP.
9399 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9400 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9401 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9402 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9403 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9404 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9405 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9407 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9408 (__slowpow): Use long double EXPL and LOGL functions to
9410 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9411 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9412 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9413 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9414 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9415 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9417 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9418 intermediate variable to calculate exponent.
9420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9424 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9425 [!NO__SQR]: Define __sqr.
9426 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9427 and NO__SQR. Remove all code except __mul and __sqr. Include
9428 sysdeps/ieee754/dbl-64/mpa.c.
9429 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9432 * posix/Makefile (tests): Add tst-pathconf.
9433 * posix/tst-pathconf.c: New test case.
9434 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9436 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9438 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
9440 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9442 2013-03-06 Andreas Jaeger <aj@suse.de>
9444 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9445 definition via __MAP_ANONYMOUS.
9447 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9448 it's not part of Linux headers.
9450 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9451 (MAP_HUGE_MASK): Define.
9453 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9455 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9456 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9458 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9459 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9461 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9462 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9464 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9466 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9467 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9468 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9469 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9470 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9471 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9473 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9476 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9477 Handle f2fs and efivarfs.
9479 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9482 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9483 (EFIVARFS_MAGIC): Add.
9484 (F2FS_LINK_MAX): Add.
9486 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9488 * stdio-common/vfprintf.c: Replace __builtin_expect with
9491 2013-03-06 Joseph Myers <joseph@codesourcery.com>
9494 * sysdeps/generic/bp-sym.h: Remove file.
9495 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9496 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9497 <bp-sym.h> and <bp-asm.h>.
9498 (__longjmp): Don't use BP_SYM.
9499 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9501 (memcpy): Don't use BP_SYM.
9502 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9503 <bp-sym.h> and <bp-asm.h>.
9504 (memcpy): Don't use BP_SYM.
9505 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9507 (memcpy): Don't use BP_SYM.
9508 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9510 (memset): Don't use BP_SYM.
9511 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9512 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9513 (__bzero): Don't use BP_SYM.
9514 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9515 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9516 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9517 <bp-sym.h> and <bp-asm.h>.
9518 (memcmp): Don't use BP_SYM. Remove comment about bounded
9520 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9521 <bp-sym.h> and <bp-asm.h>.
9522 (memcpy): Don't use BP_SYM.
9523 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9524 <bp-sym.h> and <bp-asm.h>.
9525 (memset): Don't use BP_SYM.
9526 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9527 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9528 (__bzero): Don't use BP_SYM.
9529 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9530 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9531 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9532 <bp-sym.h> and <bp-asm.h>.
9533 (strncmp): Don't use BP_SYM. Remove comment about bounded
9535 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9536 <bp-sym.h> and <bp-asm.h>.
9537 (memcpy): Don't use BP_SYM.
9538 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9539 <bp-sym.h> and <bp-asm.h>.
9540 (memset): Don't use BP_SYM.
9541 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9542 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9543 (__bzero): Don't use BP_SYM.
9544 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9545 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9546 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9547 <bp-sym.h> and <bp-asm.h>.
9548 (__memchr): Don't use BP_SYM.
9549 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9550 <bp-sym.h> and <bp-asm.h>.
9551 (memcmp): Don't use BP_SYM. Remove comment about bounded
9553 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9554 <bp-sym.h> and <bp-asm.h>.
9555 (memcpy): Don't use BP_SYM.
9556 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9557 <bp-sym.h> and <bp-asm.h>.
9558 (__mempcpy): Don't use BP_SYM.
9559 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9560 <bp-sym.h> and <bp-asm.h>.
9561 (__memrchr): Don't use BP_SYM.
9562 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9563 <bp-sym.h> and <bp-asm.h>.
9564 (memset): Don't use BP_SYM.
9565 (__bzero): Likewise.
9566 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9567 <bp-sym.h> and <bp-asm.h>.
9568 (__rawmemchr): Don't use BP_SYM.
9569 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9570 <bp-sym.h> and <bp-asm.h>.
9571 (__STRCMP): Don't use BP_SYM.
9572 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9573 <bp-sym.h> and <bp-asm.h>.
9574 (strchr): Don't use BP_SYM.
9575 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9576 <bp-sym.h> and <bp-asm.h>.
9577 (__strchrnul): Don't use BP_SYM.
9578 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9579 <bp-sym.h> and <bp-asm.h>.
9580 (strlen): Don't use BP_SYM.
9581 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9582 <bp-sym.h> and <bp-asm.h>.
9583 (strncmp): Don't use BP_SYM. Remove comment about bounded
9585 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9586 <bp-sym.h> and <bp-asm.h>.
9587 (__strnlen): Don't use BP_SYM.
9588 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9589 <bp-sym.h> and <bp-asm.h>.
9590 (__GI__setjmp): Don't use BP_SYM.
9591 (_setjmp): Likewise.
9592 (__sigsetjmp): Likewise.
9593 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9594 (L(start_addresses)): Don't use BP_SYM.
9596 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9598 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9599 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9600 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9601 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9602 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9604 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9605 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9606 about bounded pointers.
9607 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9608 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9609 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9611 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9612 about bounded pointers. Remove GKM FIXME comments.
9613 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9614 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9616 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9617 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9618 Remove GKM FIXME comments.
9619 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9620 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9621 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9623 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9624 about bounded pointers. Remove GKM FIXME comment.
9625 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9627 (strncmp): Don't use BP_SYM. Remove comment about bounded
9629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9630 <bp-sym.h> and <bp-asm.h>.
9631 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9633 <bp-sym.h> and <bp-asm.h>.
9634 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9637 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9639 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9642 2013-03-05 David S. Miller <davem@davemloft.net>
9644 * po/es.po: Update from translation team.
9646 2013-03-05 Andreas Jaeger <aj@suse.de>
9648 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9649 <bits/mman-linux.h>.
9650 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9652 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9653 <bits/mman-linux.h> to end of file.
9654 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9656 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9657 <bits/mman-linux.h> to end of file.
9658 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9660 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9661 <bits/mman-linux.h> to end of file.
9663 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9664 (MCL_CURRENT, MCL_FUTURE): Define here.
9666 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9669 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9671 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9673 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9675 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9676 fourth parameter needed for rt_sigprocmask syscall.
9677 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9678 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9679 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9680 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9681 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9682 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9684 2013-03-04 Joseph Myers <joseph@codesourcery.com>
9687 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9688 comment about bounded pointers.
9689 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9690 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9692 2013-03-04 Andreas Jaeger <aj@suse.de>
9694 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9697 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9698 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9699 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9700 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9701 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9702 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9704 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9707 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9708 __ieee754_sqrl instead of __sqrl.
9710 2013-03-01 Joseph Myers <joseph@codesourcery.com>
9712 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9713 * sysdeps/powerpc/fpu_control.h: ... here.
9714 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9715 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9716 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9717 * sysdeps/powerpc/bits/mathinline.h: ... here.
9719 2013-03-01 Roland McGrath <roland@hack.frob.com>
9721 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9722 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9723 to just [NEED_DL_SYSINFO_DSO].
9724 * elf/dl-support.c: Likewise.
9725 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9726 * elf/rtld.c (dl_main): Likewise.
9727 * elf/setup-vdso.h (setup_vdso): Likewise.
9728 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9729 * sysdeps/unix/sysv/linux/dl-sysdep.c
9730 (_dl_discover_osversion): Likewise.
9732 2013-03-01 Carlos O'Donell <carlos@redhat.com>
9734 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9735 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9737 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9739 * NEWS: Mention libm performance improvements and non-x86 PI
9742 * csu/libc-start.c (__pthread_initialize_minimal): Change
9744 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9746 2013-02-28 Joseph Myers <joseph@codesourcery.com>
9749 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9750 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9751 <bp-sym.h> and <bp-asm.h>.
9752 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9753 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9755 (memcpy): Don't use BP_SYM.
9756 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9758 (__mpn_add_n): Don't use BP_SYM.
9759 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9760 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9762 (__mpn_addmul_1): Don't use BP_SYM.
9763 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9764 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9766 (_setjmp): Don't use BP_SYM.
9767 (__novmx_setjmp): Likewise.
9768 (__GI__setjmp): Likewise.
9769 (__vmx_setjmp): Likewise.
9770 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9772 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9773 (__bzero): Don't use BP_SYM.
9774 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9775 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9776 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9777 <bp-sym.h> and <bp-asm.h>.
9778 (memcpy): Don't use BP_SYM.
9779 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9780 <bp-sym.h> and <bp-asm.h>.
9781 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9782 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9783 <bp-sym.h> and <bp-asm.h>.
9784 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9785 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9787 (__mpn_lshift): Don't use BP_SYM.
9788 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9789 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9791 (memset): Don't use BP_SYM.
9792 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9793 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9794 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9796 (__mpn_mul_1): Don't use BP_SYM.
9797 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9798 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9799 <bp-sym.h> and <bp-asm.h>.
9800 (memcmp): Don't use BP_SYM.
9801 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9802 <bp-sym.h> and <bp-asm.h>.
9803 (memcpy): Don't use BP_SYM.
9804 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9805 <bp-sym.h> and <bp-asm.h>.
9806 (memset): Don't use BP_SYM.
9807 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9808 <bp-sym.h> and <bp-asm.h>.
9809 (strncmp): Don't use BP_SYM.
9810 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9811 <bp-sym.h> and <bp-asm.h>.
9812 (memcpy): Don't use BP_SYM.
9813 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9814 <bp-sym.h> and <bp-asm.h>.
9815 (memset): Don't use BP_SYM.
9816 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9817 <bp-sym.h> and <bp-asm.h>.
9818 (__memchr): Don't use BP_SYM.
9819 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9820 <bp-sym.h> and <bp-asm.h>.
9821 (memcmp): Don't use BP_SYM.
9822 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9823 <bp-sym.h> and <bp-asm.h>.
9824 (memcpy): Don't use BP_SYM.
9825 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9826 <bp-sym.h> and <bp-asm.h>.
9827 (__mempcpy): Don't use BP_SYM.
9828 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9829 <bp-sym.h> and <bp-asm.h>.
9830 (__memrchr): Don't use BP_SYM.
9831 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9832 <bp-sym.h> and <bp-asm.h>.
9833 (memset): Don't use BP_SYM.
9834 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9835 <bp-sym.h> and <bp-asm.h>.
9836 (__rawmemchr): Don't use BP_SYM.
9837 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9838 <bp-sym.h> and <bp-asm.h>.
9839 (__STRCMP): Don't use BP_SYM.
9840 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9841 <bp-sym.h> and <bp-asm.h>.
9842 (strchr): Don't use BP_SYM.
9843 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9844 <bp-sym.h> and <bp-asm.h>.
9845 (__strchrnul): Don't use BP_SYM.
9846 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9847 <bp-sym.h> and <bp-asm.h>.
9848 (strlen): Don't use BP_SYM.
9849 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9850 <bp-sym.h> and <bp-asm.h>.
9851 (strncmp): Don't use BP_SYM.
9852 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9853 <bp-sym.h> and <bp-asm.h>.
9854 (__strnlen): Don't use BP_SYM.
9855 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9857 (__mpn_rshift): Don't use BP_SYM.
9858 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9859 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9860 <bp-sym.h> and <bp-asm.h>.
9861 (__sigsetjmp): Don't use BP_SYM.
9862 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9863 (L(start_addresses)): Don't use BP_SYM.
9865 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9867 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9868 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9869 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9870 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9872 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9873 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9874 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9875 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9877 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9879 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9880 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9882 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9884 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9885 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9886 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9888 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9890 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9892 (strncmp): Don't use BP_SYM,
9893 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9895 (__mpn_sub_n): Don't use BP_SYM.
9896 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9897 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9899 (__mpn_submul_1): Don't use BP_SYM.
9900 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9902 <bp-sym.h> and <bp-asm.h>.
9903 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9905 <bp-sym.h> and <bp-asm.h>.
9906 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9909 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9911 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9912 Use ZK to minimize writes to Z.
9913 (sub_magnitudes): Simplify code a bit.
9914 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9915 Use ZK to minimize writes to Z.
9916 (sub_magnitudes): Simplify code a bit.
9918 2013-02-27 Roland McGrath <roland@hack.frob.com>
9920 * csu/gmon-start.c: Add special exception to license text.
9922 2013-02-27 Richard Henderson <rth@redhat.com>
9924 * scripts/config.guess: Update from config.git.
9925 * scripts/config.sub: Likewise.
9927 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9929 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9931 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9933 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9935 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9937 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9939 2013-02-26 Roland McGrath <roland@hack.frob.com>
9941 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9942 [$(build-shared = yes].
9944 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9946 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9947 (__mul): Reduce iterations for calculating mantissa.
9949 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9951 (__mpranred): Likewise.
9954 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9955 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9957 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9959 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9960 Define __attribute__.
9962 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9964 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9966 * posix/regex_internal.h (__attribute): Remove.
9967 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9968 (re_string_context_at): Likewise.
9969 (bitset_not): Use __attribute__ and mark function as possibly
9971 (bitset_merge): Likewise.
9972 (bitset_mask): Likewise.
9973 (re_string_char_size_at): Likewise.
9974 (re_string_wchar_at): Likewise.
9975 (re_string_elem_size_at): Likewise.
9977 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
9979 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
9983 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
9988 (__dbl_mp): Likewise.
9989 (add_magnitudes): Likewise.
9990 (sub_magnitudes): Likewise.
9994 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
9997 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10000 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10004 up changes with default code.
10005 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10008 2013-02-24 Allan McRae <allan@archlinux.org>
10010 * manual/socket.texi (The Internet Namespace): Order menu items
10011 to match that in the file.
10013 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10014 node listing of the info page menu.
10016 2013-02-21 Joseph Myers <joseph@codesourcery.com>
10019 * sysdeps/i386/bp-asm.h: Remove file.
10020 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10021 (PARMS): Do not use macros from bp-asm.h.
10025 (__mpn_add_n): Do not use BP_SYM
10026 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10028 (PARMS): Do not use macros from bp-asm.h.
10031 (__mpn_addmul_1): Do not use BP_SYM
10032 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10034 (PARMS): Do not use macros from bp-asm.h.
10035 (SIGMSK): Likewise.
10036 (_setjmp): Likewise. Do not use BP_SYM.
10037 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10039 (PARMS): Do not use macros from bp-asm.h.
10040 (SIGMSK): Likewise.
10041 (setjmp): Likewise. Do not use BP_SYM.
10042 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10044 (PARMS): Do not use macros from bp-asm.h.
10045 (__frexp): Do not use BP_SYM.
10047 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10049 (PARMS): Do not use macros from bp-asm.h.
10050 (__frexpf): Do not use BP_SYM.
10051 (frexpf): Likewise.
10052 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10054 (PARMS): Do not use macros from bp-asm.h.
10055 (__frexpl): Do not use BP_SYM.
10056 (frexpl): Likewise.
10057 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10059 (PARMS): Do not use macros from bp-asm.h.
10060 (__remquo): Do not use BP_SYM.
10061 (remquo): Likewise.
10062 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10064 (PARMS): Do not use macros from bp-asm.h.
10065 (__remquof): Do not use BP_SYM.
10066 (remquof): Likewise.
10067 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10069 (PARMS): Do not use macros from bp-asm.h.
10070 (__remquol): Do not use BP_SYM.
10071 (remquol): Likewise.
10072 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10074 (PARMS): Do not use macros from bp-asm.h.
10077 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
10078 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10080 (PARMS): Do not use macros from bp-asm.h.
10081 (strlen): Do not use BP_SYM.
10082 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10084 (PARMS): Do not use macros from bp-asm.h.
10088 (__mpn_add_n): Do not use BP_SYM.
10089 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10091 (PARMS): Do not use macros from bp-asm.h.
10094 (__mpn_addmul_1): Do not use BP_SYM.
10095 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10098 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10100 (PARMS): Do not use macros from bp-asm.h.
10103 (__mpn_lshift): Do not use BP_SYM.
10104 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10106 (PARMS): Do not use macros from bp-asm.h.
10110 (memcpy): Likewise. Do not use BP_SYM.
10111 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10112 libc_hidden_def and weak_alias.
10113 (mempcpy): Do not use BP_SYM in weak_alias.
10114 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10116 (PARMS): Do not use macros from bp-asm.h.
10119 [!BZERO_P] (CHR): Likewise.
10120 (memset): Likewise. Do not use BP_SYM.
10121 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10123 (PARMS): Do not use macros from bp-asm.h.
10126 (__mpn_mul_1): Do not use BP_SYM.
10127 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10129 (PARMS): Do not use macros from bp-asm.h.
10132 (__mpn_rshift): Do not use BP_SYM.
10133 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10135 (PARMS): Do not use macros from bp-asm.h.
10138 (strchr): Likewise. Do not use BP_SYM.
10139 (index): Do not use BP_SYM in weak_alias.
10140 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10142 (PARMS): Do not use macros from bp-asm.h.
10145 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
10146 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10148 (PARMS): Do not use macros from bp-asm.h.
10149 (strlen): Do not use BP_SYM.
10150 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10152 (PARMS): Do not use macros from bp-asm.h.
10156 (__mpn_sub_n): Do not use BP_SYM.
10157 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10159 (PARMS): Do not use macros from bp-asm.h.
10162 (__mpn_submul_1): Do not use BP_SYM.
10163 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10165 (PARMS): Do not use macros from bp-asm.h.
10169 (__mpn_add_n): Do not use BP_SYM.
10170 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10173 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10175 (PARMS): Do not use macros from bp-asm.h.
10178 (memcmp): Do not use BP_SYM.
10179 (bcmp): Do not use BP_SYM in weak_alias.
10180 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10182 (PARMS): Do not use macros from bp-asm.h.
10186 (memcpy): Likewise. Do not use BP_SYM.
10187 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10189 (PARMS): Do not use macros from bp-asm.h.
10193 (memmove): Likewise. Do not use BP_SYM.
10194 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10196 (PARMS): Do not use macros from bp-asm.h.
10200 (__mempcpy): Likewise. Do not use BP_SYM.
10201 (mempcpy): Do not use BP_SYM in weak_alias.
10202 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10204 (PARMS): Do not use macros from bp-asm.h.
10207 [!BZERO_P] (CHR): Likewise.
10208 (memset): Likewise. Do not use BP_SYM.
10209 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10211 (PARMS): Do not use macros from bp-asm.h.
10213 (strcmp): Do not use BP_SYM.
10214 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10216 (PARMS): Do not use macros from bp-asm.h.
10219 [USE_AS_STRTOK_R] (SAVE): Likewise.
10220 (FUNCTION): Likewise. Do not use BP_SYM.
10221 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10223 (strtok_r): Likewise.
10224 (__GI___strtok_r): Likewise.
10225 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10226 (PARMS): Do not use macros from bp-asm.h.
10229 (__mpn_lshift): Do not use BP_SYM.
10230 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10231 (PARMS): Do not use macros from bp-asm.h.
10234 (__memchr): Do not use BP_SYM.
10235 (memchr): Do not use BP_SYM in weak_alias.
10236 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10237 (PARMS): Do not use macros from bp-asm.h.
10240 (memcmp): Do not use BP_SYM.
10241 (bcmp): Do not use BP_SYM in weak_alias.
10242 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10243 (PARMS): Do not use macros from bp-asm.h.
10246 (__mpn_mul_1): Do not use BP_SYM.
10247 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10249 (PARMS): Do not use macros from bp-asm.h.
10252 (__rawmemchr): Do not use BP_SYM.
10253 (rawmemchr): Do not use BP_SYM in weak_alias.
10254 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10255 (PARMS): Do not use macros from bp-asm.h.
10258 (__mpn_rshift): Do not use BP_SYM.
10259 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10260 (PARMS): Do not use macros from bp-asm.h.
10261 (SIGMSK): Likewise.
10262 (__sigsetjmp): Likewise. Do not use BP_SYM.
10263 * sysdeps/i386/start.S: Do not include "bp-sym.h".
10264 (_start): Do not use BP_SYM.
10265 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10266 (PARMS): Do not use macros from bp-asm.h.
10269 (__stpcpy): Likewise. Do not use BP_SYM.
10270 (stpcpy): Do not use BP_SYM in weak_alias.
10271 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10273 (PARMS): Do not use macros from bp-asm.h.
10277 (__stpncpy): Likewise. Do not use BP_SYM.
10278 (stpncpy): Do not use BP_SYM in weak_alias.
10279 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10280 (PARMS): Do not use macros from bp-asm.h.
10283 (strchr): Likewise. Do not use BP_SYM.
10284 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10286 (PARMS): Do not use macros from bp-asm.h.
10289 (__strchrnul): Likewise. Do not use BP_SYM.
10290 (strchrnul): Do not use BP_SYM in weak_alias.
10291 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
10293 (PARMS): Do not use macros from bp-asm.h.
10295 (strcspn): Do not use BP_SYM.
10296 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10298 (PARMS): Do not use macros from bp-asm.h.
10301 (strpbrk): Likewise. Do not use BP_SYM.
10302 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
10304 (PARMS): Do not use macros from bp-asm.h.
10307 (strrchr): Likewise. Do not use BP_SYM.
10308 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10309 (PARMS): Do not use macros from bp-asm.h.
10311 (strspn): Do not use BP_SYM.
10312 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10313 (PARMS): Do not use macros from bp-asm.h.
10317 (FUNCTION): Likewise. Do not use BP_SYM.
10318 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10320 (strtok_r): Likewise.
10321 (__GI___strtok_r): Likewise.
10322 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10323 (PARMS): Do not use macros from bp-asm.h.
10327 (__mpn_sub_n): Do not use BP_SYM.
10328 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10330 (PARMS): Do not use macros from bp-asm.h.
10333 (__mpn_submul_1): Do not use BP_SYM.
10334 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10336 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10338 (PARMS): Do not use macros from bp-asm.h.
10343 (__clone): Do not use BP_SYM.
10344 (clone): Do not use BP_SYM in weak_alias.
10345 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10347 (PARMS): Do not use macros from bp-asm.h.
10349 (__mmap64): Do not use BP_SYM.
10350 (mmap64): Do not use BP_SYM in weak_alias.
10351 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10352 <bp-sym.h> and <bp-asm.h>.
10353 (PARMS): Do not use macros from bp-asm.h.
10354 (__posix_fadvise64_l64): Do not use BP_SYM.
10355 * sysdeps/unix/sysv/linux/i386/semtimedop.S
10356 (PARMS): Do not use macros from bp-asm.h.
10358 (semtimedop): Do not use BP_SYM.
10359 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10362 2013-02-21 Allan McRae <allan@archlinux.org>
10364 * manual/message.texi (Charset conversion in gettext):
10365 Move @end statement to beginning of line.
10367 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10369 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10371 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10374 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10375 (denorm): Likewise.
10376 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10379 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10381 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10382 tail-call to the resolved function if pltexit isn't needed.
10384 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10386 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10387 or Y being zero as being unlikely.
10388 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10391 2013-02-20 Carlos O'Donell <carlos@redhat.com>
10393 * manual/nss.texi (System Databases and Name Service Switch):
10394 Remove frobnicate @pxref.
10396 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10398 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10399 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10401 2013-02-20 Petr Machata <pmachata@redhat.com>
10403 * elf/elf.h (R_ARM_TARGET1): New macro.
10404 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10405 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10406 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10407 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10408 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10409 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10410 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10411 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10412 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10413 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10414 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10415 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10416 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10417 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10418 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10419 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10420 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10421 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10422 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10423 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10424 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10425 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10426 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10427 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10428 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10429 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10430 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10431 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10432 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10433 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10434 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10435 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10436 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10437 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10438 (R_ARM_THM_GOT_BREL12): Likewise.
10439 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10440 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10441 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10442 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10443 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10444 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10445 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10446 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10447 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10449 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10451 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10452 __attribute_used__ to __attribute__ ((unused)).
10454 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10456 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10458 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10459 comment formatting.
10460 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10462 2013-02-19 Joseph Myers <joseph@codesourcery.com>
10465 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10467 (ENTER): Remove both macro definitions.
10469 (CHECK_BOUNDS_LOW): Likewise.
10470 (CHECK_BOUNDS_HIGH): Likewise.
10471 (CHECK_BOUNDS_BOTH): Likewise.
10472 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10473 (RETURN_BOUNDED_POINTER): Likewise.
10474 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10475 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10476 (POP_ERRNO_LOCATION_RETURN): Likewise.
10477 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10478 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10479 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10481 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10482 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10483 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10484 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10485 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10486 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10487 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10488 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10489 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10490 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10491 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10492 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10493 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10494 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10496 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10497 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10499 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10500 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10501 * sysdeps/i386/i586/memset.S (memset): Likewise.
10502 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10503 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10504 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10506 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10507 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10508 Change uses of L(2) to L(out).
10509 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10510 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10511 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10512 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10513 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10515 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10516 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10518 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10519 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10520 (RETURN): Do not use macro LEAVE.
10521 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10522 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10523 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10524 * sysdeps/i386/i686/memset.S (memset): Likewise.
10525 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10526 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10527 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10528 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10530 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10531 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10532 L(1_2) and L(1_3) into L(1).
10533 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10534 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10535 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10536 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10537 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10538 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10539 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10540 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10541 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10543 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10544 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10545 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10546 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10547 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10548 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10549 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10550 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10551 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10552 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10553 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10554 * sysdeps/i386/strspn.S (strspn): Likewise.
10555 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10557 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10558 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10559 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10560 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10561 L(1_3) into L(1_1).
10562 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10563 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10564 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10566 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10568 2013-02-19 Jakub Jelinek <jakub@redhat.com>
10570 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10573 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10575 * math/atest-exp.c (exp_mpn): Remove ROUND.
10576 * math/atest-exp2.c (exp_mpn): Likewise.
10577 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10579 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10580 * stdlib/tst-tls-atexit-lib.c: Likewise.
10581 * stdlib/tst-tls-atexit.c: Likewise.
10583 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10585 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10586 and __attribute_alloc_size__.
10588 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10590 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10591 __attribute_alloc_size__.
10592 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10593 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10595 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10597 * include/programs/xmalloc.h: New file.
10598 * catgets/gencat.c: Include it.
10599 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10600 * elf/pldd.c: Likewise.
10601 * iconv/iconv_charmap.c: Likewise.
10602 * iconv/iconvconfig.c: Likewise.
10603 * iconv/strtab.c: Likewise.
10604 * locale/programs/locale.c: Likewise.
10605 * locale/programs/localedef.h: Likewise.
10606 * locale/programs/simple-hash.c: Likewise.
10607 * nscd/nscd.h: Likewise.
10608 * nss/makedb.c: Likewise.
10609 * sysdeps/generic/ldconfig.h: Likewise.
10611 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10613 * Versions.def: Add GLIBC_2.18.
10614 * include/link.h (struct link_map): New member l_tls_dtor_count.
10615 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10616 (__call_tls_dtors): Likewise.
10617 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10618 __cxa_thread_atexit_impl.
10619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10623 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10625 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10627 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10628 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10630 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10632 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10633 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10635 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10636 (tests): Add test case tst-tls-atexit.
10637 (modules-names): Add shared library for tst-tls-atexit.
10638 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
10639 (GLIBC_PRIVATE): Add __call_tls_dtors.
10640 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10642 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10643 * stdlib/tst-tls-atexit.c: New test case.
10644 * stdlib/tst-tls-atexit-lib.c: New test case.
10646 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
10648 * elf/Versions (ld): Add _dl_find_dso_for_object.
10649 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10650 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10651 (dl_open_worker): Use _dl_find_dso_for_object.
10652 * elf/dl-sym.c (do_sym): Likewise.
10653 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10655 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10657 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10658 Syntactic changes only.
10659 (_dl_runtime_profile): Do a tail-call to the resolved function.
10661 2013-02-17 Joseph Myers <joseph@codesourcery.com>
10664 * sysdeps/x86_64/bp-asm.h: Remove file.
10665 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10666 <bp-sym.h> and <bp-asm.h>.
10667 (__clone): Do not use BP_SYM.
10668 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10669 <bp-sym.h> and <bp-asm.h>.
10670 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10671 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10673 (_setjmp): Do not use BP_SYM.
10674 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10676 (setjmp): Do not use BP_SYM.
10677 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10679 (mempcpy): Do not use BP_SYM in weak_alias.
10680 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10682 (strchr): Do not use BP_SYM.
10683 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10685 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10686 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10687 (_start): Do not use BP_SYM.
10688 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10690 (strcat): Do not use BP_SYM.
10691 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10693 (STRCMP): Do not use BP_SYM.
10694 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10696 (STRCPY): Do not use BP_SYM.
10697 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10699 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10701 (FUNCTION): Do not use BP_SYM.
10702 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10704 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10706 2013-02-17 Andreas Jaeger <aj@suse.de>
10708 * time/Versions: Sort entries.
10709 * string/Versions: Likewise.
10710 * resolv/Versions: Likewise.
10711 * posix/Versions: Likewise.
10712 * iconv/Versions: Likewise.
10713 * elf/Versions: Likewise.
10714 * wcsmbs/Versions: Likewise.
10716 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10718 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10719 loop termination condition.
10721 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10722 variable to calculate EZ.
10725 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10726 the lower precision input.
10728 2013-02-15 Joseph Myers <joseph@codesourcery.com>
10731 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10732 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10733 (run-via-rtld-prefix): Do not handle %-bp tests.
10734 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10735 (all-object-suffixes): Remove .ob.
10736 (bppfx): Remove variable.
10737 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10738 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10739 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10740 [$(build-bounded) = yes] (libtype.ob): Likewise.
10741 * Makerules (elide-routines.ob): Remove variable.
10742 (do-tests-clean): Do not handle *-bp.out.
10743 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10744 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10745 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10746 (tests): Do not include $(tests-bp.out).
10747 (xtests): Do not include $(xtests-bp.out).
10748 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10749 [$(build-bounded) = yes] ($(addprefix
10750 $(objpfx),$(binaries-bounded))): Remove rule.
10751 ($(objpfx)%-bp.out): Remove rule.
10752 * config.make.in (build-bounded): Remove variable.
10753 * crypt/Makefile [$(build-bounded) = yes]
10754 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10755 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10756 append to variable.
10757 [$(build-bounded) = yes] (install-lib): Likewise.
10758 [$(build-bounded) = yes] (generated): Likewise.
10759 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10761 * intl/Makefile [$(build-bounded) = yes]
10762 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10763 * math/Makefile [$(build-bounded) = yes]
10764 ($(tests:%=$(objpfx)%-bp): Likewise.
10765 * misc/Makefile [$(build-bounded) = yes]
10766 ($(objpfx)tst-tsearch-bp): Likewise.
10767 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10768 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10770 * string/Makefile (o-objects.ob): Remove variable.
10771 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10772 (CFLAGS-.ob): Remove variable.
10773 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10774 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10775 both definitions of variable.
10776 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10777 (ASFLAGS-.ob): Remove variable.
10779 2013-02-14 Joseph Myers <joseph@codesourcery.com>
10782 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10783 Remove __BOUNDED_POINTERS__ from condition.
10784 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10785 * string/bits/string2.h [!__NO_STRING_INLINES &&
10786 !__BOUNDED_POINTERS__]: Likewise.
10787 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10789 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10790 Remove conditional code.
10791 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10792 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10793 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10797 * csu/libc-start.c: Do not include <bp-sym.h>.
10798 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10799 * elf/dl-open.c: Do not include <bp-sym.h>.
10800 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10801 * math/fegetenv.c: Do not include <bp-sym.h>.
10802 (fegetenv): Do not use BP_SYM in versioned symbols.
10803 * nptl/sysdeps/pthread/bits/libc-lockP.h
10804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10807 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10809 (__pthread_mutex_destroy): Likewise.
10810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10811 (__pthread_mutex_lock): Likewise.
10812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10813 (__pthread_mutex_trylock): Likewise.
10814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10815 (__pthread_mutex_unlock): Likewise.
10816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10817 (__pthread_mutexattr_init): Likewise.
10818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10819 (__pthread_mutexattr_destroy): Likewise.
10820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10821 (__pthread_mutexattr_settype): Likewise.
10822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10823 (__pthread_rwlock_init): Likewise.
10824 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10825 (__pthread_rwlock_destroy): Likewise.
10826 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10827 (__pthread_rwlock_rdlock): Likewise.
10828 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10829 (__pthread_rwlock_tryrdlock): Likewise.
10830 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10831 (__pthread_rwlock_wrlock): Likewise.
10832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10833 (__pthread_rwlock_trywrlock): Likewise.
10834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10835 (__pthread_rwlock_unlock): Likewise.
10836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10837 (__pthread_key_create): Likewise.
10838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10839 (__pthread_setspecific): Likewise.
10840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10841 (__pthread_getspecific): Likewise.
10842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10845 (_pthread_cleanup_push_defer): Likewise.
10846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10847 (_pthread_cleanup_pop_restore): Likewise.
10848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10849 (pthread_setcancelstate): Likewise.
10850 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10852 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10853 (memchr): Do not use BP_SYM in weak_alias.
10854 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10855 (fegetenv): Do not use BP_SYM in versioned symbols.
10856 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10857 (fesetenv): Do not use BP_SYM in versioned symbols.
10858 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10859 (feupdateenv): Do not use BP_SYM in versioned symbols.
10860 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10861 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10862 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10863 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10864 (open64): Do not use BP_SYM in weak_alias.
10865 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10866 (fegetenv): Do not use BP_SYM in versioned symbols.
10867 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10868 (fesetenv): Do not use BP_SYM in versioned symbols.
10869 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10870 (feupdateenv): Do not use BP_SYM in versioned symbols.
10871 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10872 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10873 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10874 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10875 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10876 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10877 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10879 (__libc_start_main): Do not use BP_SYM.
10881 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10883 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10884 redundant return line.
10886 (denorm): Likewise.
10887 (dbl_mp): Likewise.
10888 (sub_magnitudes): Likewise.
10894 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10896 (denorm): Likewise.
10897 (dbl_mp): Likewise.
10898 (sub_magnitudes): Likewise.
10905 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10907 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10908 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10911 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10912 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10913 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10914 of __mul for squares.
10915 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10917 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10919 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10920 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10922 2013-02-13 Joseph Myers <joseph@codesourcery.com>
10925 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10927 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10928 prototype or function definition. Rename ubp_* variables and
10929 parameters. Remove argv definitions conditional on
10930 [__BOUNDED_POINTERS__].
10931 * debug/backtrace.c (__backtrace): Do not use __unbounded.
10932 * elf/dl-runtime.c (_dl_fixup): Likewise.
10933 * include/set-hooks.h (RUN_HOOK): Likewise.
10934 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10936 * string/strcpy.c (strcpy): Do not use __unbounded.
10937 * sysdeps/generic/frame.h (struct layout): Likewise.
10938 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10939 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10940 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10941 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10942 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10943 (__backtrace): Likewise.
10944 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10946 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10947 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10948 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10950 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10951 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10952 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10953 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10954 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10955 Do not use __unbounded.
10956 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10957 Rename __unboundedrlimits parameter to rlimits in prototype.
10958 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10959 Do not use __unbounded.
10960 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10961 not use __ptrvalue.
10962 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10963 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10964 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10965 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10966 __ptrvalue or __unbounded.
10967 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10968 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10970 (__new_msgctl): Do not use __ptrvalue.
10971 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
10973 (__libc_msgrcv): Do not use __ptrvalue.
10974 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
10975 startup_info): Do not use __unbounded.
10976 (__libc_start_main): Likewise. Rename ubp_* variables and
10977 parameters. Remove argv definitions conditional on
10978 [__BOUNDED_POINTERS__].
10979 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
10981 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
10983 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
10985 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
10987 (__new_shmctl): Do not use __ptrvalue.
10988 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
10989 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
10991 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
10992 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
10993 (__libc_sigaction): Likewise.
10994 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
10995 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
10997 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
10999 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
11001 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
11003 * string/mempcpy.c: Implement by calling memcpy.
11005 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11007 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11009 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11012 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11013 values in the mantissa.
11015 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11016 minimize writes to Z.
11017 (sub_magnitudes): Simplify code a bit.
11019 2013-02-12 Roland McGrath <roland@hack.frob.com>
11021 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11022 from the message. The linker prefixes all warnings with that already.
11024 2013-02-12 Andreas Schwab <schwab@suse.de>
11027 * posix/regexec.c (extend_buffers): Add parameter min_len.
11028 (check_matching): Pass minimum needed length.
11029 (clean_state_log_if_needed): Likewise.
11030 (get_subexp): Likewise.
11031 * posix/Makefile (tests): Add bug-regex34.
11032 (bug-regex34-ENV): Define.
11033 * posix/bug-regex34.c: New file.
11036 * posix/regcomp.c (parse_bracket_exp): When looking up collating
11037 elements compare against the byte sequence of it, not its name.
11038 * posix/Makefile (tests): Add bug-regex35.
11039 (bug-regex35-ENV): Define.
11040 * posix/bug-regex35.c: New file.
11042 2013-02-11 Tom de Vries <tom@codesourcery.com>
11044 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
11046 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11047 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11048 (CHECK_EOL): Add undef.
11050 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
11052 * bits/stdlib-bsearch.h: New file.
11053 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
11054 * stdlib/stdlib.h: Likewise.
11056 2013-02-11 Roland McGrath <roland@hack.frob.com>
11058 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11059 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11061 * manual/search.texi (Array Search Function): Add missing const in
11063 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11064 declaration to use rlim_t.
11065 (Basic Scheduling Functions): Remove erroneous const from
11066 sched_getparam prototype. Remove erroneous * from
11067 sched_get_priority_max and sched_get_priority_min prototypes.
11068 (Resource Usage): Fix summary @comment on vtimes to refer to
11069 sys/vtimes.h rather than vtimes.h.
11070 Add missing *s in vtimes prototype.
11071 (Limits on Resources): Fix ulimit prototype to return long int.
11072 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11073 prototypes to use long int rather than double.
11074 (BSD Random): Fix initstate and setstate to use char *, not void *.
11075 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11076 prototype to make second argument 'struct aiocb64 *const[]'.
11077 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11078 (Status of AIO Operations): Remove erroneous const in aio_return and
11079 aio_return64 prototypes.
11080 (Synchronizing I/O): Fix sync prototype to return void.
11081 * manual/startup.texi (Suboptions): Remove an erroneous const in
11082 getsubopt prototype.
11083 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11084 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11085 use size_t rather than int.
11086 (Scanning All Users): Likewise for getpwent_r.
11087 (Setting Groups): Add missing const to setgroups prototype.
11088 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11089 * manual/socket.texi (Host Names): Fix gethostbyaddr and
11090 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11091 'const void *' rather than 'const char *'.
11092 (Host Address Functions): Likewise for inet_ntop.
11093 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11094 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11095 ssize_t for return value.
11096 (Sending Data): Likewise for send, sendto, sendmsg.
11097 (Socket Option Functions): Add a missing const in setsockopt prototype.
11098 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11099 use wchar_t for the argument.
11100 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11101 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11103 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11104 double/float/long double for second argument.
11105 Fix return types of significand, significandf, significandl.
11106 * manual/filesys.texi (Setting Permissions): Use mode_t for second
11107 argument in fchmod prototype.
11108 (File Owner): Use uid_t and gid_t in fchown prototype.
11109 (File Times): Add const to utimes, futimes, and lutimes prototypes.
11110 (Making Special Files): Use mode_t and dev_t in mknod prototype.
11111 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11112 use 'const struct dirent **' as argument types to CMP function pointer
11114 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11115 (File Times): Fix summary magic @comment for struct utimbuf and utime
11116 to refer to utime.h, not time.h.
11117 * manual/string.texi (Argz Functions): Add missing const in
11118 argz_extract and argz_next prototypes.
11119 (Finding Tokens in a String): Likewise for basename.
11120 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11121 (Copying and Concatenation): Fix typo in wmemmove prototype.
11122 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11123 (Signal Stack): Remove erroneous const in sigstack prototype.
11124 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11126 (Simple Calendar Time): Likewise for stime.
11127 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11129 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11130 say sys/sysctl.h instead.
11131 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11132 and vsyslog prototypes.
11134 2013-02-11 Tom de Vries <tom@codesourcery.com>
11136 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11139 2013-02-11 Roland McGrath <roland@hack.frob.com>
11141 * misc/sys/mman.h: Fix typo in mremap comment.
11143 2013-02-08 Roland McGrath <roland@hack.frob.com>
11145 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11146 the '\0' terminator.
11148 2013-02-08 Joseph Myers <joseph@codesourcery.com>
11151 * debug/segfault.c: Don't include <bp-checks.h>.
11152 * sysdeps/generic/bp-checks.h: Remove file.
11153 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11154 (__GETDENTS): Don't use CHECK_N.
11155 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11156 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11157 (__getgroups): Don't use CHECK_N.
11158 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11159 (setgroups): Don't use CHECK_N.
11160 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11161 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11162 (__libc_msgrcv): Don't use CHECK_N.
11163 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11164 (__libc_msgsnd): Don't use CHECK_N.
11165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11167 (__libc_pread): Don't use CHECK_N.
11168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11169 include <bp-checks.h>.
11170 (__libc_pread64): Don't use CHECK_N.
11171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11172 include <bp-checks.h>.
11173 (__libc_pwrite): Don't use CHECK_N.
11174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11175 include <bp-checks.h>.
11176 (__libc_pwrite64): Don't use CHECK_N.
11177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11179 (__libc_pread): Don't use CHECK_N.
11180 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11181 include <bp-checks.h>.
11182 (__libc_pread64): Don't use CHECK_N.
11183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11184 include <bp-checks.h>.
11185 (__libc_pwrite): Don't use CHECK_N.
11186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11187 include <bp-checks.h>.
11188 (__libc_pwrite64): Don't use CHECK_N.
11189 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11190 (do_pread): Don't use CHECK_N.
11191 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11192 (do_pread64): Don't use CHECK_N.
11193 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11194 (do_pwrite): Don't use CHECK_N.
11195 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11196 (do_pwrite64): Don't use CHECK_N.
11197 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11198 (__libc_readv): Don't use CHECK_N.
11199 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11200 (semop): Don't use CHECK_N.
11201 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11203 (semtimedop): Don't use CHECK_N.
11204 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11205 (__libc_pread): Don't use CHECK_N.
11206 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11208 (__libc_pread64): Don't use CHECK_N.
11209 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11211 (__libc_pwrite): Don't use CHECK_N.
11212 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11214 (__libc_pwrite64): Don't use CHECK_N.
11215 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11217 (__libc_msgrcv): Don't use CHECK_N.
11218 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11219 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
11220 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11221 (__libc_writev): Don't use CHECK_N.
11223 2013-02-08 Roland McGrath <roland@hack.frob.com>
11225 * string/strcpy.c: Removed unused variable.
11227 * Makeconfig (+sysdep-includes): Define with := rather than =.
11228 Use an existing include/ subdir of each sysdeps dir before it.
11230 2013-02-08 Carlos O'Donell <carlos@redhat.com>
11232 * nscd/connection.c (register_traced_file): Comment function.
11233 [HAVE_INOTIFY] (union __inev): Define.
11234 [HAVE_INOTIFY] (inotify_check_files): New function.
11235 [HAVE_INOTIFY] (clear_db_cache): Likewise.
11236 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11238 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11240 2013-02-08 Carlos O'Donell <carlos@redhat.com>
11242 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11243 loaded if not already and that a failure is permanent.
11245 2013-02-08 Carlos O'Donell <carlos@redhat.com>
11248 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11249 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11251 2013-02-08 Joseph Myers <joseph@codesourcery.com>
11254 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11255 (CHECK_1_NULL_OK): Likewise.
11256 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11257 (__fxstat): Do not use CHECK_1.
11258 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11260 (___fxstat64): Do not use CHECK_1.
11261 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11263 (__fxstatat): Do not use CHECK_1.
11264 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11266 (__fxstatat64): Do not use CHECK_1.
11267 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11269 (__fxstat): Do not use CHECK_1.
11270 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11272 (__fxstatat): Do not use CHECK_1.
11273 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11275 (__getresgid): Do not use CHECK_1.
11276 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11278 (__getresuid): Do not use CHECK_1.
11279 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11281 (__lxstat): Do not use CHECK_1.
11282 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11284 (__old_msgctl): Do not use CHECK_1.
11285 (__new_msgctl): Likewise.
11286 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11288 (__new_setrlimit): Do not use CHECK_1.
11289 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11291 (__old_shmctl): Do not use CHECK_1.
11292 (__new_shmctl): Likewise.
11293 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11295 (__xstat): Do not use CHECK_1.
11296 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
11297 (__lxstat): Do not use CHECK_1.
11298 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
11300 (___lxstat64): Do not use CHECK_1.
11301 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
11302 (__old_msgctl): Do not use CHECK_1.
11303 (__new_msgctl): Likewise.
11304 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
11306 (__gettimeofday): Do not use CHECK_1.
11307 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11308 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11309 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11311 (__gettimeofday): Do not use CHECK_1.
11312 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11313 (__old_shmctl): Do not use CHECK_1_NULL_OK.
11314 (__new_shmctl): Do not use CHECK_1.
11315 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11317 (do_sigtimedwait): Do not use CHECK_1.
11318 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11320 (do_sigwaitinfo): Do not use CHECK_1.
11321 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11323 (msgctl): Do not use CHECK_1.
11324 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11326 (shmctl): Do not use CHECK_1.
11327 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11328 (ustat): Do not use CHECK_1.
11329 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11331 (__fxstat): Do not use CHECK_1.
11332 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11334 (__fxstatat): Do not use CHECK_1.
11335 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11337 (__lxstat): Do not use CHECK_1.
11338 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11340 (__xstat): Do not use CHECK_1.
11341 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11342 (__xstat): Do not use CHECK_1.
11343 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11344 (___xstat64): Do not use CHECK_1.
11347 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11349 (CHECK_BOUNDS_HIGH): Likewise.
11350 * string/strcpy.c: Do not include <bp-checks.h>.
11351 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11353 2013-02-07 Roland McGrath <roland@hack.frob.com>
11355 * nscd/nscd-client.h (__nscd_drop_map_ref):
11356 Add __attribute__ ((unused)).
11357 * nis/nss-nisplus.h (niserr2nss): Likewise.
11359 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11360 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11362 * csu/libc-tls.c (init_static_tls, init_slotinfo):
11363 Remove inline keyword.
11364 * include/rounding-mode.h (round_away): Likewise.
11365 * libio/wfileops.c (adjust_wide_data): Likewise.
11366 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11367 (__m128i_strloadu_tolower): Likewise.
11368 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11369 (__m128i_strloadu_tolower): Likewise.
11370 * time/mktime.c (ydhms_diff): Likewise.
11371 * locale/elem-hash.h (elem_hash): Likewise.
11372 * locale/setlocale.c (setdata): Likewise.
11373 * posix/regex_internal.h (re_string_char_size_at): Likewise.
11374 (re_string_wchar_at): Likewise.
11375 (bitset_not, bitset_merge, bitset_mask): Likewise.
11376 [!(__GNUC__ > 3)] (inline): Remove macro.
11377 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11378 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11379 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11380 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11381 * string/memcmp.c (memcmp_bytes): Likewise.
11382 * locale/programs/locarchive.c (compute_hashval): Likewise.
11383 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11384 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11385 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11386 * nss/getent.c (print_rpc, print_protocols): Likewise.
11387 (print_passwd, print_group, print_aliases): Likewise.
11388 * nis/nss-nisplus.h (niserr2nss): Likewise.
11389 * nscd/connections.c (restart_p): Likewise.
11390 Change return type to bool.
11392 2013-02-05 Roland McGrath <roland@hack.frob.com>
11394 * Makeconfig (all-Depend-files): Add existing
11395 $(sorted-subdirs:=/Depend) files.
11396 (all-subdirs): Remove nss.
11397 * sysdeps/unix/inet/Subdirs: Add it here instead.
11398 * hesiod/Depend: New file.
11400 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11401 instead of calling alloca.
11403 * io/lseek.c (__lseek): Rename to __libc_lseek.
11404 Define __lseek as an alias.
11406 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11408 2013-02-04 Carlos O'Donell <carlos@redhat.com>
11410 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11411 else clause and remove check for non-standard endianness.
11413 2013-02-04 David S. Miller <davem@davemloft.net>
11415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11417 2013-02-04 Joseph Myers <joseph@codesourcery.com>
11420 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11421 (__ubp_memchr): Remove prototype.
11422 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11423 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11424 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11425 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11426 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11428 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11429 (__ubp_memchr): Likewise.
11430 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11431 (__ubp_memchr): Likewise.
11432 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11433 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11434 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11435 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11437 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11438 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11439 (__getcwd): Do not use CHECK_STRING.
11440 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11442 (__real_chown): Do not use CHECK_STRING.
11443 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11445 (fchownat): Do not use CHECK_STRING.
11446 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11448 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11450 (__lchown): Do not use CHECK_STRING.
11451 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11452 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11453 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11454 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11456 include <bp-checks.h>.
11457 (truncate64): Do not use CHECK_STRING.
11458 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11460 (__real_chown): Do not use CHECK_STRING.
11461 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11463 (__lchown): Do not use CHECK_STRING.
11464 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11466 (__chown): Do not use CHECK_STRING.
11467 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11469 (truncate64): Do not use CHECK_STRING.
11470 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11472 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11473 (__xmknod): Do not use CHECK_STRING.
11474 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11476 (__xmknodat): Do not use CHECK_STRING.
11477 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11478 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11480 2013-02-04 Andreas Schwab <schwab@suse.de>
11483 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11484 * include/netdb.h: Likewise for h_errno.
11485 * elf/tst-stackguard1.c: Include <tls.h>.
11487 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11489 * elf/link.h (struct link_map): Extend the l_addr comment.
11490 * include/link.h (struct link_map): Likewise.
11492 2013-02-01 Joseph Myers <joseph@codesourcery.com>
11495 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11496 (BOUNDED_1): Remove macro.
11497 * debug/backtrace.c: Don't include <bp-checks.h>.
11498 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11499 (__backtrace): Likewise.
11500 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11502 (__backtrace): Don't use BOUNDED_1.
11503 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11505 (__backtrace): Don't use BOUNDED_1.
11506 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11507 (__backtrace): Don't use BOUNDED_1.
11508 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11509 (shmat): Don't use BOUNDED_N.
11511 2013-01-31 Joseph Myers <joseph@codesourcery.com>
11514 * sysdeps/generic/bp-start.h: Remove file.
11515 * csu/libc-start.c: Don't include <bp-start.h>.
11516 (LIBC_START_MAIN): Set up __environ directly instead of using
11517 INIT_ARGV_and_ENVIRON.
11518 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11522 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11524 (CHECK_FCNTL): Likewise.
11525 (CHECK_N_PAGES): Likewise.
11528 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11530 (CHECK_SIGSET_NULL_OK): Likewise.
11531 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11533 (sigpending): Don't use CHECK_SIGSET.
11534 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11536 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11537 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11539 (do_sigsuspend): Don't use CHECK_SIGSET.
11540 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11542 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11543 (do_sigwait): Don't use CHECK_SIGSET.
11544 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11546 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11547 include <bp-checks.h>.
11548 (sigpending): Don't use CHECK_SIGSET.
11549 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11550 include <bp-checks.h>.
11551 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11552 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11554 (sigpending): Don't use CHECK_SIGSET.
11555 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11557 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11560 * sysdeps/generic/bp-semctl.h: Remove file.
11561 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11562 <bp-checks.h> and <bp-semctl.h>.
11563 (__old_semctl): Don't use CHECK_SEMCTL.
11564 (__new_semctl): Likewise.
11565 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11567 (__old_semctl): Don't use CHECK_SEMCTL.
11568 (__new_semctl): Likewise.
11569 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11570 <bp-checks.h> and <bp-semctl.h>.
11571 (__old_semctl): Don't use CHECK_SEMCTL.
11572 (__new_semctl): Likewise.
11573 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11574 <bp-checks.h> and <bp-semctl.h>.
11575 (semctl): Don't use CHECK_SEMCTL.
11578 * Makerules (elide-bp-thunks): Remove variable.
11579 (elide-routines.oS): Don't use $(elide-bp-thunks).
11580 (elide-routines.os): Likewise.
11581 (elide-routines.o): Likewise.
11582 (elide-routines.op): Likewise.
11583 (elide-routines.og): Likewise.
11584 (objects): Don't use $(bp-thunks).
11585 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11587 (common-generated): Do not add s-proto-bp.d.
11588 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11591 Do not generate makefile rules for bounded-pointer thunks.
11592 * sysdeps/generic/bp-thunks.h: Remove file.
11593 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11594 * sysdeps/unix/s-proto-bp.S: Likewise.
11597 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11598 parts of result separately when argument is not close to line from
11599 -i to i and one part of argument is small.
11600 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11601 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11602 * math/libm-test.inc (cacos_test): Add more tests.
11603 (casin_test): Likewise.
11604 (casinh_test): Likewise.
11605 * sysdeps/i386/fpu/libm-test-ulps: Update.
11606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11608 2013-01-31 David S. Miller <davem@davemloft.net>
11610 * po/de.po: Update from translation team.
11612 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11614 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11616 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11618 * configure.in (_AC_PROG_CC_C89): New definition.
11619 * configure: Regenerate.
11621 * configure.in (AC_PROG_CPP): New definition.
11622 * configure: Regenerate.
11624 2013-01-23 Joseph Myers <joseph@codesourcery.com>
11626 * debug/tst-backtrace.h: New file.
11627 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11628 (ret): Remove variable.
11630 (FAIL): Remove macro.
11631 (NO_INLINE): Likewise.
11632 (fn1): Use match function instead of strstr.
11633 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11634 (ret): Remove variable.
11636 (FAIL): Remove macro.
11637 (NO_INLINE): Likewise.
11638 (fn): Use match function instead of strstr.
11639 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11640 (ret): Remove variable.
11642 (FAIL): Remove macro.
11643 (NO_INLINE): Likewise.
11644 (handle_signal): Use match function instead of strstr.
11645 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11646 (ret): Remove variable.
11648 (FAIL): Remove macro.
11649 (NO_INLINE): Likewise.
11650 (handle_signal): Use match function instead of strstr.
11652 2013-01-23 Roland McGrath <roland@hack.frob.com>
11654 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11656 2013-01-23 David S. Miller <davem@davemloft.net>
11658 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11659 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11660 argument of CAS if possible.
11661 * sysdeps/sparc/sparc64/bits/atomic.h
11662 (__arch_compare_and_exchange_val_32_acq): Likewise.
11663 (__arch_compare_and_exchange_val_64_acq): Likewise.
11665 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11667 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11668 * sysdeps/posix/ulimit.c: ... this.
11669 Include <limits.h>.
11670 * sysdeps/unix/bsd/ulimit.c: Remove file.
11672 2013-01-23 Adam Conrad <adconrad@0c3.net>
11674 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11675 (LDFLAGS-tst-array5): Likewise.
11677 2013-01-23 Joseph Myers <joseph@codesourcery.com>
11680 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11681 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11682 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11683 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11685 2013-01-21 David S. Miller <davem@davemloft.net>
11687 * sysdeps/sparc/backtrace.c: New file.
11688 * sysdeps/sparc/sparc32/backtrace.h: New file.
11689 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11690 * sysdeps/sparc/sparc64/backtrace.h: New file.
11691 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11692 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11695 2013-01-21 Andreas Schwab <schwab@suse.de>
11698 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11701 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11703 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11705 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11707 2013-01-18 Joseph Myers <joseph@codesourcery.com>
11708 Mark Mitchell <mark@codesourcery.com>
11709 Tom de Vries <tom@codesourcery.com>
11710 Paul Pluzhnikov <ppluzhnikov@google.com>
11712 * debug/tst-backtrace2.c: New file.
11713 * debug/tst-backtrace3.c: Likewise.
11714 * debug/tst-backtrace4.c: Likewise.
11715 * debug/tst-backtrace5.c: Likewise.
11716 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11717 (CFLAGS-tst-backtrace3.c): Likewise.
11718 (CFLAGS-tst-backtrace4.c): Likewise.
11719 (CFLAGS-tst-backtrace5.c): Likewise.
11720 (LDFLAGS-tst-backtrace2): Likewise.
11721 (LDFLAGS-tst-backtrace3): Likewise.
11722 (LDFLAGS-tst-backtrace4): Likewise.
11723 (LDFLAGS-tst-backtrace5): Likewise.
11724 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11725 tst-backtrace4 and tst-backtrace5.
11727 2013-01-18 Anton Blanchard <anton@samba.org>
11728 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11730 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11731 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11732 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11733 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11735 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11736 "+r" and remove output regs list as redundant. Add explicit inline
11737 asm to specify register of return val to work around compiler codegen
11738 bug. Remove (int) cast on return value. Add return type parameter to
11739 use in macro so that this macro does not truncate return value for
11741 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11742 pass to INTERNAL_VSYSCALL_NCS.
11743 (INLINE_VSYSCALL): Add 'long int' as return type to
11744 INTERNAL_VSYSCALL_NCS macro invocation.
11745 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11746 INTERNAL_VSYSCALL_NCS macro invocation.
11747 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11749 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11752 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11753 Fix application of SIMD FP exception mask.
11755 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11756 mp_no from a power of two.
11757 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11758 __mpexp_twomm1. Use __pow_mp.
11760 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11763 2013-01-17 David S. Miller <davem@davemloft.net>
11765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11767 2013-01-17 Joseph Myers <joseph@codesourcery.com>
11770 * include/complex.h: Condition contents on [!_COMPLEX_H].
11771 (__kernel_casinhf): New prototype.
11772 (__kernel_casinh): Likewise.
11773 (__kernel_casinhl): Likewise.
11774 * math/Makefile (libm_calls): Add k_casinh.
11775 * math/k_casinh.c: New file.
11776 * math/k_casinhf.c: Likewise.
11777 * math/k_casinhl.c: Likewise.
11778 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11779 finite nonzero arguments.
11780 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11781 finite nonzero arguments.
11782 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11783 finite nonzero arguments.
11784 * math/s_casinh.c: Do not include <float.h>.
11785 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11786 * math/s_casinhf.c: Do not include <float.h>.
11787 (__casinhf): Move code for finite nonzero arguments to
11789 * math/s_casinhl.c: Do not include <float.h>.
11790 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11792 (__casinhl): Move code for finite nonzero arguments to
11794 * math/libm-test.inc (cacos_test): Add more tests.
11795 * sysdeps/i386/fpu/libm-test-ulps: Update.
11796 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11798 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11800 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11801 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11802 [!HAVE_MREMAP]: Remove [defined linux] case.
11803 * malloc/arena.c: Do not include <malloc-sysdep.h>.
11805 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11807 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11809 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
11811 * elf/elf.h (R_386_SIZE32): New relocation.
11812 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11814 (elf_machine_rela): Likewise.
11815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11816 R_X86_64_SIZE64 and R_X86_64_SIZE32.
11818 2013-01-17 Joseph Myers <joseph@codesourcery.com>
11820 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11821 (FP_FAST_FMA): Do not define.
11822 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11823 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11824 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11825 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11826 !_SOFT_FLOAT]: Likewise.
11827 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11828 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11830 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11831 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11832 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11833 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11834 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11835 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11838 2013-01-16 Andreas Schwab <schwab@suse.de>
11841 * include/stdlib.h (__mktemp): Add declaration.
11842 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11843 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11845 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11847 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11849 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11850 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11851 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11853 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11854 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11856 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11858 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11859 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11860 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11862 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11863 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11865 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11867 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11869 2013-01-15 David S. Miller <davem@davemloft.net>
11871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11872 trunc{,f} to libm-sysdep_routes.
11873 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11877 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11881 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11882 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11883 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11884 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11885 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11886 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11887 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11888 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11891 nearbyint{,f} to libm-sysdep_routes.
11892 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11893 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11895 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11901 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11902 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11903 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11905 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11906 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11908 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11909 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11910 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11912 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11913 libc_feholdexcept and libc_fesetenv.
11915 2013-01-15 Mike Frysinger <vapier@gentoo.org>
11917 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11919 2013-01-14 David S. Miller <davem@davemloft.net>
11921 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11922 (SPARC_ASM_VIS2_IFUNC): Likewise.
11923 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11925 use of 'siam' instruction.
11926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11930 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11932 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11933 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11934 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11935 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11942 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11944 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11945 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11946 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11947 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11948 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11950 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11951 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11954 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11955 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11956 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11957 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11959 routines to libm-sysdep_routines.
11960 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11963 fdim/fdimf to libm-sysdep_routines.
11964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11971 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
11972 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
11973 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
11974 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
11975 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
11977 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11979 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
11980 to optimize copies.
11982 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
11983 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
11984 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
11987 local variable MPTWO.
11988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11991 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11993 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
11996 2013-01-13 Mike Frysinger <vapier@gentoo.org>
11998 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12000 2013-01-13 Mike Frysinger <vapier@gentoo.org>
12002 * manual/pattern.texi (glob_t): Document gl_flags.
12003 (glob64_t): Likewise.
12005 2013-01-11 David S. Miller <davem@davemloft.net>
12007 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12008 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12009 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
12010 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12011 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12012 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12013 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12014 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12015 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12016 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12017 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12018 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12019 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12021 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12022 sparc V9 rather than using V8 code.
12023 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12024 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12026 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12028 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12031 2013-01-11 Roland McGrath <roland@hack.frob.com>
12033 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12034 not in the main loop.
12035 * configure: Regenerated.
12037 2013-01-11 Joseph Myers <joseph@codesourcery.com>
12039 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12040 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12042 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
12043 [!__GLIBC_HAVE_LONG_LONG] case.
12044 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12045 condition to just #else.
12046 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12047 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12048 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12049 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12051 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12052 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12053 #elif condition to just #else.
12054 * sysdeps/unix/sysv/linux/sys/sysmacros.h
12055 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12056 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12057 #elif condition to just #else.
12059 2013-01-11 Steve Ellcey <sellcey@mips.com>
12061 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12062 (EF_MIPS_ARCH_64): Fix value.
12063 (EF_MIPS_ARCH_32R2): New.
12064 (EF_MIPS_ARCH_64R2): New.
12066 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
12068 * Makeconfig (+link-pie-before-libc): New.
12069 (+link-pie-after-libc): Likewise.
12070 (+link-pie-tests): Likewise.
12071 (+link-pie): Rewritten.
12072 (link-before-libc): Remove $(config-LDFLAGS).
12073 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12074 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12075 (config-LDFLAGS): Renamed to ...
12076 (rtld-LDFLAGS): This.
12077 (rtld-tests-LDFLAGS): New macro.
12078 (link-libc-rpath-link): Likewise.
12079 (link-libc-tests-rpath-link): Likewise.
12080 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12081 (link-libc): Prepand $(link-libc-rpath-link).
12082 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12083 (test-program-prefix): New macro.
12084 (test-via-rtld-prefix): Likewise.
12085 (test-program-cmd): Likewise.
12086 (host-test-program-cmd): Likewise.
12087 * Makefile ($(common-objpfx)testrun.sh): Replace
12088 $(run-program-prefix) with $(test-program-prefix).
12089 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12091 ($(common-objpfx)shlib.lds): Likewise.
12092 (build-module-helper): Likewise.
12093 ($(common-objpfx)format.lds): Likewise.
12094 * Rules (binaries-pie-tests): New.
12095 (binaries-pie-notests): Likewise.
12096 (binaries-pie): Rewritten.
12097 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12098 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12099 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12100 (make-test-out): Replace $(host-built-program-cmd) with
12101 $(host-test-program-cmd).
12102 * config.make.in (build-hardcoded-path-in-tests): New variable.
12103 * configure.in (--enable-hardcoded-path-in-tests): New configure
12105 (hardcoded_path_in_tests): New AC_SUBST.
12106 * configure: Regenerated.
12107 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12108 $(built-program-cmd) with $(test-program-cmd).
12109 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12110 (test_program_cmd): This.
12111 * elf/Makefile ($(objpfx)order.out): Run test with
12112 $(test-program-prefix).
12113 ($(objpfx)order2.out): Likewise.
12114 ($(objpfx)tst-initorder.out): Likewise.
12115 ($(objpfx)tst-initorder2.out): Likewise.
12116 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12117 $(test-program-cmd).
12118 ($(objpfx)tst-array1-static.out): Likewise.
12119 ($(objpfx)tst-array2.out): Likewise.
12120 ($(objpfx)tst-array3.out): Likewise.
12121 ($(objpfx)tst-array4.out): Likewise.
12122 ($(objpfx)tst-array5.out): Likewise.
12123 ($(objpfx)tst-array5-static.out): Likewise.
12124 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12125 $(test-program-cmd).
12126 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12127 $(run-program-prefix) with $(test-program-prefix).
12128 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12129 (test_program_prefix): This.
12130 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12131 $(run-program-prefix) with $(test-program-prefix).
12132 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12133 (test_program_prefix): This.
12134 * iconvdata/tst-tables.sh: Likewise.
12135 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12136 $(run-program-prefix) with $(test-program-prefix).
12137 ($(objpfx)tst-translit.out): Likewise.
12138 ($(objpfx)tst-gettext2.out): Likewise.
12139 ($(objpfx)tst-gettext4.out): Likewise.
12140 ($(objpfx)tst-gettext6.out): Likewise.
12141 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12142 (test_program_prefix): This.
12143 * intl/tst-gettext2.sh: Likewise.
12144 * intl/tst-gettext4.sh Likewise.
12145 * intl/tst-gettext6.sh: Likewise.
12146 * intl/tst-translit.sh: Likewise.
12147 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12148 with $(test-program-cmd).
12149 * libio/Makefile ($(objpfx)test-freopen.out): Replace
12150 $(run-program-prefix) with $(test-program-prefix).
12151 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12152 (test_program_prefix): This.
12153 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12154 $(run-program-prefix) with $(test-program-prefix).
12155 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12156 (test_program_prefix): This.
12157 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12158 * posix/Makefile ($(objpfx)globtest.out): Replace
12159 $(run-via-rtld-prefix) and $(test-wrapper) with
12160 $(test-program-prefix) and $(test-via-rtld-prefix).
12161 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12162 $(test-program-prefix).
12163 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12164 $(host-test-program-cmd).
12165 (tst-spawn-ARGS): Likewise.
12166 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12167 $(test-program-prefix).
12168 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12169 (test_via_rtld_prefix): This.
12170 (test_wrapper): Renamed to ...
12171 (test_program_prefix): This.
12172 (run_program_prefix): Replaced by test_program_prefix.
12173 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12174 (test_program_prefix): This.
12175 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12176 with $(host-test-program-cmd).
12177 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12178 $(run-program-prefix) with $(test-program-prefix).
12179 ($(objpfx)tst-printf.out): Likewise.
12180 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12181 $(test-program-cmd).
12182 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12183 (test_program_prefix): This.
12184 * stdio-common/tst-unbputc.sh: Likewise.
12185 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12186 $(run-program-prefix) with $(test-program-prefix).
12187 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12188 (test_program_prefix): This.
12189 * string/Makefile ($(objpfx)tst-svc.out): Replace
12190 $(built-program-cmd) with $(test-program-cmd).
12192 2013-01-11 Andreas Jaeger <aj@suse.de>
12195 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12196 value. Sync with Linux 3.7.
12198 2013-01-10 David S. Miller <davem@davemloft.net>
12200 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12201 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12202 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12204 2013-01-10 Roland McGrath <roland@hack.frob.com>
12206 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12208 * configure: Regenerated.
12210 2013-01-10 David S. Miller <davem@davemloft.net>
12212 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12213 sparc V9 rather than using V8 code.
12214 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12215 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12217 2013-01-10 Roland McGrath <roland@hack.frob.com>
12219 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12220 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12221 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12222 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12223 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12224 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12225 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12226 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12227 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12228 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12229 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12230 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12231 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12232 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12233 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12234 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12235 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12236 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12237 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12238 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12239 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12240 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12241 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12242 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12243 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12244 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12245 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12247 2013-01-10 David S. Miller <davem@davemloft.net>
12249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12251 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12253 * posix/Makefile (tests-static): New variable.
12254 (tests): Add $(tests-static).
12255 (tst-exec-static-ARGS): New variable.
12256 (tst-spawn-static-ARGS): Likewise.
12257 * posix/tst-exec-static.c: New file.
12258 * posix/tst-spawn-static.c: Likewise.
12259 * posix/tst-exec.c: Support run directly.
12260 * posix/tst-spawn.c: Likewise.
12262 2013-01-10 Joseph Myers <joseph@codesourcery.com>
12264 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12266 * math/bits/mathcalls.h (llrint): Likewise.
12267 (llround): Likewise.
12268 * stdlib/stdlib.h (struct drand48_data): Likewise.
12269 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12270 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12271 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12273 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12275 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12276 (elf_greg_t): Likewise.
12277 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12278 (__jmp_buf): Likewise.
12279 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
12281 (llrint): Likewise, for all definitions.
12282 (llrintl): Likewise.
12284 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
12285 Remove [__GNUC__] condition.
12286 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
12287 condition to just [__USE_ISOC99].
12288 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
12290 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12293 * sysdeps/unix/sysv/linux/x86/bits/environments.h
12294 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12296 (_POSIX_V6_ILP32_OFF32): Likewise.
12297 (_XBS5_ILP32_OFF32): Likewise.
12298 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
12299 (__ILP32_OFFBIG_LDFLAGS): Likewise.
12301 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12303 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12305 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
12306 doubles __mpexp_twomm1. Adjust usage.
12307 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12310 2013-01-10 Andreas Schwab <schwab@suse.de>
12313 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12314 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12316 2013-01-09 David S. Miller <davem@davemloft.net>
12319 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12320 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12321 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12322 TCP_FASTOPEN): Define.
12323 (tcp_repair_opt): New structure.
12324 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12326 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12327 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12328 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12329 (tcp_cookie_transactions): New structure.
12331 2013-01-09 Anton Blanchard <anton@samba.org>
12333 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12334 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12335 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12336 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12338 2013-01-09 Joseph Myers <joseph@codesourcery.com>
12340 * include/features.h (__USE_ANSI): Remove.
12342 2013-01-09 Roland McGrath <roland@hack.frob.com>
12344 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12346 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12348 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12350 * sysdeps/s390/fpu/libm-test-ulps: Update.
12352 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12354 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12358 (denorm): Likewise.
12359 (__mp_dbl): Likewise.
12360 (__dbl_mp): Likewise.
12361 (add_magnitudes): Likewise.
12362 (sub_magnitudes): Likewise.
12368 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12372 (denorm): Likewise.
12373 (__mp_dbl): Likewise.
12374 (__dbl_mp): Likewise.
12375 (add_magnitudes): Likewise.
12376 (sub_magnitudes): Likewise.
12382 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12386 (denorm): Likewise.
12387 (__mp_dbl): Likewise.
12388 (__dbl_mp): Likewise.
12389 (add_magnitudes): Likewise.
12390 (sub_magnitudes): Likewise.
12397 2013-01-08 Joseph Myers <joseph@codesourcery.com>
12399 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12400 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12401 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12402 2 && __USE_EXTERN_INLINES]: Likewise.
12404 2013-01-08 Andreas Jaeger <aj@suse.de>
12407 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12409 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12410 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12412 2013-01-07 Anton Blanchard <anton@samba.org>
12414 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12415 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12416 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12417 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12418 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12419 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12420 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12421 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12422 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12423 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12424 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12425 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12426 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12427 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12428 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12429 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12430 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12431 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12432 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12433 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12434 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12435 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12436 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12437 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12438 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12439 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12440 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12441 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12442 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12443 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12444 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12445 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12446 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12447 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12448 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12449 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12450 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12451 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12452 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12453 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12454 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12455 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12456 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12458 2013-01-07 Joseph Myers <joseph@codesourcery.com>
12460 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12461 (__MALLOC_PMT): Likewise.
12462 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12463 [__GNUC__], only on [_LIBC].
12464 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12465 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12466 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12467 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12468 forward declaration.
12469 (realloc_hook_ini): Likewise.
12470 (memalign_hook_ini): Likewise.
12471 (__libc_memalign): Do not use __MALLOC_PMT in variable
12473 (__libc_valloc): Likewise.
12474 (__libc_pvalloc): Likewise.
12475 (__libc_calloc): Likewise.
12476 (__posix_memalign): Likewise.
12479 * math/s_casinh.c: Include <float.h>.
12480 (__casinh): Do not do computation with squaring and square root
12481 for large arguments.
12482 * math/s_casinhf.c: Include <float.h>.
12483 (__casinhf): Do not do computation with squaring and square root
12484 for large arguments.
12485 * math/s_casinhl.c: Include <float.h>.
12486 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12487 (__casinhl): Do not do computation with squaring and square root
12488 for large arguments.
12489 * math/libm-test.inc (casin_test): Add more tests.
12490 (casinh_test): Likewise.
12491 * sysdeps/i386/fpu/libm-test-ulps: Update.
12492 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12494 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12496 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12497 (__x86_64_raw_data_cache_size): Likewise.
12498 (__x86_64_data_cache_size_half): Likewise.
12499 (__x86_64_raw_data_cache_size_half): Likewise.
12500 (__x86_64_shared_cache_size): Likewise.
12501 (__x86_64_raw_shared_cache_size): Likewise.
12502 (__x86_64_shared_cache_size_half): Likewise.
12503 (__x86_64_raw_shared_cache_size_half): Likewise.
12504 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12506 (__x86_data_cache_size): This.
12507 (__x86_64_raw_data_cache_size): Renamed to ...
12508 (__x86_raw_data_cache_size): This.
12509 (__x86_64_data_cache_size_half): Renamed to ...
12510 (__x86_data_cache_size_half): This.
12511 (__x86_64_raw_data_cache_size_half): Renamed to ...
12512 (__x86_raw_data_cache_size_half): This.
12513 (__x86_64_shared_cache_size): Renamed to ...
12514 (__x86_shared_cache_size): This.
12515 (__x86_64_raw_shared_cache_size): Renamed to ...
12516 (__x86_raw_shared_cache_size): This.
12517 (__x86_64_shared_cache_size_half): Renamed to ...
12518 (__x86_shared_cache_size_half): This.
12519 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12520 (__x86_raw_shared_cache_size_half): This.
12521 * sysdeps/x86_64/memcpy.S: Updated.
12522 * sysdeps/x86_64/memset.S: Likewise.
12523 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12524 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12525 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12527 2013-01-04 David S. Miller <davem@davemloft.net>
12529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12531 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12533 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12534 1 to avoid redefinition warning.
12535 (__USE_GNU): Don't define.
12536 (init_signaling_nan): Protoize.
12538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12540 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12542 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12543 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12544 (__cpymn): Likewise.
12545 (norm): Remove commented code.
12546 (denorm): Likewise.
12547 (__mp_dbl): Likewise.
12549 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12550 (__cpymn): Likewise.
12551 (norm): Remove commented code.
12552 (denorm): Likewise.
12553 (__mp_dbl): Likewise.
12556 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12557 mp_no value for 1.0 and 2.0.
12558 (norm): Use RADIXI instead of radixi.d.
12559 (denorm): Likewise.
12560 (__mul): Use 0.0 instead of zero.d.
12561 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12562 mp_no value for 1.0 and 2.0.
12563 (norm): Use RADIXI instead of radixi.d.
12564 (denorm): Likewise.
12565 (__mul): Use 0.0 instead of zero.d.
12567 2013-01-04 Joseph Myers <joseph@codesourcery.com>
12570 * math/s_casinh.c (__casinh): Reduce finite argument to first
12571 quadrant then set signs of results at the end.
12572 * math/s_casinhf.c (__casinhf): Likewise.
12573 * math/s_casinhl.c (__casinhl): Likewise.
12574 * math/libm-test.inc (casin_test): Add more tests.
12575 (casinh_test): Likewise.
12576 * sysdeps/i386/fpu/libm-test-ulps: Update.
12577 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12579 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12581 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12583 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12585 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12587 (denorm): Likewise.
12588 (__mp_dbl): Likewise.
12591 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12592 and adjust the header comment.
12594 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12595 variable name from declaration.
12597 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12600 Initialize COMMON_CPUID_INDEX_7 element.
12601 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12602 (CPUID_RTM): Likewise.
12603 (HAS_RTM): Likewise.
12604 (COMMON_CPUID_INDEX_7): New enum.
12606 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12609 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12610 size is zero, record memory as freed.
12612 2013-01-03 Andreas Jaeger <aj@suse.de>
12614 * po/ia.po: Add new Interlingua translation.
12616 2012-01-03 Allan McRae <allan@archlinux.org>
12618 * locale/programs/localedef.c: Fix description of '--posix' flag.
12620 2013-01-02 Joseph Myers <joseph@codesourcery.com>
12622 * NEWS: Update dates in second copyright notice.
12623 * README: Update copyright dates in example.
12624 * manual/libc.texinfo: Update copyright dates.
12625 * scripts/test-installation.pl: Update copyright date in --version
12628 * hurd/ctty-input.c: Fix copyright notice formatting.
12629 * hurd/ctty-output.c: Likewise.
12630 * hurd/dtable.c: Likewise.
12631 * hurd/hurd-raise.c: Likewise.
12632 * hurd/hurdprio.c: Likewise.
12633 * hurd/msgportdemux.c: Likewise.
12634 * misc/sys/file.h: Likewise.
12635 * misc/sys/ioctl.h: Likewise.
12636 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12637 * sysdeps/mach/hurd/chdir.c: Likewise.
12638 * sysdeps/mach/hurd/fchdir.c: Likewise.
12639 * sysdeps/mach/hurd/rename.c: Likewise.
12640 * sysdeps/mach/hurd/rmdir.c: Likewise.
12641 * sysdeps/mach/hurd/seekdir.c: Likewise.
12642 * sysdeps/mach/hurd/setsid.c: Likewise.
12643 * sysdeps/posix/wait3.c: Likewise.
12645 * All files with FSF copyright notices: Update copyright dates
12646 using scripts/update-copyrights.
12647 * intl/plural.c: Regenerated.
12648 * locale/programs/charmap-kw.h: Likewise.
12649 * locale/programs/locfile-kw.h: Likewise.
12651 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12653 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12656 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12657 calculation loop and add branch prediction.
12659 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12660 check access beyond bounds of m1np.
12662 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12664 (__inv): Remove local variable MPTWO to use the global
12666 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12667 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12669 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12670 MP3HALFS static const.
12672 2013-01-01 David S. Miller <davem@davemloft.net>
12674 * po/ca.po: Update from translation team.
12676 2013-01-01 Joseph Myers <joseph@codesourcery.com>
12678 * scripts/update-copyrights: New file.
12679 * Makeconfig: Reformat copyright notice.
12680 * ctype/ctype.h: Likewise.
12681 * debug/swprintf_chk.c: Likewise.
12682 * elf/dl-cache.c: Likewise.
12683 * elf/dl-debug.c: Likewise.
12684 * elf/dl-object.c: Likewise.
12685 * grp/initgroups.c: Likewise.
12686 * hurd/Makefile: Likewise.
12687 * hurd/hurd/signal.h: Likewise.
12688 * hurd/hurdfault.c: Likewise.
12689 * hurd/hurdioctl.c: Likewise.
12690 * hurd/hurdlookup.c: Likewise.
12691 * hurd/intr-msg.c: Likewise.
12692 * iconv/gconv_open.c: Likewise.
12693 * libio/swprintf.c: Likewise.
12694 * locale/lc-ctype.c: Likewise.
12695 * locale/nl_langinfo.c: Likewise.
12696 * mach/Machrules: Likewise.
12697 * mach/Makefile: Likewise.
12698 * malloc/obstack.h: Likewise.
12699 * manual/Makefile: Likewise.
12700 * manual/tsort.awk: Likewise.
12701 * misc/bits/stab.def: Likewise.
12702 * nis/nis_print_group_entry.c: Likewise.
12703 * nis/nis_table.c: Likewise.
12704 * nis/nss_compat/compat-pwd.c: Likewise.
12705 * nis/nss_compat/compat-spwd.c: Likewise.
12706 * po/Makefile: Likewise.
12707 * posix/fnmatch.c: Likewise.
12708 * posix/regex.h: Likewise.
12709 * resolv/Makefile: Likewise.
12710 * resolv/nss_dns/dns-network.c: Likewise.
12711 * resolv/res_hconf.c: Likewise.
12712 * scripts/gen-sorted.awk: Likewise.
12713 * soft-fp/soft-fp.h: Likewise.
12714 * stdio-common/printf.h: Likewise.
12715 * stdlib/monetary.h: Likewise.
12716 * stdlib/random.c: Likewise.
12717 * stdlib/random_r.c: Likewise.
12718 * sysdeps/generic/Makefile: Likewise.
12719 * sysdeps/gnu/Makefile: Likewise.
12720 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12721 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12722 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12723 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12724 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12725 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12726 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12727 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12728 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12729 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12730 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12731 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12732 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12733 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12734 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12735 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12736 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12737 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12738 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12739 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12740 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12741 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12742 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12743 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12744 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12745 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12746 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12747 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12748 * sysdeps/mach/hurd/errnos.awk: Likewise.
12749 * sysdeps/mach/hurd/fork.c: Likewise.
12750 * sysdeps/mach/hurd/getcwd.c: Likewise.
12751 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12752 * sysdeps/mach/hurd/mmap.c: Likewise.
12753 * sysdeps/mach/hurd/utimes.c: Likewise.
12754 * sysdeps/mach/hurd/xmknod.c: Likewise.
12755 * sysdeps/posix/profil.c: Likewise.
12756 * sysdeps/posix/readdir_r.c: Likewise.
12757 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12758 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12759 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12760 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12761 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12762 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12763 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12764 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12765 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12766 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12767 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12768 * sysdeps/pthread/lio_listio.c: Likewise.
12769 * sysdeps/sparc/dl-procinfo.h: Likewise.
12770 * sysdeps/unix/i386/sysdep.S: Likewise.
12771 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12772 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12773 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12774 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12776 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12777 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12778 * sysdeps/unix/sysv/linux/speed.c: Likewise.
12779 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12780 * sysdeps/wordsize-32/divdi3.c: Likewise.
12781 * time/sys/time.h: Likewise.
12782 * wcsmbs/Makefile: Likewise.
12784 2013-01-01 David S. Miller <davem@davemloft.net>
12786 * po/fr.po: Update from translation team.
12788 * catgets/gencat.c: Update copyright year.
12789 * csu/version.c: Likewise.
12790 * debug/catchsegv.sh: Likewise.
12791 * debug/pcprofiledump.c: Likewise.
12792 * debug/xtrace.sh: Likewise.
12793 * elf/ldconfig.c: Likewise.
12794 * elf/ldd.bash.in: Likewise.
12795 * elf/pldd.c: Likewise.
12796 * elf/sotruss.ksh: Likewise.
12797 * elf/sprof.c: Likewise.
12798 * iconv/iconv_prog.c: Likewise.
12799 * iconv/iconvconfig.c: Likewise.
12800 * locale/programs/locale.c: Likewise.
12801 * locale/programs/localedef.c: Likewise.
12802 * login/programs/pt_chown.c: Likewise.
12803 * malloc/memusage.sh: Likewise.
12804 * malloc/memusagestat.c: Likewise.
12805 * malloc/mtrace.pl: Likewise.
12806 * nscd/nscd.c: Likewise.
12807 * nss/getent.c: Likewise.
12808 * nss/makedb.c: Likewise.
12809 * posix/getconf.c: Likewise.
12811 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12813 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12816 2012-12-30 Mike Frysinger <vapier@gentoo.org>
12818 * math/bits/mathcalls.h (modf): Use __nonnull.
12820 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12822 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12823 (split): Use macro CN instead of the bare value.
12824 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12826 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12827 instead of the bare value.
12828 (power1): Likewise.
12830 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12832 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12834 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12836 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12838 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12839 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12840 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12841 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12843 2012-12-28 Andreas Jaeger <aj@suse.de>
12845 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12846 values are from Linux 3.7.
12848 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12849 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12851 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12853 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
12856 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12858 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12859 variables with preprocessor constants.
12860 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12861 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12862 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12864 2012-12-27 Bruno Haible <bruno@clisp.org>
12867 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12870 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12872 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12873 and use variable directly.
12874 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12876 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12878 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12879 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12881 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12882 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12883 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12884 include directive. Remove local variable MPONE.
12885 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12886 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12887 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12889 2012-12-25 David S. Miller <davem@davemloft.net>
12891 * version.h (RELEASE): Set to "development".
12892 (VERSION): Set to "2.17.90".
12893 * NEWS: Add 2.18 section.
12895 2012-12-21 David S. Miller <davem@davemloft.net>
12897 * po/hr.po: Update from translation team.
12899 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12901 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12903 2012-12-19 Steve Ellcey <sellcey@mips.com>
12905 * NEWS: Mention new memcpy for MIPS.
12907 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12909 * manual/contrib.texi (Contributors): Spelling correction.
12911 2012-12-15 David S. Miller <davem@davemloft.net>
12913 * po/ru.po: Update from translation team.
12915 2012-12-13 David S. Miller <davem@davemloft.net>
12917 * NEWS: Mention IFUNC testsuite enhancements.
12919 * po/pl.po: Update from translation team.
12920 * po/bg.po: Likewise.
12922 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12923 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12925 2012-12-11 David S. Miller <davem@davemloft.net>
12927 * po/sv.po: Update from translation team.
12929 * po/vi.po: Update from translation team.
12931 * po/cs.po: Update from translation team.
12933 * po/de.po: Update from translation team.
12934 * po/eo.po: Likewise.
12935 * po/nl.po: Likewise.
12937 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12940 * manual/argp.texi (Argp Helper Functions): Move node to follow
12941 Argp Parsing State.
12944 * manual/conf.texi (Limits on File System Capacity): Mention if
12945 terminating null is included in the max size.
12947 2012-12-10 Andreas Jaeger <aj@suse.de>
12949 * po/cs.po: Update from translation team.
12951 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12953 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12954 void pointer and cast to uintptr_t.
12955 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12957 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12958 * sysdeps/s390/s390-64/memset.S: Likewise.
12960 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
12963 * menual/message.texi (Message Translation): Fix typos.
12964 (Helper programs for gettext): Likewise.
12966 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12969 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12972 2012-12-07 David S. Miller <davem@davemloft.net>
12974 * po/libc.pot: Update.
12976 2012-12-07 Richard Henderson <rth@redhat.com>
12979 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
12980 normal/normal case to before the switch.
12981 (_FP_DIV): Likewise.
12983 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
12984 Mike Frysinger <vapier@gentoo.org>
12986 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
12987 check for __NR_fadvise64_64.
12989 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
12991 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
12992 0, not just to plain "0" as a statement.
12993 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
12996 2012-12-06 Joseph Myers <joseph@codesourcery.com>
12998 * NEWS: Use sourceware.org in Bugzilla URL.
13000 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13003 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13005 * stdio-common/tst-put-error.c (do_test): Add newline to the
13006 padded test to ensure flush.
13008 2012-12-05 Jeff Law <law@redhat.com>
13010 * sunrpc/etc.rpc (fedfs_admin): Add entry.
13012 2012-12-05 Joseph Myers <joseph@codesourcery.com>
13014 * README: Don't refer to ports add-on as distributed separately.
13015 Mention AArch64 in list of systems supported in the ports add-on.
13017 * LICENSES: Add more non-FSF copyright and license notices.
13019 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13022 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13024 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13025 10000 as width of padded output.
13027 2012-12-04 Joseph Myers <joseph@codesourcery.com>
13029 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13031 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13032 variable LX with __attribute__ ((unused)).
13033 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13035 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13036 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13037 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13038 with __attribute__ ((unused)).
13040 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
13042 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13044 2012-12-04 Joseph Myers <joseph@codesourcery.com>
13046 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13047 (CFLAGS-nldbl-acos.c): New variable.
13048 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13049 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13050 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13051 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13052 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13053 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13054 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13055 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13056 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13057 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13058 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13059 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13060 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13061 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13062 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13063 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13064 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13065 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13066 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13067 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13068 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13069 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13070 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13071 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13072 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13073 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13074 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13075 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13076 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13077 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13078 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13079 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13080 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13081 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13082 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13083 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13084 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13085 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13086 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13087 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13088 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13089 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13090 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13091 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13092 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13093 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13094 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13095 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13096 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13097 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13098 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13099 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13100 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13101 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13102 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13103 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13104 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13105 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13106 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13107 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13108 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13109 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13110 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13111 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13112 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13113 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13114 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13115 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13116 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13117 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13118 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13119 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13120 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13121 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13122 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13123 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13124 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13125 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13126 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13127 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13128 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13129 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13130 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13131 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13132 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13133 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13134 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13135 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13136 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13137 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13138 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13139 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13140 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13141 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13142 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13143 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13144 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13147 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13150 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13151 whole low double instead of just low 47 bits when splitting values
13154 2012-12-03 Allan McRae <allan@archlinux.org>
13156 * manual/stdio.texi (Predefined Printf Handlers): Remove
13157 @hsep and @vsep usage.
13159 2012-12-03 Mike Frysinger <vapier@gentoo.org>
13161 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13162 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13164 2012-12-03 Jeff Law <law@redhat.com>
13166 * time/sys/time.h (settimeofday): Do not mark TV argument
13169 2012-12-01 Mike Frysinger <vapier@gentoo.org>
13171 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13172 when currently writing and seek to current position when not.
13173 * libio/Makefile (tests): Remove bug-fclose1.
13174 * libio/bug-fclose1.c: Delete.
13176 2012-12-01 Joseph Myers <joseph@codesourcery.com>
13178 * manual/arith.texi (feenableexcept): Fix typo.
13179 (fedisableexcept): Likewise.
13181 2012-11-30 Roland McGrath <roland@hack.frob.com>
13183 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13184 second, differently-typed declaration, rather than a cast.
13186 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13188 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13189 * include/rpc/svc.h: ... here.
13191 2012-11-30 Aurelien Jarno <aurel32@debian.org>
13194 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13195 depending n and resplen2 to catch cases where answer
13198 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
13200 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13201 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13203 2012-11-29 Mike Frysinger <vapier@gentoo.org>
13205 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13207 2012-11-29 Roland McGrath <roland@hack.frob.com>
13209 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13211 2012-11-28 Jeff Law <law@redhat.com>
13214 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13215 dataset_temporary. Track alloca usage into alloca_used.
13216 If dataset is large allocate and release it via malloc/free.
13218 2012-06-04 Florian Weimer <fweimer@redhat.com>
13221 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13223 2012-11-28 David S. Miller <davem@davemloft.net>
13225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13227 2012-11-28 Joseph Myers <joseph@codesourcery.com>
13230 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13231 of pi/2 rounded to nearest to 64 bits.
13232 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13233 nearest to 64 bits.
13234 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13237 2012-11-28 Jeff Law <law@redhat.com>
13238 Martin Osvald <mosvald@redhat.com>
13241 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13242 * sunrpc/svc.c: Include time.h.
13243 (__svc_accept_failed): New function.
13244 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13245 any reason other than EINTR, call __svc_accept_failed.
13246 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13247 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13249 2012-11-28 Andreas Schwab <schwab@suse.de>
13251 * scripts/abilist.awk: Also handle indirect functions in .opd
13254 2012-11-28 Joseph Myers <joseph@codesourcery.com>
13257 * sysdeps/x86/fpu/powl_helper.c: New file.
13258 * sysdeps/x86/fpu/Makefile: Likewise.
13259 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13261 (__ieee754_powl): Use __powl_helper for finite arguments except
13262 integer exponents below 8.
13263 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13265 (__ieee754_powl): Use __powl_helper for finite arguments except
13266 integer exponents below 8.
13267 * math/libm-test.inc (pow_test): Add more tests and enable some
13268 previously disabled tests.
13269 * sysdeps/i386/fpu/libm-test-ulps: Update.
13270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13272 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13273 Carlos O'Donell <carlos_odonell@mentor.com>
13275 * nss/makedb.c (is_prime): Assert that input is odd and greater
13276 than 4. Note that fact in a comment too.
13277 (next_prime): Add 4 to input.
13279 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13282 * libio/Makefile (tests): Add test case tst-fwrite-error.
13283 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13284 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13285 * libio/tst-fwrite-error.c: New test case.
13287 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
13289 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
13290 before casting to void *.
13291 * include/libc-internal.h (__pointer_type): New macro.
13292 (__integer_if_pointer_type_sub): Likewise.
13293 (__integer_if_pointer_type): Likewise.
13294 (cast_to_integer): Likewise.
13295 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
13296 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
13297 before casting to atomic64_t.
13298 (atomic_exchange_acq): Likewise.
13299 (__arch_exchange_and_add_body): Likewise.
13300 (__arch_add_body): Likewise.
13301 (atomic_add_negative): Likewise.
13302 (atomic_add_zero): Likewise.
13304 2012-11-26 Joseph Myers <joseph@codesourcery.com>
13306 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
13307 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13308 (add_fdes): Likewise.
13309 (linear_search_fdes): Likewise.
13310 (binary_search_unencoded_fdes): Likewise.
13312 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
13314 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13316 2012-11-24 Adam Conrad <adconrad@0c3.net>
13318 * configure.in: Autodetect C++ header directories.
13319 * configure: Regenerated.
13321 2012-11-23 Mike Frysinger <vapier@gentoo.org>
13323 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13325 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
13327 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13329 2012-11-22 Joseph Myers <joseph@codesourcery.com>
13331 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13332 LDBL_MANT_DIG == 106]: Disable some tests.
13333 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13335 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13339 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13340 input for small inputs. Return +/- pi/2 for large inputs.
13341 * math/libm-test.inc (atan_test): Add more tests.
13343 * sysdeps/generic/unwind-dw2-fde-glibc.c
13344 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13345 __attribute__ ((unused)).
13348 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13349 x * y if x and y are nonzero and z is zero.
13352 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13353 nonzero exponents with absolute value below 0x1p-117 to +/-
13357 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13358 up arguments below 2**-450, not just those below 2**-500.
13359 * math/libm-test.inc (hypot_test): Add another test.
13362 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13363 Return a+b for ratio over 2**120, not 2**60.
13364 * math/libm-test.inc (hypot_test): Add another test.
13366 * math/libm-test.inc (clog_test): Use
13367 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13368 (clog10_test): Likewise.
13371 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13373 2012-11-22 Andreas Schwab <schwab@suse.de>
13375 * sysdeps/i386/fpu/libm-test-ulps: Update.
13377 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
13379 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13380 printf output with newline.
13382 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
13385 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13386 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13387 -z nodlopen, -z initfirst and -z execstack support.
13388 * configure: Regenerated.
13390 * elf/elf.h (DF_1_NODIRECT): New macro.
13391 (DF_1_IGNMULDEF): Likewise.
13392 (DF_1_NOKSYMS): Likewise.
13393 (DF_1_NOHDR): Likewise.
13394 (DF_1_EDITED): Likewise.
13395 (DF_1_NORELOC): Likewise.
13396 (DF_1_SYMINTPOSE): Likewise.
13397 (DF_1_GLOBAUDIT): Likewise.
13398 (DF_1_SINGLETON): Likewise.
13399 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13400 DT_1_SUPPORTED_MASK bits.
13401 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13403 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
13405 * sysdeps/unix/make-syscalls.sh: Document prefixes.
13407 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
13409 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13412 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13413 (sendmmsg): Move declarations...
13414 * socket/sys/socket.h: ... here.
13415 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13416 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13418 * socket/recvmmsg.c: ... this new file.
13419 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13420 (sendmmsg): Rename to __sendmmsg, create weak alias and make
13421 definition of __sendmmsg hidden.
13422 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13423 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13424 Move ENOSYS stub into and include it from...
13425 * socket/sendmmsg.c: ... this new file.
13426 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13427 (sysdep_routines): Move recvmmsg and sendmmsg...
13428 * socket/Makefile (routines): ... here.
13429 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13430 (GLIBC_PRIVATE): Add __sendmmsg.
13431 * include/sys/socket.h (__sendmmsg): Add declarations.
13432 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13435 2012-11-20 Joseph Myers <joseph@codesourcery.com>
13437 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13438 variable I1 with __attribute__ ((unused)).
13439 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13441 2012-11-19 Joseph Myers <joseph@codesourcery.com>
13443 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13444 DUMMY variables with __attribute__ ((unused)).
13446 * bits/byteswap.h: Include <bits/types.h>.
13447 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13449 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13451 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13452 string_t. Do not manually set errno.
13453 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13454 length with __strnlen. Make sure to both set errno and return it on
13457 2012-11-19 David S. Miller <davem@davemloft.net>
13459 With help from Joseph Myers.
13460 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13461 very large arguments properly.
13462 * math/libm-test.inc (atan_test): New tests.
13463 (atan2_test): New tests.
13464 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13465 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13467 2012-11-19 Joseph Myers <joseph@codesourcery.com>
13470 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13473 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13474 [POSIX] (EADDRNOTAVAIL): Likewise.
13475 [POSIX] (EAFNOSUPPORT): Likewise.
13476 [POSIX] (EALREADY): Likewise.
13477 [POSIX] (ECONNABORTED): Likewise.
13478 [POSIX] (ECONNREFUSED): Likewise.
13479 [POSIX] (ECONNRESET): Likewise.
13480 [POSIX] (EDESTADDRREQ): Likewise.
13481 [POSIX] (EDQUOT): Likewise.
13482 [POSIX] (EHOSTUNREACH): Likewise.
13483 [POSIX] (EIDRM): Likewise.
13484 [POSIX] (EISCONN): Likewise.
13485 [POSIX] (ELOOP): Likewise.
13486 [POSIX] (EMULTIHOP): Likewise.
13487 [POSIX] (ENETDOWN): Likewise.
13488 [POSIX] (ENETUNREACH): Likewise.
13489 [POSIX] (ENOBUFS): Likewise.
13490 [POSIX] (ENODATA): Likewise.
13491 [POSIX] (ENOLINK): Likewise.
13492 [POSIX] (ENOMSG): Likewise.
13493 [POSIX] (ENOPROTOOPT): Likewise.
13494 [POSIX] (ENOSR): Likewise.
13495 [POSIX] (ENOSTR): Likewise.
13496 [POSIX] (ENOTCONN): Likewise.
13497 [POSIX] (ENOTSOCK): Likewise.
13498 [POSIX] (EOPNOTSUPP): Likewise.
13499 [POSIX] (EOVERFLOW): Likewise.
13500 [POSIX] (EPROTO): Likewise.
13501 [POSIX] (EPROTONOSUPPORT): Likewise.
13502 [POSIX] (EPROTOTYPE): Likewise.
13503 [POSIX] (ESTALE): Likewise.
13504 [POSIX] (ETIME): Likewise.
13505 [POSIX] (ETXTBSY): Likewise.
13506 [POSIX] (EWOULDBLOCK): Likewise.
13507 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13508 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13509 [POSIX] (SEEK_CUR): Likewise.
13510 [POSIX] (SEEK_END): Likewise.
13511 [POSIX || UNIX98] (mode_t): Do not require.
13512 [POSIX] (off_t): Likewise.
13513 [POSIX] (pid_t): Likewise.
13514 [POSIX] (sys/stat.h): Do not allow header.
13515 [POSIX] (unistd.h): Likewise.
13516 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13517 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13518 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13519 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13521 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13522 sigevent): Specify elements.
13523 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13525 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13526 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13528 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13529 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13530 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13531 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13532 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13533 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13534 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13535 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13536 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13537 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13538 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13539 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13540 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13541 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13543 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13545 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13547 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13549 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13550 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13551 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13552 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13553 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13554 Specify lower bound on value.
13555 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13556 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13557 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13558 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13559 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13560 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13561 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13562 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13564 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13566 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13567 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13568 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13569 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13570 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13571 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13572 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13573 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13574 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13575 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13576 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13577 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13578 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13579 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13580 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13581 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13583 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13585 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13586 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13587 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13588 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13589 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13590 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13592 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13593 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13594 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13595 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13596 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13597 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13598 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13600 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13601 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13602 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13603 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13604 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13605 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13606 specify as optional.
13607 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13608 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13609 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13610 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13611 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13612 [XPG3] (NL_LANGMAX): Likewise.
13613 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13614 [POSIX || XPG3] (NL_NMAX): Likewise.
13615 [POSIX || XPG3] (NL_SETMAX): Likewise.
13616 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13617 [XPG3] (NZERO): Likewise.
13618 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13619 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13620 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13621 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13622 (REG_ERANGE): Expect.
13623 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13625 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13626 Use (void) in prototype.
13627 [POSIX] (*_t): Allow.
13628 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13629 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13630 (WRDE_BADVAL): Expect.
13632 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13634 [XPG3 || XPG4] (O_RSYNC): Likewise.
13635 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13637 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13638 [XPG3 || XPG4] (sigqueue): Likewise.
13639 [XPG3 || XPG4] (sigtimedwait): Likewise.
13640 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13641 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13642 [XPG3 || XPG4] (vsnprintf): Likewise.
13643 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13645 [XPG3 || XPG4] (blksize_t): Likewise.
13646 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13648 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13649 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13650 [XPG3 || XPG4] (struct itimerspec): Likewise.
13651 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13652 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13653 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13654 [XPG3 || XPG4] (clockid_t): Likewise.
13655 [XPG3 || XPG4] (timer_t): Likewise.
13656 [XPG3 || XPG4] (clock_getres): Likewise.
13657 [XPG3 || XPG4] (clock_gettime): Likewise.
13658 [XPG3 || XPG4] (clock_settime): Likewise.
13659 [XPG3 || XPG4] (nanosleep): Likewise.
13660 [XPG3 || XPG4] (timer_create): Likewise.
13661 [XPG3 || XPG4] (timer_delete): Likewise.
13662 [XPG3 || XPG4] (timer_gettime): Likewise.
13663 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13664 [XPG3 || XPG4] (timer_settime): Likewise.
13665 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13666 [XPG3 || XPG4] (getlogin_r): Likewise.
13667 [XPG3 || XPG4] (pread): Likewise.
13668 [XPG3 || XPG4] (pthread_atfork): Likewise.
13669 [XPG3 || XPG4] (pwrite): Likewise.
13672 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13675 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13677 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13678 finalizing MALLSTREAM.
13680 * sysdeps/mach/hurd/syncfs.c: New file.
13682 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13685 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13686 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13687 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13688 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13689 (_nss_dns_gethostbyname4_r): Likewise.
13690 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13691 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13693 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13696 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13698 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13700 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13701 * elf/cache.c (print_entry): Print ",AArch64" for
13704 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13705 * elf/cache.c (print_entry): Print ",hard-float" for
13708 2012-11-18 David S. Miller <davem@davemloft.net>
13710 With help from Joseph Myers.
13711 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13713 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13715 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13716 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13718 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13719 * math/libm-test.inc (y0_test): New tests.
13720 (y1_test): New tests.
13721 * sysdeps/i386/fpu/libm-test-ulps: Update.
13722 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13725 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13727 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13729 * configure: Regenerated.
13731 2012-11-17 David S. Miller <davem@davemloft.net>
13734 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13735 nonzero exponents with absolute value below 0x1p-128 to +/-
13738 2012-11-17 Joseph Myers <joseph@codesourcery.com>
13740 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13742 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13744 * posix/getconf-speclist.c: New file.
13745 * posix/posix-envs.def: Likewise.
13746 * posix/confstr.c (START_ENV_GROUP): New macro.
13747 (END_ENV_GROUP): Likewise.
13748 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13749 (KNOWN_PRESENT_ENV_STRING): Likewise.
13750 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13751 (UNKNOWN_ENVIRONMENT): Likewise.
13752 (confstr): Include posix-envs.def instead of handling
13753 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13754 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13755 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13756 (END_ENV_GROUP): Likewise.
13757 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13758 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13759 (UNKNOWN_ENVIRONMENT): Likewise.
13760 (__sysconf): Include posix-envs.def instead of handling associated
13761 cases directly here.
13762 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13763 preprocessing getconf-speclist.c rather than running getconf or
13764 generating empty file.
13766 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13768 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13770 2012-11-16 Andrej Lajovic <natrij@gmail.com>
13773 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13775 2012-11-16 David S. Miller <davem@davemloft.net>
13777 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13778 smaller than LDBL_EPSILON/2.0L, just return xm1.
13780 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13782 * elf/tst-array1.c (init): Set constructor priority to 1000.
13783 (fini): Set destructor priority to 1000.
13784 * elf/tst-array2dep.c: Likewise.
13786 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13789 * libio/fileops.c (_IO_new_file_write): Correctly return error.
13790 (_IO_new_file_xsputn): Also return EOF if none of the input
13791 data was written when overflow failed.
13792 * libio/iopadn.c (_IO_padn): Likewise.
13793 * libio/iowpadn.c (_IO_wpadn): Likewise.
13794 * stdio-common/tst-put-error.c: Add copyright notice.
13795 (do_test): Add case for printing padded string.
13796 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13797 _IO_padn returned error.
13798 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13799 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13802 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13804 * libio/libioP.h: Add comment note that the references to C++
13805 bits are now obsolete.
13807 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13809 * math/libm-test.inc (check_complex): Use asprintf.
13811 2012-11-14 Joseph Myers <joseph@codesourcery.com>
13813 * debug/pcprofiledump.c (print_version): Update copyright year.
13814 * malloc/memusagestat.c (print_version): Likewise.
13816 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13819 * elf/Makefile (tests): Add tst-audit8.
13820 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13821 ($(objpfx)tst-audit8.out): New target.
13822 (tst-audit8-ENV): New variable.
13823 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13824 audit if l_reloc_result is NULL.
13825 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13826 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13827 * elf/tst-audit8.c: New file.
13829 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13831 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13832 * misc/Makefile (CFLAGS-select.c): Define.
13833 * posix/Makefile (CFLAGS-pause.c): Define.
13835 2012-11-13 David S. Miller <davem@davemloft.net>
13837 * crypt/Makefile: Move test targets after toplevel Rules
13838 inclusion. Grab any necessary sysdep routines when linking.
13839 * crypt/md5.c (md5_process_block): Remove define, we will always
13840 name it __md5_process_block.
13841 (md5_finish_ctx): Update md5_process_block call.
13842 (md5_stream): Likewise.
13843 (md5_process_bytes): Likewise.
13844 (md5_process_block): Rename to __md5_process_block and move to ...
13845 * crypt/md5-block.c: ... here.
13846 * crypt/sha256.c (sha256_process_block): Move to ...
13847 * crypt/sha256-block.c: ... here.
13848 * crypt/sha512.c (sha512_process_block): Move to ...
13849 * crypt/sha512-block.c: ... here.
13850 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13852 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13853 * sysdeps/sparc/sparc64/multiarch/Makefile
13854 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13856 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13857 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13859 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13860 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13861 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13862 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13863 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13864 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13865 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13866 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13867 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13869 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13870 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13872 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13874 2012-11-13 Joseph Myers <joseph@codesourcery.com>
13876 * timezone/tzselect.ksh: Update from tzcode git revision
13877 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13878 * timezone/zdump.c: Likewise.
13879 * timezone/zic.c: Likewise.
13880 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13881 in TZVERSION setting, not $(PKGVERSION).
13882 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13883 REPORT_BUGS_TO settings.
13886 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13889 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13891 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13892 detection to immediately after _FP_ROUND().
13893 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13896 2012-11-11 David S. Miller <davem@davemloft.net>
13898 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13900 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13901 __close rather than their public counterparts.
13903 2012-11-10 Joseph Myers <joseph@codesourcery.com>
13905 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13907 [UNIX98] (sem_timedwait): Do not expect.
13908 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13909 [XPG4 || UNIX98] (sockatmark): Do not expect.
13910 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13911 (clock_getcpuclockid): Do not expect.
13912 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13913 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13915 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13916 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13917 [UNIX98] (vwscanf): Likewise.
13918 [UNIX98] (vswscanf): Likewise.
13920 2012-11-09 Joseph Myers <joseph@codesourcery.com>
13922 * timezone/version.h: Remove file.
13923 * timezone/README: Do not refer to version.h.
13924 * timezone/Makefile ($(objpfx)zic.o): New dependency on
13925 $(objpfx)version.h.
13926 ($(objpfx)zdump.o): Likewise.
13927 ($(objpfx)version.h): New target.
13929 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13931 * timezone/README: Don't mention modification to tzselect.ksh.
13932 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13933 work on unmodified tzselect.ksh. Substitute version numbers in
13936 * Makefile (format-me): Remove.
13937 (INSTALL): Adjust indentation. Use commands directly instead of
13938 using $(format-me).
13940 * aclocal.m4 (ACX_PKGVERSION): New macro.
13941 (ACX_BUGURL): Likewise.
13942 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13943 (PKGVERSION): New AC_DEFINE_UNQUOTED.
13944 (REPORT_BUGS_TO): Likewise.
13945 * configure: Regenerated.
13946 * config.h.in (PKGVERSION): New macro.
13947 (REPORT_BUGS_TO): Likewise.
13948 * config.make.in (PKGVERSION): New variable.
13949 (PKGVERSION_TEXI): Likewise.
13950 (REPORT_BUGS_TO): Likewise.
13951 (REPORT_BUGS_TEXI): Likewise.
13952 * Makefile (format-me): Use -I$(common-objpfx)manual.
13953 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13954 ($(common-objpfx)manual/%): New target.
13955 (manual/%): Remove target.
13956 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13957 (print_version): Use PKGVERSION.
13958 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13959 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13960 and REPORT_BUGS_TO.
13961 ($(objpfx)xtrace): Likewise.
13962 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13963 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13964 (print_version): Use PKGVERSION.
13965 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13966 (do_version): Use PKGVERSION.
13967 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13969 (common-ldd-rewrite): Likewise.
13970 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13971 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
13972 (print_version): Use PKGVERSION.
13973 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
13974 * elf/pldd.c (argp_program_bug_address): Remove variable.
13975 (more_help): New function.
13976 (argp): Use more_help.
13977 (print_version): Use PKGVERSION.
13978 * elf/sln.c (main): Use PKGVERSION.
13979 (usage): Use REPORT_BUGS_TO.
13980 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
13981 (top level): Use PKGVERSION.
13982 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
13983 (print_version): Use PKGVERSION.
13984 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
13985 (print_version): Use PKGVERSION.
13986 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
13987 (print_version): Use PKGVERSION.
13988 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
13989 (print_version): Use PKGVERSION.
13990 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
13991 (print_version): Use PKGVERSION.
13992 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
13993 (print_version): Use PKGVERSION.
13994 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
13996 ($(objpfx)memusage): Likewise.
13997 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
13998 (do_version): Use PKGVERSION.
13999 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14000 (print_version): Use PKGVERSION.
14001 * malloc/mtrace.pl ($PACKAGE): Remove variable.
14002 ($PKGVERSION): New variable.
14003 ($REPORT_BUGS_TO): Likewise.
14004 (usage): Use $REPORT_BUGS_TO.
14005 (top level): Use $PKGVERSION.
14006 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14007 ($(objpfx)pkgvers.texi): New rule.
14008 ($(objpfx)stamp-pkgvers): Likewise.
14009 * manual/install.texi: Include pkgvers.texi.
14010 (--with-pkgversion): Document new configure option.
14011 (--with-bugurl): Likewise.
14012 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14013 than necessarily for this particular distribution. Use
14014 REPORT_BUGS_TO for where to report bugs.
14015 * INSTALL: Regenerated.
14016 * manual/libc.texinfo: Include pkgvers.texi.
14017 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14018 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14019 (print_version): Use PKGVERSION.
14020 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14021 (print_version): Use PKGVERSION.
14022 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14023 (print_version): Use PKGVERSION.
14024 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14025 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14027 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14028 (print_version): Use PKGVERSION.
14029 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14030 (print_version): Use PKGVERSION.
14031 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14034 * timezone/checktab.awk: Update from tzcode 2012i.
14035 * timezone/ialloc.c: Likewise.
14036 * timezone/private.h: Likewise.
14037 * timezone/scheck.c: Likewise.
14038 * timezone/tzfile.h: Likewise.
14039 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14040 (TZVERSION): Hardcode tzcode version number.
14041 * timezone/zdump.c: Update from tzcode 2012i.
14042 * timezone/zic.c: Likewise.
14043 * timezone/version.h: New file.
14044 * timezone/README: Describe version.h. Update upstream location.
14047 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14048 (mktemp): Enable declaration.
14049 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14050 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14051 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14052 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14054 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14056 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14058 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14060 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14062 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14066 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14067 offset in buffer as u_int32_t not u_long. Consistently use memcpy
14068 for copies of such integer values.
14069 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14070 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14072 2012-11-09 Andreas Jaeger <aj@suse.de>
14074 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14075 definitions and declarations that are provided by
14076 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14078 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14080 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
14081 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14082 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14085 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14087 * elf/elf.h: Update comment before AArch64 relocations.
14089 2012-11-07 David S. Miller <davem@davemloft.net>
14091 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14092 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14093 (__start_context): Declare.
14094 (__makecontext_ret): Delete.
14095 (__makecontext): Hook up __start_context instead of
14097 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14098 (sysdep_routines): Add __start_context when in stdlib.
14100 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14102 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14103 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14104 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
14106 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
14107 (READELF): New variable. Use it instead of hardcoded "readelf".
14109 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
14111 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14112 * sysdeps/x86/Makefile: Here.
14113 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14114 * sysdeps/x86/tst-xmmymm.sh: This.
14116 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14118 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14120 [UNIX98] (pthread_barrier_t): Do not expect.
14121 [UNIX98] (pthread_barrierattr_t): Likewise.
14122 [UNIX98] (pthread_spinlock_t): Likewise.
14123 [UNIX98] (pthread_barrier_destroy): Likewise.
14124 [UNIX98] (pthread_barrier_init): Likewise.
14125 [UNIX98] (pthread_barrier_wait): Likewise.
14126 [UNIX98] (pthread_barrierattr_destroy): Likewise.
14127 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14128 [UNIX98] (pthread_barrierattr_init): Likewise.
14129 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14130 [UNIX98] (pthread_getcpuclockid): Likewise.
14131 [UNIX98] (pthread_mutex_timedlock): Likewise.
14132 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14133 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14134 [UNIX98] (pthread_sigmask): Likewise.
14135 [UNIX98] (pthread_spin_destroy): Likewise.
14136 [UNIX98] (pthread_spin_init): Likewise.
14137 [UNIX98] (pthread_spin_lock): Likewise.
14138 [UNIX98] (pthread_spin_trylock): Likewise.
14139 [UNIX98] (pthread_spin_unlock): Likewise.
14140 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14142 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14143 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14144 [XPG3 || XPG4] (pthread_cond_t): Likewise.
14145 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14146 [XPG3 || XPG4] (pthread_key_t): Likewise.
14147 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14148 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14149 [XPG3 || XPG4] (pthread_once_t): Likewise.
14150 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14151 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14152 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14153 [XPG3 || XPG4] (pthread_t): Likewise.
14155 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14157 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14159 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14160 Change function return type to int.
14162 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14163 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14164 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14165 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14166 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14167 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14168 [!POSIX] (posix_madvise): Likewise.
14169 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14171 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14172 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14173 (mode_t): Likewise.
14174 (posix_mem_offset): Likewise.
14175 (posix_typed_mem_get_info): Likewise.
14176 (posix_typed_mem_open): Likewise.
14178 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14179 Change condition to [XOPEN2K8].
14181 * conform/conformtest.pl: Preprocess allow-header data with -x c
14182 instead of from stdin.
14183 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14184 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14185 [C99-based standards] (cerfc): Likewise.
14186 [C99-based standards] (cexp2): Likewise.
14187 [C99-based standards] (cexpm1): Likewise.
14188 [C99-based standards] (clog10): Likewise.
14189 [C99-based standards] (clog1p): Likewise.
14190 [C99-based standards] (clog2): Likewise.
14191 [C99-based standards] (clgamma): Likewise.
14192 [C99-based standards] (ctgamma): Likewise.
14193 [C99-based standards] (cerff): Likewise.
14194 [C99-based standards] (cerfcf): Likewise.
14195 [C99-based standards] (cexp2f): Likewise.
14196 [C99-based standards] (cexpm1f): Likewise.
14197 [C99-based standards] (clog10f): Likewise.
14198 [C99-based standards] (clog1pf): Likewise.
14199 [C99-based standards] (clog2f): Likewise.
14200 [C99-based standards] (clgammaf): Likewise.
14201 [C99-based standards] (ctgammaf): Likewise.
14202 [C99-based standards] (cerfl): Likewise.
14203 [C99-based standards] (cerfcl): Likewise.
14204 [C99-based standards] (cexp2l): Likewise.
14205 [C99-based standards] (cexpm1l): Likewise.
14206 [C99-based standards] (clog10l): Likewise.
14207 [C99-based standards] (clog1pl): Likewise.
14208 [C99-based standards] (clog2l): Likewise.
14209 [C99-based standards] (clgammal): Likewise.
14210 [C99-based standards] (ctgammal): Likewise.
14211 * conform/data/inttypes.h-data [C99-based standards]: Include
14212 stdint.h-data. Remove all expectations for stdint.h contents.
14213 [C99-based standards] (PRI*): Do not allow.
14214 [C99-based standards] (SCN*): Likewise.
14215 [C99-based standards] (*_t): Likewise.
14216 [C99-based-standards] (PRId8): Expect macro.
14217 [C99-based-standards] (PRIi8): Likewise.
14218 [C99-based-standards] (PRIo8): Likewise.
14219 [C99-based-standards] (PRIu8): Likewise.
14220 [C99-based-standards] (PRIx8): Likewise.
14221 [C99-based-standards] (PRIX8): Likewise.
14222 [C99-based-standards] (SCNd8): Likewise.
14223 [C99-based-standards] (SCNi8): Likewise.
14224 [C99-based-standards] (SCNo8): Likewise.
14225 [C99-based-standards] (SCNu8): Likewise.
14226 [C99-based-standards] (SCNx8): Likewise.
14227 [C99-based-standards] (PRIdLEAST8): Likewise.
14228 [C99-based-standards] (PRIiLEAST8): Likewise.
14229 [C99-based-standards] (PRIoLEAST8): Likewise.
14230 [C99-based-standards] (PRIuLEAST8): Likewise.
14231 [C99-based-standards] (PRIxLEAST8): Likewise.
14232 [C99-based-standards] (PRIXLEAST8): Likewise.
14233 [C99-based-standards] (SCNdLEAST8): Likewise.
14234 [C99-based-standards] (SCNiLEAST8): Likewise.
14235 [C99-based-standards] (SCNoLEAST8): Likewise.
14236 [C99-based-standards] (SCNuLEAST8): Likewise.
14237 [C99-based-standards] (SCNxLEAST8): Likewise.
14238 [C99-based-standards] (PRIdFAST8): Likewise.
14239 [C99-based-standards] (PRIiFAST8): Likewise.
14240 [C99-based-standards] (PRIoFAST8): Likewise.
14241 [C99-based-standards] (PRIuFAST8): Likewise.
14242 [C99-based-standards] (PRIxFAST8): Likewise.
14243 [C99-based-standards] (PRIXFAST8): Likewise.
14244 [C99-based-standards] (SCNdFAST8): Likewise.
14245 [C99-based-standards] (SCNiFAST8): Likewise.
14246 [C99-based-standards] (SCNoFAST8): Likewise.
14247 [C99-based-standards] (SCNuFAST8): Likewise.
14248 [C99-based-standards] (SCNxFAST8): Likewise.
14249 [C99-based-standards] (PRId16): Likewise.
14250 [C99-based-standards] (PRIi16): Likewise.
14251 [C99-based-standards] (PRIo16): Likewise.
14252 [C99-based-standards] (PRIu16): Likewise.
14253 [C99-based-standards] (PRIx16): Likewise.
14254 [C99-based-standards] (PRIX16): Likewise.
14255 [C99-based-standards] (SCNd16): Likewise.
14256 [C99-based-standards] (SCNi16): Likewise.
14257 [C99-based-standards] (SCNo16): Likewise.
14258 [C99-based-standards] (SCNu16): Likewise.
14259 [C99-based-standards] (SCNx16): Likewise.
14260 [C99-based-standards] (PRIdLEAST16): Likewise.
14261 [C99-based-standards] (PRIiLEAST16): Likewise.
14262 [C99-based-standards] (PRIoLEAST16): Likewise.
14263 [C99-based-standards] (PRIuLEAST16): Likewise.
14264 [C99-based-standards] (PRIxLEAST16): Likewise.
14265 [C99-based-standards] (PRIXLEAST16): Likewise.
14266 [C99-based-standards] (SCNdLEAST16): Likewise.
14267 [C99-based-standards] (SCNiLEAST16): Likewise.
14268 [C99-based-standards] (SCNoLEAST16): Likewise.
14269 [C99-based-standards] (SCNuLEAST16): Likewise.
14270 [C99-based-standards] (SCNxLEAST16): Likewise.
14271 [C99-based-standards] (PRIdFAST16): Likewise.
14272 [C99-based-standards] (PRIiFAST16): Likewise.
14273 [C99-based-standards] (PRIoFAST16): Likewise.
14274 [C99-based-standards] (PRIuFAST16): Likewise.
14275 [C99-based-standards] (PRIxFAST16): Likewise.
14276 [C99-based-standards] (PRIXFAST16): Likewise.
14277 [C99-based-standards] (SCNdFAST16): Likewise.
14278 [C99-based-standards] (SCNiFAST16): Likewise.
14279 [C99-based-standards] (SCNoFAST16): Likewise.
14280 [C99-based-standards] (SCNuFAST16): Likewise.
14281 [C99-based-standards] (SCNxFAST16): Likewise.
14282 [C99-based-standards] (PRId32): Likewise.
14283 [C99-based-standards] (PRIi32): Likewise.
14284 [C99-based-standards] (PRIo32): Likewise.
14285 [C99-based-standards] (PRIu32): Likewise.
14286 [C99-based-standards] (PRIx32): Likewise.
14287 [C99-based-standards] (PRIX32): Likewise.
14288 [C99-based-standards] (SCNd32): Likewise.
14289 [C99-based-standards] (SCNi32): Likewise.
14290 [C99-based-standards] (SCNo32): Likewise.
14291 [C99-based-standards] (SCNu32): Likewise.
14292 [C99-based-standards] (SCNx32): Likewise.
14293 [C99-based-standards] (PRIdLEAST32): Likewise.
14294 [C99-based-standards] (PRIiLEAST32): Likewise.
14295 [C99-based-standards] (PRIoLEAST32): Likewise.
14296 [C99-based-standards] (PRIuLEAST32): Likewise.
14297 [C99-based-standards] (PRIxLEAST32): Likewise.
14298 [C99-based-standards] (PRIXLEAST32): Likewise.
14299 [C99-based-standards] (SCNdLEAST32): Likewise.
14300 [C99-based-standards] (SCNiLEAST32): Likewise.
14301 [C99-based-standards] (SCNoLEAST32): Likewise.
14302 [C99-based-standards] (SCNuLEAST32): Likewise.
14303 [C99-based-standards] (SCNxLEAST32): Likewise.
14304 [C99-based-standards] (PRIdFAST32): Likewise.
14305 [C99-based-standards] (PRIiFAST32): Likewise.
14306 [C99-based-standards] (PRIoFAST32): Likewise.
14307 [C99-based-standards] (PRIuFAST32): Likewise.
14308 [C99-based-standards] (PRIxFAST32): Likewise.
14309 [C99-based-standards] (PRIXFAST32): Likewise.
14310 [C99-based-standards] (SCNdFAST32): Likewise.
14311 [C99-based-standards] (SCNiFAST32): Likewise.
14312 [C99-based-standards] (SCNoFAST32): Likewise.
14313 [C99-based-standards] (SCNuFAST32): Likewise.
14314 [C99-based-standards] (SCNxFAST32): Likewise.
14315 [C99-based-standards] (PRId64): Likewise.
14316 [C99-based-standards] (PRIi64): Likewise.
14317 [C99-based-standards] (PRIo64): Likewise.
14318 [C99-based-standards] (PRIu64): Likewise.
14319 [C99-based-standards] (PRIx64): Likewise.
14320 [C99-based-standards] (PRIX64): Likewise.
14321 [C99-based-standards] (SCNd64): Likewise.
14322 [C99-based-standards] (SCNi64): Likewise.
14323 [C99-based-standards] (SCNo64): Likewise.
14324 [C99-based-standards] (SCNu64): Likewise.
14325 [C99-based-standards] (SCNx64): Likewise.
14326 [C99-based-standards] (PRIdLEAST64): Likewise.
14327 [C99-based-standards] (PRIiLEAST64): Likewise.
14328 [C99-based-standards] (PRIoLEAST64): Likewise.
14329 [C99-based-standards] (PRIuLEAST64): Likewise.
14330 [C99-based-standards] (PRIxLEAST64): Likewise.
14331 [C99-based-standards] (PRIXLEAST64): Likewise.
14332 [C99-based-standards] (SCNdLEAST64): Likewise.
14333 [C99-based-standards] (SCNiLEAST64): Likewise.
14334 [C99-based-standards] (SCNoLEAST64): Likewise.
14335 [C99-based-standards] (SCNuLEAST64): Likewise.
14336 [C99-based-standards] (SCNxLEAST64): Likewise.
14337 [C99-based-standards] (PRIdFAST64): Likewise.
14338 [C99-based-standards] (PRIiFAST64): Likewise.
14339 [C99-based-standards] (PRIoFAST64): Likewise.
14340 [C99-based-standards] (PRIuFAST64): Likewise.
14341 [C99-based-standards] (PRIxFAST64): Likewise.
14342 [C99-based-standards] (PRIXFAST64): Likewise.
14343 [C99-based-standards] (SCNdFAST64): Likewise.
14344 [C99-based-standards] (SCNiFAST64): Likewise.
14345 [C99-based-standards] (SCNoFAST64): Likewise.
14346 [C99-based-standards] (SCNuFAST64): Likewise.
14347 [C99-based-standards] (SCNxFAST64): Likewise.
14348 [C99-based-standards] (PRIdMAX): Likewise.
14349 [C99-based-standards] (PRIiMAX): Likewise.
14350 [C99-based-standards] (PRIoMAX): Likewise.
14351 [C99-based-standards] (PRIuMAX): Likewise.
14352 [C99-based-standards] (PRIxMAX): Likewise.
14353 [C99-based-standards] (PRIXMAX): Likewise.
14354 [C99-based-standards] (SCNdMAX): Likewise.
14355 [C99-based-standards] (SCNiMAX): Likewise.
14356 [C99-based-standards] (SCNoMAX): Likewise.
14357 [C99-based-standards] (SCNuMAX): Likewise.
14358 [C99-based-standards] (SCNxMAX): Likewise.
14359 [C99-based-standards] (PRIdPTR): Likewise.
14360 [C99-based-standards] (PRIiPTR): Likewise.
14361 [C99-based-standards] (PRIoPTR): Likewise.
14362 [C99-based-standards] (PRIuPTR): Likewise.
14363 [C99-based-standards] (PRIxPTR): Likewise.
14364 [C99-based-standards] (PRIXPTR): Likewise.
14365 [C99-based-standards] (SCNdPTR): Likewise.
14366 [C99-based-standards] (SCNiPTR): Likewise.
14367 [C99-based-standards] (SCNoPTR): Likewise.
14368 [C99-based-standards] (SCNuPTR): Likewise.
14369 [C99-based-standards] (SCNxPTR): Likewise.
14370 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14372 * conform/data/stdint.h-data: Update comments to clarify
14374 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
14376 [C99-based standards] (INT8_MAX): Likewise.
14377 [C99-based standards] (INT16_MIN): Likewise.
14378 [C99-based standards] (INT16_MAX): Likewise.
14379 [C99-based standards] (INT32_MIN): Likewise.
14380 [C99-based standards] (INT32_MAX): Likewise.
14381 [C99-based standards] (INT64_MIN): Likewise.
14382 [C99-based standards] (INT64_MAX): Likewise.
14383 [C99-based standards] (UINT8_MAX): Likewise.
14384 [C99-based standards] (UINT16_MAX): Likewise.
14385 [C99-based standards] (UINT32_MAX): Likewise.
14386 [C99-based standards] (UINT64_MAX): Likewise.
14387 [C99-based standards] (INT_LEAST8_MIN): Likewise.
14388 [C99-based standards] (INT_LEAST8_MAX): Likewise.
14389 [C99-based standards] (INT_LEAST16_MIN): Likewise.
14390 [C99-based standards] (INT_LEAST16_MAX): Likewise.
14391 [C99-based standards] (INT_LEAST32_MIN): Likewise.
14392 [C99-based standards] (INT_LEAST32_MAX): Likewise.
14393 [C99-based standards] (INT_LEAST64_MIN): Likewise.
14394 [C99-based standards] (INT_LEAST64_MAX): Likewise.
14395 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14396 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14397 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14398 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14399 [C99-based standards] (INT_FAST8_MIN): Likewise.
14400 [C99-based standards] (INT_FAST8_MAX): Likewise.
14401 [C99-based standards] (INT_FAST16_MIN): Likewise.
14402 [C99-based standards] (INT_FAST16_MAX): Likewise.
14403 [C99-based standards] (INT_FAST32_MIN): Likewise.
14404 [C99-based standards] (INT_FAST32_MAX): Likewise.
14405 [C99-based standards] (INT_FAST64_MIN): Likewise.
14406 [C99-based standards] (INT_FAST64_MAX): Likewise.
14407 [C99-based standards] (UINT_FAST8_MAX): Likewise.
14408 [C99-based standards] (UINT_FAST16_MAX): Likewise.
14409 [C99-based standards] (UINT_FAST32_MAX): Likewise.
14410 [C99-based standards] (UINT_FAST64_MAX): Likewise.
14411 [C99-based standards] (INTPTR_MIN): Likewise.
14412 [C99-based standards] (INTPTR_MAX): Likewise.
14413 [C99-based standards] (UINTPTR_MAX): Likewise.
14414 [C99-based standards] (INTMAX_MIN): Likewise.
14415 [C99-based standards] (INTMAX_MAX): Likewise.
14416 [C99-based standards] (UINTMAX_MAX): Likewise.
14417 [C99-based standards] (PTRDIFF_MIN): Likewise.
14418 [C99-based standards] (PTRDIFF_MAX): Likewise.
14419 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14420 [C99-based standards] (SIZE_MAX): Likewise.
14421 [C99-based standards] (WCHAR_MAX): Likewise.
14422 [C99-based standards] (WINT_MAX): Likewise.
14423 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
14424 constraint on value.
14425 [C99-based standards] (WCHAR_MIN): Likewise.
14426 [C99-based standards] (WINT_MIN): Likewise.
14427 [C99-based standards] (*_t): Allow.
14428 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14429 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14430 Include math.h-data and complex.h-data. Remove all expectations
14431 of math.h and complex.h contents.
14432 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14434 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14435 (struct tm): Expect tag.
14436 [C99-based-standards] (wcstof): Expect function.
14437 [C99-based-standards] (wcstold): Likewise.
14438 [C99-based-standards] (wcstoll): Likewise.
14439 [C99-based-standards] (wcstoull): Likewise.
14440 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14441 macro-int-constant. Specify type.
14442 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14443 constraint on value.
14444 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14446 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14448 [ISO C standards]: Do not allow headers.
14449 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14450 wcs[abcdefghijklmnopqrstuvwxyz]*.
14451 [ISO C standards] (*_t): Do not allow.
14452 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14454 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14455 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14457 [ISO C standards]: Do not allow headers.
14458 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14459 is[abcdefghijklmnopqrstuvwxyz]*.
14460 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14461 to[abcdefghijklmnopqrstuvwxyz]*.
14462 [ISO C standards] (*_t): Do not allow.
14463 * conform/data/stdalign.h-data: New file.
14464 * conform/data/stdbool.h-data: Likewise.
14465 * conform/data/stdnoreturn.h-data: Likewise.
14467 2012-11-07 Roland McGrath <roland@hack.frob.com>
14470 * manual/filesys.texi (Directory Entries): Typo fix.
14471 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14473 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14475 * elf/elf.h (EM_AARCH64): New macro.
14476 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14477 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14478 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14479 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14480 (R_AARCH64_TLSDESC): Likewise.
14481 (NT_ARM_TLS): Likewise.
14482 (NT_ARM_HW_BREAK): Likewise.
14483 (NT_ARM_HW_WATCH): Likewise.
14485 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14488 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14489 (__ieee754_powl): Saturate nonzero exponents with absolute value
14490 below 0x1p-79 to +/- 0x1p-79.
14491 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14492 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14493 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14494 nonzero exponents with absolute value below 0x1p-32 to +/-
14496 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14497 (__ieee754_powl): Saturate nonzero exponents with absolute value
14498 below 0x1p-79 to +/- 0x1p-79.
14499 * math/libm-test.inc (pow_test): Add more tests.
14501 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14503 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14504 _dl_s390_cap_flags with kernel. Increase string length.
14505 (_dl_s390_platforms): Add z196 and zEC12.
14507 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14509 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14510 Change XOPEN21K to XOPEN2K.
14512 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14514 * string/memmove.c: Use memcpy when possible.
14516 2012-11-06 Andreas Jaeger <aj@suse.de>
14518 * po/eo.po: Update from translation team.
14520 2012-11-06 Joseph Myers <joseph@codesourcery.com>
14523 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14524 exponent and small x and y exponents, scale x or y up. Increase
14525 by 2 the exponent used in scaling up.
14526 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14527 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14528 * math/libm-test.inc (fma_test): Add more tests.
14529 (fma_test_towardzero): Likewise.
14530 (fma_test_downward): Likewise.
14531 (fma_test_upward): Likewise.
14533 2012-11-05 Joseph Myers <joseph@codesourcery.com>
14536 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14540 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14541 namespace for names of struct fields.
14542 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14544 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14545 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14547 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14550 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14552 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14554 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14558 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14561 2012-11-04 Joseph Myers <joseph@codesourcery.com>
14564 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14565 definitely overflow as x * y not x * y + z.
14566 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14567 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14568 * math/libm-test.inc (fma_test): Add more tests.
14569 (fma_test_towardzero): Likewise.
14570 (fma_test_downward): Likewise.
14571 (fma_test_upward): Likewise.
14573 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14577 * include/stub-tag.h: Remove file.
14578 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14580 * manual/maint.texi (Porting): Don't reference it.
14581 * Makerules ($(objpfx)stubs): Likewise.
14582 * dirent/closedir.c: Don't include <stub-tag.h>.
14583 * dirent/dirfd.c: Likewise.
14584 * dirent/fdopendir.c: Likewise.
14585 * dirent/getdents.c: Likewise.
14586 * dirent/getdents64.c: Likewise.
14587 * dirent/opendir.c: Likewise.
14588 * dirent/readdir.c: Likewise.
14589 * dirent/readdir64.c: Likewise.
14590 * dirent/readdir64_r.c: Likewise.
14591 * dirent/readdir_r.c: Likewise.
14592 * dirent/rewinddir.c: Likewise.
14593 * dirent/seekdir.c: Likewise.
14594 * dirent/telldir.c: Likewise.
14595 * gmon/profil.c: Likewise.
14596 * grp/setgroups.c: Likewise.
14597 * inet/if_index.c: Likewise.
14598 * io/access.c: Likewise.
14599 * io/chdir.c: Likewise.
14600 * io/chmod.c: Likewise.
14601 * io/chown.c: Likewise.
14602 * io/close.c: Likewise.
14603 * io/dup.c: Likewise.
14604 * io/dup2.c: Likewise.
14605 * io/dup3.c: Likewise.
14606 * io/euidaccess.c: Likewise.
14607 * io/faccessat.c: Likewise.
14608 * io/fchdir.c: Likewise.
14609 * io/fchmod.c: Likewise.
14610 * io/fchmodat.c: Likewise.
14611 * io/fchown.c: Likewise.
14612 * io/fchownat.c: Likewise.
14613 * io/fcntl.c: Likewise.
14614 * io/flock.c: Likewise.
14615 * io/fstatfs.c: Likewise.
14616 * io/fstatfs64.c: Likewise.
14617 * io/fstatvfs.c: Likewise.
14618 * io/fstatvfs64.c: Likewise.
14619 * io/futimens.c: Likewise.
14620 * io/fxstat.c: Likewise.
14621 * io/fxstat64.c: Likewise.
14622 * io/fxstatat.c: Likewise.
14623 * io/fxstatat64.c: Likewise.
14624 * io/getcwd.c: Likewise.
14625 * io/isatty.c: Likewise.
14626 * io/lchmod.c: Likewise.
14627 * io/lchown.c: Likewise.
14628 * io/link.c: Likewise.
14629 * io/linkat.c: Likewise.
14630 * io/lseek.c: Likewise.
14631 * io/lseek64.c: Likewise.
14632 * io/lxstat64.c: Likewise.
14633 * io/mkdir.c: Likewise.
14634 * io/mkdirat.c: Likewise.
14635 * io/mkfifo.c: Likewise.
14636 * io/mkfifoat.c: Likewise.
14637 * io/open.c: Likewise.
14638 * io/open64.c: Likewise.
14639 * io/openat.c: Likewise.
14640 * io/openat64.c: Likewise.
14641 * io/pipe.c: Likewise.
14642 * io/pipe2.c: Likewise.
14643 * io/poll.c: Likewise.
14644 * io/posix_fadvise.c: Likewise.
14645 * io/posix_fadvise64.c: Likewise.
14646 * io/posix_fallocate.c: Likewise.
14647 * io/posix_fallocate64.c: Likewise.
14648 * io/read.c: Likewise.
14649 * io/readlink.c: Likewise.
14650 * io/readlinkat.c: Likewise.
14651 * io/rmdir.c: Likewise.
14652 * io/sendfile.c: Likewise.
14653 * io/sendfile64.c: Likewise.
14654 * io/statfs.c: Likewise.
14655 * io/statfs64.c: Likewise.
14656 * io/statvfs.c: Likewise.
14657 * io/statvfs64.c: Likewise.
14658 * io/symlink.c: Likewise.
14659 * io/symlinkat.c: Likewise.
14660 * io/ttyname.c: Likewise.
14661 * io/ttyname_r.c: Likewise.
14662 * io/umask.c: Likewise.
14663 * io/unlink.c: Likewise.
14664 * io/unlinkat.c: Likewise.
14665 * io/utime.c: Likewise.
14666 * io/utimensat.c: Likewise.
14667 * io/write.c: Likewise.
14668 * io/xmknod.c: Likewise.
14669 * io/xmknodat.c: Likewise.
14670 * io/xstat.c: Likewise.
14671 * io/xstat64.c: Likewise.
14672 * login/getpt.c: Likewise.
14673 * login/grantpt.c: Likewise.
14674 * login/unlockpt.c: Likewise.
14675 * math/e_acoshl.c: Likewise.
14676 * math/e_acosl.c: Likewise.
14677 * math/e_asinl.c: Likewise.
14678 * math/e_atan2l.c: Likewise.
14679 * math/e_atanhl.c: Likewise.
14680 * math/e_coshl.c: Likewise.
14681 * math/e_expl.c: Likewise.
14682 * math/e_fmodl.c: Likewise.
14683 * math/e_gammal_r.c: Likewise.
14684 * math/e_hypotl.c: Likewise.
14685 * math/e_j0l.c: Likewise.
14686 * math/e_j1l.c: Likewise.
14687 * math/e_jnl.c: Likewise.
14688 * math/e_lgammal_r.c: Likewise.
14689 * math/e_log10l.c: Likewise.
14690 * math/e_log2l.c: Likewise.
14691 * math/e_logl.c: Likewise.
14692 * math/e_powl.c: Likewise.
14693 * math/e_rem_pio2l.c: Likewise.
14694 * math/e_sinhl.c: Likewise.
14695 * math/e_sqrtl.c: Likewise.
14696 * math/fclrexcpt.c: Likewise.
14697 * math/fedisblxcpt.c: Likewise.
14698 * math/feenablxcpt.c: Likewise.
14699 * math/fegetenv.c: Likewise.
14700 * math/fegetexcept.c: Likewise.
14701 * math/fegetround.c: Likewise.
14702 * math/feholdexcpt.c: Likewise.
14703 * math/fesetenv.c: Likewise.
14704 * math/fesetround.c: Likewise.
14705 * math/feupdateenv.c: Likewise.
14706 * math/fgetexcptflg.c: Likewise.
14707 * math/fraiseexcpt.c: Likewise.
14708 * math/fsetexcptflg.c: Likewise.
14709 * math/ftestexcept.c: Likewise.
14710 * math/k_cosl.c: Likewise.
14711 * math/k_rem_pio2l.c: Likewise.
14712 * math/k_sinl.c: Likewise.
14713 * math/k_tanl.c: Likewise.
14714 * math/s_asinhl.c: Likewise.
14715 * math/s_atanl.c: Likewise.
14716 * math/s_cbrtl.c: Likewise.
14717 * math/s_erfl.c: Likewise.
14718 * math/s_expm1l.c: Likewise.
14719 * math/s_log1pl.c: Likewise.
14720 * math/s_tanhl.c: Likewise.
14721 * misc/acct.c: Likewise.
14722 * misc/brk.c: Likewise.
14723 * misc/chflags.c: Likewise.
14724 * misc/chroot.c: Likewise.
14725 * misc/fchflags.c: Likewise.
14726 * misc/fgetxattr.c: Likewise.
14727 * misc/flistxattr.c: Likewise.
14728 * misc/fremovexattr.c: Likewise.
14729 * misc/fsetxattr.c: Likewise.
14730 * misc/fsync.c: Likewise.
14731 * misc/ftruncate.c: Likewise.
14732 * misc/futimes.c: Likewise.
14733 * misc/futimesat.c: Likewise.
14734 * misc/getdomain.c: Likewise.
14735 * misc/getdtsz.c: Likewise.
14736 * misc/gethostid.c: Likewise.
14737 * misc/gethostname.c: Likewise.
14738 * misc/getloadavg.c: Likewise.
14739 * misc/getpagesize.c: Likewise.
14740 * misc/getsysstats.c: Likewise.
14741 * misc/getxattr.c: Likewise.
14742 * misc/gtty.c: Likewise.
14743 * misc/ioctl.c: Likewise.
14744 * misc/lgetxattr.c: Likewise.
14745 * misc/listxattr.c: Likewise.
14746 * misc/llistxattr.c: Likewise.
14747 * misc/lremovexattr.c: Likewise.
14748 * misc/lsetxattr.c: Likewise.
14749 * misc/lutimes.c: Likewise.
14750 * misc/madvise.c: Likewise.
14751 * misc/mincore.c: Likewise.
14752 * misc/mlock.c: Likewise.
14753 * misc/mlockall.c: Likewise.
14754 * misc/mmap.c: Likewise.
14755 * misc/mprotect.c: Likewise.
14756 * misc/msync.c: Likewise.
14757 * misc/munlock.c: Likewise.
14758 * misc/munlockall.c: Likewise.
14759 * misc/munmap.c: Likewise.
14760 * misc/preadv.c: Likewise.
14761 * misc/preadv64.c: Likewise.
14762 * misc/ptrace.c: Likewise.
14763 * misc/pwritev.c: Likewise.
14764 * misc/pwritev64.c: Likewise.
14765 * misc/readv.c: Likewise.
14766 * misc/reboot.c: Likewise.
14767 * misc/remap_file_pages.c: Likewise.
14768 * misc/removexattr.c: Likewise.
14769 * misc/revoke.c: Likewise.
14770 * misc/select.c: Likewise.
14771 * misc/setdomain.c: Likewise.
14772 * misc/setegid.c: Likewise.
14773 * misc/seteuid.c: Likewise.
14774 * misc/sethostid.c: Likewise.
14775 * misc/sethostname.c: Likewise.
14776 * misc/setregid.c: Likewise.
14777 * misc/setreuid.c: Likewise.
14778 * misc/setxattr.c: Likewise.
14779 * misc/sstk.c: Likewise.
14780 * misc/stty.c: Likewise.
14781 * misc/swapoff.c: Likewise.
14782 * misc/swapon.c: Likewise.
14783 * misc/sync.c: Likewise.
14784 * misc/syncfs.c: Likewise.
14785 * misc/syscall.c: Likewise.
14786 * misc/truncate.c: Likewise.
14787 * misc/ualarm.c: Likewise.
14788 * misc/usleep.c: Likewise.
14789 * misc/ustat.c: Likewise.
14790 * misc/utimes.c: Likewise.
14791 * misc/vhangup.c: Likewise.
14792 * misc/writev.c: Likewise.
14793 * posix/_exit.c: Likewise.
14794 * posix/alarm.c: Likewise.
14795 * posix/execve.c: Likewise.
14796 * posix/fexecve.c: Likewise.
14797 * posix/fork.c: Likewise.
14798 * posix/fpathconf.c: Likewise.
14799 * posix/getaddrinfo.c: Likewise.
14800 * posix/getegid.c: Likewise.
14801 * posix/geteuid.c: Likewise.
14802 * posix/getgid.c: Likewise.
14803 * posix/getgroups.c: Likewise.
14804 * posix/getlogin.c: Likewise.
14805 * posix/getlogin_r.c: Likewise.
14806 * posix/getpgid.c: Likewise.
14807 * posix/getpid.c: Likewise.
14808 * posix/getppid.c: Likewise.
14809 * posix/getresgid.c: Likewise.
14810 * posix/getresuid.c: Likewise.
14811 * posix/getsid.c: Likewise.
14812 * posix/getuid.c: Likewise.
14813 * posix/glob64.c: Likewise.
14814 * posix/nanosleep.c: Likewise.
14815 * posix/pathconf.c: Likewise.
14816 * posix/pause.c: Likewise.
14817 * posix/posix_madvise.c: Likewise.
14818 * posix/pread.c: Likewise.
14819 * posix/pread64.c: Likewise.
14820 * posix/pwrite.c: Likewise.
14821 * posix/pwrite64.c: Likewise.
14822 * posix/sched_getaffinity.c: Likewise.
14823 * posix/sched_getp.c: Likewise.
14824 * posix/sched_gets.c: Likewise.
14825 * posix/sched_primax.c: Likewise.
14826 * posix/sched_primin.c: Likewise.
14827 * posix/sched_rr_gi.c: Likewise.
14828 * posix/sched_setaffinity.c: Likewise.
14829 * posix/sched_setp.c: Likewise.
14830 * posix/sched_sets.c: Likewise.
14831 * posix/sched_yield.c: Likewise.
14832 * posix/setgid.c: Likewise.
14833 * posix/setlogin.c: Likewise.
14834 * posix/setpgid.c: Likewise.
14835 * posix/setresgid.c: Likewise.
14836 * posix/setresuid.c: Likewise.
14837 * posix/setsid.c: Likewise.
14838 * posix/setuid.c: Likewise.
14839 * posix/sleep.c: Likewise.
14840 * posix/spawni.c: Likewise.
14841 * posix/sysconf.c: Likewise.
14842 * posix/times.c: Likewise.
14843 * posix/wait.c: Likewise.
14844 * posix/wait3.c: Likewise.
14845 * posix/wait4.c: Likewise.
14846 * posix/waitpid.c: Likewise.
14847 * resolv/gai_sigqueue.c: Likewise.
14848 * resource/getpriority.c: Likewise.
14849 * resource/getrlimit.c: Likewise.
14850 * resource/getrusage.c: Likewise.
14851 * resource/nice.c: Likewise.
14852 * resource/setpriority.c: Likewise.
14853 * resource/setrlimit.c: Likewise.
14854 * resource/ulimit.c: Likewise.
14855 * rt/aio_cancel.c: Likewise.
14856 * rt/aio_fsync.c: Likewise.
14857 * rt/aio_read.c: Likewise.
14858 * rt/aio_sigqueue.c: Likewise.
14859 * rt/aio_suspend.c: Likewise.
14860 * rt/aio_write.c: Likewise.
14861 * rt/clock_getres.c: Likewise.
14862 * rt/clock_gettime.c: Likewise.
14863 * rt/clock_nanosleep.c: Likewise.
14864 * rt/clock_settime.c: Likewise.
14865 * rt/lio_listio.c: Likewise.
14866 * rt/mq_close.c: Likewise.
14867 * rt/mq_getattr.c: Likewise.
14868 * rt/mq_notify.c: Likewise.
14869 * rt/mq_open.c: Likewise.
14870 * rt/mq_receive.c: Likewise.
14871 * rt/mq_send.c: Likewise.
14872 * rt/mq_setattr.c: Likewise.
14873 * rt/mq_timedreceive.c: Likewise.
14874 * rt/mq_timedsend.c: Likewise.
14875 * rt/mq_unlink.c: Likewise.
14876 * rt/shm_open.c: Likewise.
14877 * rt/shm_unlink.c: Likewise.
14878 * rt/timer_create.c: Likewise.
14879 * rt/timer_delete.c: Likewise.
14880 * rt/timer_getoverr.c: Likewise.
14881 * rt/timer_gettime.c: Likewise.
14882 * rt/timer_settime.c: Likewise.
14883 * setjmp/__longjmp.c: Likewise.
14884 * setjmp/setjmp.c: Likewise.
14885 * signal/kill.c: Likewise.
14886 * signal/killpg.c: Likewise.
14887 * signal/raise.c: Likewise.
14888 * signal/sigaction.c: Likewise.
14889 * signal/sigaltstack.c: Likewise.
14890 * signal/sigblock.c: Likewise.
14891 * signal/sigignore.c: Likewise.
14892 * signal/sigintr.c: Likewise.
14893 * signal/signal.c: Likewise.
14894 * signal/sigpause.c: Likewise.
14895 * signal/sigpending.c: Likewise.
14896 * signal/sigqueue.c: Likewise.
14897 * signal/sigreturn.c: Likewise.
14898 * signal/sigset.c: Likewise.
14899 * signal/sigsetmask.c: Likewise.
14900 * signal/sigstack.c: Likewise.
14901 * signal/sigsuspend.c: Likewise.
14902 * signal/sigtimedwait.c: Likewise.
14903 * signal/sigvec.c: Likewise.
14904 * signal/sigwait.c: Likewise.
14905 * signal/sigwaitinfo.c: Likewise.
14906 * signal/sysv_signal.c: Likewise.
14907 * socket/accept.c: Likewise.
14908 * socket/accept4.c: Likewise.
14909 * socket/bind.c: Likewise.
14910 * socket/connect.c: Likewise.
14911 * socket/getpeername.c: Likewise.
14912 * socket/getsockname.c: Likewise.
14913 * socket/getsockopt.c: Likewise.
14914 * socket/isfdtype.c: Likewise.
14915 * socket/listen.c: Likewise.
14916 * socket/recv.c: Likewise.
14917 * socket/recvfrom.c: Likewise.
14918 * socket/recvmsg.c: Likewise.
14919 * socket/send.c: Likewise.
14920 * socket/sendmsg.c: Likewise.
14921 * socket/sendto.c: Likewise.
14922 * socket/setsockopt.c: Likewise.
14923 * socket/shutdown.c: Likewise.
14924 * socket/sockatmark.c: Likewise.
14925 * socket/socket.c: Likewise.
14926 * socket/socketpair.c: Likewise.
14927 * stdio-common/ctermid.c: Likewise.
14928 * stdio-common/cuserid.c: Likewise.
14929 * stdio-common/remove.c: Likewise.
14930 * stdio-common/rename.c: Likewise.
14931 * stdio-common/renameat.c: Likewise.
14932 * stdio-common/tempname.c: Likewise.
14933 * stdlib/getcontext.c: Likewise.
14934 * stdlib/makecontext.c: Likewise.
14935 * stdlib/setcontext.c: Likewise.
14936 * stdlib/swapcontext.c: Likewise.
14937 * stdlib/system.c: Likewise.
14938 * streams/fattach.c: Likewise.
14939 * streams/fdetach.c: Likewise.
14940 * streams/getmsg.c: Likewise.
14941 * streams/getpmsg.c: Likewise.
14942 * streams/putmsg.c: Likewise.
14943 * streams/putpmsg.c: Likewise.
14944 * sysdeps/unix/bsd/getpt.c: Likewise.
14945 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14946 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14947 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14950 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14951 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14952 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14953 * sysvipc/msgctl.c: Likewise.
14954 * sysvipc/msgget.c: Likewise.
14955 * sysvipc/msgrcv.c: Likewise.
14956 * sysvipc/msgsnd.c: Likewise.
14957 * sysvipc/semctl.c: Likewise.
14958 * sysvipc/semget.c: Likewise.
14959 * sysvipc/semop.c: Likewise.
14960 * sysvipc/semtimedop.c: Likewise.
14961 * sysvipc/shmat.c: Likewise.
14962 * sysvipc/shmctl.c: Likewise.
14963 * sysvipc/shmdt.c: Likewise.
14964 * sysvipc/shmget.c: Likewise.
14965 * termios/tcdrain.c: Likewise.
14966 * termios/tcflow.c: Likewise.
14967 * termios/tcflush.c: Likewise.
14968 * termios/tcgetattr.c: Likewise.
14969 * termios/tcgetpgrp.c: Likewise.
14970 * termios/tcsendbrk.c: Likewise.
14971 * termios/tcsetattr.c: Likewise.
14972 * termios/tcsetpgrp.c: Likewise.
14973 * time/adjtime.c: Likewise.
14974 * time/clock.c: Likewise.
14975 * time/getitimer.c: Likewise.
14976 * time/gettimeofday.c: Likewise.
14977 * time/setitimer.c: Likewise.
14978 * time/settimeofday.c: Likewise.
14979 * time/stime.c: Likewise.
14980 * time/time.c: Likewise.
14982 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
14984 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
14987 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
14989 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
14991 2012-11-03 Joseph Myers <joseph@codesourcery.com>
14994 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
14995 FE_TONEAREST before applying Dekker multiplication and Knuth
14996 addition. Clear inexact exceptions and check for exact zero
14997 results afterwards.
14998 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14999 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15000 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15001 * math/libm-test.inc (fma_test): Add more tests.
15002 (fma_test_towardzero): Likewise.
15003 (fma_test_downward): Likewise.
15004 (fma_test_upward): Likewise.
15005 * sysdeps/generic/math_private.h (default_libc_fesetround): New
15007 (libc_fesetround): New macro.
15008 (libc_fesetroundf): Likewise.
15009 (libc_fesetroundl): Likewise.
15010 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15012 (libc_fesetround_387): Likewise.
15013 (libc_fesetroundf): New macro.
15014 (libc_fesetround): Likewise.
15015 (libc_fesetroundl): Likewise.
15016 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15018 (libc_fesetroundf): New macro.
15019 (libc_fesetround): Likewise.
15020 (libc_fesetroundl): Likewise.
15021 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15022 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15023 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15025 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15026 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15028 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15029 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15031 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15035 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15036 integer constant usable in #if and use that to give value to enum
15038 (FE_DIVBYZERO): Likewise.
15039 (FE_UNDERFLOW): Likewise.
15040 (FE_OVERFLOW): Likewise.
15041 (FE_INVALID): Likewise.
15042 (FE_INVALID_SNAN): Likewise.
15043 (FE_INVALID_ISI): Likewise.
15044 (FE_INVALID_IDI): Likewise.
15045 (FE_INVALID_ZDZ): Likewise.
15046 (FE_INVALID_IMZ): Likewise.
15047 (FE_INVALID_COMPARE): Likewise.
15048 (FE_INVALID_SOFTWARE): Likewise.
15049 (FE_INVALID_SQRT): Likewise.
15050 (FE_INVALID_INTEGER_CONVERSION): Likewise.
15051 (FE_TONEAREST): Likewise.
15052 (FE_TOWARDZERO): Likewise.
15053 (FE_UPWARD): Likewise.
15054 (FE_DOWNWARD): Likewise.
15055 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15056 (FE_DIVBYZERO): Likewise.
15057 (FE_OVERFLOW): Likewise.
15058 (FE_UNDERFLOW): Likewise.
15059 (FE_INEXACT): Likewise.
15060 (FE_TONEAREST): Likewise.
15061 (FE_DOWNWARD): Likewise.
15062 (FE_UPWARD): Likewise.
15063 (FE_TOWARDZERO): Likewise.
15064 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15065 (FE_UNDERFLOW): Likewise.
15066 (FE_OVERFLOW): Likewise.
15067 (FE_DIVBYZERO): Likewise.
15068 (FE_INVALID): Likewise.
15069 (FE_TONEAREST): Likewise.
15070 (FE_TOWARDZERO): Likewise.
15071 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15072 (FE_OVERFLOW): Likewise.
15073 (FE_UNDERFLOW): Likewise.
15074 (FE_DIVBYZERO): Likewise.
15075 (FE_INEXACT): Likewise.
15076 (FE_TONEAREST): Likewise.
15077 (FE_TOWARDZERO): Likewise.
15078 (FE_UPWARD): Likewise.
15079 (FE_DOWNWARD): Likewise.
15080 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15081 (FE_DIVBYZERO): Likewise.
15082 (FE_OVERFLOW): Likewise.
15083 (FE_UNDERFLOW): Likewise.
15084 (FE_INEXACT): Likewise.
15085 (FE_TONEAREST): Likewise.
15086 (FE_DOWNWARD): Likewise.
15087 (FE_UPWARD): Likewise.
15088 (FE_TOWARDZERO): Likewise.
15090 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
15092 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15094 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
15096 * scripts/cross-test-ssh.sh (command): Use newlines to separate
15097 commands. Quote $PWD.
15098 (blacklist_exports): Don't use remove_newlines. Replace "declare
15100 (remove_newlines): Remove.
15102 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
15104 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15105 * stdlib/stdlib.h (atof): Moved to ...
15106 * include/bits/stdlib-float.h: Here. New file.
15107 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15108 * stdlib/bits/stdlib-float.h: New file.
15109 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15111 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15114 2012-11-02 Joseph Myers <joseph@codesourcery.com>
15116 * conform/conformtest.pl (@headers): Add fenv.h.
15117 * conform/data/fenv.h-data: New file.
15118 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15119 include of <math/fenv.h>.
15121 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15122 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15123 && !UNIX98]. Enables tests for XOPEN2K8.
15124 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15125 POSIX2008]: Likewise.
15127 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15128 (struct rusage): Do not expect type or its members.
15131 * math/math.h (FP_NAN): Define macro to integer constant usable in
15132 #if and use that to give value to enum constant.
15133 (FP_INFINITE): Likewise.
15134 (FP_ZERO): Likewise.
15135 (FP_SUBNORMAL): Likewise.
15136 (FP_NORMAL): Likewise.
15138 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15140 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15141 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15144 2012-11-02 Roland McGrath <roland@hack.frob.com>
15146 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15147 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15148 autoconf-time if not.
15149 * configure.in: Remove AC_PREREQ.
15151 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15153 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15154 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15155 of the internal implementation.
15157 2012-11-02 Joseph Myers <joseph@codesourcery.com>
15159 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15160 except include of <misc/sys/syslog.h>.
15162 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15165 function returns with a NULL context exit with zero.
15167 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15169 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15171 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
15173 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15174 (run_program_cmd): This.
15175 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15176 (tst_langinfo): New variable. Use it.
15178 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
15180 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15181 floating point opcodes.
15183 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15185 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15188 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15190 * sysdeps/mach/hurd/powerpc: Remove directory.
15191 * sysdeps/mach/powerpc: Likewise.
15193 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15195 * scripts/check-local-headers.sh: Ignore c++ headers.
15197 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15199 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15200 __libc_cleanup_region_start argument.
15202 2012-11-01 Joseph Myers <joseph@codesourcery.com>
15206 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15207 x * y using scaling, not as x * y + z.
15208 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15209 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15210 * math/libm-test.inc (fma_test): Add more tests.
15211 (fma_test_towardzero): Likewise.
15212 (fma_test_downward): Likewise.
15213 (fma_test_upward): Likewise.
15215 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15217 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15219 2012-10-31 Joseph Myers <joseph@codesourcery.com>
15221 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15224 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
15226 * rt/tst-shm.c (worker): Correct checking for mmap failure.
15228 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15232 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15235 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15238 Fix the order of the list for glibc 2.17.
15239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15242 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15244 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15246 2012-10-31 Joseph Myers <joseph@codesourcery.com>
15249 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15250 for low part of x being zero before using __atanl (y).
15251 * math/libm-test.inc (atan2_test): Add another test.
15253 * manual/install.texi (Configuring and compiling): Document
15254 general use of test-wrapper and test-wrapper-env.
15255 * INSTALL: Regenerated.
15257 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15258 (__fma): Do not extract and scale down low bits on after-rounding
15259 systems when result rounded to normal precision would have normal
15261 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15262 (__fmal): Do not extract and scale down low bits on after-rounding
15263 systems when result rounded to normal precision would have normal
15265 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15266 (__fmal): Do not extract and scale down low bits on after-rounding
15267 systems when result rounded to normal precision would have normal
15269 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15271 (fma_test): Add more tests.
15272 (fma_test_towardzero): Likewise.
15273 (fma_test_downward): Likewise.
15274 (fma_test_upward): Likewise.
15276 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
15278 * sysdeps/i386/tininess.h: Renamed to ...
15279 * sysdeps/x86/tininess.h: This.
15280 * sysdeps/x86_64/tininess.h: Removed.
15282 2012-10-30 Joseph Myers <joseph@codesourcery.com>
15284 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
15285 input. Use $(build-program-cmd).
15286 ($(objpfx)tst-array1-static.out): Likewise.
15287 ($(objpfx)tst-array2.out): Likewise.
15288 ($(objpfx)tst-array3.out): Likewise.
15289 ($(objpfx)tst-array4.out): Likewise.
15290 ($(objpfx)tst-array5.out): Likewise.
15291 ($(objpfx)tst-array5-static.out): Likewise.
15293 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
15295 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15298 * nss/nsswitch.h (nss_interface_function): Provide new
15299 macro for use with NSS functions.
15300 * grp/initgroups.c: Use new macro.
15301 * nss/getXXbyYY.c: Likewise.
15302 * nss/getXXbyYY_r.c: Likewise.
15303 * nss/getXXent.c: Likewise.
15304 * nss/getXXent_r.c: Likewise.
15305 * sysdeps/posix/getaddrinfo.c: Likewise.
15307 2012-10-30 Andreas Jaeger <aj@suse.de>
15309 * po/ru.po: Update Russion translation from translation project.
15311 2012-10-30 Joseph Myers <joseph@codesourcery.com>
15315 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15316 result and shift together with sticky bit instead of replicating
15317 round-to-nearest rounding.
15318 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15319 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15320 * math/libm-test.inc (fma_test): Add more tests. Do not permit
15321 missing underflow exceptions.
15322 (fma_test_towardzero): Add more tests.
15323 (fma_test_downward): Likewise.
15324 (fma_test_upward): Likewise.
15327 * sysdeps/generic/tininess.h: New file.
15328 * sysdeps/i386/tininess.h: Likewise.
15329 * sysdeps/sh/tininess.h: Likewise.
15330 * sysdeps/x86_64/tininess.h: Likewise.
15331 * stdlib/tst-strtod-underflow.c: Likewise.
15332 * stdlib/tst-tininess.c: Likewise.
15333 * stdlib/strtod_l.c: Include <tininess.h>.
15334 (round_and_return): Do not set errno for exact underflow cases.
15335 Force an underflow exception when setting errno for underflow.
15336 Determine underflow based on rounding to normal precision if
15337 TININESS_AFTER_ROUNDING.
15338 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15339 ERANGE for exact underflow cases.
15340 * stdlib/Makefile (tests): Add tst-tininess and
15341 tst-strtod-underflow.
15342 ($(objpfx)tst-tininess): Use $(link-libm).
15343 ($(objpfx)tst-strtod-underflow): Likewise.
15345 2012-10-30 Andreas Jaeger <aj@suse.de>
15348 * elf/Makefile (tests): Remove conditional for have-initfini-array
15349 since this is now always required and the variable does not exist
15351 (tests-static): Likewise.
15352 (modules-names): Likewise.
15354 * po/eo.po: Add Esperanto translation from translation project.
15356 * elf/tst-array1.c (fini_array): Make writeable so that it can be
15357 merged with constructor/destructor.
15358 (init_array): Likewise.
15359 * elf/tst-array2dep.c (fini_array): Likewise.
15360 (init_array): Likewise.
15362 2012-10-29 Mike Frysinger <vapier@gentoo.org>
15364 * manual/message.texi: Delete @cartouche tags.
15366 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
15368 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15370 * sysdeps/mach/hurd/fsync.c: Likewise.
15372 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15373 [_POSIX_REALTIME_SIGNALS]: Change condition to
15374 [_POSIX_REALTIME_SIGNALS > 0].
15376 2012-10-27 Andreas Jaeger <aj@suse.de>
15378 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15379 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15380 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15381 [__WORDSIZE != 64]: Likewise.
15383 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
15385 * iconvdata/tst-table.sh: Remove ${SHELL}.
15386 * iconvdata/tst-tables.sh: Likewise.
15388 2012-10-25 David S. Miller <davem@davemloft.net>
15390 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15391 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15394 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15396 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15397 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15398 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15401 2012-10-25 Roland McGrath <roland@hack.frob.com>
15403 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15404 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15407 2012-10-25 Joseph Myers <joseph@codesourcery.com>
15408 Jim Blandy <jimb@codesourcery.com>
15410 * scripts/cross-test-ssh.sh: New file.
15411 * manual/install.texi (Configuring and compiling): Document use of
15413 * INSTALL: Regenerated.
15415 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
15417 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15420 2012-10-25 Joseph Myers <joseph@codesourcery.com>
15422 * Makeconfig (run-program-prefix): Fix comment.
15424 2012-10-24 Joseph Myers <joseph@codesourcery.com>
15425 Jim Blandy <jimb@codesourcery.com>
15427 * Makeconfig (test-wrapper): New variable,
15428 (test-wrapper-env): Likewise.
15429 [$(cross-compiling) = yes && $(test-wrapper) != ""]
15430 (run-built-tests): Define to yes.
15431 (run-program-prefix): Use $(test-wrapper).
15432 (built-program-cmd): Likewise.
15433 * Rules (make-test-out): Use $(test-wrapper-env) and
15434 $(host-built-program-cmd).
15435 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15436 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15438 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15439 $(test-wrapper-env) to tst-rtld-load-self.sh.
15440 ($(objpfx)order2.out): Use $(test-wrapper).
15441 ($(objpfx)tst-initorder.out): Likewise.
15442 ($(objpfx)tst-initorder2.out): Likewise.
15443 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15444 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15445 (test_wrapper_env): New variable. Use it to run ld.so.
15446 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15447 Use it to run ld.so.
15448 (test_wrapper_env): Likewise.
15449 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15450 $(test-wrapper) to run-iconv-test.sh.
15451 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15452 (ICONV): Use $test_wrapper.
15453 * posix/Makefile ($(objpfx)globtest.out): Pass
15454 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15455 globtest.sh, not $(run-program-prefix).
15456 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15457 (test_wrapper): Likewise.
15458 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15459 set together with run_via_rtld_prefix.
15460 (run_program_prefix): Define in terms of test_wrapper and
15461 run_via_rtld_prefix.
15463 2012-10-24 Roland McGrath <roland@hack.frob.com>
15465 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15466 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15470 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15471 Declare __clock_getres, __clock_gettime, __clock_settime,
15472 __clock_nanosleep, and __clock_getcpuclockid.
15473 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15474 Remove librt_hidden_def (clock_gettime).
15475 * sysdeps/unix/clock_gettime.c: Likewise.
15476 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15477 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15478 * rt/clock_getres.c: Define __clock_getres as an alias.
15479 * sysdeps/posix/clock_getres.c: Likewise.
15480 * rt/clock_settime.c: Define __clock_settime as an alias.
15481 * sysdeps/unix/clock_settime.c: Likewise.
15482 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15483 * sysdeps/unix/clock_nanosleep.c: Likewise.
15484 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15485 * rt/clock-compat.c: New file.
15486 * rt/Makefile (librt-routines): Add clock-compat and move
15487 $(clock-routines) to ...
15488 (routines): ... here, new variable.
15489 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15490 Don't add get_clockfreq here.
15491 * rt/Versions (libc: GLIBC_2.17): New version set.
15492 Add clock_* symbols here.
15493 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15494 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15495 (GLIBC_2.17): Add clock_* symbols.
15496 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15497 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15498 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15501 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15503 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15504 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15505 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15506 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15507 * NEWS: Mention the move.
15509 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15510 Use __open, __read, __close rather than their public counterparts.
15511 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15512 (__get_clockfreq_via_cpuinfo): Likewise.
15513 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15514 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15516 * config.h.in (HAVE_IFUNC): New #undef.
15517 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15519 * configure: Regenerated.
15521 2012-10-24 Mike Frysinger <vapier@gentoo.org>
15523 * configure.in: Move READELF check to start of file.
15524 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15525 libc_cv_asm_gnu_indirect_function in the process.
15526 * configure: Regenerated.
15528 2012-10-24 Mike Frysinger <vapier@gentoo.org>
15530 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15531 send the output to /dev/null.
15532 (libc_cv_cc_with_libunwind): Likewise.
15533 (libc_cv_as_noexecstack): Likewise.
15534 * configure: Regenerate.
15536 2012-10-24 Joseph Myers <joseph@codesourcery.com>
15538 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15540 * posix/globtest.sh (TMPDIR): Do not set.
15541 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15542 (testout): Likewise.
15544 2012-10-24 Andreas Jaeger <aj@suse.de>
15546 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15547 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15548 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15549 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15550 posix_fadvise64, posix_fallocate64.
15552 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15553 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15554 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15556 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15558 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15560 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15561 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15562 <bits/fcntl-linux.h>.
15563 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15565 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15566 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15567 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15568 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15569 [__WORDSIZE != 64]: Likewise.
15571 2012-10-23 Joseph Myers <joseph@codesourcery.com>
15573 * Makeconfig (run-built-tests): New variable.
15574 * Rules [$(cross-compiling) = yes]: Change condition to
15575 [$(run-built-tests) = no].
15576 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15577 to [$(run-built-tests) = yes].
15578 * elf/Makefile [$(cross-compiling) = no]: Likewise
15579 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15580 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15581 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15582 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15583 * io/Makefile [$(cross-compiling) = no]: Likewise.
15584 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15585 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15586 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15587 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15588 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15589 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15590 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15591 * string/Makefile [$(cross-compiling) = no]: Likewise.
15593 * posix/Makefile ($(objpfx)globtest.out): Pass
15594 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15595 $(rtld-installed-name).
15596 * posix/globtest.sh (elf_objpfx): Remove variable.
15597 (rtld_installed_name): Likewise.
15598 (library_path): Likewise.
15599 (run_program_prefix): New variable. Use for running globtest
15602 2012-10-23 Jim Blandy <jimb@codesourcery.com>
15603 Joseph Myers <joseph@codesourcery.com>
15605 * Makeconfig (host-built-program-cmd): New variable.
15606 * elf/Makefile (tst-stackguard1-ARGS): Use
15607 $(host-built-program-cmd).
15608 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15609 (tst-spawn-ARGS): Likewise.
15610 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15612 2012-10-23 Joseph Myers <joseph@codesourcery.com>
15613 Jim Blandy <jimb@codesourcery.com>
15615 * Makeconfig (run-via-rtld-prefix): New variable.
15616 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15617 (built-program-cmd): Likewise.
15619 2012-10-22 Andreas Jaeger <aj@suse.de>
15621 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15622 __O_RSYNC if it exists, otherwise to O_SYNC.
15624 2012-10-22 Jim Blandy <jimb@codesourcery.com>
15625 Joseph Myers <joseph@codesourcery.com>
15627 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15629 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15631 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15634 2012-10-22 Andreas Jaeger <aj@suse.de>
15636 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15638 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15640 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15641 bits/fcntl-linux.h.
15643 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15644 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15646 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15648 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15651 2012-10-21 Jim Blandy <jimb@codesourcery.com>
15652 Joseph Myers <joseph@codesourcery.com>
15654 * config.make.in (NM): New variable.
15656 2012-10-21 Andreas Jaeger <aj@suse.de>
15658 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15659 definitions and declarations that are provided by
15660 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15662 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15665 * elf/Makefile (tests-static): Add tst-leaks1-static.
15666 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15667 ($(objpfx)tst-leaks1-static): New rule.
15668 ($(objpfx)tst-leaks1-static-mem): Likewise.
15669 (tst-leaks1-static-ENV): New macro.
15670 * elf/dl-open.c (dl_open_worker): Check the main application
15671 only if SHARED is defined.
15672 * elf/tst-leaks1-static.c: New file.
15674 2012-10-20 Andreas Jaeger <aj@suse.de>
15676 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15677 generic values for Linux.
15678 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15679 and declarations that are provided by <bits/fcntl-linux.h> and
15680 include <bits/fcntl-linux.h>.
15681 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15682 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15684 2012-10-20 Roland McGrath <roland@hack.frob.com>
15686 * io/fcntl.h: Move include of <bits/types.h> to the top and
15687 include it unconditionally.
15689 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15691 * wcsmbs/Makefile (tests-ifunc): New variable.
15692 (tests): Add $(tests-ifunc).
15693 * wcsmbs/test-wcschr-ifunc.c: New file.
15694 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15695 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15696 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15697 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15698 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15700 * string/Makefile (tests-ifunc): New variable.
15701 (tests): Add $(tests-ifunc).
15702 * string/test-memccpy.c (TEST_NAME): New macro.
15703 * string/test-memchr.c (TEST_NAME): Likewise.
15704 * string/test-memcmp.c (TEST_NAME): Likewise.
15705 * string/test-memcpy.c (TEST_NAME): Likewise.
15706 * string/test-memmem.c (TEST_NAME): Likewise.
15707 * string/test-memmove.c (TEST_NAME): Likewise.
15708 * string/test-memset.c (TEST_NAME): Likewise.
15709 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15710 * string/test-stpcpy.c (TEST_NAME): Likewise.
15711 * string/test-stpncpy.c (TEST_NAME): Likewise.
15712 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15713 * string/test-strcasestr.c (TEST_NAME): Likewise.
15714 * string/test-strcat.c (TEST_NAME): Likewise.
15715 * string/test-strchr.c (TEST_NAME): Likewise.
15716 * string/test-strcmp.c(TEST_NAME): Likewise.
15717 * string/test-strcpy.c (TEST_NAME): Likewise.
15718 * string/test-strcspn.c (TEST_NAME): Likewise.
15719 * string/test-strlen.c (TEST_NAME): Likewise.
15720 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15721 * string/test-strncmp.c (TEST_NAME): Likewise.
15722 * string/test-strncpy.c (TEST_NAME): Likewise.
15723 * string/test-strnlen.c (TEST_NAME): Likewise.
15724 * string/test-strpbrk.c (TEST_NAME): Likewise.
15725 * string/test-strrchr.c (TEST_NAME): Likewise.
15726 * string/test-strspn.c (TEST_NAME): Likewise.
15727 * string/test-strstr.c (TEST_NAME): Likewise.
15728 * string/test-bcopy-ifunc.c: New file.
15729 * string/test-bzero-ifunc.c: Likewise.
15730 * string/test-memccpy-ifunc.c: Likewise.
15731 * string/test-memchr-ifunc.c: Likewise.
15732 * string/test-memcmp-ifunc.c: Likewise.
15733 * string/test-memcpy-ifunc.c: Likewise.
15734 * string/test-memmem-ifunc.c: Likewise.
15735 * string/test-memmove-ifunc.c: Likewise.
15736 * string/test-mempcpy-ifunc.c: Likewise.
15737 * string/test-memset-ifunc.c: Likewise.
15738 * string/test-rawmemchr-ifunc.c: Likewise.
15739 * string/test-stpcpy-ifunc.c: Likewise.
15740 * string/test-stpncpy-ifunc.c: Likewise.
15741 * string/test-strcasecmp-ifunc.c: Likewise.
15742 * string/test-strcasestr-ifunc.c: Likewise.
15743 * string/test-strcat-ifunc.c: Likewise.
15744 * string/test-strchr-ifunc.c: Likewise.
15745 * string/test-strchrnul-ifunc.c: Likewise.
15746 * string/test-strcmp-ifunc.c: Likewise.
15747 * string/test-strcpy-ifunc.c: Likewise.
15748 * string/test-strcspn-ifunc.c: Likewise.
15749 * string/test-strlen-ifunc.c: Likewise.
15750 * string/test-strncasecmp-ifunc.c: Likewise.
15751 * string/test-strncat-ifunc.c: Likewise.
15752 * string/test-strncmp-ifunc.c: Likewise.
15753 * string/test-strncpy-ifunc.c: Likewise.
15754 * string/test-strnlen-ifunc.c: Likewise.
15755 * string/test-strpbrk-ifunc.c: Likewise.
15756 * string/test-strrchr-ifunc.c: Likewise.
15757 * string/test-strspn-ifunc.c: Likewise.
15758 * string/test-strstr-ifunc.c: Likewise.
15760 * debug/Makefile (tests-ifunc): New variable.
15761 (tests): Add $(tests-ifunc).
15762 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15763 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15764 * debug/test-stpcpy_chk-ifunc.c: New file.
15765 * debug/test-strcpy_chk-ifunc.c: Likewise.
15767 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15770 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15771 header is not read in.
15773 2012-10-19 Joseph Myers <joseph@codesourcery.com>
15775 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
15776 script to $(SHELL) as $<. Pass $(common-objpfx) to script
15777 directly. Pass built executable to script as
15778 $(built-program-cmd).
15779 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
15780 $testprogram without using LD_LIBRARY_PATH and $ldso.
15782 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15783 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15784 $(rtld-installed-name).
15785 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15786 (rtld_installed_name): Likewise.
15787 (library_path): Likewise.
15788 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
15789 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15790 $(run-program-prefix) to tst-tables.sh.
15791 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
15792 it to run tst-table-from and tst-table-to.
15793 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15794 Pass it to tst-table.sh.
15795 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15796 $(run-program-prefix) to tst-gettext.sh.
15797 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15799 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15801 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
15802 to run tst-gettext.
15803 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
15804 to run tst-gettext2.
15805 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
15806 to run tst-translit.
15807 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15808 $(run-program-prefix) to tst-mtrace.sh.
15809 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
15811 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15812 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15813 $(rtld-installed-name).
15814 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15815 (rtld_installed_name): Likewise.
15816 (run_program_prefix): New variable. Use it to run wordexp-test.
15818 * Makeconfig (ARCH): Remove all definitions.
15819 (machine): Likewise.
15820 [ARCH]: Remove conditional code.
15821 [!objdir]: Give error.
15822 [!objdir] (objpfx): Remove.
15823 [!objdir] (common-objpfx): Likewise.
15824 [!objdir] (common-objdir): Likewise.
15825 * configure.in (config_makefile): Remove. Hardcode Makefile in
15826 AC_CONFIG_FILES call.
15827 * configure: Regenerated.
15830 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15832 (testout): Likewise.
15834 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15835 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15836 $(rtld-installed-name).
15837 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15838 (rtld_installed_name): Likwise.
15839 (runit): Remove function.
15840 (run_getconf): New variable, Use it for running getconf binary.
15842 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15845 * string/test-memmem.c (check_result): New function.
15846 (do_one_test): Use it.
15847 (check1): New function.
15848 (test_main): Use it.
15850 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15852 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15854 2012-10-18 Joseph Myers <joseph@codesourcery.com>
15856 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15857 (_G_LSEEK64): Likewise.
15858 (_G_MMAP64): Likewise.
15859 (_G_FSTAT64): Likewise.
15860 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15861 (_G_LSEEK64): Likewise.
15862 (_G_MMAP64): Likewise.
15863 (_G_FSTAT64): Likewise.
15864 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15865 unconditional. Call __mmap64 directly.
15866 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15867 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
15868 __lseek64 directly.
15869 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15870 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15872 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15873 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15874 __lseek64 directly.
15875 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15876 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15877 __lseek64 directly.
15878 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15879 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15880 __lseek64 directly.
15881 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15882 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15883 __fxstat64 directly.
15884 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15885 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15887 (freopen64) [!_G_OPEN64]: Remove conditional code.
15888 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15890 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15891 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15893 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15894 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15896 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15897 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15899 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15900 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15902 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15903 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15905 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15906 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15908 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15910 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15913 * manual/memory.texi (Malloc Tunable Parameters): Add note
15914 about free list pointers overwriting some perturb bytes.
15915 Wording suggested by Roland McGrath.
15917 2012-10-17 Joseph Myers <joseph@codesourcery.com>
15919 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15920 (lgamma_test): Likewise.
15921 (tgamma_test): Likewise.
15923 2012-10-16 Florian Weimer <fweimer@redhat.com>
15926 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15927 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15929 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15931 * NEWS: Mention BZ #14716.
15932 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15933 when removing AVAILABLE1_USES_J macro.
15935 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15937 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15938 (__bswap_64): __uint64_t for unsigned 64-bit int.
15940 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15942 * include/string.h (memmem): Declare libc hidden alias.
15943 * string/memmem.c (memmem): Define libc hidden alias.
15944 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15945 __read, __close instead of open, read, close.
15947 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15949 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15950 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15952 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15953 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15954 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15956 (__rawmemchr_sse2): Likewise.
15957 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15958 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15959 (__strchr_sse2): Likewise.
15960 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15961 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15962 (__strcasecmp_sse2): Likewise.
15963 (__strncasecmp_sse2): Likewise.
15964 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15965 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15966 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15967 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15968 (__strrchr_sse2): Likewise.
15969 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15971 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
15972 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
15973 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
15974 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
15975 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
15976 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
15977 * sysdeps/x86_64/multiarch/memset.S: Likewise.
15978 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15979 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
15980 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
15981 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
15982 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
15983 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
15984 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
15985 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
15986 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
15987 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
15988 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
15989 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
15990 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
15991 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
15992 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
15993 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
15994 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
15995 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
15996 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
15997 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
15998 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
15999 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16000 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16002 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16004 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16005 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16006 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16007 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16009 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16011 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16012 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16013 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16014 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16016 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16017 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16018 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16019 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16020 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16021 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16022 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16023 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16024 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16025 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16026 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16027 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16028 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16029 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16030 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16031 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16032 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16033 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16034 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16035 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16036 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16037 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16038 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16039 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16040 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16041 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16042 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16043 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16044 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16045 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16046 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16047 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16048 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16049 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16050 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16051 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16052 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16053 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16054 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16055 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16056 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16058 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16059 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16060 * include/ifunc-impl-list.h: New file.
16061 * misc/ifunc-impl-list.c: Likewise.
16062 * misc/Makefile (routines): Add ifunc-impl-list.
16063 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16064 * string/test-string.h: Include <ifunc-impl-list.h>.
16065 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16066 impl_array): New variables.
16067 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16069 (test_init): Call __libc_ifunc_impl_list to initialize
16070 func_list if TEST_IFUNC and TEST_NAME are defined.
16072 * string/Makefile (strop-tests): Add bcopy and bzero.
16073 * string/test-bcopy.c: New file.
16074 * string/test-bzero.c: Likewise.
16075 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16077 * string/test-memset.c: Support bzero test if TEST_BZERO is
16079 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16081 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16083 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16086 2012-10-10 Joseph Myers <joseph@codesourcery.com>
16088 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16089 * configure: Regenerated.
16091 * Makeconfig (+link-static-before-libc): Don't include
16092 $(link-static-libc).
16094 * libio/libio.h (_IO_pos_t): Remove.
16096 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
16098 * NEWS: Add note about FIPS mode. Wording suggested by Roland
16101 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
16103 * crypt/crypt-entry.c: Include fips-private.h.
16104 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16105 * crypt/md5c-test.c (main): Tolerate disabled MD5.
16106 * sysdeps/unix/sysv/linux/fips-private.h: New file.
16107 * sysdeps/generic/fips-private.h: New file, dummy fallback.
16109 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
16111 * crypt/crypt-private.h: Include stdbool.h.
16112 (_ufc_setup_salt_r): Return bool.
16113 * crypt/crypt-entry.c: Include errno.h.
16114 (__crypt_r): Return NULL with EINVAL for bad salt.
16115 * crypt/crypt_util.c (bad_for_salt): New.
16116 (_ufc_setup_salt_r): Check that salt is long enough and within
16117 the specified alphabet.
16118 * crypt/badsalttest.c: New file.
16119 * crypt/Makefile (tests): Add it.
16120 ($(objpfx)badsalttest): New.
16122 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16124 * NEWS: Add entry for BZ #14602.
16126 2012-10-09 Joseph Myers <joseph@codesourcery.com>
16128 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16130 * math/libm-test.inc: Update comment listing what functions and
16132 (isgreater_test): New function.
16133 (isgreaterequal_test): Likewise.
16134 (isless_test): Likewise.
16135 (islessequal_test): Likewise.
16136 (islessgreater_test): Likewise.
16137 (isunordered_test): Likewise.
16138 (main): Call the new functions.
16140 2012-10-09 Roland McGrath <roland@hack.frob.com>
16142 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16143 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16144 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16145 * sysdeps/i386/configure: Regenerated.
16146 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16147 * sysdeps/mach/configure: Regenerated.
16148 * sysdeps/mach/hurd/configure: Regenerated.
16149 * sysdeps/powerpc/configure: Regenerated.
16150 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16151 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16152 * sysdeps/s390/s390-32/configure: Regenerated.
16153 * sysdeps/s390/s390-64/configure: Regenerated.
16154 * sysdeps/sh/configure: Regenerated.
16155 * sysdeps/sparc/configure: Regenerated.
16156 * sysdeps/unix/sysv/linux/configure: Regenerated.
16157 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16158 * sysdeps/x86_64/configure: Regenerated.
16160 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16161 defined. Don't check if MAP is NULL.
16163 2012-10-09 Joseph Myers <joseph@codesourcery.com>
16165 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16166 (_G_stat64): Likewise.
16167 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16168 (_G_stat64): Likewise.
16169 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16170 instead of struct _G_stat64.
16171 * libio/fileops.c (mmap_remap_check): Likewise.
16172 (decide_maybe_mmap): Likewise.
16173 (_IO_new_file_seekoff): Likewise.
16174 (_IO_file_stat): Likewise.
16175 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16177 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16178 instead of struct _G_stat64.
16179 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16181 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
16184 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16186 (CHECK_EOL): New macro.
16187 (two_way_short_needle): Check beginning of haystack for EOL. Use
16189 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16190 Replace with CHECK_EOL.
16191 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16192 Replace with CHECK_EOL.
16194 2012-10-08 Joseph Myers <joseph@codesourcery.com>
16196 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16198 * math/libm-test.inc: Update comment listing what functions and
16200 (finite_test): New function.
16201 (isinf_test): Likewise.
16202 (isnan_test): Likewise.
16203 (fpclassify_test): Test subnormal input.
16204 (isfinite_test): Likewise.
16205 (isnormal_test): Likewise.
16206 (main): Call the new functions.
16208 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
16211 * Makerules (%.dynsym): Force C locale when running
16212 $(OBJDUMP) --dynamic-syms.
16214 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
16216 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16219 2012-10-06 David S. Miller <davem@davemloft.net>
16221 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16222 upper 32-bits of the length value in %o2 since we use branch-on-register
16223 tests which consider the entire 64-bit register.
16225 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
16227 * string/test-strstr.c (check2): Add a test for page boundary.
16229 2012-10-05 David S. Miller <davem@davemloft.net>
16231 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16232 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16234 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16236 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16237 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16238 and bzero when HWCAP_SPARC_CRYPTO is present.
16240 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
16243 * string/test-strstr.c (check2): New function.
16244 (test_main): Call check2.
16246 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16248 * string/bug-strcasestr1.c (do_test): Moved to ...
16249 * string/test-strcasestr.c (check1): Here. New function.
16250 (do_one_test): Break out result checking code into ...
16251 (check_result): This. New function.
16252 (do_one_test): Call check_result.
16253 (test_main): Call check1.
16254 * string/bug-strchr1.c (do_test): Moved to ...
16255 * string/test-strchr.c (check1): Here. New function.
16256 (do_one_test): Break out result checking code into ...
16257 (check_result): This. New function.
16258 (do_one_test): Call check_result.
16259 (test_main): Call check1.
16260 * string/bug-strstr1.c (main): Moved to ...
16261 * string/test-strstr.c (check1): Here. New function.
16262 (do_one_test): Break out result checking code into ...
16263 (check_result): This. New function.
16264 (do_one_test): Call check_result.
16265 (test_main): Call check1.
16266 * string/bug-strcasestr1.c: Removed.
16267 * string/bug-strchr1.c: Likewise.
16268 * string/bug-strstr1.c: Likewise.
16270 * elf/Makefile (dl-routines): Add hwcaps.
16271 * elf/dl-support.c (_dl_important_hwcaps): Removed.
16272 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16273 (_dl_important_hwcaps): Moved to ...
16274 * elf/dl-hwcaps.c: Here. New file.
16275 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16278 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16279 if IS_IN_rtld isn't defined.
16281 * elf/dl-support.c (_dl_sysinfo_map): New.
16282 Include "get-dynamic-info.h" and "setup-vdso.h".
16283 (_dl_non_dynamic_init): Call setup_vdso.
16284 * elf/dynamic-link.h: Don't include <assert.h>.
16285 (elf_get_dynamic_info): Moved to ...
16286 * elf/get-dynamic-info.h: Here. New file.
16287 * elf/dynamic-link.h: Include "get-dynamic-info.h".
16288 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
16289 * elf/setup-vdso.h: Here. New file.
16290 * elf/rtld.c: Include "setup-vdso.h".
16291 (dl_main): Call setup_vdso.
16293 2012-10-05 Joseph Myers <joseph@codesourcery.com>
16295 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
16296 creal in comment listing functions tested. List finite, isinf,
16297 isnan, isless, islessequal, isgreater, isgreaterequal,
16298 islessgreater, isunordered, lgamma_r and pow10 as functions and
16299 macros not tested. Mention which functions not tested are aliases
16300 for other functions. Fix typo. Note that signs of NaNs are not
16303 * scripts/config.guess: Update from config.git.
16304 * scripts/config.sub: Likewise.
16306 2012-10-04 Roland McGrath <roland@hack.frob.com>
16308 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16309 * misc/madvise.c (madvise): Renamed to __madvise.
16310 Make madvise a weak alias.
16311 * include/sys/mman.h: Declare __madvise.
16312 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16313 * sysdeps/unix/syscalls.list
16314 (madvise): Make __madvise the strong name, and madvise a weak alias.
16315 * sysdeps/unix/sysv/linux/syscalls.list
16316 (madvise, mmap): Remove redundant entries.
16317 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16318 * malloc/malloc.c (mtrim): Likewise.
16319 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16321 2012-10-03 Roland McGrath <roland@hack.frob.com>
16323 * sysdeps/mach/hurd/dl-cache.c: File removed.
16324 * config.h.in (USE_LDCONFIG): New #undef.
16325 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16326 * configure: Regenerated.
16327 * elf/Makefile (dl-routines): Add dl-cache only under
16328 [$(use-ldconfig) = yes].
16329 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16330 cache on [USE_LDCONFIG].
16331 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16333 * elf/rtld.c (dl_main): Likewise.
16335 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
16337 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16338 _SC_LEVEL4_CACHE_LINESIZE.
16340 2012-10-03 Roland McGrath <roland@hack.frob.com>
16342 * sysdeps/unix/bsd/confstr.h: File removed.
16344 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
16346 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16349 2012-10-02 Roland McGrath <roland@hack.frob.com>
16351 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16352 Make 'mapoff' field ElfW(Off) rather than off_t.
16354 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16356 * nscd/Makefile: Remove nscd-cflags and all its users.
16357 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16358 (CFLAGS-nonlib): Add compiler flags for nscd modules.
16361 * malloc.c (malloc_printerr): Clarify error message.
16363 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
16366 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16367 Set bit_FMA_Usable if FMA is supported.
16368 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16370 (bit_FMA4_Usable): Updated.
16371 (index_FMA_Usable): New macro.
16372 (CPUID_FMA): Likewise
16373 (HAS_FMA): Defined with bit_FMA_Usable.
16375 2012-10-01 Roland McGrath <roland@hack.frob.com>
16377 * bits/types.h (__swblk_t): Type removed.
16378 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16379 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16380 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16381 (__SWBLK_T_TYPE): Likewise.
16382 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16383 (__SWBLK_T_TYPE): Likewise.
16384 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16385 (__SWBLK_T_TYPE): Likewise.
16386 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16387 (__SWBLK_T_TYPE): Likewise.
16389 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
16390 Honza Horak <hhorak@redhat.com>
16392 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16393 (xdr_mapname): Use YPMAXMAP as maxsize.
16394 (xdr_peername): Use YPMAXPEER as maxsize.
16395 (xdr_keydat): Use YPAXRECORD as maxsize.
16396 (xdr_valdat): Use YPMAXRECORD as maxsize.
16398 2012-10-01 Roland McGrath <roland@hack.frob.com>
16400 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16402 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16403 * csu/init-first.c: ... here.
16404 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16405 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16406 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16407 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16408 * sysdeps/i386/init-first.c: File removed.
16409 * sysdeps/sh/init-first.c: File removed.
16411 2012-10-01 Joseph Myers <joseph@codesourcery.com>
16414 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16415 if x * y might underflow to zero and z is zero.
16416 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16417 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16418 * math/libm-test.inc (min_subnorm_value): New variable.
16419 (fma_test): Add more tests.
16420 (fma_test_towardzero): Likewise.
16421 (fma_test_downward): Likewise
16422 (fma_test_upward): Likewise.
16423 (initialize): Set min_subnorm_value.
16425 2012-09-29 Joseph Myers <joseph@codesourcery.com>
16428 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16430 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16431 mode for addition resulting in exact zero.
16432 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16433 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16435 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16436 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16437 * math/libm-test.inc (fma_test): Add more tests.
16438 (fma_test_towardzero): New function.
16439 (fma_test_downward): Likewise.
16440 (fma_test_upward): Likewise.
16441 (main): Call the new functions.
16443 2012-09-28 David S. Miller <davem@davemloft.net>
16445 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16447 2012-09-28 Roland McGrath <roland@hack.frob.com>
16449 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16450 instead of SIGALRM.
16452 * sysdeps/gnu/_G_config.h: Moved to ...
16453 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16454 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16455 * sysdeps/generic/_G_config.h: ... here.
16457 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16459 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16461 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16462 Conditionalize target on [libnss_test1.so-version].
16464 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16466 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16467 (elfobjdir): Move out of conditionals.
16469 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16470 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16471 (__nss_lookup_function): Conditionalize label remove_from_tree on
16472 [!DO_STATIC_NSS || SHARED], matching its only use.
16474 2012-09-28 David S. Miller <davem@davemloft.net>
16476 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16477 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16479 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16481 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16482 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16483 when HWCAP_SPARC_CRYPTO is present.
16485 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16487 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16489 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16492 * stdio-common/vfprintf.c (process_string_arg): Revert
16495 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16497 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16499 * stdio-common/tst-sprintf.c: Include <locale.h>
16500 (main): Test sprintf's handling of incomplete multibyte
16503 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16505 * elf/dl-runtime.c (VERSYMIDX): Removed.
16506 * elf/dl-version.c (VERSYMIDX): Likewise.
16507 * elf/do-rel.h (VERSYMIDX): Likewise.
16508 (VALIDX): Likewise.
16509 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16510 * elf/rtld.c (VALIDX): Likewise.
16511 (ADDRIDX): Likewise.
16512 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16513 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16514 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
16515 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16516 (VALIDX): Likewise.
16517 (ADDRIDX): Likewise.
16519 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16521 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16523 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16526 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16528 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16529 addresses are in the same scope as 192.0.2/24.
16530 * posix/gai.conf: Document new scope table defaults.
16532 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16535 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16536 for ftell. Compute offsets from write pointers instead.
16537 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16539 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16542 * libio/Makefile (tests): New test case tst-fseek.
16543 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16544 combination works in wide mode.
16545 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16546 state when the external buffer state changes.
16548 2012-09-27 David S. Miller <davem@davemloft.net>
16551 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16552 pass reloc->r_addend in as the 'high' argument to
16553 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16555 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16557 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16559 * rt/tst-aio2.c: Include <pthread.h>.
16560 * rt/tst-aio3.c: Likewise.
16562 2012-09-27 Steve Ellcey <sellcey@mips.com>
16564 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16566 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16568 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16569 contents on [SHARED].
16571 2012-09-26 Marek Polacek <polacek@redhat.com>
16575 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16576 for C++ and GCC <4.3 as well as for non GCC compilers.
16578 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16580 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16582 2012-09-25 Roland McGrath <roland@hack.frob.com>
16584 * Makefile.in (all, install): Declare with .PHONY.
16585 Reported by Michael Hope <michael.hope@linaro.org>.
16587 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16589 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16590 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16592 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16594 (sydep_routines): Add the new and the internal functions.
16595 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16596 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16598 (GLIBC_2.17): Add the new function.
16599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16600 (GLIBC_2.17): Likewise.
16601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16602 (GLIBC_2.17): Likewise.
16603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16604 (GLIBC_2.17): Likewise.
16605 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16607 2012-09-25 Alan Modra <amodra@gmail.com>
16609 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16610 Add release barrier before setting once_control to say
16611 initialisation is done. Add hints on lwarx. Use macro in
16613 (clear_once_control): Add release barrier.
16615 2012-09-25 Joseph Myers <joseph@codesourcery.com>
16618 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16620 * math/s_clog10.c (__clog10): Likewise.
16621 * math/s_clog10f.c (__clog10f): Likewise.
16622 * math/s_clog10l.c (__clog10l): Likewise.
16623 * math/s_clogf.c (__clogf): Likewise.
16624 * math/s_clogl.c (__clogl): Likewise.
16625 * math/Makefile (libm-calls): Add x2y2m1.
16626 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16627 (__x2y2m1): Likewise.
16628 (__x2y2m1l): Likewise.
16629 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16630 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16631 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16632 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16633 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16634 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16635 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16636 * sysdeps/i386/fpu/libm-test-ulps: Update.
16637 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16640 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16641 int as type of variable DEPTH.
16642 (glob): Use size_t instead of int as type of variables NEWCOUNT
16645 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16647 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16648 Add s_sincosf-sse2.
16649 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16650 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16651 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16652 macros for using routine as __sincosf_ia32.
16653 Use macro for function declaration and weak_alias.
16654 * sysdeps/i386/fpu/libm-test-ulps: Update.
16656 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16657 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16659 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
16660 subnormal argument.
16661 * math/s_cexpf.c (__cexpf): Likewise.
16662 * math/s_csinf.c (__csinf): Likewise.
16663 * math/s_csinhf.c (__csinhf): Likewise.
16664 * math/s_ctanf.c (__ctanf): Likewise.
16665 * math/s_ctanhf.c (__ctanhf): Likewise.
16666 * math/s_ccosh.c (__ccoshf): Likewise.
16667 * math/s_cexp.c (__cexpl): Likewise.
16668 * math/s_csin.c (__csin): Likewise.
16669 * math/s_csinh.c (__csinh): Likewise.
16670 * math/s_ctan.c (__ctan): Likewise.
16671 * math/s_ctanh.c (ctanh): Likewise.
16672 * math/s_ccoshl.c (__ccoshl): Likewise.
16673 * math/s_cexpl.c (__cexpl): Likewise.
16674 * math/s_csinl.c (__csinl): Likewise.
16675 * math/s_csinhl.c (__csinhl): Likewise.
16676 * math/s_ctanl.c (__ctanl): Likewise.
16677 * math/s_ctanhl.c (__ctanhl): Likewise.
16679 2012-09-25 Joseph Myers <joseph@codesourcery.com>
16681 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16682 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16683 (_IO_off_t): Define to __off_t, not _G_off_t.
16684 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16685 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16686 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16687 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16688 type of __dummy and __dummy2 fields.
16689 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16690 (_G_ssize_t): Likewise.
16691 (_G_off_t): Likewise.
16692 (_G_pid_t): Likewise.
16693 (_G_uid_t): Likewise.
16694 (_G_wchar_t): Likewise.
16695 (_G_wint_t): Likewise.
16696 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16697 (_G_ssize_t): Likewise.
16698 (_G_off_t): Likewise.
16699 (_G_pid_t): Likewise.
16700 (_G_uid_t): Likewise.
16701 (_G_wchar_t): Likewise.
16702 (_G_wint_t): Likewise.
16703 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16704 (_G_ssize_t): Likewise.
16705 (_G_off_t): Likewise.
16706 (_G_pid_t): Likewise.
16707 (_G_uid_t): Likewise.
16708 (_G_wchar_t): Likewise.
16709 (_G_wint_t): Likewise.
16711 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16713 * malloc/arena.c: Include malloc-sysdep.h.
16714 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16715 is sufficient to shrink the heap or an unmap is needed.
16716 * sysdeps/generic/malloc-sysdep.h: New file. Define
16717 new function check_may_shrink_heap.
16718 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16719 new function check_may_shrink_heap.
16721 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16723 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16726 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16728 * catgets/test-gencat.sh: Add "set -e".
16729 * elf/tst-pathopt.sh: Likewise.
16730 * grp/tst_fgetgrent.sh: Likewise.
16731 * iconvdata/run-iconv-test.sh: Likewise.
16732 * intl/tst-gettext.sh: Likewise.
16733 * intl/tst-gettext2.sh: Likewise.
16734 * intl/tst-gettext4.sh: Likewise.
16735 * intl/tst-gettext6.sh: Likewise.
16736 * intl/tst-translit.sh: Likewise.
16737 * io/ftwtest-sh: Likewise.
16738 * libio/test-freopen.sh: Likewise.
16739 * malloc/tst-mtrace.sh: Likewise.
16740 * posix/globtest.sh: Likewise.
16741 * posix/tst-getconf.sh: Likewise.
16742 * posix/wordexp-tst.sh: Likewise.
16743 * stdio-common/tst-printf.sh: Likewise.
16744 * stdio-common/tst-unbputc.sh: Likewise.
16745 * stdlib/tst-fmtmsg.sh: Likewise.
16746 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16747 * catgets/Makefile: Do not specify -e option when running
16748 testsuite shell scripts.
16749 * elf/Makefile: Likewise.
16750 * grp/Makefile: Likewise.
16751 * iconvdata/Makefile: Likewise.
16752 * intl/Makefile: Likewise.
16753 * io/Makefile: Likewise.
16754 * libio/Makefile: Likewise.
16755 * malloc/Makefile: Likewise.
16756 * posix/Makefile: Likewise.
16757 * stdio-common/Makefile: Likewise.
16758 * stdlib/Makefile: Likewise.
16759 * sysdeps/x86_64/Makefile: Likewise.
16761 * io/ftwtest-sh: Add copyright header.
16762 * posix/globtest.sh: Likewise.
16763 * posix/tst-getconf.sh: Likewise.
16764 * posix/wordexp-tst.sh: Likewise.
16765 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16767 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16770 * Makeconfig (+link): Defined as $(+link-static) if
16771 $(build-shared) isn't yes.
16772 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16774 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16776 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16779 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16780 new chunk size with MALLOC_ALIGN_MASK.
16782 2012-09-24 Joseph Myers <joseph@codesourcery.com>
16785 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16787 (__printf_fphex): Determine rounding using get_rounding_mode and
16789 * stdio-common/tst-printf-round.c (struct hex_test): New
16791 (hex_tests): New variable.
16792 (test_hex_in_one_mode): New function.
16793 (do_test): Also run tests for hex float output.
16795 2012-09-21 Joseph Myers <joseph@codesourcery.com>
16797 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16798 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16799 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16800 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16801 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16802 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16803 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16804 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16806 2012-09-20 Joseph Myers <joseph@codesourcery.com>
16808 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16809 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16810 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16811 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16813 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16816 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16818 * elf/tst-rtld-load-self.sh: New test.
16819 * elf/Makefile: Run it.
16821 2012-09-18 Joseph Myers <joseph@codesourcery.com>
16823 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16824 (tst-writev-ENV): Remove.
16825 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16827 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16829 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16831 2012-09-17 Joseph Myers <joseph@codesourcery.com>
16833 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16835 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16837 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16838 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16839 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16842 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16845 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16846 * config.make.in (have-cpp-asm-debuginfo): Removed.
16847 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16848 * configure: Regenerated.
16850 2012-09-14 Joseph Myers <joseph@codesourcery.com>
16853 * stdio-common/printf_fp.c: Include <stdbool.h> and
16855 (___printf_fp): Determine rounding using get_rounding_mode and
16857 * stdio-common/tst-printf-round.c: New file.
16858 * stdio-common/Makefile (tests): Add tst-printf-round.
16859 (link-libm): New variable.
16860 ($(objpfx)tst-printf-round): Depend in $(link-libm).
16862 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16865 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16866 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16868 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16871 2012-09-13 Joseph Myers <joseph@codesourcery.com>
16873 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16874 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16875 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16876 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16878 2012-09-12 Joseph Myers <joseph@codesourcery.com>
16881 * include/rounding-mode.h: New file.
16882 * sysdeps/generic/get-rounding-mode.h: Likewise.
16883 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16884 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16885 (MAX_VALUE): New macro.
16886 (MIN_VALUE): Likewise.
16887 (overflow_value): New function.
16888 (underflow_value): Likewise.
16889 (round_and_return): Use overflow_value and underflow_value to
16890 determine return values in overflow and underflow cases. Use
16891 round_away to determine rounding depending on rounding mode.
16892 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16893 determine return values in overflow and underflow cases.
16894 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16895 (struct test_results): New structure.
16896 (struct test): Use struct test_results to store expected results
16897 for all rounding modes.
16898 (TEST): Include expected results for all rounding modes.
16899 (test_in_one_mode): New function.
16900 (do_test): Use test_in_one_mode to compute and check results.
16901 Check results for all rounding modes.
16902 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16905 2012-12-09 Allan McRae <allan@archlinux.org>
16907 * sysdeps/i386/fpu/libm-test-ulps: Update
16909 2012-09-11 Joseph Myers <joseph@codesourcery.com>
16911 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16912 (_G_int32_t): Likewise.
16913 (_G_uint16_t): Likewise.
16914 (_G_uint32_t): Likewise.
16915 (_G_HAVE_BOOL): Likewise.
16916 (_G_HAVE_ATEXIT): Likewise.
16917 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16918 (_G_HAVE_IO_FILE_OPEN): Likewise.
16919 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16920 (_G_int32_t): Likewise.
16921 (_G_uint16_t): Likewise.
16922 (_G_uint32_t): Likewise.
16923 (_G_HAVE_BOOL): Likewise.
16924 (_G_HAVE_ATEXIT): Likewise.
16925 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16926 (_G_HAVE_IO_FILE_OPEN): Likewise.
16927 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16928 (_G_int32_t): Likewise.
16929 (_G_uint16_t): Likewise.
16930 (_G_uint32_t): Likewise.
16931 (_G_HAVE_BOOL): Likewise.
16932 (_G_HAVE_ATEXIT): Likewise.
16933 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16934 (_G_HAVE_IO_FILE_OPEN): Likewise.
16936 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16938 * csu/libc-tls.c: Update copyright years.
16940 2012-09-10 Joseph Myers <joseph@codesourcery.com>
16942 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16943 [!_G_USING_THUNKS]: Remove conditional code.
16944 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16945 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16947 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16948 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16949 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16950 (_G_VTABLE_LABEL_PREFIX): Likewise.
16951 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16952 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16953 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16954 (_G_VTABLE_LABEL_PREFIX): Likewise.
16955 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16956 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16957 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16958 (_G_VTABLE_LABEL_PREFIX): Likewise.
16959 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16961 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16963 * libio/Makefile: Include ../Makeconfig before tests.
16964 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16965 only if $(build-shared) is yes.
16967 * iconv/gconv_db.c: Update copyright years.
16969 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16971 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
16972 unwind info if defined PIC. Fix special cases description.
16973 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
16975 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
16977 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
16979 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
16981 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
16983 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
16986 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
16987 (LDLIBS-tst-chk4): This.
16988 (LDFLAGS-tst-chk5): Renamed to ...
16989 (LDLIBS-tst-chk5): This.
16990 (LDFLAGS-tst-chk6): Renamed to ...
16991 (LDLIBS-tst-chk6): This.
16992 (LDFLAGS-tst-lfschk4): Renamed to ...
16993 (LDLIBS-tst-lfschk4): This.
16994 (LDFLAGS-tst-lfschk5): Renamed to ...
16995 (LDLIBS-tst-lfschk5): This.
16996 (LDFLAGS-tst-lfschk6): Renamed to ...
16997 (LDLIBS-tst-lfschk6): This.
16999 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17000 on $(common-objpfx)soversions.mk.
17002 2012-09-07 Joseph Myers <joseph@codesourcery.com>
17005 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17008 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17010 * malloc/arena.c (arena_get_retry): New function that gets
17011 another arena for the caller to try its request on.
17012 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17013 current arena cannot fulfill the request.
17014 (__libc_memalign): Likewise.
17015 (__libc_memalign): Likewise.
17016 (__libc_pvalloc): Likewise.
17017 (__libc_calloc): Likewise.
17019 2012-09-05 John Tobey <john.tobey@gmail.com>
17022 * manual/arith.texi (Operations on Complex): Fix description
17023 of carg branch cut.
17025 2012-09-06 Joseph Myers <joseph@codesourcery.com>
17028 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17032 * manual/memory.texi (Memory): Make order of menu items match
17035 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17037 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17038 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
17039 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17041 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17043 * csu/libc-tls.c (static_dtv): Renamed to ...
17044 (_dl_static_dtv): This. Make it global.
17045 (_dl_initial_dtv): Removed.
17046 (__libc_setup_tls): Updated.
17047 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17048 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17051 2012-09-06 Petr Machata <pmachata@redhat.com>
17053 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17054 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17055 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17056 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17058 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17061 * csu/libc-tls.c (_dl_initial_dtv): New variable.
17062 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17065 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17068 * Makeconfig (link-static-before-libc): Replace $(+prector)
17070 (link-static-after-libc): Replace $(+postctor) with
17072 (link-bounded): Replace $(+prector)/$(+postctor) with
17073 $(+prectorT)/$(+postctorT).
17074 (+prectorT): New macro.
17075 (+postctorT): Likewise.
17077 2012-09-06 Joseph Myers <joseph@codesourcery.com>
17079 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17080 (round_str): Handle values above the maximum for IBM long double
17082 * stdlib/tst-strtod-round.c (tests): Regenerated.
17084 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17086 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17088 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17089 zarch_nohighgprs around the zarch optimized routines.
17090 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17091 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17092 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17095 2012-09-05 David S. Miller <davem@davemloft.net>
17097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17099 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17100 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17101 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17102 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17105 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17107 * malloc/arena.c: Fold copyright years.
17108 * malloc/mcheck.c, malloc/memusage.c: Likewise.
17110 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17112 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17114 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17116 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17118 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17120 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17121 change internal state upon failure.
17123 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17125 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17126 * malloc/memusage.c (mmap): Likewise.
17127 (mmap64, mremap): Likewise. Adjust name in comment.
17129 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17131 * libio/fileops.c: Fix typos in comments.
17132 * libio/oldfileops.c: Likewise.
17133 * libio/wfileops.c: Likewise.
17135 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17138 * malloc/Makefile (tests): Add tst-malloc-usable test case.
17139 (tst-malloc-usable-ENV): Set environment for test case.
17140 * malloc/hooks.c (malloc_check_get_size): New function to get
17142 * malloc/malloc.c (musable): Use malloc_check_get_size.
17143 * malloc/tst-malloc-usable.c: New test case.
17145 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17147 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17149 2012-09-05 Allan McRae <allan@archlinux.org>
17152 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17153 determine header location.
17154 * configure: Regenerated.
17156 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17158 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17160 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
17161 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17163 (test): Regenerate.
17165 2012-09-04 David S. Miller <davem@davemloft.net>
17167 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17168 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17169 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17171 2012-09-04 Florian Weimer <fweimer@redhat.com>
17173 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17176 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17178 2012-09-04 Joseph Myers <joseph@codesourcery.com>
17181 * libio/iogetdelim.c: Include <limits.h>.
17182 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17183 + len + 1 would overflow.
17185 2012-09-03 Andreas Jaeger <aj@suse.de>
17187 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17188 * sysdeps/i386/fpu/libm-test-ulps: Update.
17190 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17192 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17193 Add s_sinf-sse2, s_conf-sse2.
17195 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17196 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17197 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17198 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17200 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17201 for using routine as __sinf_ia32.
17202 Use macro for function declaration and weak_alias.
17203 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17204 for using routine as __cosf_ia32.
17205 Use macro for function declaration and weak_alias.
17207 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17208 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17210 * sysdeps/x86_64/fpu/s_sinf.S: New file.
17211 * sysdeps/x86_64/fpu/s_cosf.S: New file.
17212 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17214 * math/libm-test.inc (cos_test): Add more test cases.
17215 (sin_test): Likewise.
17216 (sincos_test): Likewise.
17218 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17220 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17221 (IFUNC_RESOLVE): Make pointers to the specialized implementations
17223 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17225 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
17228 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17229 first element of the GOT.
17230 (elf_machine_load_address): Return the difference between
17231 the runtime address of _DYNAMIC and elf_machine_dynamic ().
17233 2012-09-01 Allan McRae <allan@archlinux.org>
17236 * configure.in (AWK): Require gawk version 3.0 or later.
17237 * configure: Regenerated.
17239 2012-09-01 Joseph Myers <joseph@codesourcery.com>
17241 * sysdeps/unix/sysv/linux/kernel-features.h
17242 (__ASSUME_POSIX_CPU_TIMERS): Remove.
17243 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17244 [__NR_clock_getres]: Make code unconditional.
17245 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17246 (clock_getcpuclockid): Remove code left unreachable by removal of
17248 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17249 code unconditional.
17250 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17251 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17252 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17253 Make code unconditional.
17254 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17255 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17256 * sysdeps/unix/sysv/linux/clock_settime.c
17257 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17259 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17260 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17262 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
17265 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17266 scripts/test-installation.pl.
17268 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17269 and $ld_so_version if it is set.
17271 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17274 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17275 failure if reading from procfs failed.
17276 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17278 2012-08-27 Joseph Myers <joseph@codesourcery.com>
17280 * sysdeps/unix/sysv/linux/kernel-features.h
17281 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
17282 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17283 Remove conditional code.
17284 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17285 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
17286 Remove conditional code.
17287 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17288 * sysdeps/unix/sysv/linux/i386/fxstat.c
17289 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17290 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17291 * sysdeps/unix/sysv/linux/i386/fxstatat.c
17292 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17293 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17294 * sysdeps/unix/sysv/linux/i386/lxstat.c
17295 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17296 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17297 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
17298 Remove conditional code.
17299 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17300 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17301 Remove conditional code.
17302 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17303 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
17304 <kernel-features.h>.
17305 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
17307 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17308 Remove conditional code.
17309 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17310 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17311 Remove conditional.
17313 2012-08-27 Mike Frysinger <vapier@gentoo.org>
17316 * NEWS: Add fixed bug number.
17318 2012-08-27 Joseph Myers <joseph@codesourcery.com>
17321 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17322 underflowing exponent in case of negative sign.
17323 * stdlib/tst-strtod-round-data: Add more tests.
17324 * stdlib/tst-strtod-round.c (tests): Regenerated.
17327 * stdlib/strtod_l.c (NDIG): Remove.
17328 (HEXNDIG): Likewise.
17329 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17330 smallest representable value.
17331 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17332 lie within an exact representation of 1/2 ulp of the result.
17333 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17335 (TENS_P9_IDX): Define unconditionally.
17336 (TENS_P9_SIZE): Likewise.
17337 (TENS_P10_IDX): Likewise.
17338 (TENS_P10_SIZE): Likewise.
17339 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17340 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17341 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17342 entries for 10^2^13 and 10^2^14.
17343 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17344 (TENS_P13_IDX): Define.
17345 (TENS_P13_SIZE): Likewise.
17346 (TENS_P14_IDX): Likewise.
17347 (TENS_P14_SIZE): Likewise.
17348 (_fpioconst_pow10): Change array size to
17349 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
17351 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17352 1024]: Add entries for 10^2^13 and 10^2^14.
17353 [LAST_POW10 > _LAST_POW10]: Remove #error.
17354 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17355 (_fpioconst_pow10): Change array size to
17356 FPIOCONST_POW10_ARRAY_SIZE.
17357 * stdlib/gen-fpioconst.c: New file.
17358 * stdlib/gen-tst-strtod-round.c: Likewise.
17359 * stdlib/tst-strtod-round-data: Likewise.
17360 * stdlib/tst-strtod-round.c: Likewise.
17361 * stdlib/Makefile (tests): Add tst-strtod-round.
17364 * stdlib/strtod_l.c: Include <stdint.h>.
17365 (NDEBUG): Do not define.
17366 (round_and_return): Change EXPONENT parameter to type intmax_t.
17367 Rearrange calculations to avoid internal overflow possibilities.
17368 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17369 Rearrange calculations to avoid internal overflow possibilities.
17370 Assert that number fits inside MPNSIZE limbs.
17371 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17372 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
17373 calculations and add assertions to avoid internal overflow
17374 possibilities. Add casts to avoid signed/unsigned operations.
17375 * stdlib/tst-strtod-overflow.c: New file.
17376 * stdlib/Makefile (tests): Add tst-strtod-overflow.
17378 2012-08-25 Marek Polacek <polacek@redhat.com>
17380 * time/time.h: Fix some typos in comments.
17382 2012-08-23 Roland McGrath <roland@hack.frob.com>
17384 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17385 * posix/tst-rfc3484-2.c: Likewise.
17386 * posix/tst-rfc3484-3.c: Likewise.
17388 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
17390 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17391 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17393 2012-08-23 Joseph Myers <joseph@codesourcery.com>
17395 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17396 #include of fxstatat64.c.
17398 2012-08-22 Roland McGrath <roland@hack.frob.com>
17400 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17401 * shadow/getspent_r.c: Likewise.
17402 * shadow/getspnam.c: Likewise.
17403 * shadow/getspnam_r.c: Likewise.
17404 * gshadow/getsgent.c: Likewise.
17405 * gshadow/getsgent_r.c: Likewise.
17406 * gshadow/getsgnam.c: Likewise.
17407 * gshadow/getsgnam_r.c: Likewise.
17408 * inet/getnetbyad.c: Likewise.
17409 * inet/getnetbyad_r.c: Likewise.
17410 * inet/getnetbynm.c: Likewise.
17411 * inet/getnetbynm_r.c: Likewise.
17412 * inet/getnetent.c: Likewise.
17413 * inet/getnetent_r.c: Likewise.
17414 * inet/getproto.c: Likewise.
17415 * inet/getproto_r.c: Likewise.
17416 * inet/getprtent.c: Likewise.
17417 * inet/getprtent_r.c: Likewise.
17418 * inet/getprtname.c: Likewise.
17419 * inet/getprtname_r.c: Likewise.
17420 * inet/getrpcbyname.c: Likewise.
17421 * inet/getrpcbyname_r.c: Likewise.
17422 * inet/getrpcbynumber.c: Likewise.
17423 * inet/getrpcbynumber_r.c: Likewise.
17424 * inet/getrpcent.c: Likewise.
17425 * inet/getrpcent_r.c: Likewise.
17426 * inet/getaliasent.c: Likewise.
17427 * inet/getaliasent_r.c: Likewise.
17428 * inet/getaliasname.c: Likewise.
17429 * inet/getaliasname_r.c: Likewise.
17430 * nscd/getgrgid_r.c: Likewise.
17431 * nscd/getgrnam_r.c: Likewise.
17432 * nscd/gethstbyad_r.c: Likewise.
17433 * nscd/gethstbynm3_r.c: Likewise.
17434 * nscd/getpwnam_r.c: Likewise.
17435 * nscd/getpwuid_r.c: Likewise.
17436 * nscd/getsrvbynm_r.c: Likewise.
17437 * nscd/getsrvbypt_r.c: Likewise.
17438 * nscd/gai.c: Likewise.
17440 * configure.in (build_nscd): New substituted variable, set
17441 by --disable-build-nscd and defaults to $use_nscd.
17442 * configure: Regenerated.
17443 * config.make.in (build-nscd): New substituted variable.
17444 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17445 Change conditional to require [$(build-nscd) = yes] as well.
17446 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17449 * configure.in (use_nscd): New substituted variable, set by
17450 --disable-nscd. If enabled, define USE_NSCD.
17451 * configure: Regenerated.
17452 * config.h.in: Add USE_NSCD.
17453 * config.make.in (use-nscd): New substituted variable.
17454 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17455 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17456 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17457 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17458 (CFLAGS-getgrnam_r.c): Likewise.
17459 (CFLAGS-initgroups.c): Likewise.
17460 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17461 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17463 * inet/getnetgrent_r.c
17464 (nscd_setnetgrent): New function, broken out of ...
17465 (setnetgrent): ... here. Call it.
17466 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17467 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17468 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17469 * nscd/Makefile (routines, aux): Move definitions after include of
17470 Makeconfig. Conditionalize on [$(use-nscd) != no].
17471 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17472 Conditionalize on [USE_NSCD].
17473 (is_nscd, nscd_init_cb): Likewise.
17474 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17475 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17476 * nss/nss_db/db-init.c: Likewise.
17477 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17479 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17480 (make_request): Use it.
17481 (cache_valid_p): New function.
17482 (__check_pf): Use it.
17483 * NEWS: Add item for --disable-nscd.
17485 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17487 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17488 to support sed >= 4.2.1-20-ga9bf076.
17489 * configure: Regenerated.
17491 2012-08-22 Roland McGrath <roland@hack.frob.com>
17493 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17494 Conditionalize whole body on [IREL].
17496 2012-08-22 Jeff Law <law@redhat.com>
17499 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17500 if the family is PF_UNSPEC.
17502 2012-08-22 Mike Frysinger <vapier@gentoo.org>
17504 * Makerules (lib-version): Rename from V.
17505 (install-lib-nosubdir): Change V to lib-version.
17507 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17510 * powerpc32/power6/wcschr.c: New file.
17511 * powerpc32/power6/wcscpy.c: New file.
17512 * powerpc32/power6/wcsrchr.c: New file.
17513 * powerpc64/power6/wcschr.c: New file.
17514 * powerpc64/power6/wcscpy.c: New file.
17515 * powerpc64/power6/wcsrchr.c: New file.
17517 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17519 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17520 (two_way_short_needle): Use it.
17521 * string/strstr.c (AVAILABLE1_USES_J): Define.
17522 * string/strcasestr.c: Likewise.
17524 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17526 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17529 * NEWS: Add an entry.
17530 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17531 define their defaults.
17532 (two_way_short_needle): Detect end-of-string on-the-fly.
17533 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17534 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17535 * string/bug-strcasestr1.c: New test.
17536 * string/Makefile: Run it.
17538 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17541 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17542 the first character.
17544 2012-08-21 Roland McGrath <roland@hack.frob.com>
17546 * csu/elf-init.c (__libc_csu_irel): Function removed.
17547 * csu/libc-start.c (apply_irel): New function.
17548 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17550 2012-08-21 Joseph Myers <joseph@codesourcery.com>
17552 * sysdeps/unix/sysv/linux/kernel-features.h
17553 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17554 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17555 <kernel-features.h>.
17556 [__NR_fadvise64_64]: Make code unconditional.
17557 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17558 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17559 !__NR_fadvise64_64)]: Likewise.
17560 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17561 !__NR_fadvise64_64))]: Likewise.
17562 [__NR_fadvise64]: Make code unconditional.
17563 [!__NR_fadvise64]: Remove conditional code.
17564 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17565 <kernel-features.h>.
17566 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17568 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17570 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17571 not include <kernel-features.h>.
17572 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17574 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17576 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17577 include <kernel-features.h>.
17578 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17580 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17583 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17585 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17586 slight instruction rearrangements per scrollpipe analysis.
17587 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17589 2012-08-20 Roland McGrath <roland@hack.frob.com>
17591 * manual/syslog.texi (syslog; vsyslog, closelog):
17592 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17593 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17595 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17596 DSOCAPS to match condition on defining it.
17598 2012-08-20 Joseph Myers <joseph@codesourcery.com>
17600 * sysdeps/unix/sysv/linux/kernel-features.h
17601 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17603 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17604 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17606 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17607 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17609 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17610 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17612 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17613 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17615 * sysdeps/unix/sysv/linux/kernel-features.h
17616 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17617 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17619 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17620 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17621 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17622 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17623 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17624 Make code unconditional.
17625 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17626 (__mmap64) [!__NR_mmap2]: Likewise.
17627 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17628 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17629 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17630 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17631 [__NR_mmap2]: Make code unconditional.
17632 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17633 (__mmap64) [!__NR_mmap2]: Likewise.
17635 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17637 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17639 2012-08-18 Andreas Jaeger <aj@suse.de>
17641 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17643 2012-08-18 Mike Frysinger <vapier@gentoo.org>
17645 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17646 * include/unistd.h (__have_sock_cloexec): Likewise.
17647 (__have_pipe2): Likewise.
17648 (__have_dup3): Likewise.
17650 2012-08-18 Mike Frysinger <vapier@gentoo.org>
17653 * include/unistd.h (__have_pipe2): Change define into an extern int.
17654 (__have_dup3): Likewise.
17655 * socket/have_sock_cloexec.c: Include fcntl.h.
17656 (__have_pipe2): New variable.
17657 (__have_dup3): Likewise.
17659 2012-08-17 Mike Frysinger <vapier@gentoo.org>
17661 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17663 2012-08-17 Marek Polacek <polacek@redhat.com>
17665 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17666 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17668 2012-08-17 Roland McGrath <roland@hack.frob.com>
17670 * configure.in: Add AC_SUBST for sysheaders.
17671 * configure: Regenerated.
17672 * config.make.in (sysheaders): New substituted variable.
17674 * sysdeps/unix/mkfifo.c: Moved ...
17675 * sysdeps/posix/mkfifo.c: ... here.
17676 * sysdeps/unix/mkfifoat.c: Moved ...
17677 * sysdeps/posix/mkfifoat.c: ... here.
17679 * sysdeps/unix/utime.c: Moved ...
17680 * sysdeps/posix/utime.c: ... here.
17682 * sysdeps/unix/time.c: Moved ...
17683 * sysdeps/posix/time.c: ... here.
17684 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17685 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
17687 * sysdeps/unix/nice.c: Moved ...
17688 * sysdeps/posix/nice.c: ... here.
17690 * sysdeps/unix/alarm.c: Moved ...
17691 * sysdeps/posix/alarm.c: ... here.
17693 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17695 2012-08-17 Jeff Law <law@redhat.com>
17697 * intl/Makefile (codeset_mo): New variable.
17698 ($(codeset_mo)): New target.
17699 (tst-codeset.out): Depend on that. Remove explicit rule.
17700 (tst-gettext3.out, tst-gettext5.out): Likewise.
17701 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17702 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17703 * intl/tst-codeset.sh: Remove.
17704 * intl/tst-gettext3.sh: Likewise.
17705 * intl/tst-gettext5.sh: Likewise.
17707 2012-08-17 Roland McGrath <roland@hack.frob.com>
17709 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17710 * sysdeps/unix/syscalls.list: ... here.
17712 * sysdeps/posix/getaddrinfo.c
17713 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17714 (gaiconf_init, gaiconf_reload): Use them.
17715 [!_STATBUF_ST_NSEC]
17716 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17717 Define using time_t rather than struct timespec.
17719 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17720 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17722 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17724 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17725 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17728 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17729 __libc_cleanup_push argument.
17731 * bits/param.h: New file.
17732 * misc/sys/param.h: New file.
17733 * include/sys/param.h: New file.
17734 * misc/Makefile (headers): Add bits/param.h.
17735 * sysdeps/generic/sys/param.h: File removed.
17736 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17737 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17738 * sysdeps/mach/hurd/bits/param.h: New file.
17739 * sysdeps/mach/hurd/sys/param.h: File removed.
17741 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17744 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17746 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17747 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17750 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17751 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17752 rather than -D_IO_MTSAFE_IO conditionally.
17753 * stdio-common/Makefile (CPPFLAGS): Likewise.
17754 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17755 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17756 Use $(libio-mtsafe).
17757 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17758 of -D_IO_MTSAFE_IO.
17759 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17760 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17761 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17762 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17763 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17764 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17765 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17766 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17767 (CFLAGS-fread_u_chk.c): Likewise.
17768 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17769 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17770 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17771 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17772 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17773 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17774 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17775 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17776 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17778 * libio/Makefile: Test [$(libc-reentrant) = yes]
17779 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17782 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17783 * sysdeps/pthread/configure: File removed.
17784 * sysdeps/pthread/Makeconfig: New file.
17785 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17786 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17788 2012-08-16 Gary Benson <gbenson@redhat.com>
17790 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17791 unmapping the first object in a namespace.
17793 2012-08-16 Roland McGrath <roland@hack.frob.com>
17795 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17796 (__internal_setnetgrent): ... this. Add internal_function to
17797 definition. Add libc_hidden_def.
17798 (setnetgrent): Update caller.
17799 (internal_endnetgrent): Renamed to ...
17800 (__internal_endnetgrent): ... this. Add internal_function to
17801 definition. Add libc_hidden_def.
17802 (endnetgrent): Update caller.
17803 (internal_getnetgrent_r): Renamed to ...
17804 (__internal_getnetgrent_r): ... this. Add internal_function to
17805 definition. Add libc_hidden_def.
17806 (__getnetgrent_r): Update caller.
17807 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
17809 2012-08-16 Joseph Myers <joseph@codesourcery.com>
17811 * stdlib/longlong.h: Update from GCC.
17813 2012-08-16 Roland McGrath <roland@hack.frob.com>
17815 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17816 on _QL, which is set by umul_ppmm but never used.
17817 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17818 variables, which are set by GMP macros but never used.
17819 * stdio-common/_itowa.c (_itowa): Likewise.
17820 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17821 * stdlib/mod_1.c (mpn_mod_1): Likewise.
17823 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17825 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17826 struct La_sh_regs is not constant.
17827 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17828 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17829 and struct La_sparc64_regs are not constant.
17831 2012-08-16 Joseph Myers <joseph@codesourcery.com>
17833 * sysdeps/unix/sysv/linux/kernel-features.h
17834 (__ASSUME_POSIX_TIMERS): Remove.
17835 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17836 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17837 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17838 Make code unconditional.
17839 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17840 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17841 Make code unconditional.
17842 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17843 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17844 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17845 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17846 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17847 Make code unconditional.
17848 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17849 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17850 (__libc_missing_posix_timers): Remove.
17852 2012-08-15 Roland McGrath <roland@hack.frob.com>
17854 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17855 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17857 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17859 * elf/dl-sym.c: Include <stdlib.h>.
17861 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17862 constants, which avoids warnings in 32-bit builds.
17864 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17865 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17867 * misc/lseek.c: File moved to ...
17868 * io/lseek.c: ... here.
17870 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17872 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17873 shifting LEN more than 31 bits at once.
17875 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17878 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17879 segmentation fault for a case of two empty input strings.
17880 * string/test-strncasecmp.c (check1): Renamed to...
17881 (bz12205): ...this.
17882 (bz14195): Add new testcase for two empty input strings and N > 0.
17883 (test_main): Call new testcase, adapt for renamed function.
17885 2012-08-15 Andreas Jaeger <aj@suse.de>
17888 * crypt/md5test2.c: New test, based on test supplied by Serge
17889 Belyshev <belyshev@depni.sinp.msu.ru>.
17890 * crypt/Makefile (xtests): Add md5test-giant..
17891 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17893 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17896 * crypt/md5.c (md5_process_block): Don't assume the buffer
17897 length is less than 2**32.
17898 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17899 length is less than 2**64.
17901 2012-08-15 Roland McGrath <roland@hack.frob.com>
17903 * string/str-two-way.h: Include <sys/param.h>.
17904 (MAX): Macro removed.
17906 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17907 Move #define and #undef of memmove to just before and after
17908 including <string.h>.
17910 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17911 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17912 and after including <string.h>. Move declarations of
17913 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17914 to before #include "string/memmove.c".
17916 * include/dirent.h: Declare __getdirentries.
17918 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17919 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17921 2012-08-14 Mike Frysinger <vapier@gentoo.org>
17923 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17924 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17925 * sysdeps/i386/configure: Regenerated.
17926 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17927 STABS_CURRENT_FILE, and STABS_FUN.
17928 (END): Remove call to STABS_FUN_END.
17929 (STABS_CURRENT_FILE1): Delete.
17930 (STABS_CURRENT_FILE): Likewise.
17931 (STABS_FUN): Likewise.
17932 (STABS_FUN_END): Likewise.
17933 (STABS_FUN2): Likewise.
17934 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17935 * sysdeps/x86_64/configure: Regenerated.
17937 2012-08-14 Roland McGrath <roland@hack.frob.com>
17939 * elf/dl-open.c: Include <atomic.h>.
17940 * elf/dl-lookup.c: Likewise.
17942 2012-08-14 Joseph Myers <joseph@codesourcery.com>
17944 * sysdeps/unix/sysv/linux/kernel-features.h
17945 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17946 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17948 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17950 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17951 condition on __ASSUME_CLONE_THREAD_FLAGS.
17953 2012-08-14 Andreas Jaeger <aj@suse.de>
17955 * sysdeps/i386/fpu/libm-test-ulps: Update.
17957 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17959 * include/atomic.h (atomic_exchange_and_add): Split into ...
17960 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17963 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17965 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17967 2012-08-13 Jeff Law <law@redhat.com>
17969 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17970 null byte in the output string.
17972 2012-08-10 Joseph Myers <joseph@codesourcery.com>
17974 * sysdeps/unix/sysv/linux/kernel-features.h
17975 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
17976 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
17977 (__ASSUME_ARG_MAX_STACK_BASED): Define.
17978 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
17979 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
17980 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
17981 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
17983 2012-08-09 Jeff Law <law@redhat.com>
17986 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
17987 When avoid_arena is set, don't retry in the that arena. Pick the
17988 next one, whatever it might be.
17989 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
17990 (arena_lock): Pass in new parameter to arena_get2.
17991 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
17993 (__libc_malloc): Unify retrying after main arena failure with
17994 __libc_memalign version.
17995 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
17997 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
18000 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18001 to __redirect_strstr.
18002 (__strstr_sse42): Use typeof __redirect_strstr.
18003 (__strstr_ia32): Likewise.
18004 (__libc_strstr): New prototype.
18005 (strstr): Renamed to ...
18006 (__libc_strstr): This.
18007 (strstr): New strong alias of __libc_strstr.
18008 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18009 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18012 (__libc_time): New prototype.
18013 (time_ifunc): Replace time with __libc_time.
18014 (time): New strong alias and hidden definition of __libc_time.
18015 (__GI_time): Remove strong alias.
18016 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18017 Include <stddef.h>.
18018 (memmove): Redefined to __redirect_memmove.
18019 (__memmove_sse2): Use typeof __redirect_memmove.
18020 (__memmove_ssse3): Likewise.
18021 (__memmove_ssse3_back): Likewise.
18022 (__libc_memmove): New prototype.
18023 (memmove): Renamed to ...
18024 (__libc_memmove): This.
18025 (memmove): New strong alias of __libc_memmove.
18027 2012-08-08 Mark Salter <msalter@redhat.com>
18030 (R_MN10300_TLS_GD): Define.
18031 (R_MN10300_TLS_LD): Likewise.
18032 (R_MN10300_TLS_LDO): Likewise.
18033 (R_MN10300_TLS_GOTIE): Likewise.
18034 (R_MN10300_TLS_IE): Likewise.
18035 (R_MN10300_TLS_LE): Likewise.
18036 (R_MN10300_TLS_DTPMOD): Likewise.
18037 (R_MN10300_TLS_DTPOFF): Likewise.
18038 (R_MN10300_TLS_TPOFF): Likewise.
18039 (R_MN10300_SYM_DIFF): Likewise.
18040 (R_MN10300_ALIGN): Likewise.
18041 (R_MN10300_NUM): Update.
18043 2012-08-08 Joseph Myers <joseph@codesourcery.com>
18045 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18048 2012-08-08 Roland McGrath <roland@hack.frob.com>
18050 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18052 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18053 sysdeps/unix -> sysdeps/posix move.
18054 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18056 2012-08-07 Allan McRae <allan@archlinux.org>
18059 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18060 (SUNOS_CPP): Likewise.
18061 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18063 (open_input): Call CPP using execvp.
18065 2012-08-07 Joseph Myers <joseph@codesourcery.com>
18067 * sysdeps/unix/sysv/linux/kernel-features.h
18068 (__ASSUME_PROT_GROWSUPDOWN): Remove.
18069 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18070 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18071 (__ASSUME_WAITID_SYSCALL): Likewise.
18072 * sysdeps/unix/sysv/linux/dl-execstack.c
18073 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18074 code unconditional.
18075 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18077 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18078 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18079 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18081 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18083 [__ASSUME_WAITID_SYSCALL]: Likewise.
18084 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18086 2012-08-07 Roland McGrath <roland@hack.frob.com>
18088 * sysdeps/unix/closedir.c: Renamed to ...
18089 * sysdeps/posix/closedir.c: ... here.
18090 * sysdeps/unix/dirfd.c: Renamed to ...
18091 * sysdeps/posix/dirfd.c: ... here.
18092 * sysdeps/unix/dirstream.h: Renamed to ...
18093 * sysdeps/posix/dirstream.h: ... here.
18094 * sysdeps/unix/fdopendir.c: Renamed to ...
18095 * sysdeps/posix/fdopendir.c: ... here.
18096 * sysdeps/unix/opendir.c: Renamed to ...
18097 * sysdeps/posix/opendir.c: ... here.
18098 * sysdeps/unix/readdir.c: Renamed to ...
18099 * sysdeps/posix/readdir.c: ... here.
18100 * sysdeps/unix/readdir_r.c: Renamed to ...
18101 * sysdeps/posix/readdir_r.c: ... here.
18102 * sysdeps/unix/rewinddir.c: Renamed to ...
18103 * sysdeps/posix/rewinddir.c: ... here.
18104 * sysdeps/unix/seekdir.c: Renamed to ...
18105 * sysdeps/posix/seekdir.c: ... here.
18106 * sysdeps/unix/telldir.c: Renamed to ...
18107 * sysdeps/posix/telldir.c: ... here.
18108 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18109 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18110 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18111 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18113 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18114 * bits/fcntl.h: ... here.
18116 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18118 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18119 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18120 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18121 (struct flock): Move l_start, l_len to the beginning.
18122 Use __pid_t for l_pid.
18123 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18124 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18125 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18126 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18127 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18128 [__USE_LARGEFILE64] (struct flock64): New type.
18129 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18131 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18132 * bits/dirent.h: ... here.
18134 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18135 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18137 2012-08-07 Joseph Myers <joseph@codesourcery.com>
18139 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18140 Change from 2.6.0 to 2.6.16.
18141 * sysdeps/unix/sysv/linux/configure: Regenerated.
18142 * sysdeps/unix/sysv/linux/kernel-features.h
18143 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18144 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18146 (__ASSUME_UTIMES): Likewise.
18147 (__ASSUME_CLONE_STOPPED): Remove.
18148 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18149 architectures, not kernel version.
18150 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18151 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18152 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18153 (__ASSUME_WAITID_SYSCALL): Likewise.
18154 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18155 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18156 * README: State 2.6.16 as minimum Linux kernel version. Do not
18157 refer to older versions.
18159 2012-08-06 Roland McGrath <roland@hack.frob.com>
18161 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18162 Define alphasort64 as an alias.
18163 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18164 Define versionsort64 as an alias.
18165 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18166 Define scandir64 as an alias.
18167 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18168 Define scandirat64 as an alias.
18169 * dirent/alphasort64.c (alphasort64):
18170 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18171 * dirent/versionsort64.c: Likewise.
18172 * dirent/scandir64.c: Likewise.
18173 * dirent/scandirat64.c: Likewise.
18174 * sysdeps/wordsize-64/alphasort.c: File removed.
18175 * sysdeps/wordsize-64/alphasort64.c: File removed.
18176 * sysdeps/wordsize-64/scandir.c: File removed.
18177 * sysdeps/wordsize-64/scandir64.c: File removed.
18178 * sysdeps/wordsize-64/scandirat.c: File removed.
18179 * sysdeps/wordsize-64/scandirat64.c: File removed.
18180 * sysdeps/wordsize-64/versionsort.c: File removed.
18181 * sysdeps/wordsize-64/versionsort64.c: File removed.
18182 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18183 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18184 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18185 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18186 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18187 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18188 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18189 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18191 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18192 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18193 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18194 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18195 [defined __arch64__ || defined __sparcv9]
18196 (__INO_T_MATCHES_INO64_T): New macro.
18197 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18198 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18199 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18200 * sysdeps/unix/sysv/linux/bits/dirent.h
18201 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18202 (_DIRENT_MATCHES_DIRENT64): New macro.
18204 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18205 Define lockf64 as an alias.
18206 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18207 Define fseeko64 as an alias.
18208 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18209 Define ftello64 as an alias.
18210 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18211 Define _IO_fgetpos64 and fgetpos64 as aliases.
18212 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18213 Define _IO_fsetpos64 and fsetpos64 as aliases.
18214 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18215 Conditionalize body on this.
18216 * libio/fseeko64.c: Likewise.
18217 * libio/ftello64.c: Likewise.
18218 * libio/iofgetpos64.c: Likewise.
18219 * libio/iofsetpos64.c: Likewise.
18220 * sysdeps/wordsize-64/lockf.c: File removed.
18221 * sysdeps/wordsize-64/lockf64.c: File removed.
18222 * sysdeps/wordsize-64/fseeko.c: File removed.
18223 * sysdeps/wordsize-64/fseeko64.c: File removed.
18224 * sysdeps/wordsize-64/ftello.c: File removed.
18225 * sysdeps/wordsize-64/ftello64.c: File removed.
18226 * sysdeps/wordsize-64/iofgetpos.c: File removed.
18227 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18228 * sysdeps/wordsize-64/iofsetpos.c: File removed.
18229 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18230 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18231 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18232 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18233 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18234 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18235 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18236 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18237 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18238 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18239 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18241 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18242 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18243 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18244 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18245 [defined __arch64__ || defined __sparcv9]
18246 (__OFF_T_MATCHES_OFF64_T): New macro.
18247 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18248 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18249 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18250 (__OFF_T_MATCHES_OFF64_T): New macro.
18252 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18254 * stdlib/secure-getenv.c (__secure_getenv): Replace
18255 GLIBC_2_16 with GLIBC_2_17.
18257 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18259 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18260 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18262 2012-08-03 David S. Miller <davem@davemloft.net>
18264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18266 2012-08-03 Joseph Myers <joseph@codesourcery.com>
18268 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18270 (__ASSUME_CORRECT_SI_PID): Likewise.
18271 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18272 (__ASSUME_TMPFS_NAME): Likewise.
18273 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18274 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18275 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18276 (HAVE_AUX_SECURE): Make definition unconditional.
18277 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18278 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
18280 2012-08-03 Roland McGrath <roland@hack.frob.com>
18282 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
18283 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
18284 * sysdeps/mach/hurd/eloop-threshold.h: New file.
18285 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18286 __eloop_threshold instead of SYMLOOP_MAX.
18288 * sysdeps/generic/eloop-threshold.h: New file.
18289 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18291 * elf/chroot_canon.c (chroot_canon): Likewise.
18293 2012-08-03 Joseph Myers <joseph@codesourcery.com>
18296 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18297 Change to 2.6.0 everywhere.
18298 * sysdeps/unix/sysv/linux/configure: Regenerated.
18299 * sysdeps/unix/sysv/linux/kernel-features.h
18300 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
18301 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
18303 (__ASSUME_POSIX_TIMERS): Define unconditionally.
18304 (__ASSUME_FUTEX_REQUEUE): Remove.
18305 (__ASSUME_STATFS64): Define unconditionally.
18306 (__ASSUME_AT_SECURE): Likewise.
18307 (__ASSUME_CORRECT_SI_PID): Likewise.
18308 (__ASSUME_TGKILL): Define without depending on kernel version for
18310 (__ASSUME_UTIMES): Likewise.
18311 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18313 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18314 (__ASSUME_TMPFS_NAME): Likewise.
18315 * README: Update reference to Linux kernel versions.
18317 2012-08-02 Marek Polacek <polacek@redhat.com>
18320 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
18321 libc_cv_asm_type_prefix with %.
18322 * configure: Regenerated.
18323 * include/libc-symbols.h: Remove comment about
18324 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18325 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18326 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18327 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18328 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18329 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18330 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18331 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18332 * elf/tst-unique2mod1.c: Likewise.
18333 * elf/tst-unique1mod2.c: Likewise.
18334 * elf/tst-unique1mod1.c: Likewise.
18335 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18336 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18337 Replace ASM_TYPE_DIRECTIVE with .type.
18338 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18339 * sysdeps/i386/sysdep.h: Likewise.
18340 * sysdeps/x86_64/sysdep.h: Likewise.
18341 * sysdeps/sh/sysdep.h: Likewise.
18342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18343 Do not define ASM_TYPE_DIRECTIVE.
18344 * sysdeps/powerpc/sysdep.h: Likewise.
18345 * sysdeps/powerpc/powerpc32/sysdep.h:
18346 Replace ASM_TYPE_DIRECTIVE with .type.
18347 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18348 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18349 * sysdeps/i386/fpu/e_powf.S: Likewise.
18350 * sysdeps/i386/fpu/e_expl.S: Likewise.
18351 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18352 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18353 * sysdeps/i386/fpu/e_pow.S: Likewise.
18354 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18355 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18356 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18357 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18358 * sysdeps/i386/fpu/e_log2.S: Likewise.
18359 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18360 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18361 * sysdeps/i386/fpu/e_powl.S: Likewise.
18362 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18363 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18364 * sysdeps/i386/fpu/e_logl.S: Likewise.
18365 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18366 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18367 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18368 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18369 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18370 * sysdeps/i386/fpu/e_log.S: Likewise.
18371 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18372 * sysdeps/i386/fpu/e_logf.S: Likewise.
18373 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18374 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18375 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18376 * sysdeps/i386/fpu/e_log10.S: Likewise.
18377 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18378 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18379 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18380 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18381 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18382 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18383 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18384 * sysdeps/i386/i686/strtok.S: Likewise.
18385 * sysdeps/i386/i386-mcount.S: Likewise.
18386 * sysdeps/i386/strtok.S: Likewise.
18387 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18388 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18389 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18390 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18391 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18392 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18393 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18394 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18395 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18396 * sysdeps/x86_64/_mcount.S: Likewise.
18397 * sysdeps/x86_64/strtok.S: Likewise.
18398 * sysdeps/sh/_mcount.S: Likewise.
18400 2012-08-01 Roland McGrath <roland@hack.frob.com>
18402 * libio/iofopen.c: Include <fcntl.h>.
18403 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18404 (_IO_fopen64, fopen64): Define as aliases.
18405 * libio/iofopen64.c: Include <fcntl.h>.
18406 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18407 Conditionalize body on this.
18408 * sysdeps/wordsize-64/iofopen.c: File removed.
18409 * sysdeps/wordsize-64/iofopen64.c: File removed.
18411 2012-08-01 Marek Polacek <polacek@redhat.com>
18413 * libc/Makeconfig: Use elf in place of binfmt-subdir.
18414 Use dlfcn directly instead of a variable.
18415 (binfmt-subdir): Do not define.
18418 2012-08-01 Joseph Myers <joseph@codesourcery.com>
18420 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18421 Remove all definitions.
18422 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18423 <kernel-features.h>.
18424 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18425 (miss_F_GETOWN_EX): Remove all definitions.
18426 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18428 [!__ASSUME_FCNTL64]: Remove conditional code.
18429 [__ASSUME_FCNTL64]: Make code unconditional.
18430 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18431 <kernel-features.h>.
18432 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18433 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18434 (lockf64) [__NR_fcntl64]: Make code unconditional.
18435 (lockf64) [__ASSUME_FCNTL64]: Likewise.
18437 * sysdeps/unix/sysv/linux/kernel-features.h
18438 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18439 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18440 Make code unconditional.
18441 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18442 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18443 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18444 [__NR_vfork]: Make code unconditional.
18445 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18446 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18448 [__NR_vfork]: Make code unconditional.
18449 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18450 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18452 2012-08-01 Roland McGrath <roland@hack.frob.com>
18454 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18455 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18457 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18458 Define mkstemp64 as an alias.
18459 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18460 Define mkstemps64 as an alias.
18461 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18462 Define mkostemp64 as an alias.
18463 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18464 Define mkostemps64 as an alias.
18465 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18466 Conditionalize body on this.
18467 * misc/mkostemp64.c: Likewise.
18468 * misc/mkostemps64.c: Likewise.
18469 * misc/mkstemps64.c: Likewise.
18470 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18471 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18472 * sysdeps/wordsize-64/mkostemp.c: File removed.
18473 * sysdeps/wordsize-64/mkstemp.c: File removed.
18474 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18475 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18476 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18477 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18480 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18481 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18482 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18483 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18485 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18486 compat_symbol macros from <shlib-compat.h> rather than the underlying
18487 default_symbol_version and symbol_version macros, so that DEFAULT
18488 lines in shlib-versions are respected.
18489 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18491 2012-08-01 Florian Weimer <fweimer@redhat.com>
18493 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18494 Declare with warn_unused_result.
18495 (setgid, setregid, setegid, setresgid): Likewise.
18496 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18498 * WUR-REPORT: Remove set*id functions.
18500 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18502 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18504 2012-07-31 Roland McGrath <roland@hack.frob.com>
18507 * include/sys/socket.h (__libc_accept, __libc_accept4):
18508 Add attribute_hidden.
18509 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18511 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18513 * inet/getnetgrent_r.c (setup): Likewise.
18515 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18517 2012-07-31 David S. Miller <davem@davemloft.net>
18519 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18521 2012-07-31 Joseph Myers <joseph@codesourcery.com>
18524 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18525 value between 1.0 and 2.0 and smaller part has absolute value less
18527 * math/s_clog10.c (__clog10): Likewise.
18528 * math/s_clog10f.c (__clog10f): Likewise.
18529 * math/s_clog10l.c (__clog10l): Likewise.
18530 * math/s_clogf.c (__clogf): Likewise.
18531 * math/s_clogl.c (__clogl): Likewise.
18532 * math/libm-test.inc (clog_test): Add more tests.
18533 (clog10_test): Likewise.
18534 * sysdeps/i386/fpu/libm-test-ulps: Update.
18535 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18537 2012-07-31 Florian Weimer <fweimer@redhat.com>
18539 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18540 Exit with zero in case no suitable GID is found, and write a
18541 message to standard error.
18543 2012-07-30 Roland McGrath <roland@hack.frob.com>
18545 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18547 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18548 (MAXPATHLEN): Removed.
18549 (NOGROUP, NODEV): New macros.
18550 (setbit, clrbit, isset, isclr): New macros.
18551 (howmany, roundup, powerof2): New macros.
18552 (DEV_BSIZE): New macro.
18554 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18555 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18557 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18558 definition on [!__NO_LONG_DOUBLE_MATH].
18560 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18561 PTR_MANGLE and PTR_DEMANGLE.
18563 * socket/accept4.c (accept4): Rename to __libc_accept4.
18564 Define accept4 as a weak alias.
18566 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18567 on [_DIRENT_HAVE_D_TYPE].
18568 * io/ftw.c (ftw_dir): Likewise.
18570 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18572 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18574 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18575 Use the BSD numbers rather than the arbitrary ones we had.
18576 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18577 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18578 (SIGXCPU, SIGXFSZ): New macros.
18581 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18582 initializer on [_LIBC_REENTRANT].
18584 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18585 definitions inside [_POSIX_MAPPED_FILES].
18587 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18589 * dirent/opendir.c: Include <fcntl.h>.
18591 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18592 (__libc_getspecific): Likewise.
18593 (__libc_key_create): Likewise.
18595 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18596 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18597 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18598 (tmpfile64): Define as alias.
18599 * sysdeps/wordsize-64/tmpfile.c: File removed.
18600 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18601 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18602 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18604 * stdio-common/vfscanf.c: Include <stdbool.h>.
18605 * nss/makedb.c: Likewise.
18606 * stdio-common/_i18n_number.h: Likewise.
18607 * argp/argp-help.c: Likewise.
18608 * posix/wordexp.c: Likewise.
18609 * sysdeps/posix/spawni.c: Likewise.
18610 * nss/nss_files/files-initgroups.c: Likewise.
18611 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18612 * nss/nss_files/files-initgroups.c: Likewise.
18613 * nss/nss_db/db-netgrp.c: Likewise.
18614 * nss/nss_db/db-initgroups.c: Likewise.
18615 * io/fchmodat.c: Include <sys/stat.h>.
18617 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18618 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18620 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18623 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18624 Add multiple inclusion protection.
18626 2012-07-27 David S. Miller <davem@davemloft.net>
18628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18630 2012-07-27 Gary Benson <gbenson@redhat.com>
18633 * elf/rtld.c: Include <stap-probe.h>.
18634 (dl_main): Added static probes "init_start" and "init_complete".
18635 * elf/dl-load.c: Include <stap-probe.h>.
18636 (lose): Take new parameter "nsid".
18637 Added static probe "map_failed".
18638 (_dl_map_object_from_fd): Pass namespace id to lose.
18639 Added static probe "map_start".
18640 (open_verify): Pass namespace id to lose.
18641 * elf/dl-open.c: Include <stap-probe.h>.
18642 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18643 and "reloc_complete".
18644 * elf/dl-close.c: Include <stap-probe.h>.
18645 (_dl_close_worker): Added static probes "unmap_start" and
18647 * elf/rtld-debugger-interface.txt: New file documenting the above.
18649 2012-07-26 Roland McGrath <roland@hack.frob.com>
18651 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18652 rather than a string variable.
18653 * sunrpc/rpc_main.c (h_output): Likewise.
18654 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18656 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18658 * inet/check_native.c: New file.
18660 2012-07-26 Joseph Myers <joseph@codesourcery.com>
18663 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18664 if larger part has absolute value 1.0.
18665 * math/s_clog10.c (__clog10): Likewise.
18666 * math/s_clog10f.c (__clog10f): Likewise.
18667 * math/s_clog10l.c (__clog10l): Likewise.
18668 * math/s_clogf.c (__clogf): Likewise.
18669 * math/s_clogl.c (__clogl): Likewise.
18670 * math/libm-test.inc (clog_test): Add more tests.
18671 (clog10_test): Likewise.
18672 * sysdeps/i386/fpu/libm-test-ulps: Update.
18673 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18675 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18676 (pltexit): Likewise.
18677 (La_regs): Likewise.
18678 (La_retval): Likewise.
18679 (int_retval): Likewise.
18680 Update #error for removed macros to refer only to definitions in
18682 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18684 (pltexit): Likewise.
18685 (La_regs): Likewise.
18686 (La_retval): Likewise.
18687 (int_retval): Likewise.
18688 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18690 (pltexit): Likewise.
18691 (La_regs): Likewise.
18692 (La_retval): Likewise.
18693 (int_retval): Likewise.
18694 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18696 (pltexit): Likewise.
18697 (La_regs): Likewise.
18698 (La_retval): Likewise.
18699 (int_retval): Likewise.
18700 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18702 (pltexit): Likewise.
18703 (La_regs): Likewise.
18704 (La_retval): Likewise.
18705 (int_retval): Likewise.
18706 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18708 (pltexit): Likewise.
18709 (La_regs): Likewise.
18710 (La_retval): Likewise.
18711 (int_retval): Likewise.
18712 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18714 (pltexit): Likewise.
18715 (La_regs): Likewise.
18716 (La_retval): Likewise.
18717 (int_retval): Likewise.
18718 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18719 macro definitions in tst-audit.h.
18720 * sysdeps/i386/tst-audit.h: New file.
18721 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18722 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18723 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18724 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18725 * sysdeps/sh/tst-audit.h: Likewise.
18726 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18727 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18728 * sysdeps/x86_64/tst-audit.h: Likewise.
18730 2012-07-26 Andreas Jaeger <aj@suse.de>
18732 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18735 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18736 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18737 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18739 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18740 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18741 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18743 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18746 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18748 (si_call_addr, si_syscall, si_arch): Define new macro.
18749 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18751 (si_call_addr, si_syscall, si_arch): Define new marcro.
18752 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18754 (si_call_addr, si_syscall, si_arch): Define new macro.
18755 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18757 (si_call_addr, si_syscall, si_arch): Define new macro.
18759 2012-07-25 Joseph Myers <joseph@codesourcery.com>
18762 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18763 Change to 2.4.21 where previously 2.4.1.
18764 * sysdeps/unix/sysv/linux/configure: Regenerated.
18765 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18766 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18767 Linux kernel version.
18768 (__ASSUME_STD_AUXV): Remove.
18769 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18771 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18772 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18773 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18774 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18775 (__ASSUME_NETLINK_SUPPORT): Likewise.
18776 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18777 (__no_netlink_support): Remove conditional definition.
18778 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18780 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18781 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18782 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18783 (if_nameindex_ioctl): Remove.
18784 (if_nameindex_netlink): Do not handle __no_netlink_support.
18785 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18787 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18788 Remove conditional code.
18789 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18791 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18793 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18794 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18795 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18797 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18798 [!__ASSUME_STD_AUXV]: Remove conditional code.
18799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18800 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18801 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18803 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18804 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18806 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18808 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18809 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18811 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18813 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18816 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18819 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18820 code unconditional.
18821 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18823 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18825 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18828 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18830 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18833 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18834 code unconditional.
18835 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18837 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18839 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18842 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18843 code unconditional.
18844 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18846 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18848 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18851 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18853 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18854 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18855 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18856 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18857 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18858 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18859 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18860 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18861 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18862 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18863 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18864 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18865 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18866 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18867 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18868 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18869 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18870 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18871 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18872 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18873 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18874 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18875 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18877 2012-07-25 Florian Weimer <fweimer@redhat.com>
18879 * Versions.def: Add GLIBC_2.17.
18880 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18881 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18882 Introduce __libc_secure_getenv.
18883 * stdlib/Versions (2.17): Add secure_getenv
18884 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18885 * stdlib/secure-getenv.c: Rename __secure_getenv to
18886 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18887 symbol __secure_getenv for GLIBC_2.0.
18888 * stdlib/tst-secure-getenv.c: New.
18889 * stdlib/Makefile (tests): Add testcase.
18890 * manual/startup.texi (Environment Access): Document
18892 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18893 __libc_secure_getenv.
18894 * inet/ruserpass.c (ruserpass): Likewise.
18895 * malloc/mtrace.c (mtrace): Likewise.
18896 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
18897 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
18898 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18899 * sysdeps/posix/tempname.c: Likewise. Evaluate
18900 HAVE_SECURE_GETENV.
18901 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
18902 __secure_getenv to __libc_secure_getenv.
18903 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
18904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18908 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18909 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18910 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18911 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18912 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18913 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18916 2012-07-25 Joseph Myers <joseph@codesourcery.com>
18918 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18919 (struct La_i86_retval): Likewise.
18920 (struct La_x86_64_regs): Likewise.
18921 (struct La_x86_64_retval): Likewise.
18922 (struct La_x32_regs): Likewise.
18923 (struct La_x32_retval): Likewise.
18924 (struct La_ppc32_regs): Likewise.
18925 (struct La_ppc32_retval): Likewise.
18926 (struct La_ppc64_regs): Likewise.
18927 (struct La_ppc64_retval): Likewise.
18928 (struct La_sh_regs): Likewise.
18929 (struct La_sh_retval): Likewise.
18930 (struct La_s390_32_regs): Likewise.
18931 (struct La_s390_32_retval): Likewise.
18932 (struct La_s390_64_regs): Likewise.
18933 (struct La_s390_64_retval): Likewise.
18934 (struct La_sparc32_regs): Likewise.
18935 (struct La_sparc32_retval): Likewise.
18936 (struct La_sparc64_regs): Likewise.
18937 (struct La_sparc64_retval): Likewise.
18938 (struct audit_ifaces): Remove architecture-specific pltenter and
18940 * sysdeps/i386/ldsodefs.h: New file.
18941 * sysdeps/powerpc/ldsodefs.h: Likewise.
18942 * sysdeps/s390/ldsodefs.h: Likewise.
18943 * sysdeps/sh/ldsodefs.h: Likewise.
18944 * sysdeps/sparc/ldsodefs.h: Likewise.
18945 * sysdeps/x86_64/ldsodefs.h: Likewise.
18947 2012-07-25 Marek Polacek <polacek@redhat.com>
18950 * math/libm-test.inc (yn_test): Add another test.
18951 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18952 to ERANGE when the result is +-Inf.
18953 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18954 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18955 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18956 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18958 2012-07-24 Joseph Myers <joseph@codesourcery.com>
18960 * conform/data/time.h-data (NULL): Use macro-constant. Require
18962 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18964 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18966 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18968 * configure.in <sysdeps resolving>: Correct printing
18970 * configure: Regenerate.
18972 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
18974 * math/w_ilogb.c: Include <limits.h>.
18975 * math/w_ilogbl.c: Likewise.
18977 2012-07-20 Joseph Myers <joseph@codesourcery.com>
18979 * manual/lang.texi (__va_copy): Document primarily as ISO C99
18980 va_copy. Document allowing for unavailable va_copy only as
18981 pre-C99 compatibility.
18982 * manual/string.texi (Copying and Concatenation): Use va_copy
18983 instead of __va_copy in concat example.
18985 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
18987 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
18988 (__sendto): Use create_address_port. Initialize APORT and deallocate
18991 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
18992 with O_NOLINK passed to __file_name_lookup.
18994 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
18995 with O_NOLINK passed to __file_name_lookup.
18997 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
18998 negative N or less than NGIDS.
19000 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19001 type to string_t. Set ERANGE as errno and return it if NAME is not big
19002 enough. Use memcpy instead of strncpy.
19004 2012-07-20 Joseph Myers <joseph@codesourcery.com>
19006 * elf/Makefile (check-data): Remove.
19007 (localplt.data): New vpath directive.
19008 ($(objpfx)check-localplt.out): Use localplt.data from vpath
19009 instead of $(check-data).
19010 * scripts/data/localplt-generic.data: Move to ...
19011 * sysdeps/generic/localplt.data: ... here.
19012 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19013 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19014 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19017 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19020 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19023 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19026 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19027 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19029 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19030 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19033 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19035 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19036 PPC32 and PPC64 files.
19037 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19038 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19040 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19042 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19043 __makecontext_ret to ...
19044 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19045 ... here and call exit if uc_link is NULL. New file.
19046 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19047 __makecontext_ret.S.
19048 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19049 __makecontext_ret to ...
19050 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19051 ... here and call exit if uc_link is NULL. New file.
19052 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19053 __makecontext_ret.S.
19055 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19057 * elf/elf.h (R_390_IRELATIVE): New definition.
19058 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19059 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
19060 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19061 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19062 (elf_machine_lazy_rel): Likewise.
19063 * sysdeps/s390/dl-irel.h: New file.
19064 * sysdeps/s390/s390-64/memcpy.S: New asm code.
19065 * sysdeps/s390/s390-64/memset.S: New asm code.
19066 * sysdeps/s390/s390-64/memcmp.S: New asm code.
19067 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19068 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19069 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19070 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19071 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19072 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19073 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19074 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19075 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19076 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19077 * sysdeps/s390/s390-32/memcpy.S: New asm code.
19078 * sysdeps/s390/s390-32/memset.S: New asm code.
19079 * sysdeps/s390/s390-32/memcmp.S: New asm code.
19081 2012-07-17 Marek Polacek <polacek@redhat.com>
19084 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19085 * sysdeps/s390/s390-64/configure.in: Likewise.
19086 * sysdeps/sparc/configure.in: Likewise.
19087 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19088 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19089 * sysdeps/i386/configure.in: Likewise.
19090 * sysdeps/x86_64/configure.in: Likewise.
19091 * sysdeps/sh/configure.in: Likewise.
19092 * sysdeps/s390/s390-32/configure: Regenerated.
19093 * sysdeps/s390/s390-64/configure: Likewise.
19094 * sysdeps/x86_64/configure: Likewise.
19095 * sysdeps/sh/configure: Likewise.
19096 * sysdeps/powerpc/powerpc64/configure: Likewise.
19097 * sysdeps/powerpc/powerpc32/configure: Likewise.
19098 * sysdeps/sparc/configure: Likwise.
19099 * sysdeps/i386/configure: Likewise.
19101 * elf/dl-open.c: Comment fixes.
19103 2012-07-17 Joseph Myers <joseph@codesourcery.com>
19105 * Makefile [CXX] (check-data): Remove.
19106 [CXX] (c++-types.data): New vpath directive.
19107 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19108 vpath. Do not allow for C++ type data being missing.
19109 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19110 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19111 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19112 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19113 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19114 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19115 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19116 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19118 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19121 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19124 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19125 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19127 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19130 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19133 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19134 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19136 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19137 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19139 * elf/tls-macros.h (TLS_LE): Move architecture-specific
19140 definitions to architecture-specific files.
19141 (TLS_IE): Likewise.
19142 (TLS_LD): Likewise.
19143 (TLS_GD): Likewise.
19144 * sysdeps/i386/tls-macros.h: New file.
19145 * sysdeps/powerpc/tls-macros.h: Likewise.
19146 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19147 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19148 * sysdeps/sh/tls-macros.h: Likewise.
19149 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19150 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19151 * sysdeps/x86_64/tls-macros.h: Likewise.
19153 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19155 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19156 zero value for regular exit case.
19158 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19159 (__start_context): Preserve zero value for regular exit case.
19161 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19162 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19164 * manual/setjmp.texi (setcontext): Clarify normal process
19165 termination when uc_link is the null pointer.
19166 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19169 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
19171 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19172 preprocessor. Test for each exception mask separately.
19174 2012-07-16 Andreas Jaeger <aj@suse.de>
19176 * po/ru.po: Update from translation team.
19178 2012-07-15 Joseph Myers <joseph@codesourcery.com>
19180 * conform/data/string.h-data (NULL): Use macro-constant. Require
19182 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19183 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19184 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19185 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19186 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19188 2012-07-13 Andreas Jaeger <aj@suse.de>
19190 * po/fr.po: Update from translation team.
19192 2012-07-12 Marek Polacek <polacek@redhat.com>
19195 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19196 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19199 2012-07-12 Joseph Myers <joseph@codesourcery.com>
19202 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19203 Change to 2.4.1 where previously 2.4.0.
19204 * sysdeps/unix/sysv/linux/configure: Regenerated.
19205 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19206 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19208 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19209 (__ASSUME_AT_CLKTCK): Remove.
19210 (__ASSUME_AT_PAGESIZE): Likewise.
19211 (__ASSUME_AT_XID): Likewise.
19212 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19213 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19214 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19216 (HAVE_AUX_PAGESIZE): Likewise.
19217 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19218 [__ASSUME_AT_CLKTCK]: Make code unconditional.
19219 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19221 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
19224 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19225 the temporary buffer used to invoke __gethostbyname2_r,
19226 __gethostbyaddr_r and gethostbyname4_r to make room for struct
19227 host_data / struct gaih_addrtuple.
19228 * resolv/nss_dns/dns-host.c (global scope): Move definition of
19229 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19230 header file nss/nsswitch.h.
19231 * nss/nsswitch.h (global scope): Add definition of implementation
19232 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19233 resolv/nss_dns/dns-host.c).
19235 2012-07-11 Andreas Jaeger <aj@suse.de>
19237 * po/fr.po: Update from translation team.
19239 * po/sv.po: Update from translation team
19240 * po/fr.po: Another update from translation team.
19242 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19244 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19245 for subnormals or multiply small sinh result by itself.
19246 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19249 2012-07-11 David S. Miller <davem@davemloft.net>
19251 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19253 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
19256 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19257 (INTERNAL_MARK): Shift it here.
19259 2012-07-10 Marek Polacek <polacek@redhat.com>
19262 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
19263 libc_cv_asm_global_directive with .globl.
19264 * configure: Regenerated.
19265 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19267 * sysdeps/i386/configure: Regenerated.
19268 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19270 * sysdeps/x86_64/configure: Regenerated.
19271 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19272 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19273 * elf/tst-unique2mod2.c: Likewise.
19274 * elf/tst-unique2mod1.c: Likewise.
19275 * elf/tst-unique1mod2.c: Likewise.
19276 * elf/tst-unique1mod1.c: Likewise.
19277 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19278 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19279 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19280 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19281 * sysdeps/mach/sysdep.h: Likewise.
19282 * sysdeps/i386/sysdep.h: Likewise.
19283 * sysdeps/i386/i386-mcount.S: Likewise.
19284 * sysdeps/x86_64/_mcount.S: Likewise.
19285 * sysdeps/x86_64/sysdep.h: Likewise.
19286 * sysdeps/sh/_mcount.S: Likewise.
19287 * sysdeps/sh/sysdep.h: Likewise.
19288 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
19289 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
19290 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
19291 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19292 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
19293 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
19294 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
19295 * locale/localeinfo.h: Likewise.
19296 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
19297 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
19299 2012-07-09 Roland McGrath <roland@hack.frob.com>
19302 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
19304 * manual/message.texi (The Uniforum approach): Likewise.
19305 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19306 (glibc iconv Implementation): Likewise.
19308 2012-07-09 Joseph Myers <joseph@codesourcery.com>
19311 * math/s_clog.c (__clog): Avoid scaling a value down where that
19312 could result in underflow.
19313 * math/s_clog10.c (__clog10): Likewise.
19314 * math/s_clog10f.c (__clog10f): Likewise.
19315 * math/s_clog10l.c (__clog10l): Likewise.
19316 * math/s_clogf.c (__clogf): Likewise.
19317 * math/s_clogl.c (__clogl): Likewise.
19318 * math/libm-test.inc (clog_test): Add more tests.
19319 (clog10_test): Likewise.
19320 * sysdeps/i386/fpu/libm-test-ulps: Update.
19321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19323 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
19326 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19327 by 7 not 8 to examine high bit of fractional part.
19330 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19331 for call to __mcount_internal.
19332 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19333 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19334 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19336 2012-07-06 Joseph Myers <joseph@codesourcery.com>
19339 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19340 approximation for values within 0x1p-13f of an odd multiple of
19342 * math/libm-test.inc (tan_test): Do not allow spurious underflow
19343 exception. Add more tests.
19344 * sysdeps/i386/fpu/libm-test-ulps: Update.
19347 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19348 inputs and return -1 for them. Do not check for +Inf in case not
19349 reachable for +Inf.
19350 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19351 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19352 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19353 and return -1 for them. Do not check for +Inf in case not
19354 reachable for +Inf.
19355 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19357 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19358 and return -1 for them. Do not check for +Inf in case not
19359 reachable for +Inf.
19360 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
19361 spurious underflow.
19362 * sysdeps/i386/fpu/libm-test-ulps: Update.
19363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19365 2012-07-06 Mike Frysinger <vapier@gentoo.org>
19367 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19369 2012-07-05 Joseph Myers <joseph@codesourcery.com>
19373 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19374 could result in spurious underflow. Scale down values above
19375 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19376 * math/s_csqrtf.c (__csqrtf): Likewise.
19377 * math/s_csqrtl.c (__csqrtl): Likewise.
19378 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
19379 spurious underflow.
19380 * sysdeps/i386/fpu/libm-test-ulps: Update.
19381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19383 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
19385 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19387 * catgets/xopen-msg.awk: New file.
19388 * catgets/xopen-msg.sed: Removed.
19390 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19392 * intl/po2test.awk: New file.
19393 * intl/po2test.sed: Removed.
19395 2012-07-04 Joseph Myers <joseph@codesourcery.com>
19398 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19399 or multiply small sinh result by itself.
19400 * math/s_ctanf.c (__ctanf): Likewise.
19401 * math/s_ctanh.c (__ctanh): Likewise.
19402 * math/s_ctanhf.c (__ctanhf): Likewise.
19403 * math/s_ctanhl.c (__ctanhl): Likewise.
19404 * math/s_ctanl.c (__ctanl): Likewise.
19405 * math/libm-test.inc (ctan_test_tonearest): New function.
19406 (ctan_test_towardzero): Likewise.
19407 (ctan_test_downward): Likewise.
19408 (ctan_test_upward): Likewise.
19409 (ctanh_test_tonearest): Likewise.
19410 (ctanh_test_towardzero): Likewise.
19411 (ctanh_test_downward): Likewise.
19412 (ctanh_test_upward): Likewise.
19413 (main): Call these new functions.
19414 * sysdeps/i386/fpu/libm-test-ulps: Update.
19415 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19417 2012-07-03 Mike Frysinger <vapier@gentoo.org>
19419 * .gitignore: Delete /ports entry.
19421 2012-07-03 Andreas Jaeger <aj@suse.de>
19423 * po/bg.po: Update from translation team.
19424 * po/cs.po: Likewise.
19425 * po/de.po: Likewise.
19426 * po/hr.po: Likewise.
19427 * po/nl.pl: Likewise.
19428 * po/pl.po: Likewise.
19429 * po/vi.po: Likewise.
19431 2012-07-03 Joseph Myers <joseph@codesourcery.com>
19433 * Makeconfig [!+link] (+link-before-libc): New variable.
19434 [!+link] (+link-after-libc): Likewise.
19435 [!+link] (+link-tests): Likewise.
19436 [!+link] (+link): Define in terms of $(+link-before-libc) and
19437 $(+link-after-libc).
19438 [!+link-static] (+link-static-before-libc): New variable.
19439 [!+link-static] (+link-static-after-libc): Likewise.
19440 [!+link-static] (+link-static-tests): Likewise.
19441 [!+link-static] (+link-static): Define in terms of
19442 $(+link-static-before-libc) and $(+link-static-after-libc).
19443 [build-shared] (link-libc-before-gnulib): New variable.
19444 [build-shared] (link-libc-tests): Likewise.
19445 [build-shared] (link-libc): Define in terms of
19446 $(link-libc-before-gnulib).
19447 [!build-shared] (link-libc-tests): New variable.
19448 (link-libc-static-tests): New variable.
19449 [!gnulib] (gnulib-arch): New variable.
19450 [!gnulib] (gnulib-tests): Likewise.
19451 [!gnulib] (static-gnulib-arch): Likewise.
19452 [!gnulib] (static-gnulib-tests): Likewise.
19453 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19454 Define with "=" instead of ":=".
19455 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19456 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19457 * Rules (binaries-all-notests): New variable.
19458 (binaries-all-tests): Likewise.
19459 (binaries-static-notests): Likewise.
19460 (binaries-static-tests): Likewise.
19461 (binaries-all): Define using $(binaries-all-notests) and
19462 $(binaries-all-tests).
19463 (binaries-static): Define using $(binaries-static-notests) and
19464 $(binaries-static-tests).
19465 (binaries-shared-tests): New variable.
19466 (binaries-shared-notests): Likewise.
19467 (binaries-shared): Remove variable.
19468 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19469 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19470 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19471 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19472 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19473 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19474 * elf/Makefile (sln-modules): New variable.
19475 (extra-objs): Add $(sln-modules:=.o).
19476 (ldconfig-modules): Add static-stubs.
19477 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19478 * elf/static-stubs.c: New file.
19481 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19482 by 7 not 8 to examine high bit of fractional part. Use volatile
19483 variables when splitting into final array of floats if
19484 __FLT_EVAL_METHOD__ != 0.
19485 * math/libm-test.inc (cos_test): Add another test.
19486 (sin_test): Likewise.
19487 * sysdeps/i386/fpu/libm-test-ulps: Update.
19490 * math/libm-test.inc (cosh_test): Add more tests.
19492 * version.h (RELEASE): Set to "development".
19493 (VERSION): Set to "2.16.90".
19495 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19497 * NEWS: Update copyright. Remove last-updated date.
19498 Mention math library bug fixes and timezone data changes.
19499 * README: Mention GNU/Hurd, x32, and HPPA support status.
19501 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19503 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19505 2012-06-27 Andreas Jaeger <aj@suse.de>
19507 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19509 2012-06-25 Andreas Jaeger <aj@suse.de>
19511 * sysdeps/s390/fpu/libm-test-ulps: Update.
19513 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19514 Thomas Schwinge <thomas@codesourcery.com>
19516 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19517 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19518 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19521 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19523 * sysdeps/mach/start.c: Remove file.
19524 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19525 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19526 * sysdeps/sh/init-first.c: Likewise.
19528 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19529 registers for frame unwinding purposes, add CFI directives.
19530 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19531 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19532 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19535 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19536 __fortify_fail returning.
19537 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19539 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19540 sysdeps/sh/____longjmp_chk.S.
19541 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19542 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19543 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19544 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19546 * sysdeps/sh/abort-instr.h: New file.
19547 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19548 process in case exit returns.
19550 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19551 initialize the GOT register before use.
19553 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19554 calculation of ARGC > 4.
19556 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19557 meaningful names to some local labels.
19559 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19560 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19562 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19563 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19564 (__arch_compare_and_exchange_val_16_acq): Likewise.
19565 (__arch_compare_and_exchange_val_32_acq): Likewise.
19566 (atomic_exchange_and_add): Fix gUSA sequence.
19567 (atomic_add): Likewise.
19568 (atomic_add_negative): Likewise.
19569 (atomic_add_zero): Likewise.
19570 (atomic_bit_test_set): Likewise.
19572 2012-06-22 Andreas Schwab <schwab@redhat.com>
19575 * include/link.h (struct link_map): Add l_free_initfini.
19576 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19578 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19579 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19580 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19583 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19585 * configure.in: Use AC_LANG_SOURCE.
19586 * configure: Regenerate.
19588 2012-06-22 Roland McGrath <roland@hack.frob.com>
19590 * configure.in (libc_cv_localstatedir): New substituted variable.
19591 * configure: Regenerated.
19592 * config.make.in (localstatedir): New variable, substituted from
19593 libc_cv_localstatedir.
19594 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19595 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19596 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19597 * sysdeps/gnu/configure: Regenerated.
19599 2012-06-21 Jeff Law <law@redhat.com>
19602 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19603 free. Simplify list management for _LIBC case.
19605 2012-06-21 Joseph Myers <joseph@codesourcery.com>
19608 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19609 Clear sign bit of 64-bit integer value before comparing against
19612 * sysdeps/mach/configure: Regenerated.
19614 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19617 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19619 2012-06-21 Jeff Law <law@redhat.com>
19622 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19623 uint16_t for elements in the "seen" array to avoid char overflows.
19624 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19625 * elf/dl-open.c (dl_open_worker): Likewise.
19627 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19629 * scripts/list-sources.sh: Scan PORTS for translations.
19630 * po/libc.pot: Regenerated.
19632 2012-06-21 Andreas Jaeger <aj@suse.de>
19635 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19637 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19638 * bits/byteswap-16.h (__bswap_16): Likewise.
19639 * bits/byteswap.h (__bswap_constant_16): Likewise.
19641 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19644 * sysdeps/i386/fpu_control.h: Removed.
19645 * sysdeps/x86_64/fpu_control.h: Moved to ...
19646 * sysdeps/x86/fpu_control.h: Here.
19648 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19649 (_FPU_SETCW): Likewise.
19651 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19654 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19655 * sysdeps/x86/fpu/bits/mathinline.h: This.
19656 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19660 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19661 functions if __x86_64__ is defined.
19663 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19665 * string/endian.h: Add !__ASSEMBLER__ condition for including
19666 conversion interfaces.
19668 2012-06-15 Joseph Myers <joseph@codesourcery.com>
19671 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19672 of ABS(x) in calculating zero to negative powers other than odd
19674 * math/libm-test.inc (pow_test): Add more tests.
19676 2012-06-15 Andreas Jaeger <aj@suse.de>
19678 * manual/contrib.texi (Contributors): Update entry of Liubov
19679 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19682 2012-06-15 Cyril Hrubis <metan@ucw.cz>
19684 * string/string.h: Add __wur to GNU version of strerror_r.
19686 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19689 * string/Makefile (tests): Add tst-strtok_r.
19690 * string/tst-strtok_r.c: New file.
19691 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19692 RAX_LP/RDX_LP on SAVE_PTR.
19694 2012-06-14 Roland McGrath <roland@hack.frob.com>
19696 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19698 2012-06-14 Joseph Myers <joseph@codesourcery.com>
19700 * libm_test.inc (csqrt_test): Allow more spurious underflow
19702 (j0_test): Likewise.
19703 (j1_test): Likewise.
19704 (y0_test): Likewise.
19705 (y1_test): Likewise.
19707 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19709 * po/Makefile (libc.pot): Use UTF-8 charset.
19711 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19714 Suppress sign-conversion warning from FD_SET.
19715 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19716 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19717 not unsigned long int.
19718 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19720 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19724 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19725 __extern_always_inline instead of __extern_inline.
19726 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19727 (__signbit): Likewise.
19728 (__signbitl): Support C++ namespace.
19729 (lrintf): New inline function.
19731 (llrintf): Likewise.
19732 (llrint): Likewise.
19742 (floorf): Likewise.
19743 (nearbyint): Likewise.
19744 (nearbyintf): Likewise.
19746 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19748 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19749 non-default versions.
19751 2012-06-11 Roland McGrath <roland@hack.frob.com>
19754 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19756 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19758 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19759 (FE_UPWARD, FE_DOWNWARD): Don't define.
19760 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19761 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19763 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19765 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19766 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19768 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19770 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19771 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19772 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19773 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19775 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19778 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19779 * sysdeps/i386/fpu/Implies: New file.
19780 * sysdeps/x86_64/fpu/Implies: Likewise.
19781 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19782 * sysdeps/x86/fpu/bits/fenv.h: This.
19784 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19787 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19790 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19791 character 0xffff that matches the last element of the
19794 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19796 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19799 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19801 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19802 values higher than 25.6283.
19804 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19806 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19807 subnormal exponent extraction and add some __builtin_expect.
19808 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19809 Fix for subnormal mantissa calculation.
19811 2012-06-04 Mike Frysinger <vapier@gentoo.org>
19813 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19814 cpu2 is -1 and errno is not ENOSYS.
19816 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19819 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19820 * sysdeps/x86/bits/string.h: This.
19821 * sysdeps/x86_64/bits/string.h: Removed.
19823 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19824 if not compiling for x86-64, but compiling for >= i486.
19826 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19827 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19829 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19830 New macro from Linux kernel 3.4.0.
19831 (FP_XSTATE_MAGIC2): Likewise.
19832 (FP_XSTATE_MAGIC2_SIZE): Likewise.
19833 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19834 (struct _fpx_sw_bytes): New struct.
19835 (struct _xsave_hdr): Likewise.
19836 (struct _ymmh_state): Likewise.
19837 (struct _xstate): Likewise.
19839 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19840 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19841 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19842 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19843 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19844 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19846 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19847 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19848 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19849 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19850 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19851 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19853 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19856 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19857 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19858 (sysdep_headers): Include sys/platform/ppc.h.
19859 * sysdeps/powerpc/test-gettimebase.c: Test for
19860 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19861 * manual/Makefile (appendices): Include platform.texi.
19862 * manual/contrib.texi (Contributors): Update @node pointers.
19863 * manual/maint.texi (Maintenance): Likewise.
19864 (Platform): New node.
19865 * manual/platform.texi: New file. Document the new features.
19867 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19868 Jakub Jelinek <jakub@redhat.com>
19871 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19872 where __builtin_expect is unavailable.
19874 2012-06-03 David S. Miller <davem@davemloft.net>
19876 * stdlib/longlong.h: Updated from GCC.
19878 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19881 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19882 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19885 (GLIBC_2.16): Likewise.
19887 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19889 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19891 2012-06-01 Joseph Myers <joseph@codesourcery.com>
19893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19894 (default-abi): New variable.
19895 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19896 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19898 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19900 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19902 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19905 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19906 definition. Document in comment.
19908 2012-06-01 David S. Miller <davem@davemloft.net>
19910 * stdlib/longlong.h: Updated from GCC.
19912 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19915 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19916 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19917 sys/debugreg.h sys/io.h here.
19918 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19919 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19921 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19922 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19923 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19924 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19925 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19926 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19928 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19929 Define only if __x86_64__ is defined.
19931 2012-06-01 Joseph Myers <joseph@codesourcery.com>
19934 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19935 Use int64_t for variable i.
19936 * math/libm-test.inc (fmod_test): Add more tests.
19938 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19939 z computation is not scheduled after fetestexcept.
19940 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19941 Use math_force_eval instead of asm to ensure calculation scheduled
19942 before exception test.
19943 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19944 Ensure a1 + u.d computation is not scheduled after fetestexcept.
19946 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19948 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19949 computation is not scheduled after fetestexcept.
19951 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19954 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19955 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19957 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19959 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19960 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19962 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19965 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19967 (__WCHAR_MIN): Support __WORDSIZE == 64.
19968 (__WCHAR_MAX): Likewise.
19970 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19971 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
19974 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
19975 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
19978 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
19979 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
19981 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
19982 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
19984 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
19985 Defined to 1 if __x86_64__ isn't defined.
19986 (_STAT_VER_LINUX_OLD): New.
19987 (st_atime): Remove duplicate.
19988 (st_mtime): Likewise.
19989 (st_ctime): Likewise.
19991 2012-05-31 David S. Miller <davem@davemloft.net>
19993 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
19996 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
19998 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20002 * elf/dl-reloc.c: Include <_itoa.h>.
20003 (_dl_reloc_bad_type): Remove use of INTUSE.
20004 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20005 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20006 * stdio-common/psiginfo.c (psiginfo): Likewise.
20007 * stdio-common/psignal.c (psignal): Likewise.
20008 * string/strsignal.c (strsignal): Likewise.
20009 * include/signal.h (_sys_siglist): Declare hidden proto.
20010 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
20011 INTVARDEF with libc_hidden_data_def.
20012 * stdio-common/itoa-udigits.c: Likewise.
20013 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20014 (_itoa_lower_digits_internal): Remove declaration.
20015 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20016 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20017 (_sys_sigabbrev_internal): Remove aliases.
20018 (_sys_siglist): Define hidden alias.
20020 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
20022 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20025 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20028 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20029 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20031 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20032 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20033 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20034 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20035 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20036 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20038 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20039 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20040 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20042 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20050 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20051 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20052 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20054 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20055 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20056 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20057 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20058 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20059 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20061 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20062 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20064 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20065 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20067 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20068 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20069 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20071 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20072 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20074 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20076 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20077 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20078 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20080 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20082 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20084 2012-05-31 Joseph Myers <joseph@codesourcery.com>
20086 * math/math.h (M_El): Use two more decimal places.
20087 (M_LOG2El): Likewise.
20088 (M_LOG10El): Likewise.
20089 (M_LN2l): Likewise.
20090 (M_LN10l): Likewise.
20092 (M_PI_2l): Likewise.
20093 (M_PI_4l): Likewise.
20094 (M_1_PIl): Likewise.
20095 (M_2_PIl): Likewise.
20096 (M_2_SQRTPIl): Likewise.
20097 (M_SQRT2l): Likewise.
20098 (M_SQRT1_2l): Likewise.
20100 2012-05-31 David S. Miller <davem@davemloft.net>
20102 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20103 values between float registers.
20104 * sysdeps/sparc/sparc64/memset.S: Likewise.
20105 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20107 2012-05-31 Mike Frysinger <vapier@gentoo.org>
20109 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20110 -D_FORTIFY_SOURCE=1.
20111 (CPPFLAGS-tst-longjmp_chk.c): Define.
20112 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20113 (CPPFLAGS-tst-longjmp_chk2.c): Define.
20114 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20115 CFLAGS-tst-wchar-h.c.
20117 2012-05-31 Marek Polacek <polacek@redhat.com>
20120 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20121 __endmntent_internal): Remove declaration.
20122 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20123 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20124 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20126 2012-05-30 David S. Miller <davem@davemloft.net>
20128 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20129 (___Q_simulate_exceptions): Use real FP ops rather than writing
20131 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20134 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20137 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20138 * sysdeps/x86/bits/xtitypes.h: This.
20140 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20141 * sysdeps/x86/bits/wordsize.h: This.
20143 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20144 * sysdeps/x86/bits/huge_vall.h: This.
20146 * sysdeps/i386/bits/select.h: Removed.
20147 * sysdeps/x86_64/bits/select.h: Renamed to ...
20148 * sysdeps/x86/bits/select.h: This.
20150 * sysdeps/i386/bits/setjmp.h: Removed.
20151 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20152 * sysdeps/x86/bits/setjmp.h: This.
20154 * sysdeps/i386/bits/mathdef.h: Removed.
20155 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20156 * sysdeps/x86/bits/mathdef.h: This.
20158 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20161 * include/sys/socket.h (__connect_internal)
20162 (__libc_sa_len_internal): Remove declaration.
20163 (__connect, __libc_sa_len): Declare hidden_proto.
20164 (SA_LEN): Remove use of INTUSE.
20165 * socket/connect.c: Add libc_hidden_def.
20166 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20167 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20168 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20170 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20171 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20172 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20173 of adding _internal alias.
20175 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20178 * sysdeps/i386/bits/link.h: Removed.
20179 * sysdeps/i386/bits/linkmap.h: Likewise.
20180 * sysdeps/x86_64/bits/link.h: Renamed to ...
20181 * sysdeps/x86/bits/link.h: This.
20182 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20183 * sysdeps/x86/bits/linkmap.h: This.
20185 * sysdeps/i386/bits/endian.h: Removed.
20186 * sysdeps/x86_64/bits/endian.h: Renamed to ...
20187 * sysdeps/x86/bits/endian.h: This.
20189 * sysdeps/i386/bits/byteswap.h: Removed.
20190 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20191 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20192 * sysdeps/x86/bits/byteswap.h: This.
20193 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20194 * sysdeps/x86/bits/byteswap-16.h: This.
20195 * sysdeps/i386/Implies: Add x86.
20196 * sysdeps/x86_64/Implies: Likewise.
20198 2012-05-30 David S. Miller <davem@davemloft.net>
20200 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20201 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20202 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20203 (FP_TRAPPING_EXCEPTIONS): Define.
20204 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20205 (FP_TRAPPING_EXCEPTIONS): Define.
20206 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20207 subnormals only when inexact has been signalled or underflow
20208 exceptions are enabled.
20209 (_FP_PACK_CANONICAL): Likewise.
20211 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20214 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20215 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20217 2012-05-30 Richard Henderson <rth@twiddle.net>
20219 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20220 with #ifndef NOT_IN_libc.
20222 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
20223 marked to avoid plt entry.
20225 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20228 * Makeconfig (default-abi): New macro.
20229 (abi-includes): Likewise.
20230 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
20231 $(abi-$(default-abi)-lib-soname) for soname if defined.
20232 ($(common-objpfx)gnu/lib-names.stmp): Generate from
20234 * Makefile (installed-stubs): Likewise.
20235 * include/stubs-biarch.h: Removed.
20236 * scripts/lib-names.awk: Only handle one library at a time.
20237 * scripts/soversions.awk: Remove WORDSIZE support.
20238 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20240 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20242 (syscall-list-default-condition): Likewise.
20243 (syscall-list-default-condition): Likewise.
20244 (syscall-list-includes): Likewise.
20245 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20246 syscall-list-* with abi-*. Handle undefined abi-variants.
20247 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20248 * sysdeps/unix/sysv/linux/i386/Implies: New file.
20249 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20250 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20251 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20252 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20254 (syscall-list-32-options): Likewise.
20255 (syscall-list-32-condition): Likewise.
20256 (syscall-list-64-options): Likewise.
20257 (syscall-list-64-condition): Likewise.
20258 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20260 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20263 (abi-64-ld-soname): New macro.
20264 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20265 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20268 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20269 * sysdeps/x86_64/x32/shlib-versions: Likewise.
20271 2012-05-30 Joseph Myers <joseph@codesourcery.com>
20273 * sysdeps/unix/sysv/linux/kernel-features.h
20274 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20275 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20276 include <kernel-features.h>.
20277 [!__NR_ftruncate64]: Remove conditional code.
20278 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20279 [__NR_ftruncate64]: Make code unconditional.
20280 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20281 * sysdeps/unix/sysv/linux/truncate64.c: Do not
20282 include <kernel-features.h>.
20283 [!__NR_ftruncate64]: Remove conditional code.
20284 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20285 [__NR_ftruncate64]: Make code unconditional.
20286 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
20288 include <kernel-features.h>.
20289 [!__NR_ftruncate64]: Remove conditional code.
20290 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20291 [__NR_ftruncate64]: Make code unconditional.
20292 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20293 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20294 include <kernel-features.h>.
20295 [!__NR_ftruncate64]: Remove conditional code.
20296 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20297 [__NR_ftruncate64]: Make code unconditional.
20298 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20300 * configure.in (libc_cv_fpie): Weaken to a compile test using
20301 LIBC_TRY_CC_OPTION.
20302 * configure: Regenerated.
20304 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
20307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20308 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20309 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20311 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20312 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20313 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20314 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20315 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20316 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20319 2012-05-27 David S. Miller <davem@davemloft.net>
20321 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20323 (__Q_simulate_exceptions): Return void. Change to simulate
20324 exceptions by writing into the %fsr.
20325 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20326 (__Qp_handle_exceptions): Likewise.
20328 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20329 __Qp_handle_exceptions.
20330 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20331 __Qp_handle_exceptions.
20332 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20333 as unused and give dummy FP_RND_NEAREST initializer.
20334 (FP_INHIBIT_RESULTS): Define.
20335 (___Q_simulate_exceptions): Update declaration.
20336 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20338 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20339 as unused and give dummy FP_RND_NEAREST initializer.
20340 (__Qp_handle_exceptions): Update declaration.
20341 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20344 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
20346 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20347 the temporary FPU control word.
20348 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20349 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20350 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20351 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20352 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20353 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20354 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20355 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20356 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20357 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20358 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20360 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20362 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20365 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
20367 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20368 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20369 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20370 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20372 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20373 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20376 2012-05-27 Ulrich Drepper <drepper@gmail.com>
20378 * po/h.po: Update from translation team.
20380 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
20382 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20384 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20385 handling of denormals.
20386 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20387 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20388 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20389 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20390 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20391 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20392 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20395 2012-05-26 Marek Polacek <polacek@redhat.com>
20398 * math/libm-test.inc (fma_test): Don't always expect underflow
20401 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20404 * elf/tst-execstack.c: Include stackinfo.h.
20405 (do_test): Adjust test case to ensure that pthread_getattr_np
20406 behaviour remains the same after marking stack executable.
20408 2012-05-25 Joseph Myers <joseph@codesourcery.com>
20410 * sysdeps/unix/sysv/linux/kernel-features.h
20411 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20412 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20414 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20415 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20416 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20418 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20419 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20421 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
20423 * configure.in: Define the default includes to being none.
20424 * configure: Regenerated.
20426 2012-05-25 Roland McGrath <roland@hack.frob.com>
20428 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20429 * sysdeps/x86_64/setjmp.S: Likewise.
20430 * sysdeps/i386/bsd-setjmp.S: Likewise.
20431 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20432 * sysdeps/i386/setjmp.S: Likewise.
20433 * sysdeps/i386/__longjmp.S: Likewise.
20434 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20435 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20437 * include/stap-probe.h: New file.
20438 * configure.in: Handle --enable-systemtap.
20439 * configure: Regenerated.
20440 * config.h.in (USE_STAP_PROBE): New #undef.
20441 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20442 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20443 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20445 2012-05-25 Joseph Myers <joseph@codesourcery.com>
20448 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20449 to 2.4.0 where earlier.
20450 * sysdeps/unix/sysv/linux/configure: Regenerated.
20451 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20452 <kernel-features.h>.
20453 [__ASSUME_32BITUIDS]: Make code unconditional.
20454 [!__ASSUME_32BITUIDS]: Remove conditional code.
20455 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20456 <kernel-features.h>.
20457 [__ASSUME_32BITUIDS]: Make code unconditional.
20458 [!__ASSUME_32BITUIDS]: Remove conditional code.
20459 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20460 [__ASSUME_32BITUIDS]: Make code unconditional.
20461 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20462 * sysdeps/unix/sysv/linux/i386/getegid.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/i386/geteuid.c: Do not include
20467 <kernel-features.h>.
20468 [__ASSUME_32BITUIDS]: Make code unconditional.
20469 [!__ASSUME_32BITUIDS]: Remove conditional code.
20470 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
20471 <kernel-features.h>.
20472 [__ASSUME_32BITUIDS]: Make code unconditional.
20473 [!__ASSUME_32BITUIDS]: Remove conditional code.
20474 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20475 <kernel-features.h>.
20476 [__ASSUME_32BITUIDS]: Make code unconditional.
20477 [!__ASSUME_32BITUIDS]: Remove conditional code.
20478 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20479 <kernel-features.h>.
20480 [__ASSUME_32BITUIDS]: Make code unconditional.
20481 [!__ASSUME_32BITUIDS]: Remove conditional code.
20482 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20483 <kernel-features.h>.
20484 [__ASSUME_32BITUIDS]: Make code unconditional.
20485 [!__ASSUME_32BITUIDS]: Remove conditional code.
20486 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20487 <kernel-features.h>.
20488 [__ASSUME_32BITUIDS]: Make code unconditional.
20489 [!__ASSUME_32BITUIDS]: Remove conditional code.
20490 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20491 <kernel-features.h>.
20492 [__ASSUME_32BITUIDS]: Make code unconditional.
20493 [!__ASSUME_32BITUIDS]: Remove conditional code.
20494 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20495 <kernel-features.h>.
20496 [__ASSUME_32BITUIDS]: Make code unconditional.
20497 [!__ASSUME_32BITUIDS]: Remove conditional code.
20498 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20499 <kernel-features.h>.
20500 [__ASSUME_32BITUIDS]: Make code unconditional.
20501 [!__ASSUME_32BITUIDS]: Remove conditional code.
20502 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20503 <kernel-features.h>.
20504 [__NR_setresgid] (__setresgid): Do not declare.
20505 [__ASSUME_32BITUIDS]: Make code unconditional.
20506 [!__ASSUME_32BITUIDS]: Remove conditional code.
20507 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20508 <kernel-features.h>.
20509 [__NR_setresuid] (__setresuid): Do not declare.
20510 [__ASSUME_32BITUIDS]: Make code unconditional.
20511 [!__ASSUME_32BITUIDS]: Remove conditional code.
20512 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20513 <kernel-features.h>.
20514 [__ASSUME_32BITUIDS]: Make code unconditional.
20515 [!__ASSUME_32BITUIDS]: Remove conditional code.
20516 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20517 <kernel-features.h>.
20518 [__ASSUME_32BITUIDS]: Make code unconditional.
20519 [!__ASSUME_32BITUIDS]: Remove conditional code.
20520 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20521 <kernel-features.h>.
20522 [__ASSUME_32BITUIDS]: Make code unconditional.
20523 [!__ASSUME_32BITUIDS]: Remove conditional code.
20524 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20525 <kernel-features.h>.
20526 [__ASSUME_32BITUIDS]: Make code unconditional.
20527 [!__ASSUME_32BITUIDS]: Remove conditional code.
20528 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20529 <kernel-features.h>.
20530 [__ASSUME_32BITUIDS]: Make code unconditional.
20531 [!__ASSUME_32BITUIDS]: Remove conditional code.
20532 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20533 <kernel-features.h>.
20534 [__ASSUME_32BITUIDS]: Make code unconditional.
20535 [!__ASSUME_32BITUIDS]: Remove conditional code.
20536 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20537 <kernel-features.h>.
20538 [__ASSUME_32BITUIDS]: Make code unconditional.
20539 [!__ASSUME_32BITUIDS]: Remove conditional code.
20540 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20541 <kernel-features.h>.
20542 [__ASSUME_32BITUIDS]: Make code unconditional.
20543 [!__ASSUME_32BITUIDS]: Remove conditional code.
20544 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20545 <kernel-features.h>.
20546 [__ASSUME_32BITUIDS]: Make code unconditional.
20547 [!__ASSUME_32BITUIDS]: Remove conditional code.
20548 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20549 <kernel-features.h>.
20550 [__ASSUME_32BITUIDS]: Make code unconditional.
20551 [!__ASSUME_32BITUIDS]: Remove conditional code.
20552 * sysdeps/unix/sysv/linux/kernel-features.h
20553 (__ASSUME_SETRESUID_SYSCALL): Remove.
20554 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20555 (__ASSUME_32BITUIDS): Likewise.
20556 (__ASSUME_LDT_WORKS): Likewise.
20557 (__ASSUME_O_DIRECTORY): Likewise.
20558 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20559 architecture but not kernel version.
20560 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20561 (__ASSUME_MMAP2_SYSCALL): Likewise.
20562 (__ASSUME_STAT64_SYSCALL): Likewise.
20563 (__ASSUME_IPC64): Likewise.
20564 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20565 <kernel-features.h>.
20566 [__ASSUME_32BITUIDS]: Make code unconditional.
20567 [!__ASSUME_32BITUIDS]: Remove conditional code.
20568 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20569 <kernel-features.h>.
20570 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20571 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20572 132096]: Remove conditional code.
20573 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20574 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20575 <kernel-features.h>.
20576 [__ASSUME_32BITUIDS]: Make code unconditional.
20577 [!__ASSUME_32BITUIDS]: Remove conditional code.
20578 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20579 <kernel-features.h>.
20580 [__ASSUME_32BITUIDS]: Make code unconditional.
20581 [!__ASSUME_32BITUIDS]: Remove conditional code.
20582 * sysdeps/unix/sysv/linux/setegid.c: Do not include
20583 <kernel-features.h>.
20584 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20586 (__setresgid): Do not declare.
20587 [__ASSUME_32BITUIDS]: Make code unconditional.
20588 [!__ASSUME_32BITUIDS]: Remove conditional code.
20589 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20590 <kernel-features.h>.
20591 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20593 (__setresuid): Do not declare.
20594 [__ASSUME_32BITUIDS]: Make code unconditional.
20595 [!__ASSUME_32BITUIDS]: Remove conditional code.
20596 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20597 <kernel-features.h>.
20598 [__ASSUME_32BITUIDS]: Make code unconditional.
20599 [!__ASSUME_32BITUIDS]: Remove conditional code.
20600 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20601 <kernel-features.h>.
20602 [__ASSUME_32BITUIDS]: Make code unconditional.
20603 [!__ASSUME_32BITUIDS]: Remove conditional code.
20605 2012-05-25 Richard Henderson <rth@twiddle.net>
20607 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20608 dl_hwcap to ifunc resolver.
20609 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20611 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20612 dl_hwcap to ifunc resolver.
20613 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20615 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20618 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20619 for |x| <= 2**-26, not 2**-57.
20620 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20623 2012-05-24 Jeff Law <law@redhat.com>
20625 * stdio-common/Makefile (tests): Add bug25.
20626 * stdio-common/bug25.c: New test.
20628 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20631 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20632 multiple of MALLOC_ALIGNMENT in size.
20633 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20635 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20637 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20639 (FILENAME_MAX): Use macro-int-constant.
20640 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20641 (_IOFBF): Use macro-int-constant.
20642 (_IOLBF): Likewise.
20643 (_IONBF): Likewise.
20644 (SEEK_CUR): Likewise.
20645 (SEEK_END): Likewise.
20646 (SEEK_SET): Likewise.
20647 (TMP_MAX): Likewise.
20648 (EOF): Use macro-int-constant. Require < 0.
20649 (NULL): Use macro-constant. Require == 0.
20650 (stdin): Require type to be FILE *.
20651 (stdout): Likewise.
20652 (stderr): Likewise.
20653 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20654 macro-int-constant.
20655 (EXIT_SUCCESS): Likewise.
20656 (NULL): Use macro-constant. Require == 0.
20657 (RAND_MAX): Use macro-int-constant.
20658 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20659 [C99-based standards] (strtof): Require function.
20660 [C99-based standards] (strtold): Likewise.
20661 [C99-based standards] (strtoll): Likewise.
20662 [C99-based standards] (strtoull): Likewise.
20663 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20664 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20665 [ISO || ISO99 || ISO11] (math.h): Likewise.
20666 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20667 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20668 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20670 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20673 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20674 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20675 * intl/dgettext.c (DCGETTEXT): Likewise.
20676 * intl/gettext.c (DCGETTEXT): Likewise.
20677 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20678 * posix/regex_internal.h (gettext): Likewise.
20679 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20680 Remove declaration.
20681 * include/argz.h (__argz_count_internal)
20682 (__argz_stringify_internal): Remove declaration.
20683 (__argz_count, __argz_stringify): Declare hidden proto.
20684 * intl/dcgettext.c: Remove use of INTDEF.
20685 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20686 * string/argz-stringify.c: Likewise.
20687 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20688 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20689 Declare hidden proto.
20690 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20691 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20692 Declare hidden proto.
20693 * include/stdio.h (__asprintf_internal): Don't declare.
20694 (__asprintf): Don't define as macro. Declare hidden proto.
20695 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20696 (__fsetlocking): Declare hidden proto.
20697 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20698 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20700 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20701 (_IO_setlinebuf): Remove use of INTUSE.
20702 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20703 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20704 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20705 Remove declaration.
20706 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20707 (_IO_do_flush): Remove use of INTUSE.
20708 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20709 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20710 (_IO_adjust_column, _IO_least_wmarker)
20711 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20712 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20713 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20714 (_IO_default_doallocate, _IO_wdefault_doallocate)
20715 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20716 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20717 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20718 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20719 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20720 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20721 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20722 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20723 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20724 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20725 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20726 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20727 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20729 (_IO_flush_all_internal, _IO_adjust_column_internal)
20730 (_IO_default_uflow_internal, _IO_default_finish_internal)
20731 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20732 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20733 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20734 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20735 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20736 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20737 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20738 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20739 (_IO_file_close_internal, _IO_file_close_it_internal)
20740 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20741 (_IO_file_init_internal, _IO_file_attach_internal)
20742 (_IO_file_fopen_internal, _IO_file_read_internal)
20743 (_IO_file_sync_internal, _IO_file_seek_internal)
20744 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20745 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20746 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20747 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20748 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20749 (_IO_list_all_internal, _IO_link_in_internal)
20750 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20751 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20752 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20753 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20754 (_IO_do_write_internal, _IO_padn_internal)
20755 (_IO_getline_info_internal, _IO_getline_internal)
20756 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20757 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20758 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20759 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20760 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20761 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20762 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20763 with libc_hidden_ver, remove use of INTUSE.
20764 * libio/genops.c: Likewise.
20765 * libio/freopen.c: Likewise.
20766 * libio/freopen64.c: Likewise.
20767 * libio/iofclose.c: Likewise.
20768 * libio/iofdopen.c: Likewise.
20769 * libio/iofflush.c: Likewise.
20770 * libio/iofflush_u.c: Likewise.
20771 * libio/iofgets.c: Likewise.
20772 * libio/iofgets_u.c: Likewise.
20773 * libio/iofopen.c: Likewise.
20774 * libio/iofopncook.c: Likewise.
20775 * libio/iofread.c: Likewise.
20776 * libio/iofread_u.c: Likewise.
20777 * libio/ioftell.c: Likewise.
20778 * libio/iofwrite.c: Likewise.
20779 * libio/iogetline.c: Likewise.
20780 * libio/iogets.c: Likewise.
20781 * libio/iogetwline.c: Likewise.
20782 * libio/iopadn.c: Likewise.
20783 * libio/iopopen.c: Likewise.
20784 * libio/ioseekoff.c: Likewise.
20785 * libio/ioseekpos.c: Likewise.
20786 * libio/iosetbuffer.c: Likewise.
20787 * libio/iosetvbuf.c: Likewise.
20788 * libio/ioungetc.c: Likewise.
20789 * libio/ioungetwc.c: Likewise.
20790 * libio/iovdprintf.c: Likewise.
20791 * libio/iovsprintf.c: Likewise.
20792 * libio/iovsscanf.c: Likewise.
20793 * libio/memstream.c: Likewise.
20794 * libio/obprintf.c: Likewise.
20795 * libio/oldfileops.c: Likewise.
20796 * libio/oldiofclose.c: Likewise.
20797 * libio/oldiofdopen.c: Likewise.
20798 * libio/oldiofopen.c: Likewise.
20799 * libio/oldiopopen.c: Likewise.
20800 * libio/oldstdfiles.c: Likewise.
20801 * libio/putc.c: Likewise.
20802 * libio/setbuf.c: Likewise.
20803 * libio/setlinebuf.c: Likewise.
20804 * libio/stdfiles.c: Likewise.
20805 * libio/strops.c: Likewise.
20806 * libio/vasprintf.c: Likewise.
20807 * libio/vscanf.c: Likewise.
20808 * libio/vsnprintf.c: Likewise.
20809 * libio/vswprintf.c: Likewise.
20810 * libio/wfiledoalloc.c: Likewise.
20811 * libio/wfileops.c: Likewise.
20812 * libio/wgenops.c: Likewise.
20813 * libio/wmemstream.c: Likewise.
20814 * libio/wstrops.c: Likewise.
20815 * libio/__fpurge.c: Likewise.
20816 * libio/__fsetlocking.c: Likewise.
20817 * assert/assert.c: Likewise.
20818 * debug/fgets_chk.c: Likewise.
20819 * debug/fgets_u_chk.c: Likewise.
20820 * debug/fread_chk.c: Likewise.
20821 * debug/fread_u_chk.c: Likewise.
20822 * debug/gets_chk.c: Likewise.
20823 * debug/obprintf_chk.c: Likewise.
20824 * debug/vasprintf_chk.c: Likewise.
20825 * debug/vdprintf_chk.c: Likewise.
20826 * debug/vsnprintf_chk.c: Likewise.
20827 * debug/vsprintf_chk.c: Likewise.
20828 * malloc/mtrace.c: Likewise.
20829 * misc/error.c: Likewise.
20830 * misc/syslog.c: Likewise.
20831 * stdio-common/asprintf.c: Likewise.
20832 * stdio-common/fxprintf.c: Likewise.
20833 * stdio-common/getw.c: Likewise.
20834 * stdio-common/isoc99_fscanf.c: Likewise.
20835 * stdio-common/isoc99_scanf.c: Likewise.
20836 * stdio-common/isoc99_vfscanf.c: Likewise.
20837 * stdio-common/isoc99_vscanf.c: Likewise.
20838 * stdio-common/isoc99_vsscanf.c: Likewise.
20839 * stdio-common/printf-prs.c: Likewise.
20840 * stdio-common/printf_fp.c: Likewise.
20841 * stdio-common/printf_fphex.c: Likewise.
20842 * stdio-common/printf_size.c: Likewise.
20843 * stdio-common/putw.c: Likewise.
20844 * stdio-common/scanf.c: Likewise.
20845 * stdio-common/sprintf.c: Likewise.
20846 * stdio-common/tmpfile.c: Likewise.
20847 * stdio-common/vfprintf.c: Likewise.
20848 * stdio-common/vfscanf.c: Likewise.
20849 * stdlib/strfmon_l.c: Likewise.
20850 * sunrpc/openchild.c: Likewise.
20851 * sunrpc/xdr_stdio.c: Likewise.
20852 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20853 * sysdeps/mach/hurd/tmpfile.c: Likewise.
20855 2012-05-24 Roland McGrath <roland@hack.frob.com>
20857 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20859 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20860 in the third column, to generate for the shared library an IFUNC
20861 that uses _dl_vdso_vsym.
20862 * Makerules (COMPILE.c, compile-stdin.c): New variables.
20863 * Makeconfig (object-suffixes-noshared): New variable.
20865 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20866 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20867 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20868 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20871 * include/sys/time.h (__gettimeofday): Remove macro.
20872 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20873 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20875 (__gettimeofday): Add libc_hidden_def.
20876 (gettimeofday): Add libc_hidden_weak.
20877 * sysdeps/mach/gettimeofday.c: Likewise.
20878 * sysdeps/posix/gettimeofday.c: Likewise.
20879 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20880 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20881 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20882 (__gettimeofday_internal): Remove strong_alias.
20883 (__gettimeofday): Add libc_hidden_def.
20884 (gettimeofday): Add libc_hidden_weak.
20885 * sysdeps/unix/syscalls.list (gettimeofday):
20886 Remove __gettimeofday_internal alias.
20888 2012-05-24 Daniel Jacobowitz <drow@false.org>
20889 H.J. Lu <hongjiu.lu@intel.com>
20892 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20893 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20894 (largebin_index_32_big): New.
20895 (largebin_index): Use it for 16-byte alignment.
20896 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20897 correction with front_misalign.
20899 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20904 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20906 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20910 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20912 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20916 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20918 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20920 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20922 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20924 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20927 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20928 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20930 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20934 * math/libm-test.inc (exp_test): Add test from bug 14036.
20935 (pow_test): Add test from bug 10846.
20937 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20939 (special_function): Do not include flags in test name.
20940 (parse_args): Likewise.
20941 * sysdeps/i386/fpu/libm-test-ulps: Update.
20942 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20943 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20944 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20947 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20949 * math/libm-test.inc ("Philosophy"): Update comment about
20951 (UNDERFLOW_EXCEPTION): New macro.
20952 (UNDERFLOW_EXCEPTION_OK): Likewise.
20953 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20954 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20955 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20956 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20957 (INVALID_EXCEPTION_OK): Update value.
20958 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20959 (OVERFLOW_EXCEPTION_OK): Likewise.
20960 (IGNORE_ZERO_INF_SIGN): Likewise.
20961 (test_exceptions): Handle underflow exceptions.
20962 (acos_test): Update for underflow exception expectations.
20963 (cexp_test): Likewise.
20964 (clog_test): Likewise.
20965 (clog10_test): Likewise.
20966 (csqrt_test): Likewise.
20967 (ctan_test): Likewise.
20968 (ctanh_test): Likewise.
20969 (exp_test): Likewise.
20970 (exp10_test): Likewise.
20971 (exp2_test): Likewise.
20972 (expm1_test): Likewise.
20973 (fma_test): Likewise.
20974 (j0_test): Likewise.
20975 (jn_test): Likewise.
20976 (nexttoward_test): Likewise.
20977 (pow_test): Likewise.
20978 (scalbn_test): Likewise.
20979 (scalbln_test): Likewise.
20980 (tan_test): Likewise.
20981 (y1_test): Likewise.
20982 * sysdeps/i386/fpu/libm-test-ulps: Update.
20983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20985 2012-05-23 David S. Miller <davem@davemloft.net>
20987 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
20988 (__libc_sigaction): Remove unused local variables.
20990 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
20992 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
20994 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
20996 mktime: avoid signed integer overflow
20997 * time/mktime.c (__mktime_internal): Do not mishandle the case
20998 where diff == INT_MIN.
21000 mktime: simplify computation of average
21001 * time/mktime.c (ranged_convert): Use new time_t_avg function
21002 instead of rolling our own (probably-slower) code.
21004 mktime: do not assume signed right shift propagates sign bit
21005 * time/mktime.c (isdst_differ): New static function.
21006 (__mktime_internal): No need to normalize tm_isdst now.
21007 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21010 mktime: merge another wrapv change from gnulib
21011 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21012 from some compilers.
21014 mktime: remove incorrect attempt at unusual arithmetics
21015 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21016 The code didn't really work on such machines anyway.
21017 (TYPE_MINIMUM): Assume two's complement.
21018 (twos_complement_arithmetic): Verify that long_int and time_t
21019 are two's complement (or unsigned, in the latter case).
21021 mktime: check signed shifts on long_int and time_t, too
21022 * time/mktime.c (SHR): Check that shifts work as desired
21023 on the types long_int and time_t too, as SHR is used on
21026 mktime: do not assume 'long' is wide enough
21027 * time/mktime.c (verify): Move decl up.
21028 (long_int): New type.
21029 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21030 to remove assumption in the code that 'long' is wide enough to
21031 store year values. This assumption is not true on x32 and on
21032 some non-glibc platforms.
21034 mktime: merge wrapv change from gnulib
21035 * time/mktime.c (WRAPV): New macro.
21036 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21037 (guess_time_tm, __mktime_internal): Do not assume that signed
21038 integer overflow wraps around; modern compilers generate code
21039 where this assumption is no longer valid.
21041 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21043 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21044 Replace "jmp L(pseudo_end)" with "ret".
21045 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21048 2012-05-23 Andreas Jaeger <aj@suse.de>
21050 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21051 * sysdeps/unix/sysv/linux/poll.c: Remove file.
21053 2012-05-23 Andreas Jaeger <aj@suse.de>
21054 Maximilian Attems <max@stro.at>
21056 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21059 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21061 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21062 code so that pseudo_end is just ret and the stack pointer is
21063 correct also for static library in error case.
21065 2012-05-23 Joseph Myers <joseph@codesourcery.com>
21067 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21068 move to syscalls.list.
21069 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21074 * manual/install.texi (Running make install): Do not mention Linux
21075 kernel version for which pt_chown is not needed.
21076 (Linux): Do not mention problems with nscd with 2.0 kernels.
21077 * INSTALL: Regenerated.
21079 2012-05-23 Andreas Jaeger <aj@suse.de>
21081 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21082 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21084 * sysdeps/unix/sysv/linux/s390/bits/mman.h
21085 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21086 * sysdeps/unix/sysv/linux/sh/bits/mman.h
21087 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21088 * sysdeps/unix/sysv/linux/i386/bits/mman.h
21089 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21090 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21091 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21092 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21093 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21094 * sysdeps/unix/sysv/linux/bits/in.h
21095 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21097 2012-05-22 Roland McGrath <roland@hack.frob.com>
21099 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21100 (PREPARE_VERSION): Just use assert instead, it will be elided
21101 under [NDEBUG] anyway.
21103 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21105 * sysdeps/unix/sysv/linux/Makefile: Include
21106 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
21107 (sysdep_routines): Remove sysctl.
21108 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21109 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21110 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21111 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21112 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21114 2012-05-22 Andreas Jaeger <aj@suse.de>
21116 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21117 that pseudo_end is just ret and the stack pointer is correct also
21118 for static library in error case.
21120 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21123 * nss/nsswitch.c (defconfig_entries): New variable.
21124 (__nss_database_lookup): Don't leak defconfig entries.
21125 (nss_parse_service_list): Don't leak on error paths.
21126 (free_database_entries): New function.
21127 (free_defconfig): New function.
21128 (free_mem): Move common code to free_database_entries.
21130 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21132 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21134 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21136 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21137 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21138 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21140 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21141 (INTERNAL_SYSCALL_TYPES): Likewise.
21142 (LOAD_ARGS_TYPES_[1-6]): Likewise.
21143 (LOAD_REGS_TYPES_[1-6]): Likewise.
21144 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21145 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21147 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21149 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21150 copysignl for GLIBC_2_0.
21151 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21152 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21153 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21154 logbl for GLIBC_2_0.
21155 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21156 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21158 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21160 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21161 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21163 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21166 * time/mktime.c: Update copyright years.
21168 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
21170 mktime: merge comment-quoting-style change from gnulib
21171 * time/mktime.c: Quote 'like this' in comments.
21172 The GNU coding standards suggest that we no longer quote `like this',
21173 as "`" and "'" are typically rendered asymmetrically nowadays.
21174 The typical gnulib style is to quote 'like this' when quoting
21175 code, and "like this" when quoting English.
21177 * time/mktime.c (compile-command): Add "-I.".
21179 mktime: merge mktime-internal.h change from gnulib
21180 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21182 mktime: merge time_r change from gnulib
21183 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21185 mktime: merge DEBUG change from gnulib
21186 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21187 case system <time.h> has a #define.
21189 mktime: merge <sys/types.h> change from gnulib
21190 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21191 since <time.t> is now guaranteed to define time_t.
21193 mktime: merge HAVE_CONFIG_H change from gnulib
21194 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21196 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21198 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21201 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21203 (struct rusage): Use anonymous union to pad each field to
21206 2012-05-21 David S. Miller <davem@davemloft.net>
21208 * Makefules (o-iterator): Remove .s cases.
21209 (compile-command.s): Delete.
21210 (COMPILE.s): Delete.
21211 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21213 2012-05-21 Joseph Myers <joseph@codesourcery.com>
21215 * configure.in (libc_cv_predef_stack_protector): Only consider
21216 "foobar" and "__stack_chk_fail" lines in libc_undefs.
21217 * configure: Regenerated.
21219 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21221 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21222 New macro. Use R*LP on int and pointer.
21223 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
21224 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21225 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
21226 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21228 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21229 [__WORDSIZE_TIME64_COMPAT32] instead of
21230 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21231 (struct utmp): Likewise.
21232 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21233 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21235 (__WORDSIZE_TIME64_COMPAT32): This.
21236 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21237 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21238 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21239 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21240 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21241 (__WORDSIZE_TIME64_COMPAT32): New macro.
21243 2012-05-21 Andreas Jaeger <aj@suse.de>
21245 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21246 only if [SHARED]. Add prototype for __wcschr_ia32.
21248 2012-05-21 Roland McGrath <roland@hack.frob.com>
21250 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21251 of %rbp unmolested in the jmp_buf while mangling the low bits.
21252 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21253 unmolested high bits of %rbp while demangling the low bits.
21254 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21256 2012-05-21 Andreas Jaeger <aj@suse.de>
21258 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21259 * sunrpc/svc_simple.c: Use it for registerrpc.
21260 * sunrpc/xcrypt.c: Use it for passwd2des.
21262 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21264 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21266 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21267 Don't define if [__SYSCALL_WORDSIZE != 32].
21268 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21271 2012-05-21 Bruno Haible <bruno@clisp.org>
21272 Andreas Jaeger <aj@suse.de>
21274 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21275 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21276 inptr and inend for must_buffer_ch.
21277 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21278 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
21279 * stdio-common/Makefile (tests): Remove bug15.
21280 (bug15-ENV): Remove macro.
21281 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
21284 2012-05-19 Andreas Jaeger <aj@suse.de>
21285 Roland McGrath <roland@hack.frob.com>
21287 * manual/contrib.texi: Completely rewritten. It contains now an
21288 alphabetical list of contributors and their contributions.
21290 2012-05-21 Richard Henderson <rth@twiddle.net>
21292 * misc/getauxval.c (__getauxval): Use unsigned long int.
21293 * misc/sys/auxv.h: Include <sys/cdefs.h>.
21294 (getauxval): Use unsigned long int.
21296 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21298 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21300 2012-05-21 Roland McGrath <roland@hack.frob.com>
21302 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
21303 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
21304 __alignof__ (long double).
21306 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21310 2012-05-20 Richard Henderson <rth@twiddle.net>
21312 * misc/getauxval.c: New file.
21313 * misc/sys/auxv.h: New file.
21314 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21315 (routines): Add getauxval.
21316 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21317 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21318 * elf/dl-sysdep.c (_dl_auxv): Remove.
21319 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21320 * elf/dl-support.c (_dl_auxv): New variable.
21321 (_dl_aux_init): Initialize it.
21322 * manual/startup.texi (Auxiliary Vector): New node.
21323 * sysdeps/generic/bits/hwcap.h: New file.
21324 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21325 * sysdeps/powerpc/sysdep.h: ... here. Include it.
21326 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21327 * sysdeps/sparc/sysdep.h: ... here. Include it.
21328 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21329 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
21330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21333 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21334 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21335 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21336 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21337 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21338 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21339 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21341 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21343 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21345 2012-05-19 David S. Miller <davem@davemloft.net>
21347 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21349 2012-05-19 Joseph Myers <joseph@codesourcery.com>
21352 * math/s_ccosh.c: Include <float.h>
21353 (__ccosh): Avoid internal overflow calculating sinh and cosh
21354 values before multiplying by sin and cos values.
21355 * math/s_ccoshf.c: Likewise.
21356 * math/s_ccoshl.c: Likewise.
21357 * math/s_csin.c: Likewise.
21358 * math/s_csinf.c: Likewise.
21359 * math/s_csinl.c: Likewise.
21360 * math/s_csinh.c: Likewise.
21361 * math/s_csinhf.c: Likewise.
21362 * math/s_csinhl.c: Likewise.
21363 * math/libm-test.inc (ccos_test): Add more tests.
21364 (ccosh_test): Likewise.
21365 (csin_test): Likewise.
21366 (csinh_test): Likewise.
21367 * sysdeps/i386/fpu/libm-test-ulps: Update.
21368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21370 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
21372 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21373 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21375 * sysdeps/x86_64/x32/_itoa.h: Add comment.
21377 2012-05-19 Joseph Myers <joseph@codesourcery.com>
21379 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21380 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21381 * sysdeps/powerpc/soft-fp/Versions: Likewise.
21382 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21383 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21384 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21385 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21386 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21387 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21388 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21389 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21390 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21391 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21392 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21393 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21394 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21395 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21396 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21397 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21398 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21399 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21400 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21401 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21402 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21403 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21404 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21405 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21406 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21407 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21408 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21409 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21411 2012-05-18 Andreas Jaeger <aj@suse.de>
21413 * csu/.gitignore: Delete.
21415 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21417 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21418 (timex): Use __syscall_slong_t.
21420 2012-05-18 Andreas Jaeger <aj@suse.de>
21421 Carlos O'Donell <carlos_odonell@mentor.com>
21423 * manual/install.texi (Configuring and compiling): Update
21424 description about files modified in the source directory.
21425 * INSTALL: Regenerated.
21427 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21429 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21430 value. Use "or" to set return value to -1.
21431 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21432 negate return value.
21434 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21436 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21437 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21438 failure if the compiler has Graphite support disabled.
21439 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21441 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21442 CFLAGS-memmove.c): Likewise.
21443 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21446 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21448 * sysdeps/x86_64/x32/_itoa.h: New file.
21450 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21451 getdents system call only if kernel and user dirents have the
21452 same d_ino and d_off.
21454 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21455 LLONG_MAX != LONG_MAX.
21456 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21457 (_fitoa_word): Likewise.
21459 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21461 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21462 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21463 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21465 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21466 include <bits/wordsize.h>. Check __x86_64__ instead of
21468 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21469 if __x86_64__ is defined. Use anonymous union on fpstate.
21471 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21474 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21476 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21477 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21478 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21479 Refer to _rtld_local_ro instead of _rtld_global_ro.
21480 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21482 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21484 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21486 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21487 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21488 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21490 * sysdeps/powerpc/powerpc32/dl-machine.c
21491 (__elf_machine_runtime_setup) [PROF]: Don't reference
21494 2012-05-18 Andreas Jaeger <aj@suse.de>
21496 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21497 function only available for GCCs before 3.4 since GCC 3.4
21498 introduced a builtin.
21500 (llrintf): Likewise.
21501 (llrint): Likewise.
21508 (nearbyint): Likewise.
21509 (nearbyintf): Likewise.
21513 (floorf): Likewise.
21515 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21517 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21518 on both fields and cast pointer to __syscall_ulong_t.
21520 * bits/types.h (__fsword_t): New type.
21521 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21522 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21523 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21524 (__FSWORD_T_TYPE): Likewise.
21525 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21526 (__FSWORD_T_TYPE): Likewise.
21527 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21528 (__FSWORD_T_TYPE): Likewise.
21529 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21530 (__FSWORD_T_TYPE): Likewise.
21531 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21532 __SWORD_TYPE with __fsword_t.
21533 (statfs64): Likewise.
21535 2012-05-17 David S. Miller <davem@davemloft.net>
21537 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21539 2012-05-17 Andreas Jaeger <aj@suse.de>
21541 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21544 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21546 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21548 2012-05-17 Andreas Jaeger <aj@suse.de>
21550 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21553 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21555 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21557 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21559 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21560 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21562 2012-05-17 Andreas Jaeger <aj@suse.de>
21563 Carlos O'Donell <carlos_odonell@mentor.com>
21566 * sysdeps/x86_64/multiarch/init-arch.h
21567 (bit_YMM_Usable): Rename to...
21568 (bit_AVX_Usable): ... this.
21569 (bit_FMA4_Usable): New macro.
21570 (bit_XMM_state): New macro.
21571 (bit_YMM_state): New macro.
21572 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21573 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21574 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21575 (CPUID_OSXSAVE): New macro.
21576 (CPUID_AVX): New macro.
21577 (CPUID_FMA4): New macro.
21578 (index_YMM_Usable): Rename to...
21579 (index_AVX_Usable): ... this.
21580 (HAS_AVX): Use HAS_ARCH_FEATURE.
21581 (HAS_FMA4): Likewise.
21582 (HAS_YMM_USABLE): Remove.
21583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21584 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21586 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21587 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21588 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21589 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21590 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21592 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21594 * math/libm-test.c: Support platforms without multiple rounding modes.
21595 * math/bug-nextafter.c: Support platforms without FP exceptions.
21596 * math/bug-nexttoward.c: Likewise.
21597 * math/test-fenv.c: Likewise.
21598 * math/test-misc.c: Likewise.
21599 * stdlib/bug-getcontext.c: Likewise.
21601 2012-05-17 Andreas Jaeger <aj@suse.de>
21603 * manual/examples/search.c (critter_cmp): Change signature to
21605 * manual/string.texi (Collation Functions): Likewise.
21607 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21609 * bits/types.h: Fold copyright years.
21610 * bits/typesizes.h: Likewise.
21611 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21612 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21613 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21614 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21615 * time/time.h: Likewise.
21617 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21620 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21621 in instead of returning them. Return void.
21622 (__libc_mallinfo): Accumulate over all arenas.
21623 (__malloc_stats): Adjust for change in int_mallinfo interface.
21625 2012-05-16 Roland McGrath <roland@hack.frob.com>
21628 * configure.in (NM): Add AC_CHECK_TOOL for it.
21629 (libc_extra_cflags): New substituted variable.
21630 Check for -fstack-protector being used implicitly.
21631 * configure: Regenerated.
21632 * config.make.in (config-extra-cflags): New variable,
21633 gets @libc_extra_cflags@.
21634 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21637 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21638 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21639 * configure: Regenerated.
21640 * config.make.in (CPPUNDEFS): New substituted variable.
21641 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21642 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21643 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21645 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21647 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21648 (mq_attr): Use __syscall_slong_t.
21650 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21652 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21653 Check __x86_64__ instead of __WORDSIZE.
21654 (_STAT_VER_LINUX): Likewise.
21655 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21656 __syscall_ulong_t and __syscall_slong_t.
21657 (stat64): Likewise.
21659 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21661 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21663 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21665 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21667 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21669 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21672 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21673 include <bits/wordsize.h>. Check __x86_64__ instead of
21675 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21677 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21679 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21680 include <bits/wordsize.h>. Check __x86_64__ instead of
21682 (user_regs_struct): Use "__extension__ unsigned long long"
21683 instead of "unsigned long" if __x86_64__ is defined.
21684 (user): Likewise. Pad after pointer field if __ILP32__ is
21687 2012-05-16 Joseph Myers <joseph@codesourcery.com>
21689 * configure.in (makeinfo): Require version 4.5 or later. Allow
21691 * configure: Regenerated.
21692 * manual/install.texi (texinfo): Increase version requirement to
21694 * INSTALL: Regenerated.
21696 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21698 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21700 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21702 * sysdeps/x86_64/x32/ffs.c: New file.
21704 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21706 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21707 defined. Use __syscall_ulong_t.
21708 (shminfo): Use __syscall_ulong_t.
21709 (shm_info): Likewise.
21711 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21714 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21716 (msgqnum_t): Use __syscall_ulong_t.
21717 (msglen_t): Likewise.
21718 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21721 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21722 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21724 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21726 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21727 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21729 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21732 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21733 include <bits/wordsize.h>. Check __x86_64__ instead of
21736 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21737 "unsigned long long int" if __x86_64__ is defined.
21738 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21740 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21741 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21742 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21744 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21746 (GET_PC): Cast to uintptr_t first.
21747 (GET_FRAME): Likewise.
21748 (GET_STACK): Likewise.
21750 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21751 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21752 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21753 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21754 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21755 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21756 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21757 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21758 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21759 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21760 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21761 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21762 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21763 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21764 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21765 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21766 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21767 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21768 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21769 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21770 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21771 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21772 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21773 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21774 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21775 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21776 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21777 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21778 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21780 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21782 * Makerules (+depfiles): Also collect depfiles from .oS in
21784 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21785 .oS, $(libnldbl-routines)).
21787 * Makerules (native-compile-mkdep-flags): Define.
21788 * sunrpc/Makefile (extra-objs): Add $(addprefix
21789 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21790 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21791 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
21792 calling $(make-target-directory).
21794 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21796 * bits/types.h (__snseconds_t): Removed.
21797 * time/time.h (struct timespec): Replace __snseconds_t with
21799 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21800 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21802 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21803 (__SNSECONDS_T_TYPE): Likewise.
21804 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21805 (__SNSECONDS_T_TYPE): Likewise.
21806 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21807 (__SNSECONDS_T_TYPE): Likewise.
21809 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21811 * sysdeps/mach/hurd/bits/typesizes.h
21812 (__SYSCALL_SLONG_TYPE): New macro.
21813 (__SYSCALL_ULONG_TYPE): Likewise.
21815 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21817 * bits/types.h (__syscall_slong_t): New type.
21818 (__syscall_ulong_t): Likewise.
21820 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21821 (__SYSCALL_ULONG_TYPE): Likewise.
21822 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21823 (__SYSCALL_SLONG_TYPE): Likewise.
21824 (__SYSCALL_ULONG_TYPE): Likewise.
21825 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21826 (__SYSCALL_SLONG_TYPE): Likewise.
21827 (__SYSCALL_ULONG_TYPE): Likewise.
21828 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21829 (__SYSCALL_SLONG_TYPE): Likewise.
21830 (__SYSCALL_ULONG_TYPE): Likewise.
21832 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21834 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21835 Add sigaltstack-offsets.sym.
21836 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21837 <sigaltstack-offsets.h>.
21838 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
21839 longjmp_msg pointer.
21840 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
21841 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21843 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21845 2012-05-15 Joseph Myers <joseph@codesourcery.com>
21847 * elf/stackguard-macros.h: Remove file.
21848 * sysdeps/generic/stackguard-macros.h: New file.
21849 * sysdeps/i386/stackguard-macros.h: Likewise.
21850 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21851 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21852 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21853 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21854 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21855 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21856 * sysdeps/x86_64/stackguard-macros.h: Likewise.
21857 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21858 <elf/stackguard-macros.h>.
21861 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21862 __aligned__ in attribute.
21863 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21864 (gregset_t): Likewise.
21866 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21868 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21869 * sysdeps/x86_64/64/Implies-after: Here. New file.
21870 * sysdeps/x86_64/x32/Implies-after: New file.
21872 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21874 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21875 and access return value for _dl_profile_fixup. Use R10_LP to
21878 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21880 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21882 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21884 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21885 * sysdeps/x86_64/x32/sysdep.h: New file.
21887 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21889 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21890 * sysdeps/x86_64/setjmp.S: Likewise.
21892 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21894 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21895 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21896 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21897 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21898 remove unused global constant.
21900 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21902 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21903 include of <not-cancel.h>.
21905 2012-05-15 Roland McGrath <roland@hack.frob.com>
21907 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21909 2012-05-15 Jeff Law <law@redhat.com>
21910 Andreas Jaeger <aj@suse.de>
21913 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21915 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21916 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21917 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21918 code changing __hst_map_handle.map.
21920 2012-05-15 Roland McGrath <roland@hack.frob.com>
21922 * configure.in (sysnames): Look for Implies-before and Implies-after
21924 * configure: Regenerated.
21926 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21928 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21929 8-byte data alignment with LP_SIZE alignment.
21931 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21933 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21936 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21938 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21940 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21942 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21943 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21944 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21946 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21948 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21950 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21951 (stackinfo_sub_sp): Likewise.
21953 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21955 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21958 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21960 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21963 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21965 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21968 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21970 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21972 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21974 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
21975 into R11_LP and load __x86_64_shared_cache_size_half into
21978 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21980 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
21983 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21985 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
21987 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
21989 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
21991 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
21992 powerpc32/power7/fpu/s_logb.c via #include.
21993 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
21994 powerpc32/power7/fpu/s_logbf.c via #include.
21995 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
21996 powerpc32/power7/fpu/s_logbl.c via #include.
21998 2012-05-15 Joseph Myers <joseph@codesourcery.com>
22000 * README.libm: Remove file.
22002 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22004 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22005 count for x32. Use R*_LP and omit operand-size suffix.
22007 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22009 * shlib-versions: Move x86_64-.*-linux.* entries to ...
22010 * sysdeps/x86_64/64/shlib-versions: Here. New file.
22011 * sysdeps/x86_64/x32/shlib-versions: New file.
22013 2012-05-14 Roland McGrath <roland@hack.frob.com>
22015 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22016 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22017 Use _dl_fatal_printf instead.
22019 2012-05-14 Joseph Myers <joseph@codesourcery.com>
22021 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22022 set if not set by the user. Do not allow for being unset.
22023 * sysdeps/unix/sysv/linux/configure: Regenerated.
22025 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22027 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22028 the `q' suffix from lea and replace .quad with ASM_ADDR.
22030 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22032 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22033 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
22035 (PTR_DEMANGLE): Likewise.
22037 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22039 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22041 (ASM_ADDR): Likewise.
22042 (RAX_LP): Likewise.
22043 (RBP_LP): Likewise.
22044 (RBX_LP): Likewise.
22045 (RCX_LP): Likewise.
22046 (RDI_LP): Likewise.
22047 (RSI_LP): Likewise.
22048 (RSP_LP): Likewise.
22051 (R10_LP): Likewise.
22052 (R10_LP): Likewise.
22053 (R11_LP): Likewise.
22054 (R12_LP): Likewise.
22055 (R13_LP): Likewise.
22056 (R14_LP): Likewise.
22057 (R15_LP): Likewise.
22059 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22061 * sysdeps/x86_64/x32/dl-machine.h: New file.
22063 2012-05-14 Andreas Jaeger <aj@suse.de>
22065 * manual/Makefile (subdir): Remove export of subdir.
22066 (all): Remove target.
22067 (.PHONY): Remove all from list.
22068 (mkinstalldirs): Remove.
22069 (.PHONY): Remove installdirs from list.
22070 ($(inst_infodir)/libc.info): Use make-target-directory.
22071 (installdirs): Remove.
22072 (subdir_%): Remove.
22073 (glibc-targets): Remove.
22076 ($(objpfx)stubs ../po/manual.pot): Remove.
22077 ($(objpfx)stamp%): Remove.
22078 (make-target-directory): Remove.
22079 (subdir_install): Remove.
22080 (routines): Remove.
22087 * manual/.gitignore: Remove, it's not needed anymore.
22088 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22090 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22092 (texis): Renamed to $(objpfx)texis.
22093 (texis-path): New, contains path to generated files.
22094 (chapters.%): Use texis-path for complete path, add extra argument
22096 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22097 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22098 (summary,texi, stamp-summary): Use complete path of
22099 files. Generate files in build dir.
22100 (dir-add.texi): Build in build dir.
22101 (libm-err.texi,stamp-libm-err): Likewise.
22102 (version.texi, stamp-version): Likewise.
22103 (.%c.texi): Likewise.
22104 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22105 (mostlyclean): Remove target.
22106 (realclean): Remove target.
22107 (generated): Add new variable with contents from mostlyclean and
22108 realclean, remove entries duplicated in common-mostlyclean, add
22109 stamp-libm-err and stamp-version.
22110 (generated-dirs): Add libc directory.
22111 ($(inst_infodir)/libc.info): Install files from build dir.
22113 * manual/install.texi (Configuring and compiling): Adjust since
22114 the info files are not part of the tar ball anymore.
22116 2012-05-14 Andreas Jaeger <aj@suse.de>
22118 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22121 2012-05-14 Joseph Myers <joseph@codesourcery.com>
22124 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22125 to 2.2.0 where earlier.
22126 * sysdeps/unix/sysv/linux/configure: Regenerated.
22127 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22128 Remove conditional code.
22129 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22130 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22131 Remove conditional code.
22132 [!__NR_lchown]: Likewise.
22133 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22134 [__NR_lchown]: Likewise.
22135 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22136 comment referencing __ASSUME_LCHOWN_SYSCALL.
22137 * sysdeps/unix/sysv/linux/i386/sigaction.c
22138 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22139 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22140 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22141 Remove conditional code.
22142 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22143 (__protocol_available): Remove #if 0 code.
22144 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22146 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22147 * sysdeps/unix/sysv/linux/kernel-features.h
22148 (__ASSUME_GETCWD_SYSCALL): Don't define.
22149 (__ASSUME_REALTIME_SIGNALS): Likewise.
22150 (__ASSUME_PREAD_SYSCALL): Likewise.
22151 (__ASSUME_PWRITE_SYSCALL): Likewise.
22152 (__ASSUME_POLL_SYSCALL): Likewise.
22153 (__ASSUME_LCHOWN_SYSCALL): Likewise.
22154 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22156 (__ASSUME_SIOCGIFNAME): Don't define.
22157 (__ASSUME_MSG_NOSIGNAL): Likewise.
22158 (__ASSUME_SENDFILE): Define unconditionally.
22159 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22160 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22162 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22163 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22164 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22165 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22166 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22167 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22168 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22170 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22171 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22173 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22174 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22176 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22177 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22179 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22180 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22182 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22183 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22185 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22186 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22188 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22189 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22191 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22192 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22193 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22194 Remove conditional code.
22195 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22196 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22197 Remove conditional code.
22198 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22199 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22200 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22201 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22202 Remove conditional code.
22203 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22204 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22205 Remove conditional code.
22206 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22207 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22208 Remove conditional code.
22209 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22210 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22211 Remove conditional code.
22212 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22213 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22214 Remove conditional code.
22215 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22216 * sysdeps/unix/sysv/linux/sh/pwrite64.c
22217 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22218 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22219 * sysdeps/unix/sysv/linux/sigaction.c
22220 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22221 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22222 * sysdeps/unix/sysv/linux/sigpending.c
22223 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22224 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22225 * sysdeps/unix/sysv/linux/sigprocmask.c
22226 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22227 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22228 * sysdeps/unix/sysv/linux/sigsuspend.c
22229 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22230 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22231 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22232 (__libc_missing_rt_sigs): Remove.
22233 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22234 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22235 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22236 Remove conditional code.
22237 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22238 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22240 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22241 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22242 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22243 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22245 2012-05-14 Andreas Jaeger <aj@suse.de>
22247 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22248 it's not used in glibc.
22249 (__coshm1): Likewise.
22250 (__acosh1p): Likewise.
22253 * manual/string.texi (Copying and Concatenation): Add missing
22254 variable in concat example.
22255 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22257 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22260 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22261 __builtin_clzl with __builtin_clzll.
22263 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22266 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22269 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22271 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22272 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22273 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22274 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22276 2012-05-14 Mike Frysinger <vapier@gentoo.org>
22278 * NEWS: Update ia64 info.
22280 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
22282 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22285 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
22287 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
22288 * sysdeps/unix/syscalls.list (dup3): Likewise.
22289 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
22290 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
22292 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22294 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22295 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22297 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22299 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
22301 (TLS_IE): Use mov/add instead of movq/addq to load thread
22303 (TLS_GD_PREFIX): New.
22306 2012-05-11 David S. Miller <davem@davemloft.net>
22308 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22309 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22310 (_FPU_SETCW): Likewise.
22312 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22314 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22315 is 32-byte aligned.
22317 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
22320 * iconvdata/gb18030.c: Update tables.
22321 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
22322 characters specially.
22323 (BODY for TO_LOOP): Add encoding of missing ranges.
22325 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
22328 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22329 * sysdeps/mach/hurd/dup3.c: Likewise.
22330 * sysdeps/mach/hurd/readlinkat.c: Likewise.
22331 * sysdeps/powerpc/memmove.c:: Likewise.
22333 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22335 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22336 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22338 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22340 * elf/elf.h (R_X86_64_RELATIVE64): New.
22341 (R_X86_64_NUM): Updated.
22342 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22343 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
22344 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22345 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22346 tst-quad1pie tst-quad2pie
22347 (modules-names): Add tst-quadmod1 tst-quadmod2.
22348 ($(objpfx)tst-quad1): New dependency.
22349 ($(objpfx)tst-quad2): Likewise.
22350 ($(objpfx)tst-quad1pie): Likewise.
22351 ($(objpfx)tst-quad2pie): Likewise.
22352 * sysdeps/x86_64/tst-quad1.c: New file.
22353 * sysdeps/x86_64/tst-quad1pie.c: New file.
22354 * sysdeps/x86_64/tst-quad2.c: Likewise.
22355 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22356 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22357 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22358 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22359 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22361 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22363 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22364 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22365 * streams/stropts.h (t_scalar_t): Define type.
22367 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22368 (_PATH_PRESERVE): Set to "/var/lib".
22369 (_PATH_RWHODIR): Set to "/var/spool/rwho".
22371 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22374 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22375 if __dir_mkfile succeeded.
22377 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22378 checking for _hurd_dtablesize. Unlock it right after having
22379 finished _hurd_dtable allocation.
22381 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22383 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22384 * sysdeps/mach/hurd/configure: Regenerated.
22385 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22386 special-casing to...
22387 * sysdeps/gnu/configure.in: ... this new file.
22388 * sysdeps/unix/sysv/linux/configure: Regenerated.
22389 * sysdeps/gnu/configure: New generated file.
22391 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22392 for Linux: use nsec instead of usec, as well as:
22393 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22394 members of type struct timespec.
22395 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22397 (struct stat64): Likewise.
22398 (_STATBUF_ST_NSEC): New macro.
22399 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22401 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22402 __strtoul_internal rather than strtoul.
22404 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22406 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22409 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22411 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22412 which preserves existing values.
22413 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22415 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22417 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22418 TIMEOUT values. Return EINVAL for NFDS values either negative or
22419 greater than FD_SETSIZE.
22421 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22423 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22424 allocated, call __vm_protect to finish enabling the existing space, and
22425 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22426 allocate the remainder.
22428 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22430 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22431 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
22433 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22435 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22436 sysdeps/mach/hurd/readlink.c.
22438 * posix/tst-sysconf.c (posix_options): Only use
22439 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22440 _POSIX_SYNCHRONIZED_IO when they are defined
22441 * sysdeps/mach/hurd/bits/posix_opt.h:
22442 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22443 (_XOPEN_REALTIME): Undefine macro.
22444 (_XOPEN_REALTIME_THREADS): Undefine macro.
22445 (_XOPEN_SHM): Undefine macro.
22446 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22448 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22450 (_POSIX_ASYNC_IO): Undefine macro.
22451 (_POSIX_PRIORITIZED_IO): Undefine macro.
22452 (_POSIX_SPIN_LOCKS): Define macro to -1.
22454 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22455 SA_NODEFER, SA_RESETHAND.
22456 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22457 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22460 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22462 * elf/Makefile (pldd-modules): Define unconditionally.
22464 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22466 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22468 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22470 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22471 Return ENOENT when name is empty.
22472 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22474 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22476 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22478 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22480 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22482 Fix mlock in all cases except non-readable pages.
22483 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22484 instead of VM_PROT_ALL as parameter to __vm_wire function.
22486 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22487 (__mkdir): When path is `/', just fail with EEXIST.
22488 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22490 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22492 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22493 <sys/uio.h> (for writev).
22494 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22495 and <sys/param.h> (for MIN).
22497 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22499 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22500 REQUESTED_TIME. Properly set the remaining time and return EINTR
22503 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22505 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22506 Depend on against $(link-rpcuserlibs).
22508 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22510 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22511 (__libc_stack_end): Do not use attribute_relro.
22512 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22513 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
22514 to libthread-provided value.
22515 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22518 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22521 * bits/libc-lock.h (__libc_once_get): New macro.
22522 * sysdeps/mach/bits/libc-lock.h: Likewise.
22523 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22524 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22525 instead of using implementation details.
22527 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22528 * libio/freopen.c: Likewise.
22529 * libio/freopen64.c: Likewise.
22530 * misc/syslog.c: Likewise.
22531 * nscd/connections.c: Likewise.
22532 * nscd/netgroupcache.c: Likewise.
22533 * sysdeps/posix/getcwd.c: Likewise.
22535 2012-05-10 Roland McGrath <roland@hack.frob.com>
22537 * math/w_ilogbf.c: Add #include <limits.h>.
22539 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22541 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
22542 path instead of returning without unlocking.
22544 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22545 immediate-write ioctls.
22546 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22548 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22550 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22551 __builtin_frame_address instead of making assumptions about the
22552 location of the return address relative to DATA. Force early load of
22553 the return address.
22554 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22555 __builtin_frame_address.
22558 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22559 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22560 implement dup3 and do some further code clean-ups.
22561 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22562 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22564 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22566 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22568 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22569 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22570 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22571 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22572 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22575 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22576 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22577 when handler == SIG_ERR, not when handler != SIG_ERR.
22579 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22581 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22582 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22585 accept4 for GNU Hurd.
22586 * include/sys/socket.h (__libc_accept4): New prototype.
22587 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22588 to implement __libc_accept4.
22589 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22591 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22593 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22594 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22595 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22596 signal-defines.sym.
22598 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22600 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
22602 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22604 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22605 assertion on O_CLOEXEC flag.
22606 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22607 * hurd/intern-fd.c: Likewise.
22608 * hurd/port2fd.c: Likewise.
22610 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22613 * bits/in.h (IPV6_PKTINFO): Define new macro.
22614 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22616 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22621 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22622 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22623 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22624 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22625 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22626 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22627 * math/libm-test.inc (logb_test) : Additional logb tests.
22629 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22630 Andreas Jaeger <aj@suse.de>
22632 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22633 * configure: Regenerated.
22634 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22635 * config.make.in (link-obsolete-rpc): New substituted variable.
22636 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22637 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22638 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22639 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22640 so that libc.a contains the symbols.
22641 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22642 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22643 * sunrpc/auth_none.c: Likewise.
22644 * sunrpc/auth_unix.c: Likewise.
22645 * sunrpc/authdes_prot.c: Likewise.
22646 * sunrpc/authuxprot.c: Likewise.
22647 * sunrpc/clnt_gen.c: Likewise.
22648 * sunrpc/clnt_perr.c: Likewise.
22649 * sunrpc/clnt_raw.c: Likewise.
22650 * sunrpc/clnt_simp.c: Likewise.
22651 * sunrpc/clnt_tcp.c: Likewise.
22652 * sunrpc/clnt_udp.c: Likewise.
22653 * sunrpc/clnt_unix.c: Likewise.
22654 * sunrpc/des_crypt.c: Likewise.
22655 * sunrpc/des_soft.c: Likewise.
22656 * sunrpc/get_myaddr.c: Likewise.
22657 * sunrpc/key_call.c: Likewise.
22658 * sunrpc/key_prot.c: Likewise.
22659 * sunrpc/netname.c: Likewise.
22660 * sunrpc/pm_getmaps.c: Likewise.
22661 * sunrpc/pm_getport.c: Likewise.
22662 * sunrpc/pmap_clnt.c: Likewise.
22663 * sunrpc/pmap_prot.c: Likewise.
22664 * sunrpc/pmap_prot2.c: Likewise.
22665 * sunrpc/pmap_rmt.c: Likewise.
22666 * sunrpc/publickey.c: Likewise.
22667 * sunrpc/rpc_cmsg.c: Likewise.
22668 * sunrpc/rpc_common.c: Likewise.
22669 * sunrpc/rpc_dtable.c: Likewise.
22670 * sunrpc/rpc_prot.c: Likewise.
22671 * sunrpc/rpc_thread.c: Likewise.
22672 * sunrpc/rtime.c: Likewise.
22673 * sunrpc/svc.c: Likewise.
22674 * sunrpc/svc_auth.c: Likewise.
22675 * sunrpc/svc_raw.c: Likewise.
22676 * sunrpc/svc_run.c: Likewise.
22677 * sunrpc/svc_tcp.c: Likewise.
22678 * sunrpc/svc_udp.c: Likewise.
22679 * sunrpc/svc_unix.c: Likewise.
22680 * sunrpc/svcauth_des.c: Likewise.
22681 * sunrpc/xcrypt.c: Likewise.
22682 * sunrpc/xdr.c: Likewise.
22683 * sunrpc/xdr_array.c: Likewise.
22684 * sunrpc/xdr_float.c: Likewise.
22685 * sunrpc/xdr_intXX_t.c: Likewise.
22686 * sunrpc/xdr_mem.c: Likewise.
22687 * sunrpc/xdr_rec.c: Likewise.
22688 * sunrpc/xdr_ref.c: Likewise.
22689 * sunrpc/xdr_sizeof.c: Likewise.
22690 * sunrpc/xdr_stdio.c: Likewise.
22692 2012-05-10 Roland McGrath <roland@hack.frob.com>
22694 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22695 change. Update copyright years.
22697 2012-05-10 Joseph Myers <joseph@codesourcery.com>
22699 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22701 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22702 Joseph Myers <joseph@codesourcery.com>
22703 Paul Pluzhnikov <ppluzhnikov@google.com>
22706 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22708 [cross-compiling] (extra-libs): Likewise.
22709 [cross-compiling] (extra-libs-others): Likewise.
22710 [cross-compiling] (librpcsvc-routines): Likewise.
22711 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22712 [cross-compiling] (omit-deps): Likewise.
22713 (sunrpc-CPPFLAGS): New variable.
22714 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22715 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22716 (cross-rpcgen-objs): New variable.
22717 (extra-objs): Append $(cross-rpcgen-objs).
22718 ($(cross-rpcgen-objs)): New rule.
22719 ($(objpfx)cross-rpcgen): Likewise.
22720 (rpcgen-cmd): Define to use $(built-program-file). Expand
22722 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22723 ($(objpfx)x%.stmp): Likewise.
22724 * sunrpc/proto.h [IS_IN_build] (_): Define.
22725 [IS_IN_build] (_libc_intl_domainname): Likewise.
22727 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22729 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22730 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22731 and R_X86_64_TPOFF64.
22733 2012-05-10 Joseph Myers <joseph@codesourcery.com>
22735 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22736 sysdeps/unix/sysv/syscalls.list.
22739 * sysdeps/unix/sysv/syscalls.list: Remove file.
22741 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22744 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22745 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22746 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22747 (__LC_IDENTIFICATION): Make these macros useful in #if
22748 expressions, as required by C99.
22750 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22752 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22753 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22756 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22758 * stdlib/longlong.h: Updated from GCC.
22760 2012-05-09 Andreas Jaeger <aj@suse.de>
22762 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22763 default is first entry.
22764 (run_mode): Set type.
22765 (main): Remove informal message about syslog.
22766 (options): Fix typo.
22769 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
22772 (llrintf): Likewise.
22773 (llrint): Likewise.
22776 (nearbyint): Likewise.
22777 (nearbyintf): Likewise.
22779 2012-05-09 Andreas Jaeger <aj@suse.de>
22780 Pedro Alves <palves@redhat.com>
22782 * nscd/nscd.c (run_mode): Use enum.
22783 (main): Cleanup coding style issue.
22785 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
22786 Andreas Jaeger <aj@suse.de>
22788 * nscd/nscd.c (go_background): Replaced with...
22789 (run_mode): ... this.
22790 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
22791 (options): Add -F --foreground.
22792 (main): Implement it.
22793 (parse_opt): Parse it.
22795 2012-05-09 Andreas Jaeger <aj@suse.de>
22798 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22799 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22800 -Wconversion warning.
22801 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22804 2012-05-09 Joseph Myers <joseph@codesourcery.com>
22806 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22808 (LC_ALL): Use macro-int-constant.
22809 (LC_COLLATE): Likewise.
22810 (LC_CTYPE): Likewise.
22811 (LC_MESSAGES): Likewise.
22812 (LC_MONETARY): Likewise.
22813 (LC_NUMERIC): Likewise.
22814 (LC_TIME): Likewise.
22815 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22816 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22817 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22818 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22820 [C99-based standards] (float_t): Expect type.
22821 [C99-based standards] (double_t): Expect type.
22822 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
22824 [C99-based standards] (HUGE_VALL): Likewise.
22825 [C99-based standards] (INFINITY): Likewise.
22826 [C99-based standards] (NAN): Likewise.
22827 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22828 [C99-based standards] (FP_NAN): Likewise.
22829 [C99-based standards] (FP_NORMAL): Likewise.
22830 [C99-based standards] (FP_SUBNORMAL): Likewise.
22831 [C99-based standards] (FP_ZERO): Likewise.
22832 [C99-based standards] (FP_FAST_FMA): Use
22833 optional-macro-int-constant. Specify type. Require == 1.
22834 [C99-based standards] (FP_FAST_FMAF): Likewise.
22835 [C99-based standards] (FP_FAST_FMAL): Likewise.
22836 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22837 [C99-based standards] (FP_ILOGBNAN): Likewise.
22838 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22840 [C99-based standards] (MATH_ERREXCEPT): Likewise.
22841 [C99-based standards] (math_errhandling): Specify type.
22842 [ISO99 || ISO11] (signgam): Do not allow.
22843 [non-C99-based standards] (copysignf): Do not allow.
22844 [non-C99-based standards] (exp2f): Likewise.
22845 [non-C99-based standards] (log2f): Likewise.
22846 [non-C99-based standards] (modff): Allow.
22847 [non-C99-based standards] (erff): Do not allow.
22848 [non-C99-based standards] (erfcf): Likewise.
22849 [non-C99-based standards] (gammaf): Likewise.
22850 [non-C99-based standards] (hypotf): Likewise.
22851 [non-C99-based standards] (j0f): Likewise.
22852 [non-C99-based standards] (j1f): Likewise.
22853 [non-C99-based standards] (jnf): Likewise.
22854 [non-C99-based standards] (lgammaf): Likewise.
22855 [non-C99-based standards] (tgammaf): Likewise.
22856 [non-C99-based standards] (y0f): Likewise.
22857 [non-C99-based standards] (y1f): Likewise.
22858 [non-C99-based standards] (ynf): Likewise.
22859 [non-C99-based standards] (isnanf): Likewise.
22860 [non-C99-based standards] (acoshf): Likewise.
22861 [non-C99-based standards] (asinhf): Likewise.
22862 [non-C99-based standards] (atanhf): Likewise.
22863 [non-C99-based standards] (cbrtf): Likewise.
22864 [non-C99-based standards] (expm1f): Likewise.
22865 [non-C99-based standards] (ilogbf): Likewise.
22866 [non-C99-based standards] (log1pf): Likewise.
22867 [non-C99-based standards] (logbf): Likewise.
22868 [non-C99-based standards] (nextafterf): Likewise.
22869 [non-C99-based standards] (remainderf): Likewise.
22870 [non-C99-based standards] (rintf): Likewise.
22871 [non-C99-based standards] (scalbf): Likewise.
22872 [non-C99-based standards] (copysignl): Likewise.
22873 [non-C99-based standards] (exp2l): Likewise.
22874 [non-C99-based standards] (log2l): Likewise.
22875 [non-C99-based standards] (modfl): Allow.
22876 [non-C99-based standards] (erfl): Do not allow.
22877 [non-C99-based standards] (erfcl): Likewise.
22878 [non-C99-based standards] (gammal): Likewise.
22879 [non-C99-based standards] (hypotl): Likewise.
22880 [non-C99-based standards] (j0l): Likewise.
22881 [non-C99-based standards] (j1l): Likewise.
22882 [non-C99-based standards] (jnl): Likewise.
22883 [non-C99-based standards] (lgammal): Likewise.
22884 [non-C99-based standards] (tgammal): Likewise.
22885 [non-C99-based standards] (y0l): Likewise.
22886 [non-C99-based standards] (y1l): Likewise.
22887 [non-C99-based standards] (ynl): Likewise.
22888 [non-C99-based standards] (isnanl): Likewise.
22889 [non-C99-based standards] (acoshl): Likewise.
22890 [non-C99-based standards] (asinhl): Likewise.
22891 [non-C99-based standards] (atanhl): Likewise.
22892 [non-C99-based standards] (cbrtl): Likewise.
22893 [non-C99-based standards] (expm1l): Likewise.
22894 [non-C99-based standards] (ilogbl): Likewise.
22895 [non-C99-based standards] (log1pl): Likewise.
22896 [non-C99-based standards] (logbl): Likewise.
22897 [non-C99-based standards] (nextafterl): Likewise.
22898 [non-C99-based standards] (remainderl): Likewise.
22899 [non-C99-based standards] (rintl): Likewise.
22900 [non-C99-based standards] (scalbl): Likewise.
22901 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22902 [non-C99-based standards] (FP_*): Do not allow.
22903 [C99-based standards] (FP_*): Change to
22904 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22905 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22907 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22908 (SIG_ERR): Likewise.
22909 [X/Open-based standards] (SIG_HOLD): Likewise.
22910 (SIG_IGN): Likewise.
22911 (SIGABRT): Use macro-int-constant. Specify type. Require
22913 (SIGFPE): Likewise.
22914 (SIGILL): Likewise.
22915 (SIGINT): Likewise.
22916 (SIGSEGV): Likewise.
22917 (SIGTER): Likewise.
22918 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22919 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22920 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22921 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22922 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22923 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22924 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22925 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22926 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22927 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22928 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22929 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22930 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22931 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22932 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22933 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22934 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22935 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22936 [X/Open-based standards] (SIGTRAP): Likewise.
22937 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22938 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22939 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22940 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22941 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22944 2012-05-08 Ian Wienand <ianw@vmware.com>
22947 * time/tzset.c (__tzset_parse_tz): Update default rules for
22948 daylight time changes in the Energy Policy Act of 2005.
22950 2012-05-09 Andreas Jaeger <aj@suse.de>
22953 * elf/ldconfig.c (parse_conf): Change string to make clear that
22954 ldconfig only issued a warning if ld.so.conf does not exist.
22956 2012-05-08 David S. Miller <davem@davemloft.net>
22958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22959 movxtod instead of popping the value on the stack.
22961 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22963 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22965 * config.h.in: Add HAVE_ARM_PCS_VFP.
22967 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
22970 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22971 checking but the checks are disabled for any reason.
22973 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
22975 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
22976 and ELF64_R_TYPE with ELFW(R_TYPE).
22978 2012-05-08 Joseph Myers <joseph@codesourcery.com>
22980 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
22981 (ulimit): Likewise.
22983 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
22984 (settimeofday): Likewise.
22986 2012-05-08 Mike Frysinger <vapier@gentoo.org>
22988 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
22989 a struct th_u2 inside the union, and move tu_block/tu_code into
22990 a new th_u3 union of tu_block/tu_code inside of that. Move
22991 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
22992 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
22993 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
22994 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
22995 (th_stuff): Change to th_u1.tu_stuff.
22997 (th_msg): Change to th_u1.th_u2.tu_data.
22999 2012-05-07 David S. Miller <davem@davemloft.net>
23001 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23004 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23005 (SETUP_PIC_REG): Use it.
23006 (SETUP_PIC_REG_LEAF): Use it.
23008 2012-05-07 Joseph Myers <joseph@codesourcery.com>
23012 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23014 (EXPL_FINITE): Likewise.
23015 (FLDLOG): Likewise.
23016 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23017 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23019 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23021 (EXPL_FINITE): Likewise.
23022 (FLDLOG): Likewise.
23023 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23024 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23026 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
23027 test of -max_value argument for long double.
23028 * sysdeps/i386/fpu/libm-test-ulps: Update.
23029 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23031 2012-05-06 David S. Miller <davem@davemloft.net>
23033 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23034 quad soft-float symbols whose references which are compiler
23036 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23038 2012-05-06 Joseph Myers <joseph@codesourcery.com>
23042 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23044 (EXPL_FINITE): Likewise.
23045 (FLDLOG): Likewise.
23048 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23049 Adjust comments for base varying.
23050 (__expl_finite): Change alias to EXPL_FINITE.
23051 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23053 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23054 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23055 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23056 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23057 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23059 (EXPL_FINITE): Likewise.
23060 (FLDLOG): Likewise.
23063 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23064 Adjust comments for base varying.
23065 (__expl_finite): Change alias to EXPL_FINITE.
23066 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
23068 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23071 * math/libm-test.inc (check_float_internal): Correct ulp
23072 calculation for subnormal expected results.
23074 2012-05-06 Andreas Jaeger <aj@suse.de>
23076 * Makeconfig (+math-flags): New, set to -frounding-math.
23077 (+cflags): Add +math-flags so that all of glibc gets compiled with
23080 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23082 2012-05-05 Joseph Myers <joseph@codesourcery.com>
23084 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23090 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23091 (__ieee754_expl): Allow for and saturate large arguments.
23092 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23093 (u_threshold): Likewise.
23094 (__exp): Call __ieee754_exp before checking for overflow and
23096 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23097 (u_threshold): Likewise.
23098 (__expf): Call __ieee754_expf before checking for overflow and
23100 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23101 (u_threshold): Likewise.
23102 (__expl): Call __ieee754_expl before checking for overflow and
23104 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23105 (__ieee754_expl): Allow for and saturate large arguments.
23106 * math/libm-test.inc (exp_test): Add another test. Do not allow
23107 missing overflow exception on overflow.
23108 (expm1_test): Do not allow missing overflow exception on overflow.
23110 * sysdeps/i386/fpu/e_expl.c: Move to ...
23111 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
23112 rather than using inline asm.
23113 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23114 * sysdeps/x86_64/fpu/e_expl.S: Copy from
23115 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23117 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23120 (signal): Likewise.
23124 2012-05-04 Joseph Myers <joseph@codesourcery.com>
23126 * sysdeps/unix/syscalls.list (adjtime): Add entry from
23127 sysdeps/unix/common/syscalls.list.
23128 (fchmod): Likewise.
23129 (fchown): Likewise.
23130 (ftruncate): Likewise.
23131 (getrusage): Likewise.
23132 (gettimeofday): Likewise.
23133 (setpgid): Likewise.
23134 (setregid): Likewise.
23135 (setreuid): Likewise.
23136 (sigaction): Likewise.
23137 (truncate): Likewise.
23138 (vhangup): Likewise.
23139 * sysdeps/unix/common/syscalls.list: Remove file.
23140 * sysdeps/unix/bsd/Implies: Don't include unix/common.
23141 * sysdeps/unix/sysv/linux/Implies: Likewise.
23143 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23145 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23146 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23147 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23151 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23154 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23157 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23159 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23160 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23162 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23163 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23166 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23168 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23169 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23171 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23173 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23177 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23179 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23180 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23184 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23188 2012-05-04 Joseph Myers <joseph@codesourcery.com>
23190 * sysdeps/unix/common/bits/dirent.h: Remove file.
23191 * sysdeps/unix/common/bits/fcntl.h: Likewise.
23193 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23194 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23195 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23196 * sysdeps/unix/bsd/isatty.c: Likewise.
23197 * sysdeps/unix/bsd/tcdrain.c: Likewise.
23198 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23199 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23201 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23204 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23205 long double comparison inaccuracies.
23206 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23207 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23209 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
23211 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23212 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23214 2012-05-04 Joseph Myers <joseph@codesourcery.com>
23217 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23218 nonzero digits before rounding a hex value.
23219 * stdlib/tst-strtod.c (tests): Add another test.
23221 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23223 * sysdeps/s390/fpu/libm-test-ulps: Update.
23225 2012-05-03 Andreas Jaeger <aj@suse.de>
23227 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23228 does not get optimized out.
23229 (malloc_opt_barrier): New.
23231 2012-05-03 Andreas Jaeger <aj@suse.de>
23232 Roland McGrath <roland@hack.frob.com>
23234 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
23235 intermediate file deletion.
23236 (generated): Add .symlist files.
23238 2012-05-03 Joseph Myers <joseph@codesourcery.com>
23241 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23242 Redirect under this condition.
23243 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23244 [__USE_GNU] (__dprintf_chk): Not under this condition.
23245 [__USE_GNU] (__vdprintf_chk): Likewise.
23246 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23247 under this condition.
23248 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23249 [__USE_XOPEN2K8] (dprintf): Define under this condition.
23250 [__USE_XOPEN2K8] (vdprintf): Likewise.
23251 [__USE_GNU] (__dprintf_chk): Not under this condition.
23252 [__USE_GNU] (__vdprintf_chk): Likewise.
23253 [__USE_GNU] (dprintf): Likewise.
23254 [__USE_GNU] (vdprintf): Likewise.
23256 2012-05-03 Roland McGrath <roland@hack.frob.com>
23258 * elf/Makefile (common-generated): Set this instead of generated for
23259 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
23260 $(all-built-dso)-derived lists.
23262 2012-05-03 Andreas Jaeger <aj@suse.de>
23264 * sysdeps/i386/fpu/libm-test-ulps: Update.
23267 * FAQ.in: Likewise.
23268 * scripts/gen-FAQ.pl: Likewise.
23269 * manual/install.texi (Installation): Point to online location of
23271 * Makefile (files-for-dist): Remove FAQ.
23274 2012-05-02 Allan McRae <allan@archlinux.org>
23276 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23277 (LDFLAGS-reldepmod5.so): Likewise.
23278 (LDFLAGS-reldep6mod1.so): Likewise.
23279 (LDFLAGS-reldep6mod4.so): Likewise.
23280 (LDFLAGS-reldep8mod3.so): Likewise.
23281 (LDFLAGS-unload4mod1.so): Likewise.
23282 (LDFLAGS-unload4mod2.so): Likewise.
23283 (LDFLAGS-tst-initorder): Likewise.
23284 (LDFLAGS-tst-initordera2.so): Likewise.
23285 (LDFLAGS-tst-initordera3.so): Likewise.
23286 (LDFLAGS-tst-initordera4.so): Likewise.
23287 (LDFLAGS-tst-initorderb2.so): Likewise.
23288 (LDFLAGS-noload): Likewise.
23289 (LDFLAGS-next): Likewise.
23290 (LDFLAGS-order2mod1.so): Likewise.
23291 (LDFLAGS-order2mod2.so): Likewise.
23292 (LDFLAGS-tst-initorder2): Likewise.
23293 (LDFLAGS-tst-initorder2a.so): Likewise.
23294 (LDFLAGS-tst-initorder2b.so): Likewise.
23295 (LDFLAGS-tst-initorder2c.so): Likewise.
23296 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
23298 2012-05-02 David S. Miller <davem@davemloft.net>
23300 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23302 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
23305 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23307 2012-05-02 Andreas Jaeger <aj@suse.de>
23309 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23310 since we manipulate rounding mode.
23311 (CPPFLAGS-test-idouble.c): Likewise.
23312 (CPPFLAGS-test-ifloat.c): Likewise.
23313 (CFLAGS-test-ldouble.c): Likewise.
23314 (CFLAGS-test-double.c): Likewise.
23315 (CFLAGS-test-float.c): Likewise.
23316 (CFLAGS-test-misc.c): Likewise.
23317 (CFLAGS-test-test-fenv.c): Likewise.
23319 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23323 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23324 comparisons to determine direction to adjust input.
23326 2012-05-01 Roland McGrath <roland@hack.frob.com>
23328 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23329 output to the target.
23331 * scripts/localplt.awk: New file.
23332 * elf/Makefile ($(objpfx)check-localplt): Target removed.
23333 (check-localplt-CFLAGS): Variable removed.
23334 ($(all-built-dso:=.jmprel)): New static pattern rule.
23335 (generated): Add those targets.
23336 (localplt-built-dso): New variable.
23337 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23339 * elf/check-localplt.c: File removed.
23341 * scripts/check-execstack.awk: New file.
23342 * elf/Makefile ($(objpfx)check-execstack): Target removed.
23343 (check-execstack-CFLAGS): Variable removed.
23344 ($(objpfx)check-execstack.h): Target removed.
23345 ($(objpfx)execstack-default): New target.
23346 (generated): Add that instead of check-execstack.h.
23347 ($(all-built-dso:=.phdr)): New static pattern rule.
23348 (generated): Add those targets.
23349 * elf/check-execstack.c: File removed.
23351 * scripts/check-textrel.awk: New file.
23352 * elf/Makefile ($(objpfx)check-textrel): Target removed.
23353 (check-textrel-CFLAGS): Variable removed.
23354 (all-built-dso): Use := to define.o
23355 ($(all-built-dso:=.dyn)): New static pattern rule.
23356 (generated): Add those targets.
23357 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23358 * config.make.in (READELF): New substituted variable.
23359 * elf/check-textrel.c: File removed.
23361 2012-05-01 Joseph Myers <joseph@codesourcery.com>
23363 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23365 * conform/data/ctype.h-data [C99-based standards] (isblank):
23367 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23368 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23369 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23370 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23371 Specify type. Require positive value.
23372 (EILSEQ): Likewise.
23373 (ERANGE): Likewise.
23374 [ISO || POSIX] (EILSEQ): Do not expect.
23375 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23376 Specify type. Require positive value.
23377 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23378 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23379 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23380 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23381 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23382 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23383 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23384 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23385 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23386 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23387 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23388 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23389 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23390 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23391 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23392 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23393 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23394 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23395 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23396 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23397 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23398 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23399 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23400 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23401 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23402 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23403 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23404 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23405 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23406 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23407 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23408 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23409 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23410 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23411 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23412 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23413 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23414 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23415 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23416 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23417 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23418 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23419 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23420 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23421 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23422 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23423 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23424 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23425 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23426 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23427 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23428 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23429 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23430 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23431 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23432 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23433 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23434 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23435 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23436 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23437 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23438 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23439 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23440 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23441 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23442 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23443 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23444 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23445 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23446 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23447 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23448 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23449 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23450 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23451 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23452 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23453 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23455 (FLT_ROUNDS): Expect as macro, not constant.
23456 (FLT_MANT_DIG): Use macro-int-constant.
23457 (DBL_MANT_DIG): Likewise.
23458 (LDBL_MANT_DIG): Likewise.
23459 (FLT_DIG): Likewise.
23460 (DBL_DIG): Likewise.
23461 (LDBL_DIG): Likewise.
23462 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23463 (DBL_MIN_EXP): Likewise.
23464 (LDBL_MIN_EXP): Likewise.
23465 (FLT_MAX_EXP): Use macro-int-constant.
23466 (DBL_MAX_EXP): Likewise.
23467 (LDBL_MAX_EXP): Likewise.
23468 (FLT_MAX_10_EXP): Likewise.
23469 (DBL_MAX_10_EXP): Likewise.
23470 (LDBL_MAX_10_EXP): Likewise.
23471 (FLT_MAX): Use macro-constant.
23472 (DBL_MAX): Likewise.
23473 (LDBL_MAX): Likewise.
23474 (FLT_EPSILON): Use macro-constant. Give upper bound.
23475 (DBL_EPSILON): Likewise.
23476 (LDBL_EPSILON): Likewise.
23477 (FLT_MIN): Likewise.
23478 (DBL_MIN): Likewise.
23479 (LDBL_MIN): Likewise.
23480 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23481 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23482 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23483 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23484 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23485 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23486 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23487 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23488 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23489 [ISO11] (FLT_TRUE_MIN): Likewise.
23490 [ISO11] (LDBL_TRUE_MIN): Likewise.
23491 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23492 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23493 (SCHAR_MIN): Use macro-int-constant. Specify type.
23494 (SCHAR_MAX): Likewise.
23495 (UCHAR_MAX): Likewise.
23496 (CHAR_MIN): Likewise.
23497 (CHAR_MAX): Likewise.
23498 (MB_LEN_MAX): Use macro-int-constant.
23499 (SHRT_MIN): Use macro-int-constant. Specify type.
23500 (SHRT_MAX): Likewise.
23501 (USHRT_MAX): Likewise.
23502 (INT_MAX): Likewise.
23503 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23505 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23507 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23509 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23510 bound negative. Suffix upper bound with "L".
23511 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23513 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23515 [C99-based standards] (LLONG_MAX): Likewise.
23516 [C99-based standards] (ULLONG_MAX): Likewise.
23517 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23519 [ISO11] (max_align_t): Require type.
23520 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23522 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23523 from $CFLAGS, without defining away __attribute__ calls.
23524 (checknamespace): Use $CFLAGS_namespace.
23526 * conform/conformtest.pl (@keywords): Only include C99 keywords
23527 for standards based on C99 or C11.
23529 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23531 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23534 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23535 usability of symbols in #if.
23537 * conform/conformtest.pl: If macro or constant types start
23538 "promoted:", expect the symbol to be of the following type
23539 promoted by the integer promotions.
23541 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23542 in one place. Also handle "macro-constant".
23544 * conform/conformtest.pl: Only accept expected macro values with
23545 "==". Parse all "macro" lines in one place.
23546 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23548 * conform/conformtest.pl: Handle braced types on "constant" lines
23549 instead of handling "typed-constant".
23550 * conform/data/signal.h-data: Use "constant" instead of
23553 * conform/conformtest.pl: Handle "optional-" at start of lines in
23554 one place rather than duplicating several cases. Handle each
23555 format of "macro" line with initial "optional-".
23557 * conform/conformtest.pl: Only accept expected constant or
23558 optional-constant values with "==". Parse all "constant" lines in
23559 one place. Parse all "optional-constant" lines in one place.
23560 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23561 * conform/data/fmtmsg.h-data: Likewise.
23562 * conform/data/netinet/in.h-data: Likewise.
23563 * conform/data/tar.h-data: Likewise.
23564 * conform/data/limits.h-data: Use "==" form on "constant" and
23565 "optional-constant" lines.
23567 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23568 Use -std=c99 for XOPEN2K.
23569 (@knownproblems): Remove.
23570 (newtoken): Don't check %isknown.
23572 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23573 Do not expect macro.
23574 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23575 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23576 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23577 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23578 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23579 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23580 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23581 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23582 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23583 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23584 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23585 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23586 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23587 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23588 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23589 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23590 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23591 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23592 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23593 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23594 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23595 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23596 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23597 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23598 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23599 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23600 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23601 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23602 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23603 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23604 [XPG3] (acosh): Likewise.
23605 [XPG3] (asinh): Likewise.
23606 [XPG3] (atanh): Likewise.
23607 [XPG3] (cbrt): Likewise.
23608 [XPG3] (expm1): Likewise.
23609 [XPG3] (ilogb): Likewise.
23610 [XPG3] (log1p): Likewise.
23611 [XPG3] (logb): Likewise.
23612 [XPG3] (nextafter): Likewise.
23613 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23614 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23615 [XPG3] (remainder): Likewise.
23616 [XPG3] (rint): Likewise.
23617 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23618 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23619 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23620 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23621 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23622 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23623 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23624 [UNIX98 || XOPEN2K] (scalb): Expect.
23625 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23626 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23627 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23628 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23629 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23630 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23631 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23632 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23633 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23634 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23635 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23636 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23637 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23638 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23639 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23640 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23641 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23642 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23643 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23644 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23645 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23646 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23647 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23648 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23649 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23650 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23651 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23652 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23653 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23654 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23655 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23656 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23657 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23658 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23659 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23660 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23661 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23662 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23663 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23664 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23665 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23666 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23667 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23668 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23669 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23670 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23671 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23672 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23673 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23674 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23675 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23676 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23677 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23678 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23679 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23680 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23681 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23682 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23683 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23684 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23685 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23686 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23687 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23688 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23689 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23690 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23691 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23692 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23693 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23694 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23695 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23696 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23697 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23698 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23699 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23700 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23701 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23702 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23703 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23704 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23705 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23706 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23707 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23708 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23709 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23710 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23711 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23712 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23713 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23714 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23715 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23716 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23717 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23718 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23719 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23720 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23721 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23722 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23723 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23724 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23725 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23726 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23727 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23728 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23729 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23730 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23731 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23732 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23733 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23734 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23735 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23736 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23737 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23738 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23739 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23740 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23741 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23742 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23743 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23744 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23745 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23746 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23747 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23748 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23749 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23750 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23751 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23752 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23753 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23754 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23755 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23756 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23757 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23758 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23759 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23760 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23761 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23763 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23764 _XOPEN_SOURCE_EXTENDED for XPG4.
23766 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23768 * Makeconfig (localtime): Remove variable.
23769 (inst_localtime-file): Likewise.
23771 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23775 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23777 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23779 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23792 2012-05-01 Joseph Myers <joseph@codesourcery.com>
23796 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23797 comparisons to determine direction to adjust input.
23798 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23799 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23800 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23802 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23804 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23806 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23807 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23809 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23811 * math/libm-test.inc (nexttoward_test): Add more tests.
23813 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23816 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23817 in version GLIBC_2.1, not GLIBC_2.0.
23818 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23821 2012-04-30 Joseph Myers <joseph@codesourcery.com>
23824 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23826 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23827 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23828 * math/libm-test.inc (acos_test): Add more tests.
23829 (asin_test): Likewise.
23830 * sysdeps/i386/fpu/libm-test-ulps: Update.
23831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23834 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23836 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23837 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23838 * math/libm-test.inc (acos_test_tonearest): New function.
23839 (acos_test_towardzero): Likewise.
23840 (acos_test_downward): Likewise.
23841 (acos_test_upward): Likewise.
23842 (asin_test_tonearest): Likewise.
23843 (asin_test_towardzero): Likewise.
23844 (asin_test_downward): Likewise.
23845 (asin_test_upward): Likewise.
23846 (main): Call the new functions.
23847 * sysdeps/i386/fpu/libm-test-ulps: Update.
23848 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23852 * math/e_exp10.c: Include <float.h>.
23853 (__ieee754_exp10): Handle underflow here rather than multiplying
23854 large negative argument by M_LN10.
23855 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23857 * math/e_exp10l.c: Include <float.h>.
23858 (__ieee754_exp10l): Handle underflow here rather than multiplying
23859 large negative argument by M_LN10l.
23860 * math/libm-test.inc (exp10_test): Add another test. Do not allow
23861 spurious overflow exception on underflow.
23863 2012-04-29 Marek Polacek <polacek@redhat.com>
23865 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23866 (__fortify_function): New macro.
23867 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23868 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23869 __extern_always_inline.
23870 * libio/bits/stdio2.h: Likewise.
23871 * libio/bits/stdio.h: Likewise.
23872 * string/string.h: Likewise.
23873 * string/bits/string3.h: Likewise.
23874 * include/stdio.h: Likewise.
23875 * stdlib/bits/stdlib.h: Likewise.
23876 * stdlib/stdlib.h: Likewise.
23877 * rt/bits/mqueue2.h: Likewise.
23878 * rt/mqueue.h: Likewise.
23879 * posix/bits/unistd.h: Likewise.
23880 * posix/unistd.h: Likewise.
23881 * io/bits/poll2.h: Likewise.
23882 * io/bits/fcntl2.h: Likewise.
23883 * io/fcntl.h: Likewise.
23884 * io/sys/poll.h: Likewise.
23885 * misc/bits/syslog.h: Likewise.
23886 * misc/bits/syslog-ldbl.h: Likewise.
23887 * misc/sys/syslog.h: Likewise.
23888 * socket/bits/socket2.h: Likewise.
23889 * socket/sys/socket.h: Likewise.
23890 * debug/tst-chk1.c: Likewise.
23891 * wcsmbs/bits/wchar2.h: Likewise.
23892 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23893 * wcsmbs/wchar.h: Likewise.
23895 2012-04-29 Andreas Jaeger <aj@suse.de>
23897 * Makerules (tests): Remove enable-check-abi protection.
23898 (check-abi-warn): Remove.
23899 (check-abi-%): Remove check-abi-warn usage.
23901 * configure.in: Remove check-abi configure option.
23902 * configure: Regenerated.
23903 * config.make.in (enable-check-abi): Remove.
23905 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23908 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23909 double functions to double *_finite functions.
23912 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23913 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23915 * stdio-common/Makefile (tests): Add tst-sprintf3.
23916 * stdio-common/tst-sprintf3.c: New file.
23918 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23919 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23921 2012-04-28 Joseph Myers <joseph@codesourcery.com>
23923 * conform/conformtest.pl: Remove duplicate typed-constant
23926 2012-04-28 David S. Miller <davem@davemloft.net>
23928 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23929 (check-abi-%): Remove AWK script prerequisite and explicit
23931 (check-abi): Rewrite to just diff the symlist with the abilist.
23932 (config-tls, config-abi-config): Delete, no longer used.
23933 (update-abi-%): Remove AWK script and explicit abilist directory.
23934 (update-abi): Rewrite to simply compare and conditionally copy the
23935 symlist and the sysdep abilist file. Remove update-abi-config
23937 * abilist/ld.abilist: Remove.
23938 * abilist/libBrokenLocale.abilist: Remove.
23939 * abilist/libanl.abilist: Remove.
23940 * abilist/libcrypt.abilist: Remove.
23941 * abilist/libdl.abilist: Remove.
23942 * abilist/librt.abilist: Remove.
23943 * abilist/libthread_db.abilist: Remove.
23944 * abilist/libutil.abilist: Remove.
23945 * scripts/extract-abilist.awk: Remove.
23946 * scripts/merge-abilist.awk: Remove.
23947 * sysdeps/generic/libcidn.abilist: New file.
23948 * sysdeps/generic/libnss_compat.abilist: New file.
23949 * sysdeps/generic/libnss_db.abilist: New file.
23950 * sysdeps/generic/libnss_dns.abilist: New file.
23951 * sysdeps/generic/libnss_files.abilist: New file.
23952 * sysdeps/generic/libnss_hesiod.abilist: New file.
23953 * sysdeps/generic/libnss_nis.abilist: New file.
23954 * sysdeps/generic/libnss_nisplus.abilist: New file.
23955 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23956 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23957 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23959 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23960 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23961 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23962 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23963 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23964 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23965 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23966 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23967 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23969 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23970 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23971 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
23972 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
23974 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
23975 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
23976 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
23977 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
23978 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
23979 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
23981 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
23982 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
23983 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
23985 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
23986 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
23988 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
23990 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
23992 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
23994 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
23996 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
23998 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24000 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24002 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24004 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24006 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24008 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24010 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24012 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24039 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24041 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24043 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24047 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24051 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24053 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24055 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24057 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24061 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24064 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24066 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24068 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24072 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24074 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24076 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24078 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24080 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24082 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24084 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24086 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24088 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24089 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24090 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24092 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24093 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24094 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24095 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24096 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24097 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24098 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24099 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24100 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24101 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24103 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24105 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24107 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24111 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24113 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24117 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24119 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24121 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24125 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24128 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24130 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24132 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24136 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24140 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24142 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24148 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24150 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24153 2012-04-28 Joseph Myers <joseph@codesourcery.com>
24155 * conform/conformtest.pl: Fix typo in handling typed-constant from
24158 2012-04-27 Joseph Myers <joseph@codesourcery.com>
24160 * README: Cut down references to pre-2.6 Linux kernels and
24161 Linuxthreads. Update lists of configurations in libc and ports
24162 and sort alphabetically. Say "or newer" with Linux kernel version
24165 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24167 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24170 * math/libm-test.inc (logb_test_downward): New test to expose
24171 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24174 2012-04-27 Joseph Myers <joseph@codesourcery.com>
24177 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24179 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24180 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24182 2012-04-26 Joseph Myers <joseph@codesourcery.com>
24184 * sysdeps/unix/i386/brk.S: Remove file.
24185 * sysdeps/unix/i386/dl-brk.S: Likewise.
24186 * sysdeps/unix/i386/pipe.S: Likewise.
24187 * sysdeps/unix/i386/sigreturn.S: Likewise.
24188 * sysdeps/unix/i386/syscall.S: Likewise.
24189 * sysdeps/unix/i386/vfork.S: Likewise.
24190 * sysdeps/unix/i386/wait.S: Likewise.
24192 * sysdeps/unix/common/tcsendbrk.c: Move to ...
24193 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24195 * configure.in (arm*-none*): Do not allow without
24196 --enable-hacker-mode.
24197 (netbsd*): Remove case setting base_os.
24198 (386bsd*): Likewise.
24199 (freebsd*): Likewise.
24202 (sunos*): Likewise.
24203 (ultrix*): Likewise.
24204 (newsos*): Likewise.
24205 (dynix*): Likewise.
24211 (minix*): Likewise.
24212 (irix4*): Likewise.
24213 (irix6*): Likewise.
24214 (solaris[2-9]*): Likewise.
24216 * configure: Regenerated.
24218 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24221 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24222 overflow or cancellation in calculating denominator.
24223 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24224 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24225 down expression to avoid unexpected rounding in newer GCCs.
24226 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24228 2012-04-26 David S. Miller <davem@davemloft.net>
24230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24231 long-double compat symbols.
24232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24235 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24246 2012-04-25 David S. Miller <davem@davemloft.net>
24248 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24249 HWCAP_* values only after the memory barriers have been defined.
24250 (atomic_full_barrier): Define.
24251 (atomic_read_barrier): Define.
24252 (atomic_write_barrier): Define.
24254 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24256 * shlib-versions: Add libgcc_s version information.
24257 * sysdeps/generic/libgcc_s.h: Remove.
24258 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24260 * sysdeps/gnu/unwind-resume.c: Likewise.
24261 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24263 2012-04-25 David S. Miller <davem@davemloft.net>
24265 * sysdeps/unix/sparc/brk.S: Delete.
24266 * sysdeps/unix/sparc/dl-brk.S: Delete.
24267 * sysdeps/unix/sparc/pipe.S: Delete.
24268 * sysdeps/unix/sparc/sysdep.S: Delete.
24269 * sysdeps/unix/sparc/sysdep.h: Delete.
24270 * sysdeps/unix/sparc/vfork.S: Delete.
24271 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24272 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24273 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24274 ret_ERRVAL, r0, r1, MOVE): Define.
24275 (JUMPTARGET): Remove.
24276 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24277 sysdeps/unix/sparc/sysdep.h
24278 (ENTRY, END): Remove.
24279 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24281 2012-04-25 Joseph Myers <joseph@codesourcery.com>
24283 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24284 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24287 * timezone/README: Update upstream location and email address for
24289 * timezone/zdump.c: Update from tzcode 2012b.
24290 * timezone/zic.c: Likewise.
24292 * configure.in (libc_cv_as_needed): Remove test.
24293 * configure: Regenerated.
24294 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
24295 conditional definition.
24296 [$(have-as-needed) != yes] (no-as-needed): Likewise.
24297 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
24298 * config.make.in (have-as-needed): Remove variable.
24300 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24301 Paul Pluzhnikov <ppluzhnikov@google.com>
24303 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24306 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
24308 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24309 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24310 * sysdeps/sh/strlen.S: Likewise.
24312 2012-04-24 Joseph Myers <joseph@codesourcery.com>
24314 * sysdeps/unix/fork.S: Remove file.
24315 * sysdeps/unix/i386/fork.S: Likewise.
24316 * sysdeps/unix/sparc/fork.S: Likewise.
24318 * sysdeps/unix/system.c: Remove file.
24319 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24321 * sysdeps/unix/getegid.S: Remove file.
24322 * sysdeps/unix/geteuid.S: Likewise.
24324 2012-04-24 Roland McGrath <roland@hack.frob.com>
24326 * scripts/check-localplt.awk: New file.
24327 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24329 * scripts/data/localplt-generic.data: Add a comment.
24331 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24332 NODE when __dir_mkfile failed.
24333 * sysdeps/mach/hurd/symlinkat.c: Likewise.
24334 Reported by Ludovic Courtès <ludo@gnu.org>.
24336 2012-04-24 Andreas Jaeger <aj@suse.de>
24338 * Makerules (common-clean): Also remove gen-as-const-headers
24341 2012-04-24 Joseph Myers <joseph@codesourcery.com>
24343 * Makerules (native-compile): Do not change working directory for
24344 build. Use $(OUTPUT_OPTION) in command.
24345 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24347 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24350 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24351 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24352 * math/libm-test.inc (floor_test): Add more tests.
24353 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24355 2012-04-24 Joseph Myers <joseph@codesourcery.com>
24357 * sysdeps/unix/getdents.c: Remove file.
24358 * sysdeps/unix/sysv/getdents.c: Likewise.
24359 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24361 * sysdeps/unix/syscalls.list (madvise): Add syscall from
24362 sysdeps/unix/mman/syscalls.list.
24364 (mprotect): Likewise.
24366 (munmap): Likewise.
24367 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24368 * sysdeps/unix/mman/syscalls.list: Remove.
24369 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24371 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24372 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24373 * configure: Regenerated.
24374 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24375 $(libgcc_s_suffix).
24376 * config.make.in (libgcc_s_suffix): Remove variable.
24378 2012-04-23 Joseph Myers <joseph@codesourcery.com>
24380 * sysdeps/unix/sysv/gethostname.c: Move to ...
24381 * sysdeps/posix/gethostname.c: ... here.
24383 * sysdeps/unix/execve.S: Remove file.
24385 * sysdeps/unix/_exit.S: Remove file.
24387 2012-04-23 Andreas Jaeger <aj@suse.de>
24390 * manual/Makefile: Remove make dist support, there's no
24391 need for a stand-alone documentation tar ball.
24392 (TEXI2DVI): Define always, it's not in Makeconfig.
24395 (edition): Removed.
24396 (glibc-doc-$(edition).tar): Removed
24400 (ETAGS): Remove, it's in Makeconfig.
24401 (move-if-change): Remove, it's in Makeconfig.
24403 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
24406 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24407 (strtod, strtof, strtold, strtol, strtoul, strtoq)
24408 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24409 (strtod_l, strtof_l, strtold_l): Remove __wur.
24410 It is not necessarily an error to ignore strtol's return value.
24411 One can reliably look at the stored endptr to decide whether
24412 the number had valid syntax.
24414 2012-04-21 Andreas Jaeger <aj@suse.de>
24417 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24419 2012-04-21 Joseph Myers <joseph@codesourcery.com>
24421 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24422 * sysdeps/unix/sysv/Versions: Remove file.
24424 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
24427 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24429 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
24432 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24433 version from __vm86.
24435 2012-04-20 Joseph Myers <joseph@codesourcery.com>
24437 * sysdeps/unix/common/lxstat.c: Remove file.
24438 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24440 * sysdeps/unix/sysv/Makefile: Remove file.
24442 * sysdeps/unix/sysv/direct.h: Remove file.
24444 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24445 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24446 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24447 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24448 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24449 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24450 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24452 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24454 * sysdeps/unix/xmknod.c: Remove file.
24455 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24457 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24459 * sysdeps/unix/sysv/i386/time.S: Remove file.
24461 * sysdeps/unix/fxstat.c: Remove file.
24462 * sysdeps/unix/xstat.c: Likewise.
24463 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24465 * sysdeps/unix/sysv/sigaction.c: Remove file.
24467 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24468 (sysdep_headers): Remove variable.
24469 [termio.h not in sysdep_headers] (generated): Likewise.
24470 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24471 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24472 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24473 * sysdeps/unix/sysv/tcflow.c: Likewise.
24474 * sysdeps/unix/sysv/tcflush.c: Likewise.
24475 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24476 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24477 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24478 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24479 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24481 * sysdeps/unix/siglist.c: Remove file.
24483 * sysdeps/unix/getppid.S: Remove file.
24485 * sysdeps/unix/mkdir.c: Remove file.
24486 * sysdeps/unix/rmdir.c: Likewise.
24488 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24490 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24492 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24493 errlist-compat value.
24495 2012-04-18 David S. Miller <davem@davemloft.net>
24497 * sysdeps/generic/memcopy.h (reg_char): Delete.
24498 * debug/strcat_chk.c: Use char, not reg_char.
24499 * debug/strcpy_chk.c: Likewise.
24500 * debug/strncat_chk.c: Likewise.
24501 * debug/strncpy_chk.c: Likewise.
24502 * string/memchr.c: Likewise.
24503 * string/memrchr.c: Likewise.
24504 * string/rawmemchr.c: Likewise.
24505 * string/strcat.c: Likewise.
24506 * string/strchr.c: Likewise.
24507 * string/strchrnul.c: Likewise.
24508 * string/strcmp.c: Likewise.
24509 * string/strcpy.c: Likewise.
24510 * string/strncat.c: Likewise.
24511 * string/strncmp.c: Likewise.
24512 * string/strncpy.c: Likewise.
24514 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24516 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24517 __builtin_memcopy is called when src and dest ranges are known to not
24520 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24522 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24523 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24524 fwd_align_merge macro call.
24525 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24526 bwd_align_merge macro call.
24527 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24529 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24531 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24532 bwd_align_merge macros.
24533 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24534 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24535 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24537 2012-04-18 David S. Miller <davem@davemloft.net>
24539 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24541 2012-04-18 Andreas Jaeger <aj@suse.de>
24544 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24545 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24546 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24548 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24549 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24550 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24552 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24553 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24554 Adjust for changed ldbl-128 files.
24556 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24557 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24558 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24560 2012-04-17 David S. Miller <davem@davemloft.net>
24562 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24564 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24566 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24567 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24568 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24569 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24570 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24571 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24573 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24576 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24577 * math/libm-test.inc: Add ilogb errno and exception tests.
24578 * math/w_ilogb.c: New file: ilogb wrapper.
24579 * math/w_ilogbf.c: New file: ilogbf wrapper.
24580 * math/w_ilogbl.c: New file: ilogbl wrapper.
24581 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24582 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24583 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24584 exception being thrown with 0.0 as argument.
24585 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24586 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24587 exception being thrown with 0.0 as argument.
24588 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24589 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24590 exception being thrown with 0.0 as argument.
24591 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24592 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24593 exception being thrown with 0.0 as argument.
24594 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24595 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
24596 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
24597 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24598 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24599 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24600 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24601 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24602 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24604 2012-04-17 Petr Baudis <pasky@ucw.cz>
24606 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24609 2012-04-16 Marek Polacek <polacek@redhat.com>
24611 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24613 2012-04-16 Marek Polacek <polacek@redhat.com>
24615 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24616 operands of fdivp instruction.
24618 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24620 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24621 * elf/tst-auditmod3b.c: Likewise.
24622 * elf/tst-auditmod4b.c: Likewise.
24623 * elf/tst-auditmod5b.c: Likewise.
24624 * elf/tst-auditmod6b.c: Likewise.
24625 * elf/tst-auditmod6c.c: Likewise.
24626 * elf/tst-auditmod7b.c: Likewise.
24627 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24628 * sysdeps/x86_64/preconfigure.in: Likewise.
24629 * sysdeps/x86_64/preconfigure: Regenerated.
24631 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24633 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24636 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
24638 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24639 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24641 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24644 * locale/iso-639.def: Fix gl language name. Spotted by
24647 2012-04-12 Roland McGrath <roland@hack.frob.com>
24650 * libio/libio.h (__io_write_fn): Update comment.
24652 2012-04-12 Petr Baudis <pasky@ucw.cz>
24655 * stdio.texi (Hook Functions): The user provided writer function
24656 is not allowed to return -1.
24658 2012-04-11 David S. Miller <davem@davemloft.net>
24660 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24662 2012-04-11 Mike Frysinger <vapier@gentoo.org>
24664 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24665 Add a leading slash to rtkaio.
24667 2012-04-11 Jim Meyering <meyering@redhat.com>
24670 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24671 It is not necessarily an error to ignore fwrite's return
24672 value. One can reliably use ferror to test for errors after
24675 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24677 * bits/types.h (__snseconds_t): New type.
24678 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24680 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24681 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24682 (__SNSECONDS_T_TYPE): Likewise.
24683 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24684 (__SNSECONDS_T_TYPE): Likewise.
24685 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24686 (__SNSECONDS_T_TYPE): Likewise.
24688 2012-04-10 Andreas Jaeger <aj@suse.de>
24691 * manual/time.texi (Processor Time): Return type of times is
24692 elapsed real time since an arbitrary point in the past.
24693 (CPU Time): Move CLK_TCK from here...
24694 (Processor Time): ...to here. Correct description.
24695 * manual/conf.texi (Constants for Sysconf): Correct description of
24698 2012-04-10 David S. Miller <davem@davemloft.net>
24701 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24702 where the is a gap between DT_REL(A) and DT_JMPREL.
24704 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24706 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24707 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24708 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24710 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24712 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24713 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24714 (dl_main): Handle --inhibit-cache.
24715 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24717 * elf/dl-load.c (_dl_map_object): Use it.
24718 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24720 2012-04-09 Joseph Myers <joseph@codesourcery.com>
24723 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24724 (__ieee754_powl): Saturate large exponents rather than testing for
24725 overflow of y*log2(x).
24726 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24727 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24731 * math/s_ctan.c: Include <float.h>.
24732 (__ctan): Avoid internal overflow or cancellation in calculating
24734 * math/s_ctanf.c: Likewise.
24735 * math/s_ctanl.c: Likewise.
24736 * math/s_ctanh.c: Likewise.
24737 * math/s_ctanhf.c: Likewise.
24738 * math/s_ctanhl.c: Likewise.
24739 * math/libm-test.inc (ctan_test): Add more tests.
24740 (ctanh_test): Likewise.
24741 * sysdeps/i386/fpu/libm-test-ulps: Update.
24742 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24744 2012-04-09 Andreas Jaeger <aj@suse.de>
24747 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24748 is an optional BSD extension.
24751 * manual/stdio.texi (Opening Streams): Document additional fopen
24754 2012-04-09 Roland McGrath <roland@hack.frob.com>
24756 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24757 %eax without telling the compiler.
24759 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24762 * manual/install.texi: Use sourceware.org.
24764 2012-04-09 Joseph Myers <joseph@codesourcery.com>
24767 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24768 (__ieee754_pow): Generate overflow and underflow using huge*huge
24769 and tiny*tiny rather than just returning constant infinity or zero
24770 for large exponents.
24771 * math/libm-test.inc (pow_test): Require overflow exceptions for
24772 applicable cases of large exponents.
24775 * sysdeps/i386/fpu/e_pow.S (p10): New object.
24776 (__ieee754_pow): Use iterative multiplication algorithm only for
24777 integer exponents with absolute value below 1024. Check for odd
24778 integer exponents when using algorithm for real exponents.
24779 * math/libm-test.inc (pow_test): Add more tests.
24780 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24782 2012-04-08 Joseph Myers <joseph@codesourcery.com>
24785 * math/libm-test.inc (exp_test): Do not allow overflow exception
24788 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24791 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24792 instead of __kernel_standard_f.
24794 2012-04-08 Mike Frysinger <vapier@gentoo.org>
24796 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24797 * sysdeps/x86_64/memset_chk.S: Likewise.
24799 2012-04-08 Andreas Jaeger <aj@suse.de>
24802 * manual/startup.texi (Environment Access): Describe return value
24803 for putenv and setenv.
24806 * manual/filesys.texi (Directory Entries): Add description for
24810 * manual/filesys.texi (Directory Entries): Clarify that it's file
24811 system not operating system in the description of DT_UNKNOWN.
24814 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24816 2012-04-08 Stephen Compall <s11@member.fsf.org>
24819 * manual/llio.texi (Opening and Closing Files): Add cross
24820 reference to explain mode argument.
24822 2012-04-07 Mike Frysinger <vapier@gentoo.org>
24824 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24825 * sysdeps/x86_64/memset_chk.S: Likewise.
24827 2012-04-07 David S. Miller <davem@davemloft.net>
24829 * elf/elf.h (R_SPARC_WDISP10): Define.
24830 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24832 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24833 R_SPARC_SIZE64 and R_SPARC_H34.
24835 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24837 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24838 conditions and remove no longer applicable assertion.
24840 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24842 * bits/byteswap.h: Include <features.h>.
24843 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24844 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24846 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24848 * bits/byteswap.h (__bswap_16): Removed.
24849 Include <bits/byteswap-16.h> to get __bswap_16.
24850 * sysdeps/i386/bits/byteswap.h: Likewise.
24851 * sysdeps/s390/bits/byteswap.h: Likewise.
24852 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24853 * bits/byteswap-16.h: New file.
24854 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24855 * sysdeps/s390/bits/byteswap-16.h: Likewise.
24856 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24857 * string/Makefile (headers): Add bits/byteswap-16.h.
24859 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24862 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24864 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24865 * nss/tst-nss-static.c: New.
24867 2012-04-06 Robert Millan <rmh@gnu.org>
24870 * manual/llio.texi (File Position Primitive): lseek
24871 refers to WHENCE when it really means OFFSET.
24873 2012-04-06 Andreas Jaeger <aj@suse.de>
24875 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24876 strncmp declarations.
24878 * abilist/libc.abilist: Add __poll and __ppoll.
24880 2012-04-05 David S. Miller <davem@davemloft.net>
24882 * scripts/check-local-headers.sh: Accept a host triplet in the
24883 path matched by the exclude regexp.
24885 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24887 * sysdeps/powerpc/powerpc32/dl-machine.h
24888 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24889 * sysdeps/s390/s390-32/dl-machine.h
24890 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24891 * sysdeps/sparc/sparc32/dl-machine.h
24892 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24893 * sysdeps/sparc/sparc64/dl-machine.h
24894 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24896 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24898 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
24899 undefined symbol errors.
24901 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
24904 2012-04-05 Michael Matz <matz@suse.de>
24907 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24909 2012-04-05 Andreas Jaeger <aj@suse.de>
24912 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24915 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24917 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24918 which ROUND is no valid rounding mode.
24920 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24922 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24924 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24926 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24928 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24929 an exception using FPU order intentionally.
24931 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24933 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24934 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24935 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24936 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24938 2012-04-05 Simon Josefsson <simon@josefsson.org>
24941 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24942 EINVAL when BUFLEN is too smal.
24944 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24947 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24948 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24950 2012-04-03 Andreas Jaeger <aj@suse.de>
24953 * manual/setjmp.texi (System V contexts): Fix sentence.
24956 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24957 New macro for this case.
24958 [!__GNUC__] (__bswap_64): New inline function for this case.
24959 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24960 * bits/byteswap.h: Likewise.
24961 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24962 ull, guard with __GLIBC_HAVE_LONG_LONG.
24964 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24965 __GLIBC_HAVE_LONG_LONG.
24967 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24968 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24970 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24973 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
24974 inptr and inend, rather than using last_ch.
24976 2012-04-02 David S. Miller <davem@davemloft.net>
24978 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
24979 * stdio-common/printf-parse.h (read_int): Change return type to
24980 'int', return -1 on INT_MAX overflow.
24981 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
24982 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
24983 overflows INT_MAX. Check for overflow of in-format-string precision
24984 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
24985 SIZE_MAX not INT_MAX for integer overflow test.
24986 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
24987 skip the construct in the format string but do not record anything.
24988 * stdio-common/bug22.c: Adjust to test both width/prevision
24989 INT_MAX overflow as well as total length INT_MAX overflow. Check
24990 explicitly for proper errno values.
24992 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
24994 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
24996 * string/test-strcmp.c [! WIDE]: Likewise.
24997 * time/tst-mktime2.c: Likewise for INT_MAX.
24998 * string/test-string.h: #include <sys/param.h> for MIN.
25000 * csu/init-first.c (__libc_init_first): Call __ctype_init.
25001 * sysdeps/i386/init-first.c (init): Likewise.
25002 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25003 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25004 * sysdeps/sh/init-first.c (init): Likewise.
25006 2012-04-01 Ulrich Drepper <drepper@gmail.com>
25008 * po/ru.po: Update from translation team.
25009 * po/vi.po: Likewise.
25011 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25013 * resolv/nss_dns/dns-host.c: Merge copyright years.
25015 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25017 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25018 Optimize memcpy with prefetch if
25019 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
25020 src, dst pointers have unequal 16 byte alignments.
25022 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25025 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25026 from a CNAME entry and return the minimum ttl for the query.
25027 (gaih_getanswer_slice): Likewise.
25029 2012-03-30 Jeff Law <law@redhat.com>
25031 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25033 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25034 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25036 * resolv/nss_dns/dns-host.c: Update copyright year.
25038 2012-03-30 Ulrich Drepper <drepper@gmail.com>
25040 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
25041 requests to save a system call. Fix check that all bytes are sent.
25043 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25044 comments for sendmmsg.
25046 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25049 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25050 with only 1 character between 0x0041 and 0x01b0.
25051 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25052 * wcsmbs/tst-mbsnrtowcs.c: New file.
25054 2012-03-29 David S. Miller <davem@davemloft.net>
25056 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25057 small copies by hand.
25059 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25062 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25063 _nss_compat_initgroups_dyn): Fall back to malloc/free
25064 for large group memberships.
25066 2012-03-28 David S. Miller <davem@davemloft.net>
25068 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25069 that branches into memcpy.
25070 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25071 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25072 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25073 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25074 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25076 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25077 implementation too.
25078 * sysdeps/sparc/mempcpy.S: New file.
25080 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25081 the IFUNC routine in the libc case.
25082 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25084 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25085 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25086 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25087 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25088 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25089 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25090 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25091 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25093 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25094 loop to 256 bytes instead of 64 bytes and fix test signedness.
25096 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25097 * sysdeps/sparc/sparc32/Makefile: rather than here...
25098 * sysdeps/sparc/sparc64/Makefile: and here.
25100 2012-03-28 Ulrich Drepper <drepper@gmail.com>
25102 * malloc/mallocbug.c: Avoid warnings about unused variables.
25104 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25107 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25108 in the right place. Discard and retry query if response is
25109 larger than input buffer size.
25111 2012-03-28 Joseph Myers <joseph@codesourcery.com>
25116 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25117 x for large integer exponent.
25118 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25119 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25120 sign of result as needed afterwards.
25121 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25122 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25123 result for underflowing pow the same as for overflow.
25124 (__kernel_standard_l): Handle powl overflow and underflow here
25125 rather than calling __kernel_standard.
25126 * math/libm-test.inc (pow_test): Add more tests.
25141 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25142 * sysdeps/ieee754/k_standard.c: Include <float.h>.
25143 (__kernel_standard_l): New function.
25144 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25146 * math/w_acosl.c (__acosl): Likewise.
25147 * math/w_asinl.c (__asinl): Likewise.
25148 * math/w_atan2l.c (__atan2l): Likewise.
25149 * math/w_atanhl.c (__atanhl): Likewise.
25150 * math/w_coshl.c (__coshl): Likewise.
25151 * math/w_exp10l.c (__exp10l): Likewise.
25152 * math/w_exp2l.c (__exp2l): Likewise.
25153 * math/w_fmodl.c (__fmodl): Likewise.
25154 * math/w_hypotl.c (__hypotl): Likewise.
25155 * math/w_j0l.c (__j0l, __y0l): Likewise.
25156 * math/w_j1l.c (__j1l, __y1l): Likewise.
25157 * math/w_jnl.c (__jnl, __ynl): Likewise.
25158 * math/w_lgammal.c (__lgammal): Likewise.
25159 * math/w_log10l.c (__log10l): Likewise.
25160 * math/w_log2l.c (__log2l): Likewise.
25161 * math/w_logl.c (__logl): Likewise.
25162 * math/w_powl.c (__powl): Likewise.
25163 * math/w_remainderl.c (__remainderl): Likewise.
25164 * math/w_scalbl.c (sysv_scalbl): Likewise.
25165 * math/w_sinhl.c (__sinhl): Likewise.
25166 * math/w_sqrtl.c (__sqrtl): Likewise.
25167 * math/w_tgammal.c (__tgammal): Likewise.
25168 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25169 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25170 * math/libm-test.inc (acos_test): Add more tests.
25171 (acosh_test): Likewise.
25172 (asin_test): Likewise.
25173 (atanh_test): Likewise.
25174 (exp_test): Likewise.
25175 (exp10_test): Likewise.
25176 (exp2_test): Likewise.
25177 (expm1_test): Likewise.
25178 (lgamma_test): Likewise.
25179 (log_test): Likewise.
25180 (log10_test): Likewise.
25181 (log1p_test): Likewise.
25182 (log2_test): Likewise.
25183 (pow_test): Do not allow some spurious overflow exceptions.
25184 (sqrt_test): Add more tests.
25185 (tgamma_test): Likewise.
25186 (y0_test): Likewise.
25187 (y1_test): Likewise.
25188 (yn_test): Likewise.
25190 2012-03-27 Anton Blanchard <anton@samba.org>
25192 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25194 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25195 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25196 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25198 2012-03-27 David S. Miller <davem@davemloft.net>
25200 * conform/Makefile: Run run-conformtest.sh using $(BASH).
25202 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25203 have-as-vis3 check.
25205 2012-03-27 Andreas Jaeger <aj@suse.de>
25207 * sysdeps/x86_64/elf/configure.in: Moved to ...
25208 * sysdeps/x86_64/configure.in: ... here.
25209 * sysdeps/x86_64/elf/start.S: Moved to ...
25210 * sysdeps/x86_64/start.S: ... here.
25211 * sysdeps/x86_64/elf/configure: Delete.
25213 * sysdeps/x86_64/configure.in: Merge contents from
25214 sysdeps/i386/configure.in (without i686 check).
25216 * sysdeps/i386/elf/Versions: Merge into ...
25217 * sysdeps/i386/Versions: ... this.
25218 * sysdeps/i386/elf/Versions: Delete file.
25219 * sysdeps/i386/elf/start.S: Moved to ...
25220 * sysdeps/i386/start.S: ...here.
25221 * sysdeps/i386/elf/configure.in: Merge into...
25222 * sysdeps/i386/configure.in: ...here.
25223 * sysdeps/i386/elf/configure.in: Delete file.
25224 * sysdeps/i386/elf/configure: Delete file.
25226 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25227 * debug/backtracesyms.c: ... here.
25228 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25229 * debug/backtracesymsfd.c: ... here.
25230 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25231 * sysdeps/generic/ifunc-sel.h: ... here.
25233 * sysdeps/unix/i386/start.c: Delete file.
25234 * sysdeps/unix/sparc/start.c: Delete file.
25235 * sysdeps/unix/start.c: Delete file.
25237 * sysdeps/sh/elf/configure.in: Moved to ...
25238 * sysdeps/sh/configure.in: ... here.
25239 * sysdeps/sh/elf/start.S: Moved to ...
25240 * sysdeps/sh/start.S: ... here.
25241 * sysdeps/sh/elf/configure: Delete file.
25243 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25244 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25245 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25246 * sysdeps/powerpc/powerpc64/entry.h: ... here.
25247 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25248 * sysdeps/powerpc/powerpc64/start.S: here.
25249 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25250 * sysdeps/powerpc/powerpc64/Makefile: ... this.
25251 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25252 * sysdeps/powerpc/powerpc64/configure.in: ... this.
25253 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25255 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25256 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25257 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25258 * sysdeps/powerpc/powerpc32/start.S: ... here.
25259 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25260 * sysdeps/powerpc/powerpc32/configure.in: ... this.
25261 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25263 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25264 * sysdeps/powerpc/ifunc-sel.h: ... here.
25265 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25266 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25268 * sysdeps/sparc/elf/configure.in: Moved to ...
25269 * sysdeps/sparc/configure.in: ... here.
25270 * sysdeps/sparc/elf/configure: Delete file.
25271 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25272 * sysdeps/sparc/sparc32/start.S: ... here.
25273 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25274 * sysdeps/sparc/sparc64/start.S: ... here.
25275 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25276 * sysdeps/sparc/sparc32/Makefile: ... this.
25277 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25278 * sysdeps/sparc/sparc64/Makefile: ... this.
25280 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
25281 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
25282 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
25283 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
25284 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
25285 * sysdeps/s390/s390-32/setjmp.S: ... here.
25286 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
25287 * sysdeps/s390/s390-32/configure.in: ... here.
25288 * sysdeps/s390/s390-32/elf/configure: Delete file.
25289 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
25290 * sysdeps/s390/s390-32/start.S: ... here.
25292 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
25293 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
25294 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
25295 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
25296 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
25297 * sysdeps/s390/s390-64/setjmp.S: ... here.
25298 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
25299 * sysdeps/s390/s390-64/configure.in: ... here
25300 * sysdeps/s390/s390-64/elf/configure: Delete file.
25301 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
25302 * sysdeps/s390/s390-64/start.S: ... here.
25303 * sysdeps/s390/s390-64/elf/configure: Delete.
25305 * configure.in: Remove support for elf directories in sysdeps.
25307 * configure: Regenerated.
25308 * sysdeps/i386/configure: Regenerated.
25309 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25310 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25311 * sysdeps/s390/s390-32/configure: Regenerated.
25312 * sysdeps/s390/s390-64/configure: Regenerated.
25313 * sysdeps/sh/configure: Regenerated.
25314 * sysdeps/sparc/configure: Regenerated.
25315 * sysdeps/x86_64/configure: Regenerated.
25317 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
25319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25321 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25322 denormal result into account.
25324 2012-03-25 Roland McGrath <roland@hack.frob.com>
25326 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25327 Reported by Allan McRae <allan@archlinux.org>.
25329 2012-03-23 Jeff Law <law@redhat.com>
25331 * nss/getnssent.c (__nss_getent): Fix typo.
25333 2012-03-23 David S. Miller <davem@davemloft.net>
25335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25337 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
25339 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25340 to pad to uint64_t for each field.
25341 (dl_tls_index): Replace unsigned long with uint64_t.
25343 2012-03-23 Daniel Jacobowitz <dmj@google.com>
25344 Paul Pluzhnikov <ppluzhnikov@google.com>
25347 * grp/Makefile (otherlibs): Don't set it.
25348 * inet/Makefile (otherlibs): Likewise.
25349 * login/Makefile (otherlibs): Likewise.
25350 * nscd/Makefile (otherlibs): Likewise.
25351 * posix/Makefile (otherlibs): Likewise.
25352 * pwd/Makefile (otherlibs): Likewise.
25353 * rt/Makefile (otherlibs): Likewise.
25354 * sunrpc/Makefile (otherlibs): Likewise.
25355 * nss/Makefile (otherlibs): Likewise.
25356 Add libnss_files to routines and static-only-routines.
25357 ($(objpfx)getent): Remove rule.
25358 * resolv/Makefile: Add libnss_dns and libresolv to routines and
25359 static-only-routines.
25361 2012-03-22 Joseph Myers <joseph@codesourcery.com>
25364 * math/s_cexp.c: Include <float.h>.
25365 (__cexp): Handle exp result overflowing not necessarily
25366 overflowing both real and imaginary parts of result.
25367 * math/s_cexpf.c: Likewise.
25368 * math/s_cexpl.c: Likewise.
25369 * math/libm-test.inc (cexp_test): Add more tests.
25370 * sysdeps/i386/fpu/libm-test-ulps: Update.
25371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25373 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25375 * include/link.h (ELFW): New macro.
25376 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25377 Replace ELF64_R_TYPE with ELFW(R_TYPE).
25379 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25381 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25384 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25386 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25388 (struct La_x32_retval): Likewise.
25390 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25392 * sysdeps/x86_64/preconfigure.in: New file.
25393 * sysdeps/x86_64/preconfigure: New generated file.
25395 2012-03-22 Joseph Myers <joseph@codesourcery.com>
25398 * math/e_exp2l.c: Include <float.h>.
25399 (__ieee754_exp2l): Handle overflow and underflow cases
25400 separately. Only pass fractional part of argument to
25402 * math/libm-test.inc (exp2_test): Add more tests.
25404 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25405 negating x to take absolute value.
25406 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25408 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25409 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25411 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25412 computing low part if x was negated.
25413 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25415 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25417 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25418 la_x32_gnu_pltexit.
25419 (pltexit): Cast int_retval to ptrdiff_t.
25420 * elf/tst-auditmod3b.c: Likewise.
25421 * elf/tst-auditmod4b.c: Likewise.
25422 * elf/tst-auditmod5b.c: Likewise.
25423 * elf/tst-auditmod6b.c: Likewise.
25424 * elf/tst-auditmod6c.c: Likewise.
25425 * elf/tst-auditmod7b.c: Likewise.
25427 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25428 and x32_gnu_pltexit.
25430 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25431 __ELF_NATIVE_CLASS.
25432 (La_x32_regs): New macro.
25433 (La_x32_retval): Likewise.
25434 (la_x32_gnu_pltenter): New function prototype.
25435 (la_x32_gnu_pltexit): Likewise.
25437 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25439 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25444 * configure.in (libc_cv_cc_nofma): Check for option to disable
25445 generation of FMA instructions.
25446 * configure: Regenerate.
25447 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25448 * sysdeps/ieee754/dbl-64/Makefile: New file.
25449 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25450 Remove brandred-fma4.
25451 (CFLAGS-brandred-fma4.c): Remove.
25452 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25453 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25455 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25458 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25460 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25461 LLONG_MAX != LONG_MAX.
25462 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25463 (_fitoa_word): Likewise.
25464 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25465 LLONG_MAX != LONG_MAX.
25466 * stdio-common/_itowa.h: Include <_itoa.h>.
25467 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25468 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25469 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25470 only if not defined.
25471 (_ITOA_WORD_TYPE): Likewise.
25472 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25473 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25475 2012-03-21 David S. Miller <davem@davemloft.net>
25477 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25479 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25481 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25482 of x86_64 when setting libc_cv_slibdir, libdir and
25484 * sysdeps/unix/sysv/linux/configure: Regenerated.
25486 2012-03-21 Joseph Myers <joseph@codesourcery.com>
25488 * manual/lang.texi (Old Varargs): Remove section.
25489 (How Variadic): Update menu.
25490 (va_start): Do not mention varargs.h.
25492 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25493 Joseph Myers <joseph@codesourcery.com>
25495 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25497 * configure: Regenerated.
25499 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25501 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25502 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25505 2012-03-21 Joseph Myers <joseph@codesourcery.com>
25508 * Makefile (files-for-dist): Remove NOTES.
25509 (NOTES): Remove rule.
25510 * README: Don't refer to NOTES.
25511 * manual/creature.texi: Don't include macros.texi.
25512 * manual/intro.texi (creature.texi): Remove comment referring to
25515 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25516 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25517 * configure: Regenerated.
25518 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25519 LIBC_TRY_CC_OPTION.
25520 (libc_cv_as_i686): Likewise.
25521 (libc_cv_cc_avx): Likewise.
25522 (libc_cv_cc_sse2avx): Likewise.
25523 (libc_cv_cc_fma4): Likewise.
25524 (libc_cv_cc_novzeroupper): Likewise.
25525 * sysdeps/i386/configure: Regenerated.
25528 * sysdeps/i386/fpu/s_cexp.S: Remove.
25529 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25530 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25531 * math/libm-test.inc (cexp_test): Add more tests.
25532 * sysdeps/i386/fpu/libm-test-ulps: Update.
25533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25535 2012-03-21 Allan McRae <allan@archlinux.org>
25537 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25539 2012-03-21 Joseph Myers <joseph@codesourcery.com>
25542 * math/w_exp2.c: Do not include <float.h>.
25543 (o_threshold, u_threshold): Remove.
25544 (__exp2): Calculate result before checking finiteness and calling
25546 * math/w_exp2f.c: Likewise.
25547 * math/w_exp2l.c: Likewise.
25548 * math/libm-test.inc (exp2_test): Require overflow exception for
25552 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25553 range of signed 64-bit integers before using fistpll. Remove
25554 checks for whether integers fit in mantissa bits.
25555 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25556 the range of signed 32-bit integers before using fistpl. Remove
25557 checks for whether integers fit in mantissa bits.
25558 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25559 (__ieee754_powl): Test for y outside the range of signed 64-bit
25560 integers before using fistpll. Reduce 64-bit values to 63-bit
25562 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25563 divide-by-zero is raised for zero to large negative powers.
25564 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25565 (__ieee754_powl): Test for y outside the range of signed 64-bit
25566 integers before using fistpll. Reduce 64-bit values to 63-bit
25568 * math/libm-test.inc (pow_test): Add more tests.
25570 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25572 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25573 <stdio-common/_itoa.h>.
25574 * debug/segfault.c: Likewise.
25575 * elf/dl-cache.c: Likewise.
25576 * elf/dl-minimal.c: Likewise.
25577 * elf/dl-misc.c: Likewise.
25578 * elf/dl-sysdep.c: Likewise.
25579 * elf/dl-version.c: Likewise.
25580 * elf/rtld.c: Likewise.
25581 * hurd/hurdsock.c: Likewise.
25582 * hurd/lookup-retry.c: Likewise.
25583 * malloc/malloc.c: Likewise.
25584 * malloc/mtrace.c: Likewise.
25585 * nscd/nscd_getgr_r.c: Likewise.
25586 * nscd/nscd_getpw_r.c: Likewise.
25587 * nscd/nscd_getserv_r.c: Likewise.
25588 * posix/getopt_init.c: Likewise.
25589 * posix/wordexp.c: Likewise.
25590 * stdio-common/_itoa.c: Likewise.
25591 * stdio-common/printf_fphex.c: Likewise.
25592 * stdio-common/vfprintf.c: Likewise.
25593 * string/_strerror.c: Likewise.
25594 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25595 * sysdeps/i386/i686/hp-timing.h: Likewise.
25596 * sysdeps/mach/_strerror.c: Likewise.
25597 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25598 * sysdeps/mach/hurd/sethostid.c: Likewise.
25599 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25600 * sysdeps/mach/xpg-strerror.c: Likewise.
25601 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25602 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25603 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25604 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25605 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25606 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25607 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25608 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25609 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25610 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25611 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25612 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25613 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25614 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25615 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25616 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25617 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25618 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25619 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25620 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25621 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25623 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25625 * stdio-common/_itoa.h: Moved to ...
25626 * sysdeps/generic/_itoa.h: Here.
25628 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25630 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25631 instead of "_itoa.h" and "_itowa.h".
25632 * stdio-common/vfprintf.: Likewise.
25634 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25636 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25638 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25639 (__signbit): Likwise.
25640 (llrintf): Likwise.
25643 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25645 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25648 2012-03-20 Joseph Myers <joseph@codesourcery.com>
25650 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25651 OVERFLOW_EXCEPTION_OK.
25652 * math/libm-test.inc ("Philosophy"): Update comment about
25654 (OVERFLOW_EXCEPTION): Define.
25655 (OVERFLOW_EXCEPTION_OK): Likewise.
25656 (INVALID_EXCEPTION_OK): Renumber.
25657 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25658 (IGNORE_ZERO_INF_SIGN): Likewise.
25659 (test_exceptions): Handle FE_OVERFLOW.
25660 (exp10_test): Expect overflow exceptions.
25661 (exp2_test): Likewise.
25662 (expm1_test): Likewise.
25663 (nextafter_test): Likewise.
25664 (pow_test): Likewise.
25665 (scalbn_test): Likewise.
25666 (scalbln_test): Likewise.
25668 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25670 * sysdeps/x86_64/bits/atomic.h
25671 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25673 (atomic_exchange_acq): Likewise.
25674 (__arch_exchange_and_add_body): Likewise.
25675 (__arch_add_body): Likewise.
25676 (atomic_add_negative): Likewise.
25677 (atomic_add_zero): Likewise.
25679 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25681 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
25682 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25684 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25686 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25687 Check __x86_64__ instead of __WORDSIZE.
25689 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25691 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25693 2012-03-19 David S. Miller <davem@davemloft.net>
25695 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25697 * sysdeps/sparc/fpu/fenv_private.h: New file.
25698 * sysdeps/sparc/fpu/math_private.h: Use it.
25699 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25701 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25702 (libc_feholdexcept_setroundl): Remove.
25703 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25705 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25706 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25708 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25710 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25711 int64_t instead of long int.
25712 (INSERT_WORDS64): Likwise.
25714 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25716 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25717 _Unwind_GetCFA return to _Unwind_Ptr first.
25719 2012-03-19 Joseph Myers <joseph@codesourcery.com>
25722 * math/s_clog.c: Include <float.h>.
25723 (__clog): Scale large or subnormal inputs.
25724 * math/s_clogf.c: Likewise.
25725 * math/s_clogl.c: Likewise.
25726 * math/s_clog10.c: Include <float.h>.
25727 (M_LOG10_2): Define.
25728 (__clog10): Scale large or subnormal inputs.
25729 * math/s_clog10f.c: Likewise.
25730 * math/s_clog10l.c: Likewise.
25731 * math/libm-test.inc (clog_test): Add more tests.
25732 (clog10_test): Likewise.
25733 * sysdeps/i386/fpu/libm-test-ulps: Update.
25734 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25737 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25739 * math/libm-test.inc (atan2_test): Add another test.
25741 * Makerules (common-objdir-compile): Remove.
25742 * sysdeps/unix/Makefile (config-generated): Do not add
25743 $(unix-generated) to variable.
25744 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25745 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25747 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25749 [generic bits/local_lim.h] (before-compile): Do not append to
25751 [generic bits/local_lim.h] (common-generated): Likewise.
25752 [generic sys/param.h] (before-compile): Do not append to variable.
25753 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25754 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25755 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25756 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25758 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25759 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25760 [generic sys/param.h] ($(addprefix
25761 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25762 [generic sys/param.h] (common-generated): Do not append to
25764 [generic sys/param.h] (sysdep_headers): Likewise.
25765 [generic bits/errno.h] (before-compile): Do not append to
25767 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25769 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25770 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25771 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25772 [generic bits/errno.h] (common-generated): Do not append to
25774 [generic bits/ioctls.h] (before-compile): Do not append to
25776 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25778 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25779 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25780 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25782 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25783 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25784 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25785 [generic bits/ioctls.h] (common-generated): Do not append to
25787 [generic sys/syscall.h] (syscall.h): Remove variable.
25788 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25790 [generic sys/syscall.h] (before-compile): Do not append to
25792 [generic sys/syscall.h] (common-generated): Likewise.
25793 * sysdeps/unix/errnos-tmpl.c: Remove file.
25794 * sysdeps/unix/errnos.awk: Likewise.
25795 * sysdeps/unix/ioctls-tmpl.c: Likewise.
25796 * sysdeps/unix/ioctls.awk: Likewise.
25797 * sysdeps/unix/mk-local_lim.c: Likewise.
25798 * sysdeps/unix/snarf-ioctls: Likewise.
25800 2012-03-19 Richard Henderson <rth@twiddle.net>
25802 * sysdeps/i386/fpu/fenv_private.h: New file.
25803 * sysdeps/i386/fpu/math_private.h: Use it.
25804 (math_opt_barrier, math_force_eval): Remove.
25805 (libc_feholdexcept_setround_53bit): Remove.
25806 (libc_feupdateenv_53bit): Remove.
25807 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25808 (math_opt_barrier, math_force_eval): Remove.
25809 (libc_feholdexcept): Remove.
25810 (libc_feholdexcept_setround): Remove.
25811 (libc_fetestexcept, libc_fesetenv): Remove.
25812 (libc_feupdateenv_test): Remove.
25813 (libc_feupdateenv, libc_feholdsetround): Remove.
25814 (libc_feresetround): Remove.
25816 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25817 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25819 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25820 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25821 (libc_feupdateenv_testl): New.
25822 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25823 (libc_feupdateenv_testf): New.
25824 (libc_feupdateenv): Use libc_feupdateenv_test.
25825 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25826 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25828 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25829 (libc_feholdsetroundf, libc_feholdsetroundl): New.
25830 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25831 (libc_feresetround_noex): New.
25832 (libc_feresetround_noexf): New.
25833 (libc_feresetround_noexl): New.
25834 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25835 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25836 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25837 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25839 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25840 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25842 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25843 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25844 SET_RESTORE_ROUND_NOEX.
25845 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25846 SET_RESTORE_ROUND_NOEXF.
25847 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25848 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25849 (libc_feholdsetroundf): New.
25850 (libc_feresetround, libc_feresetroundf): New.
25852 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25853 (libc_feholdexcept_setround_53bit): Convert from macro to function.
25854 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
25856 * sysdeps/generic/math_private.h: Include <fenv.h>.
25857 (default_libc_feholdexcept): New.
25858 (default_libc_feholdexcept_setround): New.
25859 (default_libc_fesetenv, default_libc_feupdateenv): New.
25860 (libc_feholdexcept): Only define if undefined.
25861 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25862 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25863 (libc_feholdexcept_setroundl): Likewise.
25864 (libc_feholdexcept_setround_53bit): Likewise.
25865 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25866 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25867 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25868 (libc_feupdateenv_53bit): Likewise.
25869 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25870 (libc_feholdexcept): Convert from macro to inline function.
25871 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25872 (libc_fesetenv, libc_feupdateenv): Likewise.
25874 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25875 not previously defined.
25876 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25877 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25878 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25879 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25880 * sysdeps/ieee754/flt-32/math_private.h: New file.
25881 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25882 math_private.h below SET_FLOAT_WORD.
25883 (__isnan, __isinf_ns, __finite): Remove.
25884 (__isnanf, __isinf_nsf, __finitef): Remove.
25886 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25888 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25890 2012-03-17 David S. Miller <davem@davemloft.net>
25893 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25896 2012-03-16 David S. Miller <davem@davemloft.net>
25898 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25902 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25904 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25905 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25906 sysdep_routines when subdir is sysvipc.
25907 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25908 __getshmlba helper.
25910 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25912 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25914 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25917 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25919 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25920 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25921 (__lround): Renamed to ...
25922 (__llround): This. Replace long int with long long int.
25923 Define lround functions as aliases of llround functions.
25924 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25926 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25928 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25929 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
25930 adresses to uintptr_t. Replace "long int" and "unsigned long
25931 int" with "greg_t" on va_arg.
25933 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25935 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25936 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25938 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25939 Move e_machine check before EI_CLASS check. Handle x32
25940 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25941 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25942 SKIP_EM_IA_64 and include
25943 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25945 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25946 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25947 (add_system_dir): New macro.
25949 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25950 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25952 2012-03-16 Joseph Myers <joseph@codesourcery.com>
25963 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25965 * math/w_j0f.c (j0f): Likewise.
25967 * math/w_j0l.c (__j0l): Likewise.
25969 * math/w_j1.c (j1): Likewise.
25971 * math/w_j1f.c (j1f): Likewise.
25973 * math/w_j1l.c (__j1l): Likewise.
25975 * math/w_jn.c (jn): Likewise.
25977 * math/w_jnf.c (jnf): Likewise.
25979 * math/w_jnl.c (__jnl): Likewise.
25981 * math/libm-test.inc (j0_test): Add more tests.
25982 (j1_test): Likewise.
25983 (jn_test): Likewise. Add trailing semicolon to existing test.
25984 (y0_test): Likewise.
25985 (y1_test): Likewise.
25986 * sysdeps/i386/fpu/libm-test-ulps: Update.
25987 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25991 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
25992 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
25993 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
25994 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
25995 (__tanl): Set errno for infinite argument.
25996 * sysdeps/i386/fpu/mptan.c: Remove.
25997 * sysdeps/i386/fpu/s_tan.S: Likewise.
25998 * sysdeps/i386/fpu/s_tanl.S: Likewise.
25999 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26000 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26001 * math/libm-test.inc (tan_test): Add more tests and enable more
26002 tests for double and long double.
26003 * sysdeps/i386/fpu/libm-test-ulps: Update.
26004 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26006 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
26008 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26009 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26011 2012-03-16 Roland McGrath <roland@hack.frob.com>
26013 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26014 * configure.in: Use it for both main tree and add-ons.
26015 * configure: Regenerated.
26017 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26019 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26021 2012-03-16 Joseph Myers <joseph@codesourcery.com>
26023 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26027 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26028 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26029 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26030 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26031 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26033 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26034 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26035 != 0 for prec == 2.
26036 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26037 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26038 * sysdeps/i386/fpu/s_cosl.S: Likewise.
26039 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26040 * sysdeps/i386/fpu/s_sinl.S: Likewise.
26041 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26042 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26043 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26044 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26045 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26046 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26047 * math/libm-test.inc (cos_test): Add more tests and enable more
26048 tests for long double.
26049 (sin_test): Likewise.
26050 (sincos_test): Likewise.
26051 * sysdeps/i386/fpu/libm-test-ulps: Update.
26052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26054 2012-03-16 David S. Miller <davem@davemloft.net>
26056 * sysdeps/sparc/fpu/math_private.h: New file.
26058 2012-03-15 David S. Miller <davem@davemloft.net>
26060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
26063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26068 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26069 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26070 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26074 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26075 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26077 * sysdeps/sparc/sparc-ifunc.h: New file.
26078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
26094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26102 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26103 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26104 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26105 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26106 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26107 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26108 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26109 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26110 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26111 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26112 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26113 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26114 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26115 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26116 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26117 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26118 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26119 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26120 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26121 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26123 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26125 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26127 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26129 2012-03-15 Andreas Jaeger <aj@suse.de>
26132 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26133 ieee754/flt-32 implementation for sin, cos and sincos.
26134 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26135 * sysdeps/i386/fpu/s_cosf.S: Likewise.
26136 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26137 * sysdeps/i386/fpu/s_sinf.S: Likewise.
26138 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26139 ieee754/flt-32 implementation for tan.
26141 * math/libm-test.inc (cos_test): Enable some large input tests for
26143 (sin_test): Likewise.
26144 (sincos_test): Likewise.
26145 (tan_test): Add tests for large input.
26147 * sysdeps/i386/fpu/libm-test-ulps: Update.
26149 2012-03-15 Andreas Jaeger <aj@suse.de>
26152 * math/libm-test.inc (cos_test): Add more test cases.
26153 (sin_test): Likewise.
26154 (sincos_test): Likewise.
26156 2012-03-15 Andreas Jaeger <aj@suse.de>
26159 * math/libm-test.inc (cos_test): Add a test case for large input
26161 (sin_test): Likewise.
26162 (sincos_test): Likewise.
26164 2012-03-15 Andreas Jaeger <aj@suse.de>,
26165 Joseph Myers <joseph@codesourcery.com>
26168 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
26169 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26170 * sysdeps/i386/fpu/branred.c: Likewise.
26171 * sysdeps/i386/fpu/dosincos.c: Likewise.
26172 * sysdeps/i386/fpu/mpa.c: Likewise.
26173 * sysdeps/i386/fpu/s_cos.S: Likewise.
26174 * sysdeps/i386/fpu/s_sin.S: Likewise.
26175 * sysdeps/i386/fpu/s_sincos.S: Likewise.
26176 * sysdeps/i386/fpu/sincos32.c: Likewise.
26178 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26180 (libc_feupdateenv_53bit): Define.
26181 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26183 (libc_feupdateenv_53bit): Define.
26185 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26186 53 bit (without extend i386 double precision).
26188 * math/libm-test.inc (sincos_test): Add tests for large input.
26192 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26194 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26196 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26198 2012-03-15 David S. Miller <davem@davemloft.net>
26200 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26201 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26202 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26203 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26204 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26205 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26210 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26211 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26212 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
26215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26217 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
26218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26220 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
26221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
26224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26226 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26227 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26228 fmin/fmax sysdep routines.
26229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26231 2012-03-14 David S. Miller <davem@davemloft.net>
26233 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26234 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26235 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26236 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26237 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26238 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26239 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26240 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26241 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26242 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26243 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26244 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26245 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26248 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26249 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26250 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26251 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26253 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26254 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26255 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26256 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26257 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26258 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26259 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26260 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
26261 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26265 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
26266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
26269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
26272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
26275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
26278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26286 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26292 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
26293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
26296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
26299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
26301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
26302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
26305 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26308 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26310 * sysdeps/sparc/configure.in: New file.
26311 * sysdeps/sparc/configure: Generate.
26312 * configure.in (libc_cv_sparc_as_vis3): Substitute.
26313 * configure: Regenerate.
26314 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26315 * config.make.in (have-as-vis3): New.
26316 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26317 available use -Av9d instead of -Av9a.
26318 * sysdeps/sparc/sparc64/Makefile: Likewise.
26319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
26320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26328 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26329 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26330 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26331 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26332 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26334 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26335 fzeros/fnegs to load 0x80000000 into a float register instead of
26337 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26339 2012-03-14 Joseph Myers <joseph@codesourcery.com>
26341 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26343 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26344 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26345 ($(inst_includedir)/bits/syscall.h): Remove rule.
26346 ($(objpfx)bits/syscall.d): Include instead of
26347 $(objpfx)syscall-list.d.
26348 (generated): Change syscall-list.h and syscall-list.d to
26349 bits/syscall.h and bits/syscall.d.
26351 2012-03-14 Roland McGrath <roland@hack.frob.com>
26354 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26356 2012-03-14 Joseph Myers <joseph@codesourcery.com>
26359 * math/s_csqrt.c: Include <float.h>.
26360 (__csqrt): Scale large or subnormal inputs.
26361 * math/s_csqrtf.c: Likewise.
26362 * math/s_csqrtl.c: Likewise.
26363 * math/libm-test.inc (csqrt_test): Add more tests.
26364 * sysdeps/i386/fpu/libm-test-ulps: Update.
26365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26368 * math/libm-test.inc (hypot_test): Add more tests.
26370 2012-03-13 David S. Miller <davem@davemloft.net>
26373 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26374 double-precision for the calculation instead of scaling.
26376 2012-03-13 Joseph Myers <joseph@codesourcery.com>
26378 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26379 manipulate bits before adding and subtracting TWO52[sx].
26380 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26381 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26383 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26385 2012-03-13 David S. Miller <davem@davemloft.net>
26387 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26388 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26389 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26390 rtld-global-offsets.h
26391 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26393 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26396 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26398 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26399 'err' in the ifdef scope in which it is actually used.
26401 * nss/nss_db/db-init.c: Include string.h
26403 2012-03-12 David S. Miller <davem@davemloft.net>
26405 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26406 masking out of the most significant byte of random value used.
26407 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26408 Fix coding style in previous change.
26410 * sysdeps/unix/sysv/linux/kernel-features.h
26411 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26412 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26414 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26417 2012-03-11 David S. Miller <davem@davemloft.net>
26419 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26420 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26421 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26422 for 'resultvar' otherwise things get truncated on 64-bit.
26424 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26425 Fix masking out of the most significant byte of random value used.
26427 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26429 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
26431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26433 2012-03-09 David S. Miller <davem@davemloft.net>
26435 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26436 variables with appropriate CPP guards.
26437 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26438 frame pointer, not the stack pointer. Correct layout comments. Fix test
26439 on resulting framesize and the management of the outregs buffer for pltexit.
26440 Preserve floating point return values across _dl_call_pltexit call.
26441 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26442 framesize and the management of the outregs buffer for pltexit.
26443 Preserve floating point return values across _dl_call_pltexit
26445 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26446 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26447 (print_exit): Fix format string for return register value.
26449 2012-03-10 Joseph Myers <joseph@codesourcery.com>
26451 * sunrpc/Makefile (others): Add rpcgen.
26452 ($(objpfx)rpcgen): Remove special build rule and dependency on
26454 * sunrpc/rpcgen.c: New file.
26456 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26459 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26460 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26461 * sysdeps/i386/crti.S: Likewise.
26462 * sysdeps/i386/crtn.S: Likewise.
26463 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26464 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26465 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26466 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26467 * sysdeps/sh/crti.S: Likewise.
26468 * sysdeps/sh/crtn.S: Likewise.
26469 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26472 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26474 * locale/programs/locfile-kw.gperf: Likewise.
26475 * locale/programs/charmap-kw.h: Regenerated.
26476 * locale/programs/locfile-kw.h: Likewise.
26479 * intl/plural.y: Replace FSF snail mail address with URL.
26480 * intl/plural.c: Regenerated.
26482 2012-03-09 Richard Henderson <rth@twiddle.net>
26484 * include/math_private.h: Remove file.
26485 * math/math_private.h: Move file ...
26486 * sysdeps/generic/math_private.h: ... here.
26488 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26489 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26490 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26492 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
26493 and <math_private.h>.
26494 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26495 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26496 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26497 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26498 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26499 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26500 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26501 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26502 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26503 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26504 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26505 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26506 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26507 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26508 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26509 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26510 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26511 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26512 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26513 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26514 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26515 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26516 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26517 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26518 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26519 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26520 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26521 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26522 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26523 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26524 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26525 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26526 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26527 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26528 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26529 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26530 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26531 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26532 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26533 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26534 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26535 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26536 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26537 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26538 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26539 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26540 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26541 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26542 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26543 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26544 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26545 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26546 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26547 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26548 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26549 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26550 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26551 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26552 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26553 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26554 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26555 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26556 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26557 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26558 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26559 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26560 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26561 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26562 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26563 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26564 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26565 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26566 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26567 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26568 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26569 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26570 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26571 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26572 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26573 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26574 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26575 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26576 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26577 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26578 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26579 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26580 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26581 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26582 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26583 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26584 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26585 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26586 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26587 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26588 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26589 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26590 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26591 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26592 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26593 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26594 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26595 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26596 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26597 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26598 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26599 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26600 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26601 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26602 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26603 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26604 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26605 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26606 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26607 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26608 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26609 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26610 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26611 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26612 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26613 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26614 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26615 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26616 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26617 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26618 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26619 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26620 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26621 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26622 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26623 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26624 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26625 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26626 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26627 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26628 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26629 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26630 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26631 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26632 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26633 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26634 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26635 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26636 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26637 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26638 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26639 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26640 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26641 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26642 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26643 * sysdeps/ieee754/k_standard.c: Likewise.
26644 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26645 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26646 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26647 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26648 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26649 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26650 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26651 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26652 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26653 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26654 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26655 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26656 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26657 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26658 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26659 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26660 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26661 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26662 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26663 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26664 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26665 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26666 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26667 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26668 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26669 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26670 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26671 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26672 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26673 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26674 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26675 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26676 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26677 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26678 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26679 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26680 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26681 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26682 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26683 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26684 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26685 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26686 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26687 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26688 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26689 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26690 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26691 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26692 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26693 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26694 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26695 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26696 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26697 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26698 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26699 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26700 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26701 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26702 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26703 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26704 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26705 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26706 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26707 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26708 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26709 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26710 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26711 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26712 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26713 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26714 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26715 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26716 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26717 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26718 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26719 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26720 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26721 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26722 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26723 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26724 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26725 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26726 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26727 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26728 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26729 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26730 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26731 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26732 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26733 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26734 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26735 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26736 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26737 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26738 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26739 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26740 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26741 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26742 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26743 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26744 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26745 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26746 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26747 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26748 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26749 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26750 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26751 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26752 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26753 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26754 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26755 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26756 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26757 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26758 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26759 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26760 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26761 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26762 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26763 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26764 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26765 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26766 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26767 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26768 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26769 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26770 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26771 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26772 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26773 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26774 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26775 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26776 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26777 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26778 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26779 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26780 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26781 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26782 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26783 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26784 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26785 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26786 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26787 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26788 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26789 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26790 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26791 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26792 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26793 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26794 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26795 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26796 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26797 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26798 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26799 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26800 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26801 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26802 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26803 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26804 * sysdeps/ieee754/s_lib_version.c: Likewise.
26805 * sysdeps/ieee754/s_matherr.c: Likewise.
26806 * sysdeps/ieee754/s_signgam.c: Likewise.
26807 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26808 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26809 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26810 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26811 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26812 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26813 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26814 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26815 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26816 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26817 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26818 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26819 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26820 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26821 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26822 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26823 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26824 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26825 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26826 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26827 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26829 2012-03-09 Joseph Myers <joseph@codesourcery.com>
26831 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26832 * sunrpc/rpc_main.c: Likewise.
26833 * sunrpc/rpc_svcout.c: Likewise.
26835 2012-03-09 David S. Miller <davem@davemloft.net>
26837 * include/math_private.h: New file.
26839 2012-03-09 Joseph Myers <joseph@codesourcery.com>
26841 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26842 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26843 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26844 from <bits/socket_type.h>.
26845 (enum __socket_type): Don't define here.
26846 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26848 bits/socket_type.h.
26851 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26852 checking __USE_GNU.
26854 * Makerules ($(inst_includedir)/%.h): New rule.
26855 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26856 (install-others): Remove variable setting.
26857 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26859 2012-03-08 Richard Henderson <rth@twiddle.net>
26861 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26862 from macro to inline function; merge with the
26863 !__LIBC_INTERNAL_MATH_INLINES version.
26864 (__ieee754_sqrtf): Likewise.
26866 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26867 to inline function.
26868 (__rintf, __floor, __floorf): Likewise.
26870 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26871 macro to inline function.
26872 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26874 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26875 not <math/math_private.h>.
26877 2012-03-08 David S. Miller <davem@davemloft.net>
26879 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26881 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26883 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26885 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26887 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26888 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26890 2012-03-08 Ulrich Drepper <drepper@gmail.com>
26892 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26893 be defined individually, they must be defined as a block. Define
26894 S for printing a string instead of hidint the different by using a
26895 macro for adding the 'l'.
26896 * stdio-common/tst-fphex-wide.c: Adjust.
26898 2012-03-07 Marek Polacek <polacek@redhat.com>
26900 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26902 2012-03-08 Marek Polacek <polacek@redhat.com>
26905 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26906 * stdio-common/tst-fphex.c: Define a few macros to make the
26907 test reusable. Use them.
26908 * stdio-common/tst-fphex-wide.c: New file.
26910 2012-03-08 Joseph Myers <joseph@codesourcery.com>
26913 * manual/macros.texi (gnusystems): New macro.
26914 (nongnusystems): Likewise.
26915 (gnulinuxhurdsystems): Likewise.
26916 (gnuhurdsystems): Likewise..
26917 (gnulinuxsystems): Likewise.
26918 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26919 variants of the GNU system, not "GNU system".
26920 * manual/conf.texi: Likewise.
26921 * manual/errno.texi: Likewise. Update example of errno macro
26923 * manual/filesys.texi: Likewise.
26924 (getumask): Document as specific to GNU/Hurd.
26925 * manual/install.texi: Likewise. Reword some references to
26927 * manual/intro.texi: Likewise.
26928 * manual/io.texi: Likewise.
26929 (File Name Portability): Detail which constraints are inapplicable
26930 to all GNU systems and which are only inapplicable to GNU/Hurd.
26931 * manual/job.texi: Likewise.
26932 * manual/llio.texi: Likewise.
26933 (O_NOCTTY): Document as present on GNU/Linux.
26934 * manual/maint.texi: Likewise.
26935 * manual/memory.texi: Likewise.
26936 * manual/pattern.texi: Likewise.
26937 * manual/pipe.texi: Likewise.
26938 * manual/process.texi: Likewise.
26939 * manual/resource.texi: Likewise.
26940 (RUSAGE_CHILDREN): Remove statement about specifying a particular
26942 * manual/setjmp.texi: Likewise.
26943 * manual/signal.texi: Likewise.
26944 * manual/startup.texi: Likewise.
26945 * manual/stdio.texi: Likewise.
26946 * manual/terminal.texi: Likewise.
26947 (ONLCR): Document as POSIX.
26948 (OXTABS): Document availability on GNU/Linux as XTABS.
26949 (ONOEOT): Document availability separately from other bits.
26950 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26951 * manual/time.texi: Likewise.
26952 * manual/users.texi: Likewise.
26953 * INSTALL: Regenerated.
26954 * sysdeps/gnu/errlist.c: Regenerated.
26956 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26957 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26958 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
26960 * configure: Regenerated.
26962 2012-03-07 Joseph Myers <joseph@codesourcery.com>
26964 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26965 default includes instead of AC_HEADER_CHECK.
26966 * sysdeps/i386/configure: Regenerated.
26969 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26970 * math/s_cacoshf.c (__cacoshf): Likewise.
26971 * math/s_cacoshl.c (__cacoshl): Likewise.
26972 * math/s_casinh.c (__casinh): Set signs of result from argument.
26973 * math/s_casinhf.c (__casinhf): Likewise.
26974 * math/s_casinhl.c (__casinhl): Likewise.
26975 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
26976 (casinh_test): Add more tests.
26977 * sysdeps/i386/fpu/libm-test-ulps: Update.
26978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26980 2012-03-07 Ulrich Drepper <drepper@gmail.com>
26982 * po/zh_TW.po: Update from translation team.
26984 * login/Makefile (distribute): Remove variable.
26985 * catgets/Makefile: Likewise.
26986 * mach/Makefile: Likewise.
26987 * malloc/Makefile: Likewise.
26988 * misc/Makefile: Likewise.
26989 * iconv/Makefile: Likewise.
26990 * nscd/Makefile: Likewise.
26991 * hurd/Makefile: Likewise.
26992 * manual/Makefile: Likewise.
26993 * locale/Makefile: Likewise.
26994 * intl/Makefile: Likewise.
26995 * conform/Makefile: Likewise.
26996 * nss/Makefile: Likewise.
26997 * time/Makefile: Likewise.
26998 * soft-fp/Makefile: Likewise.
26999 * dirent/Makefile: Likewise.
27000 * gmon/Makefile: Likewise.
27001 * po/Makefile: Likewise.
27002 * rt/Makefile: Likewise.
27003 * socket/Makefile: Likewise.
27004 * math/Makefile: Likewise.
27005 * signal/Makefile: Likewise.
27006 * debug/Makefile: Likewise.
27007 * elf/Makefile: Likewise.
27008 * timezone/Makefile: Likewise.
27009 * stdlib/Makefile: Likewise.
27010 * iconvdata/Makefile: Likewise.
27011 * sunrpc/Makefile: Likewise.
27012 * io/Makefile: Likewise.
27013 * argp/Makefile: Likewise.
27014 * inet/Makefile: Likewise.
27015 * hesiod/Makefile: Likewise.
27016 * grp/Makefile: Likewise.
27017 * csu/Makefile: Likewise.
27018 * wctype/Makefile: Likewise.
27019 * crypt/Makefile: Likewise.
27020 * libio/Makefile: Likewise.
27021 * string/Makefile: Likewise.
27022 * nis/Makefile: Likewise.
27023 * resolv/Makefile: Likewise.
27024 * stdio-common/Makefile: Likewise.
27025 * wcsmbs/Makefile: Likewise.
27026 * dlfcn/Makefile: Likewise.
27027 * posix/Makefile: Likewise.
27030 * timezone/Makefile: Don't install timezone files, just the programs
27033 2012-03-06 Ulrich Drepper <drepper@gmail.com>
27035 * nss/databases.def: Add missing gshadow entry.
27037 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
27039 2012-03-06 Marek Polacek <polacek@redhat.com>
27042 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27043 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27044 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27045 * stdio-common/tst-long-dbl-fphex.c: New file.
27047 2012-03-06 David S. Miller <davem@davemloft.net>
27049 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27050 (set_obp_int): New function.
27051 (get_obp_int): New function.
27052 (__get_clockfreq_via_dev_openprom): Likewise.
27053 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27054 Avoid unused variable warnings on 'val' and use builtin_expect.
27055 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27057 (INLINE_CLONE_SYSCALL): Likewise.
27059 2012-03-05 David S. Miller <davem@davemloft.net>
27061 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27063 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
27065 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27067 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27068 only for |x| >= 40.
27069 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27071 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
27073 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27074 Replace gettimeofday with __vdso_gettimeofday.
27076 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27077 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27078 __vdso_clock_gettime and __vdso_getcpu.
27080 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27081 time with __vdso_time.
27083 2012-03-05 Joseph Myers <joseph@codesourcery.com>
27085 * manual/lang.texi (size_t): Note types to which size_t may be
27086 equivalent with the GNU C Library, but do not describe when
27087 differences between them are significant.
27089 2012-03-05 Andreas Jaeger <aj@suse.de>
27091 * sysdeps/i386/fpu/libm-test-ulps: Update.
27093 2012-03-05 Joseph Myers <joseph@codesourcery.com>
27096 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27097 (__ieee754_pow): Save and restore rounding mode and use
27098 round-to-nearest for main computations.
27099 * math/libm-test.inc (pow_test_tonearest): New function.
27100 (pow_test_towardzero): Likewise.
27101 (pow_test_downward): Likewise.
27102 (pow_test_upward): Likewise.
27103 (main): Call the new functions.
27104 * sysdeps/i386/fpu/libm-test-ulps: Update.
27105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27108 * math/libm-test.inc (cosh_test_tonearest): New function.
27109 (cosh_test_towardzero): Likewise.
27110 (cosh_test_downward): Likewise.
27111 (cosh_test_upward): Likewise.
27112 (sinh_test_tonearest): Likewise.
27113 (sinh_test_towardzero): Likewise.
27114 (sinh_test_downward): Likewise.
27115 (sinh_test_upward): Likewise.
27116 (main): Call the new functions.
27117 * sysdeps/i386/fpu/libm-test-ulps: Update.
27118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27120 2012-03-05 Tom de Vries <tom@codesourcery.com>
27122 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27123 default stack guard is set in last bytes.
27124 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27126 2012-03-05 Kees Cook <keescook@chromium.org>
27128 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
27131 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27132 possibly allocate from heap instead of stack.
27133 * stdio-common/bug-vfprintf-nargs.c: New file.
27134 * stdio-common/Makefile (tests): Add nargs overflow test.
27136 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27140 2012-03-03 Marek Polacek <polacek@redhat.com>
27142 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27143 * math/math_private.h: Likewise.
27144 * stdlib/tst-strtod.c: Likewise.
27145 * sysdeps/i386/i486/bits/atomic.h: Likewise.
27146 * sysdeps/x86_64/bits/atomic.h: Likewise.
27148 2012-03-02 David S. Miller <davem@davemloft.net>
27150 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27151 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27152 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27153 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27154 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27155 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27156 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27157 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27159 2012-03-02 Roland McGrath <roland@hack.frob.com>
27162 * manual/examples/README: New file, says the example source files
27163 can be used under GPL>=2.
27164 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27165 line containing just "*/".
27166 * manual/examples/add.c: Add copyright header (GPL>=2).
27167 * manual/examples/argp-ex1.c: Likewise.
27168 * manual/examples/argp-ex2.c: Likewise.
27169 * manual/examples/argp-ex3.c: Likewise.
27170 * manual/examples/argp-ex4.c: Likewise.
27171 * manual/examples/atexit.c: Likewise.
27172 * manual/examples/db.c: Likewise.
27173 * manual/examples/dir.c: Likewise.
27174 * manual/examples/dir2.c: Likewise.
27175 * manual/examples/execinfo.c: Likewise.
27176 * manual/examples/filecli.c: Likewise.
27177 * manual/examples/filesrv.c: Likewise.
27178 * manual/examples/fmtmsgexpl.c: Likewise.
27179 * manual/examples/genpass.c: Likewise.
27180 * manual/examples/inetcli.c: Likewise.
27181 * manual/examples/inetsrv.c: Likewise.
27182 * manual/examples/isockad.c: Likewise.
27183 * manual/examples/longopt.c: Likewise.
27184 * manual/examples/memopen.c: Likewise.
27185 * manual/examples/memstrm.c: Likewise.
27186 * manual/examples/mkfsock.c: Likewise.
27187 * manual/examples/mkisock.c: Likewise.
27188 * manual/examples/mygetpass.c: Likewise.
27189 * manual/examples/pipe.c: Likewise.
27190 * manual/examples/popen.c: Likewise.
27191 * manual/examples/rprintf.c: Likewise.
27192 * manual/examples/search.c: Likewise.
27193 * manual/examples/select.c: Likewise.
27194 * manual/examples/setjmp.c: Likewise.
27195 * manual/examples/sigh1.c: Likewise.
27196 * manual/examples/sigusr.c: Likewise.
27197 * manual/examples/stpcpy.c: Likewise.
27198 * manual/examples/strdupa.c: Likewise.
27199 * manual/examples/strftim.c: Likewise.
27200 * manual/examples/strncat.c: Likewise.
27201 * manual/examples/subopt.c: Likewise.
27202 * manual/examples/swapcontext.c: Likewise.
27203 * manual/examples/termios.c: Likewise.
27204 * manual/examples/testopt.c: Likewise.
27205 * manual/examples/testpass.c: Likewise.
27206 * manual/examples/timeval_subtract.c: Likewise.
27209 * manual/time.texi (Elapsed Time): Move timeval_subtract example
27211 * manual/timeval_subtract.c.texi: ... here, new file.
27213 2012-03-02 David S. Miller <davem@davemloft.net>
27215 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27217 2012-03-02 Joseph Myers <joseph@codesourcery.com>
27220 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27221 (__sin): Save and restore rounding mode and use round-to-nearest
27222 for all computations.
27223 (__cos): Save and restore rounding mode and use round-to-nearest
27224 for all computations.
27225 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27227 (tan): Save and restore rounding mode and use round-to-nearest for
27229 * math/libm-test.inc (cos_test_tonearest): New function.
27230 (cos_test_towardzero): Likewise.
27231 (cos_test_downward): Likewise.
27232 (cos_test_upward): Likewise.
27233 (sin_test_tonearest): Likewise.
27234 (sin_test_towardzero): Likewise.
27235 (sin_test_downward): Likewise.
27236 (sin_test_upward): Likewise.
27237 (tan_test_tonearest): Likewise.
27238 (tan_test_towardzero): Likewise.
27239 (tan_test_downward): Likewise.
27240 (tan_test_upward): Likewise.
27241 (main): Call the new functions.
27242 * sysdeps/i386/fpu/libm-test-ulps: Update.
27243 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27246 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27247 small n, then large n, before computing and testing k+n.
27248 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27249 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27251 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27253 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27254 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27255 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27256 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27257 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27258 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27259 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27260 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27261 * math/libm-test.inc (scalbn_test): Add more tests.
27262 (scalbln_test): Likewise.
27264 * manual/filesys.texi (mode_t): Describe constraints on size and
27265 signedness, not exact equivalence to a particular type.
27267 (ino64_t): Likewise.
27269 (nlink_t): Likewise.
27270 (blkcnt_t): Likewise.
27271 (blkcnt64_t): Likewise.
27272 * manual/llio.texi (off_t): Likewise.
27275 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27276 (__ieee754_exp): Save and restore rounding mode and use
27277 round-to-nearest for all computations.
27278 * math/libm-test.inc (exp_test_tonearest): New function.
27279 (exp_test_towardzero): Likewise.
27280 (exp_test_downward): Likewise.
27281 (exp_test_upward): Likewise.
27282 (main): Call the new functions.
27283 * sysdeps/i386/fpu/libm-test-ulps: Update.
27284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27286 2012-03-01 Chris Demetriou <cgd@google.com>
27288 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27289 have predictable order.
27291 2012-03-01 David S. Miller <davem@davemloft.net>
27293 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27295 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
27296 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
27297 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
27298 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
27300 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
27301 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
27302 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
27303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
27304 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
27305 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
27306 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
27307 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27308 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27310 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27312 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27313 * sysdeps/sparc/fpu/libm-test-ulps: to here.
27314 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27316 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27317 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27318 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27319 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27320 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27321 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27322 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27323 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27324 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27325 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27326 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27327 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27328 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27329 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27330 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27331 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27332 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27333 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27334 * sysdeps/sparc/elf/configure: Regenerated.
27336 2012-03-01 Joseph Myers <joseph@codesourcery.com>
27338 * configure.in (AS, LD): Require binutils 2.20 or later.
27339 * configure: Regenerated.
27340 * manual/install.texi (Tools for Compilation): Give binutils 2.20
27341 as required minimum version.
27342 * INSTALL: Regenerated.
27346 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27347 before squaring exponent.
27348 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27349 bottom long double and 27 bits of top long double before squaring
27351 * math/libm-test.inc (erfc_test): Add more tests.
27352 * sysdeps/i386/fpu/libm-test-ulps: Update.
27353 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27356 2012-03-01 Kai Tietz <ktietz@redhat.com>
27358 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27359 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27360 containing bit-fields.
27361 * soft-fp/extended.h (_FP_UNION_E): Likewise.
27362 * soft-fp/single.h (_FP_UNION_S): Likewise.
27363 * soft-fp/double.h (_FP_UNION_D): Likewise.
27365 2012-02-29 Joseph Myers <joseph@codesourcery.com>
27368 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27369 not include ../strcmp.S.
27370 [USE_AS_STRNCASECMP_L]: Likewise.
27371 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27372 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27373 * sysdeps/i386/i686/multiarch/strncase_l-c.c
27374 (__strncasecmp_l_ia32): Define as alias to
27375 __strncasecmp_l_nonascii.
27378 * math/libm-test.inc (expm1_test): Add test for bug 5794.
27379 * sysdeps/i386/fpu/libm-test-ulps: Update.
27380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27382 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27383 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27385 2012-02-29 Jeff Law <law@redhat.com>
27387 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27388 out of bounds read.
27390 2012-02-29 Marek Polacek <polacek@redhat.com>
27393 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27394 * elf/Makefile: Add rules to run tst-unused-dep.out.
27396 2012-02-28 David S. Miller <davem@davemloft.net>
27398 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27399 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27400 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27401 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27402 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27403 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27405 2012-02-29 Joseph Myers <joseph@codesourcery.com>
27407 * math/libm-test.inc (llround_test): Move one test from
27408 lround_test. Use TEST_f_L in moved test.
27409 (lround_test): Move misplaced test to llround_test. Add testcase
27412 2012-02-28 Ulrich Drepper <drepper@gmail.com>
27414 * sysdeps/x86_64/fpu/e_expf.S: New file.
27415 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27417 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
27420 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27421 of remain_len that may cause incomplete multi-byte character and
27423 * posix/bug-regex33.c: New file.
27424 * posix/Makefile (tests): Add bug-regex33.
27426 2012-02-28 Joseph Myers <joseph@codesourcery.com>
27428 * manual/macros.texi: New file.
27429 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27430 * manual/libc.texinfo: Include macros.texi.
27431 * manual/creatute.texi: Likewise.
27432 * manual/install.texi: Likewise.
27433 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27434 @glibcadj{} in references to the GNU C Library.
27435 * manual/charset.texi: Likewise.
27436 * manual/conf.texi: Likewise.
27437 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27438 when not using those macros.
27439 * manual/creature.texi: Likewise.
27440 * manual/crypt.texi: Likewise.
27441 * manual/errno.texi: Likewise.
27442 * manual/filesys.texi: Likewise.
27443 * manual/header.texi: Likewise.
27444 * manual/install.texi: Likewise.
27445 * manual/intro.texi: Likewise.
27446 * manual/io.texi: Likewise.
27447 * manual/job.texi: Likewise.
27448 * manual/lang.texi: Likewise.
27449 * manual/libc.texiinfo: Likewise.
27450 * manual/llio.texi: Likewise.
27451 * manual/locale.texi: Likewise.
27452 * manual/maint.texi: Likewise.
27453 * manual/math.texi: Likewise.
27454 * manual/memory.texi: Likewise.
27455 * manual/message.texi: Likewise.
27456 * manual/nss.texi: Likewise.
27457 * manual/pattern.texi: Likewise.
27458 * manual/process.texi: Likewise.
27459 * manual/resource.texi: Likewise.
27460 * manual/search.texi: Likewise.
27461 * manual/setjmp.texi: Likewise.
27462 * manual/signal.texi: Likewise.
27463 * manual/socket.texi: Likewise.
27464 * manual/startup.texi: Likewise.
27465 * manual/stdio.texi: Likewise.
27466 * manual/string.texi: Likewise.
27467 * manual/sysinfo.texi: Likewise.
27468 * manual/syslog.texi: Likewise.
27469 * manual/terminal.texi: Likewise.
27470 * manual/time.texi: Likewise.
27471 * manual/users.texi: Likewise.
27472 * INSTALL: Regenerated.
27473 * NOTES: Regenerated.
27474 * sysdeps/gnu/errlist.c: Regenerated.
27476 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27478 * include/dirent.h: Include <dirstream.h> before
27481 2012-02-28 David S. Miller <davem@davemloft.net>
27483 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27484 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27485 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27486 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27488 2012-02-27 David S. Miller <davem@davemloft.net>
27490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27491 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27492 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27493 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27495 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27496 frame pointer instead of stack pointer relative arg slot.
27497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27498 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27499 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27501 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27504 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27506 2012-02-27 David S. Miller <davem@davemloft.net>
27508 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27509 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27510 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27511 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27512 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27513 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27514 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27515 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27517 2012-02-27 Joseph Myers <joseph@codesourcery.com>
27519 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27520 later. Allow versions 5-9.
27521 * configure: Regenerated.
27522 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27523 required minimum version and 4.6 as recommended version. Do not
27524 mention bugs in GCC 2.7 and 2.8.
27525 * INSTALL: Regenerated.
27527 2012-02-27 David S. Miller <davem@davemloft.net>
27529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27530 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27531 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27532 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27533 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27534 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27535 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27536 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27538 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27539 manipulate bits before adding and subtracting TWO112[sx].
27540 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27542 2012-02-27 Roland McGrath <roland@hack.frob.com>
27545 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27546 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27547 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27548 being in POSIX, because they are in 1003.1-2008.
27550 * rt/tst-aio.c: Include <fcntl.h>.
27551 * rt/tst-aio7.c: Likewise.
27552 * rt/tst-aio64.c: Likewise.
27554 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27556 2012-02-27 Joseph Myers <joseph@codesourcery.com>
27558 * manual/install.texi (--with-headers): Describe headers as
27559 interface headers, not private headers.
27560 (Specific advice for GNU/Linux systems): Describe use of headers
27561 from "make headers_install", not private headers from older
27563 * INSTALL: Regenerated.
27564 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27566 * sysdeps/unix/sysv/linux/configure: Regenerated.
27568 * manual/llio.texi (fclean): Remove documentation.
27570 * manual/Makefile (libc-texi-generated): New variable. Include
27572 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27573 $(libc-texi-generated), not duplicated list of files.
27574 (version.texi, stamp-version): New rules.
27575 (realclean): Remove $(libc-texi-generated), not individual files
27576 from that list. Do not remove dir-add.texinfo.
27577 * manual/libc.texinfo: Comment out uses of edition numbers and
27578 references to printed manual. Remove last-updated dates.
27579 (EDITION): Comment out.
27581 (VERSION, UPDATED): Remove.
27582 (version.texi): Include.
27584 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27586 * sysdeps/posix/spawni.c: Include <signal.h>.
27587 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27588 * sysdeps/pthread/aio_fsync.c: Likewise.
27590 2012-02-26 Ulrich Drepper <drepper@gmail.com>
27592 * conform/Makefile (tests): Run only when not cross-compiling and
27593 when fast-check is not defined.
27595 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27596 * conform/data/limits.h-data: Fixes for POSIX2008.
27597 * conform/run-conformtest.sh: Run all tests.
27598 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27600 * include/bits/dlfcn.h: Likewise.
27601 * include/langinfo.h: Likewise.
27602 * include/monetary.h: Likewise.
27603 * include/sys/poll.h: Likewise.
27605 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27607 * posix/spawn.h: Define __need_sigset_t.
27608 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27609 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27610 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27611 to get sigevent_t only.
27612 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27613 only for __USE_GNU.
27614 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27615 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27616 process_vm_writev only for __USE_GNU.
27617 * termios/termios.h: Declare tcgetsid also for POSIX2008.
27619 * conform/Makefile: For now ignore errors from run-conformtest.
27620 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27621 POSIX to avoid namespace pollution. Don't prepend headers.
27622 * conform/data/aio.h-data: Fixes for POSIX testing.
27623 * conform/data/fcntl.h-data: Likewise.
27624 * conform/data/glob.h-data: Likewise.
27625 * conform/data/grp.h-data: Likewise.
27626 * conform/data/pthread.h-data: Likewise.
27627 * conform/data/pwd.h-data: Likewise.
27628 * conform/data/signal.h-data: Likewise.
27629 * conform/data/spawn.h-data: Likewise.
27630 * conform/data/stdio.h-data: Likewise.
27631 * conform/data/stdlib.h-data: Likewise.
27632 * conform/data/stropts.h-data: Likewise.
27633 * conform/data/sys/mman.h-data: Likewise.
27634 * conform/data/sys/stat.h-data: Likewise.
27635 * conform/data/sys/types.h-data: Likewise.
27636 * conform/data/sys/wait.h-data: Likewise.
27637 * conform/data/time.h-data: Likewise.
27638 * conform/data/unistd.h-data: Likewise.
27639 * conform/data/utime.h-data: Likewise.
27641 * io/sys/stat.h: fchmod was always in POSIX.
27642 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27643 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27644 * rt/aio.h: Define __need_timespec before including <time.h>.
27645 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27646 struct. Add forward declaration of pthread_attr_t and use it in
27648 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27649 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27650 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27651 always remove CLK_TCK definition.
27653 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27655 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27657 2012-02-25 Ulrich Drepper <drepper@gmail.com>
27659 * conform/run-conformtest.sh: New file.
27660 * conform/Makefile: Run run-conformtest for tests.
27661 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27664 * conform/data/uchar.h-data: New file.
27665 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27666 * conform/data/arpa/inet.h-data: Likewise.
27667 * conform/data/assert.h-data: Likewise.
27668 * conform/data/complex.h-data: Likewise.
27669 * conform/data/cpio.h-data: Likewise.
27670 * conform/data/ctype.h-data: Likewise.
27671 * conform/data/dirent.h-data: Likewise.
27672 * conform/data/dlfcn.h-data: Likewise.
27673 * conform/data/errno.h-data: Likewise.
27674 * conform/data/fcntl.h-data: Likewise.
27675 * conform/data/float.h-data: Likewise.
27676 * conform/data/fmtmsg.h-data: Likewise.
27677 * conform/data/fnmatch.h-data: Likewise.
27678 * conform/data/ftw.h-data: Likewise.
27679 * conform/data/glob.h-data: Likewise.
27680 * conform/data/grp.h-data: Likewise.
27681 * conform/data/iconv.h-data: Likewise.
27682 * conform/data/inttypes.h-data: Likewise.
27683 * conform/data/langinfo.h-data: Likewise.
27684 * conform/data/libgen.h-data: Likewise.
27685 * conform/data/limits.h-data: Likewise.
27686 * conform/data/locale.h-data: Likewise.
27687 * conform/data/math.h-data: Likewise.
27688 * conform/data/monetary.h-data: Likewise.
27689 * conform/data/mqueue.h-data: Likewise.
27690 * conform/data/ndbm.h-data: Likewise.
27691 * conform/data/net/if.h-data: Likewise.
27692 * conform/data/netdb.h-data: Likewise.
27693 * conform/data/netinet/in.h-data: Likewise.
27694 * conform/data/nl_types.h-data: Likewise.
27695 * conform/data/poll.h-data: Likewise.
27696 * conform/data/pthread.h-data: Likewise.
27697 * conform/data/pwd.h-data: Likewise.
27698 * conform/data/regex.h-data: Likewise.
27699 * conform/data/sched.h-data: Likewise.
27700 * conform/data/search.h-data: Likewise.
27701 * conform/data/semaphore.h-data: Likewise.
27702 * conform/data/setjmp.h-data: Likewise.
27703 * conform/data/signal.h-data: Likewise.
27704 * conform/data/spawn.h-data: Likewise.
27705 * conform/data/stdarg.h-data: Likewise.
27706 * conform/data/stdio.h-data: Likewise.
27707 * conform/data/stdlib.h-data: Likewise.
27708 * conform/data/string.h-data: Likewise.
27709 * conform/data/strings.h-data: Likewise.
27710 * conform/data/stropts.h-data: Likewise.
27711 * conform/data/sys/ipc.h-data: Likewise.
27712 * conform/data/sys/mman.h-data: Likewise.
27713 * conform/data/sys/msg.h-data: Likewise.
27714 * conform/data/sys/resource.h-data: Likewise.
27715 * conform/data/sys/select.h-data: Likewise.
27716 * conform/data/sys/sem.h-data: Likewise.
27717 * conform/data/sys/shm.h-data: Likewise.
27718 * conform/data/sys/socket.h-data: Likewise.
27719 * conform/data/sys/stat.h-data: Likewise.
27720 * conform/data/sys/statvfs.h-data: Likewise.
27721 * conform/data/sys/time.h-data: Likewise.
27722 * conform/data/sys/timeb.h-data: Likewise.
27723 * conform/data/sys/times.h-data: Likewise.
27724 * conform/data/sys/types.h-data: Likewise.
27725 * conform/data/sys/uio.h-data: Likewise.
27726 * conform/data/sys/un.h-data: Likewise.
27727 * conform/data/sys/utsname.h-data: Likewise.
27728 * conform/data/sys/wait.h-data: Likewise.
27729 * conform/data/syslog.h-data: Likewise.
27730 * conform/data/tar.h-data: Likewise.
27731 * conform/data/termios.h-data: Likewise.
27732 * conform/data/utime.h-data: Likewise.
27733 * conform/data/utmpx.h-data: Likewise.
27734 * conform/data/varargs.h-data: Likewise.
27735 * conform/data/wchar.h-data: Likewise.
27736 * conform/data/wctype.h-data: Likewise.
27737 * conform/data/wordexp.h-data: Likewise.
27739 * include/stropts.h: New file.
27740 * include/uchar.h: New file.
27741 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27742 * include/assert.h: Likewise.
27743 * include/ctype.h: Likewise.
27744 * include/dirent.h: Likewise.
27745 * include/dlfcn.h: Likewise.
27746 * include/fcntl.h: Likewise.
27747 * include/fnmatch.h: Likewise.
27748 * include/glob.h: Likewise.
27749 * include/grp.h: Likewise.
27750 * include/libio.h: Likewise.
27751 * include/locale.h: Likewise.
27752 * include/math.h: Likewise.
27753 * include/net/if.h: Likewise.
27754 * include/netdb.h: Likewise.
27755 * include/netinet/in.h: Likewise.
27756 * include/pthread.h: Likewise.
27757 * include/pwd.h: Likewise.
27758 * include/regex.h: Likewise.
27759 * include/sched.h: Likewise.
27760 * include/search.h: Likewise.
27761 * include/setjmp.h: Likewise.
27762 * include/signal.h: Likewise.
27763 * include/stdio.h: Likewise.
27764 * include/stdlib.h: Likewise.
27765 * include/string.h: Likewise.
27766 * include/sys/cdefs.h: Likewise.
27767 * include/sys/mman.h: Likewise.
27768 * include/sys/msg.h: Likewise.
27769 * include/sys/resource.h: Likewise.
27770 * include/sys/select.h: Likewise.
27771 * include/sys/socket.h: Likewise.
27772 * include/sys/stat.h: Likewise.
27773 * include/sys/statvfs.h: Likewise.
27774 * include/sys/time.h: Likewise.
27775 * include/sys/times.h: Likewise.
27776 * include/sys/uio.h: Likewise.
27777 * include/sys/utsname.h: Likewise.
27778 * include/sys/wait.h: Likewise.
27779 * include/termios.h: Likewise.
27780 * include/time.h: Likewise.
27781 * include/ulimit.h: Likewise.
27782 * include/unistd.h: Likewise.
27783 * include/utime.h: Likewise.
27784 * include/wchar.h: Likewise.
27785 * include/wctype.h: Likewise.
27786 * include/wordexp.h: Likewise.
27788 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27790 * time/time.h: TIME_UTC must be a macro.
27791 Make timespec_get available for ISO C11 only as well.
27793 2012-02-24 Ulrich Drepper <drepper@gmail.com>
27795 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27796 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27798 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27800 * configure.in: Use -o not -a in test for unsupported multi-arch.
27802 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27804 * manual/texinfo.tex: Update to version 2012-01-19.16.
27806 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27808 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27810 2012-02-24 Roland McGrath <roland@hack.frob.com>
27813 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27814 * manual/fdl-1.3.texi: New file.
27815 * manual/fdl-1.1.texi: File removed.
27818 * manual/libc.texinfo (FDL_VERSION): New @set.
27819 Use it for mention of FDL in cover text.
27820 (Documentation License): Use it in @include file name.
27822 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27823 Roland McGrath <roland@hack.frob.com>
27826 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27827 not LONG_LONG_MAX and LONG_LONG_MIN.
27828 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27829 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
27831 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27833 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27837 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27838 manipulate bits before adding and subtracting TWO23[sx].
27839 * math/libm-test.inc (nearbyint_test): Add more tests.
27841 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27844 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27845 bits before adding and subtracting TWO23[sx].
27846 * math/libm-test.inc (rint_test): Add more tests.
27847 (rint_test_tonearest): Likewise.
27848 (rint_test_towardzero): Likewise.
27849 (rint_test_downward): Likewise.
27850 (rint_test_upward: Likewise.
27852 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27855 * include/stdc-predef.h: New file. Extracted from features.h.
27856 * include/features.h: Include stdc-predef.h.
27857 * Makefile (headers): Add stdc-predef.h.
27858 * CONFORMANCE (Compiler limitations): Update.
27860 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27862 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27864 2012-02-21 David S. Miller <davem@davemloft.net>
27866 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27867 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27869 2012-02-20 David S. Miller <davem@davemloft.net>
27871 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27872 using a normal save/restore sequence, rather than allocating a
27873 dummy stack frame just to store a frame pointer and restore.
27874 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27876 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27878 * manual/install.texi: Fix stray word in line-wrapped comment.
27880 2012-02-20 David S. Miller <davem@davemloft.net>
27882 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27883 both binutils and gcc support GOTDATA.
27885 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27886 "rd %pc" in the PIC register setup sequences.
27888 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27889 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27890 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27891 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27892 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27893 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27894 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27895 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27896 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27897 (SYSCALL_ERROR_HANDLER): Likewise.
27898 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27899 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27900 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27901 (SYSCALL_ERROR_HANDLER): Likewise.
27903 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27904 (HAVE_GCC_GOTDATA): New.
27905 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27906 relocation support in both binutils and gcc.
27907 * sysdeps/sparc/elf/configure: Regenerate.
27909 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27910 * sysdeps/sparc/sparc32/elf/configure: Delete.
27911 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27912 * sysdeps/sparc/sparc64/elf/configure: Delete.
27913 * sysdeps/sparc/elf/configure.in: New file.
27914 * sysdeps/sparc/elf/configure: Generate.
27916 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27917 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27918 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27919 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27920 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27922 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27924 * manual/install.texi: Do not mention specific glibc version
27926 * manual/libc.texinfo (VERSION, UPDATED): Update.
27927 (@copying): Use @copyright{} and range of years.
27929 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27932 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27933 [crti.S not in sysdirs] (generated): Do not append.
27934 [crti.S not in sysdirs] (omit-deps): Likewise.
27935 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27936 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27937 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27938 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27939 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27941 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27942 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27943 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27944 * csu/defs.awk: Remove file.
27945 * sysdeps/generic/initfini.c: Likewise.
27946 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27948 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27951 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27953 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27954 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27955 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27956 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27957 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27958 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27960 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27961 (__EPOLL_PACKED): Define to empty if not defined by
27963 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27964 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27967 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27969 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27970 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27971 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
27972 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
27974 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
27975 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27978 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27980 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
27982 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27983 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27984 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
27985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27987 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
27989 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27990 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27992 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
27994 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
27995 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
27997 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
27999 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28002 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
28004 * math/w_acos.c: Use non-signaling floating-point comparisons.
28005 * math/w_acosf.c: Likewise.
28006 * math/w_acosh.c: Likewise.
28007 * math/w_acoshf.c: Likewise.
28008 * math/w_acoshl.c: Likewise.
28009 * math/w_acosl.c: Likewise.
28010 * math/w_asin.c: Likewise.
28011 * math/w_asinf.c: Likewise.
28012 * math/w_asinl.c: Likewise.
28013 * math/w_atanh.c: Likewise.
28014 * math/w_atanhf.c: Likewise.
28015 * math/w_atanhl.c: Likewise.
28016 * math/w_exp2.c: Likewise.
28017 * math/w_exp2f.c: Likewise.
28018 * math/w_exp2l.c: Likewise.
28019 * math/w_j0.c: Likewise.
28020 * math/w_j0f.c: Likewise.
28021 * math/w_j0l.c: Likewise.
28022 * math/w_j1.c: Likewise.
28023 * math/w_j1f.c: Likewise.
28024 * math/w_j1l.c: Likewise.
28025 * math/w_jn.c: Likewise.
28026 * math/w_jnf.c: Likewise.
28027 * math/w_log.c: Likewise.
28028 * math/w_log10.c: Likewise.
28029 * math/w_log10f.c: Likewise.
28030 * math/w_log10l.c: Likewise.
28031 * math/w_log2.c: Likewise.
28032 * math/w_log2f.c: Likewise.
28033 * math/w_log2l.c: Likewise.
28034 * math/w_logf.c: Likewise.
28035 * math/w_logl.c: Likewise.
28036 * math/w_sqrt.c: Likewise.
28037 * math/w_sqrtf.c: Likewise.
28038 * math/w_sqrtl.c: Likewise.
28039 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28040 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28041 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28042 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28043 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28045 2012-02-19 Joseph Myers <joseph@codesourcery.com>
28048 * manual/string.texi (strnlen): Use correct parameter name in
28049 equivalent expression.
28051 2012-02-19 Joseph Myers <joseph@codesourcery.com>
28054 * manual/users.texi (seteuid): Consistently use neweuid for
28057 2012-02-19 Joseph Myers <joseph@codesourcery.com>
28060 * manual/nss.texi (Services in the NSS configuration): Correct
28061 list of services in example configuration file.
28063 2012-02-19 Nick Bowler <nbowler@draconx.ca>
28066 * manual/arith.texi: Remove statements about negative zero
28067 behaving identically to zero.
28069 2012-02-18 Joseph Myers <joseph@codesourcery.com>
28072 * manual/install.texi: Do not document upgrading from libc5.
28074 2012-02-18 Joseph Myers <joseph@codesourcery.com>
28077 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28079 2012-02-18 David S. Miller <davem@davemloft.net>
28081 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28082 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28083 %o7 across the call.
28084 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28086 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28087 SETUP_PIC_REG_LEAF.
28088 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28089 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28090 * sysdeps/sparc/crtn.S: Likewise.
28092 2012-02-17 Ulrich Drepper <drepper@gmail.com>
28094 * aout/Makefile: Remove.
28096 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
28099 * manual/examples/argp-ex1.c (main): Format definition in GNU
28101 * manual/examples/argp-ex2.c (main): Likewise.
28102 * manual/examples/argp-ex3.c (main): Likewise.
28103 * manual/examples/argp-ex4.c (main): Likewise.
28104 * manual/examples/longopt.c (main): Use new-style prototype
28106 * manual/examples/strncat.c (main): Specify return type and use
28107 (void) for arguments.
28108 * manual/examples/subopt.c (main): Use char **argv argument.
28110 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28113 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28116 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28119 * manual/string.texi (strchr): Change when strchrnul is
28122 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28125 * manual/locale.texi (setlocale): Document LOCPATH.
28127 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28130 * manual/process.texi (execle): Move @dots{} before last argument.
28132 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
28135 * manual/charset.texi (Generic Charset Conversion): Fix typo
28136 (LC_TYPE -> LC_CTYPE).
28138 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28141 * manual/arith.texi (scalbn): Use @var{} on parameter names.
28142 (scalbnf): Likewise.
28143 (scalbnl): Likewise.
28144 (scalbln): Likewise.
28145 (scalblnf): Likewise.
28146 (scalblnl): Likewise.
28147 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28148 (vwarnx): Likewise.
28151 * manual/filesys.texi (telldir): Use braces around return type.
28152 * manual/llio.texi (mmap): Add space after comma.
28153 (mmap64): Likewise.
28154 * manual/math.texi (jn): Use @var{} on parameter names.
28160 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28162 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28164 (sched_get_priority_min): Remove semicolon on @deftypefun line.
28165 (sched_get_priority_max): Likewise.
28166 * manual/signal.texi (sigvec): Add space after comma.
28167 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28169 (if_indextoname): Likewise.
28170 (if_freenameindex): Likewise.
28171 (sendto): Use ',' instead of '.' in prototype.
28172 * manual/startup.texi (syscall): Use @dots{} instead of literal
28174 * manual/stdio.texi (__fpending): Separate initial words of
28175 paragraph from @deftypefun line.
28176 * manual/syslog.texi (syslog): Use @dots{} instead of literal
28178 (vsyslog): Use @var{} on parameter names.
28179 * manual/terminal.texi (stty): Use @var{} on parameter names.
28180 * manual/users.texi (getutmp): Use @var{} on parameter names.
28181 (getutmpx): Likewise.
28183 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28186 * manual/stdio.texi (fopen): Fix typos in description of
28189 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
28192 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28193 get clock_id definition.
28195 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
28198 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28199 (madvise): Cast every argument to void on its own.
28201 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28204 * manual/startup.texi (Exit Status): Fix typo.
28206 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28209 * manual/examples/argp-ex1.c: Include <stdlib.h>.
28210 * manual/examples/argp-ex2.c: Likewise.
28211 * manual/examples/argp-ex3.c: Likewise.
28213 2012-02-16 Richard Henderson <rth@redhat.com>
28215 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28216 * sysdeps/s390/s390-32/initfini.c: Remove.
28217 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28218 * sysdeps/s390/s390-64/initfini.c: Remove.
28220 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28222 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28223 compiler output for sysdeps/generic/initfini.c.
28224 * sysdeps/sh/elf/initfini.c: Remove file.
28226 2012-02-16 David S. Miller <davem@davemloft.net>
28229 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28231 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28232 * sysdeps/sparc/crti.S: New file.
28233 * sysdeps/sparc/crtn.S: New file.
28234 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28235 * sysdeps/sparc/sparc64/Makefile: Likewise.
28237 2012-02-15 Mike Frysinger <vapier@gentoo.org>
28240 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28242 2012-02-15 Roland McGrath <roland@hack.frob.com>
28245 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28247 * mach/devstream.c (cookie_io_functions_t): Macro removed.
28248 (write, read, close): Likewise.
28249 Patch by Aurelien Jarno <aurelien@aurel32.net>.
28251 2012-02-15 Joseph Myers <joseph@codesourcery.com>
28253 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28254 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28255 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28256 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28258 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28259 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28262 2012-02-14 Marek Polacek <polacek@redhat.com>
28264 * sysdeps/x86_64/crti.S: New file.
28265 * sysdeps/x86_64/crtn.S: New file.
28266 * sysdeps/x86_64/elf/initfini.c: Remove file.
28268 2012-02-13 Joseph Myers <joseph@codesourcery.com>
28270 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28271 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28272 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28273 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28275 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28276 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28279 2012-02-13 Joseph Myers <joseph@codesourcery.com>
28281 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
28282 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
28283 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
28284 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
28286 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28290 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
28292 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28293 __feraiseexcept instead of feraiseexcept.
28295 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
28296 nanosleep invocations.
28297 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
28298 strings, and add error checking for a nanosleep invocations.
28300 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
28302 Replace FSF snail mail address with URLs, as per GNU coding standards.
28303 Most of the snail mail addresses were wrong anyway, and omitting
28304 them makes the source code easier to maintain. Almost all of the
28305 changes are to license notices and to locale LC_IDENTIFICATION
28306 addresses, except for this one:
28307 * manual/libc.texinfo: In "Published by", give the FSF's URL,
28308 not its snail mail address.
28310 2012-02-09 Richard Henderson <rth@twiddle.net>
28312 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28313 of kernel-features.h.
28315 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28317 2012-02-08 Marek Polacek <polacek@redhat.com>
28319 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28320 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28321 * sysdeps/gnu/_G_config.h: Likewise.
28322 * sysdeps/generic/_G_config.h: Likewise.
28324 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
28326 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28330 * sysdeps/powerpc/powerpc32/crti.S: New file.
28331 * sysdeps/powerpc/powerpc32/crtn.S: New file.
28332 * sysdeps/powerpc/powerpc64/crti.S: New file.
28333 * sysdeps/powerpc/powerpc64/crtn.S: New file.
28335 * Makeconfig (have-initfini): Don't set.
28336 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28337 * configure.in (nopic_initfini): Don't substitute.
28338 * config.h.in (HAVE_INITFINI): Don't #undef.
28339 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28340 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28342 2012-02-08 Joseph Myers <joseph@codesourcery.com>
28344 Support crti.S and crtn.S provided directly by architectures.
28345 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28346 [crti.S in sysdirs] (omit-deps): Likewise.
28347 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28348 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28349 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28350 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28351 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28352 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28353 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28354 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28355 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28356 compiler output for sysdeps/generic/initfini.c.
28357 * sysdeps/i386/elf/Makefile: Remove file.
28358 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28360 2012-02-07 Marek Polacek <polacek@redhat.com>
28362 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28363 * sysdeps/gnu/_G_config.h: Likewise.
28364 * sysdeps/mach/hurd/_G_config.h: Likewise.
28366 2012-02-07 Marek Polacek <polacek@redhat.com>
28368 * math/Makefile (tests): Add tst-CMPLX2.
28369 * math/tst-CMPLX2.c: New file.
28371 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
28373 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28375 * math/libm-test.inc (jn_test): Add missing L suffix.
28377 2012-02-06 Marek Polacek <polacek@redhat.com>
28379 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28380 * sysdeps/i386/fpu/e_powf.S: Likewise.
28381 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28382 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28383 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28384 * sysdeps/i386/fpu/e_pow.S: Likewise.
28385 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28386 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28387 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28388 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28389 * sysdeps/i386/fpu/e_log2.S: Likewise.
28390 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28391 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28392 * sysdeps/i386/fpu/e_powl.S: Likewise.
28393 * sysdeps/i386/fpu/s_log1p.S: Likewise.
28394 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28395 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28396 * sysdeps/i386/fpu/e_logl.S: Likewise.
28397 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28398 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28399 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28400 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28401 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28402 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28403 * sysdeps/i386/fpu/e_log.S: Likewise.
28404 * sysdeps/i386/fpu/s_cexp.S: Likewise.
28405 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28406 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28407 * sysdeps/i386/fpu/e_logf.S: Likewise.
28408 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28409 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28410 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28411 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28412 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28413 * sysdeps/i386/fpu/e_log10.S: Likewise.
28414 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28415 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28416 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28417 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28418 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28419 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28420 * sysdeps/i386/asm-syntax.h: Likewise.
28421 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28422 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28423 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28424 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28425 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28426 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28427 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28428 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28429 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28430 * sysdeps/powerpc/sysdep.h: Likewise.
28431 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28432 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28434 2012-02-06 Joseph Myers <joseph@codesourcery.com>
28437 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28439 2012-02-06 Joseph Myers <joseph@codesourcery.com>
28441 * sysdeps/i386/sysdep.h: Include <features.h>.
28442 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28445 2012-02-05 Joseph Myers <joseph@codesourcery.com>
28447 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28449 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28452 2012-02-03 Joseph Myers <joseph@codesourcery.com>
28454 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28455 (SETUP_PIC_REG): Use GET_PC_THUNK.
28456 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28459 2012-02-03 Joseph Myers <joseph@codesourcery.com>
28461 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28462 for non-PIC compilation.
28463 (SETUP_PIC_REG): Add .p2align directive.
28464 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28465 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28466 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28467 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28468 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28469 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28470 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28471 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28472 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28473 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28474 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28475 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28476 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28477 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28478 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28479 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28480 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28481 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28482 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28483 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28484 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28485 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28486 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28487 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28488 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28489 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28490 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28491 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28492 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28493 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28494 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28495 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28496 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28497 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28498 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28499 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28500 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28501 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28502 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28503 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28504 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28506 2012-02-03 Joseph Myers <joseph@codesourcery.com>
28508 * math/tst-CMPLX.c: Include <stdio.h>.
28510 2012-01-31 Joseph Myers <joseph@codesourcery.com>
28512 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28514 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28515 * sysdeps/sparc/bits/mathdef.h: Likewise.
28517 2012-01-31 Marek Polacek <polacek@redhat.com>
28519 * libio/libio.h: Don't define _PARAMS.
28520 * locale/programs/config.h: Don't define PARAMS.
28521 * stdlib/strtol_l.c: Likewise.
28522 (__strtol_l): Remove PARAMS from the prototype.
28524 2012-01-31 Ulrich Drepper <drepper@gmail.com>
28526 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28527 names. Just use the correct names. Remove unnecessary wrapper
28529 * malloc/arena.c: Likewise.
28530 * malloc/hooks.c: Likewise.
28532 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28533 ARENA_TEST says not to. Simplify test for creation of a new arena.
28534 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28536 2012-01-30 Ulrich Drepper <drepper@gmail.com>
28538 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28540 (update_get_addr): New function.
28541 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28542 GET_ADDR_MODULE parameter.
28544 2012-01-30 Joseph Myers <joseph@codesourcery.com>
28546 * crypt/cert.c: Remove __STDC__ conditionals.
28547 * crypt/crypt-entry.c: Likewise.
28548 * crypt/crypt_util.c: Likewise.
28549 * libio/filedoalloc.c: Likewise.
28550 * libio/fileops.c: Likewise.
28551 * libio/genops.c: Likewise.
28552 * libio/iofclose.c: Likewise.
28553 * libio/iofdopen.c: Likewise.
28554 * libio/iofopen.c: Likewise.
28555 * libio/iofopen64.c: Likewise.
28556 * libio/iogetdelim.c: Likewise.
28557 * libio/iopopen.c: Likewise.
28558 * libio/obprintf.c: Likewise.
28559 * libio/oldfileops.c: Likewise.
28560 * libio/oldiofclose.c: Likewise.
28561 * libio/oldiofdopen.c: Likewise.
28562 * libio/oldiofopen.c: Likewise.
28563 * libio/oldiopopen.c: Likewise.
28564 * libio/wfiledoalloc.c: Likewise.
28565 * libio/wgenops.c: Likewise.
28566 * locale/programs/xmalloc.c: Likewise.
28567 * misc/syslog.c: Likewise.
28568 * stdio-common/xbug.c: Likewise.
28569 * string/memchr.c: Likewise.
28570 * string/memcmp.c: Likewise.
28571 * string/memrchr.c: Likewise.
28572 * string/rawmemchr.c: Likewise.
28573 * sysdeps/posix/getcwd.c: Likewise.
28574 * time/strftime_l.c: Likewise.
28576 2012-01-30 Joseph Myers <joseph@codesourcery.com>
28578 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
28579 * config.make.in (config-cflags-sse2avx): Define.
28580 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28583 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28585 * scripts/config.guess: Update from upstream config git repository.
28586 * scripts/config.sub: Likewise.
28588 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28590 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28592 (R_TILEPRO_*, R_TILEGX_*): New macros.
28594 * scripts/firstversions.awk: Fix bug in version range handling.
28596 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28598 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28600 * include/sys/epoll.h: New file.
28601 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28604 2012-01-28 Ulrich Drepper <drepper@gmail.com>
28606 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28607 Avoid unnecessary __WORDSIZE == 64 test.
28608 (fmaxf): Use VEX format if possible.
28613 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28614 * math/math_private.h: Remove libc_fegetround* and
28616 * sysdeps/i386/configure.in: Check for -msse2avx.
28617 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28618 also if SSE2AVX is defined.
28619 Remove libc_fegetround* and libc_fesetround*.
28620 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28621 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28622 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28624 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28625 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28626 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28627 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28628 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28630 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28632 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28634 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28636 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28638 2012-01-27 Ulrich Drepper <drepper@gmail.com>
28641 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28643 * Makeconfig (libm): Define.
28644 * elf/Makefile: Add rules to build and run tst-relsort1.
28645 * elf/tst-relsort1.c: New file.
28646 * elf/tst-relsort1mod1.c: New file.
28647 * elf/tst-relsort1mod2.c: New file.
28649 2012-01-27 Joseph Myers <joseph@codesourcery.com>
28651 * math/s_ldexp.c: Remove __STDC__ conditionals.
28652 * math/s_ldexpf.c: Likewise.
28653 * math/s_ldexpl.c: Likewise.
28654 * math/s_nextafter.c: Likewise.
28655 * math/s_nexttowardf.c: Likewise.
28656 * math/s_significand.c: Likewise.
28657 * math/s_significandf.c: Likewise.
28658 * math/s_significandl.c: Likewise.
28659 * math/w_jnl.c: Likewise.
28660 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28661 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28662 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28663 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28664 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28665 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28666 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28667 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28668 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28669 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28670 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28671 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28672 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28673 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28674 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28675 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28676 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28677 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28678 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28679 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28680 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28681 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28682 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28683 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28684 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28685 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28686 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28687 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28688 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28689 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28690 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28691 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28692 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28693 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28694 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28695 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28696 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28697 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28698 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28699 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28700 * sysdeps/ieee754/k_standard.c: Likewise.
28701 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28702 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28703 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28704 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28705 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28706 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28707 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28708 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28709 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28710 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28711 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28712 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28713 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28714 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28715 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28716 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28717 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28718 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28719 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28720 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28721 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28722 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28723 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28724 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28725 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28726 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28727 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28728 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28729 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28730 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28731 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28732 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28733 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28734 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28735 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28736 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28737 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28738 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28739 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28740 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28741 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28742 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28743 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28744 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28745 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28746 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28747 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28748 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28749 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28750 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28751 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28752 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28753 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28754 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28755 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28756 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28757 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28758 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28759 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28760 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28761 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28762 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28763 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28764 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28765 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28766 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28767 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28768 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28769 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28770 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28771 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28772 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28773 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28774 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28775 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28776 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28777 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28778 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28779 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28780 * sysdeps/ieee754/s_matherr.c: Likewise.
28781 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28782 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28783 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28784 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28786 2012-01-26 Joseph Myers <joseph@codesourcery.com>
28788 * crypt/md5.h: Remove __STDC__ conditionals.
28789 * libio/libioP.h: Likewise.
28790 * locale/programs/config.h: Likewise.
28791 * sysdeps/generic/sysdep.h: Likewise.
28792 * sysdeps/i386/asm-syntax.h: Likewise.
28793 * sysdeps/s390/asm-syntax.h: Likewise.
28794 * sysdeps/unix/sysdep.h: Likewise.
28795 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28798 2012-01-26 Joseph Myers <joseph@codesourcery.com>
28800 * libio/libio.h: Remove __STDC__ conditionals.
28801 * malloc/obstack.h: Likewise.
28802 * math/complex.h: Likewise.
28803 * math/math.h: Likewise.
28804 * sysdeps/generic/_G_config.h: Likewise.
28805 * sysdeps/gnu/_G_config.h: Likewise.
28806 * sysdeps/mach/hurd/_G_config.h: Likewise.
28807 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28808 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28809 * sysdeps/sparc/bits/mathdef.h: Likewise.
28811 2012-01-26 Ulrich Drepper <drepper@gmail.com>
28814 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
28815 Clean up HAS_* macros.
28816 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
28817 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28819 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28821 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28822 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28823 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28824 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28825 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28827 2012-01-25 Joseph Myers <joseph@codesourcery.com>
28829 * elf/tst-unique3.cc (gets): Remove declaration.
28830 * elf/tst-unique3lib.cc (gets): Likewise.
28831 * elf/tst-unique3lib2.cc (gets): Likewise.
28832 * elf/tst-unique4.cc (gets): Likewise.
28834 2012-01-24 Ulrich Drepper <drepper@gmail.com>
28836 * include/stdio.h: Add C++ protection. Add gets declarations and
28838 * debug/tst-chk1.c: Don't declare gets here.
28839 * stdio-common/tst-gets.c: Likewise.
28841 2012-01-24 Joseph Myers <joseph@codesourcery.com>
28843 * posix/glob: Remove directory.
28845 2012-01-24 Joseph Myers <joseph@codesourcery.com>
28847 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28849 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28851 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28852 of the non-standard EPFNOSUPPORT.
28854 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28856 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28857 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28858 ANYWHERE set to 1 only on KERN_NO_SPACE error.
28860 2012-01-21 Ulrich Drepper <drepper@gmail.com>
28862 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28864 2012-01-20 Ulrich Drepper <drepper@gmail.com>
28866 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28868 * nscd/grpcache.c (cache_addgr): Likewise.
28869 * nscd/hstcache.c (cache_addhst): Likewise.
28870 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28871 * nscd/pwdcache.c (cache_addpw): Likewise.
28872 * nscd/servicescache.c (cache_addserv): Likewise.
28874 2012-01-16 Ulrich Drepper <drepper@gmail.com>
28876 * malloc/malloc.c: Various cleanups.
28877 * malloc/hooks.c: Likewise.
28879 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28880 * stdlib/bug-fmtmsg1.c: New file.
28882 * stdlib/fmtmsg.c (init): Add missing unlock.
28883 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28885 2012-01-12 Marek Polacek <polacek@redhat.com>
28887 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28890 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28892 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28893 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28894 macro to ensure uniqueness of label name.
28895 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28896 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28898 2012-01-11 Ulrich Drepper <drepper@gmail.com>
28900 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28902 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28903 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28904 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28905 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28907 2012-01-10 Ulrich Drepper <drepper@gmail.com>
28909 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28911 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28912 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28913 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28915 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28917 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
28918 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28919 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28920 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
28922 * math/bits/math-finite.h: Add ldexp support.
28924 2012-01-10 Marek Polacek <polacek@redhat.com>
28926 * locale/programs/localedef.h (show_archive_content): Add noreturn
28929 2012-01-09 Ulrich Drepper <drepper@gmail.com>
28931 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28933 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28935 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28937 * io/Makefile (headers): Add bits/poll2.h.
28939 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28942 typo #include statement.
28944 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28946 * include/sys/cdefs.h: Define __attribute_alloc_size.
28947 * catgets/gencat.c: Add alloc_size attribute and apply consistently
28948 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28949 * elf/pldd.c: Likewise.
28950 * iconv/iconv_charmap.c: Likewise.
28951 * iconv/iconvconfig.c: Likewise.
28952 * iconv/strtab.c: Likewise.
28953 * locale/programs/locale.c: Likewise.
28954 * locale/programs/localedef.h: Likewise.
28955 * locale/programs/simple-hash.c: Likewise.
28956 * nscd/nscd.h: Likewise.
28957 * nss/makedb.c: Likewise.
28958 * sysdeps/generic/ldconfig.h: Likewise.
28959 * locale/programs/localedef.c: Remove xmalloc prototype.
28960 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28962 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28964 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28967 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28969 * math/Makefile (tests): Add tst-CMPLX.
28970 * math/tst-CMPLX.c: New file.
28972 * math/complex.h (CMPLXL): Fix typo.
28974 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
28975 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
28977 * debug/tst-chk1.c: Add poll and ppoll tests.
28978 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
28979 * include/sys/poll.h: Add hidden proto for ppoll.
28980 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
28981 * sysdeps/mach/hurd/ppoll.c: Likewise.
28982 * io/ppoll.c: Likewise.
28983 * debug/poll_chk.c: New file.
28984 * debug/ppoll_chk.c: New file.
28985 * include/bits/poll2.h: New file.
28986 * io/bits/poll2.h: New file.
28989 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
28991 * configure.in: static is always set to yes. Remove.
28992 * config.make.in: Don't set build-static.
28993 * Makeconfig: Remove use of build-static.
28994 * dlfcn/Makefile: Likewise.
28995 * elf/Makefile: Likewise.
28996 * math/Makefile: Likewise.
28997 * misc/Makefile: Likewise.
28998 * nptl/Makefile: Likewise.
28999 * sysdeps/mach/hurd/Makefile: Likewise.
29001 * configure.in: PWD_P is not used anymore.
29002 * config.make.in: Remove PWD_P entry.
29004 * configure.in: Remove last remnants of RANLIB.
29005 No need to check for signed size_t anymore.
29006 Don't set libc_commonpagesize and libc_relro_required here for Alpha
29008 Remove __builtin_expect test because we require at least gcc 3.4.
29009 * aclocal.m4: Likewise.
29011 * wcsmbs/mbrtoc16.c: Implement using towc function.
29012 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29013 * wcsmbs/wcsmbsload.c: Likewise.
29014 * iconv/gconv_simple.c: Likewise.
29015 * iconv/gconv_int.h: Likewise.
29016 * iconv/gconv_builtin.h: Likewise.
29017 * iconv/iconv_prog.c: Remove CHAR16 handling.
29019 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29021 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29023 * configure.in: Remove --with-elf and --enable-bounded options.
29024 Dont set base_machine for ia64. More non-ELF conditions removed.
29025 Remove testing and setting of leading underscore information.
29026 * config.make.in (build-bounded): Set to no.
29027 * config.h.in: Remove NO_UNDERSCORES entry.
29028 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
29030 * csu/start.c: Remove !NO_UNDERSCORE code.
29031 * locale/localeinfo.h: Likewise.
29032 * sysdeps/generic/machine-gmon.h: Likewise.
29033 * sysdeps/generic/sysdep.h: Likewise.
29034 * sysdeps/i386/sysdep.h: Likewise.
29035 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29036 * sysdeps/mach/sysdep.h: Likewise.
29037 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29038 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29039 * sysdeps/sh/sysdep.h: Likewise.
29040 * sysdeps/sparc/sparc32/alloca.S: Likewise.
29041 * sysdeps/unix/i386/sysdep.S: Likewise.
29042 * sysdeps/unix/sparc/start.c: Likewise.
29043 * sysdeps/unix/sparc/sysdep.S: Likewise.
29044 * sysdeps/unix/sparc/sysdep.h: Likewise.
29045 * sysdeps/unix/start.c: Likewise.
29046 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29047 * sysdeps/x86_64/sysdep.h: Likewise.
29049 2012-01-07 Ulrich Drepper <drepper@gmail.com>
29052 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29054 * argp/argp-fmtstream.h: Use const instead __const.
29055 * argp/argp.h: Likewise.
29056 * assert/assert.h: Likewise.
29057 * bits/fenv.h: Likewise.
29058 * bits/sched.h: Likewise.
29059 * bits/sigset.h: Likewise.
29060 * bits/sigthread.h: Likewise.
29061 * catgets/nl_types.h: Likewise.
29062 * conform/data/pthread.h-data: Likewise.
29063 * crypt/crypt-private.h: Likewise.
29064 * crypt/crypt.h: Likewise.
29065 * crypt/crypt_util.c: Likewise.
29066 * ctype/ctype.h: Likewise.
29067 * debug/execinfo.h: Likewise.
29068 * debug/mbsnrtowcs_chk.c: Likewise.
29069 * debug/mbsrtowcs_chk.c: Likewise.
29070 * debug/wcsnrtombs_chk.c: Likewise.
29071 * debug/wcsrtombs_chk.c: Likewise.
29072 * debug/wcstombs_chk.c: Likewise.
29073 * dirent/dirent.h: Likewise.
29074 * dlfcn/dlfcn.h: Likewise.
29075 * elf/neededtest4.c: Likewise.
29076 * grp/grp.h: Likewise.
29077 * gshadow/gshadow.h: Likewise.
29078 * iconv/gconv.h: Likewise.
29079 * iconv/gconv_int.h: Likewise.
29080 * iconv/gconv_simple.c: Likewise.
29081 * iconv/iconv.h: Likewise.
29082 * iconv/loop.c: Likewise.
29083 * iconv/skeleton.c: Likewise.
29084 * include/aio.h: Likewise.
29085 * include/aliases.h: Likewise.
29086 * include/argz.h: Likewise.
29087 * include/arpa/inet.h: Likewise.
29088 * include/assert.h: Likewise.
29089 * include/dirent.h: Likewise.
29090 * include/dlfcn.h: Likewise.
29091 * include/execinfo.h: Likewise.
29092 * include/fcntl.h: Likewise.
29093 * include/fenv.h: Likewise.
29094 * include/glob.h: Likewise.
29095 * include/grp.h: Likewise.
29096 * include/libintl.h: Likewise.
29097 * include/mntent.h: Likewise.
29098 * include/netdb.h: Likewise.
29099 * include/pwd.h: Likewise.
29100 * include/rpc/netdb.h: Likewise.
29101 * include/sched.h: Likewise.
29102 * include/search.h: Likewise.
29103 * include/shadow.h: Likewise.
29104 * include/signal.h: Likewise.
29105 * include/stdio.h: Likewise.
29106 * include/stdlib.h: Likewise.
29107 * include/string.h: Likewise.
29108 * include/sys/socket.h: Likewise.
29109 * include/sys/stat.h: Likewise.
29110 * include/sys/statfs.h: Likewise.
29111 * include/sys/statvfs.h: Likewise.
29112 * include/sys/syslog.h: Likewise.
29113 * include/sys/time.h: Likewise.
29114 * include/sys/uio.h: Likewise.
29115 * include/time.h: Likewise.
29116 * include/unistd.h: Likewise.
29117 * include/utmp.h: Likewise.
29118 * include/wchar.h: Likewise.
29119 * include/wctype.h: Likewise.
29120 * inet/aliases.h: Likewise.
29121 * inet/arpa/inet.h: Likewise.
29122 * inet/netinet/ether.h: Likewise.
29123 * inet/netinet/in.h: Likewise.
29124 * intl/libintl.h: Likewise.
29125 * io/bits/fcntl2.h: Likewise.
29126 * io/fcntl.h: Likewise.
29127 * io/ftw.h: Likewise.
29128 * io/sys/poll.h: Likewise.
29129 * io/sys/stat.h: Likewise.
29130 * io/sys/statfs.h: Likewise.
29131 * io/sys/statvfs.h: Likewise.
29132 * io/utime.h: Likewise.
29133 * libio/bits/stdio.h: Likewise.
29134 * libio/bits/stdio2.h: Likewise.
29135 * libio/libio.h: Likewise.
29136 * libio/libioP.h: Likewise.
29137 * libio/stdio.h: Likewise.
29138 * locale/lc-ctype.c: Likewise.
29139 * locale/locale.h: Likewise.
29140 * login/utmp.h: Likewise.
29141 * malloc/arena.c: Likewise.
29142 * malloc/malloc.c: Likewise.
29143 * malloc/malloc.h: Likewise.
29144 * malloc/mcheck.c: Likewise.
29145 * malloc/mtrace.c: Likewise.
29146 * math/bits/mathcalls.h: Likewise.
29147 * math/fenv.h: Likewise.
29148 * math/math_private.h: Likewise.
29149 * misc/bits/error.h: Likewise.
29150 * misc/bits/syslog.h: Likewise.
29151 * misc/err.h: Likewise.
29152 * misc/error.h: Likewise.
29153 * misc/fstab.h: Likewise.
29154 * misc/mntent.h: Likewise.
29155 * misc/regexp.h: Likewise.
29156 * misc/search.h: Likewise.
29157 * misc/sgtty.h: Likewise.
29158 * misc/sys/mman.h: Likewise.
29159 * misc/sys/syslog.h: Likewise.
29160 * misc/sys/uio.h: Likewise.
29161 * misc/sys/xattr.h: Likewise.
29162 * misc/ttyent.h: Likewise.
29163 * nis/rpcsvc/ypclnt.h: Likewise.
29164 * nss/nss.h: Likewise.
29165 * posix/bits/unistd.h: Likewise.
29166 * posix/fnmatch.h: Likewise.
29167 * posix/glob.h: Likewise.
29168 * posix/sched.h: Likewise.
29169 * posix/spawn.h: Likewise.
29170 * posix/sys/wait.h: Likewise.
29171 * posix/unistd.h: Likewise.
29172 * posix/wordexp.h: Likewise.
29173 * pwd/pwd.h: Likewise.
29174 * resolv/netdb.h: Likewise.
29175 * resource/sys/resource.h: Likewise.
29176 * rt/aio.h: Likewise.
29177 * rt/bits/mqueue2.h: Likewise.
29178 * rt/mqueue.h: Likewise.
29179 * shadow/shadow.h: Likewise.
29180 * signal/signal.h: Likewise.
29181 * socket/send.c: Likewise.
29182 * socket/sendto.c: Likewise.
29183 * socket/sys/socket.h: Likewise.
29184 * stdio-common/printf.h: Likewise.
29185 * stdlib/bits/stdlib.h: Likewise.
29186 * stdlib/fmtmsg.h: Likewise.
29187 * stdlib/monetary.h: Likewise.
29188 * stdlib/stdlib.h: Likewise.
29189 * stdlib/ucontext.h: Likewise.
29190 * streams/stropts.h: Likewise.
29191 * string/argz.h: Likewise.
29192 * string/bits/string2.h: Likewise.
29193 * string/string.h: Likewise.
29194 * string/strings.h: Likewise.
29195 * sunrpc/rpc/auth.h: Likewise.
29196 * sunrpc/rpc/auth_des.h: Likewise.
29197 * sunrpc/rpc/clnt.h: Likewise.
29198 * sunrpc/rpc/netdb.h: Likewise.
29199 * sunrpc/rpc/pmap_clnt.h: Likewise.
29200 * sunrpc/rpc/xdr.h: Likewise.
29201 * sysdeps/generic/inttypes.h: Likewise.
29202 * sysdeps/generic/net/if.h: Likewise.
29203 * sysdeps/generic/sys/swap.h: Likewise.
29204 * sysdeps/gnu/net/if.h: Likewise.
29205 * sysdeps/gnu/utmpx.h: Likewise.
29206 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29207 * sysdeps/i386/i486/bits/string.h: Likewise.
29208 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29209 * sysdeps/s390/bits/string.h: Likewise.
29210 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29211 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29212 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29213 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29214 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29215 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29216 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29217 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29218 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29219 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29220 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29221 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29222 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29223 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29224 * sysdeps/unix/sysv/linux/readv.c: Likewise.
29225 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29226 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29227 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29228 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29229 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29230 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29231 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29232 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29233 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29234 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29235 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29236 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29237 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29238 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29239 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29240 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29241 * sysvipc/sys/ipc.h: Likewise.
29242 * sysvipc/sys/msg.h: Likewise.
29243 * sysvipc/sys/sem.h: Likewise.
29244 * sysvipc/sys/shm.h: Likewise.
29245 * termios/termios.h: Likewise.
29246 * time/sys/time.h: Likewise.
29247 * time/time.h: Likewise.
29248 * wcsmbs/bits/wchar2.h: Likewise.
29249 * wcsmbs/uchar.h: Likewise.
29250 * wcsmbs/wchar.h: Likewise.
29251 * wctype/wctype.h: Likewise.
29254 * Makeconfig: Remove all but ELF support including AIX support.
29255 * Makerules: Likewise.
29256 * config.h.in: Likewise.
29257 * config.make.in: Likewise.
29258 * configure: Likewise.
29259 * configure.in: Likewise.
29260 * csu/Makefile: Likewise.
29261 * csu/version.c: Likewise.
29262 * debug/Makefile: Likewise.
29263 * dlfcn/Makefile: Likewise.
29264 * elf/Makefile: Likewise.
29265 * extra-lib.mk: Likewise.
29266 * iconv/Makefile: Likewise.
29267 * include/libc-symbols.h: Likewise.
29268 * include/shlib-compat.h: Likewise.
29269 * resolv/Makefile: Likewise.
29270 * resolv/res_libc.c: Likewise.
29271 * rt/Makefile: Likewise.
29272 * sysdeps/i386/asm-syntax.h: Likewise.
29273 * sysdeps/i386/sysdep.h: Likewise.
29274 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29275 * sysdeps/mach/sysdep.h: Likewise.
29276 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29277 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29278 * sysdeps/s390/asm-syntax.h: Likewise.
29279 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29280 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29281 * sysdeps/sh/sysdep.h: Likewise.
29282 * sysdeps/unix/sparc/sysdep.h: Likewise.
29283 * sysdeps/wordsize-32/divdi3.c: Likewise.
29284 * sysdeps/x86_64/sysdep.h: Likewise.
29286 * argp/Versions: Remove _argp_unlock_xxx.
29289 * abilist/ld.abilist: Update. Adjust for removal of tls option.
29290 * abilist/libBrokenLocale.abilist: Likewise.
29291 * abilist/libanl.abilist: Likewise.
29292 * abilist/libc.abilist: Likewise.
29293 * abilist/libcrypt.abilist: Likewise.
29294 * abilist/libdl.abilist: Likewise.
29295 * abilist/libm.abilist: Likewise.
29296 * abilist/libnsl.abilist: Likewise.
29297 * abilist/libpthread.abilist: Likewise.
29298 * abilist/libresolv.abilist: Likewise.
29299 * abilist/librt.abilist: Likewise.
29300 * abilist/libthread_db.abilist: Likewise.
29301 * abilist/libutil.abilist: Likewise.
29302 * abilist/libnss_db.abilist: New file.
29304 * scripts/abilist.awk: Add support for indirect functions.
29306 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29308 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29310 * shlib-versions: Remove entries for ports architectures.
29312 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
29314 * elf/stackguard-macros.h: Remove support for IA-64.
29315 * elf/tst-auditmod1.c: Likewise.
29316 * sysdeps/generic/ldsodefs.h: Likewise.
29318 * sysdeps/unix/sysv/linux/configure.in: Ports should define
29319 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29323 * configure.in: Remove --enable-omitfp support.
29325 * config.make.in: Likewise.
29326 * Makeconfig: Likewise.
29327 * manual/install.texi: Likewise.
29329 In case anyone cares, the IA-64 architecture could move to ports.
29330 * sysdeps/ia64/*: Removed.
29331 * sysdeps/unix/sysv/linux/ia64/*: Removed.
29332 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
29335 * configure.in: Remove entries for unsupported architectures.
29338 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29339 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
29341 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29342 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29343 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
29344 fall back to using wcrtomb.
29345 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29346 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
29348 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29349 * wcsmbs/tst-c16c32-1.c: New file.
29351 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29354 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29356 * elf/tst-unique3.cc: Add explicit declaration of gets.
29357 * elf/tst-unique3lib.cc: Likewise.
29358 * elf/tst-unique3lib2.cc: Likewise.
29359 * elf/tst-unique4.cc: Likewise.
29361 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29363 2012-01-06 Joseph Myers <joseph@codesourcery.com>
29366 * assert/assert.h (static_assert): Don't define for C++.
29367 * libio/stdio.h (gets): Do declare for C++ <= C++11.
29368 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29370 2012-01-03 Ulrich Drepper <drepper@gmail.com>
29372 * iconv/loop.c (single loop): Fix assertion in storing of
29375 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29377 2012-01-01 Ulrich Drepper <drepper@gmail.com>
29379 * posix/getconf.c: Update copyright year.
29380 * nss/getent.c: Likewise.
29381 * nss/makedb.c: Likewise.
29382 * iconv/iconvconfig.c: Likewise.
29383 * iconv/iconv_prog.c: Likewise.
29384 * elf/ldconfig.c: Likewise.
29385 * elf/pldd.c: Likewise.
29386 * elf/sotruss.ksh: Likewise.
29387 * catgets/gencat.c: Likewise.
29388 * csu/version.c: Likewise.
29389 * elf/ldd.bash.in: Likewise.
29390 * elf/sprof.c (print_version): Likewise.
29391 * locale/programs/locale.c: Likewise.
29392 * locale/programs/localedef.c: Likewise.
29393 * login/programs/pt_chown.c: Likewise.
29394 * nscd/nscd.c (print_version): Likewise.
29395 * debug/xtrace.sh: Likewise.
29396 * malloc/memusage.sh: Likewise.
29397 * malloc/mtrace.pl: Likewise.
29398 * debug/catchsegv.sh: Likewise.
29400 2011-12-30 Jakub Jelinek <jakub@redhat.com>
29402 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29405 2011-12-24 Ulrich Drepper <drepper@gmail.com>
29408 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29409 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29411 * iconv/gconv_int.h: Likewise.
29412 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29413 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29414 from libc for GLIBC_2.16.
29415 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29416 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29417 * wcsmbs/uchar.h: Really define mbstate_t.
29418 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29419 * wcsmbs/c16rtomb.c: New file.
29420 * wcsmbs/mbrtoc16.c: New file.
29421 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29422 for C/POSIX locale.
29423 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29424 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29426 * wcsmbs/wchar.h: Add missing __restrict.
29428 2011-12-23 Ulrich Drepper <drepper@gmail.com>
29431 * time/Makefile (routines): Add timespec_get.
29432 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29433 * time/time.h: Define TIME_UTC and declare timespec_get. Define
29434 timespec for ISO C11.
29435 * time/timespec_get.c: New file.
29436 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29437 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29440 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29441 * stdlib/stdlib.h: Declare aligned_alloc.
29442 * Versions.def: Add GLIBC_2.16 for libc.
29443 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29446 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29449 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
29453 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29456 * assert/assert.h (static_assert): Define.
29458 * version.h: Update for 2.16 development version.
29461 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29464 * version.h (RELEASE): Bump for 2.15 release.
29465 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29467 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29468 Patch by Marek Polacek <mpolacek@redhat.com>.
29470 * bits/byteswap.h: Protect long long constants with __extension__.
29471 * sysdeps/i386/bits/byteswap.h: Likewise.
29472 * sysdeps/ia64/bits/byteswap.h: Likewise.
29473 * sysdeps/s390/bits/byteswap.h: Likewise.
29474 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29476 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29479 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29480 destination buffer.
29481 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29483 2011-12-23 Marek Polacek <polacek@redhat.com>
29485 * elf/dl-addr.c (determine_info): Add inline keyword.
29486 * elf/tst-auditmod4b.c (check_avx): Likewise.
29487 * elf/tst-auditmod6b.c (check_avx): Likewise.
29488 * elf/tst-auditmod6c.c (check_avx): Likewise.
29489 * elf/tst-auditmod7b.c (check_avx): Likewise.
29491 2011-12-23 Ulrich Drepper <drepper@gmail.com>
29493 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29496 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29499 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29500 processing for last bytes.
29502 2011-08-06 Bruno Haible <bruno@clisp.org>
29505 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29506 U+0385, not to U+1FEE.
29509 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29510 entry for U+00A5 U+0301.
29512 2011-12-22 Ulrich Drepper <drepper@gmail.com>
29515 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29516 buffer for the output is too small.
29518 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29522 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29523 SSE flags if possible.
29525 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29528 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29529 processing for last bytes.
29531 2011-12-22 Joseph Myers <joseph@codesourcery.com>
29533 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29534 (syscall-list-default-options, syscall-list-default-condition)
29535 (syscall-list-includes): Define.
29536 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29537 list of ABIs and options and #if conditions for each ABI. Do not
29538 handle common syscalls between ABIs specially.
29539 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29541 (syscall-list-variants, syscall-list-32bit-options)
29542 (syscall-list-32bit-condition, syscall-list-64bit-options)
29543 (syscall-list-64bit-condition): Define.
29544 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29545 (syscall-list-variants, syscall-list-32bit-options)
29546 (syscall-list-32bit-condition, syscall-list-64bit-options)
29547 (syscall-list-64bit-condition): Define.
29548 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29550 (syscall-list-variants, syscall-list-32bit-options)
29551 (syscall-list-32bit-condition, syscall-list-64bit-options)
29552 (syscall-list-64bit-condition): Define.
29553 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29555 (syscall-list-variants, syscall-list-32bit-options)
29556 (syscall-list-32bit-condition, syscall-list-64bit-options)
29557 (syscall-list-64bit-condition): Define.
29559 2011-12-22 Ulrich Drepper <drepper@gmail.com>
29561 * locale/iso-639.def: Add brx entry.
29564 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29565 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29567 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29568 __feraiseexcept_renamed.
29570 2011-12-21 Ulrich Drepper <drepper@gmail.com>
29573 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29574 EPOLLET with unsigned values.
29575 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29576 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29578 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29579 to large cancellation.
29580 * math/s_cacoshf.c: Likewise.
29581 * math/s_cacoshl.c: Likewise.
29583 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29587 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29588 * math/s_cacoshf.c: Likewise.
29589 * math/s_cacoshl.c: Likewise.
29591 2011-12-21 Ulrich Drepper <drepper@gmail.com>
29594 * iconv/gconv.h: Define __GCONV_SWAP.
29595 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29596 * iconvdata/utf-16.c: Likewise.
29597 * iconvdata/utf-32.c: Likewise.
29599 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29602 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29603 numerator after shifting it by one limb.
29605 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29607 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29608 under [__USE_EXTERN_INLINES].
29610 2011-12-17 Ulrich Drepper <drepper@gmail.com>
29613 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29615 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29617 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29618 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29620 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29621 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29622 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29623 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29624 for strncasecmp/strncasecmp_l compilation.
29625 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29626 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29628 2011-12-08 Marek Polacek <mpolacek@redhat.com>
29631 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29634 2011-12-17 Ulrich Drepper <drepper@gmail.com>
29637 * time/tzfile.c (__tzfile_read): Check values from file header.
29639 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29641 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29642 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29643 * powerpc/powerpc32/dl-start.S: Likewise.
29644 * powerpc/powerpc32/elf/start.S: Likewise.
29645 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29646 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29647 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29648 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29649 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29650 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29651 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29652 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29653 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29654 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29655 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29656 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29657 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29658 * powerpc/powerpc32/memset.S: Likewise.
29659 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29660 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29661 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29662 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29663 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29664 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29665 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29666 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29667 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29668 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29669 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29670 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29671 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29673 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29675 * math/libm-test.inc: Added more nearbyint tests.
29676 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29677 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29678 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29679 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29681 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29683 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29686 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29688 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29689 Add wcscpy-ssse3 wcscpy-c.
29690 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29691 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29692 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29693 * sysdeps/x86_64/wcschr.S: New file.
29694 * sysdeps/x86_64/wcsrchr.S: New file.
29695 * string/test-strcmp.c: Remove checking of wcscmp function for
29697 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29698 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29699 wcsrchr-sse2 wcsrchr-c.
29700 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29701 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29702 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29703 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29704 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29705 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29706 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29707 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29708 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29709 * wcsmbc/wcschr.c (WCSCHR): New macro.
29711 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29713 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29714 * wcsmbs/test-wcsrchr.c: New file.
29715 * string/test-strrchr.c: Add wcsrchr support.
29717 * wcsmbs/test-wcscpy.c: New file.
29718 * string/test-strcpy.c: Add wcscpy support.
29721 2011-12-10 Ulrich Drepper <drepper@gmail.com>
29723 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29726 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29729 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29731 2011-12-04 Ulrich Drepper <drepper@gmail.com>
29733 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
29734 Minor optimizations.
29736 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29737 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29738 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29740 2011-12-03 Ulrich Drepper <drepper@gmail.com>
29742 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29743 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29744 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29745 for gcc to avoid warnings.
29746 * inet/Makefile (tests): Add tst-checks.
29747 * inet/tst-checks.c: New file.
29749 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29752 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29755 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29756 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29758 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29760 2011-12-02 Ulrich Drepper <drepper@gmail.com>
29762 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29765 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29767 2011-11-29 Joseph Myers <joseph@codesourcery.com>
29769 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29770 conditional on GCC version.
29771 (__arch_compare_and_exchange_val_8_acq)
29772 (__arch_compare_and_exchange_val_16_acq)
29773 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29774 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29775 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29777 2011-12-02 Joseph Myers <joseph@codesourcery.com>
29779 * sysdeps/sh/backtrace.c: New file.
29781 2011-12-02 Andreas Schwab <schwab@redhat.com>
29783 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29786 2011-12-01 Andreas Schwab <schwab@redhat.com>
29788 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29789 falling back to utime.
29791 2011-11-30 Andreas Schwab <schwab@redhat.com>
29793 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29794 expectations for float.
29796 2011-11-29 Andreas Schwab <schwab@redhat.com>
29798 * locale/weight.h (findidx): Add parameter len.
29799 * locale/weightwc.h (findidx): Likewise.
29800 * posix/fnmatch_loop.c (FCT): Adjust caller.
29801 * posix/regcomp.c (build_equiv_class): Likewise.
29802 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29803 * posix/regexec.c (check_node_accept_bytes): Likewise.
29804 * string/strcoll_l.c (STRCOLL): Likewise.
29805 * string/strxfrm_l.c (STRXFRM): Likewise.
29807 2011-11-17 Ulrich Drepper <drepper@gmail.com>
29809 * Makefile.in: Remove CVSOPT handling.
29810 * configure.in: Remove use of AC_REVISION.
29811 * iconvdata/Makefile (distribute): No need to filter out CVS.
29812 * scripts/list-sources.sh: Remove CVS, subversion and monotone
29815 2011-11-16 Andreas Schwab <schwab@redhat.com>
29817 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29818 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29819 [USE_AS_STRNCASECMP_L]: Likewise.
29820 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29821 NO_TLS_DIRECT_SEG_REFS.
29822 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29823 Fix argument offsets for non-PIC.
29824 [USE_AS_STRNCASECMP_L]: Likewise.
29825 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29826 NO_TLS_DIRECT_SEG_REFS.
29828 2011-11-15 Ulrich Drepper <drepper@gmail.com>
29830 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
29832 * locale/loadlocale.c (_nl_load_locale): Likewise.
29834 2011-11-15 Andreas Schwab <schwab@redhat.com>
29836 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29837 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29838 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29839 (SYSCALL_GETTIME): Set errno on error.
29841 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29842 count references to noai6ai_cached.
29844 2011-11-15 Ulrich Drepper <drepper@gmail.com>
29846 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29848 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29849 FD_CLOEXEC for /proc/self/maps.
29851 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29852 FD_CLOEXEC for /proc/meminfo.
29854 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29857 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29858 FD_CLOEXEC for given file.
29860 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29862 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29863 FD_CLOEXEC for /etc/hosts.
29864 (_gethtent): Likewise.
29866 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29868 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29869 cancellation and set FD_CLOEXEC for /etc/netgroup.
29871 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29872 reading /etc/publickey.
29874 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29875 allow cancellation when reading /etc/group.
29877 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29879 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29881 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29882 when using data file.
29884 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29886 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29887 (write_nis_obj): Use "c" and "e" in fopen.
29889 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29891 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29893 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29895 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29897 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29900 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29902 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29904 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29906 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29907 file parsing and set FD_CLOEXEC.
29909 2011-11-14 Ulrich Drepper <drepper@gmail.com>
29911 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29913 2011-11-14 Andreas Schwab <schwab@redhat.com>
29915 * malloc/arena.c (arena_get2): Don't call reused_arena when
29916 _int_new_arena failed.
29918 2011-11-14 Ulrich Drepper <drepper@gmail.com>
29920 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29921 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29922 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29923 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29924 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29925 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29926 to compile strcasecmp and strncasecmp.
29927 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29928 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29930 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29932 2011-11-13 Ulrich Drepper <drepper@gmail.com>
29934 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29935 locale-defines.sym to gen-as-const-headers.
29936 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29937 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29938 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29939 to compile strcasecmp and strncasecmp.
29940 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29941 strcasecmp_l and strncasecmp_l.
29942 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29943 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29944 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29945 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29946 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29947 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29948 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29949 * sysdeps/i386/i686/multiarch/strncase.S: New file.
29950 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29951 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29952 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29954 2011-11-12 Ulrich Drepper <drepper@gmail.com>
29956 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29957 result of SYSDEP_GETTIME_CPU to retval.
29958 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29959 parameter list to macro. Remove trailing semicolon. Adjust users.
29961 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29964 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29966 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29968 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29969 from unused variable.
29971 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
29973 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
29976 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
29979 * sunrpc/rpc_prot.c (rejected): Fix case value.
29981 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
29982 unsigned long long int to avoid warnings in shift.
29984 * posix/regex_internal.c (re_string_reconstruct): Actually use result
29986 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
29989 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
29990 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
29991 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
29993 * nis/nis_table.c (nis_list): Use variable of correct type for
29994 result of __follow_path call.
29996 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29998 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
29999 of math functions ceil, trunc, floor, round, and sqrt, when
30000 avaliable on the platform.
30001 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30003 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30004 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30005 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30007 2011-10-30 Marek Polacek <mpolacek@redhat.com>
30009 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30010 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30012 2011-11-11 Roland McGrath <roland@hack.frob.com>
30014 * include/unistd.h: Fix __readlink return type.
30015 Reported by Chris Metcalf <cmetcalf@tilera.com>.
30017 2011-11-11 Ulrich Drepper <drepper@gmail.com>
30019 * stdlib/ucontext.h: Undo last change for makecontext.
30021 2011-11-11 Andreas Schwab <schwab@redhat.com>
30023 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30025 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30026 * setjmp/setjmp.h: Mark functions as non-leaf.
30027 * setjmp/bits/setjmp2.h: Likewise.
30028 * stdlib/ucontext.h: Likewise.
30030 2011-11-10 Andreas Schwab <schwab@redhat.com>
30032 * malloc/arena.c (_int_new_arena): Don't increment narenas.
30033 (reused_arena): Don't check arena limit.
30034 (arena_get2): Atomically check arena limit.
30036 2011-11-08 Ulrich Drepper <drepper@gmail.com>
30038 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30039 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30041 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30044 2011-11-07 Andreas Schwab <schwab@redhat.com>
30046 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30047 handler when locking.
30049 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30050 Fix size of allocated buffer.
30052 2011-11-04 Andreas Schwab <schwab@redhat.com>
30055 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30056 declarations for long double functions.
30057 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30059 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30061 2011-11-03 Andreas Schwab <schwab@redhat.com>
30063 * nscd/nscd.c (main): Don't start AVC thread until credentials are
30066 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30069 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30071 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30073 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
30075 * include/alloca.h (stackinfo_alloca_round): Define.
30076 (extend_alloca): Use it.
30077 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30078 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30081 * scripts/check-local-headers.sh: Ignore libaudit.h.
30083 * nscd/Makefile (extra-objs): Make recursively expanded.
30085 2011-11-01 Ulrich Drepper <drepper@gmail.com>
30087 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30088 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30090 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30091 * posix/tst-rfc3484-2.c: Likewise.
30092 * posix/tst-rfc3484-3.c: Likewise.
30094 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30096 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30098 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30099 process_vm_writev from libc using GLIBC_2.15 version.
30101 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30103 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
30105 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30108 2011-10-31 Ulrich Drepper <drepper@gmail.com>
30111 * nss/getent.c (initgroups_keys): Show error message in case no group
30114 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30115 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30116 __bump_nl_timestamp.
30117 * nscd/connections (nscd_init): When host database is served open
30118 netlink socket and request notification about configuration changes.
30119 (main_loop_poll): Track netlink file descriptor and bump timestamp
30120 in case data becomes available.
30121 (main_loop_epoll): Likewise.
30122 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30123 (database_pers_head): Add extra_data fileds.
30124 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30125 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30126 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30128 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30129 in6ai data, call __free_in6ai.
30130 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30131 Add -DHAVE_NETLINK.
30132 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
30133 interface information. Reuse previous data if netlink timestamp
30135 (__bump_nl_timestamp): New function.
30136 (__free_in6ai): New function.
30138 2011-10-30 Ulrich Drepper <drepper@gmail.com>
30140 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30141 close_not_cancel_no_status here.
30142 (__check_pf): Reorganize code a bit to not call close twice if OOM.
30144 2011-10-29 Ulrich Drepper <drepper@gmail.com>
30147 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30150 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
30151 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30152 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30154 2011-07-03 Andreas Jaeger <aj@suse.de>
30157 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30158 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30159 * math/libm-test.inc (sin_test): Add test case.
30161 2011-10-29 Ulrich Drepper <drepper@gmail.com>
30164 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30165 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30167 * elf/chroot_canon.c (chroot_canon): Cleanups.
30169 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30172 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30173 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30175 * string/test-strchr.c: Make usable for strchrnul testing.
30176 * string/test-strchrnul.c: New file.
30177 * string/Makefile (strop-tests): Add strchrnul.
30179 * po/it.po: Update from translation team.
30180 * po/es.po: Likewise.
30182 2011-10-28 Ulrich Drepper <drepper@gmail.com>
30184 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30185 the three constants needed as parameters. Drop the others.
30186 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30187 __m128i_strloadu_tolower.
30188 Create and initialize variable zero and use it in all the places
30189 where _mm_setzero_si128 was used.
30191 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30192 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30193 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30194 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30196 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30197 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30198 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30199 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30200 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30201 __mpranred, __mptan.
30202 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30203 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30204 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30205 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30206 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30207 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30208 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30209 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30210 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30212 2011-10-28 Andreas Schwab <schwab@redhat.com>
30214 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30215 redefine if SHARED.
30216 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30218 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30219 wide char related routines to wcsmbs subdir.
30221 2011-10-27 Andreas Schwab <schwab@redhat.com>
30224 * misc/sys/cdefs.h (__THROWNL): Define.
30225 * posix/unistd.h: Use __THREADNL instead of __THREAD
30226 for memory synchronization functions.
30228 2011-10-26 Roland McGrath <roland@hack.frob.com>
30231 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30233 * manual/stdio.texi (Obstack Streams): Node removed.
30235 2011-10-26 Andreas Schwab <schwab@redhat.com>
30237 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30238 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30239 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30241 * math/math_private.h (math_force_eval): Allow non-addressable
30243 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30245 2011-10-25 Ulrich Drepper <drepper@gmail.com>
30247 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30248 file is not needed.
30250 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30251 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30252 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30253 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30254 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30255 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30256 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30257 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30259 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30260 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30261 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30262 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30263 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30264 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30265 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30266 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30267 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30268 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30269 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30270 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30271 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30272 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30273 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30274 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30275 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30276 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30277 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30279 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
30280 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
30282 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30283 place. Use VEX encoding when compiling for AVX.
30285 2011-10-25 Andreas Schwab <schwab@redhat.com>
30287 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30288 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30290 * string/test-strchr.c (do_test): Don't generate NUL bytes.
30292 2011-10-25 Ulrich Drepper <drepper@gmail.com>
30294 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
30295 useless if() expression.
30296 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30297 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30298 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30299 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30300 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30301 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30302 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30303 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30304 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30305 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30306 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30307 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30308 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30309 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30310 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30311 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30312 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30313 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30314 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30316 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30318 2011-10-25 Andreas Schwab <schwab@redhat.com>
30320 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30322 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30324 2011-10-25 Ulrich Drepper <drepper@gmail.com>
30326 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30327 .text section. Avoid duplicate constants.
30328 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30329 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30330 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30331 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30332 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30333 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30334 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30335 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30336 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30337 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30338 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30339 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30340 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30341 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30342 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30343 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30344 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30345 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30346 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30347 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30348 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30349 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30350 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30351 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30352 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30353 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30354 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30355 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30356 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30357 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30358 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30359 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30360 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30361 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30362 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30363 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30364 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30365 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30366 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30367 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30368 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30369 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30370 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30371 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30372 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30374 2011-10-24 Ulrich Drepper <drepper@gmail.com>
30376 * sysdeps/x86_64/dla.h: Move to ...
30377 * sysdeps/x86_64/fpu/dla.h: ...here.
30378 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30379 situations. Use __builtin_fma only for gcc 4.6 and up.
30381 * config.make.in: Add have-mfma4 entry.
30382 * configure.in: Substitute libc_cv_cc_fma4.
30383 * math/Makefile (dbl-only-routines): Add sincostab.
30384 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30385 Use __sincostab not sincos.
30386 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30388 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30389 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30390 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30391 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
30393 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
30394 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
30395 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30396 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30398 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30399 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30401 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
30402 define aliases when function name is a macro.
30403 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30404 sysdeps/ieee754/dbl-64/sincos.tbl.
30405 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30406 fma4-enabled routines.
30407 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30408 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30409 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30410 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30411 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30412 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30413 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30414 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30415 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30416 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30417 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30418 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30419 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30420 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30421 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30422 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30423 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30424 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30425 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30426 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30427 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30428 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30429 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30430 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30431 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30432 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30433 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30434 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30435 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30436 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30438 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30440 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
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-24 Andreas Schwab <schwab@redhat.com>
30451 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30453 2011-10-23 Ulrich Drepper <drepper@gmail.com>
30455 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30457 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30459 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30461 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30462 Remove unused variable magic_bits.
30463 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30465 * string/strnlen.c: Define and use STRNLEN macro.
30466 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30467 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30468 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30469 * wcsmbs/wcslen.c: Define and use WCSLEN.
30470 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30471 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30472 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30473 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30474 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30475 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30476 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30478 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30480 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30481 strnlen-sse2-no-bsf.
30482 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30483 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30484 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30485 Add strnlen support.
30486 (USE_AS_STRNLEN): New macro.
30487 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30488 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30489 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30490 * sysdeps/x86_64/wcslen.S: New file.
30492 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30494 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30495 XMM-moves are used for copying on small sizes.
30497 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30499 * wcsmbs/Makefile (strop-tests): Add wcschr.
30500 * wcsmbs/test-wcschr.c: New file.
30501 * string/test-strchr.c: Update.
30502 Add wcschr support.
30505 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30507 * wcsmbs/Makefile (strop-tests): Add wcslen.
30508 * wcsmbs/test-wcslen.c: New file.
30509 * string/test-strlen.c: Update.
30510 Add wcslen support.
30513 2011-10-23 Ulrich Drepper <drepper@gmail.com>
30515 * po/it.po: Update from translation team.
30517 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30519 * sysdeps/x86_64/wcscmp.S: Update.
30520 Fix wrong comparison semantics.
30521 wcscmp shall use signed comparison not unsigned.
30522 Don't use substraction to avoid overflow bug.
30523 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30524 * wcsmbc/wcscmp.c: Likewise.
30525 * string/test-strcmp.c: Likewise.
30526 Add new tests to check cases with negative values.
30528 2011-10-23 Ulrich Drepper <drepper@gmail.com>
30530 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30531 * sysdeps/x86_64/dla.h: ...here. New file.
30532 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30533 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30534 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30535 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30536 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30537 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30538 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30539 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30540 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30542 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30544 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30545 __ynl_finite aliases.
30547 2011-10-22 Ulrich Drepper <drepper@gmail.com>
30549 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30551 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30553 [DLA_FMA] (EMULV): Use DLA_FMA.
30554 [DLA_FMA] (MUL12): Use EMULV.
30555 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30556 that are not needed.
30557 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30558 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30559 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30560 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30561 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30562 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30563 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30565 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30567 * math/s_nan.c: Undef __nan.
30568 * math/s_nanf.c: Undef __nanf.
30569 * math/s_nanl.c: Undef __nanl.
30570 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30573 2011-10-22 Ulrich Drepper <drepper@gmail.com>
30575 * math/s_catan.c: Add branch predictions.
30576 * math/s_catanf.c: Likewise.
30577 * math/s_catanh.c: Likewise.
30578 * math/s_catanhf.c: Likewise.
30579 * math/s_catanhl.c: Likewise.
30580 * math/s_catanl.c: Likewise.
30581 * math/s_cexp.c: Likewise.
30582 * math/s_cexpf.c: Likewise.
30583 * math/s_cexpl.c: Likewise.
30584 * math/s_clog.c: Likewise.
30585 * math/s_clog10.c: Likewise.
30586 * math/s_clog10f.c: Likewise.
30587 * math/s_clog10l.c: Likewise.
30588 * math/s_clogf.c: Likewise.
30589 * math/s_clogl.c: Likewise.
30590 * math/s_csqrt.c: Likewise.
30591 * math/s_csqrtf.c: Likewise.
30592 * math/s_csqrtl.c: Likewise.
30593 * math/s_ctanf.c: Likewise.
30594 * math/s_ctanh.c: Likewise.
30595 * math/s_ctanhf.c: Likewise.
30596 * math/s_ctanhl.c: Likewise.
30597 * math/s_ctanl.c: Likewise.
30599 * math/math_private.h: Define __nan, __nanf, __nanl.
30600 * math/s_cacosh.c: Include <math_private.h>.
30601 * math/s_cacoshl.c: Likewise.
30602 * math/s_casinh.c: Likewise.
30603 * math/s_casinhf.c: Likewise.
30604 * math/s_casinhl.c: Likewise.
30605 * math/s_ccos.c: Rely entire on ccosh.
30606 * math/s_ccosf.c: Rely entire on ccoshf.
30607 * math/s_ccosl.c: Rely entirely on ccoshl.
30608 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30609 Remove tests for FE_INVALID.
30610 * math/s_ccoshf.c: Likewise.
30611 * math/s_ccoshl.c: Likewise.
30612 * math/s_csin.c: Likewise.
30613 * math/s_csinf.c: Likewise.
30614 * math/s_csinh.c Likewise.
30615 * math/s_csinhf.c: Likewise.
30616 * math/s_csinhl.c: Likewise.
30617 * math/s_csinl.c: Likewise.
30618 * math/s_ctan.c: Likewise.
30619 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30620 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30621 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30623 2011-10-21 Ulrich Drepper <drepper@gmail.com>
30625 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30626 compilation problems.
30628 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30631 2011-10-20 Ulrich Drepper <drepper@gmail.com>
30633 * sysdeps/i386/configure.in: Test for -mfma4 option.
30634 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30635 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30636 COMMON_CPUID_INDEX_80000001.
30637 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30638 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30639 use it if FMA3 is not supported.
30640 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30642 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30643 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30645 2011-10-20 Andreas Schwab <schwab@redhat.com>
30648 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30649 it would create a cycle with a link time dependency.
30651 2011-10-19 Ulrich Drepper <drepper@gmail.com>
30653 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30655 * string/Makefile (strop-tests): Add rawmemchr.
30656 * string/test-rawmemchr.c: New file.
30658 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30659 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30660 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30661 when compiling str{,n}casecmp and when AVX is available. Hook up
30662 new optimized code in initializers.
30664 2011-10-19 Andreas Schwab <schwab@redhat.com>
30666 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30667 __feraiseexcept instead of feraiseexcept.
30669 2011-10-18 Ulrich Drepper <drepper@gmail.com>
30671 * math/math_private.h: Define defaults for libc_fetestexcept and
30673 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30674 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30675 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30676 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30677 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30678 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30679 libc_fetestexcept and libc_feupdateenv.
30681 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30682 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30683 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30684 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30685 libc_feholdexcept_setround.
30687 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30688 Add s_nearbyint-c and s_nearbyintf-c.
30689 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30690 nearbyintf inlines.
30691 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30692 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30693 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30694 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30696 * math/math_private.h: Define defaults for libc_fegetround,
30697 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30698 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30699 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30700 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30701 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30702 standard functions.
30703 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30704 Remove comments and hacks for old compiler versions.
30705 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30706 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30707 libc_feholdexceptl.
30709 2011-10-18 Andreas Schwab <schwab@redhat.com>
30711 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
30712 (__feraiseexcept_renamed): Add __NTH.
30713 (feraiseexcept): Add __NTH. Rename local variables to fix
30714 namespace violations.
30716 2011-10-17 Ulrich Drepper <drepper@gmail.com>
30718 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30720 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30722 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30723 recently added interfaces.
30724 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30726 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30727 about macro parameter expansion.
30729 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30730 __NO_MATH_INLINES is defined. Cleanups.
30732 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30733 and __floorf is target has SSE4.1.
30734 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30735 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30736 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30737 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30739 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30741 (floorf): Likewise.
30743 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30745 2011-10-17 Andreas Schwab <schwab@redhat.com>
30747 * misc/sys/cdefs.h: Fix last change.
30749 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30752 2011-10-16 Ulrich Drepper <drepper@gmail.com>
30754 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30756 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30757 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30758 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30759 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30760 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30761 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30762 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30763 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30764 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30765 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30766 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30767 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30768 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30769 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30770 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30771 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30772 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30773 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30774 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30775 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30776 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30777 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30779 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30780 ceil, ceilf, floor, floorf.
30782 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30783 Perform IRELATIVE relocations last.
30785 * elf/do-rel.h: Add another parameter nrelative, replacing the
30786 local variable with the same name. Change name of the function
30787 to end in Rel or Rela (uppercase).
30788 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30789 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
30790 elf_dynamic_do_##reloc function.
30792 2011-10-15 Ulrich Drepper <drepper@gmail.com>
30794 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30795 is sufficient, at least on modern CPUs.
30797 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30799 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30800 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30802 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30804 * math/bits/math-finite.h: Add entries for exp.
30805 * math/e_expl.c: Add __*_finite alias.
30806 * sysdeps/i386/fpu/e_exp.S: Likewise.
30807 * sysdeps/i386/fpu/e_expf.S: Likewise.
30808 * sysdeps/i386/fpu/e_expl.c: Likewise.
30809 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30810 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30811 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30812 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30813 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30814 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30815 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30817 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30818 is sufficient, at least on modern CPUs.
30820 * ctype/ctype-info.c (__ctype_init): Define.
30821 * include/ctype.h (__ctype_init): Declare.
30822 (__ctype_b_loc): The variable is always initialized.
30823 (__ctype_toupper_loc): Likewise.
30824 (__ctype_tolower_loc): Likewise.
30825 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30826 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30828 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30830 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30832 * configure.in: Also look in $cxxmachine/include for C++ system
30835 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30837 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30838 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30839 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30840 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
30841 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30842 (USE_AS_WMEMCMP): New macro.
30844 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30845 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30846 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30847 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30848 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30849 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30850 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30851 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30852 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30853 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30854 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30855 (USE_AS_WMEMCMP): New macro.
30856 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30857 * sysdeps/string/test-memcmp.c: Update.
30858 Fix simple_wmemcmp.
30860 * wcsmbs/wmemcmp.c: Update.
30861 (WMEMCMP): New macro.
30864 2011-10-12 Andreas Jaeger <aj@suse.de>
30867 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30869 2011-10-15 Ulrich Drepper <drepper@gmail.com>
30871 * libio/iofwide.c (do_length): Avoid warning.
30873 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30875 2011-10-14 Ulrich Drepper <drepper@gmail.com>
30877 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30879 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30880 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30881 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30882 * sysdeps/i386/i686/fpu/e_log.S: New file.
30883 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30884 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30886 * ctype/ctype.h: Add support for inlined isXXX functions when
30887 compiling C++ code.
30889 2011-10-14 Andreas Schwab <schwab@redhat.com>
30891 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30893 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30895 2011-10-13 Roland McGrath <roland@hack.frob.com>
30898 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30900 2011-10-13 Andreas Schwab <schwab@redhat.com>
30902 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30903 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30906 * sysdeps/x86_64/memrchr.S: Check for zero size.
30908 * string/stratcliff.c: Add memrchr tests.
30910 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30912 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30913 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30914 rawmemchr-sse2 rawmemchr-sse2-bsf.
30915 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30916 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30917 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30918 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30919 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30920 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30921 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30922 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30923 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30924 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30925 * string/memrchr.c (MEMRCHR): New macro.
30927 2011-10-12 Ulrich Drepper <drepper@gmail.com>
30929 Add integration with gcc's -ffinite-math-only and optimize wrapper
30931 * Versions.def: Define GLIBC_2.15 version for libm.
30932 * math/Makefile (headers): Add bits/math-finite.h.
30933 * math/bits/math-finite.h: New file.
30934 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30935 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30936 * math/e_acoshl.c: Add __*_finite alias.
30937 * math/e_acosl.c: Likewise.
30938 * math/e_asinl.c: Likewise.
30939 * math/e_atan2l.c: Likewise.
30940 * math/e_atanhl.c: Likewise.
30941 * math/e_coshl.c: Likewise.
30942 * math/e_exp10.c: Likewise.
30943 * math/e_exp10f.c: Likewise.
30944 * math/e_exp10l.c: Likewise.
30945 * math/e_exp2l.c: Likewise.
30946 * math/e_fmodl.c: Likewise.
30947 * math/e_gammal_r.c: Likewise.
30948 * math/e_hypotl.c: Likewise.
30949 * math/e_j0l.c: Likewise.
30950 * math/e_j1l.c: Likewise.
30951 * math/e_jnl.c: Likewise.
30952 * math/e_lgammal_r.c: Likewise.
30953 * math/e_log10l.c: Likewise.
30954 * math/e_log2l.c: Likewise.
30955 * math/e_logl.c: Likewise.
30956 * math/e_powl.c: Likewise.
30957 * math/e_sinhl.c: Likewise.
30958 * math/e_sqrtl.c: Likewise.
30959 * math/e_scalb.c: Completely rewritten and optimized.
30960 * math/e_scalbf.c: Likewise.
30961 * math/e_scalbl.c: Likewise.
30962 * math/w_acos.c: Likewise.
30963 * math/w_acosf.c: Likewise.
30964 * math/w_acosl.c: Likewise.
30965 * math/w_acosh.c: Likewise.
30966 * math/w_acoshf.c: Likewise.
30967 * math/w_acoshl.c: Likewise.
30968 * math/w_asin.c: Likewise.
30969 * math/w_asinf.c: Likewise.
30970 * math/w_asinl.c: Likewise.
30971 * math/w_atan2.c: Likewise.
30972 * math/w_atan2f.c: Likewise.
30973 * math/w_atan2l.c: Likewise.
30974 * math/w_atanh.c: Likewise.
30975 * math/w_atanhf.c: Likewise.
30976 * math/w_atanhl.c: Likewise.
30977 * math/w_exp10.c: Likewise.
30978 * math/w_exp10f.c: Likewise.
30979 * math/w_exp10l.c: Likewise.
30980 * math/w_fmod.c: Likewise.
30981 * math/w_fmodf.c: Likewise.
30982 * math/w_fmodl.c: Likewise.
30983 * math/w_j0.c: Likewise.
30984 * math/w_j0f.c: Likewise.
30985 * math/w_j0l.c: Likewise.
30986 * math/w_j1.c: Likewise.
30987 * math/w_j1f.c: Likewise.
30988 * math/w_j1l.c: Likewise.
30989 * math/w_jn.c: Likewise.
30990 * math/w_jnf.c: Likewise.
30991 * math/w_log.c: Likewise.
30992 * math/w_logf.c: Likewise.
30993 * math/w_logl.c: Likewise.
30994 * math/w_log10.c: Likewise.
30995 * math/w_log10f.c: Likewise.
30996 * math/w_log10l.c: Likewise.
30997 * math/w_log2.c: Likewise.
30998 * math/w_log2f.c: Likewise.
30999 * math/w_log2l.c: Likewise.
31000 * math/w_pow.c: Likewise.
31001 * math/w_powf.c: Likewise.
31002 * math/w_powl.c: Likewise.
31003 * math/w_remainder.c: Likewise.
31004 * math/w_remainderf.c: Likewise.
31005 * math/w_remainderl.c: Likewise.
31006 * math/w_scalb.c: Likewise.
31007 * math/w_scalbf.c: Likewise.
31008 * math/w_scalbl.c: Likewise.
31009 * math/w_sqrt.c: Likewise.
31010 * math/w_sqrtf.c: Likewise.
31011 * math/w_sqrtl.c: Likewise.
31012 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31013 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
31015 * math/math_private.h: Declare __kernel_standard_f.
31016 * math/w_cosh.c: Remove cruft and optimize a bit.
31017 * math/w_coshf.c: Likewise.
31018 * math/w_coshl.c: Likewise.
31019 * math/w_exp2.c: Likewise.
31020 * math/w_exp2f.c: Likewise.
31021 * math/w_exp2l.c: Likewise.
31022 * math/w_hypot.c: Likewise.
31023 * math/w_hypotf.c: Likewise.
31024 * math/w_hypotl.c: Likewise.
31025 * math/w_lgamma.c: Likewise.
31026 * math/w_lgamma_r.c: Likewise.
31027 * math/w_lgammaf.c: Likewise.
31028 * math/w_lgammaf_r.c: Likewise.
31029 * math/w_lgammal.c: Likewise.
31030 * math/w_lgammal_r.c: Likewise.
31031 * math/w_sinh.c: Likewise.
31032 * math/w_sinhf.c: Likewise.
31033 * math/w_sinhl.c: Likewise.
31034 * math/w_tgamma.c: Likewise.
31035 * math/w_tgammaf.c: Likewise.
31036 * math/w_tgammal.c: Likewise.
31037 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31038 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31039 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31040 Minor optimizations. Pretty printing. Remove cruft.
31041 * sysdeps/i386/fpu/e_acosf.S: Likewise.
31042 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31043 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31044 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31045 * sysdeps/i386/fpu/e_acosl.c: Likewise.
31046 * sysdeps/i386/fpu/e_asin.S: Likewise.
31047 * sysdeps/i386/fpu/e_asinf.S: Likewise.
31048 * sysdeps/i386/fpu/e_atan2.S: Likewise.
31049 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31050 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31051 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31052 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31053 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31054 * sysdeps/i386/fpu/e_exp10.S: Likewise.
31055 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31056 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31057 * sysdeps/i386/fpu/e_exp2.S: Likewise.
31058 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31059 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31060 * sysdeps/i386/fpu/e_fmod.S: Likewise.
31061 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31062 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31063 * sysdeps/i386/fpu/e_hypot.S: Likewise.
31064 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31065 * sysdeps/i386/fpu/e_log.S: Likewise.
31066 * sysdeps/i386/fpu/e_log10.S: Likewise.
31067 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31068 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31069 * sysdeps/i386/fpu/e_log2.S: Likewise.
31070 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31071 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31072 * sysdeps/i386/fpu/e_logf.S: Likewise.
31073 * sysdeps/i386/fpu/e_logl.S: Likewise.
31074 * sysdeps/i386/fpu/e_pow.S: Likewise.
31075 * sysdeps/i386/fpu/e_powf.S: Likewise.
31076 * sysdeps/i386/fpu/e_powl.S: Likewise.
31077 * sysdeps/i386/fpu/e_remainder.S: Likewise.
31078 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31079 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31080 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31081 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31082 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31083 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31084 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31085 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31086 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31087 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31088 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31089 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31090 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31091 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31092 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31093 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31094 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31095 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31096 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31097 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31098 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31099 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31100 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31101 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31102 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31103 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31104 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31105 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31106 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31107 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31108 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31109 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31110 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31111 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31112 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31113 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31114 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31115 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31116 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31117 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31118 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31119 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31120 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31121 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31122 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31123 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31124 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31125 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31126 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31127 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31128 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31129 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31130 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31131 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31132 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31133 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31134 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31135 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31136 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31137 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31138 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31139 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31140 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31141 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31142 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31143 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31144 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31145 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31146 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31147 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31148 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31149 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31150 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31151 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31152 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31153 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31154 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31155 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31156 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31157 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31158 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31159 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31160 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31161 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31162 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31163 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31164 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31165 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31166 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31167 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31168 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31169 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31170 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31171 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31172 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31173 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31174 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31175 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31176 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31177 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31178 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31179 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31180 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31181 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31182 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31183 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31184 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31185 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31186 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31187 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31188 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31189 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31190 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31191 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31192 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31193 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31194 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31195 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31196 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
31197 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31198 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31199 (__isnanf): Likewise.
31200 (__isinf_ns): Likewise.
31201 (__isinf_nsf): Likewise.
31202 (__finite): Likewise.
31203 (__finitef): Likewise.
31204 (__ieee754_sqrt): Define as macro.
31205 (__ieee754_sqrtf): Define as macro.
31206 (__ieee754_sqrtl): Define as macro.
31207 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31209 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31210 __FINITE_MATH_ONLY__ consistent.
31211 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31213 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
31215 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31218 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31220 2011-10-09 Ulrich Drepper <drepper@gmail.com>
31222 * po/ja.po: Update from translation team.
31224 2011-10-08 Roland McGrath <roland@hack.frob.com>
31226 * locale/programs/locarchive.c (prepare_address_space): New function.
31227 (create_archive, enlarge_archive, open_archive): Use it.
31229 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31230 inside [SHARED], where it is used.
31232 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31234 * nss/getent.c (netgroup_keys): Remove unused variable.
31235 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31237 2011-10-08 Ulrich Drepper <drepper@gmail.com>
31239 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31240 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31241 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31242 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31243 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31244 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31245 * math/Makefile (libm-calls): Add s_isinf_ns.
31246 * math/divtc3.c: Use __isinf_nsl instead of isinf.
31247 * math/multc3.c: Likewise.
31248 * math/s_casin.c: Likewise.
31249 * math/s_casinf.c: Likewise.
31250 * math/s_casinl.c: Likewise.
31251 * math/s_ccos.c: Likewise.
31252 * math/s_ccosf.c: Likewise.
31253 * math/s_ccosl.c: Likewise.
31254 * math/s_ctan.c: Likewise.
31255 * math/s_ctanf.c: Likewise.
31256 * math/s_ctanh.c: Likewise.
31257 * math/s_ctanhf.c: Likewise.
31258 * math/s_ctanhl.c: Likewise.
31259 * math/s_ctanl.c: Likewise.
31260 * math/w_fmod.c: Likewise.
31261 * math/w_fmodf.c: Likewise.
31262 * math/w_fmodl.c: Likewise.
31263 * math/w_remainder.c: Likewise.
31264 * math/w_remainderf.c: Likewise.
31265 * math/w_remainderl.c: Likewise.
31266 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31267 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31268 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31269 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31270 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31271 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31272 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31273 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31275 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31277 * stdio-common/printf_fphex.c: Likewise.
31278 * stdio-common/printf_size.c: Likewise.
31280 * math/e_exp10.c: Include math_private.h using <...> not "...".
31281 * math/e_exp10f.c: Likewise.
31282 * math/e_exp10l.c: Likewise.
31283 * math/e_exp2l.c: Likewise.
31284 * math/e_j0l.c: Likewise.
31285 * math/e_j1l.c: Likewise.
31286 * math/e_jnl.c: Likewise.
31287 * math/e_lgammal_r.c: Likewise.
31288 * math/e_rem_pio2l.c: Likewise.
31289 * math/e_scalb.c: Likewise.
31290 * math/e_scalbf.c: Likewise.
31291 * math/e_scalbl.c: Likewise.
31292 * math/k_cosl.c: Likewise.
31293 * math/k_sinl.c: Likewise.
31294 * math/k_tanl.c: Likewise.
31295 * math/s_cacoshf.c: Likewise.
31296 * math/s_catan.c: Likewise.
31297 * math/s_catanf.c: Likewise.
31298 * math/s_catanh.c: Likewise.
31299 * math/s_catanhf.c: Likewise.
31300 * math/s_catanhl.c: Likewise.
31301 * math/s_catanl.c: Likewise.
31302 * math/s_ccosh.c: Likewise.
31303 * math/s_ccoshf.c: Likewise.
31304 * math/s_ccoshl.c: Likewise.
31305 * math/s_cexp.c: Likewise.
31306 * math/s_cexpf.c: Likewise.
31307 * math/s_cexpl.c: Likewise.
31308 * math/s_clog.c: Likewise.
31309 * math/s_clog10.c: Likewise.
31310 * math/s_clog10f.c: Likewise.
31311 * math/s_clog10l.c: Likewise.
31312 * math/s_clogf.c: Likewise.
31313 * math/s_clogl.c: Likewise.
31314 * math/s_csin.c: Likewise.
31315 * math/s_csinf.c: Likewise.
31316 * math/s_csinh.c: Likewise.
31317 * math/s_csinhf.c: Likewise.
31318 * math/s_csinhl.c: Likewise.
31319 * math/s_csinl.c: Likewise.
31320 * math/s_csqrt.c: Likewise.
31321 * math/s_csqrtf.c: Likewise.
31322 * math/s_csqrtl.c: Likewise.
31323 * math/s_ctan.c: Likewise.
31324 * math/s_ctanf.c: Likewise.
31325 * math/s_ctanh.c: Likewise.
31326 * math/s_ctanhf.c: Likewise.
31327 * math/s_ctanhl.c: Likewise.
31328 * math/s_ctanl.c: Likewise.
31329 * math/s_ldexp.c: Likewise.
31330 * math/s_ldexpf.c: Likewise.
31331 * math/s_ldexpl.c: Likewise.
31332 * math/s_significand.c: Likewise.
31333 * math/s_significandf.c: Likewise.
31334 * math/s_significandl.c: Likewise.
31335 * math/w_acos.c: Likewise.
31336 * math/w_acosf.c: Likewise.
31337 * math/w_acosh.c: Likewise.
31338 * math/w_acoshf.c: Likewise.
31339 * math/w_acoshl.c: Likewise.
31340 * math/w_acosl.c: Likewise.
31341 * math/w_asin.c: Likewise.
31342 * math/w_asinf.c: Likewise.
31343 * math/w_asinl.c: Likewise.
31344 * math/w_atan2.c: Likewise.
31345 * math/w_atan2f.c: Likewise.
31346 * math/w_atan2l.c: Likewise.
31347 * math/w_atanh.c: Likewise.
31348 * math/w_atanhf.c: Likewise.
31349 * math/w_atanhl.c: Likewise.
31350 * math/w_cosh.c: Likewise.
31351 * math/w_coshf.c: Likewise.
31352 * math/w_coshl.c: Likewise.
31353 * math/w_dremf.c: Likewise.
31354 * math/w_exp10.c: Likewise.
31355 * math/w_exp10f.c: Likewise.
31356 * math/w_exp10l.c: Likewise.
31357 * math/w_exp2.c: Likewise.
31358 * math/w_exp2f.c: Likewise.
31359 * math/w_fmod.c: Likewise.
31360 * math/w_fmodf.c: Likewise.
31361 * math/w_fmodl.c: Likewise.
31362 * math/w_hypot.c: Likewise.
31363 * math/w_hypotf.c: Likewise.
31364 * math/w_hypotl.c: Likewise.
31365 * math/w_j0.c: Likewise.
31366 * math/w_j0f.c: Likewise.
31367 * math/w_j0l.c: Likewise.
31368 * math/w_j1.c: Likewise.
31369 * math/w_j1f.c: Likewise.
31370 * math/w_j1l.c: Likewise.
31371 * math/w_jn.c: Likewise.
31372 * math/w_jnf.c: Likewise.
31373 * math/w_jnl.c: Likewise.
31374 * math/w_lgamma.c: Likewise.
31375 * math/w_lgamma_r.c: Likewise.
31376 * math/w_lgammaf.c: Likewise.
31377 * math/w_lgammaf_r.c: Likewise.
31378 * math/w_lgammal.c: Likewise.
31379 * math/w_lgammal_r.c: Likewise.
31380 * math/w_log.c: Likewise.
31381 * math/w_log10.c: Likewise.
31382 * math/w_log10f.c: Likewise.
31383 * math/w_log10l.c: Likewise.
31384 * math/w_log2.c: Likewise.
31385 * math/w_log2f.c: Likewise.
31386 * math/w_log2l.c: Likewise.
31387 * math/w_logf.c: Likewise.
31388 * math/w_logl.c: Likewise.
31389 * math/w_pow.c: Likewise.
31390 * math/w_powf.c: Likewise.
31391 * math/w_powl.c: Likewise.
31392 * math/w_remainder.c: Likewise.
31393 * math/w_remainderf.c: Likewise.
31394 * math/w_remainderl.c: Likewise.
31395 * math/w_scalb.c: Likewise.
31396 * math/w_scalbf.c: Likewise.
31397 * math/w_scalbl.c: Likewise.
31398 * math/w_sinh.c: Likewise.
31399 * math/w_sinhf.c: Likewise.
31400 * math/w_sinhl.c: Likewise.
31401 * math/w_sqrt.c: Likewise.
31402 * math/w_sqrtf.c: Likewise.
31403 * math/w_sqrtl.c: Likewise.
31404 * math/w_tgamma.c: Likewise.
31405 * math/w_tgammaf.c: Likewise.
31406 * math/w_tgammal.c: Likewise.
31408 * po/ja.po: Update from translation team.
31410 2011-09-29 Andreas Jaeger <aj@suse.de>
31413 * sunrpc/netname.c (netname2host): Fix logic.
31417 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31419 * math/w_remainder.c (__remainder): Likewise.
31420 * math/w_remainderf.c (__remainderf): Likewise.
31421 * math/libm-test.inc (remainder_test): Add test cases.
31423 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31425 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
31428 2011-10-07 Ulrich Drepper <drepper@gmail.com>
31430 * string/test-memcmp.c: Avoid unncessary #defines.
31431 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31433 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31435 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31436 Use new sse2 version for core i3 - i7 as it's faster
31437 than sse42 version.
31438 (bit_Prefer_PMINUB_for_stringop): New.
31439 * sysdeps/x86_64/rawmemchr.S: Update.
31440 Replace with faster SSE2 version.
31441 * sysdeps/x86_64/memrchr.S: New file.
31442 * sysdeps/x86_64/memchr.S: Update.
31443 Replace with faster SSE2 version.
31445 2011-09-12 Marek Polacek <mpolacek@redhat.com>
31447 * elf/dl-load.c (lose): Add cast to avoid warning.
31449 2011-10-07 Ulrich Drepper <drepper@gmail.com>
31451 * po/ca.po: Update from translation team.
31453 * inet/getnetgrent_r.c: Hook up nscd.
31454 * nscd/Makefile (routines): Add nscd_netgroup.
31455 (nscd-modules): Add netgroupcache.
31456 (CFLAGS-netgroupcache.c): Define.
31457 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31458 (cache_search): Add const to second parameter.
31459 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31461 (dbs): Add netgrdb entry.
31462 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31463 (verify_persistent_db): Handle netgrdb.
31464 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31465 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31467 (netgroup_response_header): Define.
31468 (innetgroup_response_header): Define.
31469 (datahead): Add netgroup_response_header and innetgroup_response_header
31471 * nscd/nscd.conf: Add entries for netgroup cache.
31472 * nscd/nscd.h (dbtype): Add netgrdb.
31473 (_PATH_NSCD_NETGROUP_DB): Define.
31474 (netgroup_iov_disabled): Declare.
31475 (xmalloc, xcalloc, xrealloc): Move declarations here.
31476 (cache_search): Adjust prototype.
31477 Add netgroup-related prototypes.
31478 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31479 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31480 (__nscd_innetgr): Declare.
31481 * nscd/selinux.c (perms): Use access_vector_t as element type and
31482 add netgroup-related initializers.
31483 * nscd/netgroupcache.c: New file.
31484 * nscd/nscd_netgroup.c: New file.
31485 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31486 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31487 For four parameters use innetgr.
31488 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31489 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31490 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31491 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31493 * nscd/connections.c (register_traced_file): Don't register file
31494 for disabled databases.
31496 2011-10-06 Ulrich Drepper <drepper@gmail.com>
31498 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31500 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31501 from tree and freeing node.
31503 2011-09-25 Jiri Olsa <jolsa@redhat.com>
31505 * nss/nsswitch.c (__nss_database_lookup): Handle
31506 nss_parse_service_list out of memory case.
31508 2011-09-15 Jiri Olsa <jolsa@redhat.com>
31510 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31511 out of memory case.
31513 2011-10-04 Andreas Schwab <schwab@redhat.com>
31515 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31516 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31518 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31519 elf_machine_rela, elf_machine_lazy_rel.
31520 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31521 (ELF_DYNAMIC_DO_REL): Likewise.
31522 (ELF_DYNAMIC_DO_RELA): Likewise.
31523 (ELF_DYNAMIC_RELOCATE): Likewise.
31524 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31525 to ELF_DYNAMIC_DO_REL.
31526 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31527 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31528 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31530 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31531 skip_ifunc, don't call ifunc function if non-zero.
31532 (elf_machine_rela): Likewise.
31533 (elf_machine_lazy_rel): Likewise.
31534 (elf_machine_lazy_rela): Likewise.
31535 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31536 (elf_machine_lazy_rel): Likewise.
31537 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31539 (elf_machine_lazy_rel): Likewise.
31540 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31542 (elf_machine_lazy_rel): Likewise.
31543 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31544 (elf_machine_lazy_rel): Likewise.
31545 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31546 (elf_machine_lazy_rel): Likewise.
31547 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31548 (elf_machine_lazy_rel): Likewise.
31549 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31550 (elf_machine_lazy_rel): Likewise.
31551 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31552 (elf_machine_lazy_rel): Likewise.
31553 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31554 (elf_machine_lazy_rel): Likewise.
31556 2011-09-28 Ulrich Drepper <drepper@gmail.com>
31558 * nss/nss_files/files-init.c (_nss_files_init): Use static
31559 initialization for all the *_traced_file variables.
31561 2011-09-28 Andreas Schwab <schwab@redhat.com>
31563 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31565 2011-09-27 Roland McGrath <roland@hack.frob.com>
31568 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31570 2011-09-27 Andreas Schwab <schwab@redhat.com>
31572 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31573 Reread the line before reparsing it.
31575 2011-09-26 Andreas Schwab <schwab@redhat.com>
31577 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31579 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31580 Maxim Kuvyrkov <maxim@codesourcery.com>
31581 Joseph Myers <joseph@codesourcery.com>
31583 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31584 if needed for __stack_chk_guard.
31586 2011-09-19 Roland McGrath <roland@hack.frob.com>
31588 * sysdeps/posix/spawni.c (script_execute): Always define it.
31589 It will be optimized away if unused.
31590 (maybe_script_execute): New function.
31591 (__spawni): Call it.
31593 * Makerules: Don't include tls.make.
31594 (config-tls): Always set to thread.
31595 * tls.make.c: File removed.
31597 2011-09-19 Mike Frysinger <vapier@gentoo.org>
31599 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31600 * config.make.in (CPPFLAGS-config): New substituted variable.
31602 2011-09-15 Ulrich Drepper <drepper@gmail.com>
31604 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31607 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31608 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31610 2011-09-15 Roland McGrath <roland@hack.frob.com>
31612 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31613 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31614 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31615 (CALL_FAIL): Likewise.
31616 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31617 (CALL_FAIL): Macro removed.
31618 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31620 2011-09-15 Ulrich Drepper <drepper@gmail.com>
31622 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31623 for __FINITE_MATH_ONLY__ == 1.
31625 2011-09-15 Andreas Schwab <schwab@redhat.com>
31627 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31628 __ieee754_sqrt instead of sqrt.
31629 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31630 __ieee754_sqrtf instead of sqrtf.
31631 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31632 __floorf instead of floorf.
31633 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31634 __floorf, __truncf instead of floorf, truncf.
31636 2011-09-14 Ulrich Drepper <drepper@gmail.com>
31638 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31640 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31641 __extern_always_inline.
31642 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31645 2011-09-14 Andreas Schwab <schwab@redhat.com>
31647 * elf/rtld.c (dl_main): Also relocate in dependency order when
31648 doing symbol dependency testing.
31650 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31652 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31653 Always define `refsym'.
31655 2011-09-13 Andreas Schwab <schwab@redhat.com>
31657 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31658 (__FD_ELT): Renamed from __FDELT.
31659 * misc/bits/select2.h (__FD_ELT): Likewise.
31660 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31661 __FD_MASK instead of __FDELT, __FDMASK.
31662 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31664 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31667 * elf/Makefile (gen-ldd): Fix pattern.
31669 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31670 (init_tls): Likewise.
31672 2011-09-12 Ulrich Drepper <drepper@gmail.com>
31674 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31676 2011-09-12 Andreas Schwab <schwab@redhat.com>
31678 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31679 `struct cmsghdr *' instead of `void *'.
31680 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31683 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31685 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31687 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31688 ldd_rewrite_script.
31690 2011-09-11 Ulrich Drepper <drepper@gmail.com>
31692 * configure.in: Remove --with-tls option.
31693 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31694 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31695 out in case it is missing.
31696 * sysdeps/ia64/elf/configure.in: Likewise.
31697 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31698 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31699 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31700 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31701 * sysdeps/sh/elf/configure.in: Likewise.
31702 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31703 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31704 * sysdeps/x86_64/elf/configure.in: Likewise.
31705 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31706 * sysdeps/mach/hurd/tls.h: Likewise.
31709 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31712 * configure.in: Fix use of AC_INIT.
31714 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31716 2011-09-10 Ulrich Drepper <drepper@gmail.com>
31718 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31720 * malloc/hooks.c: Likewise.
31723 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31724 variables statically.
31725 (narenas): Initialize.
31726 (list_lock): Initialize.
31727 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31728 initializtion of main_arena and list_lock. Small cleanups.
31729 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31730 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31731 Add initializers to main_arena and mp_.
31732 (malloc_state): Remove pagesize member. Change all users to use
31735 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31736 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31737 is always initialized.
31739 * malloc/malloc.c: Removed unused configurations and dead code.
31740 * malloc/arena.c: Likewise.
31741 * malloc/hooks.c: Likewise.
31742 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
31744 * include/tls.h: Removed. USE___THREAD must always be defined.
31745 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31746 * elf/dl-libc.c: Likewise.
31747 * elf/dl-tsd.c: Likewise.
31748 * include/errno.h: Likewise.
31749 * include/netdb.h: Likewise.
31750 * include/resolv.h: Likewise.
31751 * inet/herrno-loc.c: Likewise.
31752 * inet/herrno.c: Likewise.
31753 * malloc/arena.c: Likewise.
31754 * malloc/hooks.c: Likewise.
31755 * malloc/malloc.c: Likewise.
31756 * resolv/res-state.c: Likewise.
31757 * resolv/res_libc.c: Likewise.
31758 * sysdeps/i386/dl-machine.h: Likewise.
31759 * sysdeps/ia64/dl-machine.h: Likewise.
31760 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31761 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31762 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31763 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31764 * sysdeps/sh/dl-machine.h: Likewise.
31765 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31766 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31767 * sysdeps/unix/i386/sysdep.S: Likewise.
31768 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31769 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31770 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31771 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31772 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31773 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31774 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31775 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31776 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31777 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31778 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31779 * sysdeps/x86_64/dl-machine.h: Likewise.
31780 * tls.make.c: Likewise.
31782 * configure.in: Remove --with-__thread option. Make tests for
31783 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31784 tls_model attribute fail if no support is available. Remove
31786 * Makeconfig: Adjust for dropped configure option. All features are
31788 * Makerules: Likewise.
31789 * Versions.def: Likewise.
31790 * argp/argp-fmtstream.c: Likewise.
31791 * argp/argp-fmtstream.h: Likewise.
31792 * argp/argp-help.c: Likewise.
31793 * assert/assert.c: Likewise.
31794 * config.h.in: Likewise.
31795 * config.make.in: Likewise.
31796 * configure: Likewise.
31797 * configure.in: Likewise.
31798 * csu/Versions: Likewise.
31799 * csu/init.c: Likewise.
31800 * elf/tst-audit2.c: Likewise.
31801 * elf/tst-tls10.c: Likewise.
31802 * elf/tst-tls10.h: Likewise.
31803 * elf/tst-tls11.c: Likewise.
31804 * elf/tst-tls12.c: Likewise.
31805 * elf/tst-tls14.c: Likewise.
31806 * elf/tst-tlsmod11.c: Likewise.
31807 * elf/tst-tlsmod12.c: Likewise.
31808 * elf/tst-tlsmod13.c: Likewise.
31809 * elf/tst-tlsmod13a.c: Likewise.
31810 * elf/tst-tlsmod14a.c: Likewise.
31811 * elf/tst-tlsmod15b.c: Likewise.
31812 * elf/tst-tlsmod16a.c: Likewise.
31813 * elf/tst-tlsmod16b.c: Likewise.
31814 * elf/tst-tlsmod7.c: Likewise.
31815 * elf/tst-tlsmod8.c: Likewise.
31816 * elf/tst-tlsmod9.c: Likewise.
31817 * gmon/gmon.c: Likewise.
31818 * grp/fgetgrent_r.c: Likewise.
31819 * grp/putgrent.c: Likewise.
31820 * hurd/fopenport.c: Likewise.
31821 * include/libc-symbols.h: Likewise.
31822 * include/tls.h: Likewise.
31823 * intl/gettextP.h: Likewise.
31824 * intl/loadinfo.h: Likewise.
31825 * locale/global-locale.c: Likewise.
31826 * locale/localeinfo.h: Likewise.
31827 * mach/devstream.c: Likewise.
31828 * malloc/arena.c: Likewise.
31829 * malloc/set-freeres.c: Likewise.
31830 * misc/err.c: Likewise.
31831 * misc/getttyent.c: Likewise.
31832 * misc/mntent_r.c: Likewise.
31833 * posix/getopt.c: Likewise.
31834 * posix/wordexp.c: Likewise.
31835 * pwd/fgetpwent_r.c: Likewise.
31836 * resolv/Versions: Likewise.
31837 * resolv/res_hconf.c: Likewise.
31838 * shadow/fgetspent_r.c: Likewise.
31839 * shadow/putspent.c: Likewise.
31840 * stdio-common/printf_fphex.c: Likewise.
31841 * stdio-common/tmpfile.c: Likewise.
31842 * stdlib/abort.c: Likewise.
31843 * stdlib/fmtmsg.c: Likewise.
31844 * sunrpc/auth_unix.c: Likewise.
31845 * sunrpc/clnt_perr.c: Likewise.
31846 * sunrpc/clnt_tcp.c: Likewise.
31847 * sunrpc/clnt_udp.c: Likewise.
31848 * sunrpc/clnt_unix.c: Likewise.
31849 * sunrpc/openchild.c: Likewise.
31850 * sunrpc/svc_simple.c: Likewise.
31851 * sunrpc/svc_tcp.c: Likewise.
31852 * sunrpc/svc_udp.c: Likewise.
31853 * sunrpc/svc_unix.c: Likewise.
31854 * sunrpc/xdr.c: Likewise.
31855 * sunrpc/xdr_array.c: Likewise.
31856 * sunrpc/xdr_rec.c: Likewise.
31857 * sunrpc/xdr_ref.c: Likewise.
31858 * sunrpc/xdr_stdio.c: Likewise.
31860 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31862 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31864 2011-07-03 Andreas Jaeger <aj@suse.de>
31866 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31867 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31868 regenerate with gen-libm-tests.pl.
31870 2010-05-12 Petr Baudis <pasky@suse.cz>
31873 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31874 around j0() zero points by switching to j1().
31875 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31876 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31877 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31878 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31880 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31882 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31884 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
31886 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31887 Patch in part by Pavel Roskin <proski@gnu.org>.
31890 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31892 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31893 Free memory block if necessary.
31896 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31897 be NULL. Don't lock in this case.
31899 2011-09-09 Roland McGrath <roland@hack.frob.com>
31901 * elf/elf.h (ELFOSABI_GNU): New macro.
31902 (ELFOSABI_LINUX): Define to that.
31904 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31906 * string/strncat.c (strncat): Undef the symbol in case it has been
31907 defined in bits/string.h.
31909 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31911 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31913 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
31916 2011-08-17 Andreas Jaeger <aj@suse.de>
31918 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31920 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31921 Ian Lance Taylor <iant@google.com>
31923 * math/libm-test.inc (lround_test): New testcase.
31924 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31926 2011-09-08 Ulrich Drepper <drepper@gmail.com>
31928 * Makefile: Remove support for automatic cvs check-ins.
31929 * Makerules: Likewise.
31930 * config.make.in: Likewise.
31931 * configure.in: Likewise.
31932 * intl/Makefile: Likewise.
31933 * locale/Makefile: Likewise.
31934 * po/Makefile: Likewise.
31935 * posix/Makefile: Likewise.
31936 * sysdeps/gnu/Makefile: Likewise.
31937 * sysdeps/mach/hurd/Makefile: Likewise.
31938 * sysdeps/sparc/sparc32/Makefile: Likewise.
31941 * posix/Makefile (bug-regex32-ENV): Define.
31942 Patch by John Stanley <jpsinthemix@verizon.net>.
31944 * misc/Makefile (headers): Add bits/select2.h.
31945 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31946 * misc/bits/select2.h: New file.
31947 * include/bits/select2.h: New file.
31948 * debug/Makefile (routines): Add fdelt_chk.
31949 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31950 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31952 * debug/fdelt_chk.c: New file.
31954 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
31955 * wcsmbs/test-wmemcmp.c: Likewise.
31956 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
31957 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
31959 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31961 * string/Makefile (strop-tests): Add memcmp.
31962 * string/test-wmemcmp.c: New file.
31963 * string/test-memcmp.c: Add wmemcmp support.
31965 2011-09-08 Roland McGrath <roland@hack.frob.com>
31968 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31971 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
31972 garbage value in a __mach_port_mod_refs call in the cases of the
31973 task-self and thread-self ports.
31975 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31977 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
31979 2011-09-08 Andreas Schwab <schwab@redhat.com>
31981 * elf/dl-load.c (lose): Check for non-null L.
31983 2011-09-07 Ulrich Drepper <drepper@gmail.com>
31985 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
31987 * elf/dl-libc.c (dlerror_run): Pass back error code from
31991 * elf/dl-load.c (lose): Free l_origin if it is valid.
31993 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
31995 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
31996 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
31997 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
31998 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
31999 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32000 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32002 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32004 * sysdeps/powerpc/fpu/e_hypot.c: New file.
32005 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32006 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32007 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32008 * sysdeps/powerpc/fpu/k_cosf.c: New file.
32009 * sysdeps/powerpc/fpu/k_sinf.c: New file.
32010 * sysdeps/powerpc/fpu/s_cosf.c: New file.
32011 * sysdeps/powerpc/fpu/s_sinf.c: New file.
32012 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32013 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32015 2011-08-15 Alan Modra <amodra@gmail.com>
32018 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32019 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32020 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
32021 ppc_mcount to static-only-routines.
32022 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32024 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32025 __mcount_internal with usual JUMPTARGET. Remove useless nop.
32027 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
32029 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32030 for finite and infinity parameters.
32032 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32034 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32035 and add nop instructions for throughput optimization.
32036 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32038 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
32040 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32041 aligned copy for power7 with vector-scalar instructions.
32042 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32044 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
32046 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32049 2011-09-07 Andreas Schwab <schwab@redhat.com>
32052 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32055 2011-09-07 Ulrich Drepper <drepper@gmail.com>
32057 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32058 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32059 syscall wrapper around clock_gettime in __vdso_clock_gettime.
32060 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32063 2011-09-06 Ulrich Drepper <drepper@gmail.com>
32065 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32066 Forgot to demangle the pointer.
32068 * sysdeps/i386/sysdep.h: Define atom_text_section.
32069 * sysdeps/x86_64/sysdep.h: Likewise.
32070 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32071 section with atom_text_section.
32072 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32073 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32074 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32075 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32076 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32078 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32079 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32080 already be defined. Change to take two parameters and don't assign
32081 result to variable. Adjust all users.
32082 Define INTERNAL_GETTIME if not already defined.
32083 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32085 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32086 HAVE_CLOCK_GETTIME_VSYSCALL.
32087 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32089 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32090 gettimeofday vsyscall, just use time.
32092 2011-09-06 Andreas Schwab <schwab@redhat.com>
32094 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32097 2011-09-06 Ulrich Drepper <drepper@gmail.com>
32099 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32101 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32103 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32104 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32105 syscall if possible.
32107 2011-09-05 Ulrich Drepper <drepper@gmail.com>
32109 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32110 e_ident. Don't pass to find_mapsXX.
32111 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32113 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32115 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32116 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32117 * sysdeps/x86_64/multiarch/strchr.S: Update.
32118 Check bit_slow_BSF bit.
32119 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32120 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32121 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32123 2011-09-05 Ulrich Drepper <drepper@gmail.com>
32126 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32128 (tryshell): Define.
32129 (__spawni): Change last parameter to be flag. Test
32130 SPAWN_XFLAGS_USE_PATH flag to use path or not.
32131 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32132 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32133 * posix/spawni.c: Likewise.
32134 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32135 * posix/spawnp.c: Likewise. Change normal version to use
32136 SPAWN_XFLAGS_USE_PATH.
32137 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32138 SPAWN_XFLAGS_TRY_SHELL.
32141 * posix/glob.h: Remove gcc 1.x support.
32144 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32146 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32148 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32149 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32151 * sysdeps/i386/i686/multiarch/strchr.S: New file.
32152 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32153 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32154 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32155 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32156 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32158 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32160 * sysdeps/x86_64/wcscmp.S: New file.
32162 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32163 wcscmp-c wcscmp-sse2
32164 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32165 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32166 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32167 * wcsmbs/wcscmp.c: Allow renaming.
32169 2011-09-05 David S. Miller <davem@davemloft.net>
32171 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32172 stack slot, rather than the struct return pointer slot.
32173 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32174 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32175 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32176 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32178 2011-09-05 Ulrich Drepper <drepper@gmail.com>
32180 * po/ja.po: Update from translation team.
32183 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32184 kernel in 64-bit binaries.
32186 2011-09-01 David S. Miller <davem@davemloft.net>
32188 * elf/elf.h (HWCAP_SPARC_*): Move to..
32189 * sysdeps/sparc/sysdep.h: this new file and add new values.
32190 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32191 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32192 _DL_HWCAP_COUNT to 24.
32193 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32195 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32196 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32197 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32198 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32199 instead of magic constants.
32200 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32202 2011-08-31 David S. Miller <davem@davemloft.net>
32204 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32205 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32206 Reimplement to do errno handling inline.
32207 (SYSCALL_ERROR_HANDLER): New macro.
32208 (__SYSCALL_STRING): Do not do errno handling in asm.
32209 (__CLONE_SYSCALL_STRING): Delete.
32210 (__INTERNAL_SYSCALL_STRING): Delete.
32211 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32212 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32213 (PSEUDO): Reimplement to do errno handling inline.
32214 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32215 (SYSCALL_ERROR_HANDLER): New macro.
32216 (__SYSCALL_STRING): Do not do errno handling in asm.
32217 (__CLONE_SYSCALL_STRING): Delete.
32218 (__INTERNAL_SYSCALL_STRING): Delete.
32219 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32220 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32222 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32223 (inline_syscall*): Add 'err' argument.
32224 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32225 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32226 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32227 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32229 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32230 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32232 2011-08-30 Andreas Schwab <schwab@redhat.com>
32234 * elf/rtld.c (dl_main): Relocate objects in dependency order.
32236 2011-08-29 Jiri Olsa <jolsa@redhat.com>
32238 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32241 2011-08-24 David S. Miller <davem@davemloft.net>
32243 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32245 2011-08-24 Andreas Schwab <schwab@redhat.com>
32247 * elf/Makefile: Add rules to build and run unload8 test.
32248 * elf/unload8.c: New file.
32249 * elf/unload8mod1.c: New file.
32250 * elf/unload8mod1x.c: New file.
32251 * elf/unload8mod2.c: New file.
32252 * elf/unload8mod3.c: New file.
32254 * elf/dl-close.c (_dl_close_worker): Reset private search list if
32257 2011-08-23 David S. Miller <davem@davemloft.net>
32259 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32260 subtract stack bias.
32261 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32262 %sp not %fp in calculations.
32263 (_JMPBUF_UNWINDS_ADJ): Likewise.
32265 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32266 (aio_suspend): Call it to force an exception region around the
32267 AIO_MISC_WAIT() invocation.
32269 2011-08-23 Andreas Schwab <schwab@redhat.com>
32271 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32274 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
32276 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32278 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32279 and <dl-machine.h>.
32280 (Elf64_FuncDesc): Remove.
32282 2011-08-22 David S. Miller <davem@davemloft.net>
32284 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
32285 sigaltstack check, add missing cfi directives.
32286 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
32287 missing cfi directives, and sigaltstack handling.
32289 2011-08-16 Andreas Schwab <schwab@redhat.com>
32292 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
32293 object is seen twice.
32294 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32296 * elf/Makefile (distribute): Add tst-initorder2.c.
32297 (tests): Add tst-initorder2.
32298 (modules-names): Add tst-initorder2a tst-initorder2b
32299 tst-initorder2c tst-initorder2d. Add rules to build them.
32300 ($(objpfx)tst-initorder2.out): New rule.
32301 * elf/tst-initorder2.c: New file.
32302 * elf/tst-initorder2.exp: New file.
32304 2011-08-22 Andreas Schwab <schwab@redhat.com>
32306 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32308 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32309 dependencies back to end of function.
32311 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32312 $(elfobjdir)/ld.so.
32314 2011-08-21 Ulrich Drepper <drepper@gmail.com>
32316 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32317 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32318 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32319 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32320 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32321 of __vdso_gettimeofday.
32322 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32323 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
32325 (_libc_vdso_platform_setup): Remove initialization of
32326 __vdso_gettimeofday and __vdso_time.
32328 2011-08-20 Ulrich Drepper <drepper@gmail.com>
32330 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32331 and fgetc_unlocked.
32332 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32335 * elf/dl-open.c (add_to_global): Report additions to the global scope
32336 for LD_DEBUG=scopes.
32337 (dl_open_worker): Also print scope of newly loaded dependencies.
32338 (_dl_show_scope): Indicate if there is no scope.
32341 * stdio-common/Makefile (tests): Add bug24.
32342 * stdio-common/bug24.c: New file.
32344 2011-08-19 Andreas Jaeger <aj@suse.de>
32347 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32348 non-existant file when using close-on-exec mode.
32350 2011-08-20 Ulrich Drepper <drepper@gmail.com>
32352 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32353 the very first instruction.
32355 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32356 the CFI state in the end.
32357 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32358 inclusion of dl-trampoline.h.
32359 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32361 2011-08-19 Andreas Schwab <schwab@redhat.com>
32363 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32364 expectations for long double.
32366 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32367 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32369 2011-08-14 David S. Miller <davem@davemloft.net>
32371 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32372 artificual limit depends upon the system page size.
32374 2011-08-17 Ulrich Drepper <drepper@gmail.com>
32376 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32377 * resolv/Makefile: Define CFLAGS-libresolv.
32379 2011-08-17 Andreas Schwab <schwab@redhat.com>
32381 * nss/makedb.c (compute_tables): Make variables used in nested
32384 2011-08-17 Ulrich Drepper <drepper@gmail.com>
32386 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32387 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32388 if buffer was too small.
32390 * elf/pldd.c (main): Attach to all threads in the process.
32391 Rewrite /proc handling to use *at functions.
32393 2011-08-16 Ulrich Drepper <drepper@gmail.com>
32395 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32396 specifies first scope to show.
32397 (dl_open_worker): Update callers. Move printing scope of new
32398 object to before the relocation.
32399 * elf/rtld.c (dl_main): Update _dl_show_scope call.
32400 * sysdeps/generic/ldsodefs.h: Update declaration.
32402 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32403 string for the scope number.
32405 2011-08-14 Ulrich Drepper <drepper@gmail.com>
32407 * nscd/servicescache.c (cache_addserv): Make sure written is always
32410 2011-08-14 Roland McGrath <roland@hack.frob.com>
32412 * sysdeps/i386/i486/bits/atomic.h
32413 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32414 statement expression, so as to suppress "set but not used" warning.
32415 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32417 * string/strncat.c (STRNCAT): Use prototype definition.
32419 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32420 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32422 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32423 (localedef-modules): Add localedef.
32424 (locale-modules): Add locale.
32426 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32427 * elf/rtld.c (dl_main): Invert order of assignment in last change,
32428 to avoid a warning.
32430 2011-08-14 David S. Miller <davem@davemloft.net>
32432 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32433 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32435 2011-08-13 Ulrich Drepper <drepper@gmail.com>
32437 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
32438 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32439 * elf/rtld.c (dl_main): Set l_name of vDSO.
32440 Call _dl_show_scope when DL_DEBUG_SCOPES.
32441 (process_dl_debug): Recognize scopes flag and also set it for all.
32442 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32443 Declare _dl_show_scope.
32445 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32446 (do_dlopen): Pass caller_dlopen to dl_open.
32447 (__libc_dlopen_mode): Initialize caller_dlopen.
32449 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32450 of libc. Make tolower call locale-independent. Optimize a bit by
32451 using isdigit instead of isalnum.
32452 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32454 2011-08-12 Ulrich Drepper <drepper@gmail.com>
32456 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32457 was a dependency or dynamically loaded.
32459 2011-08-11 Ulrich Drepper <drepper@gmail.com>
32461 * intl/l10nflist.c: Allow architecture-specific pop function.
32462 * sysdeps/x86_64/l10nflist.c: New file.
32464 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32467 2011-08-10 Andreas Schwab <schwab@redhat.com>
32469 * include/dirent.h: Add libc_hidden_proto for scandirat and
32470 scandirat64. Don't declare __scandirat64.
32471 * dirent/scandirat.c: Add libc_hidden_def.
32472 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32473 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32475 2011-08-10 David S. Miller <davem@davemloft.net>
32477 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32479 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32480 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32481 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32483 2011-08-09 Ulrich Drepper <drepper@gmail.com>
32485 * Versions.def [libc]: Add GLIBC_2.15.
32486 * dirent/Makefile (routines): Add scandirat and scandirat64.
32487 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32489 * dirent/dirent.h: Declare scandirat and scandirat64.
32490 * dirent/scandirat.c: New file.
32491 * dirent/scandirat64.c: New file.
32492 * sysdeps/wordsize-64/scandirat.c: New file.
32493 * sysdeps/wordsize-64/scandirat64.c: New file.
32494 * dirent/opendir.c: Define opendirat.
32495 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32497 * dirent/scandir64.c: Adjust for scandir.c change.
32498 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32499 __scandirat64, and __scandir_cancel_handler.
32500 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32501 additional parameter and use openat instead of open (outside of ld.so).
32502 Add new __opendir as wrapper around __opendirat.
32503 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32504 here without requiring old scandirat implementation.
32506 2011-08-08 Ulrich Drepper <drepper@gmail.com>
32508 * dirent/scandir.c (cancel_handler): Renamed to
32509 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32510 defined. Adjust users.
32511 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32512 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32514 2011-08-04 Ulrich Drepper <drepper@gmail.com>
32516 * string/test-string.h (IMPL): Use __STRING to expand name and then
32519 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32522 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32524 * string/Makefile: Update.
32525 (strop-tests): Append strncat.
32526 * string/test-wcscmp.c: New file.
32527 New comprehensive test for wcscmp.
32528 * string/test-strcmp.c: Update.
32529 (WIDE): New define.
32531 2011-07-22 Andreas Schwab <schwab@redhat.com>
32533 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32536 2011-07-26 Andreas Schwab <schwab@redhat.com>
32538 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32539 encoding to ACE if AI_IDN.
32541 2011-08-01 Jakub Jelinek <jakub@redhat.com>
32543 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32544 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32546 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32548 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32549 Fix overflow bug in strncat.
32550 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32552 * string/test-strncat.c: Update.
32553 Add new tests for checking overflow bugs.
32555 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32557 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32558 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32559 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32560 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32561 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32562 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32563 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32564 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32565 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32567 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32568 (USE_AS_STRCAT): Define.
32569 Add strcat and strncat support.
32570 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32572 2011-07-25 Andreas Schwab <schwab@redhat.com>
32574 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32575 __n bigger than INT_MAX+1.
32576 (__strncmp_g): Likewise.
32578 2011-07-23 Ulrich Drepper <drepper@gmail.com>
32580 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32581 * libio/stido.h: Likewise.
32583 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32585 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32588 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32589 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32590 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32591 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32592 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32595 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32598 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32600 (_dl_x86_64_save_sse): Likewise.
32602 2011-07-22 Ulrich Drepper <drepper@gmail.com>
32604 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32606 (_dl_x86_64_save_sse): Likewise.
32608 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32610 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32612 2011-07-21 Andreas Schwab <schwab@redhat.com>
32614 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32616 (_dl_x86_64_save_sse): Use correct AVX check.
32618 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32620 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32621 bug in strncpy/strncat.
32622 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32624 2011-07-21 Ulrich Drepper <drepper@gmail.com>
32626 * string/tester.c (test_strcat): Add tests for different alignments
32627 of source and destination.
32628 (test_strncat): Likewise.
32630 2011-07-20 Ulrich Drepper <drepper@gmail.com>
32633 * posix/glob.c (glob): Check passed in values before using them in
32634 expressions to avoid some overflows.
32635 (glob_in_dir): Likewise.
32638 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32639 check for AVX enablement so that we don't crash with old kernels and
32641 * elf/tst-audit4.c: Add same checks here.
32642 * elf/tst-audit6.c: Likewise.
32644 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
32646 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32648 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32650 2011-07-20 Ulrich Drepper <drepper@gmail.com>
32652 * po/cs.po: Update from translation team.
32653 * po/bg.po: Likewise.
32655 2011-07-12 Marek Polacek <mpolacek@redhat.com>
32657 * misc/sys/cdefs.h: Add support for const attribute.
32658 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32659 to gnu_dev_{major,minor,makedev} functions.
32661 2011-07-20 Marek Polacek <mpolacek@redhat.com>
32663 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32665 2011-07-20 Andreas Schwab <schwab@redhat.com>
32667 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32670 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32672 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32673 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32674 register in order to avoid conflicts with the soft frame pointer
32675 being held in r11 when necessary.
32676 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32677 (INTERNAL_VSYSCALL_NCS): Likewise.
32679 2011-07-14 Marek Polacek <mpolacek@redhat.com>
32681 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32682 * elf/dl-fini.c (_dl_fini): Adjust caller.
32683 * elf/dl-close.c (_dl_close_worker): Likewise.
32684 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32686 2011-07-15 Marek Polacek <mpolacek@redhat.com>
32688 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32689 "aux_cache->nlibs < 0".
32691 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32692 in the reload-count case.
32694 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32696 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32697 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32698 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32699 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32700 * sysdeps/x86_64/multiarch/strcat.S: New file.
32701 * sysdeps/x86_64/multiarch/strncat.S: New file.
32702 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32703 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32704 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32705 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32706 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32707 (USE_AS_STRCAT): Define.
32708 Add strcat and strncat support.
32709 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32710 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32711 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32712 * string/strncat.c: Update.
32713 (USE_AS_STRNCAT): Define.
32714 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32715 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32717 * sysdeps/x86_64/multiarch/init-arch.h
32718 (bit_Prefer_PMINUB_for_stringop): New.
32719 (index_Prefer_PMINUB_for_stringop): Likewise.
32720 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32721 bit_Prefer_PMINUB_for_stringop.
32723 2011-07-19 Ulrich Drepper <drepper@gmail.com>
32725 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32727 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32728 of casting of buffer.
32729 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32730 buffer32 and buffer64.
32731 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32732 writes instead of casting of buffer.
32733 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32735 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32738 2011-07-19 Andreas Schwab <schwab@redhat.com>
32740 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32742 2011-07-19 Ulrich Drepper <drepper@gmail.com>
32744 * nscd/nscd.c (termination_handler): Don't do anything for a database
32745 if it has not yet been initialized.
32747 2011-07-18 Ulrich Drepper <drepper@gmail.com>
32749 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32751 2011-07-15 Marek Polacek <mpolacek@redhat.com>
32753 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32755 2011-07-18 Ulrich Drepper <drepper@gmail.com>
32757 * po/nl.po: Update from translation team.
32758 * po/sv.po: Likewise.
32760 2011-07-16 Roland McGrath <roland@hack.frob.com>
32762 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32763 now disallowed by GCC.
32765 * configure.in (use-default-link): Default to yes if a test -shared
32766 link meets our qualifications.
32767 * configure: Regenerated.
32769 * config.make.in (output-format): New variable.
32770 * configure.in: Check for ld --print-output-format support.
32771 * configure: Regenerated.
32772 * Makerules ($(common-objpfx)format.lds)
32773 [$(output-format) != unknown]: Just use $(output-format),
32774 instead of the linker-script munging.
32776 2011-07-14 Roland McGrath <roland@hack.frob.com>
32778 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32779 of $(common-objpfx)shlib.lds.
32780 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32782 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32783 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32785 * configure.in (-z relro check): Adjust test code to add a large
32786 writable data section after it.
32787 * configure: Regenerated.
32789 2011-07-11 Roland McGrath <roland@hack.frob.com>
32791 * configure.in (-z relro check): Fix test code to make the variable
32793 * configure: Regenerated.
32795 2011-07-11 Ulrich Drepper <drepper@gmail.com>
32797 * nscd/nscd.h (struct traced_file): Define.
32798 (struct database_dyn): Remove inotify_descr, reset_res, and filename
32799 elements. Add traced_files.
32800 (inotify_fd): Declare.
32801 (register_traced_file): Declare.
32802 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32803 (inotify_fd): Export.
32804 (resolv_conf_descr): Remove.
32805 (nscd_init): Move inotify descriptor creation to main.
32806 Don't register files for notification here.
32807 (register_traced_file): New function.
32808 (invalidate_cache): Don't use reset_res to determine whether to call
32809 res_init, go through the list of registered files.
32810 (main_loop_poll): The inotify descriptors are now stored in the
32811 structures for the traced files.
32812 (main_loop_epoll): Likewise
32813 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
32814 to __nss_disable_nscd.
32815 * nscd/cache.c (prune_cache): There is no single inotify descriptor
32816 for a database anymore. Check the records for all the registered
32818 * nss/Makefile (libnss_files-routines): Add files-init.
32819 (libnss_db-routines): Add db-init.
32820 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32821 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32822 * nss/nss_db/db-init.c: New file.
32823 * nss/nss_files/files-init.c: New file.
32824 * nss/nsswitch.c (nss_load_library): New function. Broken out of
32825 __nss_lookup_function.
32826 (__nss_lookup_function): Call nss_load_library.
32827 (nss_load_all_libraries): New function.
32828 (__nss_disable_nscd): Take parameter with callback function for files
32829 to register. Set is_nscd. Load all the DSOs for the NSS modules
32830 used for the cached services.
32831 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32832 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32833 options for features to all the files in nscd.
32835 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32837 2011-07-10 Roland McGrath <roland@hack.frob.com>
32839 * csu/elf-init.c (__libc_csu_init): Comment typo.
32841 2011-07-09 Ulrich Drepper <drepper@gmail.com>
32843 * po/pl.po: Update from translation team.
32844 * po/ja.po: Likewise.
32845 * po/ru.po: Likewise.
32846 * po/ko.po: Likewise.
32847 * po/fr.po: Likewise.
32849 2011-07-09 Roland McGrath <roland@hack.frob.com>
32851 * configure.in (.ctors/.dtors header and trailer check):
32852 Use an empirical test on a built program.
32853 * configure: Regenerated.
32855 * configure.in (-z relro check): Use an empirical test on a built DSO.
32856 Detect, but do not require, on ia64.
32857 * configure: Regenerated.
32859 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32860 Update tests that use readelf to use $READELF instead.
32861 * configure: Regenerated.
32863 2011-07-08 Ulrich Drepper <drepper@gmail.com>
32865 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32866 if the result is not used.
32868 2011-07-05 Andreas Jaeger <aj@suse.de>
32871 * stdlib/tst-strtod.c: Add testcase.
32873 2011-07-07 Ulrich Drepper <drepper@gmail.com>
32875 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
32876 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
32877 The latter has a higher limit. Take additional parameter to pass to
32879 (__pathconf): Pass file to __statfs_link_max.
32880 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32882 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32886 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32887 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32889 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32890 (__statfs_filesize_max): Likewise.
32891 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32893 2011-07-05 Andreas Jaeger <aj@suse.de>
32895 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32897 2011-07-06 Marek Polacek <mpolacek@redhat.com>
32899 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32901 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32904 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32906 * Makefile (strop-tests): Add strncat.
32907 * string/test-strncat.c: New file.
32909 2011-06-30 Marek Polacek <mpolacek@redhat.com>
32911 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32913 2011-06-21 Andreas Jaeger <aj@suse.de>
32915 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32916 Copy rule from iconvdata/Makefile.
32918 2011-07-06 Ulrich Drepper <drepper@gmail.com>
32921 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32922 but no long options are defined, just return 'W'.
32924 2011-06-22 Marek Polacek <mpolacek@redhat.com>
32927 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32929 2011-07-06 Ulrich Drepper <drepper@gmail.com>
32931 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32933 (innetgr): Likewise.
32935 2011-07-05 Roland McGrath <roland@hack.frob.com>
32937 * config.make.in (install_root): Default to $(DESTDIR).
32939 2011-07-05 Ulrich Drepper <drepper@gmail.com>
32941 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32943 2011-07-02 Roland McGrath <roland@hack.frob.com>
32945 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32947 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32948 containing directory rather than embedding absolute directory names.
32950 * scripts/check-local-headers.sh: Rewritten using awk.
32951 Match by word, not by line. Print error messages for matches.
32952 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32954 * Makerules [shlib-lds-flags empty]:
32955 ($(common-objpfx)libc_pic.opts): New target.
32956 ($(common-objpfx)libc_pic.os.clean): New target.
32957 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32959 * config.make.in (OBJCOPY): New variable.
32960 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32961 * configure: Regenerated.
32963 * config.make.in (use-default-link): New variable.
32964 * configure.in (use_default_link): Grok --with-default-link to set it.
32965 * configure: Regenerated.
32966 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32967 (shlib-lds, shlib-lds-flags): Define to empty.
32969 * Makerules (shlib-lds): New variable.
32970 (shlib-lds-flags): New variable.
32971 (build-shlib, build-moduile, build-module-asneeded): Use it.
32972 ($(common-objpfx)libc.so): Use $(shlib-lds).
32973 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
32974 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
32976 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
32977 DT_FLAGS/DT_FLAGS_1 with zero flags.
32979 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
32980 linker script munging.
32982 2011-07-02 Ulrich Drepper <drepper@gmail.com>
32984 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
32986 * crypt/sha512.c (sha512_process_block): Perform total addition using
32987 128-bit if possible.
32988 (__sha512_finish_ctx): Likewise.
32989 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
32991 * crypt/sha256.c (SWAP64): Define.
32992 (sha256_process_block): Perform total addition using 64-bit if
32994 (__sha256_finish_ctx): Likewise.
32996 2011-07-01 Ulrich Drepper <drepper@gmail.com>
32998 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
32999 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33000 * nscd/hstcache.c (cache_addhst): Likewise.
33001 * nscd/grpcache.c (cache_addgr): Likewise.
33002 * nscd/aicache.c (addhstaiX): Likewise
33003 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33005 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
33007 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33008 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33009 * nscd/hstcache.c (cache_addhst): Likewise.
33010 * nscd/grpcache.c (cache_addgr): Likewise.
33011 * nscd/aicache.c (addhstaiX): Likewise
33013 2011-07-01 Andreas Schwab <schwab@redhat.com>
33015 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33016 domain only when needed.
33018 2011-06-30 Andreas Schwab <schwab@redhat.com>
33020 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33021 is always restored.
33023 2011-06-29 Ulrich Drepper <drepper@gmail.com>
33025 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33026 are re-adding the entry.
33027 * nscd/servicescache.c (cache_addserv): Likewise.
33029 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
33031 * sysdeps/generic/dl-irel.h: fix protection against multiple
33033 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33035 2011-06-28 Ulrich Drepper <drepper@gmail.com>
33038 * malloc/memusage.sh: Fix quoting in message.
33039 * debug/xtrace.sh: Likewise.
33041 * configure.in: Remove support for --experimental-malloc option, make
33043 * config.make.in: Likewise.
33044 * malloc/Makefile: Likewise.
33046 2011-06-27 Andreas Schwab <schwab@redhat.com>
33048 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33049 two-byte characters.
33051 2011-06-27 Roland McGrath <roland@hack.frob.com>
33053 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33054 AC_CACHE_CHECK invocation.
33055 * configure: Regenerated.
33057 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33059 2011-06-27 Ulrich Drepper <drepper@gmail.com>
33062 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
33063 bit from old_res_options.
33065 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33067 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33068 value type for setfct.
33070 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
33072 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33073 __gettimeofday instead of gettimeofday.
33075 2011-06-26 Ulrich Drepper <drepper@gmail.com>
33077 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33079 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
33081 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33083 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33086 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33088 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33089 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33090 strcpy-sse2-unaligned strncpy-sse2-unaligned
33091 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33092 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33093 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33094 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33095 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33096 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33097 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33098 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33099 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33100 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33101 (STRCPY): Support SSE2 and SSSE3 versions.
33103 2011-06-24 Ulrich Drepper <drepper@gmail.com>
33106 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33107 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33108 kernels which artificially limit size of requests.
33110 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33112 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33113 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33114 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33115 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33116 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33117 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33118 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33119 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33120 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33121 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33122 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33123 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33124 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33125 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33126 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33127 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33128 Enable unaligned load optimization for Intel Core i3, i5 and i7
33130 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33132 (index_Fast_Unaligned_Load): Define.
33133 (HAS_FAST_UNALIGNED_LOAD): Define.
33135 2011-06-23 Marek Polacek <mpolacek@redhat.com>
33137 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33139 2011-06-22 Ulrich Drepper <drepper@gmail.com>
33142 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33143 until it is clear that the information is realy needed.
33144 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33146 2011-06-22 Andreas Schwab <schwab@redhat.com>
33148 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33150 2011-06-22 Ulrich Drepper <drepper@gmail.com>
33152 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33153 /sys/devices/system/cpu/online if it is usable.
33155 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33156 reading the information from the /proc filesystem to once a second.
33158 2011-06-21 Andreas Jaeger <aj@suse.de>
33160 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33161 NULL after inclusion of kernel headers.
33163 2011-06-21 Ulrich Drepper <drepper@gmail.com>
33165 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33166 calls to internal_setent.
33169 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33170 addresses using gethostbyname4_r ignore IPv4 addresses.
33172 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33173 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
33175 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33177 2011-06-20 David S. Miller <davem@davemloft.net>
33179 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33181 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33183 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33184 (elf_irel): Use it.
33185 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33186 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33187 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33188 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33189 * sysdeps/x86_64/dl-irel.h: Likewise.
33191 * elf/dl-runtime.c: Use elf_ifunc_invoke.
33192 * elf/dl-sym.c: Likewise.
33194 2011-06-15 Ulrich Drepper <drepper@gmail.com>
33196 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
33197 need to dereference resplen2.
33199 2011-06-14 Andreas Schwab <schwab@redhat.com>
33201 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33203 2011-06-15 Ulrich Drepper <drepper@gmail.com>
33205 * Makeconfig: Define vardbdir and inst_vardbdir.
33206 * nss/Makefile: Add rules to install db-Makefile.
33208 * nss/nss_db/db-XXX.c: Cleanup.
33210 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33211 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33213 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33214 * nss/makedb.c: Implement -g option to specify that value strings
33215 are generated and should not be added to table iterated over for
33217 * nss/nss_db/db-initgroups.c: New file.
33219 * nss/getent.c: Add support for initgroups lookups through getgrouplist
33222 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33223 (internal_getgrouplist): Adjust to name change.
33224 Update use_initgroups_entry if this is not the first call.
33225 * nss/databases.def: Add initgroups entry.
33227 * nss/makedb.c (compute_tables): Check result of multiple hash table
33228 sizes to minimize maximum chain length.
33230 2011-06-14 Ulrich Drepper <drepper@gmail.com>
33232 * Versions.def: Add entry for libnss_db.
33233 * shlib-versions: Likewise.
33234 * nss/Makefile: Add rules to build libnss_db.
33235 * nss/Versions: Add libnss_db information. Organize libnss_files
33237 * nss/db-Makefile: Add gshadow support. Change rules for the new
33238 makedb progra. Some minor improvements to generate smaller files.
33239 * nss/nss_db/nss_db.h: Move NSS database header data structures to
33241 * nss/makedb.c: ...here.
33242 Improve database format to be smaller and require less memory at
33244 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
33246 * nss/nss_db/db-netgrp.c: Likewise.
33247 * nss/nss_db/db-open.c: Likewise.
33248 * nss/nss_files/flies-XXX.x: Adjust comments.
33249 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33250 * nss/nss_files/files-grp.c: Likewise.
33251 * nss/nss_files/files-hosts.c: Likewise.
33252 * nss/nss_files/files-network.c: Likewise.
33253 * nss/nss_files/files-proto.c: Likewise.
33254 * nss/nss_files/files-pwd.c: Likewise.
33255 * nss/nss_files/files-rpc.c: Likewise.
33256 * nss/nss_files/files-service.c: Likewise.
33257 * nss/nss_files/files-sgrp.c: Likewise.
33258 * nss/nss_files/files-spwd.c: Likewise.
33259 * nss/nss_db/db-alias.c: Removed.
33260 * nss/nss_db/dummy-db.h: Removed.
33262 2011-06-02 Ulrich Drepper <drepper@gmail.com>
33264 * nss/makedb.c: Rewritten to not use database library.
33265 * nss/Makefile: Update to build new makedb program.
33267 2011-06-14 Andreas Jaeger <aj@suse.de>
33269 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33270 memset declaration.
33272 2011-06-10 Andreas Schwab <schwab@redhat.com>
33274 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33277 2011-06-10 Roland McGrath <roland@hack.frob.com>
33279 * Makerules (shlib.lds): Fail if the linker script comes out empty.
33280 * elf/Makefile ($(objpfx)ld.so): Likewise.
33282 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33283 Don't list ld.so twice in dependencies.
33285 * posix/bug-regex31.c: Include <stdlib.h>.
33287 * nscd/hstcache.c (cache_addhst): Remove unused variable.
33289 * nis/nss_compat/compat-spwd.c
33290 (getspent_next_nss_netgr): Remove unused variable.
33291 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
33293 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33294 nonmembers" output to use the right array.
33296 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33298 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
33300 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
33301 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
33302 * catgets/gencat.c (read_input_file): Likewise.
33303 * locale/programs/locarchive.c (enlarge_archive): Likewise.
33305 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33306 variable definition inside #if's controlling its use.
33308 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33310 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33312 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33314 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33317 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33319 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33320 * configure: Regenerated.
33322 * Makerules: Revert last change.
33323 * elf/Makefile: Likewise.
33325 2011-06-09 Roland McGrath <roland@hack.frob.com>
33327 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33328 * elf/Makefile ($(objpfx)librtld.os): Likewise.
33329 (reloc-link): Likewise.
33331 2011-06-09 Ulrich Drepper <drepper@gmail.com>
33333 * elf/Makefile: Add rules to build pldd.
33334 * elf/pldd.c: New file.
33335 * elf/pldd-xx.c: New file.
33337 2011-06-07 Ulrich Drepper <drepper@gmail.com>
33339 * version.h: Update for 2.15 development version.
33341 2011-06-07 David S. Miller <davem@davemloft.net>
33343 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33345 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33346 elf_machine_lazy_rel): Likewise.
33347 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33348 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33349 elf_machine_lazy_rel): Likewise.
33350 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33351 dl_hwcap via passed in argument.
33352 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33355 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33357 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
33359 2011-06-06 Roland McGrath <roland@hack.frob.com>
33362 * manual/fdl-1.1.texi: New file, verbatim from:
33363 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33364 * manual/lgpl-2.1.texi: New file, verbatim from:
33365 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33366 * manual/Makefile (licenses): New variable, list those new file names.
33368 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33370 * manual/fdl.texi: File removed.
33371 * manual/lesser.texi: File removed.
33372 * manual/libc.texinfo (Copying, Documentation License):
33373 Use new @include file names, put @appendix directive before @include.
33375 2011-06-04 Jakub Jelinek <jakub@redhat.com>
33378 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33379 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33380 (mq_open): Add __NTH.
33382 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
33384 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33385 Assume Intel Core i3/i5/i7 processor if AVX is available.
33387 2011-05-31 Ulrich Drepper <drepper@gmail.com>
33389 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33392 2011-05-31 Andreas Schwab <schwab@redhat.com>
33394 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33395 memory. Use alloca_account. Fix memory leak when retrying.
33397 2011-05-31 Ulrich Drepper <drepper@gmail.com>
33399 * version.h (RELEASE): Bump for 2.14 release.
33400 * include/features.h (__GLIBC_MINOR__): Bump to 14.
33402 * config.make.in (RANLIB): Remove entry.
33404 2011-05-30 Ulrich Drepper <drepper@gmail.com>
33406 * po/Makefile (po-sed-cmd): Add ksh to extensions.
33407 (libc.pot): Work around missing support for .ksh extension in xgettext.
33410 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33411 if both request failed.
33412 (send_dg): In case of server errors clear resplen or *resplen2.
33415 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33416 when there are multiple maps.
33417 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33418 (_dl_fini): Remove test here.
33420 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33422 2011-05-29 Ulrich Drepper <drepper@gmail.com>
33425 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33426 bit from old_res_options.
33427 (gaih_inet): Likewise.
33430 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
33433 * resolv/res_init.c (res_setoptions): Make the code more compact.
33436 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33440 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33442 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33445 * malloc/malloc.h: Declare malloc hook variables as volatile.
33447 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33451 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
33452 raise in the comment.
33453 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33454 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33455 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
33457 2011-05-28 Ulrich Drepper <drepper@gmail.com>
33460 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33461 grow the buffers more if it already has to be sufficient.
33462 (build_wcs_upper_buffer): Likewise.
33463 * posix/regexec.c (check_matching): Likewise.
33464 (clean_state_log_if_needed): Likewise.
33465 (extend_buffers): Don't enlarge buffers beyond size of the input
33467 Patches mostly by Emil Wojak <emil@wojak.eu>.
33468 * posix/bug-regex32.c: New file.
33469 * posix/Makefile (tests): Add bug-regex32.
33471 * locale/findlocale.c (_nl_find_locale): Return right away if
33472 _nl_explode_name failed.
33473 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33475 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33477 * debug/xtrace.sh: Unify messages.
33478 * malloc/memusage.sh: Likewise.
33481 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33482 time symbol from vDSO. Substitute with vsyscall if not available.
33483 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33486 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33487 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33488 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33489 Add sendmmsg and internal_sendmmsg.
33490 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33491 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33492 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33494 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33495 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33496 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33498 2011-05-27 Ulrich Drepper <drepper@gmail.com>
33501 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33502 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33504 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33508 * iconvdata/Makefile (tests): Add bug-iconv9.
33509 * iconvdata/bug-iconv9.c: New file.
33511 2011-05-27 Andreas Schwab <schwab@redhat.com>
33514 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33516 2011-05-25 Jakub Jelinek <jakub@redhat.com>
33518 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33519 (struct user_regs_struct): Change intcs field back to cs.
33521 2011-05-25 Ulrich Drepper <drepper@gmail.com>
33523 * po/ja.po: Update from translation team.
33525 2011-05-23 Ulrich Drepper <drepper@gmail.com>
33528 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33529 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33531 2011-05-20 Andreas Schwab <schwab@redhat.com>
33533 * stdlib/longlong.h: Update from GCC.
33535 2011-05-23 Andreas Schwab <schwab@redhat.com>
33537 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33539 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33540 Add parameter name.
33541 (__sysconf): Pass it down.
33543 2011-05-22 Ulrich Drepper <drepper@gmail.com>
33546 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33548 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33549 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33550 add in in __libc_use_alloca calls. Adjust callers.
33551 (glob): Use malloc in some situations.
33553 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33554 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33557 2011-05-21 Ulrich Drepper <drepper@gmail.com>
33559 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33560 and CLOCK_BOOTTIME_ALARM.
33563 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33566 * string/_strerror.c (__strerror_r): Print negative errors as signed
33570 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33571 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33572 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33574 * configure.in: Fix typo in redirection and correct removal of test
33575 files in two cases.
33578 * locale/setlocale.c (new_composite_name): Fix test to check for
33579 identical name of all categories.
33582 * libio/filedoalloc.c (local_isatty): New function.
33583 (_IO_file_doallocate): Use local_isatty.
33584 * stdio-common/perror.c (perror): In case a new stream is used
33585 forward the stream error.
33586 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33589 2011-05-20 Ulrich Drepper <drepper@gmail.com>
33592 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33594 * include/alloca.h (extend_alloca_account): Define.
33597 * posix/regex.h: Fix comments with documentation of user-accessible
33598 fields after compilation and describe correct free'ing of pattern
33599 after re_compile_pattern.
33600 Patch by Reuben Thomas <rrt@sc3d.org>.
33602 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33604 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33605 and -mno-altivec to prevent the compiler from using Altivec and/or
33606 VSX instructions when the corresponding registers are not available.
33608 2011-05-19 Andreas Schwab <schwab@redhat.com>
33610 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33612 2011-05-19 Ulrich Drepper <drepper@gmail.com>
33614 * libio/freopen.c (freopen): Use __dup2, not dup2.
33615 * libio/freopen64.c (freopen64): Likewise.
33617 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33620 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33621 * math/Makefile (tests): Add test-powl.
33622 (CFLAGS-test-powl.c): Define.
33623 * math/test-powl.c: New file.
33625 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33627 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33629 2011-05-17 Ulrich Drepper <drepper@gmail.com>
33632 * iconvdata/gb18030.c: Update to GB18020-2005.
33634 2011-05-16 Ulrich Drepper <drepper@gmail.com>
33636 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33637 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33638 Patch by Aharon Robbins <arnold@skeeve.com>.
33641 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33645 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33646 through underflows.
33649 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33650 point to strings before performing equality test for error_one_per_line
33654 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33657 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33658 (struct user_fpregs_struct): Avoid __uint*_t types.
33661 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33662 symbol info. Use it instead of calling _dl_addr locally.
33663 (lock_and_info): New function.
33664 (tr_freehook): Call lock_and_info and pass symbol info as additional
33665 parameter to tr_where.
33666 (tr_mallochook): Likewise.
33667 (tr_reallochook): Likewise.
33668 (tr_memalignhook): Likewise.
33670 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33671 used and couldn't be at all thread-safe.
33673 2011-05-15 Ulrich Drepper <drepper@gmail.com>
33675 * libio/freopen.c (freopen): Don't close old file descriptor
33676 before the new one is opened. Instead dup the new file descriptor
33677 to the old one after the new stream is created.
33678 * libio/freopen64.c (freopen64): Likewise.
33679 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33680 * libio/fileops.c (_IO_new_file_close_it): Handle new
33681 _IO_FLAGS2_NOCLOSE flag.
33682 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33683 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33684 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33685 _IO_FLAGS2_NOCLOSE flag.
33686 * include/unistd.h: Add hidden_proto for dup3.
33687 Define __have_dup3.
33688 * io/dup3.c: Define hidden symbol.
33689 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33692 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33693 when an incomplete long option is used.
33694 * posix/tst-getopt_long1.c: New file.
33695 * posix/Makefile (tests): Add tst-getopt_long1.
33698 * scripts/config.guess: Update from autoconf-2.68.
33699 * scripts/config.sub: Likewise.
33702 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33704 (has_cpuclock): ...this. New function.
33705 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33706 macro here based on has_cpuclock code.
33709 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33710 First byte (not low byte) is now always NUL.
33711 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33713 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33714 Use non-cancelable interfaces.
33717 * locale/iso-639.def: Add entry for Sorani.
33720 * include/stdlib.h: Move include protection to the right place.
33721 Define abort_msg_s. Declare __abort_msg with it.
33722 * stdlib/abort.c (__abort_msg): Adjust type.
33723 * assert/assert.c (__assert_fail_base): New function. Majority
33724 of code from __assert_fail. Allocate memory for __abort_msg with
33726 (__assert_fail): Now call __assert_fail_base.
33727 * assert/assert-perr.c: Remove bulk of implementation. Use
33728 __assert_fail_base.
33729 * include/assert.hL Declare __assert_fail_base.
33730 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33732 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33734 2011-05-14 Ulrich Drepper <drepper@gmail.com>
33738 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33739 until all modules are registered in the DTV.
33740 * elf/Makefile: Add rules to build and run tst-tls19.
33741 * elf/tst-tls19.c: New file.
33742 * elf/tst-tls19mod1.c: New file.
33743 * elf/tst-tls19mod2.c: New file.
33744 * elf/tst-tls19mod3.c: New file.
33745 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33748 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33752 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33753 two-byte sequence errors.
33754 * iconvdata/Makefile (tests): Add bug-iconv8.
33755 * iconvdata/bug-iconv8.c: New file.
33758 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33761 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33764 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33765 (dummy_getcfa): New function.
33766 (init): Get _Unwind_GetCFA address, use dummy if not found.
33767 (backtrace_helper): In recursion check, also check whether CFA changes.
33768 (__backtrace): Completely initialize arg.
33770 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
33771 storing incomplete byte sequence in state object. Avoid testing for
33772 guaranteed too small input if we know there is enough data available.
33774 2011-05-11 Andreas Schwab <schwab@redhat.com>
33776 * Makeconfig (+link-pie): Indent.
33777 * Rules (binaries-pie): Define if $(have-fpie) and
33779 (binaries-shared): Also filter out $(binaries-pie).
33780 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33781 * nscd/Makefile (others-pie): Add nscd.
33782 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33783 ($(objpfx)nscd): Remove command override.
33784 * login/Makefile (others-pie): Add pt_chown.
33785 ($(objpfx)pt_chown): Remove command override.
33786 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33787 remove command overrides.
33789 2011-05-13 Ulrich Drepper <drepper@gmail.com>
33791 * libio/tst_putwc.c: Fix error messages.
33794 * libio/fileops.c (_IO_new_file_close_it): Always flush when
33795 currently writing and seek to current position when not.
33796 * libio/Makefile (tests): Add bug-fclose1.
33797 * libio/bug-fclose1.c: New file.
33799 2011-05-12 Ulrich Drepper <drepper@gmail.com>
33802 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33803 don't set DF_1_NODELETE here.
33804 (do_lookup_x): When entering new entry test for copy relocation
33805 and if necessary set DF_1_NODELETE flag.
33806 * elf/tst-unique4.cc: New file.
33807 * elf/tst-unique4.h: New file.
33808 * elf/tst-unique4lib.cc: New file.
33809 * elf/Makefile: Add rules to build and run tst-unique4.
33810 Patch by Piotr Bury <pbury@goahead.com>.
33812 2011-05-11 Ulrich Drepper <drepper@gmail.com>
33815 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33818 * misc/mntent_r.c (addmntent): Flush the stream after the output
33821 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33822 (is_trusted_path_normalize): Skip initial colon. Append slash
33823 to empty buffer. Duplicate is_trusted_path code but allow
33824 constructed patch to be prefix.
33825 (is_dst): Allow $ORIGIN followed by /.
33826 (_dl_dst_substitute): Correct clearing of check_for_trusted.
33827 Correct testing of result of is_trusted_path_normalize
33828 (decompose_rpath): Fix warning.
33830 2011-05-10 Ulrich Drepper <drepper@gmail.com>
33833 * grp/initgroups.c (internal_getgrouplist): When we found the service
33834 list through the initgroups entry in nsswitch.conf do not always
33835 continue on a successful lookup. Don't always use the
33836 __nss_group_database value if it is set.
33837 * nss/nsswitch.conf (initgroups): Change action for successful db
33838 lookup to continue for compatibility.
33840 2011-05-09 Ulrich Drepper <drepper@gmail.com>
33843 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33845 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33847 * iconvdata/tst-tables.sh: Likewise.
33848 * iconvdata/cp770.c: New file.
33849 * iconvdata/cp771.c: New file.
33850 * iconvdata/cp772.c: New file.
33851 * iconvdata/cp773.c: New file.
33852 * iconvdata/cp774.c: New file.
33853 * iconvdata/testdata/CP770: New file.
33854 * iconvdata/testdata/CP770..UTF8: New file.
33855 * iconvdata/testdata/CP771: New file.
33856 * iconvdata/testdata/CP771..UTF8: New file.
33857 * iconvdata/testdata/CP772: New file.
33858 * iconvdata/testdata/CP772..UTF8: New file.
33859 * iconvdata/testdata/CP773: New file.
33860 * iconvdata/testdata/CP773..UTF8: New file.
33861 * iconvdata/testdata/CP774: New file.
33862 * iconvdata/testdata/CP774..UTF8: New file.
33864 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33866 * iconvdata/gen-8bit-gap.sh: Likewise.
33867 * iconvdata/gen-8bit.sh: Likewise.
33869 * locale/iso-639.def: Add ary entry.
33872 * locale/C-translit.h.in: Add U20A1 transliteration.
33875 * locale/iso-639.def: Add wae entry.
33876 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33879 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33883 * locale/C-translit.h.in: Add entry for U20B9.
33884 Patch by pravin.d.s@gmail.com.
33886 2011-05-08 Ulrich Drepper <drepper@gmail.com>
33889 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33890 ENAMETOOLONG use generic getcwd.
33891 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33892 in rtld. Use *stat64.
33893 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
33894 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
33895 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
33896 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33897 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33898 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33899 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33900 __fstatat64 macros.
33901 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33902 * dirent/rewinddir.c: Add libc_hidden_def.
33903 * sysdeps/mach/hurd/rewinddir.c: Likewise.
33904 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
33906 * include/dirent.h (__alloc_dir): Add flags parameter.
33907 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33908 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33910 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33911 from fdopendir if O_CLOEXEC is already set.
33913 2011-03-15 Alan Modra <amodra@gmail.com>
33915 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33916 l_tls_firstbyte_offset non-zero. Save padding offset in
33917 l_tls_firstbyte_offset for later use.
33918 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33919 freeing static tls block.
33921 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33923 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33924 where #ifdef was intended. The intent is to prevent ARG_MAX from
33925 being defined by the kernel headers.
33927 2011-05-07 Ulrich Drepper <drepper@gmail.com>
33930 * resolv/resolv.h: Define RES_NOTLDQUERY.
33931 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33932 no-tld-query and set RES_NOTLDQUERY.
33933 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33934 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33935 modern BIND to search name as TLD unless forbidden.
33937 2011-05-07 Petr Baudis <pasky@suse.cz>
33938 Ulrich Drepper <drepper@gmail.com>
33941 * elf/dl-load.c (fillin_rpath): Move trusted path check...
33942 (is_trusted_path): ...to here.
33943 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
33944 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
33945 using is_trusted_path_normalize() in setuid scripts.
33947 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33949 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33950 __BEGIN/__END_DECLS.
33952 2011-05-06 Ulrich Drepper <drepper@gmail.com>
33954 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33955 NSS_STATUS_NOTFOUND if no record was found.
33957 2011-05-05 Andreas Schwab <schwab@redhat.com>
33959 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33960 (headers-not-in-tirpc): Remove rpc/netdb.h
33961 * resolv/netdb.h: Revert last change.
33963 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33965 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33966 circular dependency between libgcc.a and libc.a.
33968 2011-05-05 Andreas Schwab <schwab@redhat.com>
33970 * resolv/netdb.h: Don't include <rpc/netdb.h>.
33971 * nis/Makefile: Don't install rpcsvc/*.
33972 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
33973 instead of <rpc/types.h>.
33974 (MAXHOSTNAMELEN): Define.
33976 2011-05-03 Andreas Schwab <schwab@redhat.com>
33978 * elf/ldconfig.c (add_dir): Don't crash on empty path.
33980 2011-04-28 Maciej Babinski <mbabinski@google.com>
33983 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
33984 gethostbyname4_r when IPv6 results are possible.
33986 2011-05-02 Ulrich Drepper <drepper@gmail.com>
33989 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
33990 _PC_PIPE_BUF handling.
33992 2011-04-30 Bruno Haible <bruno@clisp.org>
33995 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
33996 * resolv/netdb.h (getnameinfo): Change type of flags parameter
33998 * inet/getnameinfo.c (getnameinfo): Likewise.
34000 2011-04-29 Ulrich Drepper <drepper@gmail.com>
34002 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34003 to groups setting in database lookup.
34004 * nss/nsswitch.conf: Add initgroups entry.
34006 2011-04-22 Ulrich Drepper <drepper@gmail.com>
34009 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34011 Patch by Eric Blake <eblake@redhat.com>.
34013 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
34015 * sunrpc/Makefile (need-export-routines): Add svc_run.
34016 (routines): Remove svc_run.
34017 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34018 * sunrpc/clnt_perr.c (clnt_perrno): Export.
34019 * sunrpc/svc_run.c (svc_run): Likewise.
34020 * sunrpc/svc_udp.c (svcudp_create): Likewise.
34022 2011-04-21 Ulrich Drepper <drepper@gmail.com>
34024 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34025 problem in reallocation in last patch.
34027 2011-04-20 Ulrich Drepper <drepper@gmail.com>
34029 * sunrpc/Makefile: Move inclusion of Rules.
34031 2011-04-19 Ulrich Drepper <drepper@gmail.com>
34033 * nss/nss_files/files-initgroups.c: New file.
34034 * nss/Makefile (libnss_files-routines): Add files-initgroups.
34035 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34036 _nss_files_initgroups_dyn.
34038 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
34040 * elf/elf.h (R_ARM_IRELATIVE): Define.
34042 2011-04-19 Ulrich Drepper <drepper@gmail.com>
34044 * po/ru.po: Update from translation team.
34046 2011-04-17 Ulrich Drepper <drepper@gmail.com>
34048 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34051 2011-02-06 Mike Frysinger <vapier@gentoo.org>
34054 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34055 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34056 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34057 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34058 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34060 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
34062 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34064 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34065 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34066 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34068 2011-04-17 Ulrich Drepper <drepper@gmail.com>
34071 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34073 * stdlib/bug-getcontext.c: New file.
34074 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34076 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34078 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34079 instructions into .machine "z9-109".
34080 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34081 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34083 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34085 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34086 between environment variables and auxiliary vector.
34088 2011-04-16 Ulrich Drepper <drepper@gmail.com>
34090 * Makefile: Add rules to build linkobj/libc.so.
34091 * include/libc-symbols.h: Define libc_hidden_nolink.
34092 * include/rpc/auth.h: Mark functions which are to be hidden.
34093 * include/rpc/auth_des.h: Likewise.
34094 * include/rpc/auth_unix.h: Likewise.
34095 * include/rpc/clnt.h: Likewise.
34096 * include/rpc/des_crypt.h: Likewise.
34097 * include/rpc/key_prot.h: Likewise.
34098 * include/rpc/pmap_clnt.h: Likewise.
34099 * include/rpc/pmap_prot.h: Likewise.
34100 * include/rpc/pmap_rmt.h: Likewise.
34101 * include/rpc/rpc_msg.h: Likewise.
34102 * include/rpc/svc.h: Likewise.
34103 * include/rpc/svc_auth.h: Likewise.
34104 * include/rpc/xdr.h: Likewise.
34105 * nis/Makefile: Link all DSOs against linkobj/libc.so.
34106 * nss/Makefile: Likewise.
34107 * sunrpc/Makefile: Don't install headers. Build library with normal
34108 entry points. Don't build rpcinfo. Link RPC tests appropriately.
34109 * sunrpc/auth_des.c: Hide exported symbols by default, export some
34110 for the compat linking library. Remove use of INTDEF/INTUSE.
34111 * sunrpc/auth_none.c: Likewise.
34112 * sunrpc/auth_unix.c: Likewise.
34113 * sunrpc/authdes_prot.c: Likewise.
34114 * sunrpc/authuxprot.c: Likewise.
34115 * sunrpc/clnt_gen.c: Likewise.
34116 * sunrpc/clnt_perr.c: Likewise.
34117 * sunrpc/clnt_raw.c: Likewise.
34118 * sunrpc/clnt_simp.c: Likewise.
34119 * sunrpc/clnt_tcp.c: Likewise.
34120 * sunrpc/clnt_udp.c: Likewise.
34121 * sunrpc/clnt_unix.c: Likewise.
34122 * sunrpc/des_crypt.c: Likewise.
34123 * sunrpc/des_soft.c: Likewise.
34124 * sunrpc/get_myaddr.c: Likewise.
34125 * sunrpc/key_call.c: Likewise.
34126 * sunrpc/key_prot.c: Likewise.
34127 * sunrpc/netname.c: Likewise.
34128 * sunrpc/pm_getmaps.c: Likewise.
34129 * sunrpc/pm_getport.c: Likewise.
34130 * sunrpc/pmap_clnt.c: Likewise.
34131 * sunrpc/pmap_prot.c: Likewise.
34132 * sunrpc/pmap_prot2.c: Likewise.
34133 * sunrpc/pmap_rmt.c: Likewise.
34134 * sunrpc/publickey.c: Likewise.
34135 * sunrpc/rpc_cmsg.c: Likewise.
34136 * sunrpc/rpc_common.c: Likewise.
34137 * sunrpc/rpc_dtable.c: Likewise.
34138 * sunrpc/rpc_prot.c: Likewise.
34139 * sunrpc/rpc_thread.c: Likewise.
34140 * sunrpc/rtime.c: Likewise.
34141 * sunrpc/svc.c: Likewise.
34142 * sunrpc/svc_auth.c: Likewise.
34143 * sunrpc/svc_authux.c: Likewise.
34144 * sunrpc/svc_raw.c: Likewise.
34145 * sunrpc/svc_run.c: Likewise.
34146 * sunrpc/svc_simple.c: Likewise.
34147 * sunrpc/svc_tcp.c: Likewise.
34148 * sunrpc/svc_udp.c: Likewise.
34149 * sunrpc/svc_unix.c: Likewise.
34150 * sunrpc/svcauth_des.c: Likewise.
34151 * sunrpc/xcrypt.c: Likewise.
34152 * sunrpc/xdr.c: Likewise.
34153 * sunrpc/xdr_array.c: Likewise.
34154 * sunrpc/xdr_float.c: Likewise.
34155 * sunrpc/xdr_intXX_t.c: Likewise.
34156 * sunrpc/xdr_mem.c: Likewise.
34157 * sunrpc/xdr_rec.c: Likewise.
34158 * sunrpc/xdr_ref.c: Likewise.
34159 * sunrpc/xdr_sizeof.c: Likewise.
34160 * sunrpc/xdr_stdio.c: Likewise.
34162 2011-04-10 Ulrich Drepper <drepper@gmail.com>
34165 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34166 * sysdeps/ia64/dl-tls.h: Likewise.
34167 * sysdeps/powerpc/dl-tls.h: Likewise.
34168 * sysdeps/s390/dl-tls.h: Likewise.
34169 * sysdeps/sh/dl-tls.h: Likewise.
34170 * sysdeps/sparc/dl-tls.h: Likewise.
34171 * sysdeps/x86_64/dl-tls.h: Likewise.
34172 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34174 2011-03-14 Andreas Schwab <schwab@redhat.com>
34176 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34177 rpath element also skip the following colon.
34178 (expand_dynamic_string_token): Add is_path parameter and pass
34179 down to DL_DST_REQUIRED and _dl_dst_substitute.
34180 (decompose_rpath): Call expand_dynamic_string_token with
34181 non-zero is_path. Ignore empty rpaths.
34182 (_dl_map_object_from_fd): Call expand_dynamic_string_token
34185 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
34187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34190 2011-04-09 Ulrich Drepper <drepper@gmail.com>
34193 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34194 Patch by Filipe David Manana <fdmanana@apache.org>.
34196 2011-04-07 Andreas Schwab <schwab@redhat.com>
34198 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34199 Maintain aligned stack.
34200 (CHECK_RSP): Remove unused macro.
34202 2011-04-03 Ulrich Drepper <drepper@gmail.com>
34204 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34205 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34207 2011-04-02 Ulrich Drepper <drepper@gmail.com>
34209 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34211 * include/features.h: Mention __USE_XOPEN2K8 in comment.
34213 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
34216 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34217 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34218 * sysdeps/x86_64/memmove.c: New file.
34219 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34220 (memcpy): Renamed to ...
34221 (__new_memcpy): This.
34222 (memcpy): Provide GLIBC_2_14 memcpy.
34223 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34224 (memcpy): Provide GLIBC_2_2_5 memcpy.
34226 2011-04-01 Ulrich Drepper <drepper@gmail.com>
34229 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34231 2011-03-30 Andreas Schwab <schwab@redhat.com>
34233 * misc/syncfs.c: New file.
34234 * misc/Makefile (routines): Add syncfs.
34235 * posix/unistd.h: Declare syncfs.
34236 * sysdeps/unix/syscalls.list: Add syncfs.
34238 2011-04-01 Andreas Schwab <schwab@redhat.com>
34240 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34242 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34243 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34244 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34245 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34246 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34247 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34248 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34250 2011-04-01 Ulrich Drepper <drepper@gmail.com>
34252 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34253 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34254 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34255 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34256 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34258 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34260 * io/Makefile: Compile fallocate.c, fallocate64.c, and
34261 sync_file_range.c with -fexceptions.
34262 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34263 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34264 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34265 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34266 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34267 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34268 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
34269 sync_file_range as cancellation point
34270 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
34271 now a wrapper around __call_sync_file_range with cancellation handling.
34272 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34273 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
34274 function name to __call_sync_file_range.
34275 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34276 Add call_sync_file_range.
34278 2011-04-01 Andreas Schwab <schwab@redhat.com>
34280 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34283 2011-04-01 Ulrich Drepper <drepper@gmail.com>
34285 * iconv/iconv.h: Fix typo in comment.
34286 * io/fcntl.h: Likewise.
34287 * libio/stdio.h: Likewise.
34288 * posix/spawn.h: Likewise.
34289 * posix/unistd.h: Likewise.
34290 * stdlib/stdlib.h: Likewise.
34291 * time/time.h: Likewise.
34292 * wcsmbs/wchar.h: Likewise.
34294 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
34295 open_by_handle): Add.
34296 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
34297 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
34298 Augment a few comments.
34299 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34300 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34301 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34302 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34303 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34304 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
34307 * io/fcntl.h (AT_EMPTY_PATH): Define.
34309 2011-03-30 Ulrich Drepper <drepper@gmail.com>
34311 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34312 * sysdeps/unix/sysv/linux/bits/time.h: New file.
34313 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34315 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
34316 * Versions.def: Add GLIBC_2.14.
34317 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34320 2011-03-22 Ulrich Drepper <drepper@gmail.com>
34322 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34324 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34326 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
34329 * string/test-strncmp.c (do_page_test): New function.
34330 (check2): Likewise.
34331 (test_main): Call check2.
34332 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34334 2011-03-20 Ulrich Drepper <drepper@gmail.com>
34337 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34338 Handle cache information in CPU leaf 4.
34339 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34341 2011-03-18 Ulrich Drepper <drepper@gmail.com>
34344 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34345 character representation.
34346 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34348 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
34350 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34351 END(__isnan) to END(__isnanf) to match function entry point/label
34352 EALIGN(__isnanf,...).
34354 2011-03-10 Jakub Jelinek <jakub@redhat.com>
34356 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34358 2011-03-10 Ulrich Drepper <drepper@gmail.com>
34361 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34362 copy from the symbol referenced in the relocation to initialize the
34364 Patch by Piotr Bury <pbury@goahead.com>.
34365 * elf/Makefile: Add rules to build and tst-unique3.
34366 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34367 * elf/tst-unique3.cc: New file.
34368 * elf/tst-unique3.h: New file.
34369 * elf/tst-unique3lib.cc: New file.
34370 * elf/tst-unique3lib2.cc: New file.
34372 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34374 2011-03-10 Mike Frysinger <vapier@gentoo.org>
34376 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34377 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
34380 2011-03-06 Ulrich Drepper <drepper@gmail.com>
34382 * elf/dl-load.c (_dl_map_object): If we are looking for the first
34383 to-be-loaded object along a path to loader is ld.so.
34385 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34386 Ulrich Drepper <drepper@gmail.com>
34388 * sysdeps/x86_64/memset.S: After aligning destination, code
34389 branches to different locations depending on the value of
34390 misalignment, when multiarch is enabled. Fix this.
34392 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34394 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34395 Set _x86_64_preferred_memory_instruction for AMD processsors.
34396 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34397 Set bit_Prefer_SSE_for_memop for AMD processors.
34399 2011-03-04 Ulrich Drepper <drepper@gmail.com>
34401 * libio/fmemopen.c (fmemopen): Optimize a bit.
34403 2011-03-03 Andreas Schwab <schwab@redhat.com>
34405 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34407 2011-03-03 Roland McGrath <roland@redhat.com>
34409 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34411 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
34413 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
34414 __bzero_ultra1 instead of __memset_ultra1.
34416 2011-02-23 Andreas Schwab <schwab@redhat.com>
34417 Ulrich Drepper <drepper@gmail.com>
34420 * include/link.h (struct link_map): Add l_orig_initfini.
34421 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34422 returning unsuccessfully.
34423 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34424 close of a file loaded at startup, restore the original l_initfini
34426 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34427 list, store the pointer.
34428 * elf/Makefile ($(objpfx)noload-mem): New rule.
34429 (noload-ENV): Define.
34430 (tests): Add $(objpfx)noload-mem.
34431 * elf/noload.c: Include <memcheck.h>.
34432 (main): Call mtrace. Close all opened handles.
34434 2011-02-17 Andreas Schwab <schwab@redhat.com>
34437 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34438 dependencies are missing.
34440 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34442 Fix __if_freereq crash: Unlike the generic version which uses free,
34444 * sysdeps/mach/hurd/ifreq.h: New file.
34446 2011-01-27 Petr Baudis <pasky@suse.cz>
34447 Ulrich Drepper <drepper@gmail.com>
34450 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34451 to extend_alloca().
34452 * stdio-common/bug23.c: New file.
34453 * stdio-common/Makefile (tests): Add bug23.
34455 2010-09-28 Andreas Schwab <schwab@redhat.com>
34456 Ulrich Drepper <drepper@gmail.com>
34459 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34460 before performing relro protection. At old place add assertion
34461 to make sure nothing changed.
34463 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34464 Glauber de Oliveira Costa <glommer@gmail.com>
34466 * elf/elf.h: Add new ARM TLS relocs.
34468 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34470 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34471 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34473 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34475 * sysdeps/wordsize-64/tst-writev.c: New file.
34477 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34479 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34480 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34481 insns in _dl_start to prevent a TOC reference before relocs are
34484 2011-02-15 Ulrich Drepper <drepper@gmail.com>
34487 * Makeconfig: Remove RANLIB definition.
34488 * Makerules: Don't use RANLIB.
34489 * aclocal.m4: Remove ranlib test.
34490 * configure.in: No need to check for ranlib.
34491 * elf/rtld-Rules: Don't use RANLIB.
34493 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34495 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34497 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34498 inclusion protection macro.
34500 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34501 SIGRTMIN and SIGRTMAX and print information in that case only when
34502 SIGRTMIN is defined.
34504 2011-02-11 Jakub Jelinek <jakub@redhat.com>
34506 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34507 arginfo fn returning -1.
34509 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34510 and thousands string is zero terminated.
34512 2011-02-03 Andreas Schwab <schwab@redhat.com>
34514 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34515 sysdeps/unix/sysv/linux/bits/socket.h.
34517 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34519 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34520 (__CPU_COUNT): Remove old macros.
34521 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34522 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34523 (__CPU_ALLOC, __CPU_FREE): Add macros.
34524 (__sched_cpualloc, __sched_cpufree): Add declarations.
34526 2011-02-05 Ulrich Drepper <drepper@gmail.com>
34528 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34529 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34530 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34531 (readdhstai): Return value of addhstaiX call.
34532 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34533 (addgrbyX): Return value returned by cache_addgr.
34534 (readdgrbyname): Return value returned by addgrbyX.
34535 (readdgrbygid): Likewise.
34536 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34537 (addpwbyX): Return value returned by cache_addpw.
34538 (readdpwbyname): Return value returned by addhstbyX.
34539 (readdpwbyuid): Likewise.
34540 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34541 (addservbyX): Return value returned by cache_addserv.
34542 (readdservbyname): Return value returned by addservbyX:
34543 (readdservbyport): Likewise.
34544 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34545 (addhstbyX): Return value returned by cache_addhst.
34546 (readdhstbyname): Return value returned by addhstbyX.
34547 (readdhstbyaddr): Likewise.
34548 (readdhstbynamev6): Likewise.
34549 (readdhstbyaddrv6): Likewise.
34550 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34551 (readdinitgroups): Return value returned by addinitgroupsX.
34552 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34553 (prune_cache): Keep track of timeout value of re-added entries.
34554 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34555 * nscd/nscd.h: Adjust prototypes of readd* functions.
34557 2011-02-04 Roland McGrath <roland@redhat.com>
34559 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34560 (nis_stats): Likewise.
34561 * nis/nis_modify.c (nis_modify): Likewise.
34562 * nis/nis_remove.c (nis_remove): Likewise.
34563 * nis/nis_add.c (nis_add): Likewise.
34565 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34567 * posix/fnmatch_loop.c: Add some consts.
34569 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34571 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34574 * config.make.in (config-cflags-novzeroupper): Define.
34575 * configure.in: Substitute libc_cv_cc_novzeroupper.
34576 * elf/Makefile (AVX-CFLAGS): Define.
34577 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34578 (CFLAGS-tst-auditmod4a.c): Likewise.
34579 (CFLAGS-tst-auditmod4b.c): Likewise.
34580 (CFLAGS-tst-auditmod6b.c): Likewise.
34581 (CFLAGS-tst-auditmod6c.c): Likewise.
34582 (CFLAGS-tst-auditmod7b.c): Likewise.
34583 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34585 2011-02-02 Ulrich Drepper <drepper@gmail.com>
34587 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34588 function to the callback.
34589 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34591 2011-02-02 Andreas Schwab <schwab@redhat.com>
34593 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34596 2011-01-19 Ulrich Drepper <drepper@gmail.com>
34599 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34601 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34603 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34606 * elf/Makefile: Add rules to build and run new test.
34607 * elf/tst-initorder.c: New file.
34608 * elf/tst-initorder.exp: New file.
34609 * elf/tst-initordera1.c: New file.
34610 * elf/tst-initordera2.c: New file.
34611 * elf/tst-initordera3.c: New file.
34612 * elf/tst-initordera4.c: New file.
34613 * elf/tst-initorderb1.c: New file.
34614 * elf/tst-initorderb2.c: New file.
34615 * elf/tst-order-a1.c: New file.
34616 * elf/tst-order-a2.c: New file.
34617 * elf/tst-order-a3.c: New file.
34618 * elf/tst-order-a4.c: New file.
34619 * elf/tst-order-b1.c: New file.
34620 * elf/tst-order-b2.c: New file.
34621 * elf/tst-order-main.c: New file.
34622 New test case by George Gensure <werkt0@gmail.com>.
34624 2010-10-01 Andreas Schwab <schwab@redhat.com>
34626 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34627 decoding ACE if AI_CANONIDN.
34629 2011-01-18 Ulrich Drepper <drepper@gmail.com>
34631 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34633 2011-01-17 Ulrich Drepper <drepper@gmail.com>
34635 * version.h (RELEASE): Bump for 2.13 release.
34636 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34638 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34640 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34642 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34643 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34644 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34645 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34646 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34647 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34649 * posix/getconf.c: Update copyright year.
34650 * catgets/gencat.c: Likewise.
34651 * csu/version.c: Likewise.
34652 * debug/catchsegv.sh: Likewise.
34653 * debug/xtrace.sh: Likewise.
34654 * elf/ldconfig.c: Likewise.
34655 * elf/ldd.bash.in: Likewise.
34656 * elf/sprof.c (print_version): Likewise.
34657 * iconv/iconv_prog.c: Likewise.
34658 * iconv/iconvconfig.c: Likewise.
34659 * locale/programs/locale.c: Likewise.
34660 * locale/programs/localedef.c: Likewise.
34661 * malloc/memusage.sh: Likewise.
34662 * malloc/mtrace.pl: Likewise.
34663 * nscd/nscd.c (print_version): Likewise.
34664 * nss/getent.c: Likewise.
34666 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34667 PF_CAIF, and PF_ALG.
34668 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34670 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34672 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34673 (modules-names): Use them.
34674 (ifunc-test-modules, ifunc-pie-tests): Define.
34675 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34676 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34677 (test-extras): Likewise.
34678 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34679 $(compile-command.c).
34680 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34681 (all-built-dso): Define.
34682 (check-textrel.out, check-execstack.out): Depend on it.
34684 * configure.in: Don't override --enable-multi-arch.
34686 2011-01-15 Ulrich Drepper <drepper@gmail.com>
34689 * nscd/hstcache.c (tryagain): Define.
34690 (cache_addhst): Return tryagain not notfound for temporary errors.
34691 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34694 2011-01-14 Ulrich Drepper <drepper@gmail.com>
34697 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34698 to make the syscall.
34699 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34702 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34703 and fall back to matching as normal character if the string ends before
34704 the matching ']' is found. This is what POSIX requires.
34705 * posix/testfnm.c: Adjust test result.
34706 * posix/globtest.sh: Adjust test result. Add new test.
34707 * posix/tst-fnmatch.input: Likewise.
34708 * posix/tst-fnmatch2.c: Add new test.
34710 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34712 * elf/Makefile (check-execstack): Revert last change. Depend on
34714 (check-execstack.h): New target.
34715 (generated): Add check-execstack.h.
34716 * elf/check-execstack.c: Include "check-execstack.h".
34717 (main): Revert last change.
34718 (handle_file): Return zero if GNU_STACK is absent and
34719 DEFAULT_STACK_PERMS doesn't include PF_X.
34721 2011-01-13 Ulrich Drepper <drepper@gmail.com>
34723 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34724 in child fails because the descriptor is already closed.
34725 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34726 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34727 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
34730 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34734 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34735 temporary buffer used to handle multi lookups locally.
34736 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
34738 2011-01-12 Ulrich Drepper <drepper@gmail.com>
34740 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34743 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34745 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34746 alignment for SSE2.
34748 2011-01-12 Ulrich Drepper <drepper@gmail.com>
34751 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34752 characters. When rounding increased number of integer digits recompute
34754 * stdio-common/tst-grouping.c: New file.
34755 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34757 2011-01-09 Ulrich Drepper <drepper@gmail.com>
34759 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34760 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34762 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34764 * bits/select.h: Likewise.
34766 2011-01-08 Ulrich Drepper <drepper@gmail.com>
34768 * po/ja.po: Update from translation team.
34770 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
34773 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34774 implementation just like for lxstat, fxstatat, et al.
34776 2010-12-27 Jim Meyering <meyering@redhat.com>
34779 * posix/regexec.c (build_trtable): Return failure indication upon
34780 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34782 2010-12-25 Ulrich Drepper <drepper@gmail.com>
34785 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34786 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34787 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34788 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34791 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34794 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34795 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34797 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34799 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34800 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34801 script has SORT_BY_INIT_PRIORITY.
34802 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34803 NO_CTORS_DTORS_SECTIONS is defined.
34804 * elf/soinit.c: Likewise.
34805 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34806 NO_CTORS_DTORS_SECTIONS is defined.
34807 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34808 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34809 * sysdeps/sh/init-first.c: Likewise.
34810 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34812 2010-12-24 Ulrich Drepper <drepper@gmail.com>
34814 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34815 always use the slow path.
34817 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34819 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34820 similar rule which adds the sysdep directories to the header search in
34821 order to pick up the correct platform stackinfo.h.
34822 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34823 perform test if it is, otherwise return successfully without testing.
34824 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34825 DEFAULT_STACK_PERMS define in stackinfo.h.
34826 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34827 defined in stackinfo.h.
34828 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34829 DEFAULT_STACK_PERMS defined in stackinfo.h.
34830 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34831 * sysdeps/ia64/stackinfo.h: Likewise.
34832 * sysdeps/s390/stackinfo.h: Likewise.
34833 * sysdeps/sh/stackinfo.h: Likewise.
34834 * sysdeps/sparc/stackinfo.h: Likewise.
34835 * sysdeps/x86_64/stackinfo.h: Likewise.
34836 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34837 PF_X for powerpc64. Retain PF_X for powerpc32.
34839 2010-12-19 Ulrich Drepper <drepper@gmail.com>
34841 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34843 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34844 GETDENTS_64BIT_ALIGNED.
34846 2010-12-14 Ulrich Drepper <dreper@gmail.com>
34848 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
34850 2010-12-10 Andreas Schwab <schwab@redhat.com>
34852 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34855 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34856 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34858 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34859 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34861 2010-12-09 Ulrich Drepper <drepper@gmail.com>
34864 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34867 2010-12-09 Jakub Jelinek <jakub@redhat.com>
34869 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34871 2010-12-03 Ulrich Drepper <drepper@gmail.com>
34873 * po/it.po: Update from translation team.
34875 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34877 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34880 2010-11-30 Ulrich Drepper <drepper@gmail.com>
34882 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34884 2010-11-24 Andreas Schwab <schwab@redhat.com>
34886 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34888 (gaih_getanswer_slice): Likewise.
34890 2010-10-20 Jakub Jelinek <jakub@redhat.com>
34892 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34894 2010-05-31 Petr Baudis <pasky@suse.cz>
34897 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34898 silently even in the chroot mode.
34900 2010-11-22 Ulrich Drepper <drepper@gmail.com>
34902 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34903 last patch a bit. Pretty printing
34905 2010-05-31 Petr Baudis <pasky@suse.cz>
34908 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34909 initialization of skip_initgroups_dyn.
34911 2010-11-19 Ulrich Drepper <drepper@gmail.com>
34913 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34914 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34916 2010-11-16 Ulrich Drepper <drepper@gmail.com>
34918 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34920 2010-11-11 Andreas Schwab <schwab@redhat.com>
34922 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34923 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34924 (tst-fnmatch-ENV): Set MALLOC_TRACE.
34925 ($(objpfx)tst-fnmatch-mem): New rule.
34926 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34927 * posix/tst-fnmatch.c (main): Call mtrace.
34929 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34931 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34932 Support Intel processor model 6 and model 0x2c.
34934 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
34936 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34939 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34942 * string/test-strncasecmp.c (check_result): New function.
34943 (do_one_test): Use it.
34944 (check1): New function.
34945 (test_main): Use it.
34946 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34947 Support strcasecmp and strncasecmp.
34949 2010-11-08 Ulrich Drepper <drepper@gmail.com>
34952 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34953 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34955 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34957 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34959 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34961 * sysdeps/x86_64/multiarch/bzero.S: New file.
34962 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34963 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34964 * sysdeps/x86_64/multiarch/memset.S: New file.
34965 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34966 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34967 Set bit_Prefer_SSE_for_memop for Intel processors.
34968 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34970 (index_Prefer_SSE_for_memop): Define.
34971 (HAS_PREFER_SSE_FOR_MEMOP): Define.
34973 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
34975 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
34976 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
34978 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
34981 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34982 (__x86_64_raw_data_cache_size_half): Likewise.
34983 (__x86_64_raw_shared_cache_size): Likewise.
34984 (__x86_64_raw_shared_cache_size_half): Likewise.
34986 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
34987 (__x86_64_raw_data_cache_size_half): Likewise.
34988 (__x86_64_raw_shared_cache_size): Likewise.
34989 (__x86_64_raw_shared_cache_size_half): Likewise.
34990 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
34991 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
34992 and __x86_64_raw_shared_cache_size_half. Round
34993 __x86_64_data_cache_size_half, __x86_64_data_cache_size
34994 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
34995 to multiple of 256 bytes.
34997 2010-11-03 Ulrich Drepper <drepper@gmail.com>
35000 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35001 of inacessible symlinks. Verify result of symlink before returning it.
35002 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35003 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35005 2010-10-28 Erich Ritz <erichritz@gmail.com>
35007 * math/math.h (isinf): Fix typo in comment.
35009 2010-11-01 Ulrich Drepper <drepper@gmail.com>
35011 * po/da.po: Update from translation team.
35013 2010-10-26 Ulrich Drepper <drepper@gmail.com>
35015 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35016 is added to the list.
35018 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35019 Ulrich Drepper <drepper@gmail.com>
35021 * elf/dl-object.c (_dl_new_object): Don't append the new object to
35022 the global list here. Move code to...
35023 (_dl_add_to_namespace_list): ...here. New function.
35024 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35025 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35026 * elf/dl-load.c (lose): Don't remove the element from the list.
35027 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35028 (_dl_map_object): Likewise.
35030 2010-10-25 Ulrich Drepper <drepper@gmail.com>
35033 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35034 into all bytes of SSE register.
35035 Patch by Richard Li <richardpku@gmail.com>.
35037 2010-10-24 Ulrich Drepper <drepper@gmail.com>
35040 * malloc/malloc.c (_int_free): Fill correct number of bytes when
35043 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
35045 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35046 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35047 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35048 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35053 2010-10-22 Andreas Schwab <schwab@redhat.com>
35055 * include/dlfcn.h (__RTLD_SECURE): Define.
35056 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
35057 mode & __RTLD_SECURE instead.
35058 (open_path): Rename preloaded parameter to secure.
35059 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35060 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35061 * elf/dl-deps.c (openaux): Likewise.
35062 * elf/rtld.c (struct map_args): Remove is_preloaded.
35063 (map_doit): Don't use it.
35064 (dl_main): Likewise.
35065 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35066 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35068 2010-09-09 Andreas Schwab <schwab@redhat.com>
35070 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35071 (sysd-rules-targets): Remove duplicates.
35072 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35073 rtld-%.$o dependency.
35075 2010-10-18 Andreas Schwab <schwab@redhat.com>
35077 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35078 _dl_map_object do it.
35080 2010-10-19 Ulrich Drepper <drepper@gmail.com>
35082 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35083 fast fma builtins, define the macros in the C99 standard.
35084 (FP_FAST_FMAF): Likewise.
35085 (FP_FAST_FMAL): Likewise.
35086 * sysdeps/x86_64/bits/mathdef.h: Likewise.
35088 * bits/mathdef.h: Update copyright year.
35089 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35091 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
35093 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35094 builtins, define the macros in the C99 standard.
35095 (FP_FAST_FMAF): Likewise.
35096 (FP_FAST_FMAL): Likewise.
35097 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35099 (FP_FAST_FMAF): Likewise.
35101 2010-10-15 Jakub Jelinek <jakub@redhat.com>
35104 * math/libm-test.inc (fma_test): Some new testcases.
35105 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35106 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35107 y and infinite z. Do multiplication by C already in long double.
35108 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35109 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35110 y and infinite z. Do bitwise or of inexact bit into u.d.
35111 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35112 * sysdeps/i386/fpu/s_fmaf.S: Removed.
35113 * sysdeps/i386/fpu/s_fma.S: Removed.
35114 * sysdeps/i386/fpu/s_fmal.S: Removed.
35116 2010-10-16 Jakub Jelinek <jakub@redhat.com>
35119 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35120 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35121 computation is not scheduled after fetestexcept. Fix value
35122 of minimum denormal long double.
35124 2010-10-14 Jakub Jelinek <jakub@redhat.com>
35127 * math/libm-test.inc (fma_test): Add some more tests.
35128 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35131 2010-10-15 Andreas Schwab <schwab@redhat.com>
35133 * scripts/data/localplt-s390-linux-gnu.data: New file.
35134 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35136 2010-10-13 Jakub Jelinek <jakub@redhat.com>
35139 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35140 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35142 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35144 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35145 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35146 if one of x and y is very large and the other is subnormal.
35147 * sysdeps/s390/fpu/s_fmaf.c: New file.
35148 * sysdeps/s390/fpu/s_fma.c: New file.
35149 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35150 * sysdeps/powerpc/fpu/s_fma.S: New file.
35151 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35152 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35153 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35155 2010-10-12 Jakub Jelinek <jakub@redhat.com>
35158 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35160 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35161 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35162 * sysdeps/i386/i686/multiarch/s_fma.c: Include
35163 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35164 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35165 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35166 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35168 2010-10-12 Ulrich Drepper <drepper@redhat.com>
35171 * posix/regcomp.c (parse_branch): One more memory leak plugged.
35172 * posix/bug-regex31.input: Add test case.
35174 2010-10-11 Ulrich Drepper <drepper@gmail.com>
35176 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35177 * posix/bug-regex31.input: New file.
35180 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35181 (parse_sub_exp): Fix last change, use postorder.
35183 * posix/bug-regex31.c: New file.
35184 * posix/Makefile: Add rules to build and run bug-regex31.
35186 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35189 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35192 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35193 to have entries in sys_siglist.
35196 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35199 2010-10-07 Jakub Jelinek <jakub@redhat.com>
35202 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35203 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35204 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35205 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35206 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35207 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35208 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35209 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35210 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35211 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35212 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35213 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35214 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35215 * math/ftestexcept.c (fetestexcept): Likewise.
35216 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35217 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35218 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35219 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35220 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35221 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35222 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35224 2010-10-11 Ulrich Drepper <drepper@gmail.com>
35227 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35230 2010-10-06 Ulrich Drepper <drepper@gmail.com>
35232 * string/bug-strstr1.c: New file.
35233 * string/Makefile: Add rules to build and run bug-strstr1.
35235 2010-10-05 Eric Blake <eblake@redhat.com>
35238 * string/str-two-way.h (two_way_long_needle): Always clear memory
35239 when skipping input due to the shift table.
35241 2010-10-03 Ulrich Drepper <drepper@gmail.com>
35244 * malloc/mcheck.c: Handle large requests.
35247 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35248 for strncmp and strncasecmp.
35249 * string/stratcliff.c: Add tests for strcmp and strncmp.
35250 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35252 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35254 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35257 2010-09-30 Andreas Jaeger <aj@suse.de>
35259 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35260 (CGROUP_SUPER_MAGIC): Define.
35261 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35262 Handle btrfs and cgroup file systems.
35263 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35266 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
35268 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35269 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35271 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35274 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35275 trying to locate the ELF header.
35277 2010-09-27 Andreas Schwab <schwab@redhat.com>
35280 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35281 Mask out sign-bit copies when constructing f_fsid.
35283 2010-09-24 Petr Baudis <pasky@suse.cz>
35285 * debug/stack_chk_fail_local.c: Add missing licence exception.
35286 * debug/warning-nop.c: Likewise.
35288 2010-09-15 Joseph Myers <joseph@codesourcery.com>
35290 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35291 implementing getdents64 using getdents syscall, set d_type if
35292 __ASSUME_GETDENTS32_D_TYPE.
35294 2010-09-16 Andreas Schwab <schwab@redhat.com>
35296 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35297 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35299 2010-09-21 Ulrich Drepper <drepper@redhat.com>
35302 * posix/unistd.h: Undo change of feature selection for ftruncate from
35305 2010-09-20 Ulrich Drepper <drepper@redhat.com>
35307 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
35310 2010-09-20 Andreas Schwab <schwab@redhat.com>
35312 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35314 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35316 2010-09-14 Andreas Schwab <schwab@redhat.com>
35318 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35319 variables after CHECK_SP call.
35320 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35322 2010-09-13 Andreas Schwab <schwab@redhat.com>
35323 Ulrich Drepper <drepper@redhat.com>
35325 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35326 re-relocationg ld.so.
35327 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35328 _dl_init_paths call.
35329 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
35332 2010-09-14 Ulrich Drepper <drepper@redhat.com>
35334 * resolv/res_init.c (__res_vinit): Count the default server we added.
35336 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
35337 Ulrich Drepper <drepper@redhat.com>
35340 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35341 (____longjmp_chk): Use %ebx for saving value across system call.
35344 2010-09-06 Andreas Schwab <schwab@redhat.com>
35346 * manual/Makefile: Don't mix pattern rules with normal rules.
35348 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
35350 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35352 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35353 * libio/iofopncook.c (_IO_cookie_init): Likewise.
35354 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35355 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35356 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35359 2010-09-04 Ulrich Drepper <drepper@redhat.com>
35362 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35363 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35365 2010-09-02 Ulrich Drepper <drepper@redhat.com>
35367 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35368 * sysdeps/x86_64/addmul_1.S: Likewise.
35369 * sysdeps/x86_64/lshift.S: Likewise.
35370 * sysdeps/x86_64/mul_1.S: Likewise.
35371 * sysdeps/x86_64/rshift.S: Likewise.
35372 * sysdeps/x86_64/sub_n.S: Likewise.
35373 * sysdeps/x86_64/submul_1.S: Likewise.
35375 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
35377 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35378 Define __sched_param instead of SCHED_* and sched_param when
35379 <bits/sched.h> is included with __need_schedparam defined.
35380 * bits/sched.h [__need_schedparam]
35381 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
35382 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35383 (__defined_schedparam): Define to 1.
35384 (__sched_param): New structure, identical to sched_param.
35385 (__need_schedparam): Undefine.
35387 2010-08-31 Mike Frysinger <vapier@gentoo.org>
35389 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35390 (epoll_create1): Declare.
35392 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35394 2010-08-31 Andreas Schwab <schwab@redhat.com>
35397 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35398 shifting retval into place.
35400 2010-09-01 Ulrich Drepper <drepper@redhat.com>
35402 * nis/rpcsvc/nis.h: Update copyright notice.
35403 * nis/rpcsvc/nis.x: Likewise.
35404 * nis/rpcsvc/nis_callback.h: Likewise.
35405 * nis/rpcsvc/nis_callback.x: Likewise.
35406 * nis/rpcsvc/nis_object.x: Likewise.
35407 * nis/rpcsvc/nis_tags.h: Likewise.
35408 * nis/rpcsvc/yp.h: Likewise.
35409 * nis/rpcsvc/yp.x: Likewise.
35410 * nis/rpcsvc/ypupd.h: Likewise.
35411 * nis/yp_xdr.c: Likewise.
35412 * nis/ypupdate_xdr.c: Likewise.
35414 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
35415 mainly the body of pmap_getport. Add parameters to specify timeouts.
35416 (pmap_getport): Use __libc_rpc_getport.
35417 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35418 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35419 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35421 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
35423 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35426 2010-08-27 Roland McGrath <roland@redhat.com>
35428 * sysdeps/i386/i686/multiarch/Makefile
35429 (CFLAGS-varshift.c): New variable.
35431 2010-08-27 Ulrich Drepper <drepper@redhat.com>
35433 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35434 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35436 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35438 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35440 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35442 * sysdeps/x86_64/strlen.S: Unroll the loop.
35443 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35444 strlen-sse2 strlen-sse2-bsf.
35445 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35446 __strlen_no_bsf if bit_Slow_BSF is set.
35447 (__strlen_sse42): Removed.
35448 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35449 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35451 2010-08-25 Roland McGrath <roland@redhat.com>
35453 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35454 * sysdeps/x86_64/multiarch/varshift.c: New file.
35455 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35456 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35457 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35458 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35460 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35462 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35463 strlen-sse2 strlen-sse2-bsf.
35464 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35465 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35466 (__strlen_sse2): Removed.
35467 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35468 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35469 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35470 bit_Slow_BSF for Atom.
35471 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35472 (index_Slow_BSF): Define.
35473 (HAS_SLOW_BSF): Define.
35475 2010-08-25 Ulrich Drepper <drepper@redhat.com>
35478 * resolv/res_init.c (__res_vinit): When no server address at all
35479 is given default to loopback.
35481 2010-08-24 Roland McGrath <roland@redhat.com>
35483 * configure.in: Remove config-name.h generation.
35484 * configure: Regenerated.
35485 * config-name.in: File removed.
35486 * scripts/config-uname.sh: New file.
35487 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35488 ($(objdir)config-name.h): New target.
35490 * sunrpc/rpc_parse.h: Avoid nested comment.
35492 2010-08-24 Richard Henderson <rth@redhat.com>
35493 Ulrich Drepper <drepper@redhat.com>
35494 H.J. Lu <hongjiu.lu@intel.com>
35496 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35497 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35498 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35499 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35500 _mm_alignr_epi8 with _mm_loadu_si128.
35501 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35502 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35503 (__m128i_shift_right): Removed.
35504 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35505 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35506 * sysdeps/x86_64/multiarch/varshift.h: New file.
35507 * sysdeps/x86_64/multiarch/varshift.S: New file.
35509 2010-08-21 Mike Frysinger <vapier@gentoo.org>
35511 * configure.in: Move assembler checks to before sysdep dir checking.
35513 2010-08-20 Petr Baudis <pasky@suse.cz>
35515 * LICENSES: Sync the sunrpc license.
35517 2010-08-19 Ulrich Drepper <drepper@redhat.com>
35519 * sunrpc/auth_des.c: Update copyright notice once again.
35520 * sunrpc/auth_none.c: Likewise.
35521 * sunrpc/auth_unix.c: Likewise.
35522 * sunrpc/authdes_prot.c: Likewise.
35523 * sunrpc/authuxprot.c: Likewise.
35524 * sunrpc/bindrsvprt.c: Likewise.
35525 * sunrpc/clnt_gen.c: Likewise.
35526 * sunrpc/clnt_perr.c: Likewise.
35527 * sunrpc/clnt_raw.c: Likewise.
35528 * sunrpc/clnt_simp.c: Likewise.
35529 * sunrpc/clnt_tcp.c: Likewise.
35530 * sunrpc/clnt_udp.c: Likewise.
35531 * sunrpc/clnt_unix.c: Likewise.
35532 * sunrpc/des_crypt.c: Likewise.
35533 * sunrpc/des_soft.c: Likewise.
35534 * sunrpc/get_myaddr.c: Likewise.
35535 * sunrpc/getrpcport.c: Likewise.
35536 * sunrpc/key_call.c: Likewise.
35537 * sunrpc/key_prot.c: Likewise.
35538 * sunrpc/openchild.c: Likewise.
35539 * sunrpc/pm_getmaps.c: Likewise.
35540 * sunrpc/pm_getport.c: Likewise.
35541 * sunrpc/pmap_clnt.c: Likewise.
35542 * sunrpc/pmap_prot.c: Likewise.
35543 * sunrpc/pmap_prot2.c: Likewise.
35544 * sunrpc/pmap_rmt.c: Likewise.
35545 * sunrpc/rpc/auth.h: Likewise.
35546 * sunrpc/rpc/auth_unix.h: Likewise.
35547 * sunrpc/rpc/clnt.h: Likewise.
35548 * sunrpc/rpc/des_crypt.h: Likewise.
35549 * sunrpc/rpc/key_prot.h: Likewise.
35550 * sunrpc/rpc/netdb.h: Likewise.
35551 * sunrpc/rpc/pmap_clnt.h: Likewise.
35552 * sunrpc/rpc/pmap_prot.h: Likewise.
35553 * sunrpc/rpc/pmap_rmt.h: Likewise.
35554 * sunrpc/rpc/rpc.h: Likewise.
35555 * sunrpc/rpc/rpc_des.h: Likewise.
35556 * sunrpc/rpc/rpc_msg.h: Likewise.
35557 * sunrpc/rpc/svc.h: Likewise.
35558 * sunrpc/rpc/svc_auth.h: Likewise.
35559 * sunrpc/rpc/types.h: Likewise.
35560 * sunrpc/rpc/xdr.h: Likewise.
35561 * sunrpc/rpc_clntout.c: Likewise.
35562 * sunrpc/rpc_cmsg.c: Likewise.
35563 * sunrpc/rpc_common.c: Likewise.
35564 * sunrpc/rpc_cout.c: Likewise.
35565 * sunrpc/rpc_dtable.c: Likewise.
35566 * sunrpc/rpc_hout.c: Likewise.
35567 * sunrpc/rpc_main.c: Likewise.
35568 * sunrpc/rpc_parse.c: Likewise.
35569 * sunrpc/rpc_parse.h: Likewise.
35570 * sunrpc/rpc_prot.c: Likewise.
35571 * sunrpc/rpc_sample.c: Likewise.
35572 * sunrpc/rpc_scan.c: Likewise.
35573 * sunrpc/rpc_scan.h: Likewise.
35574 * sunrpc/rpc_svcout.c: Likewise.
35575 * sunrpc/rpc_tblout.c: Likewise.
35576 * sunrpc/rpc_util.c: Likewise.
35577 * sunrpc/rpc_util.h: Likewise.
35578 * sunrpc/rpcinfo.c: Likewise.
35579 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35580 * sunrpc/rpcsvc/key_prot.x: Likewise.
35581 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35582 * sunrpc/rpcsvc/mount.x: Likewise.
35583 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35584 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35585 * sunrpc/rpcsvc/rex.x: Likewise.
35586 * sunrpc/rpcsvc/rstat.x: Likewise.
35587 * sunrpc/rpcsvc/rusers.x: Likewise.
35588 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35589 * sunrpc/rpcsvc/spray.x: Likewise.
35590 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35591 * sunrpc/rtime.c: Likewise.
35592 * sunrpc/svc.c: Likewise.
35593 * sunrpc/svc_auth.c: Likewise.
35594 * sunrpc/svc_authux.c: Likewise.
35595 * sunrpc/svc_raw.c: Likewise.
35596 * sunrpc/svc_run.c: Likewise.
35597 * sunrpc/svc_simple.c: Likewise.
35598 * sunrpc/svc_tcp.c: Likewise.
35599 * sunrpc/svc_udp.c: Likewise.
35600 * sunrpc/svc_unix.c: Likewise.
35601 * sunrpc/svcauth_des.c: Likewise.
35602 * sunrpc/xcrypt.c: Likewise.
35603 * sunrpc/xdr.c: Likewise.
35604 * sunrpc/xdr_array.c: Likewise.
35605 * sunrpc/xdr_float.c: Likewise.
35606 * sunrpc/xdr_mem.c: Likewise.
35607 * sunrpc/xdr_rec.c: Likewise.
35608 * sunrpc/xdr_ref.c: Likewise.
35609 * sunrpc/xdr_sizeof.c: Likewise.
35610 * sunrpc/xdr_stdio.c: Likewise.
35612 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35615 2010-08-19 Andreas Schwab <schwab@redhat.com>
35617 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35619 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
35621 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35622 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35623 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35624 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35625 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35626 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35627 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35628 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35629 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35630 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35631 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35632 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35633 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35634 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35636 2010-07-26 Anton Blanchard <anton@samba.org>
35638 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35639 * malloc/arena.c (heap_trim): Likewise.
35641 2010-08-16 Ulrich Drepper <drepper@redhat.com>
35643 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35645 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35646 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35648 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35650 * sysdeps/i386/elf/Makefile: New file.
35652 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35654 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35655 from fanotify_init.
35656 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35657 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35659 2010-08-15 Ulrich Drepper <drepper@redhat.com>
35661 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35663 * sysdeps/multiarch/strcmp.S: Likewise.
35665 2010-08-14 Ulrich Drepper <drepper@redhat.com>
35667 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35668 strncase_l-nonascii.
35669 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35670 Add strncase_l-ssse3.
35671 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35672 * sysdeps/x86_64/strcmp.S: Likewise.
35673 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35674 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35675 * sysdeps/x86_64/strncase.S: New file.
35676 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35677 * sysdeps/x86_64/strncase_l.S: New file.
35678 * string/Makefile (strop-tests): Add strncasecmp.
35679 * string/test-strncasecmp.c: New file.
35681 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35684 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35685 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35687 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35689 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35691 2010-08-12 Ulrich Drepper <drepper@redhat.com>
35693 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35694 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35695 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35697 2010-05-01 Alan Modra <amodra@gmail.com>
35699 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35700 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35701 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35702 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35703 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35704 tidying. Don't tail-call __sigjmp_save for static lib.
35705 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35707 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35708 (CALL_MCOUNT): Add eh info, and nop after bl.
35709 (TAIL_CALL_SYSCALL_ERROR): New macro.
35710 (PSEUDO_RET): Use it.
35711 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35712 Correct save location of integer regs and cr.
35713 (_dl_profile_resolve): Correct cr save location. Delete nops
35714 after bl when SHARED. Reduce cfi size a little by better
35715 placement of cfi directives.
35716 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35717 make a stack frame. Instead use parm save area as a temp.
35718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35719 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35721 Don't make a stack frame for parent, use parm save area.
35722 Increase child stack frame to 112 bytes. Don't save unused reg,
35723 and adjust reg usage. Set up cfi on error recovery and
35724 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35726 (__makecontext): Add dummy nop after jump to exit.
35727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35728 Use correct parm save area and cr save, reduce stack frame.
35729 Correct cfi for possible PSEUDO_RET frame setup.
35730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35731 Branch to local label emitted by PSEUDO_RET rather than
35734 2010-08-12 Andreas Schwab <schwab@redhat.com>
35737 * locale/programs/locale.c (print_assignment): New function.
35738 (show_locale_vars): Use it.
35740 2010-08-11 Ulrich Drepper <drepper@redhat.com>
35742 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35744 (struct statfs64): Likewise.
35745 (_STATFS_F_FLAGS): Define.
35746 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35747 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35748 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35749 (ST_VALID): Define locally.
35750 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35751 __statvfs_getflags, use the provided value.
35752 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35753 __ASSUME_STATFS_F_FLAGS.
35755 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35757 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35758 Add sys/fanotify.h.
35759 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35760 fanotify_mask for GLIBC_2.13.
35761 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35762 fanotify_init and fanotify_mark.
35763 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35764 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35766 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35768 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35769 prlimit64 for GLIBC_2.13.
35770 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35772 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35775 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35776 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35777 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35778 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
35780 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35783 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35784 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35786 * nss/Makefile: Add rules to build and run tst-nss-test1.
35787 * shlib-versions: Add entry for libnss_test1.
35788 * nss/nss_test1.c: New file.
35789 * nss/tst-nss-test1.c: New file.
35791 * nss/nsswitch.c (__nss_database_custom): Define new variable.
35792 (__nss_configure_lookup): Set appropriate entry in
35793 __nss_configure_lookup to true.
35794 * nss/nsswitch.h: Define enum with indeces of databases in
35795 databases and __nss_database_custom arrays. Declare
35796 __nss_database_custom.
35797 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35798 to avoid using nscd when custom rules are installed.
35799 * nss/getXXbyYY_r.c: Likewise.
35800 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35802 * nss/nss_files/files-parse.c: Whitespace fixes.
35804 2010-08-09 Ulrich Drepper <drepper@redhat.com>
35807 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35808 * posix/fnmatch_loop.c: Likewise.
35810 2010-07-17 Andi Kleen <ak@linux.intel.com>
35812 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35813 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35814 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35815 * Versions.def [GLIBC_2.13]: Add.
35817 2010-08-06 Ulrich Drepper <drepper@redhat.com>
35819 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35820 Also fail if tpwd after pwuid call is NULL.
35822 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35824 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35825 when converting to ms.
35827 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35829 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35830 EOPNOTSUPP errors with ENOTTY.
35831 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35832 EOPNOTSUPP errors with ENOTTY.
35834 2010-07-31 Ulrich Drepper <drepper@redhat.com>
35836 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35837 Add strcasecmp_l-ssse3.
35838 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35840 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35841 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35842 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35844 2010-07-30 Ulrich Drepper <drepper@redhat.com>
35846 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35848 * string/Makefile (strop-tests): Add strcasecmp.
35849 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35850 strcasecmp_l-nonascii.
35851 (gen-as-const-headers): Add locale-defines.sym.
35852 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35853 * sysdeps/x86_64/strcasecmp.S: New file.
35854 * sysdeps/x86_64/strcasecmp_l.S: New file.
35855 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35856 * sysdeps/x86_64/locale-defines.sym: New file.
35857 * string/test-strcasecmp.c: New file.
35859 * string/test-strcasestr.c: Test both ends of the range of characters.
35860 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35862 2010-07-29 Roland McGrath <roland@redhat.com>
35865 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35867 2010-07-27 Ulrich Drepper <drepper@redhat.com>
35869 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35872 2010-07-27 Andreas Schwab <schwab@redhat.com>
35874 * manual/memory.texi (Malloc Tunable Parameters): Document
35877 2010-07-26 Roland McGrath <roland@redhat.com>
35880 * configure.in (-fgnu89-inline check): Set and substitute
35881 gnu89_inline, not libc_cv_gnu89_inline.
35882 * configure: Regenerated.
35883 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35885 2010-07-26 Ulrich Drepper <drepper@redhat.com>
35887 * string/test-strnlen.c: New file.
35888 * string/Makefile (strop-tests): Add strnlen.
35889 * string/tester.c (test_strnlen): Add a few more test cases.
35890 * string/tst-strlen.c: Better error reporting.
35892 * sysdeps/x86_64/strnlen.S: New file.
35894 2010-07-24 Ulrich Drepper <drepper@redhat.com>
35896 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35897 lower-latency instructions.
35899 2010-07-23 Ulrich Drepper <drepper@redhat.com>
35901 * string/test-strcasestr.c: New file.
35902 * string/test-strstr.c: New file.
35903 * string/Makefile (strop-tests): Add strstr and strcasestr.
35904 * string/str-two-way.h: Don't undefine MAX.
35905 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35907 2010-07-21 Andreas Schwab <schwab@redhat.com>
35909 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35910 strcasestr-nonascii.
35911 (CFLAGS-strcasestr-nonascii.c): Define.
35912 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35913 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35914 Remove unused attribute.
35916 2010-07-20 Roland McGrath <roland@redhat.com>
35918 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35919 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35920 ld.so.cache was broken. With it, there is no way to disable dsocaps
35921 like LD_HWCAP_MASK can disable hwcaps.
35923 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35925 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35927 2010-07-16 Ulrich Drepper <drepper@redhat.com>
35929 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35930 call in strcasestr.
35931 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35932 __strcasestr_sse42_nonascii.
35933 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35934 strcasestr-nonascii.c.
35935 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35937 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
35939 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35940 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35941 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35942 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35944 2010-07-09 Ulrich Drepper <drepper@redhat.com>
35946 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35949 2010-07-06 Andreas Schwab <schwab@redhat.com>
35952 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35955 2010-07-06 Ulrich Drepper <drepper@redhat.com>
35957 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35958 _PC_PIPE_BUF using F_GETPIPE_SZ.
35960 2010-07-05 Roland McGrath <roland@redhat.com>
35962 * manual/arith.texi (Rounding Functions): Fix rint description
35963 implicit in round description.
35965 2010-07-02 Ulrich Drepper <drepper@redhat.com>
35967 * elf/Makefile: Fix linking for a few tests to make recent linker
35970 2010-06-30 Andreas Schwab <schwab@redhat.com>
35972 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
35973 $(common-objpfx)libc_nonshared.a.
35975 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
35977 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
35978 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
35979 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35980 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35981 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
35982 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
35983 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35984 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
35986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
35987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
35988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
35989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
35990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
35991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
35992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
35993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
35994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
35995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
35996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
35997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
35998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
35999 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36000 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36001 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36002 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36003 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36004 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36005 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36006 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36007 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36008 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36009 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36010 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36026 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
36028 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36029 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
36030 * string/memmove.c (memmove): Renamed to ...
36031 (MEMMOVE): ...this. Default to memmove.
36032 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36033 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36035 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36036 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36037 mempcpy-ssse3-back memmove-ssse3-back.
36038 * sysdeps/x86_64/multiarch/bcopy.S: New file .
36039 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36040 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36041 * sysdeps/x86_64/multiarch/memcpy.S: New file.
36042 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36043 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36044 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36045 * sysdeps/x86_64/multiarch/memmove.c: New file.
36046 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36047 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36048 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36049 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36050 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36051 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36053 (index_Fast_Copy_Backward): Define.
36054 (HAS_ARCH_FEATURE): Define.
36055 (HAS_FAST_REP_STRING): Define.
36056 (HAS_FAST_COPY_BACKWARD): Define.
36058 2010-06-21 Andreas Schwab <schwab@redhat.com>
36060 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36061 Restore proper fallback handling.
36063 2010-06-19 Ulrich Drepper <drepper@redhat.com>
36066 * posix/group_member.c (__group_member): Correct checking loop.
36068 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36069 OOM in getpwuid_r correctly. Return error number when the caller
36070 should return, otherwise -1.
36071 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36072 call returning > 0 value.
36073 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36075 2010-06-07 Andreas Schwab <schwab@redhat.com>
36077 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36078 libc_nonshared.a from targets in modules-names.
36080 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
36082 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36085 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
36087 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36088 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36089 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36090 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36092 2010-06-02 Andreas Schwab <schwab@redhat.com>
36094 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36096 2010-06-14 Ulrich Drepper <drepper@redhat.com>
36098 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36100 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36101 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36102 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36103 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36104 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36105 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36107 2010-06-14 Roland McGrath <roland@redhat.com>
36109 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36111 2010-06-07 Jakub Jelinek <jakub@redhat.com>
36113 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36114 __REDIRECT followed by __THROW.
36115 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36116 * posix/getopt.h (getopt): Likewise.
36118 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36120 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36121 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36122 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36124 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36125 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36127 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
36129 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36131 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36135 Properly check family and model.
36137 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36139 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36141 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
36143 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36145 2010-05-21 Ulrich Drepper <drepper@redhat.com>
36147 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36150 2010-05-19 Andreas Schwab <schwab@redhat.com>
36152 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36155 2010-05-21 Andreas Schwab <schwab@redhat.com>
36157 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36158 and internal_recvmmsg.
36159 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36160 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36161 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36162 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36164 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36165 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36166 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36168 2010-05-20 Andreas Schwab <schwab@redhat.com>
36170 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36172 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
36174 POWER7 optimizations.
36175 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36176 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36178 2010-05-19 Ulrich Drepper <drepper@redhat.com>
36180 * version.h: Update for 2.13 development version.
36182 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
36184 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36185 exceptions. Return 0.
36187 2010-05-07 Roland McGrath <roland@redhat.com>
36189 * elf/ldconfig.c (main): Add a const.
36191 2010-05-06 Ulrich Drepper <drepper@redhat.com>
36193 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36194 (args_options): Add no-idn option.
36195 (ahosts_keys_int): Add idn_flags to ai_flags.
36196 (parse_option): Handle 'i' option to clear idn_flags.
36198 * malloc/malloc.c (_int_free): Possible race in the most recently
36199 added check. Only act on the data if no current modification
36202 See ChangeLog.17 for earlier changes.