1 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
4 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
5 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
9 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
11 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12 multiarch memcpy for PPC32.
13 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
15 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16 (__libc_ifunc_impl_list): Likewise.
18 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21 support multiarch for POWER/PPC32.
22 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
24 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
25 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
26 Implies file to make multiarch folder appers before the fpu and
27 default folder for power4 configuration.
29 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
31 * scripts/bench.pl: Append volatile keyword to type.
33 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35 * sysdeps/sh/sotruss-lib.c: New file.
36 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
38 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42 2013-12-05 Joseph Myers <joseph@codesourcery.com>
45 * math/w_tgamma.c: Include <errno.h>.
46 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
47 * math/w_tgammaf.c: Include <errno.h>.
48 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
49 * math/w_tgammal.c: Include <errno.h>.
50 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
51 * math/auto-libm-test-in: Do not allow missing errno on tgamma
52 underflow. Add more tgamma tests.
53 * math/auto-libm-test-out: Regenerated.
54 * sysdeps/i386/fpu/libm-test-ulps: Update.
55 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
58 sin, sinh, tan, tanh, tgamma, y0 and y1.
59 * math/auto-libm-test-out: Regenerated.
60 * math/libm-test.inc (TEST_COND_x86_64): New macro.
61 (TEST_COND_x86): Likewise.
62 (M_E2l): Remove macro.
64 (M_2_SQRT_PIl): Likewise.
65 (M_SQRT_PIl): Likewise.
66 (M_1_DIV_El): Likewise.
67 (log_test_data): Use AUTO_TESTS_f_f.
68 (log10_test_data): Likewise.
69 (log1p_test_data): Likewise.
70 (log2_test_data): Likewise.
71 (sin_test_data): Likewise.
72 (sin_tonearest_test_data): Likewise.
73 (sin_towardzero_test_data): Likewise.
74 (sin_downward_test_data): Likewise.
75 (sin_upward_test_data): Likewise.
76 (sinh_test_data): Likewise.
77 (sinh_tonearest_test_data): Likewise.
78 (sinh_towardzero_test_data): Likewise.
79 (sinh_downward_test_data): Likewise.
80 (sinh_upward_test_data): Likewise.
81 (tan_test_data): Likewise.
82 (tan_tonearest_test_data): Likewise.
83 (tan_towardzero_test_data): Likewise.
84 (tan_downward_test_data): Likewise.
85 (tan_upward_test_data): Likewise.
86 (tanh_test_data): Likewise.
87 (tgamma_test_data): Likewise.
88 (y0_test_data): Likewise.
89 (y1_test_data): Likewise.
90 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
91 (special_real_inputs): Add pi/4.
92 * sysdeps/i386/fpu/libm-test-ulps: Update.
93 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
95 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
97 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
98 "longjmp_target" static probes.
99 (__longjmp): Rename to __longjmp_symbol.
100 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
101 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
102 on which longjmp to generate.
103 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
104 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
106 (__sigsetjmp): Rename to __sigsetjmp_symbol.
107 (__sigjmp_save): Rename to __sigjmp_save_symbol.
108 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
109 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
110 and __sigjmp_save_symbol based on which sigsetjmp to generated.
111 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
113 __longjmp_symbol based on which __longjmp to generate.
114 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
116 (setjmp): Rename to setjmp_symbol.
117 (__sigsetjmp): Rename to __sigsetjmp_symbol.
118 (_setjmp): Rename to _setjmp_symbol.
119 (__sigsetjmp): Rename to __sigsetjmp_symbol.
120 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
121 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
122 which setjmp to generate.
123 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
124 "longjmp_target" static probes.
126 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
128 * benchtests/README: Add note about output arguments.
129 * benchtests/bench-sincos.c: Remove file.
130 * benchtests/sincos-inputs: New file.
131 * scripts/bench.pl: Identify output arguments and define
132 static variables for them.
134 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
137 * Makefile (INSTALL): Add install-plain.texi as the primary
139 * manual/install-plain.texi: New file.
140 * manual/install.texi: Include node directive only for
141 non-plaintext output.
143 2013-12-04 Joseph Myers <joseph@codesourcery.com>
145 * stdlib/longlong.h: Update from GCC.
149 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
150 * math/w_j0f.c (y0f): Likewise.
151 * math/w_j0l.c (__y0l): Likewise.
152 * math/w_j1.c (y1): Likewise.
153 * math/w_j1f.c (y1f): Likewise.
154 * math/w_j1l.c (__y1l): Likewise
155 * math/w_jn.c (yn): Likewise.
156 * math/w_jnf.c (ynf): Likewise.
157 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
158 Bessel function pole errors in _POSIX_ mode. Use NAN as return
159 value for Bessel function domain errors outside _SVID_ mode.
160 Adjust sign of return value for yn (negative integer, 0).
161 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
162 by zero in return for negative x and set sign appropriately for
164 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
165 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
166 * math/libm-test.inc (y0_test_data): Add more tests and adjust
167 expectations in error cases.
168 (y1_test_data): Likewise.
169 (yn_test_data): Likewise.
170 * sysdeps/i386/fpu/libm-test-ulps: Update.
171 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
173 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
175 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
176 "64" to "64-v1". Add "64-v2".
177 (abi-64-options): Rename to ...
178 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
179 (abi-64-condition): Rename to ...
180 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
181 (abi-64-ld-soname): Rename to ...
182 (abi-64-v1-ld-soname): ... this.
183 (abi-64-v2-options): Define.
184 (abi-64-v2-condition): Likewise.
185 (abi-64-v2-ld-soname): Likewise.
186 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
187 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
192 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
193 Alan Modra <amodra@gmail.com>
195 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
196 New versions for use with the ELFv2 ABI.
197 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
198 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
200 (struct La_ppc64v2_retval): Likewise.
201 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
202 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
203 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
204 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
205 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
206 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
207 Do not save or restore CR.
208 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
209 (_dl_profile_resolve): Do no save or restore CR. Support extended
210 return values for ELFv2 ABI. Fix location of FPR return registers.
211 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
212 updated values for _CALL_ELF == 2.
213 (La_regs, La_retval, int_retval): Likewise.
215 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
217 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
218 (FRAME_MIN_SIZE_PARM): Likewise.
219 (FRAME_BACKCHAIN): Likewise.
220 (FRAME_CR_SAVE): Likewise.
221 (FRAME_LR_SAVE): Likewise.
222 (FRAME_TOC_SAVE): Likewise.
223 (FRAME_PARM_SAVE): Likewise.
224 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
225 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
226 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
227 (call_mcount_parm_offset): New macro.
228 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
229 (PROF): Use symbolic stack frame offsets.
230 (TAIL_CALL_SYSCALL_ERROR): Likewise.
231 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
232 Redefine in terms of FRAME_MIN_SIZE.
233 (_dl_runtime_resolve): Use symbolic stack frame offsets.
234 (_dl_profile_resolve): Likewise. Update comment.
235 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
236 symbols stack frame offsets.
237 (__sigsetjmp): Likewise.
238 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
239 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
240 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
241 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
243 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
244 (FRAME_BACKCHAIN): Remove.
245 (FRAME_CR_SAVE): Likewise.
246 (FRAME_LR_SAVE): Likewise.
247 (FRAME_COMPILER_DW): Likewise.
248 (FRAME_LINKER_DW): Likewise.
249 (FRAME_TOC_SAVE): Likewise.
250 (FRAME_PARM_SAVE): Likewise.
251 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
252 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
253 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
255 (CHECK_SP): Use symbolic stack frame offsets.
256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
257 zone" instead of caller's parameter save area for temp storage.
258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
259 Likewise. Also, use symbolic stack frame offsets.
260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
261 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
262 our own stack frame instead of the caller's.
263 (__socket): Use symbolic stack frame offsets.
265 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
266 Alan Modra <amodra@gmail.com>
268 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
270 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
271 PPC64_LOCAL_ENTRY_OFFSET): Define.
272 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
274 (elf_machine_fixup_plt): Call it.
275 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
277 (elf_machine_rela): Update call to elf_machine_plt_conflict.
278 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
279 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
280 r2 before calling target.
282 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
283 Alan Modra <amodra@gmail.com>
285 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
286 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
287 versions of macros to support ELFv2 ABI.
288 (LOCALENTRY): New macro.
289 (ENTRY, EALIGN): Use it.
290 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
291 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
292 fall through into ENTRY entry point.
293 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
294 Only define if _CALL_ELF != 2.
296 (elf_machine_matches_host): Verify ABI version matches.
297 (RTLD_START): Use LOCALENTRY.
298 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
299 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
300 (PLT_ENTRY_WORDS): New macro.
301 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
302 (elf_machine_runtime_setup): Support ELFv2 ABI.
303 (elf_machine_fixup_plt): Likewise.
304 (elf_machine_plt_conflict): Likewise.
305 (resolve_ifunc): Likewise.
306 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
307 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
310 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
312 (makecontext): Support ELFv2 ABI.
313 * elf/elf.h (EF_PPC64_ABI): Define.
315 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
317 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
319 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
320 [ASSEMBLER] (ENTRY): ... but instead here ...
321 [ASSEMBLER] (EALIGN): ... and here.
322 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
323 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
324 [!ASSEMBLER] (ENTRY_2): Use it.
325 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
326 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
327 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
328 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
329 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
331 Use PPC64_LOAD_FUNCPTR.
333 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
335 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
337 2013-12-04 Alan Modra <amodra@gmail.com>
339 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
340 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
341 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
342 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
344 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
345 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
346 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
347 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
348 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
349 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
351 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
354 (__makecontext): Fix incorrect CFI when backtracing out of
355 context created via makecontext.
356 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
357 (__setcontext): Fix incorrect CFI during switch to new context.
358 (__novec_setcontext): Likewise.
360 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
363 * time/strptime_l.c (__strptime_internal): Allow modifiers
365 * time/tst-strptime.c (day_tests): Add testcase.
368 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
370 * scripts/bench.pl: Skip over blank lines.
372 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
375 * manual/time.texi (Calendar Time): Clarify what timezone functions
378 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
382 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
384 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
386 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
387 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
388 * debug/memset_chk.c (__memset_chk): Likewise.
389 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
390 * debug/strncpy_chk.c: Likewise.
392 2013-12-03 Joseph Myers <joseph@codesourcery.com>
396 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
397 (__ieee754_exp): For possibly underflowing results, check size of
398 result and force underflow exception if required.
399 * math/auto-libm-test-in: Add more tests of exp.
400 * math/auto-libm-test-out: Regenerated.
401 * sysdeps/i386/fpu/libm-test-ulps: Update.
402 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
405 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
406 * math/w_exp2f.c (__exp2f): Likewise.
407 * math/w_exp2l.c (__exp2l): Likewise.
408 * math/auto-libm-test-in: Do not allow missing errno on exp2
410 * math/auto-libm-test-out: Regenerated.
412 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
415 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
416 handle filename validation.
417 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
420 2013-12-03 Joseph Myers <joseph@codesourcery.com>
423 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
424 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
425 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
427 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
428 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
429 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
430 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
431 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
432 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
433 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
434 * math/auto-libm-test-in: Don't allow missing errno from erfc.
436 * math/auto-libm-test-out: Regenerated.
437 * sysdeps/i386/fpu/libm-test-ulps: Update.
438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
440 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
441 exp2, expm1, j0 and j1.
442 * math/auto-libm-test-out: Regenerated.
443 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
444 (erfc_test_data): Likewise.
445 (exp_test_data): Likewise.
446 (exp_tonearest_test_data): Likewise.
447 (exp_towardzero_test_data): Likewise.
448 (exp_downward_test_data): Likewise.
449 (exp_upward_test_data): Likewise.
450 (exp10_test_data): Likewise.
451 (exp2_test_data): Likewise.
452 (expm1_test_data): Likewise.
453 (j0_test_data): Likewise.
454 (j1_test_data): Likewise.
455 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
456 (input_flag_type): Add flag_xfail_rounding.
457 (input_flags): Add xfail-rounding.
458 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
459 (output_for_one_input_case): Handle flag_xfail_rounding.
460 * sysdeps/i386/fpu/libm-test-ulps: Update.
461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
463 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
466 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
469 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
472 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
473 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
474 (STAP_PROBE0): New macro.
475 (STAP_PROBE1): Likewise.
476 (STAP_PROBE2): Likewise.
477 (STAP_PROBE3): Likewise.
478 (STAP_PROBE4): Likewise.
480 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
482 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
484 2013-12-02 Steve Ellcey <sellcey@mips.com>
486 * benchtests/Makefile (bench): Add sqrt.
487 (LDLIBS-bench-sqrt): New.
488 * benchtests/sqrt-input: New.
490 2013-12-02 Pavel Simerda <psimerda@redhat.com>
492 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
493 (GAIH_EAI): Likewise.
494 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
495 (gaih_inet): Likewise.
496 (getaddrinfo): Don't use GAIH_EAI.
498 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
499 (struct gaih): Remove definition.
501 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
503 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
504 Use HERRNOP directly.
506 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
510 2013-11-30 Joseph Myers <joseph@codesourcery.com>
512 * math/gen-auto-libm-tests.c (test_functions): Add more
513 single-argument functions.
514 (special_fill_pi_2): New function.
515 (special_fill_minus_pi_2): Likewise.
516 (special_fill_pi_6): Likewise.
517 (special_fill_minus_pi_6): Likewise.
518 (special_fill_pi_3): Likewise.
519 (special_fill_2pi_3): Likewise.
520 (special_fill_e): Likewise.
521 (special_fill_1_e): Likewise.
522 (special_fill_e_minus_1): Likewise.
523 (special_real_inputs): Add more special inputs.
524 (output_for_one_input_case): Do not require ERANGE on underflow to
525 zero if round-to-nearest result does not underflow to zero, unless
526 exact results required.
527 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
528 atan, atanh, cbrt, cos and cosh.
529 * math/auto-libm-test-out: Regenerated.
530 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
531 (acos_tonearest_test_data): Likewise.
532 (acos_towardzero_test_data): Likewise.
533 (acos_downward_test_data): Likewise.
534 (acos_upward_test_data): Likewise.
535 (acosh_test_data): Likewise.
536 (asin_test_data): Likewise.
537 (asin_tonearest_test_data): Likewise.
538 (asin_towardzero_test_data): Likewise.
539 (asin_upward_test_data): Likewise.
540 (asinh_test_data): Likewise.
541 (atan_test_data): Likewise.
542 (atanh_test_data): Likewise.
543 (cbrt_test_data): Likewise.
544 (cos_test_data): Likewise.
545 (cos_tonearest_test_data): Likewise.
546 (cos_towardzero_test_data): Likewise.
547 (cos_downward_test_data): Likewise.
548 (cos_upward_test_data): Likewise.
549 (cosh_test_data): Likewise.
550 (cosh_tonearest_test_data): Likewise.
551 (cosh_towardzero_test_data): Likewise.
552 (cosh_downward_test_data): Likewise.
553 (cosh_upward_test_data): Likewise.
554 * sysdeps/i386/fpu/libm-test-ulps: Update.
555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
557 2013-11-29 Joseph Myers <joseph@codesourcery.com>
560 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
561 * math/w_exp10f.c (__exp10f): Likewise.
562 * math/w_exp10l.c (__exp10l): Likewise.
563 * math/libm-test.inc (exp10_test_data): Add more tests and expect
564 errno settings in existing tests.
567 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
568 precision control set to double precision.
569 * sysdeps/i386/fpu/w_sqrt.c: New file.
570 * math/auto-libm-test-in: Add more tests.
571 * math/auto-libm-test-out: Update.
573 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
574 (sqrt_test_tonearest): New function.
575 (sqrt_towardzero_test_data): New variable.
576 (sqrt_test_towardzero): New function.
577 (sqrt_downward_test_data): New variable.
578 (sqrt_test_downward): New function.
579 (sqrt_upward_test_data): New variable.
580 (sqrt_test_upward): New function.
581 (main): Call the new functions.
583 * math/gen-auto-libm-tests.c: New file.
584 * math/auto-libm-test-in: Likewise.
585 * math/auto-libm-test-out: New generated file.
586 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
588 (%beautify): Add generated representations of zero.
589 (top level): Set $auto_input and call parse_auto_input.
590 (beautify): Remove trailing "f" from hex float constants.
591 (parse_args): Handle XFAIL_TEST.
592 (convert_condition): New function.
593 (or_value): Likewise.
594 (or_cond_value): Likewise.
595 (generate_testfile): Handle AUTO_TESTS_* lines.
596 (parse_auto_input): New function.
597 * math/libm-test.inc (XFAIL_TEST): New macro.
598 (ERRNO_UNCHANGED): Update value.
599 (ERRNO_EDOM): Likewise.
600 (ERRNO_ERANGE): Likewise.
601 (IGNORE_RESULT): Likewise.
602 (TEST_COND_flt_32): New macro.
603 (TEST_COND_dbl_64): Likewise.
604 (TEST_COND_ldbl_96_intel): Likewise.
605 (TEST_COND_ldbl_96_m68k): Likewise.
606 (TEST_COND_ldbl_128): Likewise.
607 (TEST_COND_ldbl_128ibm): Likewise.
608 (TEST_COND_long32): Likewise.
609 (TEST_COND_long64): Likewise.
610 (TEST_COND_before_rounding): Likewise.
611 (TEST_COND_after_rounding): Likewise.
612 (enable_test): Handle XFAIL_TEST flag.
613 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
615 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
618 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
619 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
622 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
623 __tls_get_addr_internal instead of __tls_get_offset in order to
624 avoid GOT pointer dependency. Make rtld export
625 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
626 __tls_get_addr since we are a __tls_get_offset platform.
627 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
628 GOT pointer being set up before.
629 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
631 2013-11-28 Joseph Myers <joseph@codesourcery.com>
633 * manual/math.texi (Errors in Math Functions): Document accuracy
637 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
638 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
639 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
640 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
641 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
642 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
643 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
644 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
645 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
646 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
647 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
648 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
649 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
650 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
651 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
652 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
654 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
655 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
656 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
657 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
658 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
660 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
662 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
664 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
665 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
666 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
667 atomic-feupdateenv and flt-rounds.
668 * sysdeps/powerpc/nofpu/Versions (libc): Add
669 __atomic_feholdexcept, __atomic_feclearexcept,
670 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
671 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
672 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
673 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
674 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
679 * manual/arith.texi (FP Exceptions): Document that exceptions may
680 not be raised when matherr is used.
681 (Math Error Reporting): Document overflow in directed rounding
682 modes. Document that errno may not be set when finite values are
683 returned on overflow. Document intent to set errno on underflow
684 only for underflow to zero.
687 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
688 round-to-nearest then adjust result for other rounding modes.
689 * include/fenv.h (fegetround): Use libm_hidden_proto.
690 * math/fegetround.c (fegetround): Use libm_hidden_def.
691 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
692 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
693 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
694 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
696 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
697 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
698 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
699 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
701 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
704 * nss/Versions (libnss_files): Add
705 _nss_files_gethostbyname3_r.
706 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
708 (HOST_DB_LOOKUP): Remove macro.
709 (_nss_files_gethostbyname_r): Implement function without the
710 HOST_DB_LOOKUP macro.
711 (_nss_files_gethostbyname2_r): Likewise.
713 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
715 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
717 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
719 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
720 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
723 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
725 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
726 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
727 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
728 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
729 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
730 __fe_nomask_env_priv and attribute_hidden.
731 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
732 (libc_feupdateenv_test_ppc): Likewise.
733 (libc_feresetround_ppc): Likewise.
734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
735 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
738 (__fe_nomask_env): Likewise.
739 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
741 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
743 * string/Makefile: Remove ifunc tests.
744 * string/test-string.h: Define TEST_IFUNC.
745 * string/test-bcopy-ifunc.c: Remove.
746 * string/test-bzero-ifunc.c: Likewise.
747 * string/test-memccpy-ifunc.c: Likewise.
748 * string/test-memchr-ifunc.c: Likewise.
749 * string/test-memcmp-ifunc.c: Likewise.
750 * string/test-memcpy-ifunc.c: Likewise.
751 * string/test-memmem-ifunc.c: Likewise.
752 * string/test-memmove-ifunc.c: Likewise.
753 * string/test-mempcpy-ifunc.c: Likewise.
754 * string/test-memrchr-ifunc.c: Likewise.
755 * string/test-memset-ifunc.c: Likewise.
756 * string/test-rawmemchr-ifunc.c: Likewise.
757 * string/test-stpcpy-ifunc.c: Likewise.
758 * string/test-stpncpy-ifunc.c: Likewise.
759 * string/test-strcasecmp-ifunc.c: Likewise.
760 * string/test-strcasestr-ifunc.c: Likewise.
761 * string/test-strcat-ifunc.c: Likewise.
762 * string/test-strchr-ifunc.c: Likewise.
763 * string/test-strchrnul-ifunc.c: Likewise.
764 * string/test-strcmp-ifunc.c: Likewise.
765 * string/test-strcpy-ifunc.c: Likewise.
766 * string/test-strcspn-ifunc.c: Likewise.
767 * string/test-strlen-ifunc.c: Likewise.
768 * string/test-strncasecmp-ifunc.c: Likewise.
769 * string/test-strncat-ifunc.c: Likewise.
770 * string/test-strncmp-ifunc.c: Likewise.
771 * string/test-strncpy-ifunc.c: Likewise.
772 * string/test-strnlen-ifunc.c: Likewise.
773 * string/test-strpbrk-ifunc.c: Likewise.
774 * string/test-strrchr-ifunc.c: Likewise.
775 * string/test-strspn-ifunc.c: Likewise.
776 * string/test-strstr-ifunc.c: Likewise.
778 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
780 * benchtests/Makefile: Remove ifunc tests.
781 * benchtests/bench-string.h: Define TEST_IFUNC.
782 * benchtests/bench-bcopy-ifunc.c: Remove.
783 * benchtests/bench-bzero-ifunc.c: Likewise.
784 * benchtests/bench-memccpy-ifunc.c: Likewise.
785 * benchtests/bench-memchr-ifunc.c: Likewise.
786 * benchtests/bench-memcmp-ifunc.c: Likewise.
787 * benchtests/bench-memcpy-ifunc.c: Likewise.
788 * benchtests/bench-memmem-ifunc.c: Likewise.
789 * benchtests/bench-memmove-ifunc.c: Likewise.
790 * benchtests/bench-mempcpy-ifunc.c: Likewise.
791 * benchtests/bench-memrchr-ifunc.c: Likewise.
792 * benchtests/bench-memset-ifunc.c: Likewise.
793 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
794 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
795 * benchtests/bench-stpcpy-ifunc.c: Likewise.
796 * benchtests/bench-stpncpy-ifunc.c: Likewise.
797 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
798 * benchtests/bench-strcasestr-ifunc.c: Likewise.
799 * benchtests/bench-strcat-ifunc.c: Likewise.
800 * benchtests/bench-strchr-ifunc.c: Likewise.
801 * benchtests/bench-strchrnul-ifunc.c: Likewise.
802 * benchtests/bench-strcmp-ifunc.c: Likewise.
803 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
804 * benchtests/bench-strcpy-ifunc.c: Likewise.
805 * benchtests/bench-strcspn-ifunc.c: Likewise.
806 * benchtests/bench-strlen-ifunc.c: Likewise.
807 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
808 * benchtests/bench-strncat-ifunc.c: Likewise.
809 * benchtests/bench-strncmp-ifunc.c: Likewise.
810 * benchtests/bench-strncpy-ifunc.c: Likewise.
811 * benchtests/bench-strnlen-ifunc.c: Likewise.
812 * benchtests/bench-strpbrk-ifunc.c: Likewise.
813 * benchtests/bench-strrchr-ifunc.c: Likewise.
814 * benchtests/bench-strsep-ifunc.c: Likewise.
815 * benchtests/bench-strspn-ifunc.c: Likewise.
816 * benchtests/bench-strstr-ifunc.c: Likewise.
818 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
820 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
822 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
824 * resolv/netdb.h: Use __glibc_reserved instead __unused.
825 * rt/aio.h: Likewise.
826 * sysdeps/gnu/bits/utmp.h: Likewise.
827 * sysdeps/gnu/bits/utmpx.h: Likewise.
828 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
829 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
830 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
831 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
832 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
833 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
834 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
835 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
836 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
837 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
838 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
839 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
840 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
842 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
843 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
844 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
845 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
846 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
847 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
848 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
849 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
850 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
851 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
852 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
853 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
854 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
855 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
856 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
857 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
858 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
859 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
860 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
861 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
862 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
863 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
864 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
865 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
866 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
867 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
868 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
869 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
871 2013-11-25 Carlos O'Donell <carlos@redhat.com>
874 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
875 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
877 2013-11-25 Joseph Myers <joseph@codesourcery.com>
879 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
880 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
883 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
885 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
886 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
887 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
888 (__fesetround): Remove define.
889 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
890 rounding and exceptions handling.
891 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
892 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
893 (__fe_nomask_env): Likewise.
894 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
895 __fegetround instead of fegetround.
896 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
897 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
899 2013-11-21 Roland McGrath <roland@hack.frob.com>
901 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
904 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
906 2013-11-21 Meador Inge <meadori@codesourcery.com>
909 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
910 (encrypt_r): Likewise.
911 * malloc/obstack.h (obstack_free): Likewise.
912 * posix/unistd.h (encrypt): Likewise.
914 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
916 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
917 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
918 DL_CALL_DT_FINI() that call the functions directly.
919 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
920 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
921 * elf/dl-fini.c: Likewise.
923 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
925 * malloc/hooks.c (memalign_check): Add alignment rounding.
926 * malloc/malloc.c (_mid_memalign): New function.
927 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
928 Implement by calling _mid_memalign.
929 * manual/probes.texi (Memory Allocation Probes): Remove
930 memory_valloc_retry and memory_pvalloc_retry.
932 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
934 * locale/programs/locarchive.c (open_archive): Add const
935 qualifier to ARCHIVEFNAME and copy default fname to
939 * libio/tst-widetext.input: Rename Oriya to Odia.
940 * locale/iso-639.def: Likewise.
942 * manual/probes.texi (Mathematical Function Probes): Add
943 documentation for sin, cos, asin and acos probes.
944 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
945 (__sin32): Add slowasin probe.
946 (__cos32): Add slowacos probe.
947 (__mpsin): Add slowsin probe.
948 (__mpcos): Add slowcos probe.
950 2013-11-19 Joseph Myers <joseph@codesourcery.com>
953 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
954 thread-local __sim_exceptions_thread and global
955 __sim_exceptions_global.
956 (__sim_disabled_exceptions): Change to thread-local
957 __sim_disabled_exceptions_thread and global
958 __sim_disabled_exceptions_global.
959 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
960 and global __sim_round_mode_global.
961 (__simulate_exceptions): Use thread-local floating-point state and
962 set global state from it as needed.
963 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
964 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
965 __sim_round_mode_thread.
966 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
967 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
968 and global __sim_exceptions_global.
969 (__sim_disabled_exceptions): Change to thread-local
970 __sim_disabled_exceptions_thread and global
971 __sim_disabled_exceptions_global.
972 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
973 and global __sim_round_mode_global.
974 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
975 (SIM_SET_GLOBAL): Likewise.
976 * sysdeps/powerpc/soft-fp/sfp-machine.h
977 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
978 __sim_round_mode_thread.
979 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
980 __sim_disabled_exceptions_thread.
981 (__sim_exceptions): Change to __sim_exceptions_thread.
982 (__sim_disabled_exceptions): Change to
983 __sim_disabled_exceptions_thread.
984 (__sim_round_mode): Change to __sim_round_mode_thread.
985 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
986 thread-local floating-point state and set global state from it as
988 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
989 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
990 (__sim_disabled_exceptions): Remove extern declaration.
991 (feenableexcept): Use thread-local floating-point state and set
992 global state from it as needed.
993 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
995 (__sim_disabled_exceptions): Likewise.
996 (__sim_round_mode): Likewise.
997 (__fegetenv): Use thread-local floating-point state.
998 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
999 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1000 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1001 floating-point state and set global state from it as needed.
1002 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1003 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1004 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1006 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1007 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1009 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1010 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1011 Use __sim_round_mode_thread.
1012 * math/test-fenv-tls.c: New file.
1013 * math/Makefile (tests): Add test-fenv-tls.
1014 ($(objpfx)test-fenv-tls): Depend on
1015 $(common-objpfx)nptl/libpthread.so.
1017 2013-11-19 Andreas Schwab <schwab@suse.de>
1019 * locale/programs/locale.c (show_info): Decode wordarray elements.
1020 * locale/categories.def (LC_MONETARY): Add element for
1021 _NL_MONETARY_CRNCYSTR.
1022 * locale/C-monetary.c (conversion_rate): New variable.
1023 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1026 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
1028 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1029 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1031 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1033 * elf/Makefile (tst-auxv): New test.
1034 * elf/tst-auxv.c: New
1035 * elf/rtld.c (dl_main): Adjust AT_EXECFN
1037 2013-11-18 Joseph Myers <joseph@codesourcery.com>
1039 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1040 (hidden_proto): Caller changed.
1041 (hidden_tls_proto): New macro.
1042 (libc_hidden_tls_proto): Likewise.
1043 (rtld_hidden_tls_proto): Likewise.
1044 (libm_hidden_tls_proto): Likewise.
1045 (libresolv_hidden_tls_proto): Likewise.
1046 (librt_hidden_tls_proto): Likewise.
1047 (libdl_hidden_tls_proto): Likewise.
1048 (libnss_files_hidden_tls_proto): Likewise.
1049 (libnsl_hidden_tls_proto): Likewise.
1050 (libnss_nisplus_hidden_tls_proto): Likewise.
1051 (libutil_hidden_tls_proto): Likewise.
1053 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
1056 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1057 (decompose_rpath): Defer expansion to fillin_rpath.
1058 (_dl_init_paths): Pass linkmap to fillin_rpath.
1060 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1062 * benchtests/Makefile: Add strsep.
1063 * benchtests/bench-strsep.c: New file: strsep benchtest.
1064 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1066 2013-11-18 Andreas Schwab <schwab@suse.de>
1068 * locale/programs/locale.c (show_info) [case byte]: Check for
1069 '\377' instead of '\177'.
1070 * locale/C-monetary.c (not_available): Always use "\377".
1071 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1072 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
1073 detect unavailable sign_posn locale elements.
1074 * locale/localeconv.c (__localeconv): For grouping and
1075 mon_grouping handle "\177" and "\377" like no grouping.
1076 (INT_ELEM): New macro. Use it to set all numeric members.
1077 * locale/programs/ld-monetary.c (monetary_read)
1078 <tok_mon_grouping>: Normalize single -1 to the empty string.
1079 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1082 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
1085 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1086 when we match (nil).
1087 * stdio-common/tst-sscanf.c (struct test): Add testcase.
1089 2013-11-16 Joseph Myers <joseph@codesourcery.com>
1091 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1092 (NO_TEST_INLINE): Update value.
1093 (ERRNO_UNCHANGED): Likewise.
1094 (ERRNO_EDOM): Likewise.
1095 (ERRNO_ERANGE): Likewise.
1096 (IGNORE_RESULT): Likewise.
1097 (check_float_internal): Check signs of NaN results if
1099 (check_complex): Pass TEST_NAN_SIGN flag through to second
1100 check_float_internal call.
1101 (copysign_test_data): Add tests with quiet NaNs as second
1102 argument. Use TEST_NAN_SIGN.
1103 (fabs_test_data): Add test of negative quiet NaN argument. Use
1105 (signbit_test_data): Add tests of quiet NaN argument.
1106 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1108 * math/gen-libm-test.pl (show_exceptions): Take extra argument
1110 (parse_args): Handle function results specified as IGNORE.
1111 * math/libm-test.inc (IGNORE_RESULT): New macro.
1112 (check_float_internal): Do not check numerical result if flag
1114 (check_complex): Pass through IGNORE_RESULT to second
1115 check_float_internal call.
1116 (check_int): Do not check numerical result if flag IGNORE_RESULT
1118 (check_long): Likewise.
1119 (check_bool): Likewise.
1120 (check_longlong): Likewise.
1121 (lrint_test_data): Add tests of infinite and NaN arguments.
1122 (lrint_tonearest_test_data): Likewise.
1123 (lrint_towardzero_test_data): Likewise.
1124 (lrint_downward_test_data): Likewise.
1125 (lrint_upward_test_data): Likewise.
1126 (llrint_test_data): Likewise.
1127 (llrint_tonearest_test_data): Likewise.
1128 (llrint_towardzero_test_data): Likewise.
1129 (llrint_downward_test_data): Likewise.
1130 (llrint_upward_test_data): Likewise.
1131 (lround_test_data): Likewise.
1132 (llround_test_data): Likewise.
1134 * math/libm-test.inc (NO_TEST_INLINE): New macro.
1135 (ERRNO_UNCHANGED): Update value.
1136 (ERRNO_EDOM): Likewise.
1137 (ERRNO_ERANGE): Likewise.
1138 (NO_TEST_INLINE_FLOAT): New macro.
1139 (NO_TEST_INLINE_DOUBLE): Likewise.
1140 (enable_test): New function.
1141 (RUN_TEST_f_f): Check enable_test before running test.
1142 (RUN_TEST_2_f): Likewise.
1143 (RUN_TEST_fff_f): Likewise.
1144 (RUN_TEST_c_f): Likewise.
1145 (RUN_TEST_f_f1): Likewise.
1146 (RUN_TEST_fF_f1): Likewise.
1147 (RUN_TEST_fI_f1): Likewise.
1148 (RUN_TEST_ffI_f1): Likewise.
1149 (RUN_TEST_c_c): Likewise.
1150 (RUN_TEST_cc_c): Likewise.
1151 (RUN_TEST_f_i): Likewise.
1152 (RUN_TEST_f_i_tg): Likewise.
1153 (RUN_TEST_ff_i_tg): Likewise.
1154 (RUN_TEST_f_b): Likewise.
1155 (RUN_TEST_f_b_tg): Likewise.
1156 (RUN_TEST_f_l): Likewise.
1157 (RUN_TEST_f_L): Likewise.
1158 (RUN_TEST_fFF_11): Likewise.
1159 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1161 (cosh_test_data): Likewise.
1162 (exp_test_data): Likewise.
1163 (expm1_test_data): Likewise.
1164 (hypot_test_data): Likewise.
1165 (pow_test_data): Likewise.
1166 (sinh_test_data): Likewise.
1167 (tanh_test_data): Likewise.
1168 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1171 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1172 tests with quiet NaN input and output.
1173 (acosh_test_data): Likewise.
1174 (asin_test_data): Likewise.
1175 (asinh_test_data): Likewise.
1176 (atan_test_data): Likewise.
1177 (atanh_test_data): Likewise.
1178 (atan2_test_data): Likewise.
1179 (cbrt_test_data): Likewise.
1180 (cos_test_data): Likewise.
1181 (cosh_test_data): Likewise.
1182 (erf_test_data): Likewise.
1183 (erfc_test_data): Likewise.
1184 (exp_test_data): Likewise.
1185 (exp10_test_data): Likewise.
1186 (exp2_test_data): Likewise.
1187 (expm1_test_data): Likewise.
1188 (hypot_test_data): Likewise.
1189 (j0_test_data): Likewise.
1190 (j1_test_data): Likewise.
1191 (jn_test_data): Likewise.
1192 (lgamma_test_data): Likewise.
1193 (log_test_data): Likewise.
1194 (log10_test_data): Likewise.
1195 (log1p_test_data): Likewise.
1196 (log2_test_data): Likewise.
1197 (pow_test_data): Likewise.
1198 (scalb_test_data): Likewise.
1199 (sin_test_data): Likewise.
1200 (sincos_test_data): Likewise.
1201 (sinh_test_data): Likewise.
1202 (tan_test_data): Likewise.
1203 (tanh_test_data): Likewise.
1204 (tgamma_test_data): Likewise.
1205 (y0_test_data): Likewise.
1206 (y1_test_data): Likewise.
1207 (yn_test_data): Likewise.
1210 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1211 argument being NaN and avoid computations with second argument in
1213 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1214 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1215 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1217 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
1219 * locale/iso-639.def: Add Chitwani Tharu (the).
1221 2013-11-14 Andreas Schwab <schwab@suse.de>
1223 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1224 word instead of empty string.
1226 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1228 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1229 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1231 (__fe_nomask_env): Likewise.
1233 2013-11-13 Steve Ellcey <sellcey@mips.com>
1235 * benchtests/bench-timing.h: Include time.h.
1237 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
1240 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1242 * sysdeps/unix/sysv/linux/configure: Regenerated.
1244 2013-11-13 Joseph Myers <joseph@codesourcery.com>
1247 * stdlib/strtod_l.c (round_and_return): Do not consider
1248 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1249 exponent one less than half the least subnormal exponent.
1250 * stdlib/test-strtod-round-data: Add more tests.
1251 * stdlib/tst-strtod-round.c (tests): Regenerated.
1253 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1256 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1257 (__fe_mask_env): Likewise.
1258 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1259 libm_hidden_proto and add function prototype.
1260 (__fe_mask_env): Add function prototype.
1261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1262 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1264 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1266 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1268 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1270 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
1271 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1273 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1275 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1276 of htab_find_slot().
1278 2013-11-11 David S. Miller <davem@davemloft.net>
1281 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1282 symbol in the non-vis3 case in static builds.
1283 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1284 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1285 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1286 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1288 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1291 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1294 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1296 * benchtests/Makefile: Add bench-strtod.
1297 * benchtests/bench-strtod.c: New file: strtod benchtest
1299 2013-11-11 Andreas Schwab <schwab@suse.de>
1302 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1303 terminating NUL in key length.
1305 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1307 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1308 Add artificial ODP entry for vDSO symbol for PPC64.
1309 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
1310 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1312 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
1315 * nss/getent.c (services_keys): Recognize services starting with digit.
1317 2013-11-06 David S. Miller <davem@davemloft.net>
1320 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1321 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1323 2013-11-06 Will Newton <will.newton@linaro.org>
1325 * manual/memory.texi (Malloc Examples): Remove register
1326 keyword from examples.
1328 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
1330 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1332 2013-11-04 Joseph Myers <joseph@codesourcery.com>
1334 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
1335 depending on [__GCC_IEC_559 > 0].
1336 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1337 depending on [__GCC_IEC_559_COMPLEX > 0].
1339 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
1341 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1344 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
1346 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1348 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
1351 * malloc/malloc (malloc_info): Do not handle first bin as
1354 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
1356 * locale/iso-639.def: Add Central Nahuatl (nhn).
1358 2013-11-01 Bruno Haible <bruno@clisp.org>
1361 * manual/math.texi (BSD Random): Specify range upper bound as
1364 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
1366 * locale/iso-639.def: Add Meadow Mari (mhr).
1368 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
1370 [BZ #14752], [BZ #15763]
1371 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1373 * rt/tst_shm.c: Add test for escaping directory.
1375 2013-10-31 Andreas Schwab <schwab@suse.de>
1378 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1379 followed by 'x' as part of digit sequence.
1380 * stdio-common/tst-sscanf.c (double_tests2): New tests.
1382 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1385 * configure.ac: allow GNU Make 4.0 and greater.
1386 * configure: Regenerated.
1388 2013-10-30 Will Newton <will.newton@linaro.org>
1391 * malloc/hooks.c (memalign_check): Limit alignment to the
1392 maximum representable power of two.
1393 * malloc/malloc.c (__libc_memalign): Likewise.
1394 * malloc/tst-memalign.c (do_test): Add test for very
1395 large alignment values.
1396 * malloc/tst-posix_memalign.c (do_test): Likewise.
1398 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
1401 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1402 (munmap_chunk): Likewise.
1403 (mremap_chunk): Likewise.
1405 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
1408 * stdlib/div.c (div): Remove obsolete code.
1409 * stdlib/ldiv.c (ldiv): Likewise.
1410 * stdlib/lldiv.c (lldiv): Likewise.
1412 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1415 * nss/nss_files/files-XXX.c (get_contents_ret): New
1417 (get_contents): New function.
1418 (internal_getent): Use it. Expand size of LINEBUFLEN.
1420 2013-10-30 Mike Frysinger <vapier@gentoo.org>
1422 * configure.in: Moved to ...
1423 * configure.ac: ... here. Change reference to configure.in
1425 * sysdeps/arm/preconfigure.ac: ... here.
1426 configure.in to configure.ac.
1427 * sysdeps/gnu/configure.in: Moved to ...
1428 * sysdeps/gnu/configure.ac: ... here.
1429 * sysdeps/i386/configure.in: Moved to ...
1430 * sysdeps/i386/configure.ac: ... here.
1431 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1432 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1433 * sysdeps/mach/configure.in: Moved to ...
1434 * sysdeps/mach/configure.ac: ... here.
1435 * sysdeps/mach/hurd/configure.in: Moved to ...
1436 * sysdeps/mach/hurd/configure.ac: ... here.
1437 * sysdeps/powerpc/configure.in: Moved to ...
1438 * sysdeps/powerpc/configure.ac: ... here.
1439 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1440 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1441 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1442 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1443 * sysdeps/s390/s390-32/configure.in: Moved to ...
1444 * sysdeps/s390/s390-32/configure.ac: ... here.
1445 * sysdeps/s390/s390-64/configure.in: Moved to ...
1446 * sysdeps/s390/s390-64/configure.ac: ... here.
1447 * sysdeps/sh/configure.in: Moved to ...
1448 * sysdeps/sh/configure.ac: ... here.
1449 * sysdeps/sparc/configure.in: Moved to ...
1450 * sysdeps/sparc/configure.ac: ... here.
1451 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1452 * sysdeps/unix/sysv/linux/configure.ac: ... here.
1453 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1454 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1455 * sysdeps/x86_64/configure.in: Moved to ...
1456 * sysdeps/x86_64/configure.ac: ... here.
1457 * sysdeps/x86_64/preconfigure.in: Moved to ...
1458 * sysdeps/x86_64/preconfigure.ac: ... here.
1459 * aclocal.m4: Change reference to configure.in to configure.ac.
1460 * config.h.in: Likewise.
1461 * manual/install.texi: Likewise.
1462 * manual/maint.texi: Likewise.
1463 * Makefile: Likewise.
1464 * malloc/Makefile: Likewise.
1465 * nscd/Makefile: Likewise.
1466 * Makeconfig: Change reference to configure.in and
1467 preconfigure.in to configure.ac and preconfigure.ac
1469 * INSTALL: Regenerated.
1470 * configure: Likewise.
1471 * sysdeps/gnu/configure: Likewise.
1472 * sysdeps/i386/configure: Likewise.
1473 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1474 * sysdeps/mach/configure: Likewise.
1475 * sysdeps/mach/hurd/configure: Likewise.
1476 * sysdeps/powerpc/configure: Likewise.
1477 * sysdeps/powerpc/powerpc32/configure: Likewise.
1478 * sysdeps/powerpc/powerpc64/configure: Likewise.
1479 * sysdeps/s390/s390-32/configure: Likewise.
1480 * sysdeps/s390/s390-64/configure: Likewise.
1481 * sysdeps/sh/configure: Likewise.
1482 * sysdeps/sparc/configure: Likewise.
1483 * sysdeps/unix/sysv/linux/configure: Likewise.
1484 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1485 * sysdeps/x86_64/configure: Likewise.
1486 * sysdeps/x86_64/preconfigure: Likewise.
1488 2013-10-29 Andreas Schwab <schwab@suse.de>
1490 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1492 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1494 * benchtests/pow-inputs: Add new inputs.
1496 * benchtests/exp-inputs: Add new inputs.
1498 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1499 conditional check for return value.
1500 (__cos32): Likewise.
1502 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1504 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1505 to provide a boost for large inputs with word alignment.
1506 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1507 implementation based on optimized PPC64 strcpy.
1508 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1509 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1510 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1511 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1513 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
1516 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1518 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
1521 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1522 * time/tst-strptime.c (day_tests): Add testcase.
1524 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
1527 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1529 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1532 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1533 MAP_FAILED on error.
1535 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1538 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1539 heap for large requests.
1541 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1544 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1545 result if the result has no associated interface.
1546 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1547 interface for all 127.X.Y.Z addresses.
1549 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
1551 * locale/iso-639.def: Add Ligurian (lij)
1553 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
1556 * sunrpc/rpc_main.c: Document rpcgen -5.
1558 2013-10-19 Michael Stahl <mstahl@redhat.com>
1560 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1562 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
1565 * posix/glob.c: Match only directories when trailing slash is present.
1566 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1567 (main): Add testcase.
1569 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
1572 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1574 2013-10-18 Carlos O'Donell <carlos@redhat.com>
1576 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1577 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1578 AUTH_DES and cindex for FIPS 140-2.
1579 (DES Encryption): Add cindex FIPS 46-3.
1581 * locale/locarchive.h (struct locarhandle): Add fname.
1582 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1583 if an optional argument was specified to --list-archive,
1585 * locale/programs/locarchive.c (show_archive_content): Take new
1586 argument fname and pass it via ah.fname to open_archive.
1587 * locale/programs/localedef.h: Update decl.
1588 (open_archive): If AH->fname is non-null, open that file
1589 rather than the default file name, and don't ignore ENOENT.
1590 (create_archive): Set AH.fname to NULL.
1591 (delete_locales_from_archive): Likewise.
1592 (add_locales_to_archive): Likewise.
1593 * locale/programs/locfile.c (write_all_categories): Likewise.
1595 2013-10-18 Joseph Myers <joseph@codesourcery.com>
1596 Aldy Hernandez <aldyh@redhat.com>
1598 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1599 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1600 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1601 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1602 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1603 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1604 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1605 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1606 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1607 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1608 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1609 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1610 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1611 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1612 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1614 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1616 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1618 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1620 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1621 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1623 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1624 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1625 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1626 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1628 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1629 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1630 * sysdeps/powerpc/preconfigure: Likewise.
1631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1633 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1634 Replace contents of file by #include of <fenv_libc.h>.
1635 * sysdeps/powerpc/soft-fp/sfp-machine.h
1636 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1638 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1639 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1640 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1641 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1642 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1643 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1644 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1645 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1646 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1647 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1648 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1649 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1651 Allow copysignl PLT reference to be missing.
1653 2013-10-18 Richard Sandiford <richard@codesourcery.com>
1654 Joseph Myers <joseph@codesourcery.com
1657 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1659 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1661 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1663 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1664 * elf/tst-tls1.c: Likewise.
1665 * elf/tst-tls10.h: Likewise.
1666 * elf/tst-tls14.c: Likewise.
1667 * elf/tst-tls2.c: Likewise.
1668 * elf/tst-tls3.c: Likewise.
1669 * elf/tst-tls4.c: Likewise.
1670 * elf/tst-tls5.c: Likewise.
1671 * elf/tst-tls6.c: Likewise.
1672 * elf/tst-tls7.c: Likewise.
1673 * elf/tst-tls8.c: Likewise.
1674 * elf/tst-tls9.c: Likewise.
1675 * elf/tst-tlsmod1.c: Likewise.
1676 * elf/tst-tlsmod13.c: Likewise.
1677 * elf/tst-tlsmod13a.c: Likewise.
1678 * elf/tst-tlsmod14a.c: Likewise.
1679 * elf/tst-tlsmod16a.c: Likewise.
1680 * elf/tst-tlsmod16b.c: Likewise.
1681 * elf/tst-tlsmod2.c: Likewise.
1682 * elf/tst-tlsmod3.c: Likewise.
1683 * elf/tst-tlsmod4.c: Likewise.
1684 * elf/tst-tlsmod5.c: Likewise.
1685 * elf/tst-tlsmod6.c: Likewise.
1687 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
1690 * malloc/malloc.c: remove checks for statistics.
1692 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
1695 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1696 * inet/tst-network.c: Add testcase.
1698 2013-10-17 Andreas Schwab <schwab@suse.de>
1701 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1702 to determine canonical name.
1704 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
1706 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1707 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1708 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1709 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1710 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1711 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1712 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1713 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1714 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1715 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1716 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1717 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1718 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1719 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1720 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1721 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1722 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1723 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1724 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1725 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1726 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1727 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1728 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1729 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1730 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1731 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1732 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1733 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1734 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1735 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1736 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1737 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1738 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1739 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1740 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1741 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1742 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1743 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1744 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1745 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1746 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1747 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1748 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1749 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1750 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1751 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1752 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1753 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1754 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1755 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1756 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1757 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1758 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1759 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1760 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1761 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1762 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1763 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1765 2013-10-17 Joseph Myers <joseph@codesourcery.com>
1768 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1769 make result into a quiet NaN.
1771 2013-10-16 Joseph Myers <joseph@codesourcery.com>
1773 * soft-fp/adddf3.c: Fix horizontal whitespace.
1774 * soft-fp/addsf3.c: Likewise.
1775 * soft-fp/addtf3.c: Likewise.
1776 * soft-fp/divdf3.c: Likewise.
1777 * soft-fp/divsf3.c: Likewise.
1778 * soft-fp/divtf3.c: Likewise.
1779 * soft-fp/double.h: Likewise.
1780 * soft-fp/eqdf2.c: Likewise.
1781 * soft-fp/eqsf2.c: Likewise.
1782 * soft-fp/eqtf2.c: Likewise.
1783 * soft-fp/extenddftf2.c: Likewise.
1784 * soft-fp/extended.h: Likewise.
1785 * soft-fp/extendsfdf2.c: Likewise.
1786 * soft-fp/extendsftf2.c: Likewise.
1787 * soft-fp/extendxftf2.c: Likewise.
1788 * soft-fp/fixdfdi.c: Likewise.
1789 * soft-fp/fixdfsi.c: Likewise.
1790 * soft-fp/fixdfti.c: Likewise.
1791 * soft-fp/fixsfdi.c: Likewise.
1792 * soft-fp/fixsfsi.c: Likewise.
1793 * soft-fp/fixsfti.c: Likewise.
1794 * soft-fp/fixtfdi.c: Likewise.
1795 * soft-fp/fixtfsi.c: Likewise.
1796 * soft-fp/fixtfti.c: Likewise.
1797 * soft-fp/fixunsdfdi.c: Likewise.
1798 * soft-fp/fixunsdfsi.c: Likewise.
1799 * soft-fp/fixunsdfti.c: Likewise.
1800 * soft-fp/fixunssfdi.c: Likewise.
1801 * soft-fp/fixunssfsi.c: Likewise.
1802 * soft-fp/fixunssfti.c: Likewise.
1803 * soft-fp/fixunstfdi.c: Likewise.
1804 * soft-fp/fixunstfsi.c: Likewise.
1805 * soft-fp/fixunstfti.c: Likewise.
1806 * soft-fp/floatdidf.c: Likewise.
1807 * soft-fp/floatdisf.c: Likewise.
1808 * soft-fp/floatditf.c: Likewise.
1809 * soft-fp/floatsidf.c: Likewise.
1810 * soft-fp/floatsisf.c: Likewise.
1811 * soft-fp/floatsitf.c: Likewise.
1812 * soft-fp/floattidf.c: Likewise.
1813 * soft-fp/floattisf.c: Likewise.
1814 * soft-fp/floattitf.c: Likewise.
1815 * soft-fp/floatundidf.c: Likewise.
1816 * soft-fp/floatundisf.c: Likewise.
1817 * soft-fp/floatunditf.c: Likewise.
1818 * soft-fp/floatunsidf.c: Likewise.
1819 * soft-fp/floatunsisf.c: Likewise.
1820 * soft-fp/floatunsitf.c: Likewise.
1821 * soft-fp/floatuntidf.c: Likewise.
1822 * soft-fp/floatuntisf.c: Likewise.
1823 * soft-fp/floatuntitf.c: Likewise.
1824 * soft-fp/fmadf4.c: Likewise.
1825 * soft-fp/fmasf4.c: Likewise.
1826 * soft-fp/fmatf4.c: Likewise.
1827 * soft-fp/gedf2.c: Likewise.
1828 * soft-fp/gesf2.c: Likewise.
1829 * soft-fp/getf2.c: Likewise.
1830 * soft-fp/ledf2.c: Likewise.
1831 * soft-fp/lesf2.c: Likewise.
1832 * soft-fp/letf2.c: Likewise.
1833 * soft-fp/muldf3.c: Likewise.
1834 * soft-fp/mulsf3.c: Likewise.
1835 * soft-fp/multf3.c: Likewise.
1836 * soft-fp/negdf2.c: Likewise.
1837 * soft-fp/negsf2.c: Likewise.
1838 * soft-fp/negtf2.c: Likewise.
1839 * soft-fp/op-1.h: Likewise.
1840 * soft-fp/op-2.h: Likewise.
1841 * soft-fp/op-4.h: Likewise.
1842 * soft-fp/op-8.h: Likewise.
1843 * soft-fp/op-common.h: Likewise.
1844 * soft-fp/quad.h: Likewise.
1845 * soft-fp/single.h: Likewise.
1846 * soft-fp/soft-fp.h: Likewise.
1847 * soft-fp/sqrtdf2.c: Likewise.
1848 * soft-fp/sqrtsf2.c: Likewise.
1849 * soft-fp/sqrttf2.c: Likewise.
1850 * soft-fp/subdf3.c: Likewise.
1851 * soft-fp/subsf3.c: Likewise.
1852 * soft-fp/subtf3.c: Likewise.
1853 * soft-fp/truncdfsf2.c: Likewise.
1854 * soft-fp/trunctfdf2.c: Likewise.
1855 * soft-fp/trunctfsf2.c: Likewise.
1856 * soft-fp/trunctfxf2.c: Likewise.
1857 * soft-fp/unorddf2.c: Likewise.
1858 * soft-fp/unordsf2.c: Likewise.
1859 * soft-fp/unordtf2.c: Likewise.
1861 2013-10-15 Joseph Myers <joseph@codesourcery.com>
1863 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1864 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1866 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
1868 * elf/dl-libc.c: Clear initfini list after freeing.
1870 2013-10-14 Joseph Myers <joseph@codesourcery.com>
1872 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1873 * soft-fp/addsf3.c: Likewise.
1874 * soft-fp/addtf3.c: Likewise.
1875 * soft-fp/divdf3.c: Likewise.
1876 * soft-fp/divsf3.c: Likewise.
1877 * soft-fp/divtf3.c: Likewise.
1878 * soft-fp/double.h: Likewise.
1879 * soft-fp/eqdf2.c: Likewise.
1880 * soft-fp/eqsf2.c: Likewise.
1881 * soft-fp/eqtf2.c: Likewise.
1882 * soft-fp/extenddftf2.c: Likewise.
1883 * soft-fp/extended.h: Likewise.
1884 * soft-fp/extendsfdf2.c: Likewise.
1885 * soft-fp/extendsftf2.c: Likewise.
1886 * soft-fp/extendxftf2.c: Likewise.
1887 * soft-fp/fixdfdi.c: Likewise.
1888 * soft-fp/fixdfsi.c: Likewise.
1889 * soft-fp/fixdfti.c: Likewise.
1890 * soft-fp/fixsfdi.c: Likewise.
1891 * soft-fp/fixsfsi.c: Likewise.
1892 * soft-fp/fixsfti.c: Likewise.
1893 * soft-fp/fixtfdi.c: Likewise.
1894 * soft-fp/fixtfsi.c: Likewise.
1895 * soft-fp/fixtfti.c: Likewise.
1896 * soft-fp/fixunsdfdi.c: Likewise.
1897 * soft-fp/fixunsdfsi.c: Likewise.
1898 * soft-fp/fixunsdfti.c: Likewise.
1899 * soft-fp/fixunssfdi.c: Likewise.
1900 * soft-fp/fixunssfsi.c: Likewise.
1901 * soft-fp/fixunssfti.c: Likewise.
1902 * soft-fp/fixunstfdi.c: Likewise.
1903 * soft-fp/fixunstfsi.c: Likewise.
1904 * soft-fp/fixunstfti.c: Likewise.
1905 * soft-fp/floatdidf.c: Likewise.
1906 * soft-fp/floatdisf.c: Likewise.
1907 * soft-fp/floatditf.c: Likewise.
1908 * soft-fp/floatsidf.c: Likewise.
1909 * soft-fp/floatsisf.c: Likewise.
1910 * soft-fp/floatsitf.c: Likewise.
1911 * soft-fp/floattidf.c: Likewise.
1912 * soft-fp/floattisf.c: Likewise.
1913 * soft-fp/floattitf.c: Likewise.
1914 * soft-fp/floatundidf.c: Likewise.
1915 * soft-fp/floatundisf.c: Likewise.
1916 * soft-fp/floatunsidf.c: Likewise.
1917 * soft-fp/floatunsisf.c: Likewise.
1918 * soft-fp/floatuntidf.c: Likewise.
1919 * soft-fp/floatuntisf.c: Likewise.
1920 * soft-fp/floatuntitf.c: Likewise.
1921 * soft-fp/fmadf4.c: Likewise.
1922 * soft-fp/fmasf4.c: Likewise.
1923 * soft-fp/fmatf4.c: Likewise.
1924 * soft-fp/gedf2.c: Likewise.
1925 * soft-fp/gesf2.c: Likewise.
1926 * soft-fp/getf2.c: Likewise.
1927 * soft-fp/ledf2.c: Likewise.
1928 * soft-fp/lesf2.c: Likewise.
1929 * soft-fp/letf2.c: Likewise.
1930 * soft-fp/muldf3.c: Likewise.
1931 * soft-fp/mulsf3.c: Likewise.
1932 * soft-fp/multf3.c: Likewise.
1933 * soft-fp/negdf2.c: Likewise.
1934 * soft-fp/negsf2.c: Likewise.
1935 * soft-fp/negtf2.c: Likewise.
1936 * soft-fp/op-1.h: Likewise.
1937 * soft-fp/op-2.h: Likewise.
1938 * soft-fp/op-4.h: Likewise.
1939 * soft-fp/op-8.h: Likewise.
1940 * soft-fp/op-common.h: Likewise.
1941 * soft-fp/quad.h: Likewise.
1942 * soft-fp/single.h: Likewise.
1943 * soft-fp/soft-fp.h: Likewise.
1944 * soft-fp/sqrtdf2.c: Likewise.
1945 * soft-fp/sqrtsf2.c: Likewise.
1946 * soft-fp/sqrttf2.c: Likewise.
1947 * soft-fp/subdf3.c: Likewise.
1948 * soft-fp/subsf3.c: Likewise.
1949 * soft-fp/subtf3.c: Likewise.
1950 * soft-fp/truncdfsf2.c: Likewise.
1951 * soft-fp/trunctfdf2.c: Likewise.
1952 * soft-fp/trunctfsf2.c: Likewise.
1953 * soft-fp/trunctfxf2.c: Likewise.
1954 * soft-fp/unorddf2.c: Likewise.
1955 * soft-fp/unordsf2.c: Likewise.
1956 * soft-fp/unordtf2.c: Likewise.
1958 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
1961 * misc/error.c (error_tail): Fix possible buffer overflow.
1963 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1966 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1969 2013-10-14 P. J. McDermott <pj@pehjota.net>
1972 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1973 testing pipefail option.
1975 2013-10-12 Joseph Myers <joseph@codesourcery.com>
1977 * soft-fp/double.h: Indent preprocessor directives inside #if.
1978 * soft-fp/extended.h: Likewise.
1979 * soft-fp/op-2.h: Likewise.
1980 * soft-fp/op-4.h: Likewise.
1981 * soft-fp/op-common.h: Likewise.
1982 * soft-fp/quad.h: Likewise.
1983 * soft-fp/single.h: Likewise.
1984 * soft-fp/soft-fp.h: Likewise.
1986 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1988 * iconv/iconv_prog.c: Fix typos.
1989 * stdio-common/psiginfo-data.h: Likewise.
1991 2013-10-12 Reuben Thomas <rrt@sc3d.org>
1994 * locale/setlocale.c: Fix typo.
1996 2013-10-12 Joseph Myers <joseph@codesourcery.com>
1999 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2000 signaling NaN arguments.
2001 * soft-fp/unordsf2.c (__unordsf2): Likewise.
2002 * soft-fp/unordtf2.c (__unordtf2): Likewise.
2005 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2007 * soft-fp/gesf2.c (__gesf2): Likewise.
2008 * soft-fp/getf2.c (__getf2): Likewise.
2009 * soft-fp/ledf2.c (__ledf2): Likewise.
2010 * soft-fp/lesf2.c (__lesf2): Likewise.
2011 * soft-fp/letf2.c (__letf2): Likewise.
2013 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2014 * soft-fp/eqsf2.c (__eqsf2): Likewise.
2015 * soft-fp/eqtf2.c (__eqtf2): Likewise.
2016 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2017 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2018 * soft-fp/fixdfti.c (__fixdfti): Likewise.
2019 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2020 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2021 * soft-fp/fixsfti.c (__fixsfti): Likewise.
2022 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2023 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2024 * soft-fp/fixtfti.c (__fixtfti): Likewise.
2025 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2026 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2027 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2028 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2029 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2030 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2031 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2032 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2033 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2034 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2035 * soft-fp/floatdisf.c (__floatdisf): Likewise.
2036 * soft-fp/floatsisf.c (__floatsisf): Likewise.
2037 * soft-fp/floattidf.c (__floattidf): Likewise.
2038 * soft-fp/floattisf.c (__floattisf): Likewise.
2039 * soft-fp/floattitf.c (__floattitf): Likewise.
2040 * soft-fp/floatundidf.c (__floatundidf): Likewise.
2041 * soft-fp/floatundisf.c (__floatundisf): Likewise.
2042 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2043 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2044 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2045 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2046 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2047 * soft-fp/gesf2.c (__gesf2): Likewise.
2048 * soft-fp/getf2.c (__getf2): Likewise.
2049 * soft-fp/ledf2.c (__ledf2): Likewise.
2050 * soft-fp/lesf2.c (__lesf2): Likewise.
2051 * soft-fp/letf2.c (__letf2): Likewise.
2053 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2054 Undefine and redefine.
2055 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2056 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2057 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2058 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2059 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2060 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2061 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2062 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2063 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2064 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2065 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2066 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2067 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2068 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2069 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2072 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2073 without decrementing exponent if mantissa >= that for the
2075 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2076 denominator, not >. Decrement exponent in < case instead of
2077 incrementing in >= case.
2078 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2079 without decrementing exponent if mantissa >= that for the
2082 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2083 computing saturated result for unsigned overflow.
2085 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2086 Jeff Law <law@redhat.com>
2088 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2089 (atan2Mp): Add systemtap probe marker.
2090 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2091 (__ieee754_log): Add systemtap probe marker.
2092 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2093 (atanMp): Add systemtap probe marker.
2094 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2095 (tanMp): Add systemtap probe marker.
2096 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2097 (__slowexp): Add systemtap probe marker.
2098 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2099 (__slowpow): Add systemtap probe marker.
2100 * manual/probes.texi: Document probes.
2102 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
2105 * libio/fileops.c (_IO_new_file_write): Return count of bytes
2107 (_IO_new_file_xsputn): Don't return EOF if nothing has been
2109 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2110 written to buffer but not flushed.
2111 * libio/iofwrite_u.c: Likewise.
2112 * libio/iopadn.c: Return bytes returned even if EOF was
2114 * libio/iowpadn.c: Likewise.
2115 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2116 if _IO_padn does not write the whole buffer.
2117 [!COMPILE_WPRINTF] (PAD): Likewise.
2119 2013-10-10 David S. Miller <davem@davemloft.net>
2121 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2124 2013-10-10 Joseph Myers <joseph@codesourcery.com>
2126 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
2127 instead of FSF address.
2128 * soft-fp/fixdfti.c: Likewise.
2129 * soft-fp/fixsfti.c: Likewise.
2130 * soft-fp/fixtfti.c: Likewise.
2131 * soft-fp/fixunsdfti.c: Likewise.
2132 * soft-fp/fixunssfti.c: Likewise.
2133 * soft-fp/fixunstfti.c: Likewise.
2134 * soft-fp/floattidf.c: Likewise.
2135 * soft-fp/floattisf.c: Likewise.
2136 * soft-fp/floattitf.c: Likewise.
2137 * soft-fp/floatuntidf.c: Likewise.
2138 * soft-fp/floatuntisf.c: Likewise.
2139 * soft-fp/floatuntitf.c: Likewise.
2140 * soft-fp/trunctfxf2.c: Likewise.
2142 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
2143 * soft-fp/fixdfti.c: Likewise.
2144 * soft-fp/fixsfti.c: Likewise.
2145 * soft-fp/fixtfti.c: Likewise.
2146 * soft-fp/fixunsdfti.c: Likewise.
2147 * soft-fp/fixunssfti.c: Likewise.
2148 * soft-fp/fixunstfti.c: Likewise.
2149 * soft-fp/floattidf.c: Likewise.
2150 * soft-fp/floattisf.c: Likewise.
2151 * soft-fp/floattitf.c: Likewise.
2152 * soft-fp/floatuntidf.c: Likewise.
2153 * soft-fp/floatuntisf.c: Likewise.
2154 * soft-fp/floatuntitf.c: Likewise.
2155 * soft-fp/trunctfxf2.c: Likewise.
2157 2013-10-10 David S. Miller <davem@davemloft.net>
2159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2161 2013-10-10 Joseph Myers <joseph@codsourcery.com>
2163 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2164 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2165 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2166 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2167 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2168 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2169 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2171 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2172 for NaNs before doing comparisons on argument.
2173 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2176 2013-10-10 Will Newton <will.newton@linaro.org>
2178 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2179 passed to _int_memalign does not overflow.
2181 2013-10-10 Torvald Riegel <triegel@redhat.com>
2183 * scripts/bench.pl: Add include-sources directive.
2184 * benchtests/README: Update documentation.
2186 2013-10-10 Joseph Myers <joseph@codesourcery.com>
2188 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2189 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2190 instead of FP_INIT_ROUNDMODE.
2191 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2192 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2195 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
2196 copy class of input value.
2197 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
2198 not handle exceptions.
2199 * soft-fp/negsf2.c (__negsf2): Likewise.
2200 * soft-fp/negtf2.c (__negtf2): Likewise.
2201 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2203 2013-10-09 Joseph Myers <joseph@codesourcery.com>
2205 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2206 semicolon. From Linux kernel.
2208 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
2210 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2212 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2215 * manual/socket.texi: Added statement about buffer
2216 for gethostbyname2_r.
2218 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
2220 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2221 Use .p2align directive instead, throughout.
2222 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2223 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2224 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2225 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2226 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2227 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2228 * sysdeps/x86_64/strchr.S: Likewise.
2229 * sysdeps/x86_64/strrchr.S: Likewise.
2231 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2233 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2235 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2237 * sysdeps/generic/math_private.h (__mpsin1): Remove
2239 (__mpcos1): Likewise.
2240 (__mpsin): New argument __range_reduce.
2241 (__mpcos): Likewise.
2242 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2243 (slow): Use __mpsin and __mpcos.
2250 (bsloww1): Likewise.
2251 (bsloww2): Likewise.
2254 (csloww1): Likewise.
2255 (csloww2): Likewise.
2256 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2257 range_reduce. Merge in __mpsin1.
2258 (__mpcos): Likewise.
2260 (__mpcos1): Likewise.
2262 2013-10-07 Joseph Myers <joseph@codesourcery.com>
2264 * locale/loadlocale.c (_nl_intern_locale_data): Use
2266 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2267 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2268 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2269 obstack data is appropriately aligned.
2270 (obstack_int32_grow_fast): Likewise.
2271 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2272 * locale/programs/locfile.c (add_locale_uint32): Likewise.
2273 (add_locale_uint32_array): Likewise.
2275 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2277 * benchtests/Makefile: Remove ARGLIST and RET variables.
2278 ($(objpfx)bench-%.c): Pass only function name to the script.
2279 * benchtests/README: Update documentation.
2280 * benchtests/acos-inputs: Add new directives.
2281 * benchtests/acosh-inputs: Likewise.
2282 * benchtests/asin-inputs: Likewise.
2283 * benchtests/asinh-inputs: Likewise.
2284 * benchtests/atan-inputs: Likewise.
2285 * benchtests/atanh-inputs: Likewise.
2286 * benchtests/cos-inputs: Likewise.
2287 * benchtests/cosh-inputs: Likewise.
2288 * benchtests/exp-inputs: Likewise.
2289 * benchtests/log-inputs: Likewise.
2290 * benchtests/pow-inputs: Likewise.
2291 * benchtests/rint-inputs: Likewise.
2292 * benchtests/sin-inputs: Likewise.
2293 * benchtests/sinh-inputs: Likewise.
2294 * benchtests/tan-inputs: Likewise.
2295 * benchtests/tanh-inputs: Likewise.
2296 * scripts/bench.pl: Add support for new directives.
2298 2013-10-07 Alan Modra <amodra@gmail.com>
2300 * README: Fix careless merge.
2302 2013-10-05 Alan Modra <amodra@gmail.com>
2304 * NEWS: Mention powerpc64le support and bugs fixed.
2305 * README: Both big-endian and little-endian powerpc64 supported.
2307 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2309 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
2310 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
2311 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
2312 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
2314 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
2316 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2319 2013-10-04 Joseph Myers <joseph@codesourcery.com>
2321 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
2322 Move -mhard-float appending from
2323 ports/sysdeps/powerpc/powerpc32/Makefile.
2324 [$(with-fp) = yes] (ASFLAGS): Likewise.
2325 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
2326 * sysdeps/powerpc/nofpu: Move directory from
2327 ports/sysdeps/powerpc/nofpu.
2328 * sysdeps/powerpc/soft-fp: Move directory from
2329 ports/sysdeps/powerpc/soft-fp.
2330 * sysdeps/powerpc/powerpc32/405: Move directory from
2331 ports/sysdeps/powerpc/powerpc32/405.
2332 * sysdeps/powerpc/powerpc32/440: Move directory from
2333 ports/sysdeps/powerpc/powerpc32/440.
2334 * sysdeps/powerpc/powerpc32/464: Move directory from
2335 ports/sysdeps/powerpc/powerpc32/464.
2336 * sysdeps/powerpc/powerpc32/476: Move directory from
2337 ports/sysdeps/powerpc/powerpc32/476.
2338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2339 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2341 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2342 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2343 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2345 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2346 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2347 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2348 * README: Update for powerpc-*-linux-gnu software floating point
2351 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2352 case to powerpc/powerpc32*.
2353 * sysdeps/unix/sysv/linux/configure: Regenerated.
2355 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2356 (_FPU_MASK_OM): Define as 0x04.
2357 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2358 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2360 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2362 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2365 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2368 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2371 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2372 and setcontext_e500.
2374 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
2376 * locale/iso-3166.def: Update iso-1366.def and related occurrences
2378 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2380 * manual/threads.texi (Default Thread Attributes): Fix typo.
2382 2013-10-04 Will Newton <will.newton@linaro.org>
2384 * malloc/Makefile: Add tst-memalign.
2385 * malloc/tst-memalign.c: New file.
2387 * malloc/tst-posix_memalign.c: Add comments.
2388 (do_test): Add comments and call free on all potentially
2389 allocated pointers. Add space after cast.
2391 * malloc/tst-pvalloc.c: Add comments.
2392 (do_test): Add comments and call free on all potentially
2393 allocated pointers. Remove duplicate check for NULL pointer.
2394 Add space after cast.
2396 * malloc/tst-valloc.c: Add comments.
2397 (do_test): Add comments and call free on all potentially
2398 allocated pointers. Remove duplicate check for NULL pointer.
2399 Add space after cast.
2401 2013-10-04 Alan Modra <amodra@gmail.com>
2403 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2404 Use stdint types in rather than __attribute__((mode())).
2405 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2407 2013-10-04 Alan Modra <amodra@gmail.com>
2409 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2410 Correct handling of unaligned relocs for little-endian.
2411 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2413 2013-10-04 Alan Modra <amodra@gmail.com>
2415 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2416 * configure: Regenerate.
2417 * nptl/shlib-versions: Powerpc*le starts at 2.18.
2418 * shlib-versions: Likewise.
2420 2013-10-04 Alan Modra <amodra@gmail.com>
2422 * string/tester.c (test_memrchr): Increment reported test cycle.
2424 2013-10-04 Alan Modra <amodra@gmail.com>
2426 * string/test-memcpy.c (do_one_test): When reporting errors, print
2427 string address and don't overrun end of string.
2429 2013-10-04 Alan Modra <amodra@gmail.com>
2431 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2432 insrdi. Make better use of reg selection to speed exit slightly.
2433 Schedule entry path a little better. Remove useless "are we done"
2434 checks on entry to main loop. Handle wrapping around zero address.
2435 Correct main loop count. Handle single left-over word from main
2436 loop inline rather than by using loop_small. Remove extra word
2437 case in loop_small caused by wrong loop count. Add little-endian
2439 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2440 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
2442 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2443 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2444 support. Avoid rlwimi.
2445 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2447 2013-10-04 Alan Modra <amodra@gmail.com>
2449 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
2451 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2452 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2453 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2454 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2455 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2456 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2458 2013-10-04 Alan Modra <amodra@gmail.com>
2460 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2461 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2462 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2463 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2464 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2465 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2466 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2467 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2468 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2469 use of regs. Use power7 mtocrf. Tidy function tails.
2471 2013-10-04 Alan Modra <amodra@gmail.com>
2473 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2474 Formatting. Consistently use rXXX register defines or rN defines.
2475 Use early exit labels that avoid restoring unused non-volatile regs.
2476 Make cr field use more consistent with rWORDn compares. Rename
2477 regs used as shift registers for unaligned loop, using rN defines
2478 for short lifetime/multiple use regs.
2479 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2480 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2481 addi 1,1,64 to pop stack frame. Simplify return value code.
2482 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2484 2013-10-04 Alan Modra <amodra@gmail.com>
2486 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2487 support. Correct typos, formatting. Optimize tail. Use insrdi
2489 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2490 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2491 little-endian support. Correct typos.
2492 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2494 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2495 in loop and entry code to keep "and." results.
2496 (strchr): Add little-endian support. Comment. Move cntlzd
2498 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2500 2013-10-04 Alan Modra <amodra@gmail.com>
2502 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2503 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2504 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2505 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2507 2013-10-04 Alan Modra <amodra@gmail.com>
2509 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2510 (rTMP): Define as r11.
2511 (strcmp): Add little-endian support. Optimise tail.
2512 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2513 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2514 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2515 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2516 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2517 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2518 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2520 2013-10-04 Alan Modra <amodra@gmail.com>
2522 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2523 little-endian support. Remove unnecessary "are we done" tests.
2524 Handle "s" wrapping around zero and extremely large "size".
2525 Correct main loop count. Handle single left-over word from main
2526 loop inline rather than by using small_loop. Correct comments.
2527 Delete "zero" tail, use "end_max" instead.
2528 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2530 2013-10-04 Alan Modra <amodra@gmail.com>
2532 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2533 support. Don't branch over align.
2534 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2535 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2536 support. Rearrange tmp reg use to suit. Comment.
2537 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2539 2013-10-04 Alan Modra <amodra@gmail.com>
2541 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2543 2013-10-04 Alan Modra <amodra@gmail.com>
2545 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2546 conditional form of branch and link when obtaining pc.
2547 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2549 2013-10-04 Alan Modra <amodra@gmail.com>
2551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2556 2013-10-04 Alan Modra <amodra@gmail.com>
2558 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2559 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2560 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2561 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2562 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2563 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2564 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2565 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2566 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2567 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2569 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2570 Alistair Popple <alistair@ozlabs.au.ibm.com>
2571 Alan Modra <amodra@gmail.com>
2574 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2575 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2576 _dl_hwcap access for little-endian.
2577 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2578 destroy vmx regs when saving unaligned.
2579 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2580 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2581 destroy vmx regs when saving unaligned.
2583 2013-10-04 Alan Modra <amodra@gmail.com>
2585 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2586 Don't use a union to pack hi/low value.
2588 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2590 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2592 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2593 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2594 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2595 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2596 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2598 2013-10-04 Alan Modra <amodra@gmail.com>
2600 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2601 constants to usual value for .cst8 section, and remove redundant
2603 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2604 constant for 0x1p52. Load little-endian words of double from
2605 correct stack offsets.
2607 2013-10-04 Alan Modra <amodra@gmail.com>
2609 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2610 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2611 words of double from correct stack offsets.
2612 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2613 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2614 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2615 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2616 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2617 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2618 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2619 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2620 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2621 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2622 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2623 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2624 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2625 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2626 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2627 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2628 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2630 2013-10-04 Alan Modra <amodra@gmail.com>
2632 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2633 64-bit int/double union.
2634 (_FPU_SETCW): Likewise.
2635 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2636 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2638 2013-10-04 Alan Modra <amodra@gmail.com>
2640 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2641 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2643 2013-10-04 Alan Modra <amodra@gmail.com>
2645 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2646 use vector int constants.
2647 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2649 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2651 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2652 array with long long.
2653 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2654 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2655 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2656 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2657 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2658 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2659 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2660 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2661 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2662 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2663 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2664 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2665 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2667 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2669 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2670 (__signbit): Likewise. Correct for little-endian.
2671 (__signbitl): Call __signbit.
2672 (lrint): Correct for little-endian.
2673 (lrintf): Call lrint.
2675 2013-10-04 Alan Modra <amodra@gmail.com>
2677 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2678 union 32-bit int array member with 64-bit int array.
2679 (t515, tm256): Double rather than long double.
2680 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2682 2013-10-04 Alan Modra <amodra@gmail.com>
2684 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2686 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2687 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2688 version of math_ldbl.h.
2690 2013-10-04 Alan Modra <amodra@gmail.com>
2692 [BZ #15734], [BZ #15735]
2693 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2694 all uses of ieee875 long double macros and unions. Simplify test
2695 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2696 ldbl_extract_mantissa value for ix,iy exponents. Properly
2697 normalize after ldbl_extract_mantissa, and don't add hidden bit
2698 already handled. Don't treat low word of ieee854 mantissa like
2699 low word of IBM long double and mask off bit when testing for
2701 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2702 all uses of ieee875 long double macros and unions. Simplify tests
2703 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2704 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2705 two1022, instead use their values. Recognise that tests for large
2706 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2707 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2708 Rewrite all uses of ieee875 long double macros and unions. Simplify
2709 test for 0.0L and nan. Correct negation.
2710 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2711 ieee875 long double macros and unions. Correct output for large
2712 magnitude x. Correct absolute value calculation.
2713 (__erfcl): Likewise.
2714 * math/libm-test.inc: Add tests for errors discovered in IBM long
2715 double versions of fmodl, remainderl, erfl and erfcl.
2717 2013-10-04 Alan Modra <amodra@gmail.com>
2719 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2720 all uses of ieee854 long double macros and unions. Simplify tests
2721 for long doubles that are fully specified by the high double.
2722 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2724 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2725 Remove dead code too.
2726 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2727 (__ieee754_ynl): Likewise.
2728 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2729 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2730 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2731 Remove dead code too.
2732 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2733 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2734 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2735 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2737 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2739 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2740 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2741 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2742 Comment on variable precision.
2743 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2744 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2746 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2747 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2748 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2749 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2750 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2752 2013-10-04 Alan Modra <amodra@gmail.com>
2754 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2755 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2756 all uses of ieee854 long double macros and unions.
2757 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2758 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2759 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2760 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2761 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2762 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2764 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2765 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2766 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2767 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2768 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2769 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2770 Simplify sign and nan test too.
2771 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2772 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2773 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2774 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2776 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2777 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2779 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2780 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2781 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2782 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2783 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2784 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2786 2013-10-04 Alan Modra <amodra@gmail.com>
2788 * stdio-common/printf_size.c (__printf_size): Don't use
2789 union ieee854_long_double in fpnum union.
2790 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2791 signbit macro to retrieve sign from long double.
2792 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2793 retrieve sign from long double.
2794 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2795 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2796 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2797 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2798 * math/test-misc.c (main): Don't use union ieee854_long_double.
2800 2013-10-04 Alan Modra <amodra@gmail.com>
2803 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2804 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2805 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2806 calculation. Remove unnecessary test for denormal exponent.
2807 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2808 Correct handling of denormals. Avoid undefined shift behaviour.
2809 Correct normalisation of low mantissa when low double is denormal.
2810 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2811 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
2812 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2813 Correct normalisation of low mantissa. Test for overflow of high
2814 mantissa and normalise.
2815 (ldbl_nearbyint): Use more readable constant for two52.
2816 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2817 (__mpn_construct_long_double): Fix test for overflow of high
2818 mantissa and correct normalisation. Avoid undefined shift.
2820 2013-10-04 Alan Modra <amodra@gmail.com>
2822 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2823 (union ibm_extended_long_double): Define as an array of ieee754_double.
2824 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2825 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2826 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2827 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2828 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2829 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2830 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2831 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2832 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2833 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2834 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2836 2013-10-03 Joseph Myers <joseph@codesourcery.com>
2838 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2839 page size instead of calling getpagesize.
2841 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2842 (LOCFILE_ALIGN_MASK): Likewise.
2843 (LOCFILE_ALIGN_UP): Likewise.
2844 (LOCFILE_ALIGNED_P): Likewise.
2845 * locale/programs/ld-collate.c (collate_output): Use the new
2846 macros instead of __alignof__ (int32_t).
2847 * locale/weight.h (findidx): Likewise.
2849 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
2852 * manual/string.texi: Fix strncat and wcsncat.
2854 2013-10-03 Brooks Moses <bmoses@google.com>
2857 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2858 * Makerules: ...here, and adjust associated comments.
2860 2013-10-02 Will Newton <will.newton@linaro.org>
2862 * malloc/Makefile: Add tst-pvalloc.
2863 * malloc/tst-pvalloc.c: New file.
2865 2013-10-02 Will Newton <will.newton@linaro.org>
2867 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2868 improve test coverage.
2870 2013-10-02 Will Newton <will.newton@linaro.org>
2872 * malloc/Makefile: Add tst-posix_memalign.
2873 * malloc/tst-posix_memalign.c: New file.
2875 2013-10-01 Eric Blake <eblake@redhat.com>
2877 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2878 Use __THROWNL rather than __THROW on static functions.
2880 2013-09-30 Petr Machata <pmachata@redhat.com>
2882 * elf/elf.h (R_AARCH64_ABS16): New macro.
2883 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2884 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2885 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2886 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2887 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2888 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2889 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2890 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2891 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2892 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2893 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2894 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2895 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2896 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2897 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2898 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2899 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2900 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2901 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2902 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2903 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2904 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2905 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2906 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2907 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2908 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2909 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2910 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2911 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2912 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2913 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2914 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2915 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2916 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2917 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2918 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2919 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2920 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2921 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2922 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2923 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2924 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2925 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2926 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2927 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2928 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2929 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2930 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2931 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2932 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2933 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2934 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2935 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2936 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2937 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2938 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2939 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
2940 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
2941 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
2942 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
2943 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
2944 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
2945 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
2946 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
2947 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
2948 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
2949 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
2950 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
2951 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
2952 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
2953 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
2954 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
2955 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
2956 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
2957 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
2958 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
2959 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
2960 (R_AARCH64_TLSDESC_LDR): Likewise.
2961 (R_AARCH64_TLSDESC_ADD): Likewise.
2962 (R_AARCH64_TLSDESC_CALL): Likewise.
2964 2013-09-30 Andreas Schwab <schwab@suse.de>
2967 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
2968 the nss database lookup.
2969 * nscd/initgrcache.c (addinitgroupsX): Likewise.
2970 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2972 2013-09-28 Mike Frysinger <vapier@gentoo.org>
2974 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2976 2013-09-28 P. J. McDermott <pj@pehjota.net>
2978 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
2979 ${Bash-specific parameter/pattern/string} parameter expansion.
2980 * sysdeps/unix/make-syscalls.sh: Likewise.
2982 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2984 * sysdeps/sh/stackguard-macros.h: New file.
2986 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
2988 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
2989 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
2990 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
2991 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
2992 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
2993 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
2995 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2997 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2998 Fix thread ID register.
3000 2013-09-25 Joseph Myers <joseph@codesourcery.com>
3002 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3003 [POSIX || UNIX98]: Require rather than permitting all symbols from
3005 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3006 element of struct sched_param.
3007 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3008 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3009 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3010 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3013 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
3015 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3016 argument calculation.
3018 2013-09-24 Joseph Myers <joseph@codesourcery.com>
3020 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3022 [POSIX] (pthread_attr_t): Do not require type.
3023 [POSIX] (pthread_cond_t): Likewise.
3024 [POSIX] (pthread_condattr_t): Likewise.
3025 [POSIX] (pthread_key_t): Likewise.
3026 [POSIX] (pthread_mutex_t): Likewise.
3027 [POSIX] (pthread_mutexattr_t): Likewise.
3028 [POSIX] (pthread_once_t): Likewise.
3029 [POSIX] (pthread_t): Likewise.
3030 [POSIX-based standards] (pthread_atfork): Expect function.
3032 2013-09-24 Joseph Myers <joseph@codesourcery.com>
3033 Richard Sandiford <richard@codesourcery.com>
3035 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3036 (swap_endianness_p): New extern variable.
3037 (set_big_endian): New inline function.
3038 (maybe_swap_uint32): Likewise.
3039 (maybe_swap_uint32_array): Likewise.
3040 (maybe_swap_uint32_obstack): Likewise.
3041 * locale/programs/locfile.c: Include <stdbool.h>.
3042 (swap_endianness_p): New variable.
3043 (add_locale_uint32): Call maybe_swap_uint32.
3044 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3045 (write_locale_data): Call maybe_swap_uint32_array.
3046 * locale/programs/ld-collate.c (obstack_int32_grow): Call
3048 (obstack_int32_grow_fast): Likewise.
3049 (output_weightwc): Call maybe_swap_uint32_obstack.
3050 (collate_output): Likewise.
3051 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3052 (OPT_LITTLE_ENDIAN): Likewise.
3053 (options): Add --little-endian and --big-endian options.
3054 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3055 * locale/programs/locarchive.c: Include "locfile.h".
3059 (create_archive): Use the new macros to access fields of
3060 structures directly mapped from or written to locale archives.
3061 (oldlocrecentcmp): Likewise.
3062 (enlarge_archive): Likewise.
3063 (insert_name): Likewise.
3064 (add_alias): Likewise.
3065 (add_locale): Likewise.
3066 (delete_locales_from_archive): Likewise.
3067 (show_archive_content): Likewise.
3068 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
3071 2013-09-24 Roland McGrath <roland@hack.frob.com>
3073 * manual/freemanuals.texi: Updated from (newly) canonical copy at
3074 http://www.gnu.org/doc/freemanuals.texi.
3075 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3077 2013-09-24 Will Newton <will.newton@linaro.org>
3079 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3082 2013-09-23 Joseph Myers <joseph@codesourcery.com>
3084 * locale/hashval.h (compute_hashval): Interpret bytes of key as
3087 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
3089 * manual/threads.texi (POSIX Threads): Fix a typo.
3091 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3094 * string/tst-strcoll-overflow.c: New test case.
3095 * string/Makefile (xtests): Add tst-strcoll-overflow.
3096 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3097 cache if string sizes may cause integer overflow.
3100 * string/strcoll_l.c (coll_seq): New members rule, idx,
3101 save_idx and back_us.
3102 (get_next_seq_nocache): New function.
3103 (do_compare_nocache): New function.
3104 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3107 2013-09-23 Carlos O'Donell <carlos@redhat.com>
3110 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3111 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3112 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3115 * elf/Makefile (tests): Add tst-ptrguard1.
3116 (tests-static): Add tst-ptrguard1-static.
3117 (tst-ptrguard1-ARGS): Define.
3118 (tst-ptrguard1-static-ARGS): Define.
3119 * elf/tst-ptrguard1.c: New file.
3120 * elf/tst-ptrguard1-static.c: New file.
3121 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3122 * sysdeps/i386/stackguard-macros.h: Likewise.
3123 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3124 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3125 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3126 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3127 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3128 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3130 2013-09-23 Hector Marco <hecmargi@upv.es>
3131 Ismael Ripoll <iripoll@disca.upv.es>
3132 Carlos O'Donell <carlos@redhat.com>
3135 * sysdeps/generic/stackguard-macros.h: Define
3136 __pointer_chk_guard_local and POINTER_CHK_GUARD.
3137 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3138 Define __pointer_chk_guard_local.
3139 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3140 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3142 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3145 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3147 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3149 * include/string.h (__ffs): Declare as hidden.
3150 * string/ffs.c (__ffs): Define as hidden.
3151 * sysdeps/i386/ffs.c (__ffs): Likewise.
3152 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3153 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3154 * sysdeps/s390/ffs.c (__ffs): Likewise.
3155 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3157 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
3159 * NEWS: Mention malloc probes.
3161 * malloc/arena.c (new_heap): New memory_heap_new probe.
3162 (grow_heap): New memory_heap_more probe.
3163 (shrink_heap): New memory_heap_less probe.
3164 (heap_trim): New memory_heap_free probe.
3165 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3166 (systrim): New memory_sbrk_less probe.
3167 * manual/probes.texi: Document them.
3169 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3170 * manual/probes.texi: Document it.
3172 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3173 (__libc_realloc): Add memory_realloc_retry probe.
3174 (__libc_memalign): Add memory_memalign_retry probe.
3175 (__libc_valloc): Add memory_valloc_retry probe.
3176 (__libc_pvalloc): Add memory_pvalloc_retry probe.
3177 (__libc_calloc): Add memory_calloc_retry probe.
3178 * manual/probes.texi: Document them.
3180 * malloc/arena.c (get_free_list): Add probe
3181 memory_arena_reuse_free_list.
3182 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3183 and memory_arena_reuse.
3184 (arena_get2) [!PER_THREAD]: Likewise.
3185 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3186 memory_arena_reuse_realloc.
3187 * manual/probes.texi: Document them.
3189 * malloc/malloc.c (__libc_free): Add
3190 memory_mallopt_free_dyn_thresholds probe.
3191 (__libc_mallopt): Add multiple memory_mallopt probes.
3192 * manual/probes.texi: Document them.
3194 * malloc/malloc.c: Include stap-probe.h.
3195 (__libc_mallopt): Add memory_mallopt probe.
3196 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3197 * manual/probes.texi: New.
3198 * manual/Makefile (chapters): Add probes.
3199 * manual/threads.texi: Set next node.
3201 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3204 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3205 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3206 Add `Chinese' to `nan' entry name.
3208 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3210 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3211 (POLYNOMIAL): Likewise.
3212 (TAYLOR_SINCOS): Likewise.
3213 (TAYLOR_SLOW): Likewise.
3214 (__sin): Use TAYLOR_SINCOS.
3216 (slow): Use TAYLOR_SLOW.
3221 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3223 * stdlib/strtod_l.c: Fix buffer overrun.
3225 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3227 * benchtests/Makefile (bench): Add sincos.
3228 * benchtests/bench-sincos.c: New file.
3230 * math/libm-test.inc (cos_test_data): New test inputs.
3231 (sin_test_data): Likewise.
3233 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3241 (bsloww1): Likewise.
3242 (bsloww2): Likewise.
3244 (csloww1): Likewise.
3245 (csloww2): Likewise.
3247 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3252 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3256 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
3258 * config.h.in (HAVE_MIPS_NAN2008): New macro.
3259 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3260 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3261 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3262 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3263 * elf/cache.c (print_entry): Handle the new cache flags.
3265 2013-09-18 Joseph Myers <joseph@codesourcery.com>
3266 Aldy Hernandez <aldyh@redhat.com>
3268 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3269 Change condition to [_SOFT_FLOAT].
3270 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3271 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3272 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3273 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3274 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3275 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3276 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3277 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3278 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3279 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3280 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3281 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3282 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3283 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3284 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3285 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3288 2013-09-18 Joseph Myers <joseph@codesourcery.com>
3290 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3291 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3292 (__longjmp): Use LOAD_GP to load saved GPRs.
3293 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3294 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3295 (__sigsetjmp): Use SAVE_GP to save GPRs.
3297 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3298 Do not append -msoft-float.
3299 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3301 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3303 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3305 2013-09-17 Joseph Myers <joseph@codesourcery.com>
3308 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
3309 (_FPU_GETCW): Use initial "__" on variable and field names but not
3310 on macro parameter name.
3311 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
3312 parentheses around reference to macro parameter.
3314 2013-09-13 Richard Sandiford <richard@codesourcery.com>
3316 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3318 (ctype_startup): Use uint32_t in cast and sizeof for
3321 2013-09-11 Jia Liu <proljc@gmail.com>
3323 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3325 [__FreeBSD__]: Likewise.
3327 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
3329 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3330 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
3331 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
3332 (strchr): Remove __strchr_sse42 ifunc selection.
3333 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
3334 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
3336 2013-09-11 Will Newton <will.newton@linaro.org>
3338 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3339 parameter to RES. Remove hardcoded 1000 value.
3340 * benchtests/bench-skeleton.c (main): Pass RES parameter
3341 to TIMING_INIT and multiply result by 1000.
3343 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3347 2013-09-11 Andreas Schwab <schwab@suse.de>
3349 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3351 (O_TMPFILE) [__USE_GNU]: Define.
3352 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3355 2013-09-11 Will Newton <will.newton@linaro.org>
3358 * malloc/malloc.c (__libc_memalign): Check the value of bytes
3361 2013-09-11 Will Newton <will.newton@linaro.org>
3364 * malloc/malloc.c (__libc_valloc): Check the value of bytes
3367 2013-09-11 Will Newton <will.newton@linaro.org>
3370 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3373 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
3375 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3376 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3377 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3378 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3379 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3381 2013-09-10 Allan McRae <allan@archlinux.org>
3384 * manual/arith.texi (Parsing of Floats): Clarify
3388 * manual/install.texi (Running make install): Mention
3390 * INSTALL: Regenerated.
3392 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3394 * csu/init-first.c (_init): Remove the !SHARED condition around
3395 FPU control word initialization.
3396 * elf/dl-support.c (_dl_fpu_control): New variable.
3397 (_dl_aux_init) <AT_FPUCW>: Initialize it.
3398 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3399 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3400 * math/test-fpucw-static.c: New file.
3401 * math/test-fpucw-ieee.c: New file.
3402 * math/test-fpucw-ieee-static.c: New file.
3403 * math/Makefile (tests): Add `test-fpucw-ieee' and
3405 (tests-static): New variable.
3406 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3408 [($(build-shared),yes)]
3409 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3411 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3414 2013-09-09 Allan McRae <allan@archlinux.org>
3417 * manual/string.texi (Collation Functions): Fix typo in
3419 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3422 * stdlib/isomac.c (get_null_defines): Fix memory leak.
3425 * libio/memstream.c (open_memstream): Fix memory leak.
3426 * libio/wmemstream.c (open_wmemstream): Likewise.
3429 * nscd/netgroupcache.c: Fix nesting of ifdefs.
3431 2013-09-09 Will Newton <will.newton@linaro.org>
3433 * malloc/Makefile: Add tst-realloc to tests.
3434 * malloc/tst-realloc.c: New file.
3436 2013-09-09 Allan McRae <allan@archlinux.org>
3439 * COPYING: Update from GNU website to fix FSF address.
3440 * COPYING.LIB: Likewise.
3442 2013-09-06 David S. Miller <davem@davemloft.net>
3444 * po/zh_TW.po: Update Chinese (traditional) translation from
3445 translation project.
3447 2013-09-06 Richard Sandiford <richard@codesourcery.com>
3448 Joseph Myers <joseph@codesourcery.com>
3450 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3452 (obstack_chunk_alloc): New macro.
3453 (obstack_chunk_free): Likewise.
3454 (record_offset): New function.
3455 (init_locale_data): Likewise.
3456 (align_locale_data): Likewise.
3457 (add_locale_empty): Likewise.
3458 (add_locale_raw_data): Likewise.
3459 (add_locale_raw_obstack): Likewise.
3460 (add_locale_string): Likewise.
3461 (add_locale_wstring): Likewise.
3462 (add_locale_uint32): Likewise.
3463 (add_locale_uint32_array): Likewise.
3464 (add_locale_char): Likewise.
3465 (start_locale_structure): Likewise.
3466 (end_locale_structure): Likewise.
3467 (start_locale_prelude): Likewise.
3468 (end_locale_prelude): Likewise.
3469 (write_locale_data): Take locale_file structure rather than an
3471 * locale/programs/locfile.h: Include "obstack.h".
3472 (struct locale_file): Change to store locale file contents instead
3474 (init_locale_data): New prototype.
3475 (align_locale_data): Likewise.
3476 (add_locale_empty): Likewise.
3477 (add_locale_raw_data): Likewise.
3478 (add_locale_raw_obstack): Likewise.
3479 (add_locale_string): Likewise.
3480 (add_locale_wstring): Likewise.
3481 (add_locale_uint32): Likewise.
3482 (add_locale_uint32_array): Likewise.
3483 (add_locale_char): Likewise.
3484 (start_locale_structure): Likewise.
3485 (end_locale_structure): Likewise.
3486 (start_locale_prelude): Likewise.
3487 (end_locale_prelude): Likewise.
3488 (write_locale_data): Update prototype.
3489 * locale/programs/3level.h (struct TABLE): Remove result field.
3490 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3491 Use new locale_file interface.
3492 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3493 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3494 * locale/programs/ld-address.c (address_output): Use new
3495 locale_file interface.
3496 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3498 (collate_finish): Don't call collseq_table_finalize.
3499 (collate_output): Use new locale_file interface.
3500 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3502 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3503 (TABLE): Move defines earlier in file.
3504 (ELEMENT): Likewise.
3505 (DEFAULT): Likewise.
3506 (wctrans_table_add): Move macro and inline function earlier in
3508 (struct wctype_table): Move type earlier in file.
3509 (add_locale_wctype_table): New static prototype.
3510 (struct locale_ctype_t): Use logical types instead of struct iovec
3511 pointers for members.
3512 (ctype_output): Use new locale_file interface.
3513 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3514 new locale_file interface.
3515 (allocate_arrays): Update for use of new locale_file interface.
3516 * locale/programs/ld-identification.c (identification_output): Use
3517 new locale_file interface.
3518 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3519 * locale/programs/ld-messages.c (messages_output): Likewise.
3520 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3521 * locale/programs/ld-name.c (name_output): Likewise.
3522 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3523 * locale/programs/ld-paper.c (paper_output): Likewise.
3524 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3525 * locale/programs/ld-time.c (time_output): Likewise.
3527 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3529 * benchtests/Makefile: Add memrchr benchmark.
3530 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3531 benchmark as memrchr.
3532 * benchtests/bench-memrchr-ifunc.c: New file.
3533 * benchtests/bench-memrchr.c: New file.
3535 2013-09-06 Will Newton <will.newton@linaro.org>
3537 * benchtests/Makefile (string-bench): Add memcpy.
3539 2013-09-05 Carlos O'Donell <carlos@redhat.com>
3540 Cong Wang <amwang@redhat.com>
3542 * sysdeps/unix/sysv/linux/bits/in.h
3543 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3544 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3545 before __USE_KERNEL_IPV6_DEFS uses.
3546 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3548 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3549 sockaddr_in6, or ipv6_mreq.
3551 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3553 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3554 memory access for final bytes in some large inputs.
3555 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3557 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3559 * string/test-memrchr.c: New file.
3560 * string/test-memrchr-ifunc.c: New file.
3561 * string/Makefile: Add new memrchr testcase.
3563 2013-09-05 Mike Frysinger <vapier@gentoo.org>
3565 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3566 fanotify_init returns EPERM.
3568 2013-09-04 Joseph Myers <joseph@codesourcery.com>
3570 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3572 (top level): Treat second token from macro or constant entries for
3573 allowed headers as allowed.
3574 * include/complex.h: Condition internal declarations on
3576 * include/fenv.h: Condition include of <stdbool.h> and internal
3577 declarations on [!_ISOMAC].
3579 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3582 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3584 2013-09-04 Joseph Myers <joseph@codesourcery.com>
3586 * configure.in (--enable-versioning): Remove configure option.
3587 (libc_cv_asm_symver_directive): Remove configure test.
3588 (libc_cv_ld_version_script_option): Likewise.
3589 (VERSIONING): Remove variable and AC_SUBST.
3590 (DO_VERSIONING): Remove AC_DEFINE.
3591 * configure: Regenerated.
3592 * config.h.in (DO_VERSIONING): Remove macro.
3593 * Makerules [$(versioning) = yes]: Change conditionals to
3594 [$(build-shared) = yes].
3595 * config.make.in (versioning): Remove variable.
3596 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3597 [$(build-shared) = yes].
3598 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3599 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3600 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3601 [$(build-shared) = yes].
3602 * extra-lib.mk [$(versioning) = yes]: Likewise.
3603 * hurd/Makefile [$(versioning) = yes]: Likewise.
3604 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3606 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3608 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3609 [SHARED && !NO_HIDDEN].
3610 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3612 [SHARED && DO_VERSIONING]: Likewise..
3613 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3614 [$(build-shared) = yes].
3615 * manual/install.texi (--disable-versioning): Remove
3617 * INSTALL: Regenerated.
3618 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3620 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3621 [$(build-shared) = yes].
3622 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3623 * sysdeps/i386/i686/multiarch/strstr-c.c
3624 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3625 [SHARED && !NO_HIDDEN].
3626 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3627 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3628 * sysdeps/powerpc/powerpc32/dl-machine.c
3629 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3630 * sysdeps/powerpc/powerpc32/sysdep.h
3631 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3632 to [SHARED && PIC && !NO_HIDDEN].
3633 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3634 conditional to [SHARED].
3636 2013-09-04 Will Newton <will.newton@linaro.org>
3638 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3639 * benchtests/bench-string.h: Include bench-timing.h instead
3640 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3641 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3642 call to HP_TIMING_DIFF_INIT.
3643 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3644 instead of hp-timing.h macros.
3645 * benchtests/bench-memchr.c: Likewise.
3646 * benchtests/bench-memcmp.c: Likewise.
3647 * benchtests/bench-memcpy.c: Likewise.
3648 * benchtests/bench-memmem.c: Likewise.
3649 * benchtests/bench-memmove.c: Likewise.
3650 * benchtests/bench-memset.c: Likewise.
3651 * benchtests/bench-rawmemchr.c: Likewise.
3652 * benchtests/bench-strcasecmp.c: Likewise.
3653 * benchtests/bench-strcasestr.c: Likewise.
3654 * benchtests/bench-strcat.c: Likewise.
3655 * benchtests/bench-strchr.c: Likewise.
3656 * benchtests/bench-strcmp.c: Likewise.
3657 * benchtests/bench-strcpy.c: Likewise.
3658 * benchtests/bench-strcpy_chk.c: Likewise.
3659 * benchtests/bench-strlen.c: Likewise.
3660 * benchtests/bench-strncasecmp.c: Likewise.
3661 * benchtests/bench-strncat.c: Likewise.
3662 * benchtests/bench-strncmp.c: Likewise.
3663 * benchtests/bench-strncpy.c: Likewise.
3664 * benchtests/bench-strnlen.c: Likewise.
3665 * benchtests/bench-strpbrk.c: Likewise.
3666 * benchtests/bench-strrchr.c: Likewise.
3667 * benchtests/bench-strspn.c: Likewise.
3668 * benchtests/bench-strstr.c: Likewise.
3670 2013-09-04 Will Newton <will.newton@linaro.org>
3672 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3674 2013-09-03 Joseph Myers <joseph@codesourcery.com>
3677 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3678 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3679 * math/libm-test.inc (lgamma_test_data): Add more tests.
3680 * sysdeps/i386/fpu/libm-test-ulps: Update.
3681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3683 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
3685 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3686 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3689 Add strcmp-sse2-unaligned
3690 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3692 2013-09-02 Mike Frysinger <vapier@gentoo.org>
3694 * Versions.def (libc): Add GLIBC_2.19.
3696 2013-09-02 Mike Frysinger <vapier@gentoo.org>
3698 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3699 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3701 2013-09-02 Joseph Myers <joseph@codesourcery.com>
3704 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3705 intermediate calculations in recurrence.
3706 (__ieee754_ynf): Likewise.
3707 * math/libm-test.inc (jn_test_data): Do not allow spurious
3708 underflow exception. Add more tests.
3709 (yn_test_data): Add more tests.
3710 * sysdeps/i386/fpu/libm-test-ulps: Update.
3711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3713 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
3715 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3717 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3719 * csu/init-first.c: Fix then/than typos.
3720 * locale/programs/ld-collate.c: Likewise.
3721 * locale/programs/linereader.h: Likewise.
3722 * manual/charset.texi: Likewise.
3723 * manual/filesys.texi: Likewise.
3724 * manual/stdio.texi: Likewise.
3725 * manual/string.texi: Likewise.
3726 * stdlib/fmtmsg.c: Likewise.
3727 * sysdeps/i386/stpncpy.S: Likewise.
3728 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3729 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3730 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3731 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3733 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3735 * elf/dl-open.c: Fix typos.
3736 * iconvdata/gbbig5.c: Likewise.
3737 * iconvdata/iso-2022-jp.c: Likewise.
3738 * iconv/gconv_int.h: Likewise.
3739 * iconv/loop.c: Likewise.
3740 * nis/rpcsvc/nis.h: Likewise.
3741 * resolv/ns_name.c: Likewise.
3742 * stdio-common/vfscanf.c: Likewise.
3743 * streams/stropts.h: Likewise.
3744 * sunrpc/rpc_thread.c: Likewise.
3745 * sysdeps/i386/strpbrk.S: Likewise.
3746 * sysdeps/ieee754/k_standard.c: Likewise.
3747 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3748 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3749 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3750 * sysdeps/mach/hurd/profil.c: Likewise.
3751 * sysdeps/s390/dl-procinfo.h: Likewise.
3752 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3753 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3754 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3755 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3756 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3758 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3760 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3761 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3763 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
3765 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3767 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3768 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3769 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3770 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3771 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3772 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3773 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3774 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3776 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3777 Roland McGrath <roland@hack.frob.com>
3779 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3780 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3782 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3784 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3785 __executable_start symbol instead of _start.
3787 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3789 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3790 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3792 * sysdeps/gnu/ldsodefs.h: ... this new file.
3794 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3795 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3796 instead of ELFOSABI_LINUX.
3798 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
3799 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3800 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3801 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3803 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3804 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3805 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3807 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3808 (ibm_extended_long_double): Add ieee_nan member.
3809 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3810 (do_test): New function.
3812 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3814 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3815 functions, renamed from truncdfsf_test, trunctfsf_test,
3817 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3819 (do_test): Run all these.
3821 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
3823 * argp/argp-help.c: Fix typos.
3824 * argp/argp-parse.c: Likewise.
3825 * debug/backtracesyms.c: Likewise.
3826 * elf/elf.h: Likewise.
3827 * malloc/malloc.c: Likewise.
3828 * nis/nis_print.c: Likewise.
3829 * resolv/res_comp.c: Likewise.
3830 * stdlib/stdlib.h: Likewise.
3831 * sunrpc/clnt_tcp.c: Likewise.
3832 * sunrpc/clnt_udp.c: Likewise.
3833 * sunrpc/clnt_unix.c: Likewise.
3834 * sysdeps/unix/bsd/ptsname.c: Likewise.
3835 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3836 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
3837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3843 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3845 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3847 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3850 2013-08-27 Mike Frysinger <vapier@gentoo.org>
3853 * dlfcn/Makefile (tests): Add bug-dl-leaf.
3854 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3855 ($(objpfx)bug-dl-leaf): New rule.
3856 ($(objpfx)bug-dl-leaf.so): Likewise.
3857 ($(objpfx)bug-dl-leaf.out): Likewise.
3858 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3859 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3860 * dlfcn/bug-dl-leaf.c: New test.
3861 * dlfcn/bug-dl-leaf-lib.c: Likewise.
3862 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3863 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3864 (dlclose): Likewise.
3865 (dlmopen): Likewise.
3867 2013-08-27 Roland McGrath <roland@hack.frob.com>
3869 * include/netdb.h [!_ISOMAC]:
3870 Don't include <tls.h>.
3871 (h_errno, __libc_h_errno): Move declaration and macros out of
3874 * include/resolv.h [_RESOLV_H_]:
3875 Don't include <tls.h>.
3876 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3877 * resolv/res_libc.c: Don't include <tls.h>.
3878 (_res): Use __attribute__ ((nocommon)) in place of
3879 __attribute__ ((section (".bss"))).
3881 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3882 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3884 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3886 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3887 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3889 * resolv/res_mkquery.c: Include <sys/time.h>.
3891 * inet/ifreq.c: Moved to ...
3892 * sysdeps/unix/ifreq.c: ... here.
3893 * inet/ifreq.c: New file, true stub version.
3895 * socket/sa_len.c: New file.
3896 * socket/Makefile (aux): Add it.
3897 * sysdeps/unix/sysv/linux/Makefile
3898 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3899 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3900 and #include <socket/sa_len.c>.
3901 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3902 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3904 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3905 * bits/socket.h: ... here.
3907 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3908 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3909 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3911 2013-08-27 Andreas Schwab <schwab@suse.de>
3914 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3915 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3916 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3917 * string/test-strcasecmp.c (test_main): Run tests in several
3919 * string/test-strncasecmp.c (test_main): Likewise.
3921 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3922 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3923 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3924 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3925 (__strncasecmp_ssse3) [PIC]: Likewise.
3927 2013-08-26 Roland McGrath <roland@hack.frob.com>
3929 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3931 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3932 instead of explicitly declaring xdecrypt.
3933 * nis/nss_nis/nis-publickey.c: Likewise.
3935 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3938 * nscd/aicache.c: Include res_hconf.h.
3939 (addhstaiX): Initialize res_hconf.
3941 2013-08-26 Andreas Schwab <schwab@suse.de>
3943 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3944 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3946 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3948 * nscd/aicache.c (addhstaiX): Fix indentation.
3950 2013-08-25 Mike Frysinger <vapier@gentoo.org>
3952 * configure.ac: Quote $build_pt_chown test.
3953 * configure: Regenerated.
3955 2013-08-23 Joseph Myers <joseph@codesourcery.com>
3958 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
3959 * math/s_cexpf.c (__cexpf): Likewise.
3960 * math/s_cexpl.c (__cexpl): Likewise.
3961 * math/libm-test.inc (cexp_test_data): Correct expected return
3962 value for NaN + i0. Add another test.
3964 2013-08-22 David S. Miller <davem@davemloft.net>
3966 * po/ca.po: Update Catalan translation from translation project.
3967 * po/uk.po: Add Ukrainian translations from translation project.
3969 2013-08-21 Joseph Myers <joseph@codesourcery.com>
3972 * math/s_fdim.c (__fdim): Check for infinite arguments if result
3973 is infinite, not alongside NaN test.
3974 * math/s_fdimf.c (__fdimf): Likewise.
3975 * math/s_fdiml.c (__fdiml): Likewise.
3976 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
3979 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
3981 * argp/argp-help.c: Fix typos.
3982 * crypt/speeds.c: Likewise.
3983 * csu/check_fds.c: Likewise.
3984 * elf/dl-load.c: Likewise.
3985 * elf/dl-open.c: Likewise.
3986 * elf/reldep3.c: Likewise.
3987 * elf/reldep.c: Likewise.
3988 * elf/sprof.c: Likewise.
3989 * iconv/iconv_charmap.c: Likewise.
3990 * iconv/skeleton.c: Likewise.
3991 * iconv/strtab.c: Likewise.
3992 * io/lockf64.c: Likewise.
3993 * libio/libioP.h: Likewise.
3994 * resolv/gai_notify.c: Likewise.
3995 * resolv/ns_name.c: Likewise.
3996 * resolv/ns_samedomain.c: Likewise.
3997 * resolv/res_send.c: Likewise.
3998 * stdlib/random.c: Likewise.
3999 * sunrpc/rpc/xdr.h: Likewise.
4000 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4001 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4002 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4003 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4004 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4005 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4006 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4007 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4008 * sysdeps/mach/hurd/check_fds.c: Likewise.
4009 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4010 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4011 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4012 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4013 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4014 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4015 * sysdeps/pthread/aio_notify.c: Likewise.
4016 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4017 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4018 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4019 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4020 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4022 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4024 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4025 version if bit_Slow_SSE4_2 is set.
4026 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4027 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4029 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4032 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4033 trampoline stack frame information.
4034 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4035 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4036 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4037 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4038 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4039 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4040 (_libc_vdso_platform_setup): Initialize the signal trampolines.
4041 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4043 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4044 interrupting a syscall and set with option SA_SIGINFO.
4046 2013-08-20 Joseph Myers <joseph@codesourcery.com>
4049 * math/s_cproj.c (__cproj): Only return an infinity if one part of
4050 argument is infinite.
4051 * math/s_cprojf.c (__cprojf): Likewise.
4052 * math/s_cprojl.c (__cprojl): Likewise.
4053 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4054 * math/libm-test.inc (cproj_test_data): Add more tests.
4056 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4058 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4059 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4060 size. Use __ffs to determine corresponding shift.
4062 2013-08-20 Joseph Myers <joseph@codesourcery.com>
4063 Roland McGrath <roland@hack.frob.com>
4065 * Makefile (INSTALL): Remove trailing blank lines from output of
4068 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4070 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4071 Align 32 bit compat elf_greg to 8 bytes.
4073 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4075 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4077 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4079 * string/strcoll_l.c (coll_seq): New structure.
4080 (get_next_seq_cached): New function.
4081 (get_next_seq): New function.
4082 (do_compare): New function.
4083 (STRCOLL): Use GNU style definition. Simplify implementation
4084 by using get_next_seq, get_next_seq_cached and do_compare.
4086 2013-08-16 Florian Weimer <fweimer@redhat.com>
4090 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4092 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4094 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4095 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4096 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
4098 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4099 GETDENTS_64BIT_ALIGNED.
4100 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4101 * manual/filesys.texi (Reading/Closing Directory): Document
4102 ENAMETOOLONG return value of readdir_r. Recommend readdir more
4104 * manual/conf.texi (Limits for Files): Add portability note to
4106 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4108 2013-08-13 Andreas Schwab <schwab@suse.de>
4111 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4113 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4114 LDBL_MAX_EXP >= 16384]: Add tests for it.
4116 2013-08-12 David S. Miller <davem@davemloft.net>
4118 * version.h (RELEASE): Set to "development".
4119 (VERSION): Set to "2.18.90".
4120 * NEWS: Add 2.19 section.
4122 2013-08-03 David S. Miller <davem@davemloft.net>
4124 * po/ko.po: Update Korean translation from translation project.
4126 2013-08-01 David S. Miller <davem@davemloft.net>
4128 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
4129 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4132 2013-07-30 David S. Miller <davem@davemloft.net>
4134 * po/fr.po: Update French translation from translation project.
4136 2013-07-28 David S. Miller <davem@davemloft.net>
4138 * po/cs.po: Update Czech translation from translation project.
4140 * po/sv.po: Update Swedish translation from translation project.
4142 2013-07-27 David S. Miller <davem@davemloft.net>
4144 * po/eo.po: Update Esperanto translation from translation project.
4146 * po/vi.po: Update Vietnamese translation from translation project.
4148 * po/de.po: Update German translation from translation project.
4150 2013-07-26 David S. Miller <davem@davemloft.net>
4152 * po/bg.po: Update Bulgarian translation from translation project.
4154 * po/nl.po: Update Dutch translation from translation project.
4155 * po/pl.po: Update Polish translation from translation project.
4156 * po/ru.po: Update Russian translation from translation project.
4158 2013-07-24 David S. Miller <davem@davemloft.net>
4160 * po/libc.pot: Update.
4162 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4164 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4166 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4167 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4168 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4170 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4172 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4174 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4175 Andreas Schwab <schwab@suse.de>
4176 Roland McGrath <roland@hack.frob.com>
4177 Joseph Myers <joseph@codesourcery.com>
4178 Carlos O'Donell <carlos@redhat.com>
4181 * config.h.in: Define HAVE_PT_CHOWN.
4182 * config.make.in (build-pt-chown): New variable.
4183 * configure.in (--enable-pt_chown): New configure option.
4184 * configure: Regenerate.
4185 * login/Makefile: Include Makeconfig. Build pt_chown only if
4186 build-pt-chown is enabled.
4187 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4188 pt_chown to fix pty ownership.
4189 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4191 * manual/install.texi (Configuring and compiling): Mention
4192 --enable-pt_chown. Add @findex for grantpt.
4193 * INSTALL: Regenerate.
4195 2013-07-20 David S. Miller <davem@davemloft.net>
4197 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4198 difference between 32-bit and 64-bit.
4200 2013-07-15 Carlos O'Donell <carlos@redhat.com>
4203 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4204 Avoid system header dependency with -ffreestanding.
4205 ($(objpfx)bits/syscall%d): Likewise.
4207 2013-07-13 David S. Miller <davem@davemloft.net>
4209 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4210 underflows from atanl/atan2l due to bug 15319.
4211 (casinh_test_data): Likewise.
4213 2013-07-07 David S. Miller <davem@davemloft.net>
4215 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4217 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
4219 * sysdeps/i386/fpu/libm-test-ulps: Update.
4220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4222 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4224 * configure.in (--enable-lock-elision): Fix message text.
4225 * INSTALL: Regenerate.
4226 * configure: Regenerate.
4228 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4232 2013-07-03 Andreas Jaeger <aj@suse.de>
4234 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4236 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4237 (ptrace_peeksiginfo_args): Add.
4238 (__ptrace_peeksiginfo_flags): Add.
4239 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4240 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4241 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4243 2013-07-03 Allan McRae <allan@archlinux.org>
4245 * sysdeps/i386/fpu/libm-test-ulps: Update.
4247 2013-07-02 David S. Miller <davem@davemloft.net>
4249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4251 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
4253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4255 2013-07-02 Joseph Myers <joseph@codesourcery.com>
4257 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4260 2013-07-02 Andi Kleen <ak@linux.intel.com>
4262 * config.h.in (ENABLE_LOCK_ELISION): Add.
4263 * configure.in (--enable-lock-elision): Add option.
4264 * manual/install.texi: Document --enable lock elision.
4265 * configure: Regenerate
4266 * INSTALL: Regenerate.
4268 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
4270 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4271 SSE4.2 strcasecmp for libc.a.
4272 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4274 2013-07-02 Joseph Myers <joseph@codesourcery.com>
4277 * soft-fp/op-common.h (_FP_FMA): New macro.
4278 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4279 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
4280 (_FP_MUL_MEAT_1_imm): ... here.
4281 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
4282 (_FP_MUL_MEAT_1_wide): ... here.
4283 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
4284 (_FP_MUL_MEAT_1_hard): ... here.
4285 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4286 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
4287 (_FP_MUL_MEAT_2_wide): ... here.
4288 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
4289 (_FP_MUL_MEAT_2_wide_3mul): ... here.
4290 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
4291 (_FP_MUL_MEAT_2_gmp): ... here.
4292 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4293 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
4294 (_FP_MUL_MEAT_4_wide): ... here.
4295 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
4296 (_FP_MUL_MEAT_4_gmp): ... here.
4297 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4298 (_FP_WFRACBITS_DW_S): Likewise.
4299 (_FP_WFRACXBITS_DW_S): Likewise.
4300 (_FP_HIGHBIT_DW_S): Likewise.
4301 (FP_FMA_S): Likewise.
4302 (_FP_FRAC_HIGH_DW_S): Likewise.
4303 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4304 (_FP_WFRACBITS_DW_D): Likewise.
4305 (_FP_WFRACXBITS_DW_D): Likewise.
4306 (_FP_HIGHBIT_DW_D): Likewise.
4307 (FP_FMA_D): Likewise.
4308 (_FP_FRAC_HIGH_DW_D): Likewise.
4309 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
4310 (_FP_WFRACBITS_DW_E): Likewise.
4311 (_FP_WFRACXBITS_DW_E): Likewise.
4312 (_FP_HIGHBIT_DW_E): Likewise.
4313 (FP_FMA_E): Likewise.
4314 (_FP_FRAC_HIGH_DW_E): Likewise.
4315 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
4316 (_FP_WFRACBITS_DW_Q): Likewise.
4317 (_FP_WFRACXBITS_DW_Q): Likewise.
4318 (_FP_HIGHBIT_DW_Q): Likewise.
4319 (FP_FMA_Q): Likewise.
4320 (_FP_FRAC_HIGH_DW_Q): Likewise.
4321 * soft-fp/fmasf4.c: New file.
4322 * soft-fp/fmadf4.c: Likewise.
4323 * soft-fp/fmatf4.c: Likewise.
4325 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4327 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4328 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
4330 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
4332 (index_Slow_SSE4_2): Likewise.
4333 (index_Prefer_PMINUB_for_stringop): Likewise.
4334 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
4335 bit_Slow_SSE4_2 is set.
4336 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4337 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4339 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4341 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4342 rtld_global._dl_hwcap2.
4343 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4345 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4346 POWER8 feature descriptions defined in _dl_hwcap2.
4347 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4348 string handling for POWER8 feature bits.
4349 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4350 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4351 _dl_powerpc_cap_flags.
4352 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4353 * sysdeps/powerpc/rtld-global-offsets.sym
4354 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4355 _dl_hwcap2 in the rtld_global_ro structure.
4357 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4359 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4360 hardware capabilities in support of AT_HWCAP2.
4361 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4362 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4364 (_dl_show_auxv): Add support for calling _dl_procinfo to display
4365 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
4366 explicitly the unknown a_type display mechanism is used.
4367 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4368 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4370 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4371 to macro prototype for AT_HWCAP2 support.
4372 * sysdeps/i386/dl-procinfo.h: Likewise.
4373 * sysdeps/s390/dl-procinfo.h: Likewise.
4374 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4375 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
4376 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
4377 return -1 for unknown a_type display fallback.
4378 * sysdeps/sparc/dl-procinfo.h: Likewise.
4379 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4380 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4382 2013-06-28 Joseph Myers <joseph@codesourcery.com>
4384 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4385 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4387 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
4390 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4391 mprotect making __stack_prot writable.
4393 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
4394 Joseph Myers <joseph@codesourcery.com>
4396 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4397 as being properly aligned.
4399 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
4401 * dlfcn/modstatic5.c: New file.
4402 * dlfcn/tststatic5.c: New file.
4403 * dlfcn/Makefile (tests): Add tststatic5.
4404 (tests-static): Likewise.
4405 (modules-names): Add modstatic5.
4406 (tststatic5-ENV): New variable.
4407 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4410 * elf/dl-support.c (_dl_main_map): New variable.
4411 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4412 (_dl_nns, _dl_load_adds): Set to 1.
4413 (_dl_initial_searchlist): Refer to _dl_main_map.
4414 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4415 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4416 call to _dl_get_origin.
4417 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4419 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4420 * dlfcn/modstatic3.c: New file.
4421 * dlfcn/tststatic3.c: New file.
4422 * dlfcn/tststatic4.c: New file.
4423 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4424 (tests-static): Likewise.
4425 (modules-names): Add modstatic3.
4426 (tststatic3-ENV, tststatic4-ENV): New variables.
4427 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4428 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4430 2013-06-26 Joseph Myers <joseph@codesourcery.com>
4432 * configure.in (CC): Require GCC version 4.4 or later.
4433 * configure: Regenerated.
4434 * manual/install.texi (Tools for Compilation): Update GCC version
4436 * INSTALL: Regenerated.
4438 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4441 * string/test-memcmp.c (check2): New.
4442 (main): Call check2.
4444 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4446 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
4449 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4451 (dl_open_worker) [!SHARED]: ... here.
4453 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4455 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4457 2013-06-25 Richard Henderson <rth@redhat.com>
4459 * locale/programs/locarchive.c: Include <libc-internal.h>
4461 2013-06-25 Joseph Myers <joseph@codesourcery.com>
4463 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4464 trailing whitespace removed.
4466 2013-06-24 Mike Frysinger <vapier@gentoo.org>
4469 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4470 * locale/programs/locarchive.c: Include libc-mmap.h.
4471 (prepare_address_space): Take two new outputs (the mmap base and len).
4472 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4474 (create_archive): Declare new mmap base and len values for
4475 prepare_address_space, and store the result in ah.
4476 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4477 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4478 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4479 Declare new mmap base and len values for
4480 prepare_address_space, and store the result in new_ah.
4481 (open_archive): Declare new mmap base and len values for
4482 prepare_address_space, and store the result in ah.
4483 (close_archive): If ah->mmap_base is not NULL, use that and
4484 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4485 * sysdeps/generic/libc-mmap.h: New file.
4487 2013-06-24 Mike Frysinger <vapier@gentoo.org>
4489 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4490 (ALIGN_UP): Likewise.
4491 (PTR_ALIGN_DOWN): Likewise.
4492 (PTR_ALIGN_UP): Likewise.
4494 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4496 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4497 entry mapped to PPC_PLATFORM_POWER8.
4498 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4500 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4501 (_dl_string_platform): Add case for exporting platform position for
4503 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4504 search path to sysdeps/powerpc/powerpc32/power8 directory.
4505 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4506 search path to sysdeps/powerpc/powerpc64/power8 directory.
4507 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4509 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4512 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4514 * INSTALL: Regenerate.
4516 * nscd/connections.c (nscd_init): Fix comment.
4518 2013-06-22 Joseph Myers <joseph@codesourcery.com>
4520 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4523 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4524 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4526 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4528 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4530 (DL_DST_REQ_STATIC): Remove macro.
4532 2013-06-21 Joseph Myers <joseph@codesourcery.com>
4535 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4536 with a shift of 0 bits.
4538 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4540 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4543 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4546 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4548 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4550 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4551 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4552 accepts -fno-tree-loop-distribute-patterns.
4553 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4554 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4556 * string/memset.c (memset): Likewise.
4557 * string/test-memmove.c (simple_memmove): Disable loop transformation
4559 * string/test-memset.c (simple_memset): Likewise.
4560 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4561 * benchtests/bench-memset.c (simple_memset): Likewise.
4562 * configure: Regenerated.
4564 2013-06-20 Joseph Myers <joseph@codesourcery.com>
4566 * math/test-misc.c (main): Ignore fesetround failure when failures
4567 of subsequent rounding tests would be ignored.
4570 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4571 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4572 * math/fegetenv.c (__fegetenv): Return 0.
4573 * math/fegetexcept.c (fegetexcept): Return 0.
4574 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4576 * math/feholdexcpt.c (feholdexcept): Return 0.
4577 * math/fesetenv.c (__fesetenv): Return 0.
4578 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4579 argument FE_TONEAREST.
4580 * math/feupdateenv.c (__feupdateenv): Return 0.
4581 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4583 2013-06-18 Roland McGrath <roland@hack.frob.com>
4585 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4586 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4587 ($(objpfx)rtld-%.os rules): Use them.
4589 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4591 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4594 2013-06-17 Roland McGrath <roland@hack.frob.com>
4596 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4597 length of target pattern, then descending length of dependency pattern.
4598 * configure.in (AWK): Require gawk 3.1.2 or newer.
4599 * manual/install.texi (Tools for Compilation): Say that we do.
4600 * configure: Regenerated.
4602 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4603 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4604 * scripts/sysd-rules.awk: ... this new script.
4605 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4606 than a glob-style pattern.
4608 2013-06-17 Joseph Myers <joseph@codesourcery.com>
4610 * math/test-misc.c (main): Do not treat incorrectly rounded
4611 conversions as failure unless ROUNDING_TESTS passes.
4613 2013-06-15 Joseph Myers <joseph@codesourcery.com>
4616 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4617 restore exception state around main square root computation, then
4618 check for inexactness explicitly.
4620 * math/libm-test.inc (fma_test_data): Add another test.
4622 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4624 * manual/threads.texi (Non-POSIX Extensions): New document
4625 node. Document pthread_getattr_default_np and
4626 pthread_setattr_default_np.
4628 * Versions.def (libpthread): Add GLIBC_2.18.
4629 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4638 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4646 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4649 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4651 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4652 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4654 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4655 H.J. Lu <hjl.tools@gmail.com>
4658 * sysdeps/x86_64/rtld-memset.c: Remove file.
4659 * sysdeps/x86_64/rtld-memset.S: New file.
4661 2013-06-14 Joseph Myers <joseph@codesourcery.com>
4663 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4664 (test_in_one_mode): Take arguments for whether the rounding mode
4665 is supported for each floating-point type.
4666 (do_test): Pass new arguments to test_in_one_mode using
4669 2013-06-13 Roland McGrath <roland@hack.frob.com>
4671 * posix/tst-waitid.c (do_test): Distinguish different instances of
4672 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4673 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4674 before entering the kernel for waitpid.
4676 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4678 * NEWS: Fix note on clock function precision. Text by Roland
4681 2013-06-13 Roland McGrath <roland@hack.frob.com>
4683 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4684 it into place only when and if the sanity check passes.
4686 2013-06-13 Joseph Myers <joseph@codesourcery.com>
4688 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4689 output for whether conversion result is exact. Take argument
4690 indicating whether type is IBM long double.
4691 (round_for_all): Change need_exact field to ibm_ld.
4692 * stdlib/tst-strtod-round.c (struct exactness): New type.
4693 (struct test): Change bool ld_ok field to struct exactness exact.
4694 (TEST): Update all definitions for change to field.
4695 (tests): Regenerate array contents.
4696 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4697 field value. Check for IBM long double here.
4698 (do_test): Update calls to test_in_one_mode.
4700 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4703 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4704 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4706 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4709 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4710 generated by the compiler on loop optimizations.
4711 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4712 general definitions.
4714 2013-06-12 Joseph Myers <joseph@codesourcery.com>
4716 * math/bug-nextafter.c: Include <math-tests.h>.
4717 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4719 * math/bug-nexttoward.c: Include <math-tests.h>.
4720 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4722 * math/test-misc.c: Include <math-tests.h>.
4723 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4726 2013-06-12 Andreas Jaeger <aj@suse.de>
4728 * po/ia.po: Update Interlingua translation from translation
4731 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4733 * include/fenv.h: Include stdbool.h.
4734 (struct rm_ctx): New structure.
4735 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4737 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4738 (SET_RESTORE_ROUNDF): Likewise.
4739 (SET_RESTORE_ROUNDL): Likewise.
4740 (SET_RESTORE_ROUND_NOEX): Likewise.
4741 (SET_RESTORE_ROUND_NOEXF): Likewise.
4742 (SET_RESTORE_ROUND_NOEXL): Likewise.
4743 (SET_RESTORE_ROUND_53BIT): Likewise.
4744 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4745 (libc_feresetround_noexf_ctx): Likewise.
4746 (libc_feresetround_noexl_ctx): Likewise.
4747 (libc_feholdsetround_53bit_ctx): Likewise.
4748 (libc_feresetround_53bit_ctx): Likewise.
4749 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4750 (libc_feholdexcept_setround_sse_ctx): New function.
4751 (libc_fesetenv_sse_ctx): Likewise.
4752 (libc_feupdateenv_sse_ctx): Likewise.
4753 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4754 (libc_feholdexcept_setround_387_ctx): Likewise.
4755 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4756 (libc_feholdsetround_387_prec_ctx): Likewise.
4757 (libc_feholdsetround_387_ctx): Likewise.
4758 (libc_feholdsetround_387_53bit_ctx): Likewise.
4759 (libc_feholdsetround_sse_ctx): Likewise.
4760 (libc_feresetround_sse_ctx): Likewise.
4761 (libc_feresetround_387_ctx): Likewise.
4762 (libc_feupdateenv_387_ctx): Likewise.
4763 (libc_feholdexcept_setroundf_ctx): Define macro.
4764 (libc_fesetenvf_ctx): Likewise.
4765 (libc_feupdateenvf_ctx): Likewise.
4766 (libc_feholdsetroundf_ctx): Likewise.
4767 (libc_feresetroundf_ctx): Likewise.
4768 (libc_feholdexcept_setround_ctx): Likewise.
4769 (libc_fesetenv_ctx): Likewise.
4770 (libc_feupdateenv_ctx): Likewise.
4771 (libc_feholdsetround_ctx): Likewise.
4772 (libc_feresetround_ctx): Likewise.
4773 (libc_feholdexcept_setroundl_ctx): Likewise.
4774 (libc_feupdateenvl_ctx): Likewise.
4775 (libc_feholdsetroundl_ctx): Likewise.
4776 (libc_feresetroundl_ctx): Likewise.
4777 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4778 (libc_feresetround_53bit_ctx): Likewise.
4780 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4782 * locale/iso-639.def: Convert to UTF-8.
4784 2013-06-11 Joseph Myers <joseph@codesourcery.com>
4786 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4787 (EXCEPTION_TESTS_double): Likewise.
4788 (EXCEPTION_TESTS_long_double): Likewise.
4789 (EXCEPTION_TESTS): Likewise.
4790 * math/libm-test.inc (test_exceptions): Only test exceptions if
4791 EXCEPTION_TESTS (FLOAT).
4793 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4795 * benchtests/Makefile (string-bench): Add strcpy_chk and
4797 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4798 * benchtests/bench-stpcpy_chk.c: New file.
4799 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4800 * benchtests/bench-strcpy_chk.c: New file.
4801 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4803 (do_test): Likewise.
4805 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4807 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4808 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4809 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4810 with tabs where appropriate.
4811 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4813 [PPC_PLATFORM_PPC440]: Likewise.
4814 [PPC_PLATFORM_PPC464]: Likewise.
4815 [PPC_PLATFORM_PPC476]: Likewise.
4816 (_dl_string_platform): Add support for detecting ppc405, ppc440,
4817 ppc464, and ppc476 platform strings merging from ports/
4820 2013-06-11 Andreas Schwab <schwab@suse.de>
4823 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4824 (from_ucs4_idx): Regenerate.
4825 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4826 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4827 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4828 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4829 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4830 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4831 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4832 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4833 from FROM_LOOP and TO_LOOP specific macros.
4834 (BODY): Handle combining characters.
4835 * iconvdata/BIG5HKSCS.irreversible: Update.
4836 * iconvdata/BIG5HKSCS.precomposed: New file.
4837 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4839 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4841 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4843 * include/sys/time.h: Fix indentation and add copyright header.
4845 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4846 (do_test): Likewise.
4847 * string/test-memchr.c (do_one_test): Likewise.
4848 (do_test): Likewise.
4849 * string/test-memcmp.c (do_one_test): Likewise.
4850 (do_test): Likewise.
4851 * string/test-memcpy.c (do_one_test): Likewise.
4852 (do_test): Likewise.
4853 * string/test-memmem.c (do_one_test): Likewise.
4854 (do_test): Likewise.
4855 (do_random_tests): Likewise.
4856 * string/test-memmove.c (do_one_test): Likewise.
4857 (do_test): Likewise.
4858 * string/test-memset.c (do_one_test): Likewise.
4859 (do_test): Likewise.
4860 * string/test-rawmemchr.c (do_one_test): Likewise.
4861 (do_test): Likewise.
4862 * string/test-strcasecmp.c (do_one_test): Likewise.
4863 (do_test): Likewise.
4864 * string/test-strcasestr.c (do_one_test): Likewise.
4865 (do_test): Likewise.
4866 * string/test-strcat.c (do_one_test): Likewise.
4867 (do_test): Likewise.
4868 * string/test-strchr.c (do_one_test): Likewise.
4869 (do_test): Likewise.
4870 * string/test-strcmp.c (do_one_test): Likewise.
4871 (do_test): Likewise.
4872 * string/test-strcpy.c (do_one_test): Likewise.
4873 (do_test): Likewise.
4874 * string/test-string.h: Likewise.
4875 (test_init): Likewise.
4876 * string/test-strlen.c (do_one_test): Likewise.
4877 (do_test): Likewise.
4878 * string/test-strncasecmp.c (do_one_test): Likewise.
4879 (do_test): Likewise.
4880 * string/test-strncat.c (do_one_test): Likewise.
4881 (do_test): Likewise.
4882 * string/test-strncmp.c (do_one_test): Likewise.
4883 (do_test_limit): Likewise.
4884 (do_test): Likewise.
4885 * string/test-strncpy.c (do_one_test): Likewise.
4886 (do_test): Likewise.
4887 * string/test-strnlen.c (do_one_test): Likewise.
4888 (do_test): Likewise.
4889 * string/test-strpbrk.c (do_one_test): Likewise.
4890 (do_test): Likewise.
4891 * string/test-strrchr.c (do_one_test): Likewise.
4892 (do_test): Likewise.
4893 * string/test-strspn.c (do_one_test): Likewise.
4894 (do_test): Likewise.
4895 * string/test-strstr.c (do_one_test): Likewise.
4896 (do_test): Likewise.
4898 * benchtests/Makefile (string-bench): Add string benchmarks.
4899 * benchtests/bench-bcopy-ifunc.c: New file.
4900 * benchtests/bench-bcopy.c: New file.
4901 * benchtests/bench-bzero-ifunc.c: New file.
4902 * benchtests/bench-bzero.c: New file.
4903 * benchtests/bench-memccpy-ifunc.c: New file.
4904 * benchtests/bench-memccpy.c: New file.
4905 * benchtests/bench-memchr-ifunc.c: New file.
4906 * benchtests/bench-memchr.c: New file.
4907 * benchtests/bench-memcmp-ifunc.c: New file.
4908 * benchtests/bench-memcmp.c: New file.
4909 * benchtests/bench-memmem-ifunc.c: New file.
4910 * benchtests/bench-memmem.c: New file.
4911 * benchtests/bench-memmove-ifunc.c: New file.
4912 * benchtests/bench-memmove.c: New file.
4913 * benchtests/bench-mempcpy-ifunc.c: New file.
4914 * benchtests/bench-mempcpy.c: New file.
4915 * benchtests/bench-memset-ifunc.c: New file.
4916 * benchtests/bench-memset.c: New file.
4917 * benchtests/bench-rawmemchr-ifunc.c: New file.
4918 * benchtests/bench-rawmemchr.c: New file.
4919 * benchtests/bench-stpcpy-ifunc.c: New file.
4920 * benchtests/bench-stpcpy.c: New file.
4921 * benchtests/bench-stpncpy-ifunc.c: New file.
4922 * benchtests/bench-stpncpy.c: New file.
4923 * benchtests/bench-strcasecmp-ifunc.c: New file.
4924 * benchtests/bench-strcasecmp.c: New file.
4925 * benchtests/bench-strcasestr-ifunc.c: New file.
4926 * benchtests/bench-strcasestr.c: New file.
4927 * benchtests/bench-strcat-ifunc.c: New file.
4928 * benchtests/bench-strcat.c: New file.
4929 * benchtests/bench-strchr-ifunc.c: New file.
4930 * benchtests/bench-strchr.c: New file.
4931 * benchtests/bench-strchrnul-ifunc.c: New file.
4932 * benchtests/bench-strchrnul.c: New file.
4933 * benchtests/bench-strcmp-ifunc.c: New file.
4934 * benchtests/bench-strcmp.c: New file.
4935 * benchtests/bench-strcpy-ifunc.c: New file.
4936 * benchtests/bench-strcpy.c: New file.
4937 * benchtests/bench-strcspn-ifunc.c: New file.
4938 * benchtests/bench-strcspn.c: New file.
4939 * benchtests/bench-strlen-ifunc.c: New file.
4940 * benchtests/bench-strlen.c: New file.
4941 * benchtests/bench-strncasecmp-ifunc.c: New file.
4942 * benchtests/bench-strncasecmp.c: New file.
4943 * benchtests/bench-strncat-ifunc.c: New file.
4944 * benchtests/bench-strncat.c: New file.
4945 * benchtests/bench-strncmp-ifunc.c: New file.
4946 * benchtests/bench-strncmp.c: New file.
4947 * benchtests/bench-strncpy-ifunc.c: New file.
4948 * benchtests/bench-strncpy.c: New file.
4949 * benchtests/bench-strnlen-ifunc.c: New file.
4950 * benchtests/bench-strnlen.c: New file.
4951 * benchtests/bench-strpbrk-ifunc.c: New file.
4952 * benchtests/bench-strpbrk.c: New file.
4953 * benchtests/bench-strrchr-ifunc.c: New file.
4954 * benchtests/bench-strrchr.c: New file.
4955 * benchtests/bench-strspn-ifunc.c: New file.
4956 * benchtests/bench-strspn.c: New file.
4957 * benchtests/bench-strstr-ifunc.c: New file.
4958 * benchtests/bench-strstr.c: New file.
4960 * benchtests/Makefile: Disable parallel execution of targets.
4961 (string-bench): Add memcpy.
4962 (benchset): New variable to store a list of benchmark sets.
4963 (bench-func): Renamed from bench.
4964 (bench-set): New target.
4965 (bench): Depend on bench-func and bench-set.
4966 * benchtests/README: Add section on benchmark sets.
4967 * benchtests/bench-memcpy-ifunc.c: New file.
4968 * benchtests/bench-memcpy.c: New file.
4969 * benchtests/bench-string.h: New file.
4971 2013-06-11 Andreas Schwab <schwab@suse.de>
4974 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
4975 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
4976 values in the triple.
4977 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
4978 terminator in the group key.
4980 2013-06-11 Andreas Jaeger <aj@suse.de>
4982 * po/zh_TW.po: Update Chinese (traditional) translation from
4983 translation project.
4985 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4987 * include/time.h (__clock_gettime): Add libc_hidden_proto.
4988 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
4989 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
4990 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
4991 (clock_getcpuclockid): Likewise.
4992 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
4993 Add weak_alias and libc_hidden_def.
4994 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
4995 * rt/clock_gettime.c (clock_gettime): Rename to
4996 __clock_gettime. Add weak_alias and libc_hidden_def.
4997 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
4998 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
4999 __clock_nanosleep. Add weak_alias and libc_hidden_def.
5000 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5001 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5003 * rt/clock_settime.c (clock_settime): Rename to
5004 __clock_settime. Add weak_alias and libc_hidden_def.
5005 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5007 2013-06-10 Joseph Myers <joseph@codesourcery.com>
5009 * mach/err_boot.sub: Remove trailing whitespace.
5010 * mach/err_ipc.sub: Likewise.
5011 * mach/err_mach.sub: Likewise.
5013 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5014 (ROUNDING_TESTS_double): Likewise.
5015 (ROUNDING_TESTS_long_double): Likewise.
5016 (ROUNDING_TESTS): Likewise.
5017 * math/libm-test.inc: Include <math-tests.h>.
5018 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5019 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5020 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5021 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5023 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5025 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5028 2013-06-08 Joseph Myers <joseph@codesourcery.com>
5030 * sysdeps/gnu/errlist.awk: Do not generate space at end of
5031 otherwise empty TRANS lines.
5032 * sysdeps/gnu/errlist.c: Regenerated.
5034 * catgets/gencat.c (error_print): Use (void) in function
5036 * crypt/crypt_util.c (__init_des): Likewise.
5037 * crypt/speeds.c (Stop): Likewise.
5039 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5040 * inet/ruserpass.c (token): Likewise.
5041 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5042 * intl/localealias.c (extend_alias_table): Likewise.
5043 * intl/plural-exp.c (init_germanic_plural): Likewise.
5044 * libio/fcloseall.c (__fcloseall): Likewise.
5045 * libio/genops.c (_IO_flush_all): Likewise.
5046 (_IO_flush_all_linebuffered): Likewise.
5047 (_IO_cleanup): Likewise.
5048 (_IO_iter_begin): Likewise.
5049 (_IO_iter_end): Likewise.
5050 (_IO_list_lock): Likewise.
5051 (_IO_list_unlock): Likewise.
5052 (_IO_list_resetlock): Likewise.
5053 * libio/getchar.c (getchar): Likewise.
5054 * libio/getchar_u.c (getchar_unlocked): Likewise.
5055 * libio/getwchar.c (getwchar): Likewise.
5056 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5057 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5058 * login/getpt.c (__getpt): Likewise.
5059 * login/tst-utmp.c (main): Likewise.
5060 * malloc/hooks.c (__malloc_check_init): Likewise.
5061 * malloc/malloc.c (__malloc_stats): Likewise.
5062 * malloc/mtrace.c (tr_break): Likewise.
5064 (muntrace): Likewise.
5065 * misc/fstab.c (endfsent): Likewise.
5066 * misc/getclktck.c (__getclktck): Likewise.
5067 * misc/getdtsz.c (__getdtablesize): Likewise.
5068 * misc/gethostid.c (gethostid): Likewise.
5069 * misc/getpagesize.c (__getpagesize): Likewise.
5070 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5071 (__get_nprocs): Likewise.
5072 (__get_phys_pages): Likewise.
5073 (__get_avphys_pages): Likewise.
5074 * misc/getttyent.c (getttyent): Likewise.
5075 (setttyent): Likewise.
5076 (endttyent): Likewise.
5077 * misc/getusershell.c (getusershell): Likewise.
5078 (endusershell): Likewise.
5079 (setusershell): Likewise.
5080 (initshells): Likewise.
5081 * misc/hsearch.c (__hdestroy): Likewise.
5082 * misc/sync.c (sync): Likewise.
5083 * misc/syslog.c (closelog_internal): Likewise.
5084 (closelog): Likewise.
5085 * misc/ttyslot.c (ttyslot): Likewise.
5086 * misc/vhangup.c (vhangup): Likewise.
5087 * posix/fork.c (__fork): Likewise.
5088 * posix/getegid.c (__getegid): Likewise.
5089 * posix/geteuid.c (__geteuid): Likewise.
5090 * posix/getgid.c (__getgid): Likewise.
5091 * posix/getpid.c (__getpid): Likewise.
5092 * posix/getppid.c (__getppid): Likewise.
5093 * posix/getuid.c (__getuid): Likewise.
5094 * posix/pause.c (pause): Likewise.
5095 * posix/setpgrp.c (setpgrp): Likewise.
5096 * posix/setsid.c (__setsid): Likewise.
5097 * posix/test-vfork.c (noop): Likewise.
5098 * resolv/gethnamaddr.c (_endhtent): Likewise.
5099 (_gethtent): Likewise.
5100 (ht_endhostent): Likewise.
5101 (gethostent): Likewise.
5102 (dns_service): Likewise.
5103 * stdlib/drand48.c (drand48): Likewise.
5104 * stdlib/lrand48.c (lrand48): Likewise.
5105 * stdlib/mrand48.c (mrand48): Likewise.
5106 * stdlib/rand.c (rand): Likewise.
5107 * stdlib/random.c (__random): Likewise.
5108 * stdlib/setenv.c (clearenv): Likewise.
5109 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5110 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5111 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5112 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5113 (__get_nprocs): Likewise.
5114 (__get_phys_pages): Likewise.
5115 (__get_avphys_pages): Likewise.
5116 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5117 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5118 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5119 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5120 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5121 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5122 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5123 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5124 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5125 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5126 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5127 * sysdeps/mach/hurd/sync.c (sync): Likewise.
5128 * sysdeps/posix/clock.c (clock): Likewise.
5129 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5130 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5131 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5132 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5133 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5134 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5135 (__get_nprocs_conf): Likewise.
5136 (__get_phys_pages): Likewise.
5137 (__get_avphys_pages): Likewise.
5138 * time/clock.c (clock): Likewise.
5139 * time/tzset.c (__tzname_max): Likewise.
5141 2013-06-07 Joseph Myers <joseph@codesourcery.com>
5143 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5144 (__bswap_32): Do not use "register".
5145 * crypt/crypt.c (_ufc_doit_r): Likewise.
5146 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5147 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5148 * gmon/gmon.c (__monstartup): Likewise.
5149 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5150 * hurd/hurdmalloc.c (more_memory): Likewise.
5153 (realloc): Likewise.
5154 (malloc_fork_prepare): Likewise.
5155 (malloc_fork_parent): Likewise.
5156 (malloc_fork_child): Likewise.
5157 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5158 (_svcauth_des): Likewise.
5159 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5160 * inet/inet_net.c (inet_network): Likewise.
5161 * inet/inet_netof.c (inet_netof): Likewise.
5162 * inet/rcmd.c (__validuser2_sa): Likewise.
5163 * io/fts.c (fts_open): Likewise.
5164 (fts_load): Likewise.
5165 (fts_close): Likewise.
5166 (fts_read): Likewise.
5167 (fts_children): Likewise.
5168 (fts_build): Likewise.
5169 (fts_stat): Likewise.
5170 (fts_sort): Likewise.
5171 (fts_alloc): Likewise.
5172 (fts_lfree): Likewise.
5173 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5174 (_IO_file_xsgetn): Likewise.
5175 (_IO_file_xsgetn_mmap): Likewise.
5176 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5177 (_IO_cookie_write): Likewise.
5178 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5179 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5180 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5181 * malloc/obstack.c (_obstack_begin): Likewise.
5182 (_obstack_begin_1): Likewise.
5183 (_obstack_newchunk): Likewise.
5184 (_obstack_allocated_p): Likewise.
5185 (obstack_free): Likewise.
5186 (_obstack_memory_used): Likewise.
5187 * misc/getttyent.c (getttynam): Likewise.
5188 (getttyent): Likewise.
5191 * misc/getusershell.c (initshells): Likewise.
5192 * misc/syslog.c (__vsyslog_chk): Likewise.
5193 * misc/ttyslot.c (ttyslot): Likewise.
5194 * nis/nis_hash.c (__nis_hash): Likewise.
5195 * posix/fnmatch_loop.c (FCT): Likewise.
5196 * posix/getconf.c (print_all): Likewise.
5198 * posix/getopt.c (exchange): Likewise.
5199 * posix/glob.c (globfree): Likewise.
5200 (prefix_array): Likewise.
5201 (__glob_pattern_type): Likewise.
5202 * resolv/arpa/nameser.h (NS_GET16): Likewise.
5203 (NS_GET32): Likewise.
5204 (NS_PUT16): Likewise.
5205 (NS_PUT32): Likewise.
5206 * resolv/gethnamaddr.c (getanswer): Likewise.
5207 (gethostbyname2): Likewise.
5208 (gethostbyaddr): Likewise.
5209 (_gethtent): Likewise.
5210 (_gethtbyname2): Likewise.
5211 (_gethtbyaddr): Likewise.
5212 * resolv/ns_print.c (dst_s_get_int16): Likewise.
5213 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5214 * resolv/res_init.c (__res_vinit): Likewise.
5215 (net_mask): Likewise.
5216 * resolv/res_mkquery.c (outchar): Likewise.
5218 * stdio-common/printf_fp.c (outchar): Likewise.
5220 * stdio-common/printf_fphex.c (outchar): Likewise.
5222 * stdio-common/printf_size.c (outchar): Likewise.
5224 * stdio-common/test_rdwr.c (main): Likewise.
5225 * stdio-common/tfformat.c (matches): Likewise.
5226 * stdio-common/vfprintf.c (outchar): Likewise.
5227 (printf_unknown): Likewise.
5228 (buffered_vfprintf): Likewise.
5229 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5230 * stdio-common/xbug.c (AppendToBuffer): Likewise.
5231 (ReadFile): Likewise.
5232 * stdlib/qsort.c (SWAP): Likewise.
5233 (_quicksort): Likewise.
5234 * stdlib/setenv.c (__add_to_environ): Likewise.
5235 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5236 * stdlib/strtol_l.c (__strtol_l): Likewise.
5237 * stdlib/tst-strtod.c (main): Likewise.
5238 * stdlib/tst-strtol.c (main): Likewise.
5239 * stdlib/tst-strtoll.c (main): Likewise.
5240 * string/bits/string2.h (__strcmp_cc): Likewise.
5241 (__strcmp_cg): Likewise.
5242 (__strcspn_c1): Likewise.
5243 (__strcspn_c2): Likewise.
5244 (__strcspn_c3): Likewise.
5245 (__strspn_c1): Likewise.
5246 (__strspn_c2): Likewise.
5247 (__strspn_c3): Likewise.
5248 (__strsep_1c): Likewise.
5249 (__strsep_2c): Likewise.
5250 (__strsep_3c): Likewise.
5251 * string/memccpy.c (__memccpy): Likewise.
5252 * string/stpcpy.c (__stpcpy): Likewise.
5253 * string/strcmp.c (strcmp): Likewise.
5254 * string/strrchr.c (strrchr): Likewise.
5255 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5257 * sysdeps/mach/hurd/getcwd.c
5258 (_hurd_canonicalize_directory_name_internal): Likewise.
5259 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5260 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5261 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5262 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5263 Likewise, in both definitions.
5264 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5266 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5267 64] (__bswap_64): Likewise.
5268 * time/test_time.c (main): Likewise.
5269 * time/tzfile.c (__tzfile_read): Likewise.
5270 (__tzfile_compute): Likewise.
5271 * time/tzset.c (__tzset_parse_tz): Likewise.
5272 (tzset_internal): Likewise.
5273 (compute_change): Likewise.
5274 * wcsmbs/wcscat.c (__wcscat): Likewise.
5275 * wcsmbs/wcschr.c (wcschr): Likewise.
5276 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5277 * wcsmbs/wcscspn.c (wcscspn): Likewise.
5278 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5279 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5280 * wcsmbs/wcsspn.c (wcsspn): Likewise.
5281 * wcsmbs/wcsstr.c (wcsstr): Likewise.
5282 * wcsmbs/wmemchr.c (wmemchr): Likewise.
5283 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5284 * wcsmbs/wmemset.c (wmemset): Likewise.
5286 2013-06-06 Joseph Myers <joseph@codesourcery.com>
5288 * scripts/config.guess: Update to version 2013-05-16.
5289 * scripts/config.sub: Update to version 2013-04-24.
5290 * scripts/install-sh: Update to version 2011-11-20.07.
5291 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5292 * scripts/move-if-change: Update to version 2012-01-06 07:23.
5294 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
5296 * debug/fgetws_u_chk.c: Fix leading whitespaces.
5297 * elf/sln.c: Likewise.
5298 * hurd/hurd/ioctl.h: Likewise.
5299 * hurd/hurdmalloc.c: Likewise.
5300 * hurd/xattr.c: Likewise.
5301 * include/shlib-compat.h: Likewise.
5302 * inet/ruserpass.c: Likewise.
5303 * libio/iofgets_u.c: Likewise.
5304 * libio/iofgetws_u.c: Likewise.
5305 * locale/programs/ld-identification.c: Likewise.
5306 * locale/programs/ld-time.c: Likewise.
5307 * mach/msg-destroy.c: Likewise.
5308 * nss/nss_files/files-netgrp.c: Likewise.
5309 * resolv/res_data.c: Likewise.
5310 * soft-fp/op-1.h: Likewise.
5311 * soft-fp/op-2.h: Likewise.
5312 * soft-fp/op-4.h: Likewise.
5313 * soft-fp/op-common.h: Likewise.
5314 * stdio-common/printf_fphex.c: Likewise.
5315 * stdlib/strtod_l.c: Likewise.
5316 * sunrpc/rpc/clnt.h: Likewise.
5317 * sysdeps/generic/framestate.c: Likewise.
5318 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5319 * sysdeps/i386/bsd-setjmp.S: Likewise.
5320 * sysdeps/i386/__longjmp.S: Likewise.
5321 * sysdeps/i386/setjmp.S: Likewise.
5322 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5323 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5324 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5325 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5326 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5327 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5328 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5329 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5330 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5331 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5332 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5333 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5334 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5335 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5336 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5337 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5338 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5339 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5340 * sysdeps/ieee754/support.c: Likewise.
5341 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5342 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5343 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5344 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5345 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5346 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5347 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5348 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5349 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5350 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5351 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5352 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5353 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5354 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5355 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5356 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5357 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5360 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
5362 * posix/transbug.c: Remove executable mode.
5364 2013-06-05 Joseph Myers <joseph@codesourcery.com>
5366 * crypt/speeds.c: Remove trailing whitespace.
5367 * dlfcn/default.c: Likewise.
5368 * elf/ifuncdep2.c: Likewise.
5369 * elf/ifuncmain1.c: Likewise.
5370 * elf/ifuncmain1vis.c: Likewise.
5371 * elf/testobj.h: Likewise.
5372 * elf/tst-stackguard1.c: Likewise.
5373 * gmon/sys/gmon.h: Likewise.
5374 * hurd/hurdmsg.c: Likewise.
5375 * hurd/new-fd.c: Likewise.
5376 * hurd/ports-get.c: Likewise.
5377 * iconvdata/ibm1008_420.c: Likewise.
5378 * inet/tst-getni1.c: Likewise.
5379 * inet/tst-getni2.c: Likewise.
5380 * libio/ioungetc.c: Likewise.
5381 * libio/wfiledoalloc.c: Likewise.
5382 * manual/libm-err-tab.pl: Likewise.
5383 * math/w_dremf.c: Likewise.
5384 * misc/ftruncate.c: Likewise.
5385 * posix/bug-glob2.c: Likewise.
5386 * posix/tst-pcre.c: Likewise.
5387 * posix/wait4.c: Likewise.
5388 * resolv/README: Likewise.
5389 * resolv/res_debug.h: Likewise.
5390 * resolv/tst-inet_ntop.c: Likewise.
5391 * setjmp/bug269-setjmp.c: Likewise.
5392 * soft-fp/extended.h: Likewise.
5393 * soft-fp/op-1.h: Likewise.
5394 * soft-fp/op-2.h: Likewise.
5395 * soft-fp/op-4.h: Likewise.
5396 * soft-fp/op-8.h: Likewise.
5397 * soft-fp/testit.c: Likewise.
5398 * stdio-common/bug16.c: Likewise.
5399 * stdlib/random.c: Likewise.
5400 * sunrpc/rpcsvc/rquota.x: Likewise.
5401 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5402 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5403 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5404 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5405 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5406 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5407 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5408 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5409 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5410 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5411 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5412 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5413 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5414 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5415 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5416 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5417 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5418 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5419 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5420 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5421 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5422 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5423 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5424 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5425 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5426 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5427 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5428 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5429 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5430 * sysdeps/ieee754/s_lib_version.c: Likewise.
5431 * sysdeps/mach/hurd/check_fds.c: Likewise.
5432 * sysdeps/mach/hurd/getsockname.c: Likewise.
5433 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5434 * sysdeps/mach/hurd/recvfrom.c: Likewise.
5435 * sysdeps/powerpc/bits/link.h: Likewise.
5436 * sysdeps/powerpc/dl-procinfo.c: Likewise.
5437 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5438 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5439 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5440 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5441 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5442 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5443 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5444 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5445 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5446 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5447 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5448 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5449 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5450 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5451 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5452 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5453 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5454 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5455 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5456 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5457 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5458 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5459 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5460 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5461 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5462 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5463 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5464 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5465 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5466 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5467 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5468 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5469 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5470 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5471 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5472 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5473 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5474 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5475 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5476 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5477 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5478 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5479 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5480 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5481 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5482 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5483 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5484 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5485 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5486 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5487 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5488 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5489 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5490 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5491 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5492 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5493 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5494 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5495 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5496 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5497 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5498 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5499 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5500 * sysdeps/powerpc/sysdep.h: Likewise.
5501 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5502 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5503 * sysdeps/sh/dl-trampoline.S: Likewise.
5504 * sysdeps/sh/memset.S: Likewise.
5505 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5506 * sysdeps/sh/strlen.S: Likewise.
5507 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5508 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5509 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5510 * sysdeps/sparc/sparc32/rem.S: Likewise.
5511 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5512 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5513 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5514 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5515 * sysdeps/sparc/sparc32/urem.S: Likewise.
5516 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5517 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5518 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5519 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5520 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5521 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5522 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5523 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5524 * sysdeps/unix/bsd/times.c: Likewise.
5525 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5526 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5527 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5528 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5529 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5530 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5531 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5532 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5533 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5534 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5535 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5536 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5537 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5538 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5539 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5540 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5541 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5542 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5543 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5544 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5545 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5546 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5547 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5548 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5549 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5550 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5551 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5552 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5553 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5554 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5555 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5556 * sysdeps/x86_64/strcspn.S: Likewise.
5558 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5560 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5561 generated file. Regenerate properly from gen-translit.pl.
5562 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5563 locale/C-translit.h.
5565 2013-06-05 Andreas Schwab <schwab@suse.de>
5568 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5569 week as 6 instead of -1.
5570 * time/tst-strptime.c (day_tests): Add test case.
5572 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5574 * sysdeps/generic/math_private.h
5575 (libc_feholdexcept_setround_53bit): Replace with
5576 libc_feholdsetround_53bit.
5577 (libc_feupdateenv_53bit): Replace with
5578 libc_feresetround_53bit.
5579 (SET_RESTORE_ROUND_53BIT): Adjust.
5581 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5583 * string/test-strchrnul.c: Add copyright header.
5585 * posix/tst-getaddrinfo4.c: Increase test timeout.
5587 2013-06-03 Carlos O'Donell <carlos@redhat.com>
5590 * math/libm-test.inc (MAX_EXP): Remove
5592 (ulp): Use MIN_EXP - MANT_DIG.
5593 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5595 2013-05-31 Carlos O'Donell <carlos@redhat.com>
5597 * po/be.po: Revert last change.
5598 * po/zh_CN.po: Likewise.
5599 * po/header.pot: Likewise.
5601 2013-05-31 Joseph Myers <joseph@codesourcery.com>
5603 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5604 link-libc-deps to empty as target-specific variable.
5605 * Makerules (link-libc-args): New variable.
5606 (libc-for-link): Likewise.
5607 (link-libc-deps): Likewise.
5608 (lib%.so): Depend on $(link-libc-deps). Link with
5610 (build-module): Link with $(link-libc-args).
5611 (build-module-asneeded): Likewise.
5612 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5614 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5615 target-specific variable.
5616 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5617 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5618 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5620 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5622 ($(objpfx)libpcprofile.so): Likewise.
5623 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5625 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5626 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5627 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5629 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5630 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5631 * login/Makefile ($(objpfx)libutil.so): Likewise.
5632 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5633 * math/Makefile ($(objpfx)libm.so): Likewise.
5634 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5635 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5636 variable instead of depending directly on libc.
5637 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5638 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5640 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5642 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5643 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5644 ($(objpfx)libanl.so): Likewise.
5645 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5647 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5649 * sysdeps/i386/fpu/Makefile: Remove file.
5650 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5651 ($(objpfx)libm.so): Remove dependency on ld.so.
5653 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
5656 * nis/yp_xdr.c (XDRMAXNAME): Define.
5657 (XDRMAXRECORD): Define.
5658 (xdr_domainname): Use XDRMAXNAME.
5659 (xdr_mapname): Likewise.
5660 (xdr_peername): Likewise.
5661 (xdr_keydat): Use XDRMAXRECORD.
5662 (xdr_valdat): Likewise.
5664 2013-05-30 Jeff Law <law@redhat.com>
5667 * manual/errno.texi (ESTALE): Update to account for more than
5668 just NFS file systems.
5669 * sysdeps/gnu/errlist.c: Regenerated.
5671 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5674 * elf/Makefile (tests): Add tst-null-argv.
5675 (modules-names): Add tst-null-argv-lib.
5676 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5677 (tst-null-argv-ENV): Set environment for tst-null-argv.
5678 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5679 (RTLD_PROGNAME): New macro.
5680 * elf/tst-null-argv.c: New test case.
5681 * elf/tst-null-argv-lib.c: Library for test case.
5682 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5683 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5684 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5685 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5686 * elf/dl-init.c (call_init): Likewise.
5687 (_dl_init): Likewise.
5688 * elf/dl-load.c (print_search_path): Likewise.
5689 (_dl_map_object): Likewise.
5690 * elf/dl-lookup.c (do_lookup_x): Likewise.
5691 (add_dependency): Likewise.
5692 (_dl_lookup_symbol_x): Likewise.
5693 (_dl_debug_bindings): Likewise.
5694 * elf/dl-open.c (_dl_show_scope): Likewise.
5695 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5696 * elf/dl-version.c (match_symbol): Likewise.
5697 (_dl_check_map_versions): Likewise.
5698 * elf/rtld.c (dl_main): Likewise.
5699 (print_unresolved): Use RTLD_PROGNAME.
5700 (print_missing_version): Likewise.
5701 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5702 (elf_machine_rela): Likewise.
5703 * sysdeps/powerpc/powerpc32/dl-machine.c
5704 (__process_machine_rela): Likewise.
5705 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5707 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5709 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5711 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5712 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5714 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5716 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5718 2013-05-28 Carlos O'Donell <carlos@redhat.com>
5720 * po/be.po: Add descriptive title.
5721 * po/zh_CN.po: Likewise.
5722 * po/header.pot: Likewise.
5724 2013-05-28 Mike Frysinger <vapier@gentoo.org>
5726 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5728 (enlarge_archive): Likewise.
5730 2013-05-28 Ben North <ben@redfrontdoor.org>
5732 * manual/arith.texi (frexp): It is the magnitude of the return
5733 value which lies in [0.5, 1), not the return value itself.
5735 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5739 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5741 * stdio-common/bug26.c (main): Correct fscanf template.
5743 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5744 declare _dl_skip_args.
5746 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5749 * manual/platform.texi: Add missing @end deftypefun.
5751 2013-05-24 Joseph Myers <joseph@codesourcery.com>
5754 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5755 bit of mantissa of 2^16382.
5756 * math/libm-test.inc (hypot_test_data): Add more tests.
5758 * math/libm-test.inc: Add drem and pow10 to list of tested
5760 (pow10_test): New function.
5761 (drem_test): Likewise.
5762 (drem_test_tonearest): Likewise.
5763 (drem_test_towardzero): Likewise.
5764 (drem_test_downward): Likewise.
5765 (drem_test_upward): Likewise.
5766 (main): Call the new functions.
5768 * math/libm-test.inc (finite_test_data): Remove.
5769 (finite_test): Run tests from isfinite_test_data.
5770 (gamma_test_data): Remove.
5771 (gamma_test): Run tests from lgamma_test_data.
5772 * sysdeps/i386/fpu/libm-test-ulps: Update.
5773 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5775 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5777 * manual/platform.texi: Add PowerPC PPR function set documentation.
5778 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5781 2013-05-24 Carlos O'Donell <carlos@redhat.com>
5783 * math/libm-test.inc (MAX_EXP): Define.
5785 (ulp): New function.
5786 (check_float_internal): Use ULPDIFF.
5787 (cpow_test): Disable failing test.
5788 (check_ulp): Test ulp() implemetnation.
5789 (main): Call check_ulp before starting tests.
5791 2013-05-24 Joseph Myers <joseph@codesourcery.com>
5793 * math/gen-libm-test.pl (generate_testfile): Do not handle
5794 START_DATA and END_DATA.
5795 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5797 (acos_tonearest_test_data): Likewise.
5798 (acos_towardzero_test_data): Likewise.
5799 (acos_downward_test_data): Likewise.
5800 (acos_upward_test_data): Likewise.
5801 (acosh_test_data): Likewise.
5802 (asin_test_data): Likewise.
5803 (asin_tonearest_test_data): Likewise.
5804 (asin_towardzero_test_data): Likewise.
5805 (asin_downward_test_data): Likewise.
5806 (asin_upward_test_data): Likewise.
5807 (asinh_test_data): Likewise.
5808 (atan_test_data): Likewise.
5809 (atanh_test_data): Likewise.
5810 (atan2_test_data): Likewise.
5811 (cabs_test_data): Likewise.
5812 (cacos_test_data): Likewise.
5813 (cacosh_test_data): Likewise.
5814 (carg_test_data): Likewise.
5815 (casin_test_data): Likewise.
5816 (casinh_test_data): Likewise.
5817 (catan_test_data): Likewise.
5818 (catanh_test_data): Likewise.
5819 (cbrt_test_data): Likewise.
5820 (ccos_test_data): Likewise.
5821 (ccosh_test_data): Likewise.
5822 (ceil_test_data): Likewise.
5823 (cexp_test_data): Likewise.
5824 (cimag_test_data): Likewise.
5825 (clog_test_data): Likewise.
5826 (clog10_test_data): Likewise.
5827 (conj_test_data): Likewise.
5828 (copysign_test_data): Likewise.
5829 (cos_test_data): Likewise.
5830 (cos_tonearest_test_data): Likewise.
5831 (cos_towardzero_test_data): Likewise.
5832 (cos_downward_test_data): Likewise.
5833 (cos_upward_test_data): Likewise.
5834 (cosh_test_data): Likewise.
5835 (cosh_tonearest_test_data): Likewise.
5836 (cosh_towardzero_test_data): Likewise.
5837 (cosh_downward_test_data): Likewise.
5838 (cosh_upward_test_data): Likewise.
5839 (cpow_test_data): Likewise.
5840 (cproj_test_data): Likewise.
5841 (creal_test_data): Likewise.
5842 (csin_test_data): Likewise.
5843 (csinh_test_data): Likewise.
5844 (csqrt_test_data): Likewise.
5845 (ctan_test_data): Likewise.
5846 (ctan_tonearest_test_data): Likewise.
5847 (ctan_towardzero_test_data): Likewise.
5848 (ctan_downward_test_data): Likewise.
5849 (ctan_upward_test_data): Likewise.
5850 (ctanh_test_data): Likewise.
5851 (ctanh_tonearest_test_data): Likewise.
5852 (ctanh_towardzero_test_data): Likewise.
5853 (ctanh_downward_test_data): Likewise.
5854 (ctanh_upward_test_data): Likewise.
5855 (erf_test_data): Likewise.
5856 (erfc_test_data): Likewise.
5857 (exp_test_data): Likewise.
5858 (exp_tonearest_test_data): Likewise.
5859 (exp_towardzero_test_data): Likewise.
5860 (exp_downward_test_data): Likewise.
5861 (exp_upward_test_data): Likewise.
5862 (exp10_test_data): Likewise.
5863 (exp2_test_data): Likewise.
5864 (expm1_test_data): Likewise.
5865 (fabs_test_data): Likewise.
5866 (fdim_test_data): Likewise.
5867 (finite_test_data): Likewise.
5868 (floor_test_data): Likewise.
5869 (fma_test_data): Likewise.
5870 (fma_towardzero_test_data): Likewise.
5871 (fma_downward_test_data): Likewise.
5872 (fma_upward_test_data): Likewise.
5873 (fmax_test_data): Likewise.
5874 (fmin_test_data): Likewise.
5875 (fmod_test_data): Likewise.
5876 (fpclassify_test_data): Likewise.
5877 (frexp_test_data): Likewise.
5878 (gamma_test_data): Likewise.
5879 (hypot_test_data): Likewise.
5880 (ilogb_test_data): Likewise.
5881 (isfinite_test_data): Likewise.
5882 (isgreater_test_data): Likewise.
5883 (isgreaterequal_test_data): Likewise.
5884 (isinf_test_data): Likewise.
5885 (isless_test_data): Likewise.
5886 (islessequal_test_data): Likewise.
5887 (islessgreater_test_data): Likewise.
5888 (isnan_test_data): Likewise.
5889 (isnormal_test_data): Likewise.
5890 (issignaling_test_data): Likewise.
5891 (isunordered_test_data): Likewise.
5892 (j0_test_data): Likewise.
5893 (j1_test_data): Likewise.
5894 (jn_test_data): Likewise.
5895 (ldexp_test_data): Likewise.
5896 (lgamma_test_data): Likewise.
5897 (lrint_test_data): Likewise.
5898 (lrint_tonearest_test_data): Likewise.
5899 (lrint_towardzero_test_data): Likewise.
5900 (lrint_downward_test_data): Likewise.
5901 (lrint_upward_test_data): Likewise.
5902 (llrint_test_data): Likewise.
5903 (llrint_tonearest_test_data): Likewise.
5904 (llrint_towardzero_test_data): Likewise.
5905 (llrint_downward_test_data): Likewise.
5906 (llrint_upward_test_data): Likewise.
5907 (log_test_data): Likewise.
5908 (log10_test_data): Likewise.
5909 (log1p_test_data): Likewise.
5910 (log2_test_data): Likewise.
5911 (logb_test_data): Likewise.
5912 (logb_downward_test_data): Likewise.
5913 (lround_test_data): Likewise.
5914 (llround_test_data): Likewise.
5915 (modf_test_data): Likewise.
5916 (nearbyint_test_data): Likewise.
5917 (nextafter_test_data): Likewise.
5918 (nexttoward_test_data): Likewise.
5919 (pow_test_data): Likewise.
5920 (pow_tonearest_test_data): Likewise.
5921 (pow_towardzero_test_data): Likewise.
5922 (pow_downward_test_data): Likewise.
5923 (pow_upward_test_data): Likewise.
5924 (remainder_test_data): Likewise.
5925 (remainder_tonearest_test_data): Likewise.
5926 (remainder_towardzero_test_data): Likewise.
5927 (remainder_downward_test_data): Likewise.
5928 (remainder_upward_test_data): Likewise.
5929 (remquo_test_data): Likewise.
5930 (rint_test_data): Likewise.
5931 (rint_tonearest_test_data): Likewise.
5932 (rint_towardzero_test_data): Likewise.
5933 (rint_downward_test_data): Likewise.
5934 (rint_upward_test_data): Likewise.
5935 (round_test_data): Likewise.
5936 (scalb_test_data): Likewise.
5937 (scalbn_test_data): Likewise.
5938 (scalbln_test_data): Likewise.
5939 (signbit_test_data): Likewise.
5940 (sin_test_data): Likewise.
5941 (sin_tonearest_test_data): Likewise.
5942 (sin_towardzero_test_data): Likewise.
5943 (sin_downward_test_data): Likewise.
5944 (sin_upward_test_data): Likewise.
5945 (sincos_test_data): Likewise.
5946 (sinh_test_data): Likewise.
5947 (sinh_tonearest_test_data): Likewise.
5948 (sinh_towardzero_test_data): Likewise.
5949 (sinh_downward_test_data): Likewise.
5950 (sinh_upward_test_data): Likewise.
5951 (sqrt_test_data): Likewise.
5952 (tan_test_data): Likewise.
5953 (tan_tonearest_test_data): Likewise.
5954 (tan_towardzero_test_data): Likewise.
5955 (tan_downward_test_data): Likewise.
5956 (tan_upward_test_data): Likewise.
5957 (tanh_test_data): Likewise.
5958 (tgamma_test_data): Likewise.
5959 (trunc_test_data): Likewise.
5960 (y0_test_data): Likewise.
5961 (y1_test_data): Likewise.
5962 (yn_test_data): Likewise.
5963 (significand_test_data): Likewise.
5965 * math/gen-libm-test.pl (@functions): Remove variable.
5966 (generate_testfile): Don't handle START and END lines.
5967 * math/libm-test.inc (START): New macro.
5969 (END_COMPLEX): Likewise.
5970 (acos_test): Use END macro without arguments.
5971 (acos_test_tonearest): Likewise.
5972 (acos_test_towardzero): Likewise.
5973 (acos_test_downward): Likewise.
5974 (acos_test_upward): Likewise.
5975 (acosh_test): Likewise.
5976 (asin_test): Likewise.
5977 (asin_test_tonearest): Likewise.
5978 (asin_test_towardzero): Likewise.
5979 (asin_test_downward): Likewise.
5980 (asin_test_upward): Likewise.
5981 (asinh_test): Likewise.
5982 (atan_test): Likewise.
5983 (atanh_test): Likewise.
5984 (atan2_test): Likewise.
5985 (cabs_test): Likewise.
5986 (cacos_test): Use END_COMPLEX macro without arguments.
5987 (cacosh_test): Likewise.
5988 (carg_test): Use END macro without arguments.
5989 (casin_test): Use END_COMPLEX macro without arguments.
5990 (casinh_test): Likewise.
5991 (catan_test): Likewise.
5992 (catanh_test): Likewise.
5993 (cbrt_test): Use END macro without arguments.
5994 (ccos_test): Use END_COMPLEX macro without arguments.
5995 (ccosh_test): Likewise.
5996 (ceil_test): Use END macro without arguments.
5997 (cexp_test): Use END_COMPLEX macro without arguments.
5998 (cimag_test): Use END macro without arguments.
5999 (clog_test): Use END_COMPLEX macro without arguments.
6000 (clog10_test): Likewise.
6001 (conj_test): Likewise.
6002 (copysign_test): Use END macro without arguments.
6003 (cos_test): Likewise.
6004 (cos_test_tonearest): Likewise.
6005 (cos_test_towardzero): Likewise.
6006 (cos_test_downward): Likewise.
6007 (cos_test_upward): Likewise.
6008 (cosh_test): Likewise.
6009 (cosh_test_tonearest): Likewise.
6010 (cosh_test_towardzero): Likewise.
6011 (cosh_test_downward): Likewise.
6012 (cosh_test_upward): Likewise.
6013 (cpow_test): Use END_COMPLEX macro without arguments.
6014 (cproj_test): Likewise.
6015 (creal_test): Use END macro without arguments.
6016 (csin_test): Use END_COMPLEX macro without arguments.
6017 (csinh_test): Likewise.
6018 (csqrt_test): Likewise.
6019 (ctan_test): Likewise.
6020 (ctan_test_tonearest): Likewise.
6021 (ctan_test_towardzero): Likewise.
6022 (ctan_test_downward): Likewise.
6023 (ctan_test_upward): Likewise.
6024 (ctanh_test): Likewise.
6025 (ctanh_test_tonearest): Likewise.
6026 (ctanh_test_towardzero): Likewise.
6027 (ctanh_test_downward): Likewise.
6028 (ctanh_test_upward): Likewise.
6029 (erf_test): Use END macro without arguments.
6030 (erfc_test): Likewise.
6031 (exp_test): Likewise.
6032 (exp_test_tonearest): Likewise.
6033 (exp_test_towardzero): Likewise.
6034 (exp_test_downward): Likewise.
6035 (exp_test_upward): Likewise.
6036 (exp10_test): Likewise.
6037 (exp2_test): Likewise.
6038 (expm1_test): Likewise.
6039 (fabs_test): Likewise.
6040 (fdim_test): Likewise.
6041 (finite_test): Likewise.
6042 (floor_test): Likewise.
6043 (fma_test): Likewise.
6044 (fma_test_towardzero): Likewise.
6045 (fma_test_downward): Likewise.
6046 (fma_test_upward): Likewise.
6047 (fmax_test): Likewise.
6048 (fmin_test): Likewise.
6049 (fmod_test): Likewise.
6050 (fpclassify_test): Likewise.
6051 (frexp_test): Likewise.
6052 (gamma_test): Likewise.
6053 (hypot_test): Likewise.
6054 (ilogb_test): Likewise.
6055 (isfinite_test): Likewise.
6056 (isgreater_test): Likewise.
6057 (isgreaterequal_test): Likewise.
6058 (isinf_test): Likewise.
6059 (isless_test): Likewise.
6060 (islessequal_test): Likewise.
6061 (islessgreater_test): Likewise.
6062 (isnan_test): Likewise.
6063 (isnormal_test): Likewise.
6064 (issignaling_test): Likewise.
6065 (isunordered_test): Likewise.
6066 (j0_test): Likewise.
6067 (j1_test): Likewise.
6068 (jn_test): Likewise.
6069 (ldexp_test): Likewise.
6070 (lgamma_test): Likewise.
6071 (lrint_test): Likewise.
6072 (lrint_test_tonearest): Likewise.
6073 (lrint_test_towardzero): Likewise.
6074 (lrint_test_downward): Likewise.
6075 (lrint_test_upward): Likewise.
6076 (llrint_test): Likewise.
6077 (llrint_test_tonearest): Likewise.
6078 (llrint_test_towardzero): Likewise.
6079 (llrint_test_downward): Likewise.
6080 (llrint_test_upward): Likewise.
6081 (log_test): Likewise.
6082 (log10_test): Likewise.
6083 (log1p_test): Likewise.
6084 (log2_test): Likewise.
6085 (logb_test): Likewise.
6086 (logb_test_downward): Likewise.
6087 (lround_test): Likewise.
6088 (llround_test): Likewise.
6089 (modf_test): Likewise.
6090 (nearbyint_test): Likewise.
6091 (nextafter_test): Likewise.
6092 (nexttoward_test): Likewise.
6093 (pow_test): Likewise.
6094 (pow_test_tonearest): Likewise.
6095 (pow_test_towardzero): Likewise.
6096 (pow_test_downward): Likewise.
6097 (pow_test_upward): Likewise.
6098 (remainder_test): Likewise.
6099 (remainder_test_tonearest): Likewise.
6100 (remainder_test_towardzero): Likewise.
6101 (remainder_test_downward): Likewise.
6102 (remainder_test_upward): Likewise.
6103 (remquo_test): Likewise.
6104 (rint_test): Likewise.
6105 (rint_test_tonearest): Likewise.
6106 (rint_test_towardzero): Likewise.
6107 (rint_test_downward): Likewise.
6108 (rint_test_upward): Likewise.
6109 (round_test): Likewise.
6110 (scalb_test): Likewise.
6111 (scalbn_test): Likewise.
6112 (scalbln_test): Likewise.
6113 (signbit_test): Likewise.
6114 (sin_test): Likewise.
6115 (sin_test_tonearest): Likewise.
6116 (sin_test_towardzero): Likewise.
6117 (sin_test_downward): Likewise.
6118 (sin_test_upward): Likewise.
6119 (sincos_test): Likewise.
6120 (sinh_test): Likewise.
6121 (sinh_test_tonearest): Likewise.
6122 (sinh_test_towardzero): Likewise.
6123 (sinh_test_downward): Likewise.
6124 (sinh_test_upward): Likewise.
6125 (sqrt_test): Likewise.
6126 (tan_test): Likewise.
6127 (tan_test_tonearest): Likewise.
6128 (tan_test_towardzero): Likewise.
6129 (tan_test_downward): Likewise.
6130 (tan_test_upward): Likewise.
6131 (tanh_test): Likewise.
6132 (tgamma_test): Likewise.
6133 (trunc_test): Likewise.
6134 (y0_test): Likewise.
6135 (y1_test): Likewise.
6136 (yn_test): Likewise.
6137 (significand_test): Likewise.
6139 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
6142 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6144 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6147 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6148 __ppc_mdoio and __ppc_mdoom.
6149 * manual/platform.texi: Document new functions __ppc_yield,
6150 __ppc_mdoio and __ppc_mdoom.
6152 2013-05-22 Carlos O'Donell <carlos@redhat.com>
6154 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6155 (main): Mention "tls" pseudo-hwcap is legacy.
6156 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6158 2013-05-22 Joseph Myers <joseph@codesourcery.com>
6160 * math/gen-libm-test.pl (parse_args): Output only string of
6161 arguments as text for test name, not full call or descriptions of
6162 tests for extra outputs.
6163 (generate_testfile): Do not pass function name to parse_args.
6164 Generate this_func variable from START.
6165 * math/libm-test.inc (struct test_f_f_data): Rename test_name
6167 (struct test_ff_f_data): Likewise.
6168 (test_ff_f_data_nexttoward): Likewise.
6169 (struct test_fi_f_data): Likewise.
6170 (struct test_fl_f_data): Likewise.
6171 (struct test_if_f_data): Likewise.
6172 (struct test_fff_f_data): Likewise.
6173 (struct test_c_f_data): Likewise.
6174 (struct test_f_f1_data): Likewise. Remove field extra_name.
6175 (struct test_fF_f1_data): Likewise.
6176 (struct test_ffI_f1_data): Likewise.
6177 (struct test_c_c_data): Rename test_name field to arg_str.
6178 (struct test_cc_c_data): Likewise.
6179 (struct test_f_i_data): Likewise.
6180 (struct test_ff_i_data): Likewise.
6181 (struct test_f_l_data): Likewise.
6182 (struct test_f_L_data): Likewise.
6183 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
6185 (COMMON_TEST_SETUP): New macro.
6186 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6187 (COMMON_TEST_CLEANUP): Likewise.
6188 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6189 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
6191 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6192 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
6194 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6195 (RUN_TEST_fff_f): Take argument string. Call new setup and
6197 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6198 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
6200 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6201 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
6203 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6204 (RUN_TEST_fF_f1): Take argument string. Call new setup and
6206 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6207 (RUN_TEST_fI_f1): Take argument string. Call new setup and
6209 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6210 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
6212 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6213 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
6215 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6216 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
6218 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6219 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
6221 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6222 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
6224 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6225 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
6227 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6228 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
6230 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6231 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
6233 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6234 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
6236 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6237 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
6239 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6240 (RUN_TEST_fFF_11): Take argument string. Call new setup and
6242 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6244 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6246 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6247 to _sifields.sigfault.
6248 (si_addr_lsb): Define new macro.
6249 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6250 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6251 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6253 2013-05-03 Carlos O'Donell <carlos at redhat.com>
6256 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6258 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6260 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6263 2013-05-22 Joseph Myers <joseph@codesourcery.com>
6265 * math/gen-libm-test.pl (parse_args): Do not include expected
6266 result in test name.
6267 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6268 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6269 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6270 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6271 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6272 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6274 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6276 * benchtests/Makefile: Sort function entries.
6278 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6279 tanh, asinh, acosh, atanh.
6280 * benchtests/acos-inputs: New file.
6281 * benchtests/acosh-inputs: New file.
6282 * benchtests/asin-inputs: New file.
6283 * benchtests/asinh-inputs: New file.
6284 * benchtests/atanh-inputs: New file.
6285 * benchtests/cosh-inputs: New file.
6286 * benchtests/log-inputs: New file.
6287 * benchtests/sinh-inputs: New file.
6288 * benchtests/tanh-inputs: New file.
6290 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
6293 * posix/tst-getaddrinfo4.c: New test.
6294 * posix/Makefile (tests): Add it.
6296 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6299 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6300 when no services were used.
6301 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6302 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6304 2013-05-21 Andreas Schwab <schwab@suse.de>
6307 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6308 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6310 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
6311 redundant variable declarations and reallocation of buffer when
6312 parsing as IPv6 address. Always set NSS status when called from
6313 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
6314 buffer too small. Correct computation of needed size.
6315 * nss/Makefile (tests): Add test-digits-dots.
6316 * nss/test-digits-dots.c: New test.
6318 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6320 * benchtests/Makefile: Remove instructions for adding
6322 * benchtests/README: New file to explain how to execute and
6323 enhance the benchmark tests.
6325 2013-05-21 Andreas Schwab <schwab@suse.de>
6328 * setjmp/Makefile (tests): Add tst-sigsetjmp.
6329 * setjmp/tst-sigsetjmp.c: New test.
6331 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
6333 * sysdeps/x86_64/memset.S (memset): New implementation.
6334 (__bzero): Likewise.
6335 (__memset_tail): New function.
6337 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
6339 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6340 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6341 __memcpy_sse2_unaligned ifunc selection.
6342 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6343 Add memcpy-sse2-unaligned.S.
6344 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6345 Add: __memcpy_sse2_unaligned.
6347 2013-05-19 Joseph Myers <joseph@codesourcery.com>
6350 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6351 math_force_eval before restoring floating-point envrionment.
6352 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6353 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6355 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6357 (__nearbyintl): Use math_force_eval before restoring
6358 floating-point environment.
6359 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6361 * math/gen-libm-test.pl (special_functions): Remove.
6362 (parse_args): Don't handle TEST_extra. Handle functions with no
6364 * math/libm-test.inc (struct test_sincos_data): Replace with
6365 struct test_fFF_11_data.
6366 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6367 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6368 (sincos_test_data): Change element type to struct
6369 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
6370 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6371 RUN_TEST_LOOP_sincos.
6372 * math/README.libm-test: Don't mention special handling of
6373 individual functions.
6374 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6375 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6376 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6377 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6378 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6379 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6381 * math/gen-libm-test.pl (get_variable): Remove function.
6382 (parse_args): Don't show pointer parameters to call in test
6383 names. Use "extra output N" in test names for extra outputs
6384 rather than naming variables.
6386 2013-05-18 Joseph Myers <joseph@codesourcery.com>
6389 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6390 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6391 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6393 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6395 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6398 * math/gen-libm-test.pl (@tests): Remove variable.
6400 (new_test): Remove function.
6401 (show_exceptions): New function.
6402 (special_functions): Use show_exceptions instead of new_test.
6403 (parse_args): Likewise.
6404 (generate_testfile): Pass only function name in generated call to
6405 print_max_error or print_complex_max_error.
6406 (get_ulps): Do not handle complex tests specially.
6407 (output_test): Rename to ...
6408 (get_all_ulps_for_test): ... this. Return a string rather than
6409 printing to a file. Require ulps to be present.
6410 (output_ulps): Generate arrays rather than #defines.
6411 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6412 (struct ulp_data): New type.
6413 (BUILD_COMPLEX_ULP): Remove macro.
6414 (compare_ulp_data): New function.
6415 (find_ulps): Likewise.
6416 (find_test_ulps): Likewise.
6417 (find_function_ulps): Likewise.
6418 (find_complex_function_ulps): Likewise.
6419 (print_max_error): Determine allowed ulps using
6421 (print_complex_max_error): Determine allowed ulps using
6422 find_complex_function_ulps.
6423 (check_float_internal): Determine max ulps using find_test_ulps.
6424 (check_float): Do not take max_ulp parameter. Update call to
6425 check_float_internal.
6426 (check_complex): Likewise.
6427 (check_int): Do not take max_ulp parameter.
6428 (check_long): Likewise.
6429 (check_bool): Likewise.
6430 (check_longlong): Likewise.
6431 (struct test_f_f_data): Remove max_ulp field.
6432 (struct test_ff_f_data): Likewise.
6433 (struct test_ff_f_data_nexttoward): Likewise.
6434 (struct test_fi_f_data): Likewise.
6435 (struct test_fl_f_data): Likewise.
6436 (struct test_if_f_data): Likewise.
6437 (struct test_fff_f_data): Likewise.
6438 (struct test_c_f_data): Likewise.
6439 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6440 (struct test_fF_f1_data): Likewise.
6441 (struct test_ffI_f1_data): Likewise.
6442 (struct test_c_c_data): Remove max_ulp field.
6443 (struct test_cc_c_data): Likewise.
6444 (struct test_f_i_data): Likewise.
6445 (struct test_ff_i_data): Likewise.
6446 (struct test_f_l_data): Likewise.
6447 (struct test_f_L_data): Likewise.
6448 (struct test_sincos_data): Likewise.
6449 (RUN_TEST_f_f): Do not handle ulps.
6450 (RUN_TEST_LOOP_f_f): Likewise.
6451 (RUN_TEST_2_f): Likewise.
6452 (RUN_TEST_LOOP_2_f): Likewise.
6453 (RUN_TEST_fff_f): Likewise.
6454 (RUN_TEST_LOOP_fff_f): Likewise.
6455 (RUN_TEST_c_f): Likewise.
6456 (RUN_TEST_LOOP_c_f): Likewise.
6457 (RUN_TEST_f_f1): Likewise.
6458 (RUN_TEST_LOOP_f_f1): Likewise.
6459 (RUN_TEST_fF_f1): Likewise.
6460 (RUN_TEST_LOOP_fF_f1): Likewise.
6461 (RUN_TEST_fI_f1): Likewise.
6462 (RUN_TEST_LOOP_fI_f1): Likewise.
6463 (RUN_TEST_ffI_f1): Likewise.
6464 (RUN_TEST_LOOP_ffI_f1): Likewise.
6465 (RUN_TEST_c_c): Likewise.
6466 (RUN_TEST_LOOP_c_c): Likewise.
6467 (RUN_TEST_cc_c): Likewise.
6468 (RUN_TEST_LOOP_cc_c): Likewise.
6469 (RUN_TEST_f_i): Likewise.
6470 (RUN_TEST_LOOP_f_i): Likewise.
6471 (RUN_TEST_f_i_tg): Likewise.
6472 (RUN_TEST_LOOP_f_i_tg): Likewise.
6473 (RUN_TEST_ff_i_tg): Likewise.
6474 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6475 (RUN_TEST_f_b): Likewise.
6476 (RUN_TEST_LOOP_f_b): Likewise.
6477 (RUN_TEST_f_b_tg): Likewise.
6478 (RUN_TEST_LOOP_f_b_tg): Likewise.
6479 (RUN_TEST_f_l): Likewise.
6480 (RUN_TEST_LOOP_f_l): Likewise.
6481 (RUN_TEST_f_L): Likewise.
6482 (RUN_TEST_LOOP_f_L): Likewise.
6483 (RUN_TEST_sincos): Likewise.
6484 (RUN_TEST_LOOP_sincos): Likewise.
6486 2013-05-17 Joseph Myers <joseph@codesourcery.com>
6490 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6491 main case of finite arguments, set rounding mode to FE_TONEAREST
6492 and discard exceptions.
6493 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6495 (remainder_tonearest_test_data): New variable.
6496 (remainder_test_tonearest): New function.
6497 (remainder_towardzero_test_data): New variable.
6498 (remainder_test_towardzero): New function.
6499 (remainder_downward_test_data): New variable.
6500 (remainder_test_downward): New function.
6501 (remainder_upward_test_data): New variable.
6502 (remainder_test_upward): New function.
6503 (main): Call the new test functions.
6505 * math/libm-test.inc (struct test_f_f1_data): Remove field
6507 (struct test_fF_f1_data): Likewise.
6508 (struct test_ffI_f1_data): Likewise.
6509 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6510 based on value of EXTRA_EXPECTED.
6511 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6512 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6513 EXTRA_VAR based on value of EXTRA_EXPECTED.
6514 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6515 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6516 EXTRA_VAR based on value of EXTRA_EXPECTED.
6517 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6518 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6519 EXTRA_VAR based on value of EXTRA_EXPECTED.
6520 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6521 * math/gen-libm-test.pl (parse_args): Don't output initializers
6522 for extra output values.
6524 * math/libm-test.inc (check_int): Expect result to be exactly
6525 equal to expected value and do not handle ulps.
6526 (check_long): Likewise.
6527 (check_longlong): Likewise.
6529 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6531 (cimag_test_data): Likewise.
6532 (conj_test_data): Likewise.
6533 (copysign_test_data): Likewise.
6534 (cproj_test_data): Likewise.
6535 (creal_test_data): Likewise.
6536 (fabs_test_data): Likewise.
6537 (fdim_test_data): Likewise.
6538 (finite_test_data): Likewise.
6539 (floor_test_data): Likewise.
6540 (fmax_test_data): Likewise.
6541 (fmin_test_data): Likewise.
6542 (fmod_test_data): Likewise.
6543 (fpclassify_test_data): Likewise.
6544 (frexp_test_data): Likewise.
6545 (ilogb_test_data): Likewise.
6546 (isfinite_test_data): Likewise.
6547 (isgreater_test_data): Likewise.
6548 (isgreaterequal_test_data): Likewise.
6549 (isinf_test_data): Likewise.
6550 (isless_test_data): Likewise.
6551 (islessequal_test_data): Likewise.
6552 (islessgreater_test_data): Likewise.
6553 (isnan_test_data): Likewise.
6554 (isnormal_test_data): Likewise.
6555 (issignaling_test_data): Likewise.
6556 (isunordered_test_data): Likewise.
6557 (ldexp_test_data): Likewise.
6558 (lrint_test_data): Likewise.
6559 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6560 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6561 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6562 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6563 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6564 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6566 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6567 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6568 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6569 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6571 (lrint_downward_test_data): Test for "inexact" exceptions.
6572 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6573 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6574 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6576 (lrint_upward_test_data): Test for "inexact" exceptions.
6577 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6579 (llrint_test_data): Test for "inexact" exceptions.
6580 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6581 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6582 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6583 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6584 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6585 (llrint_downward_test_data): Test for "inexact" exceptions.
6586 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6587 (llrint_upward_test_data): Test for "inexact" exceptions.
6588 (logb_test_data): Likewise.
6589 (logb_downward_test_data): Likewise.
6590 (nextafter_test_data): Likewise.
6591 (nexttoward_test_data): Likewise.
6592 (remainder_test_data): Likewise.
6593 (remquo_test_data): Likewise.
6594 (scalbn_test_data): Likewise.
6595 (scalbln_test_data): Likewise.
6596 (signbit_test_data): Likewise.
6597 (sqrt_test_data): Likewise.
6598 (significand_test_data): Likewise.
6600 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6603 * benchtests/bench-modf.c (struct args): Mark arg0 as
6605 * scripts/bench.pl: Mark members of struct args as volatile.
6607 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6610 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6611 negative infinity on POWER6 or lower.
6612 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6614 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6617 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6618 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6619 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6620 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6621 (_FP_SETQNAN): New macro.
6622 (_FP_SETQNAN_SEMIRAW): Likewise.
6623 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6624 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6625 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6626 (FP_EXTEND): Use _FP_FRAC_SNANP.
6627 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6628 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6630 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6632 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6635 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6637 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6638 with DIVIDE_BY_ZERO_EXCEPTION.
6639 (gamma_test_data): Likewise.
6640 (lgamma_test_data): Likewise.
6641 (log_test_data): Likewise.
6642 (log10_test_data): Likewise.
6643 (log2_test_data): Likewise.
6644 (tgamma_test_data): Likewise.
6646 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6647 (acos_test_tonearest): Likewise.
6648 (acos_test_towardzero): Likewise.
6649 (acos_test_downward): Likewise.
6650 (acos_test_upward): Likewise.
6651 (acosh_test): Likewise.
6652 (asin_test): Likewise.
6653 (asin_test_tonearest): Likewise.
6654 (asin_test_towardzero): Likewise.
6655 (asin_test_downward): Likewise.
6656 (asin_test_upward): Likewise.
6657 (asinh_test): Likewise.
6658 (atan_test): Likewise.
6659 (atanh_test): Likewise.
6660 (atan2_test): Likewise.
6661 (cabs_test): Likewise.
6662 (cacos_test): Likewise.
6663 (cacosh_test): Likewise.
6664 (casin_test): Likewise.
6665 (casinh_test): Likewise.
6666 (catan_test): Likewise.
6667 (catanh_test): Likewise.
6668 (cbrt_test): Likewise.
6669 (ccos_test): Likewise.
6670 (ccosh_test): Likewise.
6671 (cexp_test): Likewise.
6672 (clog_test): Likewise.
6673 (clog10_test): Likewise.
6674 (cos_test): Likewise.
6675 (cos_test_tonearest): Likewise.
6676 (cos_test_towardzero): Likewise.
6677 (cos_test_downward): Likewise.
6678 (cos_test_upward): Likewise.
6679 (cosh_test): Likewise.
6680 (cosh_test_tonearest): Likewise.
6681 (cosh_test_towardzero): Likewise.
6682 (cosh_test_downward): Likewise.
6683 (cosh_test_upward): Likewise.
6684 (cpow_test): Likewise.
6685 (csin_test): Likewise.
6686 (csinh_test): Likewise.
6687 (csqrt_test): Likewise.
6688 (ctan_test): Likewise.
6689 (ctan_test_tonearest): Likewise.
6690 (ctan_test_towardzero): Likewise.
6691 (ctan_test_downward): Likewise.
6692 (ctan_test_upward): Likewise.
6693 (ctanh_test): Likewise.
6694 (ctanh_test_tonearest): Likewise.
6695 (ctanh_test_towardzero): Likewise.
6696 (ctanh_test_downward): Likewise.
6697 (ctanh_test_upward): Likewise.
6698 (erf_test): Likewise.
6699 (erfc_test): Likewise.
6700 (exp_test): Likewise.
6701 (exp_test_tonearest): Likewise.
6702 (exp_test_towardzero): Likewise.
6703 (exp_test_downward): Likewise.
6704 (exp_test_upward): Likewise.
6705 (exp10_test): Likewise.
6706 (exp2_test): Likewise.
6707 (expm1_test): Likewise.
6708 (fmod_test): Likewise.
6709 (gamma_test): Likewise.
6710 (hypot_test): Likewise.
6711 (j0_test): Likewise.
6712 (j1_test): Likewise.
6713 (jn_test): Likewise.
6714 (lgamma_test): Likewise.
6715 (log_test): Likewise.
6716 (log10_test): Likewise.
6717 (log1p_test): Likewise.
6718 (log2_test): Likewise.
6719 (logb_test_downward): Likewise.
6720 (pow_test): Likewise.
6721 (pow_test_tonearest): Likewise.
6722 (pow_test_towardzero): Likewise.
6723 (pow_test_downward): Likewise.
6724 (pow_test_upward): Likewise.
6725 (remainder_test): Likewise.
6726 (remquo_test): Likewise.
6727 (sin_test): Likewise.
6728 (sin_test_tonearest): Likewise.
6729 (sin_test_towardzero): Likewise.
6730 (sin_test_downward): Likewise.
6731 (sin_test_upward): Likewise.
6732 (sincos_test): Likewise.
6733 (sinh_test): Likewise.
6734 (sinh_test_tonearest): Likewise.
6735 (sinh_test_towardzero): Likewise.
6736 (sinh_test_downward): Likewise.
6737 (sinh_test_upward): Likewise.
6738 (sqrt_test): Likewise.
6739 (tan_test): Likewise.
6740 (tan_test_tonearest): Likewise.
6741 (tan_test_towardzero): Likewise.
6742 (tan_test_downward): Likewise.
6743 (tan_test_upward): Likewise.
6744 (tanh_test): Likewise.
6745 (tgamma_test): Likewise.
6746 (y0_test): Likewise.
6747 (y1_test): Likewise.
6748 (yn_test): Likewise.
6750 * math/gen-libm-test.pl (adjust_arg): Remove function.
6751 (special_function): Remove argument $in_func. Only handle
6752 generating output for tables of tests, not inside functions.
6753 (parse_args): Likewise.
6754 (generate_testfile): Remove variable $in_func. Update call to
6756 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6757 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6758 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6759 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6760 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6761 (MAX_VALUE_INIT): Rename macro to max_value.
6762 (MIN_VALUE_INIT): Rename macro to min_value.
6763 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6764 (plus_zero): Remove variable.
6765 (minus_zero): Likewise.
6766 (plus_infty): Likewise.
6767 (minus_infty): Likewise.
6768 (qnan_value): Likewise.
6769 (max_value): Likewise.
6770 (min_value): Likewise.
6771 (min_subnorm_value): Likewise.
6773 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6775 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6776 uint64_t or uint32_t usage.
6777 * crypt/sha256-block.c: Likewise.
6778 * crypt/sha256-crypt.c: Likewise.
6779 * crypt/sha256.c: Likewise.
6780 * crypt/sha512-block.c: Likewise.
6781 * crypt/sha512-crypt.c: Likewise.
6782 * crypt/sha512.c: Likewise.
6783 * debug/backtrace-tst.c: Likewise.
6784 * debug/pcprofiledump.c: Likewise.
6785 * elf/cache.c: Likewise.
6786 * elf/dl-cache.c: Likewise.
6787 * elf/dl-misc.c: Likewise.
6788 * elf/dl-profile.c: Likewise.
6789 * elf/dl-support.c: Likewise.
6790 * elf/ldconfig.c: Likewise.
6791 * elf/sprof.c: Likewise.
6792 * iconv/dummy-repertoire.c: Likewise.
6793 * iconv/iconv_charmap.c: Likewise.
6794 * iconv/skeleton.c: Likewise.
6795 * iconvdata/8bit-generic.c: Likewise.
6796 * iconvdata/cp737.h: Likewise.
6797 * iconvdata/cp775.h: Likewise.
6798 * iconvdata/ibm1008.h: Likewise.
6799 * iconvdata/ibm1025.h: Likewise.
6800 * iconvdata/ibm1046.h: Likewise.
6801 * iconvdata/ibm1097.h: Likewise.
6802 * iconvdata/ibm1112.h: Likewise.
6803 * iconvdata/ibm1122.h: Likewise.
6804 * iconvdata/ibm1123.h: Likewise.
6805 * iconvdata/ibm1124.h: Likewise.
6806 * iconvdata/ibm1129.h: Likewise.
6807 * iconvdata/ibm1130.h: Likewise.
6808 * iconvdata/ibm1132.h: Likewise.
6809 * iconvdata/ibm1133.h: Likewise.
6810 * iconvdata/ibm1137.h: Likewise.
6811 * iconvdata/ibm1140.h: Likewise.
6812 * iconvdata/ibm1141.h: Likewise.
6813 * iconvdata/ibm1142.h: Likewise.
6814 * iconvdata/ibm1143.h: Likewise.
6815 * iconvdata/ibm1144.h: Likewise.
6816 * iconvdata/ibm1145.h: Likewise.
6817 * iconvdata/ibm1146.h: Likewise.
6818 * iconvdata/ibm1147.h: Likewise.
6819 * iconvdata/ibm1148.h: Likewise.
6820 * iconvdata/ibm1149.h: Likewise.
6821 * iconvdata/ibm1153.h: Likewise.
6822 * iconvdata/ibm1154.h: Likewise.
6823 * iconvdata/ibm1155.h: Likewise.
6824 * iconvdata/ibm1156.h: Likewise.
6825 * iconvdata/ibm1157.h: Likewise.
6826 * iconvdata/ibm1158.h: Likewise.
6827 * iconvdata/ibm1160.h: Likewise.
6828 * iconvdata/ibm1161.h: Likewise.
6829 * iconvdata/ibm1162.h: Likewise.
6830 * iconvdata/ibm1163.h: Likewise.
6831 * iconvdata/ibm1164.h: Likewise.
6832 * iconvdata/ibm1166.h: Likewise.
6833 * iconvdata/ibm1167.h: Likewise.
6834 * iconvdata/ibm12712.h: Likewise.
6835 * iconvdata/ibm1390.h: Likewise.
6836 * iconvdata/ibm1399.h: Likewise.
6837 * iconvdata/ibm16804.h: Likewise.
6838 * iconvdata/ibm4517.h: Likewise.
6839 * iconvdata/ibm4899.h: Likewise.
6840 * iconvdata/ibm4909.h: Likewise.
6841 * iconvdata/ibm4971.h: Likewise.
6842 * iconvdata/ibm5347.h: Likewise.
6843 * iconvdata/ibm803.h: Likewise.
6844 * iconvdata/ibm856.h: Likewise.
6845 * iconvdata/ibm901.h: Likewise.
6846 * iconvdata/ibm902.h: Likewise.
6847 * iconvdata/ibm9030.h: Likewise.
6848 * iconvdata/ibm9066.h: Likewise.
6849 * iconvdata/ibm921.h: Likewise.
6850 * iconvdata/ibm922.h: Likewise.
6851 * iconvdata/ibm9448.h: Likewise.
6852 * iconvdata/isiri-3342.h: Likewise.
6853 * iconvdata/jis0201.h: Likewise.
6854 * include/link.h: Likewise.
6855 * include/netdb.h: Likewise.
6856 * inet/check_native.c: Likewise.
6857 * inet/check_pf.c: Likewise.
6858 * inet/getipv4sourcefilter.c: Likewise.
6859 * inet/getnameinfo.c: Likewise.
6860 * inet/getsourcefilter.c: Likewise.
6861 * inet/htonl.c: Likewise.
6862 * inet/setipv4sourcefilter.c: Likewise.
6863 * inet/setsourcefilter.c: Likewise.
6864 * inet/test-inet6_opt.c: Likewise.
6865 * inet/tst-network.c: Likewise.
6866 * locale/C-collate.c: Likewise.
6867 * locale/C-ctype.c: Likewise.
6868 * locale/C-time.c: Likewise.
6869 * locale/C-translit.h: Likewise.
6870 * locale/loadarchive.c: Likewise.
6871 * locale/programs/3level.h: Likewise.
6872 * locale/programs/charmap.c: Likewise.
6873 * locale/programs/charmap.h: Likewise.
6874 * locale/programs/ld-address.c: Likewise.
6875 * locale/programs/ld-collate.c: Likewise.
6876 * locale/programs/ld-ctype.c: Likewise.
6877 * locale/programs/ld-identification.c: Likewise.
6878 * locale/programs/ld-measurement.c: Likewise.
6879 * locale/programs/ld-messages.c: Likewise.
6880 * locale/programs/ld-monetary.c: Likewise.
6881 * locale/programs/ld-name.c: Likewise.
6882 * locale/programs/ld-numeric.c: Likewise.
6883 * locale/programs/ld-paper.c: Likewise.
6884 * locale/programs/ld-telephone.c: Likewise.
6885 * locale/programs/ld-time.c: Likewise.
6886 * locale/programs/linereader.c: Likewise.
6887 * locale/programs/locale.c: Likewise.
6888 * locale/programs/locarchive.c: Likewise.
6889 * locale/programs/locfile.h: Likewise.
6890 * locale/programs/repertoire.c: Likewise.
6891 * locale/programs/simple-hash.c: Likewise.
6892 * locale/programs/simple-hash.h: Likewise.
6893 * malloc/memusage.c: Likewise.
6894 * malloc/memusagestat.c: Likewise.
6895 * nis/nis_defaults.c: Likewise.
6896 * nis/nis_hash.c: Likewise.
6897 * nis/nis_print.c: Likewise.
6898 * nis/nis_xdr.c: Likewise.
6899 * nscd/connections.c: Likewise.
6900 * nscd/hstcache.c: Likewise.
6901 * nscd/nscd_gethst_r.c: Likewise.
6902 * nscd/nscd_getserv_r.c: Likewise.
6903 * nscd/nscd_helper.c: Likewise.
6904 * nscd/servicescache.c: Likewise.
6905 * nss/makedb.c: Likewise.
6906 * nss/nss_db/db-XXX.c: Likewise.
6907 * nss/nss_db/db-initgroups.c: Likewise.
6908 * nss/nss_db/db-netgrp.c: Likewise.
6909 * nss/nss_files/files-network.c: Likewise.
6910 * nss/nss_files/files-parse.c: Likewise.
6911 * posix/bug-regex5.c: Likewise.
6912 * posix/fnmatch_loop.c: Likewise.
6913 * posix/regcomp.c: Likewise.
6914 * posix/regexec.c: Likewise.
6915 * posix/tst-rfc3484-2.c: Likewise.
6916 * posix/tst-rfc3484-3.c: Likewise.
6917 * posix/tst-rfc3484.c: Likewise.
6918 * resolv/nss_dns/dns-canon.c: Likewise.
6919 * resolv/nss_dns/dns-network.c: Likewise.
6920 * resolv/res_init.c: Likewise.
6921 * resolv/res_mkquery.c: Likewise.
6922 * resolv/tst-aton.c: Likewise.
6923 * stdlib/cxa_atexit.c: Likewise.
6924 * stdlib/cxa_finalize.c: Likewise.
6925 * stdlib/gen-fpioconst.c: Likewise.
6926 * stdlib/strtol_l.c: Likewise.
6927 * string/tst-endian.c: Likewise.
6928 * sunrpc/auth_des.c: Likewise.
6929 * sunrpc/clnt_udp.c: Likewise.
6930 * sunrpc/rtime.c: Likewise.
6931 * sunrpc/svcauth_des.c: Likewise.
6932 * sunrpc/xdr.c: Likewise.
6933 * sunrpc/xdr_intXX_t.c: Likewise.
6934 * sunrpc/xdr_rec.c: Likewise.
6935 * sysdeps/generic/ldconfig.h: Likewise.
6936 * sysdeps/generic/ldsodefs.h: Likewise.
6937 * sysdeps/generic/memusage.h: Likewise.
6938 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6939 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
6940 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
6941 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
6942 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
6943 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
6944 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
6945 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
6946 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
6947 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6948 * sysdeps/posix/getaddrinfo.c: Likewise.
6949 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
6950 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
6951 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
6952 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
6953 * sysdeps/powerpc/test-gettimebase.c: Likewise.
6954 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
6955 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
6956 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
6957 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
6958 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
6959 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
6960 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
6961 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
6962 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
6963 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
6964 * sysdeps/x86_64/dl-tls.h: Likewise.
6965 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
6966 * time/alt_digit.c: Likewise.
6967 * time/era.c: Likewise.
6968 * wcsmbs/tst-c16c32-1.c: Likewise.
6970 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6972 * math/libm-test.inc (struct test_sincos_data): New type.
6973 (RUN_TEST_LOOP_sincos): New macro.
6974 (sincos_test_data): New variable.
6975 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
6977 2013-05-16 Richard Henderson <rth@redhat.com>
6979 * math/atest-exp2.c (LIMB64): New macro.
6980 (CONSTSZ): New macro.
6981 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6983 (print_mpn_fp): ... to function scope.
6984 (read_mpn_hex): Remove.
6986 (exp2_mpn): Use mp_log2.
6987 (main): Use mp_exp1.
6989 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6991 * math/libm-test.inc: Remove comment about not testing "inexact"
6993 (INEXACT_EXCEPTION): New macro.
6994 (NO_INEXACT_EXCEPTION): Likewise.
6995 (INVALID_EXCEPTION_OK): Update value.
6996 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6997 (OVERFLOW_EXCEPTION_OK): Likewise.
6998 (UNDERFLOW_EXCEPTION_OK): Likewise.
6999 (IGNORE_ZERO_INF_SIGN): Likewise.
7000 (ERRNO_UNCHANGED): Likewise.
7001 (ERRNO_EDOM): Likewise.
7002 (ERRNO_ERANGE): Likewise.
7003 (test_exceptions): Handle testing "inexact" exceptions.
7004 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7005 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7006 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7007 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7009 (rint_towardzero_test_data): Likewise.
7010 (rint_downward_test_data): Likewise.
7011 (rint_upward_test_data): Likewise.
7013 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7014 with OVERFLOW_EXCEPTION.
7015 (exp10_test_data): Likewise.
7016 (exp2_test_data): Likewise.
7017 (expm1_test_data): Likewise.
7018 (lgamma_test_data): Likewise.
7019 (pow_test_data): Likewise.
7020 (tgamma_test_data): Likewise.
7021 (yn_test_data): Remove duplicate test of overflow.
7023 * math/libm-test.inc (struct test_cc_c_data): New type.
7024 (RUN_TEST_LOOP_cc_c): New macro.
7025 (cpow_test_data): New variable.
7026 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7028 * math/libm-test.inc (struct test_f_L_data): New type.
7029 (RUN_TEST_LOOP_f_L): New macro.
7030 (llrint_test_data): New variable.
7031 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7032 (llrint_tonearest_test_data): New variable.
7033 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7034 (llrint_towardzero_test_data): New variable.
7035 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7036 (llrint_downward_test_data): New variable.
7037 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7038 (llrint_upward_test_data): New variable.
7039 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7040 (llround_test_data): New variable.
7041 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7043 2013-05-13 Peter Collingbourne <pcc@google.com>
7045 * math/atest-exp2.c (get_log2): Remove const attribute.
7047 2013-05-15 Joseph Myers <joseph@codesourcery.com>
7049 * math/libm-test.inc (struct test_f_l_data): New type.
7050 (RUN_TEST_LOOP_f_l): New macro.
7051 (lrint_test_data): New variable.
7052 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7053 (lrint_tonearest_test_data): New variable.
7054 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7055 (lrint_towardzero_test_data): New variable.
7056 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7057 (lrint_downward_test_data): New variable.
7058 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7059 (lrint_upward_test_data): New variable.
7060 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7061 (lround_test_data): New variable.
7062 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7064 2013-05-15 Peter Collingbourne <pcc@google.com>
7066 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7067 (EXTRACT_WORDS64) Use where appropriate.
7068 (INSERT_WORDS64) Likewise.
7070 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7071 constraints with x constraints.
7072 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7074 * malloc/obstack.c (_obstack_compat): Add initializer.
7076 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
7078 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7079 si_trapno and add si_addr_lsb to _sifields.sigfault.
7080 (si_trapno): Remove macro.
7081 (si_addr_lsb): Define new macro.
7082 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7084 2013-05-15 Joseph Myers <joseph@codesourcery.com>
7086 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7087 instead of TEST_f_l.
7088 (llrint_test_tonearest): Likewise.
7089 (llrint_test_towardzero): Likewise.
7090 (llrint_test_downward): Likewise.
7091 (llrint_test_upward): Likewise.
7092 (llround_test): Likewise.
7094 * math/libm-test.inc (struct test_f_i_data): Add comment.
7095 (RUN_TEST_LOOP_f_b): New macro.
7096 (RUN_TEST_LOOP_f_b_tg): Likewise.
7097 (finite_test_data): New variable.
7098 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7099 (isfinite_test_data): New variable.
7100 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7101 (isinf_test_data): New variable.
7102 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7103 (isnan_test_data): New variable.
7104 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7105 (isnormal_test_data): New variable.
7106 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7107 (issignaling_test_data): New variable.
7108 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7109 (signbit_test_data): New variable.
7110 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7112 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7113 with INVALID_EXCEPTION.
7114 (acosh_test_data): Likewise.
7115 (asin_test_data): Likewise.
7116 (atanh_test_data): Likewise.
7117 (fmod_test_data): Likewise.
7118 (log_test_data): Likewise.
7119 (log10_test_data): Likewise.
7120 (log2_test_data): Likewise.
7121 (pow_test_data): Likewise.
7122 (sqrt_test_data): Likewise.
7123 (y0_test_data): Likewise.
7124 (y1_test_data): Likewise.
7125 (yn_test_data): Likewise.
7127 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7130 * math/libm-test.inc (struct test_ff_i_data): New type.
7131 (RUN_TEST_LOOP_ff_i_tg): New macro.
7132 (isgreater_test_data): New variable.
7133 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7134 (isgreaterequal_test_data): New variable.
7135 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7136 (isless_test_data): New variable.
7137 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7138 (islessequal_test_data): New variable.
7139 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7140 (islessgreater_test_data): New variable.
7141 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7142 (isunordered_test_data): New variable.
7143 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7145 2013-05-14 David S. Miller <davem@davemloft.net>
7147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7149 2013-05-14 Joseph Myers <joseph@codesourcery.com>
7151 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7153 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7155 (struct test_f_i_data): Change type of max_ulp to int.
7157 * math/libm-test.inc (test_ffI_f1_data): New type.
7158 (RUN_TEST_LOOP_ffI_f1): New macro.
7159 (remquo_test_data): New variable.
7160 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7162 * setjmp/tst-setjmp-fp.c: New file.
7163 * setjmp/Makefile (tests): Add tst-setjmp-fp.
7164 (link-libm): New variable.
7165 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7167 * math/libm-test.inc (struct test_f_i_data): New type.
7168 (RUN_TEST_LOOP_f_i): New macro.
7169 (RUN_TEST_LOOP_f_i_tg): Likewise.
7170 (fpclassify_test_data): New variable.
7171 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7172 (ilogb_test_data): New variable.
7173 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7175 * math/libm-test.inc (scalbln_test): Correct function name in END
7178 * math/libm-test.inc (struct test_f_f1_data): Add comment.
7179 (RUN_TEST_LOOP_fI_f1): New macro.
7180 (frexp_test_data): New variable.
7181 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7183 * math/libm-test.inc (struct test_fF_f1_data): New type.
7184 (RUN_TEST_LOOP_fF_f1): New macro.
7185 (modf_test_data): New variable.
7186 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7188 * math/libm-test.inc (struct test_f_f1_data): New type.
7189 (RUN_TEST_LOOP_f_f1): New macro.
7190 (gamma_test_data): New variable.
7191 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7192 (lgamma_test_data): New variable.
7193 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7195 2013-05-13 Carlos O'Donell <carlos@redhat.com>
7197 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7198 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7199 (main): Comment "tls" pseudo-hwcap.
7201 2013-05-13 Joseph Myers <joseph@codesourcery.com>
7203 * math/libm-test.inc (struct test_fl_f_data): New type.
7204 (RUN_TEST_LOOP_fl_f): New variable.
7205 (scalbln_test_data): New variable.
7206 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7208 * math/libm-test.inc (struct test_fi_f_data): New type.
7209 (RUN_TEST_LOOP_fi_f): New macro.
7210 (ldexp_test_data): New variable.
7211 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7212 (scalbn_test_data): New variable.
7213 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7215 * math/libm-test.inc (struct test_c_f_data): New type.
7216 (RUN_TEST_LOOP_c_f): New macro.
7217 (cabs_test_data): New variable.
7218 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7219 (carg_test_data): New variable.
7220 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7221 (cimag_test_data): New variable.
7222 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7223 (creal_test_data): New variable.
7224 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7226 * math/libm-test.inc (struct test_if_f_data): New type.
7227 (RUN_TEST_LOOP_if_f): New macro.
7228 (jn_test_data): New variable.
7229 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7230 (yn_test_data): New variable.
7231 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7233 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7235 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7237 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7238 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7240 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7242 * benchtests/Makefile (CPPFLAGS-nonlib): Add
7243 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7244 (bench-deps): Add bench-timing.h.
7245 * benchtests-bench-skeleton.c: Include bench-timing.h.
7246 (main): Use TIMING_* macros instead of clock_gettime.
7247 * benchtests/bench-timing.h: New file.
7250 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7251 Renamed from _LIB_VERSION.
7252 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7254 2013-05-12 Joseph Myers <joseph@codesourcery.com>
7256 * math/libm-test.inc (struct test_fff_f_data): New type.
7257 (RUN_TEST_LOOP_fff_f): New macro.
7258 (fma_test_data): New variable.
7259 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7260 (fma_towardzero_test_data): New variable.
7261 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7262 (fma_downward_test_data): New variable.
7263 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7264 (fma_upward_test_data): New variable.
7265 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7267 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7268 (struct test_c_c_data): New type.
7269 (RUN_TEST_LOOP_c_c): New macro.
7270 (cacos_test_data): New variable.
7271 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7272 (cacosh_test_data): New variable.
7273 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7274 (casin_test_data): New variable.
7275 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7276 (casinh_test_data): New variable.
7277 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7278 (catan_test_data): New variable.
7279 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7280 (catanh_test_data): New variable.
7281 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7282 (ccos_test_data): New variable.
7283 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7284 (ccosh_test_data): New variable.
7285 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7286 (cexp_test_data): New variable.
7287 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7288 (clog_test_data): New variable.
7289 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7290 (clog10_test_data): New variable.
7291 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7292 (conj_test_data): New variable.
7293 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7294 (cproj_test_data): New variable.
7295 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7296 (csin_test_data): New variable.
7297 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7298 (csinh_test_data): New variable.
7299 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7300 (csqrt_test_data): New variable.
7301 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7302 (ctan_test_data): New variable.
7303 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7304 (ctan_tonearest_test_data): New variable.
7305 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7306 (ctan_towardzero_test_data): New variable.
7307 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7308 (ctan_downward_test_data): New variable.
7309 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7310 (ctan_upward_test_data): New variable.
7311 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7312 (ctanh_test_data): New variable.
7313 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
7314 (ctanh_tonearest_test_data): New variable.
7315 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7316 (ctanh_towardzero_test_data): New variable.
7317 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7318 (ctanh_downward_test_data): New variable.
7319 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7320 (ctanh_upward_test_data): New variable.
7321 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7322 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
7325 * math/libm-test.inc (struct test_ff_f_data): New type.
7326 (struct test_ff_f_data_nexttoward): Likewise.
7327 (RUN_TEST_LOOP_2_f): New macro.
7328 (RUN_TEST_LOOP_ff_f): Likewise.
7329 (atan2_test_data): New variable.
7330 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
7331 (copysign_test_data): New variable.
7332 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
7333 (fdim_test_data): New variable.
7334 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
7335 (fmax_test_data): New variable.
7336 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7337 (fmin_test_data): New variable.
7338 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7339 (fmod_test_data): New variable.
7340 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7341 (hypot_test_data): New variable.
7342 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7343 (nextafter_test_data): New variable.
7344 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7345 (nexttoward_test_data): New variable.
7346 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7347 (pow_test_data): New variable.
7348 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7349 (pow_tonearest_test_data): New variable.
7350 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7351 (pow_towardzero_test_data): New variable.
7352 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7353 (pow_downward_test_data): New variable.
7354 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7355 (pow_upward_test_data): New variable.
7356 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7357 (remainder_test_data): New variable.
7358 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7359 (scalb_test_data): New variable.
7360 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7361 * sysdeps/i386/fpu/libm-test-ulps: Update.
7363 2013-05-11 Joseph Myers <joseph@codesourcery.com>
7365 * math/libm-test.inc (fma_test): Use max_value instead of local
7367 (nextafter_test): Likewise.
7369 * math/libm-test.inc (acos_towardzero_test_data): New variable.
7370 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7371 (acos_downward_test_data): New variable.
7372 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7373 (acos_upward_test_data): New variable.
7374 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7375 (acosh_test_data): New variable.
7376 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7377 (asin_test_data): New variable.
7378 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7379 (asin_tonearest_test_data): New variable.
7380 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7381 (asin_towardzero_test_data): New variable.
7382 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7383 (asin_downward_test_data): New variable.
7384 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7385 (asin_upward_test_data): New variable.
7386 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7387 (asinh_test_data): New variable.
7388 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7389 (atan_test_data): New variable.
7390 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7391 (atanh_test_data): New variable.
7392 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7393 (cbrt_test_data): New variable.
7394 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7395 (ceil_test_data): New variable.
7396 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7397 (cos_test_data): New variable.
7398 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7399 (cos_tonearest_test_data): New variable.
7400 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7401 (cos_towardzero_test_data): New variable.
7402 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7403 (cos_downward_test_data): New variable.
7404 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7405 (cos_upward_test_data): New variable.
7406 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7407 (cosh_test_data): New variable.
7408 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7409 (cosh_tonearest_test_data): New variable.
7410 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7411 (cosh_towardzero_test_data): New variable.
7412 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7413 (cosh_downward_test_data): New variable.
7414 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7415 (cosh_upward_test_data): New variable.
7416 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7417 (erf_test_data): New variable.
7418 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7419 (erfc_test_data): New variable.
7420 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7421 (exp_test_data): New variable.
7422 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7423 (exp_tonearest_test_data): New variable.
7424 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7425 (exp_towardzero_test_data): New variable.
7426 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7427 (exp_downward_test_data): New variable.
7428 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7429 (exp_upward_test_data): New variable.
7430 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7431 (exp10_test_data): New variable.
7432 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7433 (exp2_test_data): New variable.
7434 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7435 (expm1_test_data): New variable.
7436 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7437 (fabs_test_data): New variable.
7438 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7439 (floor_test_data): New variable.
7440 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7441 (j0_test_data): New variable.
7442 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7443 (j1_test_data): New variable.
7444 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7445 (log_test_data): New variable.
7446 (log_test): Run tests with RUN_TEST_LOOP_f_f.
7447 (log10_test_data): New variable.
7448 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7449 (log1p_test_data): New variable.
7450 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7451 (log2_test_data): New variable.
7452 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7453 (logb_test_data): New variable.
7454 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7455 (logb_downward_test_data): New variable.
7456 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7457 (nearbyint_test_data): New variable.
7458 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7459 (rint_test_data): New variable.
7460 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7461 (rint_tonearest_test_data): New variable.
7462 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7463 (rint_towardzero_test_data): New variable.
7464 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7465 (rint_downward_test_data): New variable.
7466 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7467 (rint_upward_test_data): New variable.
7468 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7469 (round_test_data): New variable.
7470 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7471 (sin_test_data): New variable.
7472 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7473 (sin_tonearest_test_data): New variable.
7474 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7475 (sin_towardzero_test_data): New variable.
7476 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7477 (sin_downward_test_data): New variable.
7478 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7479 (sin_upward_test_data): New variable.
7480 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7481 (sinh_test_data): New variable.
7482 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7483 (sinh_tonearest_test_data): New variable.
7484 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7485 (sinh_towardzero_test_data): New variable.
7486 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7487 (sinh_downward_test_data): New variable.
7488 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7489 (sinh_upward_test_data): New variable.
7490 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7491 (sqrt_test_data): New variable.
7492 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7493 (tan_test_data): New variable.
7494 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7495 (tan_tonearest_test_data): New variable.
7496 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7497 (tan_towardzero_test_data): New variable.
7498 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7499 (tan_downward_test_data): New variable.
7500 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7501 (tan_upward_test_data): New variable.
7502 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7503 (tanh_test_data): New variable.
7504 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7505 (tgamma_test_data): New variable.
7506 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7507 (trunc_test_data): New variable.
7508 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7509 (y0_test_data): New variable.
7510 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7511 (y1_test_data): New variable.
7512 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7513 (significand_test_data): New variable.
7514 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7516 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7519 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7521 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7523 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7525 2013-05-10 Andreas Jaeger <aj@suse.de>
7528 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7529 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7531 2013-05-10 Joseph Myers <joseph@codesourcery.com>
7533 * math/gen-libm-test.pl (adjust_arg): New function.
7534 (special_functions): Handle generating output in both functions
7536 (parse_args): Likewise.
7537 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7538 $in_func argument to parse_args.
7539 * math/libm-test.inc (struct test_f_f_data): New type.
7540 (IF_ROUND_INIT_): New macro.
7541 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7542 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7543 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7544 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7545 (ROUND_RESTORE_): Likewise.
7546 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7547 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7548 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7549 (ROUND_RESTORE_FE_UPWARD): Likewise.
7550 (RUN_TEST_LOOP_f_f): New macro.
7551 (acos_test_data): New variable.
7552 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7553 (acos_tonearest_test_data): New variable.
7554 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7556 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7558 * benchtests/bench-skeleton.c (startup): Fix coding style.
7560 2013-05-10 Joseph Myers <joseph@codesourcery.com>
7563 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7564 negative infinity argument.
7565 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7566 negative infinity argument.
7567 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7568 negative infinity argument.
7569 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7572 2013-05-10 Florian Weimer <fweimer@redhat.com>
7574 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7575 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7576 * iconv/iconv_prog.c (main): Likewise.
7577 * locale/programs/charmap-dir.c (charmap_readdir)
7578 (fopen_uncompressed): Likewise.
7579 * locale/programs/locfile.c (siblings_uncached)
7580 (write_locale_data): Use lstat64 instead of lstat.
7581 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7584 2013-05-10 Andreas Jaeger <aj@suse.de>
7587 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7591 2013-05-09 Carlos O'Donell <carlos@redhat.com>
7593 * elf/dl-close.c (_dl_close_worker): Add comments.
7595 2013-05-09 Joseph Myers <joseph@codesourcery.com>
7598 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7600 (__ieee754_rem_pio2l): Update comments.
7603 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7605 (__ieee754_rem_pio2l): Update comments.
7607 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7608 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7610 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7613 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7614 (M_PI_34_LOG10El): Likewise.
7615 (M_PI2_LOG10El): Likewise.
7616 (M_PI4_LOG10El): Likewise.
7617 (M_PI_LOG10El): Likewise.
7619 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7623 2013-05-08 Joseph Myers <joseph@codesourcery.com>
7625 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7626 (MINUS_ZERO_INIT): Likewise.
7627 (PLUS_INFTY_INIT): Likewise.
7628 (MINUS_INFTY_INIT): Likewise.
7629 (QNAN_VALUE_INIT): Likewise.
7630 (MAX_VALUE_INIT): Likewise.
7631 (MIN_VALUE_INIT): Likewise.
7632 (MIN_SUBNORM_VALUE_INIT): Likewise.
7633 (plus_zero): Initialize with PLUS_ZERO_INIT.
7634 (minus_zero): Initialize with MINUS_ZERO_INIT.
7635 (plus_infty): Initialize with PLUS_INFTY_INIT.
7636 (minus_infty): Initialize with MINUS_INFTY_INIT.
7637 (qnan_value): Initialize with QNAN_VALUE_INIT.
7638 (max_value): Initialize with MAX_VALUE_INIT.
7639 (min_value): Initialize with MIN_VALUE_INIT.
7640 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7642 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7643 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7644 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7645 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7647 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7648 (RUN_TEST_2_f): Likewise.
7649 (RUN_TEST_ff_f): Likewise.
7650 (RUN_TEST_fi_f): Likewise.
7651 (RUN_TEST_fl_f): Likewise.
7652 (RUN_TEST_fff_f): Likewise.
7653 (RUN_TEST_c_f): Likewise.
7654 (RUN_TEST_f_f1): Likewise.
7655 (RUN_TEST_fF_f1): Likewise.
7656 (RUN_TEST_fI_f1): Likewise.
7657 (RUN_TEST_ffI_f1): Likewise.
7658 (RUN_TEST_c_c): Likewise.
7659 (RUN_TEST_cc_c): Likewise.
7660 (RUN_TEST_f_i): Likewise.
7661 (RUN_TEST_f_i_tg): Likewise.
7662 (RUN_TEST_ff_i_tg): Likewise.
7663 (RUN_TEST_f_b): Likewise.
7664 (RUN_TEST_f_b_tg): Likewise.
7665 (RUN_TEST_f_l): Likewise.
7666 (RUN_TEST_f_L): Likewise.
7667 (RUN_TEST_sincos): Likewise.
7668 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7669 whether to show exceptions. Do not include ");\n" in return
7671 (special_functions): Output call to RUN_TEST_sincos instead of
7672 check_float calls. Update calls to new_test.
7673 (parse_args): Output call to single RUN_TEST_* macro instead of
7674 check_* calls and other assignments. Update calls to new_test.
7680 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7681 input to result for tgamma overflow.
7682 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7683 (gamma_coeff): New variable.
7684 (NCOEFF): New macro.
7685 (gamma_positive): New function.
7686 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7687 underflow here. Use gamma_positive instead of exp (lgamma) for
7689 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7690 (gamma_coeff): New variable.
7691 (NCOEFF): New macro.
7692 (gammaf_positive): New function.
7693 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7694 underflow here. Use gamma_positive instead of exp (lgamma) for
7696 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7697 (gamma_coeff): New variable.
7698 (NCOEFF): New macro.
7699 (gammal_positive): New function.
7700 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7701 underflow here. Use gamma_positive instead of exp (lgamma) for
7703 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7704 (gamma_coeff): New variable.
7705 (NCOEFF): New macro.
7706 (gammal_positive): New function.
7707 (__ieee754_gammal_r): Handle positive infinity, overflow and
7708 underflow here. Handle NaN the same as positive infinity. Remove
7709 check x < 0xffffffff for negative integers. Use gamma_positive
7710 instead of exp (lgamma) for other arguments.
7711 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7712 (gamma_coeff): New variable.
7713 (NCOEFF): New macro.
7714 (gammal_positive): New function.
7715 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7716 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7717 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7718 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7719 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7720 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7721 * sysdeps/generic/math_private.h (__gamma_productf): New
7723 (__gamma_product): Likewise.
7724 (__gamma_productl): Likewise.
7725 * math/Makefile (libm-calls): Add gamma_product.
7726 * math/libm-test.inc (tgamma_test): Add more tests.
7727 * sysdeps/i386/fpu/libm-test-ulps: Update.
7728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7730 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
7732 * benchtests/bench-skeleton.c (main): Preheat CPU.
7734 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7736 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7738 2013-05-07 Roland McGrath <roland@hack.frob.com>
7740 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7741 and _dl_skip_args_internal.
7743 2013-05-07 Carlos O'Donell <carlos@redhat.com>
7745 * manual/message.texi (Message Translation): Talk about users.
7746 Message to key mapping impacts design.
7748 2013-05-06 Roland McGrath <roland@hack.frob.com>
7750 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7752 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7754 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7755 * sysdeps/wordsize-64/glob64.c: ... here.
7757 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7758 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7761 * debug/getlogin_r_chk.c: Moved to ...
7762 * login/getlogin_r_chk.c: ... here.
7763 * debug/Makefile (routines): Move getlogin_r_chk to ...
7764 * login/Makefile (routines): ... here.
7765 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7766 * login/Versions (libc: GLIBC_2.4): ... here.
7768 * io/poll.c (__poll): Renamed from poll.
7769 Add libc_hidden_def.
7770 (poll): Define as weak alias.
7772 * debug/ptsname_r_chk.c: Moved to ...
7773 * login/ptsname_r_chk.c: ... here.
7774 * debug/Makefile (routines): Move ptsname_r_chk to ...
7775 * login/Makefile (routines): ... here.
7776 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7777 * login/Versions (libc: GLIBC_2.4): ... here.
7779 * posix/getlogin.c: Moved to ...
7780 * login/getlogin.c: ... here.
7781 * posix/getlogin_r.c: Moved to ...
7782 * login/getlogin_r.c: ... here.
7783 * posix/getlogin_r.c: Moved to ...
7784 * login/getlogin_r.c: ... here.
7785 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7786 * login/Makefile (routines): ... here.
7787 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7788 * login/Versions (libc: GLIBC_2.0): ... here.
7790 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7791 (setrlimit): Define as weak alias.
7793 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7794 Call __ names for open, ftruncate, and close.
7795 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7796 (truncate): Define as weak alias.
7798 2013-05-06 Joseph Myers <joseph@codesourcery.com>
7800 * math/gen-libm-test.pl (parse_args): Initialize x before each
7801 test of frexp, modf and remquo.
7803 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7806 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7810 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7812 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7814 2013-05-06 Roland McGrath <roland@hack.frob.com>
7816 * elf/dl-writev.h: New file.
7817 * elf/dl-misc.c: Include it.
7818 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7819 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7821 2013-05-04 Joseph Myers <joseph@codesourcery.com>
7823 * math/libm-test.inc (noXFails): Remove variable.
7824 (noXPasses): Likewise.
7825 (BUILD_COMPLEX_INT): Remove macro.
7826 (print_screen): Remove xfail argument.
7827 (print_screen_max_error): Likewise.
7828 (update_stats): Likewise.
7829 (print_max_error): Likewise. Update calls to other affected
7831 (print_complex_max_error): Likewise.
7832 (test_single_exception): Update calls to print_screen.
7833 (test_single_errno): Likewise.
7834 (check_float_internal): Remove xfail argument. Update calls to
7835 other affected functions.
7836 (check_float): Likewise.
7837 (check_complex): Likewise.
7838 (check_int): Likewise.
7839 (check_long): Likewise.
7840 (check_bool): Likewise.
7841 (check_longlong): Likewise.
7842 (main): Don't print noXFails and noXPasses.
7843 * math/gen-libm-test.pl (top level): Don't mention expected
7844 failure handling in comment.
7845 (new_test): Don't handle expected failures.
7846 (parse_args): Don't mention expected failure handling in comment.
7847 (generate_testfile): Don't handle expected failures.
7848 (parse_ulps): Likewise.
7849 (print_ulps_file): Likewise.
7850 (get_failure): Remove function.
7851 (output_test): Don't handle expected failures.
7852 * make/README.libm-test: Don't mention expected failure handling.
7854 * math/libm-test.inc (plus_zero): Make const. Add initializer.
7855 (minus_zero): Likewise.
7856 (plus_infty): Likewise.
7857 (minus_infty): Likewise.
7858 (qnan_value): Likewise.
7859 (max_value): Likewise.
7860 (min_value): Likewise.
7861 (min_subnorm_value): Likewise.
7862 (initialize): Do not initialize those variables dynamically.
7864 2013-05-03 Roland McGrath <roland@hack.frob.com>
7866 * io/open.c (__open_2): Moved to ...
7867 * io/open_2.c: ... this new file.
7868 * io/open64.c (__open64_2): Moved to ...
7869 * io/open64_2.c: ... this new file.
7870 * io/openat.c (__openat_2): Moved to ...
7871 * io/openat_2.c: ... this new file.
7872 * io/openat64.c (__openat64_2): Moved to ...
7873 * io/openat64_2.c: ... this new file.
7874 * io/Makefile (routines): Add them.
7875 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7876 * sysdeps/unix/sysv/linux/open_2.c: File removed.
7877 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7878 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7879 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7880 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7881 (__openat64): Add hidden_ver.
7882 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7883 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7885 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7886 Separately conditionalize setting of GLRO(dl_sysinfo) so
7887 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7888 as well, but the actual setting is only under [NEED_DL_SYSINFO].
7890 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7892 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7893 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7895 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7896 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7897 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7898 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7899 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7901 2013-05-03 Joseph Myers <joseph@codesourcery.com>
7903 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7906 * math/libm-test.inc (hypot_test): Do not use
7907 IGNORE_ZERO_INF_SIGN.
7909 2013-05-03 Andreas Jaeger <aj@suse.de>
7911 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7913 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7914 (PF_MAX): Adjust for VSOCK change.
7916 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7920 2013-05-02 Carlos O'Donell <carlos@redhat.com>
7923 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7924 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7925 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7927 2013-05-02 David S. Miller <davem@davemloft.net>
7929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7931 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
7933 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7935 2013-05-01 Roland McGrath <roland@hack.frob.com>
7937 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7939 2013-05-01 Richard Smith <richard@metafoo.co.uk>
7942 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
7943 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7944 Use __attribute__ ((__gnu_inline__)).
7945 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
7946 Don't use __attribute__ ((__gnu_inline__)).
7948 2013-05-01 Joseph Myers <joseph@codesourcery.com>
7951 * math/s_catan.c (__catan): Handle small real or imaginary part of
7952 input specially to avoid spurious underflow.
7953 * math/s_catanf.c (__catanf): Likewise.
7954 * math/s_catanh.c (__catanh): Likewise.
7955 * math/s_catanhf.c (__catanhf): Likewise.
7956 * math/s_catanhl.c (__catanhl): Likewise.
7957 * math/s_catanl.c (__catanl): Likewise.
7958 * math/libm-test.inc (catan_test): Add more tests.
7959 (catanh_test): Likewise.
7960 * sysdeps/i386/fpu/libm-test-ulps: Update.
7961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7963 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7967 2013-04-30 Joseph Myers <joseph@codesourcery.com>
7970 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
7971 accurately for denominator in atan2.
7972 * math/s_catanf.c (__catanf): Likewise.
7973 * math/s_catanh.c (__catanh): Likewise.
7974 * math/s_catanhf.c (__catanhf): Likewise.
7975 * math/s_catanhl.c (__catanhl): Likewise.
7976 * math/s_catanl.c (__catanl): Likewise.
7977 * math/libm-test.inc (catan_test): Add more tests.
7978 (catanh_test): Likewise.
7979 * sysdeps/i386/fpu/libm-test-ulps: Update.
7980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7982 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7984 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7986 * benchtests/Makefile (bench): Remove slow benchmarks.
7987 * benchtests/atan-inputs: Add slow benchmark inputs.
7988 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
7989 (BENCH_FUNC): Accept variant offset.
7991 * benchtests/bench-skeleton.c (main): Run benchmark for each
7993 * benchtests/cos-inputs: Add slow benchmark inputs.
7994 * benchtests/exp-inputs: Likewise.
7995 * benchtests/pow-inputs: Likewise.
7996 * benchtests/sin-inputs: Likewise.
7997 * benchtests/slowatan-inputs: Remove.
7998 * benchtests/slowatan.c: Remove.
7999 * benchtests/slowcos-inputs: Remove.
8000 * benchtests/slowcos.c: Remove.
8001 * benchtests/slowexp-inputs: Remove.
8002 * benchtests/slowexp.c: Remove.
8003 * benchtests/slowpow-inputs: Remove.
8004 * benchtests/slowpow.c: Remove.
8005 * benchtests/slowsin-inputs: Remove.
8006 * benchtests/slowsin.c: Remove.
8007 * benchtests/slowtan-inputs: Remove.
8008 * benchtests/slowtan.c: Remove.
8009 * benchtests/tan-inputs: Add slow benchmark inputs.
8010 * scripts/bench.pl: Parse comments and directives.
8012 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
8014 ($(objpfx)bench-%.c): Remove *-ITER.
8015 * benchtests/bench-modf.c: Remove definition of ITER.
8016 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8017 (main): Loop for DURATION seconds instead of fixed number of
8019 * scripts/bench.pl: Don't expect iterations in parameters.
8021 2013-04-29 Roland McGrath <roland@hack.frob.com>
8023 * io/fchdir.c (__fchdir): Renamed from fchdir.
8024 (fchdir): Define as weak alias.
8026 2013-04-29 Joseph Myers <joseph@codesourcery.com>
8028 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8029 (ERRNO_EDOM): Likewise.
8030 (ERRNO_ERANGE): Likewise.
8031 (noErrnoTests): New variable.
8032 (init_max_error): Set errno to 0.
8033 (test_single_errno): New function.
8034 (test_errno): Likewise.
8035 (check_float_internal): Call test_errno. Set errno to 0.
8036 (check_complex): Refer to errno tests in comment.
8037 (check_int): Call test_errno. Set errno to 0.
8038 (check_long): Likewise.
8039 (check_bool): Likewise.
8040 (check_longlong): Likewise.
8041 (cos_test): Use ERRNO_* flags for errno tests instead of
8043 (expm1_test): Likewise.
8044 (fmod_test): Likewise.
8045 (ilogb_test): Likewise.
8046 (lgamma_test): Likewise.
8047 (pow_test): Likewise.
8048 (remainder_test): Likewise.
8049 (sin_test): Likewise.
8050 (tan_test): Likewise.
8051 (yn_test): Likewise.
8052 (initialize): Set errno to 0.
8053 (main): Print number of errno tests.
8054 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8056 2013-04-29 Andreas Jaeger <aj@suse.de>
8059 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8063 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8064 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8068 * stdlib/random.c (__initstate): Return NULL if
8072 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8073 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8076 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8080 2013-04-29 Joseph Myers <joseph@codesourcery.com>
8082 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8083 of individual tests.
8084 (casin_test): Likewise.
8085 (casinh_test): Likewise.
8087 2013-04-27 Joseph Myers <joseph@codesourcery.com>
8090 * math/s_catan.c (__catan): Handle arguments with large real or
8091 imaginary part separately without squaring.
8092 * math/s_catanf.c (__catanf): Likewise.
8093 * math/s_catanh.c (__catanh): Likewise.
8094 * math/s_catanhf.c (__catanhf): Likewise.
8095 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8097 (__catanhl): Handle arguments with large real or imaginary part
8098 separately without squaring.
8099 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8101 (__catanl): Handle arguments with large real or imaginary part
8102 separately without squaring.
8103 * math/libm-test.inc (catan_test): Add more tests.
8104 (catanh_test): Likewise.
8105 * sysdeps/i386/fpu/libm-test-ulps: Update.
8106 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8108 2013-04-27 Andreas Jaeger <aj@suse.de>
8111 * stdlib/stdlib.h: Update guards for qecvt.
8112 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8115 2013-04-27 Allan McRae <allan@archlinux.org>
8117 * sysdeps/i386/fpu/libm-test-ulps: Update.
8119 2013-04-26 Joseph Myers <joseph@codesourcery.com>
8122 * math/s_catan.c: Include <float.h>.
8123 (__catan): Ensure underflow exception occurs for underflowed
8125 * math/s_catanf.c: Include <float.h>.
8126 (__catanf): Ensure underflow exception occurs for underflowed
8128 * math/s_catanh.c: Include <float.h>.
8129 (__catanh): Ensure underflow exception occurs for underflowed
8131 * math/s_catanhf.c: Include <float.h>.
8132 (__catanhf): Ensure underflow exception occurs for underflowed
8134 * math/s_catanhl.c: Include <float.h>.
8135 (__catanhl): Ensure underflow exception occurs for underflowed
8137 * math/s_catanl.c: Include <float.h>.
8138 (__catanl): Ensure underflow exception occurs for underflowed
8140 * math/libm-test.inc (catan_test): Add more tests.
8141 (catanh_test): Likewise.
8144 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8146 * math/s_ccoshf.c (__ccoshf): Likewise.
8147 * math/s_ccoshl.c (__ccoshl): Likewise.
8148 * math/s_csin.c (__csin): Likewise.
8149 * math/s_csinf.c (__csinf): Likewise.
8150 * math/s_csinh.c (__csinh): Likewise.
8151 * math/s_csinhf.c (__csinhf): Likewise.
8152 * math/s_csinhl.c (__csinhl): Likewise.
8153 * math/s_csinl.c (__csinl): Likewise.
8154 * math/libm-test.inc (ccos_test): Add more tests.
8155 (ccosh_test): Likewise.
8156 (csin_test): Likewise.
8157 (csinh_test): Likewise.
8159 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8161 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8162 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8163 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8164 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8165 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8166 powerpc/power5+/fpu folders.
8167 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8170 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8172 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8174 2013-04-25 Joseph Myers <joseph@codesourcery.com>
8176 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8177 additions to variable.
8178 [$(config-machine) = x86_64] (modules-names): Likewise.
8179 ($(objpfx)tst-audit3): Remove dependency.
8180 ($(objpfx)tst-audit3.out): Likewise.
8181 ($(objpfx)tst-audit4): Likewise.
8182 ($(objpfx)tst-audit4.out): Likewise.
8183 ($(objpfx)tst-audit5): Likewise.
8184 ($(objpfx)tst-audit5.out): Likewise.
8185 ($(objpfx)tst-audit6): Likewise.
8186 ($(objpfx)tst-audit6.out): Likewise.
8187 ($(objpfx)tst-audit7): Likewise.
8188 ($(objpfx)tst-audit7.out): Likewise.
8189 (tst-audit3-ENV): Remove variable.
8190 (tst-audit4-ENV): Likewise.
8191 (tst-audit5-ENV): Likewise.
8192 (tst-audit6-ENV): Likewise.
8193 (tst-audit7-ENV): Likewise.
8194 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8195 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8196 addition to variable.
8197 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8198 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8199 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8200 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8201 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8202 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8203 tst-audit3, tst-audit4 and tst-audit5.
8204 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8205 tst-audit6 and tst-audit7.
8206 [$(subdir) = elf] (modules-names): Add audit modules for those
8208 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8209 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8210 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8211 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8212 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8213 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8214 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8215 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8216 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8217 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8218 [$(subdir) = elf] (tst-audit3-ENV): New variable.
8219 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8220 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8221 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8222 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8223 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8225 [$(subdir) = elf && $(config-cflags-avx) = yes]
8226 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8227 [$(subdir) = elf && $(config-cflags-avx) = yes]
8228 (CFLAGS-tst-auditmod4a.c): Likewise.
8229 [$(subdir) = elf && $(config-cflags-avx) = yes]
8230 (CFLAGS-tst-auditmod4b.c): Likewise.
8231 [$(subdir) = elf && $(config-cflags-avx) = yes]
8232 (CFLAGS-tst-auditmod6b.c): Likewise.
8233 [$(subdir) = elf && $(config-cflags-avx) = yes]
8234 (CFLAGS-tst-auditmod6c.c): Likewise.
8235 [$(subdir) = elf && $(config-cflags-avx) = yes]
8236 (CFLAGS-tst-auditmod7b.c): Likewise.
8237 * elf/tst-audit3.c: Move to ...
8238 * sysdeps/x86_64/tst-audit3.c: ... here.
8239 * elf/tst-audit4.c: Move to ...
8240 * sysdeps/x86_64/tst-audit4.c: ... here.
8241 * elf/tst-audit5.c: Move to ...
8242 * sysdeps/x86_64/tst-audit5.c: ... here.
8243 * elf/tst-audit6.c: Move to ...
8244 * sysdeps/x86_64/tst-audit6.c: ... here.
8245 * elf/tst-audit7.c: Move to ...
8246 * sysdeps/x86_64/tst-audit7.c: ... here.
8247 * elf/tst-auditmod3a.c: Move to ...
8248 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8249 * elf/tst-auditmod3b.c: Move to ...
8250 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8251 * elf/tst-auditmod4a.c: Move to ...
8252 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8253 * elf/tst-auditmod4b.c: Move to ...
8254 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8255 * elf/tst-auditmod5a.c: Move to ...
8256 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8257 * elf/tst-auditmod5b.c: Move to ...
8258 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8259 * elf/tst-auditmod6a.c: Move to ...
8260 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8261 * elf/tst-auditmod6b.c: Move to ...
8262 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8263 * elf/tst-auditmod6c.c: Move to ...
8264 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8265 * elf/tst-auditmod7a.c: Move to ...
8266 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8267 * elf/tst-auditmod7b.c: Move to ...
8268 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8270 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8273 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8274 define unconditionally.
8275 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8276 define unconditionally.
8277 (INT8_C, INT16_C, etc.): Likewise.
8279 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
8281 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8282 __ehdr_start with hidden visibility.
8284 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8286 2013-04-24 Carlos O'Donell <carlos@redhat.com>
8288 * math/libm-test.inc (cos_test): Use accurate hex constants.
8289 (sincost_test): Likewise.
8291 2013-04-24 Joseph Myers <joseph@codesourcery.com>
8293 * math/libm-test.inc (catan_test): Add more tests.
8294 (catanh_test): Likewise.
8296 * math/s_catanf.c (__catanf): Use suffixed floating-point
8298 * math/s_catanhf.c (__catanhf): Likewise.
8299 * math/s_catanhl.c (__catanhl): Likewise.
8300 * math/s_catanl.c (__catanl): Likewise.
8303 * math/s_catan.c (__catan): Calculate imaginary part of result
8304 with log1p not log unless computing log of number close to 0.
8305 * math/s_catanf.c (__catanf): Likewise.
8306 * math/s_catanl.c (__catanl): Likewise.
8307 * math/s_catanh.c (__catanh): Calculate real part of result with
8308 log1p not log unless computing log of number close to 0.
8309 * math/s_catanhf.c (__catanhf): Likewise.
8310 * math/s_catanhl.c (__catanhl): Likewise.
8311 * math/libm-test.inc (catan_test): Add more tests.
8312 (catanh_test): Likewise.
8313 * sysdeps/i386/fpu/libm-test-ulps: Update.
8314 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8316 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8318 * benchtests/Makefile: Mention files in which fast and slow
8319 paths of math functions are implemented.
8321 2013-04-23 Roland McGrath <roland@hack.frob.com>
8323 * sysdeps/posix/timespec_get.c: New file.
8325 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8327 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8329 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
8331 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8332 powerpc/power5/fpu folders.
8333 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
8334 * benchtests/Makefile: Add modf testcase.
8335 * benchtests/bench-modf.c: New file: Benchmark test for mo
8337 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8340 * time/Makefile (tests): Add tst-strptime-whitespace.
8341 * time/strptime_l.c (get_number): Use ISSPACE.
8342 (__strptime_internal): Likewise.
8343 * time/tst-strptime-whitespace.c: New test case.
8345 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
8347 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8349 (_nss_files_init): Set it here.
8351 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
8353 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8354 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8357 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
8359 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8361 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8363 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8366 2013-04-21 David S. Miller <davem@davemloft.net>
8368 * po/ru.po: Update Russion translation from translation project.
8370 2013-04-17 Adam Conrad <adconrad@0c3.net>
8372 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8375 2013-04-17 Carlos O'Donell <carlos@redhat.com>
8377 * configure.in: Remove i386 configure warning. Remove i386 case.
8378 * configure: Regenerate.
8379 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
8380 Add example to error message.
8381 * sysdeps/i386/configure: Regenerate.
8383 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8385 * benchtests/Makefile (bench): Add cos, tan, slowcos and
8387 * benchtests/cos-inputs: New file.
8388 * benchtests/slowcos-inputs: New file.
8389 * benchtests/slowcos.c: New file.
8390 * benchtests/slowtan-inputs: New file.
8391 * benchtests/slowtan.c: New file.
8392 * benchtests/tan-inputs: New file.
8394 2013-04-16 Roland McGrath <roland@hack.frob.com>
8396 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8399 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8401 * benchtests/Makefile: Include cppflags-iterator.mk to add
8402 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8404 * Makefile.in (bench-clean): New target.
8405 * benchtests/Makefile (bench-clean): Likewise.
8407 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
8409 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8411 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
8413 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8415 2013-04-15 Andreas Schwab <schwab@suse.de>
8417 * nscd/grpcache.c (cache_addgr): Properly check for short write.
8418 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8419 * nscd/pwdcache.c (cache_addpw): Likewise.
8420 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
8423 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8425 * benchtests/Makefile (bench): Write all output to
8426 bench-out.tmp together.
8428 2013-04-15 Andreas Schwab <schwab@suse.de>
8430 * nscd/nscd.c (main): Don't fork again after closing files.
8432 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8434 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8436 * benchtests/Rules (bench-deps): Collect dependencies into a
8437 single variable. Add Makefile to dependencies.
8438 ($(objpfx)bench-%.c): Depend on bench-deps.
8440 2013-04-12 Roland McGrath <roland@hack.frob.com>
8441 Xavier Roche <roche+kml2@exalead.com>
8444 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8445 just that it's a file descriptor.
8446 * manual/llio.texi (Synchronizing AIO Operations): Update description
8447 for EBADF error from aio_fsync.
8449 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8451 * Rules (bench): Move target definition...
8452 * benchtests/Makefile: ... here.
8454 2013-04-11 Carlos O'Donell <carlos@redhat.com>
8456 * math/libm-test.inc (cos_test): Fix PI/2 test.
8457 (sincos_test): Likewise.
8458 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8459 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8461 2013-04-11 Andreas Schwab <schwab@suse.de>
8464 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8465 accept exponent character only when digits were seen.
8466 * stdio-common/Makefile (tests): Add bug26.
8467 * stdio-common/bug26.c: New file.
8470 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8473 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8475 * Makeconfig (rtld-prefix): Define built linker prefix.
8476 * Rules (run-bench): Use it.
8477 * math/Makefile (run-regen-ulps): Likewise.
8479 * Rules (bench): Remove eval.
8481 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8482 Roland McGrath <roland@hack.frob.com>
8483 Ondrej Bilka <neleai@seznam.cz>
8486 * time/getdate.c: Include ctype.h and alloca.h.
8487 (__getdate_r): Trim leading and trailing spaces of input.
8488 * time/tst-getdate.c (tests): Add tests with leading and
8491 2013-04-08 Roland McGrath <roland@hack.frob.com>
8494 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8495 when computing value.
8497 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8499 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8500 Use testrun.sh to run libm tests.
8503 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8505 2013-04-06 Marko Myllynen <myllynen@redhat.com>
8508 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8510 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8512 * Makefile.in (regen-ulps): New target.
8513 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8514 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8515 [ifneq (no,$(PERL)] (regen-ulps): New target.
8516 [ifeq (no,$(PERL)] (regen-ulps): New target.
8517 * math/libm-test.inc (ulps_file_name): Define.
8518 (output_dir): New variable.
8519 (options): Add "output-dir" option.
8520 (parse_opt): Handle 'o' case.
8521 (main): If output_dir is non-NULL use it as a prefix
8523 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8525 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8528 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8529 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8530 fail configure if __sync_val_compare_and_swap is not inlined.
8531 * sysdeps/i386/configure: Regenerate.
8532 * configure.in: Build for i686 when configured for i386.
8533 * configure: Regenerate.
8534 * README: Remove i386 reference.
8536 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8538 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8539 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8541 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8543 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8544 (lmsnanval): New variables.
8545 (F): Add conversion tests.
8546 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8547 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8549 * stdio-common/tstdiomisc.c (F): Properly collect individual
8553 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8554 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8555 Instead, use input NaN values or generate a qNaN by arithmetic
8556 operation. Also fix bugs to comply with the standard.
8557 * math/libm-test.inc (remainder_test): Add more tests.
8560 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8561 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8562 input NaN values or generate a qNaN by arithmetic operation.
8564 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8567 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8570 2013-04-03 Joseph Myers <joseph@codesourcery.com>
8573 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8575 * math/s_cexpf.c (__cexpf): Likewise.
8576 * math/s_cexpl.c (__cexpl): Likewise.
8577 * math/libm-test.inc (cexp_test): Add more tests.
8579 2013-04-03 Andreas Schwab <schwab@suse.de>
8582 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8583 order arrays from heap if bigger than alloca cutoff.
8585 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8587 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8588 (SNAN_TESTS_double): Refer to GCC PR56831.
8589 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8592 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8594 * Rules (bench): Move bench.out after the run is complete.
8596 * Rules (bench): Echo currently running benchmark.
8598 * benchtests/Makefile (bench): Add atan and slowatan.
8599 * benchtests/atan-inputs: New file.
8600 * benchtests/slowatan-inputs: New file.
8601 * benchtests/slowatan.c: New file.
8603 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8604 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8608 * sysdeps/unix/sysv/linux/kernel-features.h
8609 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8610 __ASSUME_XFS_RESTRICTED_CHOWN.
8611 * sysdeps/unix/sysv/linux/pathconf.c
8612 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8613 Save and restore errno.
8615 2013-04-02 Joseph Myers <joseph@codesourcery.com>
8618 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8619 arguments using __kernel_casinh.
8620 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8621 arguments using __kernel_casinhf.
8622 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8623 arguments using __kernel_casinhl.
8624 * math/libm-test.inc (cacosh_test): Add more tests.
8625 * sysdeps/i386/fpu/libm-test-ulps: Update.
8626 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8628 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8630 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8631 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8633 * bench/Makefile (bench): Add sin and slowsin.
8634 * benchtests/sin-inputs: New file.
8635 * benchtests/slowsin-inputs: New file.
8636 * benchtests/slowsin.c: New file.
8638 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8639 (bench): Add slowexp and slowpow.
8640 (exp-ITER): Increase iterations.
8641 (pow-ITER): Likewise.
8642 * benchtests/exp-inputs: Change input.
8643 * benchtests/pow-inputs: Likewise.
8644 * benchtests/slowexp-inputs: New file.
8645 * benchtests/slowexp.c: New file.
8646 * benchtests/slowpow-inputs: New file.
8647 * benchtests/slowpow.c: New file.
8649 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8651 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8653 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8654 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8655 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8656 * benchtests/Makefile: Add rint benchtest.
8657 * benchtests/rint-inputs: Input for rint benchtest.
8659 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8661 * Versions.def (libm): Add GLIBC_2.18.
8662 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8663 hidden libm prototypes.
8664 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8665 * math/Makefile (libm-calls): Add s_issignaling.
8666 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8667 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8668 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8670 * math/math.h [__USE_GNU] (issignaling): New macro.
8671 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8672 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8673 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8674 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8675 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8676 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8677 * manual/arith.texi (issignaling): New section.
8678 * manual/libm-err-tab.pl (@all_functions): Update comment.
8679 * math/gen-libm-test.pl (parse_args): Apply special handling for
8681 * math/libm-test.inc (print_float, issignaling_test): New
8683 (check_float_internal): Add issignaling checks.
8684 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8686 * sysdeps/powerpc/math-tests.h: New file.
8687 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8689 * math/test-snan.c (TEST_FUNC): Likewise.
8691 2013-03-30 David S. Miller <davem@davemloft.net>
8693 * po/de.po: Update from translation team.
8695 2013-03-30 Joseph Myers <joseph@codesourcery.com>
8698 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8699 imaginary part less than 1.0 and real part less than 0.5
8701 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8702 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8703 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8704 (cacos_test): Add more tests.
8705 (casin_test): Likewise.
8706 (casinh_test): Likewise.
8707 * sysdeps/i386/fpu/libm-test-ulps: Update.
8708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8710 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8712 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8715 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8716 (__pow_mp): Replace ONE and MONE with their values.
8717 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8718 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8719 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8720 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8721 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8722 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8724 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8726 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8727 (__pow_mp): Replace ZERO and MZERO with their values.
8728 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8729 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8730 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8731 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8732 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8733 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8736 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8738 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8740 2013-03-28 Roland McGrath <roland@hack.frob.com>
8742 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8743 Declare with __attribute__ ((weak)).
8744 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8745 Call __call_tls_dtors only if it's not NULL.
8747 2013-03-28 Roland McGrath <roland@hack.frob.com>
8749 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8750 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8751 magic __ehdr_start linker symbol if it's defined.
8752 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8753 them up here if it was already done.
8755 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8756 (_dl_aux_init): Use const in cast when setting it.
8757 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8758 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8759 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8761 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8763 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8764 * csu/libc-tls.c: Nor here.
8765 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8767 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8768 (__libc_message): Never call vsyslog.
8770 2013-03-28 Alan Modra <amodra@gmail.com>
8772 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8774 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8777 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8780 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8784 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8787 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8788 Don't add gid passed as argument.
8790 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8792 2013-03-27 Joseph Myers <joseph@codesourcery.com>
8795 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8796 imaginary part between 1.0 and 1.5 and real part less than 0.5
8798 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8799 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8800 * math/libm-test.inc (cacos_test): Add more tests.
8801 (casin_test): Likewise.
8802 (casinh_test): Likewise.
8803 * sysdeps/i386/fpu/libm-test-ulps: Update.
8804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8806 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8808 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8812 (__dbl_mp): Likewise.
8813 (add_magnitudes): Likewise.
8814 (sub_magnitudes): Likewise.
8822 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8824 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8825 (__dubcos): Likewise.
8826 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8827 (__ieee754_acos): Likewise.
8828 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8829 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8831 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8832 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8834 (my_log2): Likewise.
8835 (checkint): Likewise.
8836 * sysdeps/ieee754/dbl-64/e_remainder.c
8837 (__ieee754_remainder): Likewise.
8838 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8839 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8841 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8843 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8844 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8845 MANTISSA_STORE_T to store computations on mantissa. Use
8846 macros for rounding and division.
8848 (__dbl_mp): Likewise.
8849 (add_magnitudes): Likewise.
8850 (sub_magnitudes): Likewise.
8853 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8854 powers of two in terms of TWOPOW macro.
8855 (mp_no): Make type of mantissa as MANTISSA_T.
8856 [!RADIXI]: Define RADIXI.
8857 [!TWO52]: Define TWO52.
8858 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8860 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8862 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8863 llroundl symbol when building for PPC32.
8865 2013-03-24 Mark H Weaver <mhw@netris.org>
8867 * manual/arith.texi (Normalization Functions): Fix prototypes for
8868 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8870 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8873 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8874 high value to check if expl overflow.
8875 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8876 to check for underflow and overflow.
8877 * math/libm-test.inc: Add exp test.
8879 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8882 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8885 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8887 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8890 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8892 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8893 wrap blocks consisting of several statements.
8895 * sysdeps/generic/math-tests.h: New file.
8896 * sysdeps/i386/fpu/math-tests.h: Likewise.
8897 * math/test-snan.c: Include it.
8898 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8900 2013-03-21 Joseph Myers <joseph@codesourcery.com>
8903 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8904 (__ieee754_j0l): Do not improve calculations using cos of twice
8905 input for inputs above LDBL_MAX / 2.0L.
8906 (__ieee754_y0l): Likewise.
8907 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8908 (__ieee754_j1l): Do not improve calculations using cos of twice
8909 input for inputs above LDBL_MAX / 2.0L.
8910 (__ieee754_y1l): Likewise.
8911 * math/libm-test.inc (j0_test): Add another test.
8912 (j1_test): Likewise.
8913 (y0_test): Likewise.
8914 (y1_test): Likewise.
8915 * sysdeps/i386/fpu/libm-test-ulps: Update.
8917 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8919 * Rules ($(objpfx)bench-%.c): Include code from a C source
8922 2013-03-21 Joseph Myers <joseph@codesourcery.com>
8925 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8926 imaginary part 1.0 and real part less than 0.5 specially.
8927 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8928 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8929 * math/libm-test.inc (cacos_test): Add more tests.
8930 (casin_test): Likewise.
8931 (casinh_test): Likewise.
8932 * sysdeps/i386/fpu/libm-test-ulps: Update.
8933 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8935 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8937 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8938 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8940 2013-03-20 Joseph Myers <joseph@codesourcery.com>
8942 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
8943 * config.make.in (config-cflags-sse4): Remove variable.
8944 (config-cflags-avx): Likewise.
8945 (config-cflags-sse2avx): Likewise.
8946 (config-cflags-novzeroupper): Likewise.
8947 (config-asflags-i686): Likewise.
8948 (have-mfma4): Likewise.
8949 (have-as-vis3): Likewise.
8951 * configure.in (MIG): Do not AC_SUBST.
8952 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
8953 (libc_cv_cc_sse4): Do not AC_SUBST.
8954 (libc_cv_cc_avx): Likewise.
8955 (libc_cv_cc_sse2avx): Likewise.
8956 (libc_cv_cc_novzeroupper): Likewise.
8957 (libc_cv_cc_fma4): Likewise.
8958 (libc_cv_as_i686): Likewise.
8959 (libc_cv_sparc_as_vis3): Likewise.
8960 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
8962 (config-asflags-i686): Likewise.
8963 (config-cflags-avx): Likewise.
8964 (config-cflags-sse2avx): Likewise.
8965 (have-mfma4): Likewise.
8966 (config-cflags-novzeroupper): Likewise.
8967 * sysdeps/mach/configure.in (MIG): Likewise.
8968 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
8969 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
8971 (config-cflags-avx): Likewise.
8972 (config-cflags-sse2avx): Likewise.
8973 (have-mfma4): Likewise.
8974 (config-cflags-novzeroupper): Likewise.
8975 * configure: Regenerated.
8976 * sysdeps/i386/configure: Likewise.
8977 * sysdeps/mach/configure: Likewise.
8978 * sysdeps/sparc/configure: Likewise.
8979 * sysdeps/x86_64/configure: Likewise.
8981 2013-03-20 Roland McGrath <roland@hack.frob.com>
8984 * locale/programs/localedef.c (options): Put N_ translation marker
8985 on argument names, not just descriptions.
8987 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8989 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8991 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
8994 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8996 2013-03-19 Roland McGrath <roland@hack.frob.com>
8998 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
8999 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9000 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9001 [!BEFORE_ABORT] (before_abort): New function.
9002 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9003 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9004 (writev_for_fatal): New function.
9005 (WRITEV_FOR_FATAL): New macro; call that.
9006 (backtrace_and_maps): New function.
9007 (BEFORE_ABORT): New macro; call that.
9008 (struct str_list): Type removed.
9009 (__libc_message, __libc_fatal): Functions removed.
9010 Include <sysdeps/posix/libc_fatal.c> instead.
9012 2013-03-19 Joseph Myers <joseph@codesourcery.com>
9014 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9016 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9019 2013-03-19 Andreas Schwab <schwab@suse.de>
9021 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9022 * sysdeps/gnu/configure: Regenerate.
9024 * configure.in: Substitute libc_cv_rtlddir.
9025 * configure: Regenerate.
9026 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9027 * Makeconfig (rtlddir, inst_rtlddir): New variables.
9028 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9029 * elf/Makefile (install-others, CFLAGS-interp.c)
9030 (ldso_install, common-ldd-rewrite): Likewise.
9031 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9032 $(inst_slibdir)/$(rtld-installed-name).
9033 * scripts/rellns-sh: Add -p option.
9034 * Makerules (make-shlib-link): Use rellns-sh to get relative name
9037 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9039 * manual/nptl.texi: Renamed to ...
9040 * manual/threads.texi: ... this.
9041 * manual/Makefile (chapters): Update.
9043 2013-03-18 Roland McGrath <roland@hack.frob.com>
9046 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9047 on argument names, not just descriptions.
9048 * malloc/memusagestat.c (options): Likewise.
9049 * nss/getent.c (options): Likewise.
9051 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
9054 * iconv/iconv_prog.c (options): Put N_ translation marker
9055 on argument names, not just descriptions.
9056 * iconv/iconvconfig.c (options): Likewise.
9058 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
9060 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9061 implementation which is faster on all x86_64 architectures.
9062 Tested on AMD, Intel Nehalem, SNB, IVB.
9063 * sysdeps/x86_64/strnlen.S: Likewise.
9065 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9066 Remove all multiarch strlen and strnlen versions.
9067 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9068 Remove strlen and strnlen related parts.
9070 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9072 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9074 * sysdeps/x86_64/multiarch/strlen.S: Remove.
9075 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9076 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9077 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9078 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9079 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9081 2013-03-17 Carlos O'Donell <carlos@redhat.com>
9083 * manual/memory.texi (Malloc Tunable Parameters):
9084 Sort parameters alphabetically. Add comments for missing entries.
9086 2013-03-17 David S. Miller <davem@davemloft.net>
9088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9090 2013-03-16 Joseph Myers <joseph@codesourcery.com>
9093 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9094 for arguments at most half maximum finite value.
9095 * math/libm-test.inc (j0_test): Add more tests.
9096 (j1_test): Likewise.
9097 (y0_test): Likewise.
9098 (y1_test): Likewise.
9099 * sysdeps/i386/fpu/libm-test-ulps: Update.
9100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9103 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9104 1 / x and functions P and Q for arguments above 0x1p256L.
9105 (__ieee754_y0l): Likewise.
9106 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9107 (__ieee754_y1l): Likewise.
9108 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9109 (j1_test): Likewise.
9110 (y0_test): Likewise.
9111 (y1_test): Likewise.
9113 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
9115 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9118 2013-03-15 Roland McGrath <roland@hack.frob.com>
9120 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9121 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9122 zero since it's initialized to EXEC_PAGESIZE.
9124 * sysdeps/unix/sysv/linux/ldsodefs.h
9125 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9126 * sysdeps/generic/ldsodefs.h: ... here.
9128 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
9130 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9132 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9134 * math/test-snan.c: Renamed from
9135 sysdeps/powerpc/fpu/test-powerpc-snan.c.
9136 * math/Makefile (tests): Add test-snan.
9137 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9140 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9141 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9143 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9144 __builtin_nan family of functions.
9145 * math/libm-test.inc (initialize): Initialize qnan_value with
9146 __builtin_nan family of functions.
9147 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9149 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9151 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9152 storage class. Initialize qNaN_var and sNaN_var with
9153 __builtin_nan and __builtin_nans families of functions,
9156 * math/libm-test.inc (acosh_test): Also test with qNaN input.
9157 (sqrt_test): Remove duplicate test with qNaN input.
9158 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9159 (round_test, signbit_test, significand_test): Note missing +/-Inf
9160 as well as qNaN tests.
9162 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9163 qNaN_var. Fix a few strings, too.
9164 * math/libm-test.inc (nan_value): Rename to qnan_value.
9165 * math/gen-libm-test.pl (%beautify): Adjust to that.
9166 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9167 * math/test-misc.c (main): Likewise.
9168 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9169 to __qnan_bytes, and __qnan_union, respectively.
9170 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9172 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9173 and lqnanval, respectively.
9174 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9175 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9176 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9177 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9179 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9180 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9183 * math/test-misc.c (main): Fix copy'n'pastos.
9184 * misc/tst-efgcvt.c (special): Likewise.
9186 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9187 Remove declarations.
9189 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9191 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9192 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9193 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9194 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9196 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9198 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9199 macro to return vdso values correctly in IFUNC implementations.
9200 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9201 Optimization by using IFUNC.
9203 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9204 Richard Henderson <rth@redhat.com>
9205 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9207 * Makefile.in (bench): New target.
9208 * NEWS: Mention the benchmark framework.
9209 * Rules (bench): Likewise.
9210 (binaries-bench): Generate binaries for functions to
9212 * benchtests/Makefile: New makefile for benchmark tests.
9213 * benchtests/bench-skeleton.c: New skeleton file for benchmark
9215 * benchtests/exp-inputs: New input file for EXP function.
9216 * benchtests/pow-inputs: New input file for POW function.
9217 * scripts/bench.pl: New script to generate source files for
9220 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9222 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9223 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9224 computations on mantissa. Use macros for rounding and
9227 (__dbl_mp): Likewise.
9228 (add_magnitudes): Likewise.
9229 (sub_magnitudes): Likewise.
9232 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9233 powers of two in terms of TWOPOW macro.
9234 (mp_no): Make type of mantissa as MANTISSA_T.
9235 [!RADIXI]: Define RADIXI.
9236 [!TWO52]: Define TWO52.
9237 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9239 * manual/nptl.texi (cindex): Modify threads to pthreads.
9241 2013-03-15 Joseph Myers <joseph@codesourcery.com>
9243 * sysdeps/x86_64/preconfigure: Regenerated.
9245 2013-03-14 Joseph Myers <joseph@codesourcery.com>
9248 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9250 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9251 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9253 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9254 * math/libm-test.inc (j0_test): Do not allow one spurious
9255 underflow exception.
9256 (y1_test): Likewise.
9258 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9260 * manual/Makefile (chapters): Add nptl.
9261 * manual/debug.texi (Debugging Support): Add link to Threads
9263 * manual/nptl.texi: New file.
9265 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9267 2013-03-14 Petr Baudis <pasky@ucw.cz>
9269 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9270 for non-NULL pointer before the memory validity test. Pointed
9271 out by Holger Brunck <holger.brunck@keymile.com>.
9273 2013-03-13 Andreas Schwab <schwab@suse.de>
9275 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9278 2013-03-13 Joseph Myers <joseph@codesourcery.com>
9280 * timezone/zic.c: Update from tzcode 2013b.
9282 2013-03-12 Carlos O'Donell <carlos@redhat.com>
9284 * manual/install.texi (Configuring and compiling):
9285 Mention i686 and i586.
9286 * INSTALL: Regenerate.
9288 2013-03-12 Roland McGrath <roland@hack.frob.com>
9290 * sysdeps/init_array/elf-init.c: New file.
9292 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9293 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9295 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9296 __gmon_start__ as global, but as static with a .preinit_array pointer.
9297 * sysdeps/init_array/gmon-start.c: New file. Use that.
9298 * sysdeps/init_array/crti.S: New file, empty except for comments.
9299 * sysdeps/init_array/crtn.S: Likewise.
9301 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
9303 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9305 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9306 Remove Prefer_SSE_for_memop.
9307 * sysdeps/x86_64/multiarch/init-arch.h: Remove
9308 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9309 HAS_PREFER_SSE_FOR_MEMOP.
9310 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9312 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9313 Remove bzero, memset ifunc support.
9314 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
9315 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
9316 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9317 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9319 2013-03-11 Andreas Schwab <schwab@suse.de>
9322 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9324 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9325 (GLIBC_2.16): Remove pthread_atfork.
9327 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9329 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
9330 (ptestcases.h): Likewise.
9332 2013-03-08 Roland McGrath <roland@hack.frob.com>
9334 * Makeconfig ($(common-objpfx)config.status): Depend on
9335 sysdeps/*/preconfigure{,.in} too.
9337 2013-03-08 Joseph Myers <joseph@codesourcery.com>
9339 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9340 (__free_hook): Use void * instead of __malloc_ptr_t.
9341 (__malloc_hook): Likewise.
9342 (__realloc_hook): Likewise.
9343 (__memalign_hook): Likewise.
9344 (__after_morecore_hook): Likewise.
9345 * malloc/arena.c (save_malloc_hook): Likewise.
9346 (save_free_hook): Likewise.
9347 * malloc/hooks.c (malloc_hook_ini): Likewise.
9348 (realloc_hook_ini): Likewise.
9349 (memalign_hook_ini): Likewise.
9350 * malloc/malloc.c (malloc_hook_ini): Likewise.
9351 (realloc_hook_ini): Likewise.
9352 (memalign_hook_ini): Likewise.
9353 (__free_hook): Likewise.
9354 (__malloc_hook): Likewise.
9355 (__realloc_hook): Likewise.
9356 (__memalign_hook): Likewise.
9357 (__libc_malloc): Likewise.
9358 (__libc_free): Likewise.
9359 (__libc_realloc): Likewise.
9360 (__libc_memalign): Likewise.
9361 (__libc_valloc): Likewise.
9362 (__libc_pvalloc): Likewise.
9363 (__libc_calloc): Likewise.
9364 (__posix_memalign): Likewise.
9365 * malloc/morecore.c (__sbrk): Likewise.
9366 (__default_morecore): Likewise.
9368 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9370 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9371 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9374 * malloc/malloc.h (__malloc_size_t): Remove macro.
9375 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9377 (old_memalign_hook): Likewise.
9378 (old_realloc_hook): Likewise.
9379 (struct hdr): Likewise.
9381 (mallochook): Likewise.
9382 (memalignhook): Likewise.
9383 (reallochook): Likewise.
9384 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9385 (tr_old_realloc_hook): Likewise.
9386 (tr_old_memalign_hook): Likewise.
9387 (tr_mallochook): Likewise.
9388 (tr_reallochook): Likewise.
9389 (tr_memalignhook): Likewise.
9391 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9393 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9394 default_ldbl_pack and using as default implementation.
9395 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9397 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9398 redundant definition.
9399 (ldbl_insert_mantissa): Likewise.
9400 (ldbl_canonicalize): Likewise.
9401 (ldbl_nearbyint): Likewise.
9402 (ldbl_pack): Rename to ldbl_pack_ppc.
9403 (ldbl_unpack): Rename to ldbl_unpack_ppc.
9404 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9405 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9407 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9409 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9410 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9411 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9412 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9413 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9414 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9415 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9416 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9418 2013-03-07 Andreas Jaeger <aj@suse.de>
9420 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9423 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9425 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9426 Include mpa.h and declare __MPEXP.
9427 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9428 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9429 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9430 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9431 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9432 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9433 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9435 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9436 (__slowpow): Use long double EXPL and LOGL functions to
9438 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9439 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9440 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9441 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9442 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9443 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9445 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9446 intermediate variable to calculate exponent.
9448 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9452 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9453 [!NO__SQR]: Define __sqr.
9454 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9455 and NO__SQR. Remove all code except __mul and __sqr. Include
9456 sysdeps/ieee754/dbl-64/mpa.c.
9457 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9460 * posix/Makefile (tests): Add tst-pathconf.
9461 * posix/tst-pathconf.c: New test case.
9462 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9464 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9466 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
9468 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9470 2013-03-06 Andreas Jaeger <aj@suse.de>
9472 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9473 definition via __MAP_ANONYMOUS.
9475 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9476 it's not part of Linux headers.
9478 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9479 (MAP_HUGE_MASK): Define.
9481 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9483 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9484 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9486 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9487 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9489 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9490 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9492 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9494 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9495 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9496 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9497 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9498 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9499 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9501 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9504 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9505 Handle f2fs and efivarfs.
9507 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9510 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9511 (EFIVARFS_MAGIC): Add.
9512 (F2FS_LINK_MAX): Add.
9514 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9516 * stdio-common/vfprintf.c: Replace __builtin_expect with
9519 2013-03-06 Joseph Myers <joseph@codesourcery.com>
9522 * sysdeps/generic/bp-sym.h: Remove file.
9523 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9524 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9525 <bp-sym.h> and <bp-asm.h>.
9526 (__longjmp): Don't use BP_SYM.
9527 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9529 (memcpy): Don't use BP_SYM.
9530 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9531 <bp-sym.h> and <bp-asm.h>.
9532 (memcpy): Don't use BP_SYM.
9533 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9535 (memcpy): Don't use BP_SYM.
9536 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9538 (memset): Don't use BP_SYM.
9539 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9540 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9541 (__bzero): Don't use BP_SYM.
9542 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9543 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9544 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9545 <bp-sym.h> and <bp-asm.h>.
9546 (memcmp): Don't use BP_SYM. Remove comment about bounded
9548 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9549 <bp-sym.h> and <bp-asm.h>.
9550 (memcpy): Don't use BP_SYM.
9551 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9552 <bp-sym.h> and <bp-asm.h>.
9553 (memset): Don't use BP_SYM.
9554 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9555 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9556 (__bzero): Don't use BP_SYM.
9557 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9558 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9559 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9560 <bp-sym.h> and <bp-asm.h>.
9561 (strncmp): Don't use BP_SYM. Remove comment about bounded
9563 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9564 <bp-sym.h> and <bp-asm.h>.
9565 (memcpy): Don't use BP_SYM.
9566 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9567 <bp-sym.h> and <bp-asm.h>.
9568 (memset): Don't use BP_SYM.
9569 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9570 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9571 (__bzero): Don't use BP_SYM.
9572 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9573 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9574 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9575 <bp-sym.h> and <bp-asm.h>.
9576 (__memchr): Don't use BP_SYM.
9577 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9578 <bp-sym.h> and <bp-asm.h>.
9579 (memcmp): Don't use BP_SYM. Remove comment about bounded
9581 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9582 <bp-sym.h> and <bp-asm.h>.
9583 (memcpy): Don't use BP_SYM.
9584 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9585 <bp-sym.h> and <bp-asm.h>.
9586 (__mempcpy): Don't use BP_SYM.
9587 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9588 <bp-sym.h> and <bp-asm.h>.
9589 (__memrchr): Don't use BP_SYM.
9590 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9591 <bp-sym.h> and <bp-asm.h>.
9592 (memset): Don't use BP_SYM.
9593 (__bzero): Likewise.
9594 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9595 <bp-sym.h> and <bp-asm.h>.
9596 (__rawmemchr): Don't use BP_SYM.
9597 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9598 <bp-sym.h> and <bp-asm.h>.
9599 (__STRCMP): Don't use BP_SYM.
9600 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9601 <bp-sym.h> and <bp-asm.h>.
9602 (strchr): Don't use BP_SYM.
9603 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9604 <bp-sym.h> and <bp-asm.h>.
9605 (__strchrnul): Don't use BP_SYM.
9606 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9607 <bp-sym.h> and <bp-asm.h>.
9608 (strlen): Don't use BP_SYM.
9609 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9610 <bp-sym.h> and <bp-asm.h>.
9611 (strncmp): Don't use BP_SYM. Remove comment about bounded
9613 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9614 <bp-sym.h> and <bp-asm.h>.
9615 (__strnlen): Don't use BP_SYM.
9616 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9617 <bp-sym.h> and <bp-asm.h>.
9618 (__GI__setjmp): Don't use BP_SYM.
9619 (_setjmp): Likewise.
9620 (__sigsetjmp): Likewise.
9621 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9622 (L(start_addresses)): Don't use BP_SYM.
9624 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9626 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9627 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9628 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9629 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9630 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9632 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9633 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9634 about bounded pointers.
9635 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9636 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9637 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9639 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9640 about bounded pointers. Remove GKM FIXME comments.
9641 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9642 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9644 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9645 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9646 Remove GKM FIXME comments.
9647 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9648 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9649 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9651 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9652 about bounded pointers. Remove GKM FIXME comment.
9653 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9655 (strncmp): Don't use BP_SYM. Remove comment about bounded
9657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9658 <bp-sym.h> and <bp-asm.h>.
9659 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9660 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9661 <bp-sym.h> and <bp-asm.h>.
9662 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9665 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9667 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9670 2013-03-05 David S. Miller <davem@davemloft.net>
9672 * po/es.po: Update from translation team.
9674 2013-03-05 Andreas Jaeger <aj@suse.de>
9676 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9677 <bits/mman-linux.h>.
9678 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9680 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9681 <bits/mman-linux.h> to end of file.
9682 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9684 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9685 <bits/mman-linux.h> to end of file.
9686 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9688 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9689 <bits/mman-linux.h> to end of file.
9691 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9692 (MCL_CURRENT, MCL_FUTURE): Define here.
9694 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9697 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9699 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9701 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9703 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9704 fourth parameter needed for rt_sigprocmask syscall.
9705 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9706 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9707 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9708 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9709 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9710 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9712 2013-03-04 Joseph Myers <joseph@codesourcery.com>
9715 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9716 comment about bounded pointers.
9717 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9718 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9720 2013-03-04 Andreas Jaeger <aj@suse.de>
9722 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9725 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9726 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9727 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9728 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9729 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
9730 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9732 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9735 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9736 __ieee754_sqrl instead of __sqrl.
9738 2013-03-01 Joseph Myers <joseph@codesourcery.com>
9740 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9741 * sysdeps/powerpc/fpu_control.h: ... here.
9742 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9743 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9744 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9745 * sysdeps/powerpc/bits/mathinline.h: ... here.
9747 2013-03-01 Roland McGrath <roland@hack.frob.com>
9749 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9750 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9751 to just [NEED_DL_SYSINFO_DSO].
9752 * elf/dl-support.c: Likewise.
9753 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9754 * elf/rtld.c (dl_main): Likewise.
9755 * elf/setup-vdso.h (setup_vdso): Likewise.
9756 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9757 * sysdeps/unix/sysv/linux/dl-sysdep.c
9758 (_dl_discover_osversion): Likewise.
9760 2013-03-01 Carlos O'Donell <carlos@redhat.com>
9762 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9763 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9765 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9767 * NEWS: Mention libm performance improvements and non-x86 PI
9770 * csu/libc-start.c (__pthread_initialize_minimal): Change
9772 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9774 2013-02-28 Joseph Myers <joseph@codesourcery.com>
9777 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9778 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9779 <bp-sym.h> and <bp-asm.h>.
9780 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9781 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9783 (memcpy): Don't use BP_SYM.
9784 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9786 (__mpn_add_n): Don't use BP_SYM.
9787 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9788 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9790 (__mpn_addmul_1): Don't use BP_SYM.
9791 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9792 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9794 (_setjmp): Don't use BP_SYM.
9795 (__novmx_setjmp): Likewise.
9796 (__GI__setjmp): Likewise.
9797 (__vmx_setjmp): Likewise.
9798 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9800 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9801 (__bzero): Don't use BP_SYM.
9802 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9803 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9804 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9805 <bp-sym.h> and <bp-asm.h>.
9806 (memcpy): Don't use BP_SYM.
9807 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9808 <bp-sym.h> and <bp-asm.h>.
9809 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9810 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9811 <bp-sym.h> and <bp-asm.h>.
9812 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9813 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9815 (__mpn_lshift): Don't use BP_SYM.
9816 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9817 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9819 (memset): Don't use BP_SYM.
9820 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9821 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9822 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9824 (__mpn_mul_1): Don't use BP_SYM.
9825 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9826 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9827 <bp-sym.h> and <bp-asm.h>.
9828 (memcmp): Don't use BP_SYM.
9829 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9830 <bp-sym.h> and <bp-asm.h>.
9831 (memcpy): Don't use BP_SYM.
9832 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9833 <bp-sym.h> and <bp-asm.h>.
9834 (memset): Don't use BP_SYM.
9835 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9836 <bp-sym.h> and <bp-asm.h>.
9837 (strncmp): Don't use BP_SYM.
9838 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9839 <bp-sym.h> and <bp-asm.h>.
9840 (memcpy): Don't use BP_SYM.
9841 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9842 <bp-sym.h> and <bp-asm.h>.
9843 (memset): Don't use BP_SYM.
9844 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9845 <bp-sym.h> and <bp-asm.h>.
9846 (__memchr): Don't use BP_SYM.
9847 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9848 <bp-sym.h> and <bp-asm.h>.
9849 (memcmp): Don't use BP_SYM.
9850 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9851 <bp-sym.h> and <bp-asm.h>.
9852 (memcpy): Don't use BP_SYM.
9853 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9854 <bp-sym.h> and <bp-asm.h>.
9855 (__mempcpy): Don't use BP_SYM.
9856 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9857 <bp-sym.h> and <bp-asm.h>.
9858 (__memrchr): Don't use BP_SYM.
9859 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9860 <bp-sym.h> and <bp-asm.h>.
9861 (memset): Don't use BP_SYM.
9862 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9863 <bp-sym.h> and <bp-asm.h>.
9864 (__rawmemchr): Don't use BP_SYM.
9865 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9866 <bp-sym.h> and <bp-asm.h>.
9867 (__STRCMP): Don't use BP_SYM.
9868 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9869 <bp-sym.h> and <bp-asm.h>.
9870 (strchr): Don't use BP_SYM.
9871 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9872 <bp-sym.h> and <bp-asm.h>.
9873 (__strchrnul): Don't use BP_SYM.
9874 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9875 <bp-sym.h> and <bp-asm.h>.
9876 (strlen): Don't use BP_SYM.
9877 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9878 <bp-sym.h> and <bp-asm.h>.
9879 (strncmp): Don't use BP_SYM.
9880 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9881 <bp-sym.h> and <bp-asm.h>.
9882 (__strnlen): Don't use BP_SYM.
9883 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9885 (__mpn_rshift): Don't use BP_SYM.
9886 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9887 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9888 <bp-sym.h> and <bp-asm.h>.
9889 (__sigsetjmp): Don't use BP_SYM.
9890 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9891 (L(start_addresses)): Don't use BP_SYM.
9893 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9895 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9896 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9897 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9898 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9900 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9901 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9902 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9903 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9905 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9907 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9908 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9910 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9912 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9913 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9914 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9916 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9918 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9920 (strncmp): Don't use BP_SYM,
9921 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9923 (__mpn_sub_n): Don't use BP_SYM.
9924 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9925 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9927 (__mpn_submul_1): Don't use BP_SYM.
9928 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9929 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9930 <bp-sym.h> and <bp-asm.h>.
9931 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9933 <bp-sym.h> and <bp-asm.h>.
9934 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9937 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9939 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
9940 Use ZK to minimize writes to Z.
9941 (sub_magnitudes): Simplify code a bit.
9942 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
9943 Use ZK to minimize writes to Z.
9944 (sub_magnitudes): Simplify code a bit.
9946 2013-02-27 Roland McGrath <roland@hack.frob.com>
9948 * csu/gmon-start.c: Add special exception to license text.
9950 2013-02-27 Richard Henderson <rth@redhat.com>
9952 * scripts/config.guess: Update from config.git.
9953 * scripts/config.sub: Likewise.
9955 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9957 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9959 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9961 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9963 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9965 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9967 2013-02-26 Roland McGrath <roland@hack.frob.com>
9969 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9970 [$(build-shared = yes].
9972 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9974 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9975 (__mul): Reduce iterations for calculating mantissa.
9977 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9979 (__mpranred): Likewise.
9982 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9983 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9985 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9987 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9988 Define __attribute__.
9990 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9992 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9994 * posix/regex_internal.h (__attribute): Remove.
9995 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
9996 (re_string_context_at): Likewise.
9997 (bitset_not): Use __attribute__ and mark function as possibly
9999 (bitset_merge): Likewise.
10000 (bitset_mask): Likewise.
10001 (re_string_char_size_at): Likewise.
10002 (re_string_wchar_at): Likewise.
10003 (re_string_elem_size_at): Likewise.
10005 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10007 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10011 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10015 (denorm): Likewise.
10016 (__dbl_mp): Likewise.
10017 (add_magnitudes): Likewise.
10018 (sub_magnitudes): Likewise.
10022 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10025 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10028 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10031 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10032 up changes with default code.
10033 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10036 2013-02-24 Allan McRae <allan@archlinux.org>
10038 * manual/socket.texi (The Internet Namespace): Order menu items
10039 to match that in the file.
10041 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10042 node listing of the info page menu.
10044 2013-02-21 Joseph Myers <joseph@codesourcery.com>
10047 * sysdeps/i386/bp-asm.h: Remove file.
10048 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10049 (PARMS): Do not use macros from bp-asm.h.
10053 (__mpn_add_n): Do not use BP_SYM
10054 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10056 (PARMS): Do not use macros from bp-asm.h.
10059 (__mpn_addmul_1): Do not use BP_SYM
10060 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10062 (PARMS): Do not use macros from bp-asm.h.
10063 (SIGMSK): Likewise.
10064 (_setjmp): Likewise. Do not use BP_SYM.
10065 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10067 (PARMS): Do not use macros from bp-asm.h.
10068 (SIGMSK): Likewise.
10069 (setjmp): Likewise. Do not use BP_SYM.
10070 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10072 (PARMS): Do not use macros from bp-asm.h.
10073 (__frexp): Do not use BP_SYM.
10075 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10077 (PARMS): Do not use macros from bp-asm.h.
10078 (__frexpf): Do not use BP_SYM.
10079 (frexpf): Likewise.
10080 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10082 (PARMS): Do not use macros from bp-asm.h.
10083 (__frexpl): Do not use BP_SYM.
10084 (frexpl): Likewise.
10085 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10087 (PARMS): Do not use macros from bp-asm.h.
10088 (__remquo): Do not use BP_SYM.
10089 (remquo): Likewise.
10090 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10092 (PARMS): Do not use macros from bp-asm.h.
10093 (__remquof): Do not use BP_SYM.
10094 (remquof): Likewise.
10095 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10097 (PARMS): Do not use macros from bp-asm.h.
10098 (__remquol): Do not use BP_SYM.
10099 (remquol): Likewise.
10100 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10102 (PARMS): Do not use macros from bp-asm.h.
10105 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
10106 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10108 (PARMS): Do not use macros from bp-asm.h.
10109 (strlen): Do not use BP_SYM.
10110 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10112 (PARMS): Do not use macros from bp-asm.h.
10116 (__mpn_add_n): Do not use BP_SYM.
10117 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10119 (PARMS): Do not use macros from bp-asm.h.
10122 (__mpn_addmul_1): Do not use BP_SYM.
10123 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10126 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10128 (PARMS): Do not use macros from bp-asm.h.
10131 (__mpn_lshift): Do not use BP_SYM.
10132 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10134 (PARMS): Do not use macros from bp-asm.h.
10138 (memcpy): Likewise. Do not use BP_SYM.
10139 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10140 libc_hidden_def and weak_alias.
10141 (mempcpy): Do not use BP_SYM in weak_alias.
10142 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10144 (PARMS): Do not use macros from bp-asm.h.
10147 [!BZERO_P] (CHR): Likewise.
10148 (memset): Likewise. Do not use BP_SYM.
10149 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10151 (PARMS): Do not use macros from bp-asm.h.
10154 (__mpn_mul_1): Do not use BP_SYM.
10155 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10157 (PARMS): Do not use macros from bp-asm.h.
10160 (__mpn_rshift): Do not use BP_SYM.
10161 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10163 (PARMS): Do not use macros from bp-asm.h.
10166 (strchr): Likewise. Do not use BP_SYM.
10167 (index): Do not use BP_SYM in weak_alias.
10168 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10170 (PARMS): Do not use macros from bp-asm.h.
10173 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
10174 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10176 (PARMS): Do not use macros from bp-asm.h.
10177 (strlen): Do not use BP_SYM.
10178 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10180 (PARMS): Do not use macros from bp-asm.h.
10184 (__mpn_sub_n): Do not use BP_SYM.
10185 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10187 (PARMS): Do not use macros from bp-asm.h.
10190 (__mpn_submul_1): Do not use BP_SYM.
10191 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10193 (PARMS): Do not use macros from bp-asm.h.
10197 (__mpn_add_n): Do not use BP_SYM.
10198 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10201 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10203 (PARMS): Do not use macros from bp-asm.h.
10206 (memcmp): Do not use BP_SYM.
10207 (bcmp): Do not use BP_SYM in weak_alias.
10208 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10210 (PARMS): Do not use macros from bp-asm.h.
10214 (memcpy): Likewise. Do not use BP_SYM.
10215 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10217 (PARMS): Do not use macros from bp-asm.h.
10221 (memmove): Likewise. Do not use BP_SYM.
10222 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10224 (PARMS): Do not use macros from bp-asm.h.
10228 (__mempcpy): Likewise. Do not use BP_SYM.
10229 (mempcpy): Do not use BP_SYM in weak_alias.
10230 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10232 (PARMS): Do not use macros from bp-asm.h.
10235 [!BZERO_P] (CHR): Likewise.
10236 (memset): Likewise. Do not use BP_SYM.
10237 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10239 (PARMS): Do not use macros from bp-asm.h.
10241 (strcmp): Do not use BP_SYM.
10242 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10244 (PARMS): Do not use macros from bp-asm.h.
10247 [USE_AS_STRTOK_R] (SAVE): Likewise.
10248 (FUNCTION): Likewise. Do not use BP_SYM.
10249 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10251 (strtok_r): Likewise.
10252 (__GI___strtok_r): Likewise.
10253 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10254 (PARMS): Do not use macros from bp-asm.h.
10257 (__mpn_lshift): Do not use BP_SYM.
10258 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10259 (PARMS): Do not use macros from bp-asm.h.
10262 (__memchr): Do not use BP_SYM.
10263 (memchr): Do not use BP_SYM in weak_alias.
10264 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10265 (PARMS): Do not use macros from bp-asm.h.
10268 (memcmp): Do not use BP_SYM.
10269 (bcmp): Do not use BP_SYM in weak_alias.
10270 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10271 (PARMS): Do not use macros from bp-asm.h.
10274 (__mpn_mul_1): Do not use BP_SYM.
10275 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10277 (PARMS): Do not use macros from bp-asm.h.
10280 (__rawmemchr): Do not use BP_SYM.
10281 (rawmemchr): Do not use BP_SYM in weak_alias.
10282 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10283 (PARMS): Do not use macros from bp-asm.h.
10286 (__mpn_rshift): Do not use BP_SYM.
10287 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10288 (PARMS): Do not use macros from bp-asm.h.
10289 (SIGMSK): Likewise.
10290 (__sigsetjmp): Likewise. Do not use BP_SYM.
10291 * sysdeps/i386/start.S: Do not include "bp-sym.h".
10292 (_start): Do not use BP_SYM.
10293 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10294 (PARMS): Do not use macros from bp-asm.h.
10297 (__stpcpy): Likewise. Do not use BP_SYM.
10298 (stpcpy): Do not use BP_SYM in weak_alias.
10299 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10301 (PARMS): Do not use macros from bp-asm.h.
10305 (__stpncpy): Likewise. Do not use BP_SYM.
10306 (stpncpy): Do not use BP_SYM in weak_alias.
10307 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10308 (PARMS): Do not use macros from bp-asm.h.
10311 (strchr): Likewise. Do not use BP_SYM.
10312 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10314 (PARMS): Do not use macros from bp-asm.h.
10317 (__strchrnul): Likewise. Do not use BP_SYM.
10318 (strchrnul): Do not use BP_SYM in weak_alias.
10319 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
10321 (PARMS): Do not use macros from bp-asm.h.
10323 (strcspn): Do not use BP_SYM.
10324 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10326 (PARMS): Do not use macros from bp-asm.h.
10329 (strpbrk): Likewise. Do not use BP_SYM.
10330 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
10332 (PARMS): Do not use macros from bp-asm.h.
10335 (strrchr): Likewise. Do not use BP_SYM.
10336 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10337 (PARMS): Do not use macros from bp-asm.h.
10339 (strspn): Do not use BP_SYM.
10340 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10341 (PARMS): Do not use macros from bp-asm.h.
10345 (FUNCTION): Likewise. Do not use BP_SYM.
10346 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10348 (strtok_r): Likewise.
10349 (__GI___strtok_r): Likewise.
10350 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10351 (PARMS): Do not use macros from bp-asm.h.
10355 (__mpn_sub_n): Do not use BP_SYM.
10356 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10358 (PARMS): Do not use macros from bp-asm.h.
10361 (__mpn_submul_1): Do not use BP_SYM.
10362 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10364 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10366 (PARMS): Do not use macros from bp-asm.h.
10371 (__clone): Do not use BP_SYM.
10372 (clone): Do not use BP_SYM in weak_alias.
10373 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10375 (PARMS): Do not use macros from bp-asm.h.
10377 (__mmap64): Do not use BP_SYM.
10378 (mmap64): Do not use BP_SYM in weak_alias.
10379 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10380 <bp-sym.h> and <bp-asm.h>.
10381 (PARMS): Do not use macros from bp-asm.h.
10382 (__posix_fadvise64_l64): Do not use BP_SYM.
10383 * sysdeps/unix/sysv/linux/i386/semtimedop.S
10384 (PARMS): Do not use macros from bp-asm.h.
10386 (semtimedop): Do not use BP_SYM.
10387 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10390 2013-02-21 Allan McRae <allan@archlinux.org>
10392 * manual/message.texi (Charset conversion in gettext):
10393 Move @end statement to beginning of line.
10395 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10399 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10402 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10403 (denorm): Likewise.
10404 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10405 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10407 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10409 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10410 tail-call to the resolved function if pltexit isn't needed.
10412 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10415 or Y being zero as being unlikely.
10416 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10419 2013-02-20 Carlos O'Donell <carlos@redhat.com>
10421 * manual/nss.texi (System Databases and Name Service Switch):
10422 Remove frobnicate @pxref.
10424 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10426 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10427 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10429 2013-02-20 Petr Machata <pmachata@redhat.com>
10431 * elf/elf.h (R_ARM_TARGET1): New macro.
10432 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10433 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10434 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10435 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10436 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10437 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10438 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10439 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10440 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10441 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10442 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10443 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10444 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10445 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10446 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10447 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10448 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10449 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10450 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10451 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10452 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10453 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10454 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10455 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10456 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10457 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10458 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10459 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10460 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10461 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10462 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10463 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10464 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10465 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10466 (R_ARM_THM_GOT_BREL12): Likewise.
10467 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10468 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10469 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10470 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10471 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10472 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10473 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10474 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10475 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10477 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10479 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10480 __attribute_used__ to __attribute__ ((unused)).
10482 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10484 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10487 comment formatting.
10488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10490 2013-02-19 Joseph Myers <joseph@codesourcery.com>
10493 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10495 (ENTER): Remove both macro definitions.
10497 (CHECK_BOUNDS_LOW): Likewise.
10498 (CHECK_BOUNDS_HIGH): Likewise.
10499 (CHECK_BOUNDS_BOTH): Likewise.
10500 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10501 (RETURN_BOUNDED_POINTER): Likewise.
10502 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10503 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10504 (POP_ERRNO_LOCATION_RETURN): Likewise.
10505 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10506 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10507 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10509 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10510 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10511 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10512 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10513 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10514 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10515 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10516 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10517 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10518 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10519 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10520 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10521 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10522 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10524 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10525 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10527 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10528 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10529 * sysdeps/i386/i586/memset.S (memset): Likewise.
10530 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10531 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10532 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10534 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10535 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10536 Change uses of L(2) to L(out).
10537 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10538 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10539 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10540 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10541 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10543 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10544 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10546 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10547 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10548 (RETURN): Do not use macro LEAVE.
10549 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10550 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10551 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10552 * sysdeps/i386/i686/memset.S (memset): Likewise.
10553 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10554 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10555 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10556 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10558 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10559 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10560 L(1_2) and L(1_3) into L(1).
10561 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10562 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10563 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10564 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10565 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10566 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10567 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10568 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10569 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10571 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10572 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10573 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10574 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10575 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10576 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10577 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10578 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10579 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10580 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10581 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10582 * sysdeps/i386/strspn.S (strspn): Likewise.
10583 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10585 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10586 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10587 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10588 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10589 L(1_3) into L(1_1).
10590 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10591 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10592 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10594 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10596 2013-02-19 Jakub Jelinek <jakub@redhat.com>
10598 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10601 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10603 * math/atest-exp.c (exp_mpn): Remove ROUND.
10604 * math/atest-exp2.c (exp_mpn): Likewise.
10605 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10607 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10608 * stdlib/tst-tls-atexit-lib.c: Likewise.
10609 * stdlib/tst-tls-atexit.c: Likewise.
10611 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10613 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10614 and __attribute_alloc_size__.
10616 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10618 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10619 __attribute_alloc_size__.
10620 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10621 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10623 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10625 * include/programs/xmalloc.h: New file.
10626 * catgets/gencat.c: Include it.
10627 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10628 * elf/pldd.c: Likewise.
10629 * iconv/iconv_charmap.c: Likewise.
10630 * iconv/iconvconfig.c: Likewise.
10631 * iconv/strtab.c: Likewise.
10632 * locale/programs/locale.c: Likewise.
10633 * locale/programs/localedef.h: Likewise.
10634 * locale/programs/simple-hash.c: Likewise.
10635 * nscd/nscd.h: Likewise.
10636 * nss/makedb.c: Likewise.
10637 * sysdeps/generic/ldconfig.h: Likewise.
10639 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10641 * Versions.def: Add GLIBC_2.18.
10642 * include/link.h (struct link_map): New member l_tls_dtor_count.
10643 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10644 (__call_tls_dtors): Likewise.
10645 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10646 __cxa_thread_atexit_impl.
10647 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10655 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10663 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10664 (tests): Add test case tst-tls-atexit.
10665 (modules-names): Add shared library for tst-tls-atexit.
10666 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
10667 (GLIBC_PRIVATE): Add __call_tls_dtors.
10668 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10670 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10671 * stdlib/tst-tls-atexit.c: New test case.
10672 * stdlib/tst-tls-atexit-lib.c: New test case.
10674 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
10676 * elf/Versions (ld): Add _dl_find_dso_for_object.
10677 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10678 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10679 (dl_open_worker): Use _dl_find_dso_for_object.
10680 * elf/dl-sym.c (do_sym): Likewise.
10681 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10683 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10685 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10686 Syntactic changes only.
10687 (_dl_runtime_profile): Do a tail-call to the resolved function.
10689 2013-02-17 Joseph Myers <joseph@codesourcery.com>
10692 * sysdeps/x86_64/bp-asm.h: Remove file.
10693 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10694 <bp-sym.h> and <bp-asm.h>.
10695 (__clone): Do not use BP_SYM.
10696 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10697 <bp-sym.h> and <bp-asm.h>.
10698 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10699 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10701 (_setjmp): Do not use BP_SYM.
10702 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10704 (setjmp): Do not use BP_SYM.
10705 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10707 (mempcpy): Do not use BP_SYM in weak_alias.
10708 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10710 (strchr): Do not use BP_SYM.
10711 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10713 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10714 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10715 (_start): Do not use BP_SYM.
10716 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10718 (strcat): Do not use BP_SYM.
10719 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10721 (STRCMP): Do not use BP_SYM.
10722 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10724 (STRCPY): Do not use BP_SYM.
10725 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10727 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10729 (FUNCTION): Do not use BP_SYM.
10730 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10732 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10734 2013-02-17 Andreas Jaeger <aj@suse.de>
10736 * time/Versions: Sort entries.
10737 * string/Versions: Likewise.
10738 * resolv/Versions: Likewise.
10739 * posix/Versions: Likewise.
10740 * iconv/Versions: Likewise.
10741 * elf/Versions: Likewise.
10742 * wcsmbs/Versions: Likewise.
10744 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10746 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10747 loop termination condition.
10749 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10750 variable to calculate EZ.
10753 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10754 the lower precision input.
10756 2013-02-15 Joseph Myers <joseph@codesourcery.com>
10759 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10760 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10761 (run-via-rtld-prefix): Do not handle %-bp tests.
10762 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10763 (all-object-suffixes): Remove .ob.
10764 (bppfx): Remove variable.
10765 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10766 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10767 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10768 [$(build-bounded) = yes] (libtype.ob): Likewise.
10769 * Makerules (elide-routines.ob): Remove variable.
10770 (do-tests-clean): Do not handle *-bp.out.
10771 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10772 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10773 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10774 (tests): Do not include $(tests-bp.out).
10775 (xtests): Do not include $(xtests-bp.out).
10776 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10777 [$(build-bounded) = yes] ($(addprefix
10778 $(objpfx),$(binaries-bounded))): Remove rule.
10779 ($(objpfx)%-bp.out): Remove rule.
10780 * config.make.in (build-bounded): Remove variable.
10781 * crypt/Makefile [$(build-bounded) = yes]
10782 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10783 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10784 append to variable.
10785 [$(build-bounded) = yes] (install-lib): Likewise.
10786 [$(build-bounded) = yes] (generated): Likewise.
10787 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10789 * intl/Makefile [$(build-bounded) = yes]
10790 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10791 * math/Makefile [$(build-bounded) = yes]
10792 ($(tests:%=$(objpfx)%-bp): Likewise.
10793 * misc/Makefile [$(build-bounded) = yes]
10794 ($(objpfx)tst-tsearch-bp): Likewise.
10795 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10796 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10798 * string/Makefile (o-objects.ob): Remove variable.
10799 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10800 (CFLAGS-.ob): Remove variable.
10801 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10802 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10803 both definitions of variable.
10804 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10805 (ASFLAGS-.ob): Remove variable.
10807 2013-02-14 Joseph Myers <joseph@codesourcery.com>
10810 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10811 Remove __BOUNDED_POINTERS__ from condition.
10812 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10813 * string/bits/string2.h [!__NO_STRING_INLINES &&
10814 !__BOUNDED_POINTERS__]: Likewise.
10815 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10817 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10818 Remove conditional code.
10819 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10820 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10821 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10825 * csu/libc-start.c: Do not include <bp-sym.h>.
10826 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10827 * elf/dl-open.c: Do not include <bp-sym.h>.
10828 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10829 * math/fegetenv.c: Do not include <bp-sym.h>.
10830 (fegetenv): Do not use BP_SYM in versioned symbols.
10831 * nptl/sysdeps/pthread/bits/libc-lockP.h
10832 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10834 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10835 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10836 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10837 (__pthread_mutex_destroy): Likewise.
10838 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10839 (__pthread_mutex_lock): Likewise.
10840 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10841 (__pthread_mutex_trylock): Likewise.
10842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10843 (__pthread_mutex_unlock): Likewise.
10844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10845 (__pthread_mutexattr_init): Likewise.
10846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10847 (__pthread_mutexattr_destroy): Likewise.
10848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10849 (__pthread_mutexattr_settype): Likewise.
10850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10851 (__pthread_rwlock_init): Likewise.
10852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10853 (__pthread_rwlock_destroy): Likewise.
10854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10855 (__pthread_rwlock_rdlock): Likewise.
10856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10857 (__pthread_rwlock_tryrdlock): Likewise.
10858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10859 (__pthread_rwlock_wrlock): Likewise.
10860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10861 (__pthread_rwlock_trywrlock): Likewise.
10862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10863 (__pthread_rwlock_unlock): Likewise.
10864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10865 (__pthread_key_create): Likewise.
10866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10867 (__pthread_setspecific): Likewise.
10868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10869 (__pthread_getspecific): Likewise.
10870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10873 (_pthread_cleanup_push_defer): Likewise.
10874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10875 (_pthread_cleanup_pop_restore): Likewise.
10876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10877 (pthread_setcancelstate): Likewise.
10878 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10880 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10881 (memchr): Do not use BP_SYM in weak_alias.
10882 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10883 (fegetenv): Do not use BP_SYM in versioned symbols.
10884 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10885 (fesetenv): Do not use BP_SYM in versioned symbols.
10886 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10887 (feupdateenv): Do not use BP_SYM in versioned symbols.
10888 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10889 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10890 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10891 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10892 (open64): Do not use BP_SYM in weak_alias.
10893 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10894 (fegetenv): Do not use BP_SYM in versioned symbols.
10895 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10896 (fesetenv): Do not use BP_SYM in versioned symbols.
10897 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10898 (feupdateenv): Do not use BP_SYM in versioned symbols.
10899 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10900 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10901 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10902 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10903 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10904 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10905 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10907 (__libc_start_main): Do not use BP_SYM.
10909 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10911 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10912 redundant return line.
10914 (denorm): Likewise.
10915 (dbl_mp): Likewise.
10916 (sub_magnitudes): Likewise.
10922 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10924 (denorm): Likewise.
10925 (dbl_mp): Likewise.
10926 (sub_magnitudes): Likewise.
10933 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10935 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10936 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10939 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
10940 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
10941 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
10942 of __mul for squares.
10943 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
10945 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10947 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10948 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10950 2013-02-13 Joseph Myers <joseph@codesourcery.com>
10953 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10955 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
10956 prototype or function definition. Rename ubp_* variables and
10957 parameters. Remove argv definitions conditional on
10958 [__BOUNDED_POINTERS__].
10959 * debug/backtrace.c (__backtrace): Do not use __unbounded.
10960 * elf/dl-runtime.c (_dl_fixup): Likewise.
10961 * include/set-hooks.h (RUN_HOOK): Likewise.
10962 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
10964 * string/strcpy.c (strcpy): Do not use __unbounded.
10965 * sysdeps/generic/frame.h (struct layout): Likewise.
10966 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
10967 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
10968 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
10969 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
10970 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
10971 (__backtrace): Likewise.
10972 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
10974 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
10975 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
10976 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
10978 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
10979 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
10980 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10981 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10982 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
10983 Do not use __unbounded.
10984 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
10985 Rename __unboundedrlimits parameter to rlimits in prototype.
10986 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
10987 Do not use __unbounded.
10988 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
10989 not use __ptrvalue.
10990 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10991 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
10992 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
10993 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
10994 __ptrvalue or __unbounded.
10995 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
10996 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
10998 (__new_msgctl): Do not use __ptrvalue.
10999 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11001 (__libc_msgrcv): Do not use __ptrvalue.
11002 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11003 startup_info): Do not use __unbounded.
11004 (__libc_start_main): Likewise. Rename ubp_* variables and
11005 parameters. Remove argv definitions conditional on
11006 [__BOUNDED_POINTERS__].
11007 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11009 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11011 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11013 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11015 (__new_shmctl): Do not use __ptrvalue.
11016 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11017 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11019 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11020 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11021 (__libc_sigaction): Likewise.
11022 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11023 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11025 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11027 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
11029 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
11031 * string/mempcpy.c: Implement by calling memcpy.
11033 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11035 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11037 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11040 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11041 values in the mantissa.
11043 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11044 minimize writes to Z.
11045 (sub_magnitudes): Simplify code a bit.
11047 2013-02-12 Roland McGrath <roland@hack.frob.com>
11049 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11050 from the message. The linker prefixes all warnings with that already.
11052 2013-02-12 Andreas Schwab <schwab@suse.de>
11055 * posix/regexec.c (extend_buffers): Add parameter min_len.
11056 (check_matching): Pass minimum needed length.
11057 (clean_state_log_if_needed): Likewise.
11058 (get_subexp): Likewise.
11059 * posix/Makefile (tests): Add bug-regex34.
11060 (bug-regex34-ENV): Define.
11061 * posix/bug-regex34.c: New file.
11064 * posix/regcomp.c (parse_bracket_exp): When looking up collating
11065 elements compare against the byte sequence of it, not its name.
11066 * posix/Makefile (tests): Add bug-regex35.
11067 (bug-regex35-ENV): Define.
11068 * posix/bug-regex35.c: New file.
11070 2013-02-11 Tom de Vries <tom@codesourcery.com>
11072 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
11074 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11075 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11076 (CHECK_EOL): Add undef.
11078 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
11080 * bits/stdlib-bsearch.h: New file.
11081 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
11082 * stdlib/stdlib.h: Likewise.
11084 2013-02-11 Roland McGrath <roland@hack.frob.com>
11086 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11087 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11089 * manual/search.texi (Array Search Function): Add missing const in
11091 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11092 declaration to use rlim_t.
11093 (Basic Scheduling Functions): Remove erroneous const from
11094 sched_getparam prototype. Remove erroneous * from
11095 sched_get_priority_max and sched_get_priority_min prototypes.
11096 (Resource Usage): Fix summary @comment on vtimes to refer to
11097 sys/vtimes.h rather than vtimes.h.
11098 Add missing *s in vtimes prototype.
11099 (Limits on Resources): Fix ulimit prototype to return long int.
11100 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11101 prototypes to use long int rather than double.
11102 (BSD Random): Fix initstate and setstate to use char *, not void *.
11103 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11104 prototype to make second argument 'struct aiocb64 *const[]'.
11105 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11106 (Status of AIO Operations): Remove erroneous const in aio_return and
11107 aio_return64 prototypes.
11108 (Synchronizing I/O): Fix sync prototype to return void.
11109 * manual/startup.texi (Suboptions): Remove an erroneous const in
11110 getsubopt prototype.
11111 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11112 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11113 use size_t rather than int.
11114 (Scanning All Users): Likewise for getpwent_r.
11115 (Setting Groups): Add missing const to setgroups prototype.
11116 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11117 * manual/socket.texi (Host Names): Fix gethostbyaddr and
11118 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11119 'const void *' rather than 'const char *'.
11120 (Host Address Functions): Likewise for inet_ntop.
11121 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11122 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11123 ssize_t for return value.
11124 (Sending Data): Likewise for send, sendto, sendmsg.
11125 (Socket Option Functions): Add a missing const in setsockopt prototype.
11126 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11127 use wchar_t for the argument.
11128 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11129 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11131 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11132 double/float/long double for second argument.
11133 Fix return types of significand, significandf, significandl.
11134 * manual/filesys.texi (Setting Permissions): Use mode_t for second
11135 argument in fchmod prototype.
11136 (File Owner): Use uid_t and gid_t in fchown prototype.
11137 (File Times): Add const to utimes, futimes, and lutimes prototypes.
11138 (Making Special Files): Use mode_t and dev_t in mknod prototype.
11139 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11140 use 'const struct dirent **' as argument types to CMP function pointer
11142 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11143 (File Times): Fix summary magic @comment for struct utimbuf and utime
11144 to refer to utime.h, not time.h.
11145 * manual/string.texi (Argz Functions): Add missing const in
11146 argz_extract and argz_next prototypes.
11147 (Finding Tokens in a String): Likewise for basename.
11148 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11149 (Copying and Concatenation): Fix typo in wmemmove prototype.
11150 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11151 (Signal Stack): Remove erroneous const in sigstack prototype.
11152 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11154 (Simple Calendar Time): Likewise for stime.
11155 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11157 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11158 say sys/sysctl.h instead.
11159 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11160 and vsyslog prototypes.
11162 2013-02-11 Tom de Vries <tom@codesourcery.com>
11164 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11167 2013-02-11 Roland McGrath <roland@hack.frob.com>
11169 * misc/sys/mman.h: Fix typo in mremap comment.
11171 2013-02-08 Roland McGrath <roland@hack.frob.com>
11173 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11174 the '\0' terminator.
11176 2013-02-08 Joseph Myers <joseph@codesourcery.com>
11179 * debug/segfault.c: Don't include <bp-checks.h>.
11180 * sysdeps/generic/bp-checks.h: Remove file.
11181 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11182 (__GETDENTS): Don't use CHECK_N.
11183 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11184 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11185 (__getgroups): Don't use CHECK_N.
11186 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11187 (setgroups): Don't use CHECK_N.
11188 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11189 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11190 (__libc_msgrcv): Don't use CHECK_N.
11191 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11192 (__libc_msgsnd): Don't use CHECK_N.
11193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11195 (__libc_pread): Don't use CHECK_N.
11196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11197 include <bp-checks.h>.
11198 (__libc_pread64): Don't use CHECK_N.
11199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11200 include <bp-checks.h>.
11201 (__libc_pwrite): Don't use CHECK_N.
11202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11203 include <bp-checks.h>.
11204 (__libc_pwrite64): Don't use CHECK_N.
11205 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11207 (__libc_pread): Don't use CHECK_N.
11208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11209 include <bp-checks.h>.
11210 (__libc_pread64): Don't use CHECK_N.
11211 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11212 include <bp-checks.h>.
11213 (__libc_pwrite): Don't use CHECK_N.
11214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11215 include <bp-checks.h>.
11216 (__libc_pwrite64): Don't use CHECK_N.
11217 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11218 (do_pread): Don't use CHECK_N.
11219 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11220 (do_pread64): Don't use CHECK_N.
11221 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11222 (do_pwrite): Don't use CHECK_N.
11223 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11224 (do_pwrite64): Don't use CHECK_N.
11225 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11226 (__libc_readv): Don't use CHECK_N.
11227 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11228 (semop): Don't use CHECK_N.
11229 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11231 (semtimedop): Don't use CHECK_N.
11232 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11233 (__libc_pread): Don't use CHECK_N.
11234 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11236 (__libc_pread64): Don't use CHECK_N.
11237 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11239 (__libc_pwrite): Don't use CHECK_N.
11240 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11242 (__libc_pwrite64): Don't use CHECK_N.
11243 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11245 (__libc_msgrcv): Don't use CHECK_N.
11246 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11247 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
11248 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11249 (__libc_writev): Don't use CHECK_N.
11251 2013-02-08 Roland McGrath <roland@hack.frob.com>
11253 * string/strcpy.c: Removed unused variable.
11255 * Makeconfig (+sysdep-includes): Define with := rather than =.
11256 Use an existing include/ subdir of each sysdeps dir before it.
11258 2013-02-08 Carlos O'Donell <carlos@redhat.com>
11260 * nscd/connection.c (register_traced_file): Comment function.
11261 [HAVE_INOTIFY] (union __inev): Define.
11262 [HAVE_INOTIFY] (inotify_check_files): New function.
11263 [HAVE_INOTIFY] (clear_db_cache): Likewise.
11264 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11266 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11268 2013-02-08 Carlos O'Donell <carlos@redhat.com>
11270 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11271 loaded if not already and that a failure is permanent.
11273 2013-02-08 Carlos O'Donell <carlos@redhat.com>
11276 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11277 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11279 2013-02-08 Joseph Myers <joseph@codesourcery.com>
11282 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11283 (CHECK_1_NULL_OK): Likewise.
11284 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11285 (__fxstat): Do not use CHECK_1.
11286 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11288 (___fxstat64): Do not use CHECK_1.
11289 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11291 (__fxstatat): Do not use CHECK_1.
11292 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11294 (__fxstatat64): Do not use CHECK_1.
11295 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11297 (__fxstat): Do not use CHECK_1.
11298 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11300 (__fxstatat): Do not use CHECK_1.
11301 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11303 (__getresgid): Do not use CHECK_1.
11304 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11306 (__getresuid): Do not use CHECK_1.
11307 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11309 (__lxstat): Do not use CHECK_1.
11310 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11312 (__old_msgctl): Do not use CHECK_1.
11313 (__new_msgctl): Likewise.
11314 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11316 (__new_setrlimit): Do not use CHECK_1.
11317 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11319 (__old_shmctl): Do not use CHECK_1.
11320 (__new_shmctl): Likewise.
11321 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11323 (__xstat): Do not use CHECK_1.
11324 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
11325 (__lxstat): Do not use CHECK_1.
11326 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
11328 (___lxstat64): Do not use CHECK_1.
11329 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
11330 (__old_msgctl): Do not use CHECK_1.
11331 (__new_msgctl): Likewise.
11332 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
11334 (__gettimeofday): Do not use CHECK_1.
11335 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11336 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11337 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11339 (__gettimeofday): Do not use CHECK_1.
11340 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11341 (__old_shmctl): Do not use CHECK_1_NULL_OK.
11342 (__new_shmctl): Do not use CHECK_1.
11343 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11345 (do_sigtimedwait): Do not use CHECK_1.
11346 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11348 (do_sigwaitinfo): Do not use CHECK_1.
11349 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11351 (msgctl): Do not use CHECK_1.
11352 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11354 (shmctl): Do not use CHECK_1.
11355 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11356 (ustat): Do not use CHECK_1.
11357 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11359 (__fxstat): Do not use CHECK_1.
11360 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11362 (__fxstatat): Do not use CHECK_1.
11363 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11365 (__lxstat): Do not use CHECK_1.
11366 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11368 (__xstat): Do not use CHECK_1.
11369 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11370 (__xstat): Do not use CHECK_1.
11371 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11372 (___xstat64): Do not use CHECK_1.
11375 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11377 (CHECK_BOUNDS_HIGH): Likewise.
11378 * string/strcpy.c: Do not include <bp-checks.h>.
11379 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11381 2013-02-07 Roland McGrath <roland@hack.frob.com>
11383 * nscd/nscd-client.h (__nscd_drop_map_ref):
11384 Add __attribute__ ((unused)).
11385 * nis/nss-nisplus.h (niserr2nss): Likewise.
11387 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11388 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11390 * csu/libc-tls.c (init_static_tls, init_slotinfo):
11391 Remove inline keyword.
11392 * include/rounding-mode.h (round_away): Likewise.
11393 * libio/wfileops.c (adjust_wide_data): Likewise.
11394 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11395 (__m128i_strloadu_tolower): Likewise.
11396 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11397 (__m128i_strloadu_tolower): Likewise.
11398 * time/mktime.c (ydhms_diff): Likewise.
11399 * locale/elem-hash.h (elem_hash): Likewise.
11400 * locale/setlocale.c (setdata): Likewise.
11401 * posix/regex_internal.h (re_string_char_size_at): Likewise.
11402 (re_string_wchar_at): Likewise.
11403 (bitset_not, bitset_merge, bitset_mask): Likewise.
11404 [!(__GNUC__ > 3)] (inline): Remove macro.
11405 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11406 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11407 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11408 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11409 * string/memcmp.c (memcmp_bytes): Likewise.
11410 * locale/programs/locarchive.c (compute_hashval): Likewise.
11411 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11412 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11413 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11414 * nss/getent.c (print_rpc, print_protocols): Likewise.
11415 (print_passwd, print_group, print_aliases): Likewise.
11416 * nis/nss-nisplus.h (niserr2nss): Likewise.
11417 * nscd/connections.c (restart_p): Likewise.
11418 Change return type to bool.
11420 2013-02-05 Roland McGrath <roland@hack.frob.com>
11422 * Makeconfig (all-Depend-files): Add existing
11423 $(sorted-subdirs:=/Depend) files.
11424 (all-subdirs): Remove nss.
11425 * sysdeps/unix/inet/Subdirs: Add it here instead.
11426 * hesiod/Depend: New file.
11428 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11429 instead of calling alloca.
11431 * io/lseek.c (__lseek): Rename to __libc_lseek.
11432 Define __lseek as an alias.
11434 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11436 2013-02-04 Carlos O'Donell <carlos@redhat.com>
11438 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11439 else clause and remove check for non-standard endianness.
11441 2013-02-04 David S. Miller <davem@davemloft.net>
11443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11445 2013-02-04 Joseph Myers <joseph@codesourcery.com>
11448 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11449 (__ubp_memchr): Remove prototype.
11450 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11451 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11452 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11453 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11454 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11456 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11457 (__ubp_memchr): Likewise.
11458 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11459 (__ubp_memchr): Likewise.
11460 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11461 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11462 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11463 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11465 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11466 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11467 (__getcwd): Do not use CHECK_STRING.
11468 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11470 (__real_chown): Do not use CHECK_STRING.
11471 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11473 (fchownat): Do not use CHECK_STRING.
11474 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11476 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11478 (__lchown): Do not use CHECK_STRING.
11479 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11480 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11481 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11482 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11484 include <bp-checks.h>.
11485 (truncate64): Do not use CHECK_STRING.
11486 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11488 (__real_chown): Do not use CHECK_STRING.
11489 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11491 (__lchown): Do not use CHECK_STRING.
11492 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11494 (__chown): Do not use CHECK_STRING.
11495 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11497 (truncate64): Do not use CHECK_STRING.
11498 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11500 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11501 (__xmknod): Do not use CHECK_STRING.
11502 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11504 (__xmknodat): Do not use CHECK_STRING.
11505 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11506 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11508 2013-02-04 Andreas Schwab <schwab@suse.de>
11511 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11512 * include/netdb.h: Likewise for h_errno.
11513 * elf/tst-stackguard1.c: Include <tls.h>.
11515 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11517 * elf/link.h (struct link_map): Extend the l_addr comment.
11518 * include/link.h (struct link_map): Likewise.
11520 2013-02-01 Joseph Myers <joseph@codesourcery.com>
11523 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11524 (BOUNDED_1): Remove macro.
11525 * debug/backtrace.c: Don't include <bp-checks.h>.
11526 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11527 (__backtrace): Likewise.
11528 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11530 (__backtrace): Don't use BOUNDED_1.
11531 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11533 (__backtrace): Don't use BOUNDED_1.
11534 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11535 (__backtrace): Don't use BOUNDED_1.
11536 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11537 (shmat): Don't use BOUNDED_N.
11539 2013-01-31 Joseph Myers <joseph@codesourcery.com>
11542 * sysdeps/generic/bp-start.h: Remove file.
11543 * csu/libc-start.c: Don't include <bp-start.h>.
11544 (LIBC_START_MAIN): Set up __environ directly instead of using
11545 INIT_ARGV_and_ENVIRON.
11546 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11550 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11552 (CHECK_FCNTL): Likewise.
11553 (CHECK_N_PAGES): Likewise.
11556 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11558 (CHECK_SIGSET_NULL_OK): Likewise.
11559 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11561 (sigpending): Don't use CHECK_SIGSET.
11562 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11564 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11565 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11567 (do_sigsuspend): Don't use CHECK_SIGSET.
11568 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11570 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11571 (do_sigwait): Don't use CHECK_SIGSET.
11572 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11574 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11575 include <bp-checks.h>.
11576 (sigpending): Don't use CHECK_SIGSET.
11577 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11578 include <bp-checks.h>.
11579 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11580 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11582 (sigpending): Don't use CHECK_SIGSET.
11583 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11585 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11588 * sysdeps/generic/bp-semctl.h: Remove file.
11589 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11590 <bp-checks.h> and <bp-semctl.h>.
11591 (__old_semctl): Don't use CHECK_SEMCTL.
11592 (__new_semctl): Likewise.
11593 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11595 (__old_semctl): Don't use CHECK_SEMCTL.
11596 (__new_semctl): Likewise.
11597 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11598 <bp-checks.h> and <bp-semctl.h>.
11599 (__old_semctl): Don't use CHECK_SEMCTL.
11600 (__new_semctl): Likewise.
11601 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11602 <bp-checks.h> and <bp-semctl.h>.
11603 (semctl): Don't use CHECK_SEMCTL.
11606 * Makerules (elide-bp-thunks): Remove variable.
11607 (elide-routines.oS): Don't use $(elide-bp-thunks).
11608 (elide-routines.os): Likewise.
11609 (elide-routines.o): Likewise.
11610 (elide-routines.op): Likewise.
11611 (elide-routines.og): Likewise.
11612 (objects): Don't use $(bp-thunks).
11613 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11615 (common-generated): Do not add s-proto-bp.d.
11616 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11619 Do not generate makefile rules for bounded-pointer thunks.
11620 * sysdeps/generic/bp-thunks.h: Remove file.
11621 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11622 * sysdeps/unix/s-proto-bp.S: Likewise.
11625 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11626 parts of result separately when argument is not close to line from
11627 -i to i and one part of argument is small.
11628 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11629 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11630 * math/libm-test.inc (cacos_test): Add more tests.
11631 (casin_test): Likewise.
11632 (casinh_test): Likewise.
11633 * sysdeps/i386/fpu/libm-test-ulps: Update.
11634 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11636 2013-01-31 David S. Miller <davem@davemloft.net>
11638 * po/de.po: Update from translation team.
11640 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11642 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11644 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11646 * configure.in (_AC_PROG_CC_C89): New definition.
11647 * configure: Regenerate.
11649 * configure.in (AC_PROG_CPP): New definition.
11650 * configure: Regenerate.
11652 2013-01-23 Joseph Myers <joseph@codesourcery.com>
11654 * debug/tst-backtrace.h: New file.
11655 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11656 (ret): Remove variable.
11658 (FAIL): Remove macro.
11659 (NO_INLINE): Likewise.
11660 (fn1): Use match function instead of strstr.
11661 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11662 (ret): Remove variable.
11664 (FAIL): Remove macro.
11665 (NO_INLINE): Likewise.
11666 (fn): Use match function instead of strstr.
11667 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11668 (ret): Remove variable.
11670 (FAIL): Remove macro.
11671 (NO_INLINE): Likewise.
11672 (handle_signal): Use match function instead of strstr.
11673 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11674 (ret): Remove variable.
11676 (FAIL): Remove macro.
11677 (NO_INLINE): Likewise.
11678 (handle_signal): Use match function instead of strstr.
11680 2013-01-23 Roland McGrath <roland@hack.frob.com>
11682 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11684 2013-01-23 David S. Miller <davem@davemloft.net>
11686 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11687 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11688 argument of CAS if possible.
11689 * sysdeps/sparc/sparc64/bits/atomic.h
11690 (__arch_compare_and_exchange_val_32_acq): Likewise.
11691 (__arch_compare_and_exchange_val_64_acq): Likewise.
11693 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11695 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11696 * sysdeps/posix/ulimit.c: ... this.
11697 Include <limits.h>.
11698 * sysdeps/unix/bsd/ulimit.c: Remove file.
11700 2013-01-23 Adam Conrad <adconrad@0c3.net>
11702 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11703 (LDFLAGS-tst-array5): Likewise.
11705 2013-01-23 Joseph Myers <joseph@codesourcery.com>
11708 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11709 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11710 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11711 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11713 2013-01-21 David S. Miller <davem@davemloft.net>
11715 * sysdeps/sparc/backtrace.c: New file.
11716 * sysdeps/sparc/sparc32/backtrace.h: New file.
11717 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11718 * sysdeps/sparc/sparc64/backtrace.h: New file.
11719 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11720 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11723 2013-01-21 Andreas Schwab <schwab@suse.de>
11726 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11729 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11735 2013-01-18 Joseph Myers <joseph@codesourcery.com>
11736 Mark Mitchell <mark@codesourcery.com>
11737 Tom de Vries <tom@codesourcery.com>
11738 Paul Pluzhnikov <ppluzhnikov@google.com>
11740 * debug/tst-backtrace2.c: New file.
11741 * debug/tst-backtrace3.c: Likewise.
11742 * debug/tst-backtrace4.c: Likewise.
11743 * debug/tst-backtrace5.c: Likewise.
11744 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11745 (CFLAGS-tst-backtrace3.c): Likewise.
11746 (CFLAGS-tst-backtrace4.c): Likewise.
11747 (CFLAGS-tst-backtrace5.c): Likewise.
11748 (LDFLAGS-tst-backtrace2): Likewise.
11749 (LDFLAGS-tst-backtrace3): Likewise.
11750 (LDFLAGS-tst-backtrace4): Likewise.
11751 (LDFLAGS-tst-backtrace5): Likewise.
11752 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11753 tst-backtrace4 and tst-backtrace5.
11755 2013-01-18 Anton Blanchard <anton@samba.org>
11756 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11758 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11759 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11760 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11761 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11763 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11764 "+r" and remove output regs list as redundant. Add explicit inline
11765 asm to specify register of return val to work around compiler codegen
11766 bug. Remove (int) cast on return value. Add return type parameter to
11767 use in macro so that this macro does not truncate return value for
11769 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11770 pass to INTERNAL_VSYSCALL_NCS.
11771 (INLINE_VSYSCALL): Add 'long int' as return type to
11772 INTERNAL_VSYSCALL_NCS macro invocation.
11773 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11774 INTERNAL_VSYSCALL_NCS macro invocation.
11775 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11777 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11780 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11781 Fix application of SIMD FP exception mask.
11783 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11784 mp_no from a power of two.
11785 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11786 __mpexp_twomm1. Use __pow_mp.
11788 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11791 2013-01-17 David S. Miller <davem@davemloft.net>
11793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11795 2013-01-17 Joseph Myers <joseph@codesourcery.com>
11798 * include/complex.h: Condition contents on [!_COMPLEX_H].
11799 (__kernel_casinhf): New prototype.
11800 (__kernel_casinh): Likewise.
11801 (__kernel_casinhl): Likewise.
11802 * math/Makefile (libm_calls): Add k_casinh.
11803 * math/k_casinh.c: New file.
11804 * math/k_casinhf.c: Likewise.
11805 * math/k_casinhl.c: Likewise.
11806 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11807 finite nonzero arguments.
11808 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11809 finite nonzero arguments.
11810 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11811 finite nonzero arguments.
11812 * math/s_casinh.c: Do not include <float.h>.
11813 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11814 * math/s_casinhf.c: Do not include <float.h>.
11815 (__casinhf): Move code for finite nonzero arguments to
11817 * math/s_casinhl.c: Do not include <float.h>.
11818 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11820 (__casinhl): Move code for finite nonzero arguments to
11822 * math/libm-test.inc (cacos_test): Add more tests.
11823 * sysdeps/i386/fpu/libm-test-ulps: Update.
11824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11826 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11828 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11829 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11830 [!HAVE_MREMAP]: Remove [defined linux] case.
11831 * malloc/arena.c: Do not include <malloc-sysdep.h>.
11833 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11835 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11837 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
11839 * elf/elf.h (R_386_SIZE32): New relocation.
11840 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11842 (elf_machine_rela): Likewise.
11843 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11844 R_X86_64_SIZE64 and R_X86_64_SIZE32.
11846 2013-01-17 Joseph Myers <joseph@codesourcery.com>
11848 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11849 (FP_FAST_FMA): Do not define.
11850 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11851 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11852 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11853 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11854 !_SOFT_FLOAT]: Likewise.
11855 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11856 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11858 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11859 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11860 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11861 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11862 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11863 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11866 2013-01-16 Andreas Schwab <schwab@suse.de>
11869 * include/stdlib.h (__mktemp): Add declaration.
11870 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11871 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11873 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11875 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11877 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11878 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11879 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11881 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11882 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11884 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11886 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11887 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11888 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11890 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11891 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11893 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11895 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11897 2013-01-15 David S. Miller <davem@davemloft.net>
11899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11900 trunc{,f} to libm-sysdep_routes.
11901 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11910 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11911 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11912 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11913 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11914 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11915 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11916 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11919 nearbyint{,f} to libm-sysdep_routes.
11920 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11929 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11930 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11931 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11933 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11934 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11936 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11937 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11938 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11940 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11941 libc_feholdexcept and libc_fesetenv.
11943 2013-01-15 Mike Frysinger <vapier@gentoo.org>
11945 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11947 2013-01-14 David S. Miller <davem@davemloft.net>
11949 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
11950 (SPARC_ASM_VIS2_IFUNC): Likewise.
11951 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
11952 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
11953 use of 'siam' instruction.
11954 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
11956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11960 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
11961 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
11962 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
11963 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
11964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
11966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11972 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
11973 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
11974 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
11975 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
11976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
11978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
11979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
11980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
11982 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
11983 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
11984 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
11985 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
11986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
11987 routines to libm-sysdep_routines.
11988 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11991 fdim/fdimf to libm-sysdep_routines.
11992 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
11994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11997 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
11998 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
11999 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12000 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12001 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12002 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12003 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12005 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12007 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12008 to optimize copies.
12010 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12011 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12012 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12014 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12015 local variable MPTWO.
12016 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12019 2013-01-13 Mike Frysinger <vapier@gentoo.org>
12021 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12024 2013-01-13 Mike Frysinger <vapier@gentoo.org>
12026 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12028 2013-01-13 Mike Frysinger <vapier@gentoo.org>
12030 * manual/pattern.texi (glob_t): Document gl_flags.
12031 (glob64_t): Likewise.
12033 2013-01-11 David S. Miller <davem@davemloft.net>
12035 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12036 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12037 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
12038 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12039 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12040 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12041 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12042 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12043 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12044 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12045 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12046 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12047 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12049 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12050 sparc V9 rather than using V8 code.
12051 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12052 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12054 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12056 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12059 2013-01-11 Roland McGrath <roland@hack.frob.com>
12061 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12062 not in the main loop.
12063 * configure: Regenerated.
12065 2013-01-11 Joseph Myers <joseph@codesourcery.com>
12067 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12068 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12070 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
12071 [!__GLIBC_HAVE_LONG_LONG] case.
12072 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12073 condition to just #else.
12074 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12075 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12076 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12077 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12079 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12080 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12081 #elif condition to just #else.
12082 * sysdeps/unix/sysv/linux/sys/sysmacros.h
12083 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12084 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12085 #elif condition to just #else.
12087 2013-01-11 Steve Ellcey <sellcey@mips.com>
12089 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12090 (EF_MIPS_ARCH_64): Fix value.
12091 (EF_MIPS_ARCH_32R2): New.
12092 (EF_MIPS_ARCH_64R2): New.
12094 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
12096 * Makeconfig (+link-pie-before-libc): New.
12097 (+link-pie-after-libc): Likewise.
12098 (+link-pie-tests): Likewise.
12099 (+link-pie): Rewritten.
12100 (link-before-libc): Remove $(config-LDFLAGS).
12101 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12102 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12103 (config-LDFLAGS): Renamed to ...
12104 (rtld-LDFLAGS): This.
12105 (rtld-tests-LDFLAGS): New macro.
12106 (link-libc-rpath-link): Likewise.
12107 (link-libc-tests-rpath-link): Likewise.
12108 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12109 (link-libc): Prepand $(link-libc-rpath-link).
12110 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12111 (test-program-prefix): New macro.
12112 (test-via-rtld-prefix): Likewise.
12113 (test-program-cmd): Likewise.
12114 (host-test-program-cmd): Likewise.
12115 * Makefile ($(common-objpfx)testrun.sh): Replace
12116 $(run-program-prefix) with $(test-program-prefix).
12117 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12119 ($(common-objpfx)shlib.lds): Likewise.
12120 (build-module-helper): Likewise.
12121 ($(common-objpfx)format.lds): Likewise.
12122 * Rules (binaries-pie-tests): New.
12123 (binaries-pie-notests): Likewise.
12124 (binaries-pie): Rewritten.
12125 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12126 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12127 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12128 (make-test-out): Replace $(host-built-program-cmd) with
12129 $(host-test-program-cmd).
12130 * config.make.in (build-hardcoded-path-in-tests): New variable.
12131 * configure.in (--enable-hardcoded-path-in-tests): New configure
12133 (hardcoded_path_in_tests): New AC_SUBST.
12134 * configure: Regenerated.
12135 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12136 $(built-program-cmd) with $(test-program-cmd).
12137 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12138 (test_program_cmd): This.
12139 * elf/Makefile ($(objpfx)order.out): Run test with
12140 $(test-program-prefix).
12141 ($(objpfx)order2.out): Likewise.
12142 ($(objpfx)tst-initorder.out): Likewise.
12143 ($(objpfx)tst-initorder2.out): Likewise.
12144 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12145 $(test-program-cmd).
12146 ($(objpfx)tst-array1-static.out): Likewise.
12147 ($(objpfx)tst-array2.out): Likewise.
12148 ($(objpfx)tst-array3.out): Likewise.
12149 ($(objpfx)tst-array4.out): Likewise.
12150 ($(objpfx)tst-array5.out): Likewise.
12151 ($(objpfx)tst-array5-static.out): Likewise.
12152 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12153 $(test-program-cmd).
12154 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12155 $(run-program-prefix) with $(test-program-prefix).
12156 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12157 (test_program_prefix): This.
12158 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12159 $(run-program-prefix) with $(test-program-prefix).
12160 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12161 (test_program_prefix): This.
12162 * iconvdata/tst-tables.sh: Likewise.
12163 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12164 $(run-program-prefix) with $(test-program-prefix).
12165 ($(objpfx)tst-translit.out): Likewise.
12166 ($(objpfx)tst-gettext2.out): Likewise.
12167 ($(objpfx)tst-gettext4.out): Likewise.
12168 ($(objpfx)tst-gettext6.out): Likewise.
12169 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12170 (test_program_prefix): This.
12171 * intl/tst-gettext2.sh: Likewise.
12172 * intl/tst-gettext4.sh Likewise.
12173 * intl/tst-gettext6.sh: Likewise.
12174 * intl/tst-translit.sh: Likewise.
12175 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12176 with $(test-program-cmd).
12177 * libio/Makefile ($(objpfx)test-freopen.out): Replace
12178 $(run-program-prefix) with $(test-program-prefix).
12179 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12180 (test_program_prefix): This.
12181 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12182 $(run-program-prefix) with $(test-program-prefix).
12183 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12184 (test_program_prefix): This.
12185 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12186 * posix/Makefile ($(objpfx)globtest.out): Replace
12187 $(run-via-rtld-prefix) and $(test-wrapper) with
12188 $(test-program-prefix) and $(test-via-rtld-prefix).
12189 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12190 $(test-program-prefix).
12191 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12192 $(host-test-program-cmd).
12193 (tst-spawn-ARGS): Likewise.
12194 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12195 $(test-program-prefix).
12196 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12197 (test_via_rtld_prefix): This.
12198 (test_wrapper): Renamed to ...
12199 (test_program_prefix): This.
12200 (run_program_prefix): Replaced by test_program_prefix.
12201 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12202 (test_program_prefix): This.
12203 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12204 with $(host-test-program-cmd).
12205 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12206 $(run-program-prefix) with $(test-program-prefix).
12207 ($(objpfx)tst-printf.out): Likewise.
12208 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12209 $(test-program-cmd).
12210 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12211 (test_program_prefix): This.
12212 * stdio-common/tst-unbputc.sh: Likewise.
12213 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12214 $(run-program-prefix) with $(test-program-prefix).
12215 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12216 (test_program_prefix): This.
12217 * string/Makefile ($(objpfx)tst-svc.out): Replace
12218 $(built-program-cmd) with $(test-program-cmd).
12220 2013-01-11 Andreas Jaeger <aj@suse.de>
12223 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12224 value. Sync with Linux 3.7.
12226 2013-01-10 David S. Miller <davem@davemloft.net>
12228 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12229 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12230 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12232 2013-01-10 Roland McGrath <roland@hack.frob.com>
12234 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12236 * configure: Regenerated.
12238 2013-01-10 David S. Miller <davem@davemloft.net>
12240 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12241 sparc V9 rather than using V8 code.
12242 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12243 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12245 2013-01-10 Roland McGrath <roland@hack.frob.com>
12247 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12248 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12249 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12250 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12251 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12252 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12253 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12254 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12255 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12256 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12257 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12258 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12259 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12260 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12261 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12262 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12263 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12264 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12265 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12266 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12267 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12268 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12269 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12270 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12271 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12272 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12273 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12275 2013-01-10 David S. Miller <davem@davemloft.net>
12277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12279 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12281 * posix/Makefile (tests-static): New variable.
12282 (tests): Add $(tests-static).
12283 (tst-exec-static-ARGS): New variable.
12284 (tst-spawn-static-ARGS): Likewise.
12285 * posix/tst-exec-static.c: New file.
12286 * posix/tst-spawn-static.c: Likewise.
12287 * posix/tst-exec.c: Support run directly.
12288 * posix/tst-spawn.c: Likewise.
12290 2013-01-10 Joseph Myers <joseph@codesourcery.com>
12292 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12294 * math/bits/mathcalls.h (llrint): Likewise.
12295 (llround): Likewise.
12296 * stdlib/stdlib.h (struct drand48_data): Likewise.
12297 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12298 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12299 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12301 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12303 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12304 (elf_greg_t): Likewise.
12305 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12306 (__jmp_buf): Likewise.
12307 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
12309 (llrint): Likewise, for all definitions.
12310 (llrintl): Likewise.
12312 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
12313 Remove [__GNUC__] condition.
12314 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
12315 condition to just [__USE_ISOC99].
12316 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
12318 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12321 * sysdeps/unix/sysv/linux/x86/bits/environments.h
12322 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12324 (_POSIX_V6_ILP32_OFF32): Likewise.
12325 (_XBS5_ILP32_OFF32): Likewise.
12326 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
12327 (__ILP32_OFFBIG_LDFLAGS): Likewise.
12329 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12331 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12333 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
12334 doubles __mpexp_twomm1. Adjust usage.
12335 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12338 2013-01-10 Andreas Schwab <schwab@suse.de>
12341 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12342 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12344 2013-01-09 David S. Miller <davem@davemloft.net>
12347 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12348 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12349 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12350 TCP_FASTOPEN): Define.
12351 (tcp_repair_opt): New structure.
12352 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12354 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12355 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12356 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12357 (tcp_cookie_transactions): New structure.
12359 2013-01-09 Anton Blanchard <anton@samba.org>
12361 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12362 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12363 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12364 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12366 2013-01-09 Joseph Myers <joseph@codesourcery.com>
12368 * include/features.h (__USE_ANSI): Remove.
12370 2013-01-09 Roland McGrath <roland@hack.frob.com>
12372 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12374 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12376 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12378 * sysdeps/s390/fpu/libm-test-ulps: Update.
12380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12382 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12386 (denorm): Likewise.
12387 (__mp_dbl): Likewise.
12388 (__dbl_mp): Likewise.
12389 (add_magnitudes): Likewise.
12390 (sub_magnitudes): Likewise.
12396 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12400 (denorm): Likewise.
12401 (__mp_dbl): Likewise.
12402 (__dbl_mp): Likewise.
12403 (add_magnitudes): Likewise.
12404 (sub_magnitudes): Likewise.
12410 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12414 (denorm): Likewise.
12415 (__mp_dbl): Likewise.
12416 (__dbl_mp): Likewise.
12417 (add_magnitudes): Likewise.
12418 (sub_magnitudes): Likewise.
12425 2013-01-08 Joseph Myers <joseph@codesourcery.com>
12427 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12428 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12429 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12430 2 && __USE_EXTERN_INLINES]: Likewise.
12432 2013-01-08 Andreas Jaeger <aj@suse.de>
12435 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12437 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12438 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12440 2013-01-07 Anton Blanchard <anton@samba.org>
12442 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12443 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12444 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12445 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12446 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12447 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12448 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12449 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12450 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12451 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12452 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12453 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12454 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12455 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12456 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12457 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12458 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12459 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12460 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12461 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12462 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12463 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12464 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12465 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12466 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12467 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12468 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12469 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12470 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12471 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12472 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12473 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12474 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12475 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12476 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12477 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12478 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12479 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12480 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12481 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12482 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12483 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12484 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12486 2013-01-07 Joseph Myers <joseph@codesourcery.com>
12488 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12489 (__MALLOC_PMT): Likewise.
12490 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12491 [__GNUC__], only on [_LIBC].
12492 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12493 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12494 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12495 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12496 forward declaration.
12497 (realloc_hook_ini): Likewise.
12498 (memalign_hook_ini): Likewise.
12499 (__libc_memalign): Do not use __MALLOC_PMT in variable
12501 (__libc_valloc): Likewise.
12502 (__libc_pvalloc): Likewise.
12503 (__libc_calloc): Likewise.
12504 (__posix_memalign): Likewise.
12507 * math/s_casinh.c: Include <float.h>.
12508 (__casinh): Do not do computation with squaring and square root
12509 for large arguments.
12510 * math/s_casinhf.c: Include <float.h>.
12511 (__casinhf): Do not do computation with squaring and square root
12512 for large arguments.
12513 * math/s_casinhl.c: Include <float.h>.
12514 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12515 (__casinhl): Do not do computation with squaring and square root
12516 for large arguments.
12517 * math/libm-test.inc (casin_test): Add more tests.
12518 (casinh_test): Likewise.
12519 * sysdeps/i386/fpu/libm-test-ulps: Update.
12520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12522 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12524 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12525 (__x86_64_raw_data_cache_size): Likewise.
12526 (__x86_64_data_cache_size_half): Likewise.
12527 (__x86_64_raw_data_cache_size_half): Likewise.
12528 (__x86_64_shared_cache_size): Likewise.
12529 (__x86_64_raw_shared_cache_size): Likewise.
12530 (__x86_64_shared_cache_size_half): Likewise.
12531 (__x86_64_raw_shared_cache_size_half): Likewise.
12532 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12534 (__x86_data_cache_size): This.
12535 (__x86_64_raw_data_cache_size): Renamed to ...
12536 (__x86_raw_data_cache_size): This.
12537 (__x86_64_data_cache_size_half): Renamed to ...
12538 (__x86_data_cache_size_half): This.
12539 (__x86_64_raw_data_cache_size_half): Renamed to ...
12540 (__x86_raw_data_cache_size_half): This.
12541 (__x86_64_shared_cache_size): Renamed to ...
12542 (__x86_shared_cache_size): This.
12543 (__x86_64_raw_shared_cache_size): Renamed to ...
12544 (__x86_raw_shared_cache_size): This.
12545 (__x86_64_shared_cache_size_half): Renamed to ...
12546 (__x86_shared_cache_size_half): This.
12547 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12548 (__x86_raw_shared_cache_size_half): This.
12549 * sysdeps/x86_64/memcpy.S: Updated.
12550 * sysdeps/x86_64/memset.S: Likewise.
12551 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12552 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12553 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12555 2013-01-04 David S. Miller <davem@davemloft.net>
12557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12559 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12561 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12562 1 to avoid redefinition warning.
12563 (__USE_GNU): Don't define.
12564 (init_signaling_nan): Protoize.
12566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12568 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12570 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12571 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12572 (__cpymn): Likewise.
12573 (norm): Remove commented code.
12574 (denorm): Likewise.
12575 (__mp_dbl): Likewise.
12577 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12578 (__cpymn): Likewise.
12579 (norm): Remove commented code.
12580 (denorm): Likewise.
12581 (__mp_dbl): Likewise.
12584 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12585 mp_no value for 1.0 and 2.0.
12586 (norm): Use RADIXI instead of radixi.d.
12587 (denorm): Likewise.
12588 (__mul): Use 0.0 instead of zero.d.
12589 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12590 mp_no value for 1.0 and 2.0.
12591 (norm): Use RADIXI instead of radixi.d.
12592 (denorm): Likewise.
12593 (__mul): Use 0.0 instead of zero.d.
12595 2013-01-04 Joseph Myers <joseph@codesourcery.com>
12598 * math/s_casinh.c (__casinh): Reduce finite argument to first
12599 quadrant then set signs of results at the end.
12600 * math/s_casinhf.c (__casinhf): Likewise.
12601 * math/s_casinhl.c (__casinhl): Likewise.
12602 * math/libm-test.inc (casin_test): Add more tests.
12603 (casinh_test): Likewise.
12604 * sysdeps/i386/fpu/libm-test-ulps: Update.
12605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12607 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12609 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12611 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12613 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12615 (denorm): Likewise.
12616 (__mp_dbl): Likewise.
12619 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12620 and adjust the header comment.
12622 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12623 variable name from declaration.
12625 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12627 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12628 Initialize COMMON_CPUID_INDEX_7 element.
12629 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12630 (CPUID_RTM): Likewise.
12631 (HAS_RTM): Likewise.
12632 (COMMON_CPUID_INDEX_7): New enum.
12634 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12637 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12638 size is zero, record memory as freed.
12640 2013-01-03 Andreas Jaeger <aj@suse.de>
12642 * po/ia.po: Add new Interlingua translation.
12644 2012-01-03 Allan McRae <allan@archlinux.org>
12646 * locale/programs/localedef.c: Fix description of '--posix' flag.
12648 2013-01-02 Joseph Myers <joseph@codesourcery.com>
12650 * NEWS: Update dates in second copyright notice.
12651 * README: Update copyright dates in example.
12652 * manual/libc.texinfo: Update copyright dates.
12653 * scripts/test-installation.pl: Update copyright date in --version
12656 * hurd/ctty-input.c: Fix copyright notice formatting.
12657 * hurd/ctty-output.c: Likewise.
12658 * hurd/dtable.c: Likewise.
12659 * hurd/hurd-raise.c: Likewise.
12660 * hurd/hurdprio.c: Likewise.
12661 * hurd/msgportdemux.c: Likewise.
12662 * misc/sys/file.h: Likewise.
12663 * misc/sys/ioctl.h: Likewise.
12664 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12665 * sysdeps/mach/hurd/chdir.c: Likewise.
12666 * sysdeps/mach/hurd/fchdir.c: Likewise.
12667 * sysdeps/mach/hurd/rename.c: Likewise.
12668 * sysdeps/mach/hurd/rmdir.c: Likewise.
12669 * sysdeps/mach/hurd/seekdir.c: Likewise.
12670 * sysdeps/mach/hurd/setsid.c: Likewise.
12671 * sysdeps/posix/wait3.c: Likewise.
12673 * All files with FSF copyright notices: Update copyright dates
12674 using scripts/update-copyrights.
12675 * intl/plural.c: Regenerated.
12676 * locale/programs/charmap-kw.h: Likewise.
12677 * locale/programs/locfile-kw.h: Likewise.
12679 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12681 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12684 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12685 calculation loop and add branch prediction.
12687 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12688 check access beyond bounds of m1np.
12690 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12692 (__inv): Remove local variable MPTWO to use the global
12694 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12695 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12697 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12698 MP3HALFS static const.
12700 2013-01-01 David S. Miller <davem@davemloft.net>
12702 * po/ca.po: Update from translation team.
12704 2013-01-01 Joseph Myers <joseph@codesourcery.com>
12706 * scripts/update-copyrights: New file.
12707 * Makeconfig: Reformat copyright notice.
12708 * ctype/ctype.h: Likewise.
12709 * debug/swprintf_chk.c: Likewise.
12710 * elf/dl-cache.c: Likewise.
12711 * elf/dl-debug.c: Likewise.
12712 * elf/dl-object.c: Likewise.
12713 * grp/initgroups.c: Likewise.
12714 * hurd/Makefile: Likewise.
12715 * hurd/hurd/signal.h: Likewise.
12716 * hurd/hurdfault.c: Likewise.
12717 * hurd/hurdioctl.c: Likewise.
12718 * hurd/hurdlookup.c: Likewise.
12719 * hurd/intr-msg.c: Likewise.
12720 * iconv/gconv_open.c: Likewise.
12721 * libio/swprintf.c: Likewise.
12722 * locale/lc-ctype.c: Likewise.
12723 * locale/nl_langinfo.c: Likewise.
12724 * mach/Machrules: Likewise.
12725 * mach/Makefile: Likewise.
12726 * malloc/obstack.h: Likewise.
12727 * manual/Makefile: Likewise.
12728 * manual/tsort.awk: Likewise.
12729 * misc/bits/stab.def: Likewise.
12730 * nis/nis_print_group_entry.c: Likewise.
12731 * nis/nis_table.c: Likewise.
12732 * nis/nss_compat/compat-pwd.c: Likewise.
12733 * nis/nss_compat/compat-spwd.c: Likewise.
12734 * po/Makefile: Likewise.
12735 * posix/fnmatch.c: Likewise.
12736 * posix/regex.h: Likewise.
12737 * resolv/Makefile: Likewise.
12738 * resolv/nss_dns/dns-network.c: Likewise.
12739 * resolv/res_hconf.c: Likewise.
12740 * scripts/gen-sorted.awk: Likewise.
12741 * soft-fp/soft-fp.h: Likewise.
12742 * stdio-common/printf.h: Likewise.
12743 * stdlib/monetary.h: Likewise.
12744 * stdlib/random.c: Likewise.
12745 * stdlib/random_r.c: Likewise.
12746 * sysdeps/generic/Makefile: Likewise.
12747 * sysdeps/gnu/Makefile: Likewise.
12748 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12749 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12750 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12751 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12752 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12753 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12754 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12755 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12756 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12757 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12758 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12759 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12760 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12761 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12762 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12763 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12764 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12765 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12766 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12767 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12768 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12769 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12770 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12771 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12772 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12773 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12774 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12775 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12776 * sysdeps/mach/hurd/errnos.awk: Likewise.
12777 * sysdeps/mach/hurd/fork.c: Likewise.
12778 * sysdeps/mach/hurd/getcwd.c: Likewise.
12779 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12780 * sysdeps/mach/hurd/mmap.c: Likewise.
12781 * sysdeps/mach/hurd/utimes.c: Likewise.
12782 * sysdeps/mach/hurd/xmknod.c: Likewise.
12783 * sysdeps/posix/profil.c: Likewise.
12784 * sysdeps/posix/readdir_r.c: Likewise.
12785 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12786 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12787 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12788 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12789 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12790 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12791 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12792 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12793 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12794 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12795 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12796 * sysdeps/pthread/lio_listio.c: Likewise.
12797 * sysdeps/sparc/dl-procinfo.h: Likewise.
12798 * sysdeps/unix/i386/sysdep.S: Likewise.
12799 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12800 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12801 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12802 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12804 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12805 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12806 * sysdeps/unix/sysv/linux/speed.c: Likewise.
12807 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12808 * sysdeps/wordsize-32/divdi3.c: Likewise.
12809 * time/sys/time.h: Likewise.
12810 * wcsmbs/Makefile: Likewise.
12812 2013-01-01 David S. Miller <davem@davemloft.net>
12814 * po/fr.po: Update from translation team.
12816 * catgets/gencat.c: Update copyright year.
12817 * csu/version.c: Likewise.
12818 * debug/catchsegv.sh: Likewise.
12819 * debug/pcprofiledump.c: Likewise.
12820 * debug/xtrace.sh: Likewise.
12821 * elf/ldconfig.c: Likewise.
12822 * elf/ldd.bash.in: Likewise.
12823 * elf/pldd.c: Likewise.
12824 * elf/sotruss.ksh: Likewise.
12825 * elf/sprof.c: Likewise.
12826 * iconv/iconv_prog.c: Likewise.
12827 * iconv/iconvconfig.c: Likewise.
12828 * locale/programs/locale.c: Likewise.
12829 * locale/programs/localedef.c: Likewise.
12830 * login/programs/pt_chown.c: Likewise.
12831 * malloc/memusage.sh: Likewise.
12832 * malloc/memusagestat.c: Likewise.
12833 * malloc/mtrace.pl: Likewise.
12834 * nscd/nscd.c: Likewise.
12835 * nss/getent.c: Likewise.
12836 * nss/makedb.c: Likewise.
12837 * posix/getconf.c: Likewise.
12839 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12841 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12844 2012-12-30 Mike Frysinger <vapier@gentoo.org>
12846 * math/bits/mathcalls.h (modf): Use __nonnull.
12848 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12850 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12851 (split): Use macro CN instead of the bare value.
12852 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12854 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12855 instead of the bare value.
12856 (power1): Likewise.
12858 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12860 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12862 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12864 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12866 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12867 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12868 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12869 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12871 2012-12-28 Andreas Jaeger <aj@suse.de>
12873 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12874 values are from Linux 3.7.
12876 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12877 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12879 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12881 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
12884 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12886 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12887 variables with preprocessor constants.
12888 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12889 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12890 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12892 2012-12-27 Bruno Haible <bruno@clisp.org>
12895 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12898 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12900 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12901 and use variable directly.
12902 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12904 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12906 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12907 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12909 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12910 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12911 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12912 include directive. Remove local variable MPONE.
12913 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12914 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12915 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12917 2012-12-25 David S. Miller <davem@davemloft.net>
12919 * version.h (RELEASE): Set to "development".
12920 (VERSION): Set to "2.17.90".
12921 * NEWS: Add 2.18 section.
12923 2012-12-21 David S. Miller <davem@davemloft.net>
12925 * po/hr.po: Update from translation team.
12927 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12929 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12931 2012-12-19 Steve Ellcey <sellcey@mips.com>
12933 * NEWS: Mention new memcpy for MIPS.
12935 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12937 * manual/contrib.texi (Contributors): Spelling correction.
12939 2012-12-15 David S. Miller <davem@davemloft.net>
12941 * po/ru.po: Update from translation team.
12943 2012-12-13 David S. Miller <davem@davemloft.net>
12945 * NEWS: Mention IFUNC testsuite enhancements.
12947 * po/pl.po: Update from translation team.
12948 * po/bg.po: Likewise.
12950 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12951 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12953 2012-12-11 David S. Miller <davem@davemloft.net>
12955 * po/sv.po: Update from translation team.
12957 * po/vi.po: Update from translation team.
12959 * po/cs.po: Update from translation team.
12961 * po/de.po: Update from translation team.
12962 * po/eo.po: Likewise.
12963 * po/nl.po: Likewise.
12965 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12968 * manual/argp.texi (Argp Helper Functions): Move node to follow
12969 Argp Parsing State.
12972 * manual/conf.texi (Limits on File System Capacity): Mention if
12973 terminating null is included in the max size.
12975 2012-12-10 Andreas Jaeger <aj@suse.de>
12977 * po/cs.po: Update from translation team.
12979 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12981 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
12982 void pointer and cast to uintptr_t.
12983 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
12985 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12986 * sysdeps/s390/s390-64/memset.S: Likewise.
12988 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
12991 * menual/message.texi (Message Translation): Fix typos.
12992 (Helper programs for gettext): Likewise.
12994 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12997 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13000 2012-12-07 David S. Miller <davem@davemloft.net>
13002 * po/libc.pot: Update.
13004 2012-12-07 Richard Henderson <rth@redhat.com>
13007 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13008 normal/normal case to before the switch.
13009 (_FP_DIV): Likewise.
13011 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
13012 Mike Frysinger <vapier@gentoo.org>
13014 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13015 check for __NR_fadvise64_64.
13017 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
13019 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13020 0, not just to plain "0" as a statement.
13021 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13024 2012-12-06 Joseph Myers <joseph@codesourcery.com>
13026 * NEWS: Use sourceware.org in Bugzilla URL.
13028 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13031 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13033 * stdio-common/tst-put-error.c (do_test): Add newline to the
13034 padded test to ensure flush.
13036 2012-12-05 Jeff Law <law@redhat.com>
13038 * sunrpc/etc.rpc (fedfs_admin): Add entry.
13040 2012-12-05 Joseph Myers <joseph@codesourcery.com>
13042 * README: Don't refer to ports add-on as distributed separately.
13043 Mention AArch64 in list of systems supported in the ports add-on.
13045 * LICENSES: Add more non-FSF copyright and license notices.
13047 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13050 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13052 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13053 10000 as width of padded output.
13055 2012-12-04 Joseph Myers <joseph@codesourcery.com>
13057 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13059 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13060 variable LX with __attribute__ ((unused)).
13061 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13063 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13064 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13065 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13066 with __attribute__ ((unused)).
13068 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
13070 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13072 2012-12-04 Joseph Myers <joseph@codesourcery.com>
13074 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13075 (CFLAGS-nldbl-acos.c): New variable.
13076 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13077 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13078 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13079 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13080 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13081 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13082 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13083 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13084 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13085 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13086 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13087 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13088 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13089 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13090 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13091 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13092 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13093 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13094 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13095 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13096 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13097 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13098 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13099 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13100 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13101 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13102 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13103 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13104 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13105 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13106 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13107 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13108 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13109 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13110 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13111 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13112 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13113 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13114 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13115 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13116 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13117 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13118 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13119 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13120 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13121 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13122 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13123 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13124 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13125 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13126 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13127 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13128 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13129 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13130 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13131 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13132 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13133 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13134 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13135 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13136 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13137 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13138 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13139 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13140 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13141 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13142 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13143 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13144 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13145 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13146 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13147 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13148 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13149 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13150 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13151 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13152 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13153 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13154 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13155 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13156 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13157 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13158 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13159 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13160 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13161 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13162 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13163 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13164 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13165 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13166 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13167 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13168 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13169 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13170 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13171 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13172 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13175 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13178 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13179 whole low double instead of just low 47 bits when splitting values
13182 2012-12-03 Allan McRae <allan@archlinux.org>
13184 * manual/stdio.texi (Predefined Printf Handlers): Remove
13185 @hsep and @vsep usage.
13187 2012-12-03 Mike Frysinger <vapier@gentoo.org>
13189 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13190 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13192 2012-12-03 Jeff Law <law@redhat.com>
13194 * time/sys/time.h (settimeofday): Do not mark TV argument
13197 2012-12-01 Mike Frysinger <vapier@gentoo.org>
13199 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13200 when currently writing and seek to current position when not.
13201 * libio/Makefile (tests): Remove bug-fclose1.
13202 * libio/bug-fclose1.c: Delete.
13204 2012-12-01 Joseph Myers <joseph@codesourcery.com>
13206 * manual/arith.texi (feenableexcept): Fix typo.
13207 (fedisableexcept): Likewise.
13209 2012-11-30 Roland McGrath <roland@hack.frob.com>
13211 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13212 second, differently-typed declaration, rather than a cast.
13214 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13216 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13217 * include/rpc/svc.h: ... here.
13219 2012-11-30 Aurelien Jarno <aurel32@debian.org>
13222 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13223 depending n and resplen2 to catch cases where answer
13226 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
13228 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13229 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13231 2012-11-29 Mike Frysinger <vapier@gentoo.org>
13233 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13235 2012-11-29 Roland McGrath <roland@hack.frob.com>
13237 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13239 2012-11-28 Jeff Law <law@redhat.com>
13242 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13243 dataset_temporary. Track alloca usage into alloca_used.
13244 If dataset is large allocate and release it via malloc/free.
13246 2012-06-04 Florian Weimer <fweimer@redhat.com>
13249 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13251 2012-11-28 David S. Miller <davem@davemloft.net>
13253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13255 2012-11-28 Joseph Myers <joseph@codesourcery.com>
13258 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13259 of pi/2 rounded to nearest to 64 bits.
13260 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13261 nearest to 64 bits.
13262 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13265 2012-11-28 Jeff Law <law@redhat.com>
13266 Martin Osvald <mosvald@redhat.com>
13269 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13270 * sunrpc/svc.c: Include time.h.
13271 (__svc_accept_failed): New function.
13272 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13273 any reason other than EINTR, call __svc_accept_failed.
13274 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13275 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13277 2012-11-28 Andreas Schwab <schwab@suse.de>
13279 * scripts/abilist.awk: Also handle indirect functions in .opd
13282 2012-11-28 Joseph Myers <joseph@codesourcery.com>
13285 * sysdeps/x86/fpu/powl_helper.c: New file.
13286 * sysdeps/x86/fpu/Makefile: Likewise.
13287 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13289 (__ieee754_powl): Use __powl_helper for finite arguments except
13290 integer exponents below 8.
13291 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13293 (__ieee754_powl): Use __powl_helper for finite arguments except
13294 integer exponents below 8.
13295 * math/libm-test.inc (pow_test): Add more tests and enable some
13296 previously disabled tests.
13297 * sysdeps/i386/fpu/libm-test-ulps: Update.
13298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13300 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13301 Carlos O'Donell <carlos_odonell@mentor.com>
13303 * nss/makedb.c (is_prime): Assert that input is odd and greater
13304 than 4. Note that fact in a comment too.
13305 (next_prime): Add 4 to input.
13307 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13310 * libio/Makefile (tests): Add test case tst-fwrite-error.
13311 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13312 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13313 * libio/tst-fwrite-error.c: New test case.
13315 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
13317 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
13318 before casting to void *.
13319 * include/libc-internal.h (__pointer_type): New macro.
13320 (__integer_if_pointer_type_sub): Likewise.
13321 (__integer_if_pointer_type): Likewise.
13322 (cast_to_integer): Likewise.
13323 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
13324 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
13325 before casting to atomic64_t.
13326 (atomic_exchange_acq): Likewise.
13327 (__arch_exchange_and_add_body): Likewise.
13328 (__arch_add_body): Likewise.
13329 (atomic_add_negative): Likewise.
13330 (atomic_add_zero): Likewise.
13332 2012-11-26 Joseph Myers <joseph@codesourcery.com>
13334 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
13335 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13336 (add_fdes): Likewise.
13337 (linear_search_fdes): Likewise.
13338 (binary_search_unencoded_fdes): Likewise.
13340 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
13342 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13344 2012-11-24 Adam Conrad <adconrad@0c3.net>
13346 * configure.in: Autodetect C++ header directories.
13347 * configure: Regenerated.
13349 2012-11-23 Mike Frysinger <vapier@gentoo.org>
13351 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13353 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
13355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13357 2012-11-22 Joseph Myers <joseph@codesourcery.com>
13359 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13360 LDBL_MANT_DIG == 106]: Disable some tests.
13361 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13363 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13367 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13368 input for small inputs. Return +/- pi/2 for large inputs.
13369 * math/libm-test.inc (atan_test): Add more tests.
13371 * sysdeps/generic/unwind-dw2-fde-glibc.c
13372 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13373 __attribute__ ((unused)).
13376 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13377 x * y if x and y are nonzero and z is zero.
13380 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13381 nonzero exponents with absolute value below 0x1p-117 to +/-
13385 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13386 up arguments below 2**-450, not just those below 2**-500.
13387 * math/libm-test.inc (hypot_test): Add another test.
13390 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13391 Return a+b for ratio over 2**120, not 2**60.
13392 * math/libm-test.inc (hypot_test): Add another test.
13394 * math/libm-test.inc (clog_test): Use
13395 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13396 (clog10_test): Likewise.
13399 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13401 2012-11-22 Andreas Schwab <schwab@suse.de>
13403 * sysdeps/i386/fpu/libm-test-ulps: Update.
13405 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
13407 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13408 printf output with newline.
13410 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
13413 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13414 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13415 -z nodlopen, -z initfirst and -z execstack support.
13416 * configure: Regenerated.
13418 * elf/elf.h (DF_1_NODIRECT): New macro.
13419 (DF_1_IGNMULDEF): Likewise.
13420 (DF_1_NOKSYMS): Likewise.
13421 (DF_1_NOHDR): Likewise.
13422 (DF_1_EDITED): Likewise.
13423 (DF_1_NORELOC): Likewise.
13424 (DF_1_SYMINTPOSE): Likewise.
13425 (DF_1_GLOBAUDIT): Likewise.
13426 (DF_1_SINGLETON): Likewise.
13427 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13428 DT_1_SUPPORTED_MASK bits.
13429 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13431 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
13433 * sysdeps/unix/make-syscalls.sh: Document prefixes.
13435 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
13437 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13440 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13441 (sendmmsg): Move declarations...
13442 * socket/sys/socket.h: ... here.
13443 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13444 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13446 * socket/recvmmsg.c: ... this new file.
13447 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13448 (sendmmsg): Rename to __sendmmsg, create weak alias and make
13449 definition of __sendmmsg hidden.
13450 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13451 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13452 Move ENOSYS stub into and include it from...
13453 * socket/sendmmsg.c: ... this new file.
13454 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13455 (sysdep_routines): Move recvmmsg and sendmmsg...
13456 * socket/Makefile (routines): ... here.
13457 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13458 (GLIBC_PRIVATE): Add __sendmmsg.
13459 * include/sys/socket.h (__sendmmsg): Add declarations.
13460 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13463 2012-11-20 Joseph Myers <joseph@codesourcery.com>
13465 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13466 variable I1 with __attribute__ ((unused)).
13467 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13469 2012-11-19 Joseph Myers <joseph@codesourcery.com>
13471 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13472 DUMMY variables with __attribute__ ((unused)).
13474 * bits/byteswap.h: Include <bits/types.h>.
13475 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13477 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13479 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13480 string_t. Do not manually set errno.
13481 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13482 length with __strnlen. Make sure to both set errno and return it on
13485 2012-11-19 David S. Miller <davem@davemloft.net>
13487 With help from Joseph Myers.
13488 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13489 very large arguments properly.
13490 * math/libm-test.inc (atan_test): New tests.
13491 (atan2_test): New tests.
13492 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13493 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13495 2012-11-19 Joseph Myers <joseph@codesourcery.com>
13498 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13501 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13502 [POSIX] (EADDRNOTAVAIL): Likewise.
13503 [POSIX] (EAFNOSUPPORT): Likewise.
13504 [POSIX] (EALREADY): Likewise.
13505 [POSIX] (ECONNABORTED): Likewise.
13506 [POSIX] (ECONNREFUSED): Likewise.
13507 [POSIX] (ECONNRESET): Likewise.
13508 [POSIX] (EDESTADDRREQ): Likewise.
13509 [POSIX] (EDQUOT): Likewise.
13510 [POSIX] (EHOSTUNREACH): Likewise.
13511 [POSIX] (EIDRM): Likewise.
13512 [POSIX] (EISCONN): Likewise.
13513 [POSIX] (ELOOP): Likewise.
13514 [POSIX] (EMULTIHOP): Likewise.
13515 [POSIX] (ENETDOWN): Likewise.
13516 [POSIX] (ENETUNREACH): Likewise.
13517 [POSIX] (ENOBUFS): Likewise.
13518 [POSIX] (ENODATA): Likewise.
13519 [POSIX] (ENOLINK): Likewise.
13520 [POSIX] (ENOMSG): Likewise.
13521 [POSIX] (ENOPROTOOPT): Likewise.
13522 [POSIX] (ENOSR): Likewise.
13523 [POSIX] (ENOSTR): Likewise.
13524 [POSIX] (ENOTCONN): Likewise.
13525 [POSIX] (ENOTSOCK): Likewise.
13526 [POSIX] (EOPNOTSUPP): Likewise.
13527 [POSIX] (EOVERFLOW): Likewise.
13528 [POSIX] (EPROTO): Likewise.
13529 [POSIX] (EPROTONOSUPPORT): Likewise.
13530 [POSIX] (EPROTOTYPE): Likewise.
13531 [POSIX] (ESTALE): Likewise.
13532 [POSIX] (ETIME): Likewise.
13533 [POSIX] (ETXTBSY): Likewise.
13534 [POSIX] (EWOULDBLOCK): Likewise.
13535 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13536 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13537 [POSIX] (SEEK_CUR): Likewise.
13538 [POSIX] (SEEK_END): Likewise.
13539 [POSIX || UNIX98] (mode_t): Do not require.
13540 [POSIX] (off_t): Likewise.
13541 [POSIX] (pid_t): Likewise.
13542 [POSIX] (sys/stat.h): Do not allow header.
13543 [POSIX] (unistd.h): Likewise.
13544 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13545 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13546 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13547 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13549 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13550 sigevent): Specify elements.
13551 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13553 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13554 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13556 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13557 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13558 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13559 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13560 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13561 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13562 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13563 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13564 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13565 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13566 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13567 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13568 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13569 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13571 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13573 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13575 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13577 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13578 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13579 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13580 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13581 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13582 Specify lower bound on value.
13583 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13584 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13585 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13586 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13587 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13588 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13589 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13590 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13592 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13594 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13595 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13596 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13597 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13598 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13599 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13600 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13601 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13602 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13603 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13604 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13605 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13606 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13607 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13608 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13609 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13611 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13613 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13614 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13615 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13616 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13617 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13618 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13620 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13621 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13622 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13623 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13624 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13625 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13626 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13628 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13629 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13630 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13631 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13632 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13633 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13634 specify as optional.
13635 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13636 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13637 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13638 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13639 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13640 [XPG3] (NL_LANGMAX): Likewise.
13641 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13642 [POSIX || XPG3] (NL_NMAX): Likewise.
13643 [POSIX || XPG3] (NL_SETMAX): Likewise.
13644 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13645 [XPG3] (NZERO): Likewise.
13646 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13647 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13648 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13649 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13650 (REG_ERANGE): Expect.
13651 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13653 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13654 Use (void) in prototype.
13655 [POSIX] (*_t): Allow.
13656 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13657 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13658 (WRDE_BADVAL): Expect.
13660 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13662 [XPG3 || XPG4] (O_RSYNC): Likewise.
13663 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13665 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13666 [XPG3 || XPG4] (sigqueue): Likewise.
13667 [XPG3 || XPG4] (sigtimedwait): Likewise.
13668 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13669 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13670 [XPG3 || XPG4] (vsnprintf): Likewise.
13671 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13673 [XPG3 || XPG4] (blksize_t): Likewise.
13674 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13676 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13677 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13678 [XPG3 || XPG4] (struct itimerspec): Likewise.
13679 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13680 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13681 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13682 [XPG3 || XPG4] (clockid_t): Likewise.
13683 [XPG3 || XPG4] (timer_t): Likewise.
13684 [XPG3 || XPG4] (clock_getres): Likewise.
13685 [XPG3 || XPG4] (clock_gettime): Likewise.
13686 [XPG3 || XPG4] (clock_settime): Likewise.
13687 [XPG3 || XPG4] (nanosleep): Likewise.
13688 [XPG3 || XPG4] (timer_create): Likewise.
13689 [XPG3 || XPG4] (timer_delete): Likewise.
13690 [XPG3 || XPG4] (timer_gettime): Likewise.
13691 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13692 [XPG3 || XPG4] (timer_settime): Likewise.
13693 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13694 [XPG3 || XPG4] (getlogin_r): Likewise.
13695 [XPG3 || XPG4] (pread): Likewise.
13696 [XPG3 || XPG4] (pthread_atfork): Likewise.
13697 [XPG3 || XPG4] (pwrite): Likewise.
13700 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13703 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13705 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13706 finalizing MALLSTREAM.
13708 * sysdeps/mach/hurd/syncfs.c: New file.
13710 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13713 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13714 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13715 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13716 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13717 (_nss_dns_gethostbyname4_r): Likewise.
13718 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13719 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13721 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13724 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13726 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13728 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13729 * elf/cache.c (print_entry): Print ",AArch64" for
13732 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13733 * elf/cache.c (print_entry): Print ",hard-float" for
13736 2012-11-18 David S. Miller <davem@davemloft.net>
13738 With help from Joseph Myers.
13739 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13741 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13743 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13744 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13746 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13747 * math/libm-test.inc (y0_test): New tests.
13748 (y1_test): New tests.
13749 * sysdeps/i386/fpu/libm-test-ulps: Update.
13750 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13751 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13753 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13755 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13757 * configure: Regenerated.
13759 2012-11-17 David S. Miller <davem@davemloft.net>
13762 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13763 nonzero exponents with absolute value below 0x1p-128 to +/-
13766 2012-11-17 Joseph Myers <joseph@codesourcery.com>
13768 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13770 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13772 * posix/getconf-speclist.c: New file.
13773 * posix/posix-envs.def: Likewise.
13774 * posix/confstr.c (START_ENV_GROUP): New macro.
13775 (END_ENV_GROUP): Likewise.
13776 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13777 (KNOWN_PRESENT_ENV_STRING): Likewise.
13778 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13779 (UNKNOWN_ENVIRONMENT): Likewise.
13780 (confstr): Include posix-envs.def instead of handling
13781 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13782 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13783 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13784 (END_ENV_GROUP): Likewise.
13785 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13786 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13787 (UNKNOWN_ENVIRONMENT): Likewise.
13788 (__sysconf): Include posix-envs.def instead of handling associated
13789 cases directly here.
13790 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13791 preprocessing getconf-speclist.c rather than running getconf or
13792 generating empty file.
13794 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13796 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13798 2012-11-16 Andrej Lajovic <natrij@gmail.com>
13801 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13803 2012-11-16 David S. Miller <davem@davemloft.net>
13805 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13806 smaller than LDBL_EPSILON/2.0L, just return xm1.
13808 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13810 * elf/tst-array1.c (init): Set constructor priority to 1000.
13811 (fini): Set destructor priority to 1000.
13812 * elf/tst-array2dep.c: Likewise.
13814 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13817 * libio/fileops.c (_IO_new_file_write): Correctly return error.
13818 (_IO_new_file_xsputn): Also return EOF if none of the input
13819 data was written when overflow failed.
13820 * libio/iopadn.c (_IO_padn): Likewise.
13821 * libio/iowpadn.c (_IO_wpadn): Likewise.
13822 * stdio-common/tst-put-error.c: Add copyright notice.
13823 (do_test): Add case for printing padded string.
13824 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13825 _IO_padn returned error.
13826 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13827 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13830 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13832 * libio/libioP.h: Add comment note that the references to C++
13833 bits are now obsolete.
13835 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13837 * math/libm-test.inc (check_complex): Use asprintf.
13839 2012-11-14 Joseph Myers <joseph@codesourcery.com>
13841 * debug/pcprofiledump.c (print_version): Update copyright year.
13842 * malloc/memusagestat.c (print_version): Likewise.
13844 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13847 * elf/Makefile (tests): Add tst-audit8.
13848 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13849 ($(objpfx)tst-audit8.out): New target.
13850 (tst-audit8-ENV): New variable.
13851 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13852 audit if l_reloc_result is NULL.
13853 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13854 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13855 * elf/tst-audit8.c: New file.
13857 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13859 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13860 * misc/Makefile (CFLAGS-select.c): Define.
13861 * posix/Makefile (CFLAGS-pause.c): Define.
13863 2012-11-13 David S. Miller <davem@davemloft.net>
13865 * crypt/Makefile: Move test targets after toplevel Rules
13866 inclusion. Grab any necessary sysdep routines when linking.
13867 * crypt/md5.c (md5_process_block): Remove define, we will always
13868 name it __md5_process_block.
13869 (md5_finish_ctx): Update md5_process_block call.
13870 (md5_stream): Likewise.
13871 (md5_process_bytes): Likewise.
13872 (md5_process_block): Rename to __md5_process_block and move to ...
13873 * crypt/md5-block.c: ... here.
13874 * crypt/sha256.c (sha256_process_block): Move to ...
13875 * crypt/sha256-block.c: ... here.
13876 * crypt/sha512.c (sha512_process_block): Move to ...
13877 * crypt/sha512-block.c: ... here.
13878 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13880 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13881 * sysdeps/sparc/sparc64/multiarch/Makefile
13882 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13884 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13885 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13887 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13888 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13889 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13890 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13891 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13892 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13893 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13894 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13895 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13897 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13898 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13900 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13902 2012-11-13 Joseph Myers <joseph@codesourcery.com>
13904 * timezone/tzselect.ksh: Update from tzcode git revision
13905 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13906 * timezone/zdump.c: Likewise.
13907 * timezone/zic.c: Likewise.
13908 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13909 in TZVERSION setting, not $(PKGVERSION).
13910 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13911 REPORT_BUGS_TO settings.
13914 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13917 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13919 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13920 detection to immediately after _FP_ROUND().
13921 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13924 2012-11-11 David S. Miller <davem@davemloft.net>
13926 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13928 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13929 __close rather than their public counterparts.
13931 2012-11-10 Joseph Myers <joseph@codesourcery.com>
13933 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13935 [UNIX98] (sem_timedwait): Do not expect.
13936 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13937 [XPG4 || UNIX98] (sockatmark): Do not expect.
13938 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13939 (clock_getcpuclockid): Do not expect.
13940 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
13941 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
13943 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
13944 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
13945 [UNIX98] (vwscanf): Likewise.
13946 [UNIX98] (vswscanf): Likewise.
13948 2012-11-09 Joseph Myers <joseph@codesourcery.com>
13950 * timezone/version.h: Remove file.
13951 * timezone/README: Do not refer to version.h.
13952 * timezone/Makefile ($(objpfx)zic.o): New dependency on
13953 $(objpfx)version.h.
13954 ($(objpfx)zdump.o): Likewise.
13955 ($(objpfx)version.h): New target.
13957 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13959 * timezone/README: Don't mention modification to tzselect.ksh.
13960 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
13961 work on unmodified tzselect.ksh. Substitute version numbers in
13964 * Makefile (format-me): Remove.
13965 (INSTALL): Adjust indentation. Use commands directly instead of
13966 using $(format-me).
13968 * aclocal.m4 (ACX_PKGVERSION): New macro.
13969 (ACX_BUGURL): Likewise.
13970 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
13971 (PKGVERSION): New AC_DEFINE_UNQUOTED.
13972 (REPORT_BUGS_TO): Likewise.
13973 * configure: Regenerated.
13974 * config.h.in (PKGVERSION): New macro.
13975 (REPORT_BUGS_TO): Likewise.
13976 * config.make.in (PKGVERSION): New variable.
13977 (PKGVERSION_TEXI): Likewise.
13978 (REPORT_BUGS_TO): Likewise.
13979 (REPORT_BUGS_TEXI): Likewise.
13980 * Makefile (format-me): Use -I$(common-objpfx)manual.
13981 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
13982 ($(common-objpfx)manual/%): New target.
13983 (manual/%): Remove target.
13984 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
13985 (print_version): Use PKGVERSION.
13986 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
13987 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
13988 and REPORT_BUGS_TO.
13989 ($(objpfx)xtrace): Likewise.
13990 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
13991 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
13992 (print_version): Use PKGVERSION.
13993 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
13994 (do_version): Use PKGVERSION.
13995 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
13997 (common-ldd-rewrite): Likewise.
13998 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
13999 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14000 (print_version): Use PKGVERSION.
14001 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14002 * elf/pldd.c (argp_program_bug_address): Remove variable.
14003 (more_help): New function.
14004 (argp): Use more_help.
14005 (print_version): Use PKGVERSION.
14006 * elf/sln.c (main): Use PKGVERSION.
14007 (usage): Use REPORT_BUGS_TO.
14008 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14009 (top level): Use PKGVERSION.
14010 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14011 (print_version): Use PKGVERSION.
14012 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14013 (print_version): Use PKGVERSION.
14014 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14015 (print_version): Use PKGVERSION.
14016 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14017 (print_version): Use PKGVERSION.
14018 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14019 (print_version): Use PKGVERSION.
14020 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14021 (print_version): Use PKGVERSION.
14022 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14024 ($(objpfx)memusage): Likewise.
14025 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14026 (do_version): Use PKGVERSION.
14027 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14028 (print_version): Use PKGVERSION.
14029 * malloc/mtrace.pl ($PACKAGE): Remove variable.
14030 ($PKGVERSION): New variable.
14031 ($REPORT_BUGS_TO): Likewise.
14032 (usage): Use $REPORT_BUGS_TO.
14033 (top level): Use $PKGVERSION.
14034 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14035 ($(objpfx)pkgvers.texi): New rule.
14036 ($(objpfx)stamp-pkgvers): Likewise.
14037 * manual/install.texi: Include pkgvers.texi.
14038 (--with-pkgversion): Document new configure option.
14039 (--with-bugurl): Likewise.
14040 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14041 than necessarily for this particular distribution. Use
14042 REPORT_BUGS_TO for where to report bugs.
14043 * INSTALL: Regenerated.
14044 * manual/libc.texinfo: Include pkgvers.texi.
14045 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14046 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14047 (print_version): Use PKGVERSION.
14048 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14049 (print_version): Use PKGVERSION.
14050 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14051 (print_version): Use PKGVERSION.
14052 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14053 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14055 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14056 (print_version): Use PKGVERSION.
14057 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14058 (print_version): Use PKGVERSION.
14059 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14062 * timezone/checktab.awk: Update from tzcode 2012i.
14063 * timezone/ialloc.c: Likewise.
14064 * timezone/private.h: Likewise.
14065 * timezone/scheck.c: Likewise.
14066 * timezone/tzfile.h: Likewise.
14067 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14068 (TZVERSION): Hardcode tzcode version number.
14069 * timezone/zdump.c: Update from tzcode 2012i.
14070 * timezone/zic.c: Likewise.
14071 * timezone/version.h: New file.
14072 * timezone/README: Describe version.h. Update upstream location.
14075 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14076 (mktemp): Enable declaration.
14077 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14078 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14079 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14080 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14082 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14084 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14086 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14088 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14090 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14094 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14095 offset in buffer as u_int32_t not u_long. Consistently use memcpy
14096 for copies of such integer values.
14097 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14098 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14100 2012-11-09 Andreas Jaeger <aj@suse.de>
14102 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14103 definitions and declarations that are provided by
14104 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14106 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14108 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
14109 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14110 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14113 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14115 * elf/elf.h: Update comment before AArch64 relocations.
14117 2012-11-07 David S. Miller <davem@davemloft.net>
14119 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14120 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14121 (__start_context): Declare.
14122 (__makecontext_ret): Delete.
14123 (__makecontext): Hook up __start_context instead of
14125 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14126 (sysdep_routines): Add __start_context when in stdlib.
14128 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14130 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14131 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14132 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
14134 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
14135 (READELF): New variable. Use it instead of hardcoded "readelf".
14137 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
14139 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14140 * sysdeps/x86/Makefile: Here.
14141 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14142 * sysdeps/x86/tst-xmmymm.sh: This.
14144 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14146 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14148 [UNIX98] (pthread_barrier_t): Do not expect.
14149 [UNIX98] (pthread_barrierattr_t): Likewise.
14150 [UNIX98] (pthread_spinlock_t): Likewise.
14151 [UNIX98] (pthread_barrier_destroy): Likewise.
14152 [UNIX98] (pthread_barrier_init): Likewise.
14153 [UNIX98] (pthread_barrier_wait): Likewise.
14154 [UNIX98] (pthread_barrierattr_destroy): Likewise.
14155 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14156 [UNIX98] (pthread_barrierattr_init): Likewise.
14157 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14158 [UNIX98] (pthread_getcpuclockid): Likewise.
14159 [UNIX98] (pthread_mutex_timedlock): Likewise.
14160 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14161 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14162 [UNIX98] (pthread_sigmask): Likewise.
14163 [UNIX98] (pthread_spin_destroy): Likewise.
14164 [UNIX98] (pthread_spin_init): Likewise.
14165 [UNIX98] (pthread_spin_lock): Likewise.
14166 [UNIX98] (pthread_spin_trylock): Likewise.
14167 [UNIX98] (pthread_spin_unlock): Likewise.
14168 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14170 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14171 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14172 [XPG3 || XPG4] (pthread_cond_t): Likewise.
14173 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14174 [XPG3 || XPG4] (pthread_key_t): Likewise.
14175 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14176 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14177 [XPG3 || XPG4] (pthread_once_t): Likewise.
14178 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14179 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14180 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14181 [XPG3 || XPG4] (pthread_t): Likewise.
14183 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14185 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14187 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14188 Change function return type to int.
14190 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14191 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14192 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14193 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14194 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14195 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14196 [!POSIX] (posix_madvise): Likewise.
14197 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14199 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14200 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14201 (mode_t): Likewise.
14202 (posix_mem_offset): Likewise.
14203 (posix_typed_mem_get_info): Likewise.
14204 (posix_typed_mem_open): Likewise.
14206 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14207 Change condition to [XOPEN2K8].
14209 * conform/conformtest.pl: Preprocess allow-header data with -x c
14210 instead of from stdin.
14211 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14212 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14213 [C99-based standards] (cerfc): Likewise.
14214 [C99-based standards] (cexp2): Likewise.
14215 [C99-based standards] (cexpm1): Likewise.
14216 [C99-based standards] (clog10): Likewise.
14217 [C99-based standards] (clog1p): Likewise.
14218 [C99-based standards] (clog2): Likewise.
14219 [C99-based standards] (clgamma): Likewise.
14220 [C99-based standards] (ctgamma): Likewise.
14221 [C99-based standards] (cerff): Likewise.
14222 [C99-based standards] (cerfcf): Likewise.
14223 [C99-based standards] (cexp2f): Likewise.
14224 [C99-based standards] (cexpm1f): Likewise.
14225 [C99-based standards] (clog10f): Likewise.
14226 [C99-based standards] (clog1pf): Likewise.
14227 [C99-based standards] (clog2f): Likewise.
14228 [C99-based standards] (clgammaf): Likewise.
14229 [C99-based standards] (ctgammaf): Likewise.
14230 [C99-based standards] (cerfl): Likewise.
14231 [C99-based standards] (cerfcl): Likewise.
14232 [C99-based standards] (cexp2l): Likewise.
14233 [C99-based standards] (cexpm1l): Likewise.
14234 [C99-based standards] (clog10l): Likewise.
14235 [C99-based standards] (clog1pl): Likewise.
14236 [C99-based standards] (clog2l): Likewise.
14237 [C99-based standards] (clgammal): Likewise.
14238 [C99-based standards] (ctgammal): Likewise.
14239 * conform/data/inttypes.h-data [C99-based standards]: Include
14240 stdint.h-data. Remove all expectations for stdint.h contents.
14241 [C99-based standards] (PRI*): Do not allow.
14242 [C99-based standards] (SCN*): Likewise.
14243 [C99-based standards] (*_t): Likewise.
14244 [C99-based-standards] (PRId8): Expect macro.
14245 [C99-based-standards] (PRIi8): Likewise.
14246 [C99-based-standards] (PRIo8): Likewise.
14247 [C99-based-standards] (PRIu8): Likewise.
14248 [C99-based-standards] (PRIx8): Likewise.
14249 [C99-based-standards] (PRIX8): Likewise.
14250 [C99-based-standards] (SCNd8): Likewise.
14251 [C99-based-standards] (SCNi8): Likewise.
14252 [C99-based-standards] (SCNo8): Likewise.
14253 [C99-based-standards] (SCNu8): Likewise.
14254 [C99-based-standards] (SCNx8): Likewise.
14255 [C99-based-standards] (PRIdLEAST8): Likewise.
14256 [C99-based-standards] (PRIiLEAST8): Likewise.
14257 [C99-based-standards] (PRIoLEAST8): Likewise.
14258 [C99-based-standards] (PRIuLEAST8): Likewise.
14259 [C99-based-standards] (PRIxLEAST8): Likewise.
14260 [C99-based-standards] (PRIXLEAST8): Likewise.
14261 [C99-based-standards] (SCNdLEAST8): Likewise.
14262 [C99-based-standards] (SCNiLEAST8): Likewise.
14263 [C99-based-standards] (SCNoLEAST8): Likewise.
14264 [C99-based-standards] (SCNuLEAST8): Likewise.
14265 [C99-based-standards] (SCNxLEAST8): Likewise.
14266 [C99-based-standards] (PRIdFAST8): Likewise.
14267 [C99-based-standards] (PRIiFAST8): Likewise.
14268 [C99-based-standards] (PRIoFAST8): Likewise.
14269 [C99-based-standards] (PRIuFAST8): Likewise.
14270 [C99-based-standards] (PRIxFAST8): Likewise.
14271 [C99-based-standards] (PRIXFAST8): Likewise.
14272 [C99-based-standards] (SCNdFAST8): Likewise.
14273 [C99-based-standards] (SCNiFAST8): Likewise.
14274 [C99-based-standards] (SCNoFAST8): Likewise.
14275 [C99-based-standards] (SCNuFAST8): Likewise.
14276 [C99-based-standards] (SCNxFAST8): Likewise.
14277 [C99-based-standards] (PRId16): Likewise.
14278 [C99-based-standards] (PRIi16): Likewise.
14279 [C99-based-standards] (PRIo16): Likewise.
14280 [C99-based-standards] (PRIu16): Likewise.
14281 [C99-based-standards] (PRIx16): Likewise.
14282 [C99-based-standards] (PRIX16): Likewise.
14283 [C99-based-standards] (SCNd16): Likewise.
14284 [C99-based-standards] (SCNi16): Likewise.
14285 [C99-based-standards] (SCNo16): Likewise.
14286 [C99-based-standards] (SCNu16): Likewise.
14287 [C99-based-standards] (SCNx16): Likewise.
14288 [C99-based-standards] (PRIdLEAST16): Likewise.
14289 [C99-based-standards] (PRIiLEAST16): Likewise.
14290 [C99-based-standards] (PRIoLEAST16): Likewise.
14291 [C99-based-standards] (PRIuLEAST16): Likewise.
14292 [C99-based-standards] (PRIxLEAST16): Likewise.
14293 [C99-based-standards] (PRIXLEAST16): Likewise.
14294 [C99-based-standards] (SCNdLEAST16): Likewise.
14295 [C99-based-standards] (SCNiLEAST16): Likewise.
14296 [C99-based-standards] (SCNoLEAST16): Likewise.
14297 [C99-based-standards] (SCNuLEAST16): Likewise.
14298 [C99-based-standards] (SCNxLEAST16): Likewise.
14299 [C99-based-standards] (PRIdFAST16): Likewise.
14300 [C99-based-standards] (PRIiFAST16): Likewise.
14301 [C99-based-standards] (PRIoFAST16): Likewise.
14302 [C99-based-standards] (PRIuFAST16): Likewise.
14303 [C99-based-standards] (PRIxFAST16): Likewise.
14304 [C99-based-standards] (PRIXFAST16): Likewise.
14305 [C99-based-standards] (SCNdFAST16): Likewise.
14306 [C99-based-standards] (SCNiFAST16): Likewise.
14307 [C99-based-standards] (SCNoFAST16): Likewise.
14308 [C99-based-standards] (SCNuFAST16): Likewise.
14309 [C99-based-standards] (SCNxFAST16): Likewise.
14310 [C99-based-standards] (PRId32): Likewise.
14311 [C99-based-standards] (PRIi32): Likewise.
14312 [C99-based-standards] (PRIo32): Likewise.
14313 [C99-based-standards] (PRIu32): Likewise.
14314 [C99-based-standards] (PRIx32): Likewise.
14315 [C99-based-standards] (PRIX32): Likewise.
14316 [C99-based-standards] (SCNd32): Likewise.
14317 [C99-based-standards] (SCNi32): Likewise.
14318 [C99-based-standards] (SCNo32): Likewise.
14319 [C99-based-standards] (SCNu32): Likewise.
14320 [C99-based-standards] (SCNx32): Likewise.
14321 [C99-based-standards] (PRIdLEAST32): Likewise.
14322 [C99-based-standards] (PRIiLEAST32): Likewise.
14323 [C99-based-standards] (PRIoLEAST32): Likewise.
14324 [C99-based-standards] (PRIuLEAST32): Likewise.
14325 [C99-based-standards] (PRIxLEAST32): Likewise.
14326 [C99-based-standards] (PRIXLEAST32): Likewise.
14327 [C99-based-standards] (SCNdLEAST32): Likewise.
14328 [C99-based-standards] (SCNiLEAST32): Likewise.
14329 [C99-based-standards] (SCNoLEAST32): Likewise.
14330 [C99-based-standards] (SCNuLEAST32): Likewise.
14331 [C99-based-standards] (SCNxLEAST32): Likewise.
14332 [C99-based-standards] (PRIdFAST32): Likewise.
14333 [C99-based-standards] (PRIiFAST32): Likewise.
14334 [C99-based-standards] (PRIoFAST32): Likewise.
14335 [C99-based-standards] (PRIuFAST32): Likewise.
14336 [C99-based-standards] (PRIxFAST32): Likewise.
14337 [C99-based-standards] (PRIXFAST32): Likewise.
14338 [C99-based-standards] (SCNdFAST32): Likewise.
14339 [C99-based-standards] (SCNiFAST32): Likewise.
14340 [C99-based-standards] (SCNoFAST32): Likewise.
14341 [C99-based-standards] (SCNuFAST32): Likewise.
14342 [C99-based-standards] (SCNxFAST32): Likewise.
14343 [C99-based-standards] (PRId64): Likewise.
14344 [C99-based-standards] (PRIi64): Likewise.
14345 [C99-based-standards] (PRIo64): Likewise.
14346 [C99-based-standards] (PRIu64): Likewise.
14347 [C99-based-standards] (PRIx64): Likewise.
14348 [C99-based-standards] (PRIX64): Likewise.
14349 [C99-based-standards] (SCNd64): Likewise.
14350 [C99-based-standards] (SCNi64): Likewise.
14351 [C99-based-standards] (SCNo64): Likewise.
14352 [C99-based-standards] (SCNu64): Likewise.
14353 [C99-based-standards] (SCNx64): Likewise.
14354 [C99-based-standards] (PRIdLEAST64): Likewise.
14355 [C99-based-standards] (PRIiLEAST64): Likewise.
14356 [C99-based-standards] (PRIoLEAST64): Likewise.
14357 [C99-based-standards] (PRIuLEAST64): Likewise.
14358 [C99-based-standards] (PRIxLEAST64): Likewise.
14359 [C99-based-standards] (PRIXLEAST64): Likewise.
14360 [C99-based-standards] (SCNdLEAST64): Likewise.
14361 [C99-based-standards] (SCNiLEAST64): Likewise.
14362 [C99-based-standards] (SCNoLEAST64): Likewise.
14363 [C99-based-standards] (SCNuLEAST64): Likewise.
14364 [C99-based-standards] (SCNxLEAST64): Likewise.
14365 [C99-based-standards] (PRIdFAST64): Likewise.
14366 [C99-based-standards] (PRIiFAST64): Likewise.
14367 [C99-based-standards] (PRIoFAST64): Likewise.
14368 [C99-based-standards] (PRIuFAST64): Likewise.
14369 [C99-based-standards] (PRIxFAST64): Likewise.
14370 [C99-based-standards] (PRIXFAST64): Likewise.
14371 [C99-based-standards] (SCNdFAST64): Likewise.
14372 [C99-based-standards] (SCNiFAST64): Likewise.
14373 [C99-based-standards] (SCNoFAST64): Likewise.
14374 [C99-based-standards] (SCNuFAST64): Likewise.
14375 [C99-based-standards] (SCNxFAST64): Likewise.
14376 [C99-based-standards] (PRIdMAX): Likewise.
14377 [C99-based-standards] (PRIiMAX): Likewise.
14378 [C99-based-standards] (PRIoMAX): Likewise.
14379 [C99-based-standards] (PRIuMAX): Likewise.
14380 [C99-based-standards] (PRIxMAX): Likewise.
14381 [C99-based-standards] (PRIXMAX): Likewise.
14382 [C99-based-standards] (SCNdMAX): Likewise.
14383 [C99-based-standards] (SCNiMAX): Likewise.
14384 [C99-based-standards] (SCNoMAX): Likewise.
14385 [C99-based-standards] (SCNuMAX): Likewise.
14386 [C99-based-standards] (SCNxMAX): Likewise.
14387 [C99-based-standards] (PRIdPTR): Likewise.
14388 [C99-based-standards] (PRIiPTR): Likewise.
14389 [C99-based-standards] (PRIoPTR): Likewise.
14390 [C99-based-standards] (PRIuPTR): Likewise.
14391 [C99-based-standards] (PRIxPTR): Likewise.
14392 [C99-based-standards] (PRIXPTR): Likewise.
14393 [C99-based-standards] (SCNdPTR): Likewise.
14394 [C99-based-standards] (SCNiPTR): Likewise.
14395 [C99-based-standards] (SCNoPTR): Likewise.
14396 [C99-based-standards] (SCNuPTR): Likewise.
14397 [C99-based-standards] (SCNxPTR): Likewise.
14398 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14400 * conform/data/stdint.h-data: Update comments to clarify
14402 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
14404 [C99-based standards] (INT8_MAX): Likewise.
14405 [C99-based standards] (INT16_MIN): Likewise.
14406 [C99-based standards] (INT16_MAX): Likewise.
14407 [C99-based standards] (INT32_MIN): Likewise.
14408 [C99-based standards] (INT32_MAX): Likewise.
14409 [C99-based standards] (INT64_MIN): Likewise.
14410 [C99-based standards] (INT64_MAX): Likewise.
14411 [C99-based standards] (UINT8_MAX): Likewise.
14412 [C99-based standards] (UINT16_MAX): Likewise.
14413 [C99-based standards] (UINT32_MAX): Likewise.
14414 [C99-based standards] (UINT64_MAX): Likewise.
14415 [C99-based standards] (INT_LEAST8_MIN): Likewise.
14416 [C99-based standards] (INT_LEAST8_MAX): Likewise.
14417 [C99-based standards] (INT_LEAST16_MIN): Likewise.
14418 [C99-based standards] (INT_LEAST16_MAX): Likewise.
14419 [C99-based standards] (INT_LEAST32_MIN): Likewise.
14420 [C99-based standards] (INT_LEAST32_MAX): Likewise.
14421 [C99-based standards] (INT_LEAST64_MIN): Likewise.
14422 [C99-based standards] (INT_LEAST64_MAX): Likewise.
14423 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14424 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14425 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14426 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14427 [C99-based standards] (INT_FAST8_MIN): Likewise.
14428 [C99-based standards] (INT_FAST8_MAX): Likewise.
14429 [C99-based standards] (INT_FAST16_MIN): Likewise.
14430 [C99-based standards] (INT_FAST16_MAX): Likewise.
14431 [C99-based standards] (INT_FAST32_MIN): Likewise.
14432 [C99-based standards] (INT_FAST32_MAX): Likewise.
14433 [C99-based standards] (INT_FAST64_MIN): Likewise.
14434 [C99-based standards] (INT_FAST64_MAX): Likewise.
14435 [C99-based standards] (UINT_FAST8_MAX): Likewise.
14436 [C99-based standards] (UINT_FAST16_MAX): Likewise.
14437 [C99-based standards] (UINT_FAST32_MAX): Likewise.
14438 [C99-based standards] (UINT_FAST64_MAX): Likewise.
14439 [C99-based standards] (INTPTR_MIN): Likewise.
14440 [C99-based standards] (INTPTR_MAX): Likewise.
14441 [C99-based standards] (UINTPTR_MAX): Likewise.
14442 [C99-based standards] (INTMAX_MIN): Likewise.
14443 [C99-based standards] (INTMAX_MAX): Likewise.
14444 [C99-based standards] (UINTMAX_MAX): Likewise.
14445 [C99-based standards] (PTRDIFF_MIN): Likewise.
14446 [C99-based standards] (PTRDIFF_MAX): Likewise.
14447 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14448 [C99-based standards] (SIZE_MAX): Likewise.
14449 [C99-based standards] (WCHAR_MAX): Likewise.
14450 [C99-based standards] (WINT_MAX): Likewise.
14451 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
14452 constraint on value.
14453 [C99-based standards] (WCHAR_MIN): Likewise.
14454 [C99-based standards] (WINT_MIN): Likewise.
14455 [C99-based standards] (*_t): Allow.
14456 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14457 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14458 Include math.h-data and complex.h-data. Remove all expectations
14459 of math.h and complex.h contents.
14460 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14462 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14463 (struct tm): Expect tag.
14464 [C99-based-standards] (wcstof): Expect function.
14465 [C99-based-standards] (wcstold): Likewise.
14466 [C99-based-standards] (wcstoll): Likewise.
14467 [C99-based-standards] (wcstoull): Likewise.
14468 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14469 macro-int-constant. Specify type.
14470 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14471 constraint on value.
14472 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14474 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14476 [ISO C standards]: Do not allow headers.
14477 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14478 wcs[abcdefghijklmnopqrstuvwxyz]*.
14479 [ISO C standards] (*_t): Do not allow.
14480 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14482 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14483 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14485 [ISO C standards]: Do not allow headers.
14486 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14487 is[abcdefghijklmnopqrstuvwxyz]*.
14488 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14489 to[abcdefghijklmnopqrstuvwxyz]*.
14490 [ISO C standards] (*_t): Do not allow.
14491 * conform/data/stdalign.h-data: New file.
14492 * conform/data/stdbool.h-data: Likewise.
14493 * conform/data/stdnoreturn.h-data: Likewise.
14495 2012-11-07 Roland McGrath <roland@hack.frob.com>
14498 * manual/filesys.texi (Directory Entries): Typo fix.
14499 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14501 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14503 * elf/elf.h (EM_AARCH64): New macro.
14504 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14505 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14506 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14507 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14508 (R_AARCH64_TLSDESC): Likewise.
14509 (NT_ARM_TLS): Likewise.
14510 (NT_ARM_HW_BREAK): Likewise.
14511 (NT_ARM_HW_WATCH): Likewise.
14513 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14516 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14517 (__ieee754_powl): Saturate nonzero exponents with absolute value
14518 below 0x1p-79 to +/- 0x1p-79.
14519 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14520 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14521 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14522 nonzero exponents with absolute value below 0x1p-32 to +/-
14524 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14525 (__ieee754_powl): Saturate nonzero exponents with absolute value
14526 below 0x1p-79 to +/- 0x1p-79.
14527 * math/libm-test.inc (pow_test): Add more tests.
14529 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14531 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14532 _dl_s390_cap_flags with kernel. Increase string length.
14533 (_dl_s390_platforms): Add z196 and zEC12.
14535 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14537 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14538 Change XOPEN21K to XOPEN2K.
14540 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14542 * string/memmove.c: Use memcpy when possible.
14544 2012-11-06 Andreas Jaeger <aj@suse.de>
14546 * po/eo.po: Update from translation team.
14548 2012-11-06 Joseph Myers <joseph@codesourcery.com>
14551 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14552 exponent and small x and y exponents, scale x or y up. Increase
14553 by 2 the exponent used in scaling up.
14554 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14555 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14556 * math/libm-test.inc (fma_test): Add more tests.
14557 (fma_test_towardzero): Likewise.
14558 (fma_test_downward): Likewise.
14559 (fma_test_upward): Likewise.
14561 2012-11-05 Joseph Myers <joseph@codesourcery.com>
14564 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14568 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14569 namespace for names of struct fields.
14570 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14572 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14573 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14575 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14578 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14580 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14582 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14586 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14589 2012-11-04 Joseph Myers <joseph@codesourcery.com>
14592 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14593 definitely overflow as x * y not x * y + z.
14594 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14595 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14596 * math/libm-test.inc (fma_test): Add more tests.
14597 (fma_test_towardzero): Likewise.
14598 (fma_test_downward): Likewise.
14599 (fma_test_upward): Likewise.
14601 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14605 * include/stub-tag.h: Remove file.
14606 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14608 * manual/maint.texi (Porting): Don't reference it.
14609 * Makerules ($(objpfx)stubs): Likewise.
14610 * dirent/closedir.c: Don't include <stub-tag.h>.
14611 * dirent/dirfd.c: Likewise.
14612 * dirent/fdopendir.c: Likewise.
14613 * dirent/getdents.c: Likewise.
14614 * dirent/getdents64.c: Likewise.
14615 * dirent/opendir.c: Likewise.
14616 * dirent/readdir.c: Likewise.
14617 * dirent/readdir64.c: Likewise.
14618 * dirent/readdir64_r.c: Likewise.
14619 * dirent/readdir_r.c: Likewise.
14620 * dirent/rewinddir.c: Likewise.
14621 * dirent/seekdir.c: Likewise.
14622 * dirent/telldir.c: Likewise.
14623 * gmon/profil.c: Likewise.
14624 * grp/setgroups.c: Likewise.
14625 * inet/if_index.c: Likewise.
14626 * io/access.c: Likewise.
14627 * io/chdir.c: Likewise.
14628 * io/chmod.c: Likewise.
14629 * io/chown.c: Likewise.
14630 * io/close.c: Likewise.
14631 * io/dup.c: Likewise.
14632 * io/dup2.c: Likewise.
14633 * io/dup3.c: Likewise.
14634 * io/euidaccess.c: Likewise.
14635 * io/faccessat.c: Likewise.
14636 * io/fchdir.c: Likewise.
14637 * io/fchmod.c: Likewise.
14638 * io/fchmodat.c: Likewise.
14639 * io/fchown.c: Likewise.
14640 * io/fchownat.c: Likewise.
14641 * io/fcntl.c: Likewise.
14642 * io/flock.c: Likewise.
14643 * io/fstatfs.c: Likewise.
14644 * io/fstatfs64.c: Likewise.
14645 * io/fstatvfs.c: Likewise.
14646 * io/fstatvfs64.c: Likewise.
14647 * io/futimens.c: Likewise.
14648 * io/fxstat.c: Likewise.
14649 * io/fxstat64.c: Likewise.
14650 * io/fxstatat.c: Likewise.
14651 * io/fxstatat64.c: Likewise.
14652 * io/getcwd.c: Likewise.
14653 * io/isatty.c: Likewise.
14654 * io/lchmod.c: Likewise.
14655 * io/lchown.c: Likewise.
14656 * io/link.c: Likewise.
14657 * io/linkat.c: Likewise.
14658 * io/lseek.c: Likewise.
14659 * io/lseek64.c: Likewise.
14660 * io/lxstat64.c: Likewise.
14661 * io/mkdir.c: Likewise.
14662 * io/mkdirat.c: Likewise.
14663 * io/mkfifo.c: Likewise.
14664 * io/mkfifoat.c: Likewise.
14665 * io/open.c: Likewise.
14666 * io/open64.c: Likewise.
14667 * io/openat.c: Likewise.
14668 * io/openat64.c: Likewise.
14669 * io/pipe.c: Likewise.
14670 * io/pipe2.c: Likewise.
14671 * io/poll.c: Likewise.
14672 * io/posix_fadvise.c: Likewise.
14673 * io/posix_fadvise64.c: Likewise.
14674 * io/posix_fallocate.c: Likewise.
14675 * io/posix_fallocate64.c: Likewise.
14676 * io/read.c: Likewise.
14677 * io/readlink.c: Likewise.
14678 * io/readlinkat.c: Likewise.
14679 * io/rmdir.c: Likewise.
14680 * io/sendfile.c: Likewise.
14681 * io/sendfile64.c: Likewise.
14682 * io/statfs.c: Likewise.
14683 * io/statfs64.c: Likewise.
14684 * io/statvfs.c: Likewise.
14685 * io/statvfs64.c: Likewise.
14686 * io/symlink.c: Likewise.
14687 * io/symlinkat.c: Likewise.
14688 * io/ttyname.c: Likewise.
14689 * io/ttyname_r.c: Likewise.
14690 * io/umask.c: Likewise.
14691 * io/unlink.c: Likewise.
14692 * io/unlinkat.c: Likewise.
14693 * io/utime.c: Likewise.
14694 * io/utimensat.c: Likewise.
14695 * io/write.c: Likewise.
14696 * io/xmknod.c: Likewise.
14697 * io/xmknodat.c: Likewise.
14698 * io/xstat.c: Likewise.
14699 * io/xstat64.c: Likewise.
14700 * login/getpt.c: Likewise.
14701 * login/grantpt.c: Likewise.
14702 * login/unlockpt.c: Likewise.
14703 * math/e_acoshl.c: Likewise.
14704 * math/e_acosl.c: Likewise.
14705 * math/e_asinl.c: Likewise.
14706 * math/e_atan2l.c: Likewise.
14707 * math/e_atanhl.c: Likewise.
14708 * math/e_coshl.c: Likewise.
14709 * math/e_expl.c: Likewise.
14710 * math/e_fmodl.c: Likewise.
14711 * math/e_gammal_r.c: Likewise.
14712 * math/e_hypotl.c: Likewise.
14713 * math/e_j0l.c: Likewise.
14714 * math/e_j1l.c: Likewise.
14715 * math/e_jnl.c: Likewise.
14716 * math/e_lgammal_r.c: Likewise.
14717 * math/e_log10l.c: Likewise.
14718 * math/e_log2l.c: Likewise.
14719 * math/e_logl.c: Likewise.
14720 * math/e_powl.c: Likewise.
14721 * math/e_rem_pio2l.c: Likewise.
14722 * math/e_sinhl.c: Likewise.
14723 * math/e_sqrtl.c: Likewise.
14724 * math/fclrexcpt.c: Likewise.
14725 * math/fedisblxcpt.c: Likewise.
14726 * math/feenablxcpt.c: Likewise.
14727 * math/fegetenv.c: Likewise.
14728 * math/fegetexcept.c: Likewise.
14729 * math/fegetround.c: Likewise.
14730 * math/feholdexcpt.c: Likewise.
14731 * math/fesetenv.c: Likewise.
14732 * math/fesetround.c: Likewise.
14733 * math/feupdateenv.c: Likewise.
14734 * math/fgetexcptflg.c: Likewise.
14735 * math/fraiseexcpt.c: Likewise.
14736 * math/fsetexcptflg.c: Likewise.
14737 * math/ftestexcept.c: Likewise.
14738 * math/k_cosl.c: Likewise.
14739 * math/k_rem_pio2l.c: Likewise.
14740 * math/k_sinl.c: Likewise.
14741 * math/k_tanl.c: Likewise.
14742 * math/s_asinhl.c: Likewise.
14743 * math/s_atanl.c: Likewise.
14744 * math/s_cbrtl.c: Likewise.
14745 * math/s_erfl.c: Likewise.
14746 * math/s_expm1l.c: Likewise.
14747 * math/s_log1pl.c: Likewise.
14748 * math/s_tanhl.c: Likewise.
14749 * misc/acct.c: Likewise.
14750 * misc/brk.c: Likewise.
14751 * misc/chflags.c: Likewise.
14752 * misc/chroot.c: Likewise.
14753 * misc/fchflags.c: Likewise.
14754 * misc/fgetxattr.c: Likewise.
14755 * misc/flistxattr.c: Likewise.
14756 * misc/fremovexattr.c: Likewise.
14757 * misc/fsetxattr.c: Likewise.
14758 * misc/fsync.c: Likewise.
14759 * misc/ftruncate.c: Likewise.
14760 * misc/futimes.c: Likewise.
14761 * misc/futimesat.c: Likewise.
14762 * misc/getdomain.c: Likewise.
14763 * misc/getdtsz.c: Likewise.
14764 * misc/gethostid.c: Likewise.
14765 * misc/gethostname.c: Likewise.
14766 * misc/getloadavg.c: Likewise.
14767 * misc/getpagesize.c: Likewise.
14768 * misc/getsysstats.c: Likewise.
14769 * misc/getxattr.c: Likewise.
14770 * misc/gtty.c: Likewise.
14771 * misc/ioctl.c: Likewise.
14772 * misc/lgetxattr.c: Likewise.
14773 * misc/listxattr.c: Likewise.
14774 * misc/llistxattr.c: Likewise.
14775 * misc/lremovexattr.c: Likewise.
14776 * misc/lsetxattr.c: Likewise.
14777 * misc/lutimes.c: Likewise.
14778 * misc/madvise.c: Likewise.
14779 * misc/mincore.c: Likewise.
14780 * misc/mlock.c: Likewise.
14781 * misc/mlockall.c: Likewise.
14782 * misc/mmap.c: Likewise.
14783 * misc/mprotect.c: Likewise.
14784 * misc/msync.c: Likewise.
14785 * misc/munlock.c: Likewise.
14786 * misc/munlockall.c: Likewise.
14787 * misc/munmap.c: Likewise.
14788 * misc/preadv.c: Likewise.
14789 * misc/preadv64.c: Likewise.
14790 * misc/ptrace.c: Likewise.
14791 * misc/pwritev.c: Likewise.
14792 * misc/pwritev64.c: Likewise.
14793 * misc/readv.c: Likewise.
14794 * misc/reboot.c: Likewise.
14795 * misc/remap_file_pages.c: Likewise.
14796 * misc/removexattr.c: Likewise.
14797 * misc/revoke.c: Likewise.
14798 * misc/select.c: Likewise.
14799 * misc/setdomain.c: Likewise.
14800 * misc/setegid.c: Likewise.
14801 * misc/seteuid.c: Likewise.
14802 * misc/sethostid.c: Likewise.
14803 * misc/sethostname.c: Likewise.
14804 * misc/setregid.c: Likewise.
14805 * misc/setreuid.c: Likewise.
14806 * misc/setxattr.c: Likewise.
14807 * misc/sstk.c: Likewise.
14808 * misc/stty.c: Likewise.
14809 * misc/swapoff.c: Likewise.
14810 * misc/swapon.c: Likewise.
14811 * misc/sync.c: Likewise.
14812 * misc/syncfs.c: Likewise.
14813 * misc/syscall.c: Likewise.
14814 * misc/truncate.c: Likewise.
14815 * misc/ualarm.c: Likewise.
14816 * misc/usleep.c: Likewise.
14817 * misc/ustat.c: Likewise.
14818 * misc/utimes.c: Likewise.
14819 * misc/vhangup.c: Likewise.
14820 * misc/writev.c: Likewise.
14821 * posix/_exit.c: Likewise.
14822 * posix/alarm.c: Likewise.
14823 * posix/execve.c: Likewise.
14824 * posix/fexecve.c: Likewise.
14825 * posix/fork.c: Likewise.
14826 * posix/fpathconf.c: Likewise.
14827 * posix/getaddrinfo.c: Likewise.
14828 * posix/getegid.c: Likewise.
14829 * posix/geteuid.c: Likewise.
14830 * posix/getgid.c: Likewise.
14831 * posix/getgroups.c: Likewise.
14832 * posix/getlogin.c: Likewise.
14833 * posix/getlogin_r.c: Likewise.
14834 * posix/getpgid.c: Likewise.
14835 * posix/getpid.c: Likewise.
14836 * posix/getppid.c: Likewise.
14837 * posix/getresgid.c: Likewise.
14838 * posix/getresuid.c: Likewise.
14839 * posix/getsid.c: Likewise.
14840 * posix/getuid.c: Likewise.
14841 * posix/glob64.c: Likewise.
14842 * posix/nanosleep.c: Likewise.
14843 * posix/pathconf.c: Likewise.
14844 * posix/pause.c: Likewise.
14845 * posix/posix_madvise.c: Likewise.
14846 * posix/pread.c: Likewise.
14847 * posix/pread64.c: Likewise.
14848 * posix/pwrite.c: Likewise.
14849 * posix/pwrite64.c: Likewise.
14850 * posix/sched_getaffinity.c: Likewise.
14851 * posix/sched_getp.c: Likewise.
14852 * posix/sched_gets.c: Likewise.
14853 * posix/sched_primax.c: Likewise.
14854 * posix/sched_primin.c: Likewise.
14855 * posix/sched_rr_gi.c: Likewise.
14856 * posix/sched_setaffinity.c: Likewise.
14857 * posix/sched_setp.c: Likewise.
14858 * posix/sched_sets.c: Likewise.
14859 * posix/sched_yield.c: Likewise.
14860 * posix/setgid.c: Likewise.
14861 * posix/setlogin.c: Likewise.
14862 * posix/setpgid.c: Likewise.
14863 * posix/setresgid.c: Likewise.
14864 * posix/setresuid.c: Likewise.
14865 * posix/setsid.c: Likewise.
14866 * posix/setuid.c: Likewise.
14867 * posix/sleep.c: Likewise.
14868 * posix/spawni.c: Likewise.
14869 * posix/sysconf.c: Likewise.
14870 * posix/times.c: Likewise.
14871 * posix/wait.c: Likewise.
14872 * posix/wait3.c: Likewise.
14873 * posix/wait4.c: Likewise.
14874 * posix/waitpid.c: Likewise.
14875 * resolv/gai_sigqueue.c: Likewise.
14876 * resource/getpriority.c: Likewise.
14877 * resource/getrlimit.c: Likewise.
14878 * resource/getrusage.c: Likewise.
14879 * resource/nice.c: Likewise.
14880 * resource/setpriority.c: Likewise.
14881 * resource/setrlimit.c: Likewise.
14882 * resource/ulimit.c: Likewise.
14883 * rt/aio_cancel.c: Likewise.
14884 * rt/aio_fsync.c: Likewise.
14885 * rt/aio_read.c: Likewise.
14886 * rt/aio_sigqueue.c: Likewise.
14887 * rt/aio_suspend.c: Likewise.
14888 * rt/aio_write.c: Likewise.
14889 * rt/clock_getres.c: Likewise.
14890 * rt/clock_gettime.c: Likewise.
14891 * rt/clock_nanosleep.c: Likewise.
14892 * rt/clock_settime.c: Likewise.
14893 * rt/lio_listio.c: Likewise.
14894 * rt/mq_close.c: Likewise.
14895 * rt/mq_getattr.c: Likewise.
14896 * rt/mq_notify.c: Likewise.
14897 * rt/mq_open.c: Likewise.
14898 * rt/mq_receive.c: Likewise.
14899 * rt/mq_send.c: Likewise.
14900 * rt/mq_setattr.c: Likewise.
14901 * rt/mq_timedreceive.c: Likewise.
14902 * rt/mq_timedsend.c: Likewise.
14903 * rt/mq_unlink.c: Likewise.
14904 * rt/shm_open.c: Likewise.
14905 * rt/shm_unlink.c: Likewise.
14906 * rt/timer_create.c: Likewise.
14907 * rt/timer_delete.c: Likewise.
14908 * rt/timer_getoverr.c: Likewise.
14909 * rt/timer_gettime.c: Likewise.
14910 * rt/timer_settime.c: Likewise.
14911 * setjmp/__longjmp.c: Likewise.
14912 * setjmp/setjmp.c: Likewise.
14913 * signal/kill.c: Likewise.
14914 * signal/killpg.c: Likewise.
14915 * signal/raise.c: Likewise.
14916 * signal/sigaction.c: Likewise.
14917 * signal/sigaltstack.c: Likewise.
14918 * signal/sigblock.c: Likewise.
14919 * signal/sigignore.c: Likewise.
14920 * signal/sigintr.c: Likewise.
14921 * signal/signal.c: Likewise.
14922 * signal/sigpause.c: Likewise.
14923 * signal/sigpending.c: Likewise.
14924 * signal/sigqueue.c: Likewise.
14925 * signal/sigreturn.c: Likewise.
14926 * signal/sigset.c: Likewise.
14927 * signal/sigsetmask.c: Likewise.
14928 * signal/sigstack.c: Likewise.
14929 * signal/sigsuspend.c: Likewise.
14930 * signal/sigtimedwait.c: Likewise.
14931 * signal/sigvec.c: Likewise.
14932 * signal/sigwait.c: Likewise.
14933 * signal/sigwaitinfo.c: Likewise.
14934 * signal/sysv_signal.c: Likewise.
14935 * socket/accept.c: Likewise.
14936 * socket/accept4.c: Likewise.
14937 * socket/bind.c: Likewise.
14938 * socket/connect.c: Likewise.
14939 * socket/getpeername.c: Likewise.
14940 * socket/getsockname.c: Likewise.
14941 * socket/getsockopt.c: Likewise.
14942 * socket/isfdtype.c: Likewise.
14943 * socket/listen.c: Likewise.
14944 * socket/recv.c: Likewise.
14945 * socket/recvfrom.c: Likewise.
14946 * socket/recvmsg.c: Likewise.
14947 * socket/send.c: Likewise.
14948 * socket/sendmsg.c: Likewise.
14949 * socket/sendto.c: Likewise.
14950 * socket/setsockopt.c: Likewise.
14951 * socket/shutdown.c: Likewise.
14952 * socket/sockatmark.c: Likewise.
14953 * socket/socket.c: Likewise.
14954 * socket/socketpair.c: Likewise.
14955 * stdio-common/ctermid.c: Likewise.
14956 * stdio-common/cuserid.c: Likewise.
14957 * stdio-common/remove.c: Likewise.
14958 * stdio-common/rename.c: Likewise.
14959 * stdio-common/renameat.c: Likewise.
14960 * stdio-common/tempname.c: Likewise.
14961 * stdlib/getcontext.c: Likewise.
14962 * stdlib/makecontext.c: Likewise.
14963 * stdlib/setcontext.c: Likewise.
14964 * stdlib/swapcontext.c: Likewise.
14965 * stdlib/system.c: Likewise.
14966 * streams/fattach.c: Likewise.
14967 * streams/fdetach.c: Likewise.
14968 * streams/getmsg.c: Likewise.
14969 * streams/getpmsg.c: Likewise.
14970 * streams/putmsg.c: Likewise.
14971 * streams/putpmsg.c: Likewise.
14972 * sysdeps/unix/bsd/getpt.c: Likewise.
14973 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
14974 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
14975 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
14978 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
14979 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
14980 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
14981 * sysvipc/msgctl.c: Likewise.
14982 * sysvipc/msgget.c: Likewise.
14983 * sysvipc/msgrcv.c: Likewise.
14984 * sysvipc/msgsnd.c: Likewise.
14985 * sysvipc/semctl.c: Likewise.
14986 * sysvipc/semget.c: Likewise.
14987 * sysvipc/semop.c: Likewise.
14988 * sysvipc/semtimedop.c: Likewise.
14989 * sysvipc/shmat.c: Likewise.
14990 * sysvipc/shmctl.c: Likewise.
14991 * sysvipc/shmdt.c: Likewise.
14992 * sysvipc/shmget.c: Likewise.
14993 * termios/tcdrain.c: Likewise.
14994 * termios/tcflow.c: Likewise.
14995 * termios/tcflush.c: Likewise.
14996 * termios/tcgetattr.c: Likewise.
14997 * termios/tcgetpgrp.c: Likewise.
14998 * termios/tcsendbrk.c: Likewise.
14999 * termios/tcsetattr.c: Likewise.
15000 * termios/tcsetpgrp.c: Likewise.
15001 * time/adjtime.c: Likewise.
15002 * time/clock.c: Likewise.
15003 * time/getitimer.c: Likewise.
15004 * time/gettimeofday.c: Likewise.
15005 * time/setitimer.c: Likewise.
15006 * time/settimeofday.c: Likewise.
15007 * time/stime.c: Likewise.
15008 * time/time.c: Likewise.
15010 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
15012 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15015 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15017 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15019 2012-11-03 Joseph Myers <joseph@codesourcery.com>
15022 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15023 FE_TONEAREST before applying Dekker multiplication and Knuth
15024 addition. Clear inexact exceptions and check for exact zero
15025 results afterwards.
15026 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15027 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15028 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15029 * math/libm-test.inc (fma_test): Add more tests.
15030 (fma_test_towardzero): Likewise.
15031 (fma_test_downward): Likewise.
15032 (fma_test_upward): Likewise.
15033 * sysdeps/generic/math_private.h (default_libc_fesetround): New
15035 (libc_fesetround): New macro.
15036 (libc_fesetroundf): Likewise.
15037 (libc_fesetroundl): Likewise.
15038 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15040 (libc_fesetround_387): Likewise.
15041 (libc_fesetroundf): New macro.
15042 (libc_fesetround): Likewise.
15043 (libc_fesetroundl): Likewise.
15044 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15046 (libc_fesetroundf): New macro.
15047 (libc_fesetround): Likewise.
15048 (libc_fesetroundl): Likewise.
15049 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15050 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15051 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15053 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15054 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15056 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15057 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15059 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15063 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15064 integer constant usable in #if and use that to give value to enum
15066 (FE_DIVBYZERO): Likewise.
15067 (FE_UNDERFLOW): Likewise.
15068 (FE_OVERFLOW): Likewise.
15069 (FE_INVALID): Likewise.
15070 (FE_INVALID_SNAN): Likewise.
15071 (FE_INVALID_ISI): Likewise.
15072 (FE_INVALID_IDI): Likewise.
15073 (FE_INVALID_ZDZ): Likewise.
15074 (FE_INVALID_IMZ): Likewise.
15075 (FE_INVALID_COMPARE): Likewise.
15076 (FE_INVALID_SOFTWARE): Likewise.
15077 (FE_INVALID_SQRT): Likewise.
15078 (FE_INVALID_INTEGER_CONVERSION): Likewise.
15079 (FE_TONEAREST): Likewise.
15080 (FE_TOWARDZERO): Likewise.
15081 (FE_UPWARD): Likewise.
15082 (FE_DOWNWARD): Likewise.
15083 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15084 (FE_DIVBYZERO): Likewise.
15085 (FE_OVERFLOW): Likewise.
15086 (FE_UNDERFLOW): Likewise.
15087 (FE_INEXACT): Likewise.
15088 (FE_TONEAREST): Likewise.
15089 (FE_DOWNWARD): Likewise.
15090 (FE_UPWARD): Likewise.
15091 (FE_TOWARDZERO): Likewise.
15092 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15093 (FE_UNDERFLOW): Likewise.
15094 (FE_OVERFLOW): Likewise.
15095 (FE_DIVBYZERO): Likewise.
15096 (FE_INVALID): Likewise.
15097 (FE_TONEAREST): Likewise.
15098 (FE_TOWARDZERO): Likewise.
15099 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15100 (FE_OVERFLOW): Likewise.
15101 (FE_UNDERFLOW): Likewise.
15102 (FE_DIVBYZERO): Likewise.
15103 (FE_INEXACT): Likewise.
15104 (FE_TONEAREST): Likewise.
15105 (FE_TOWARDZERO): Likewise.
15106 (FE_UPWARD): Likewise.
15107 (FE_DOWNWARD): Likewise.
15108 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15109 (FE_DIVBYZERO): Likewise.
15110 (FE_OVERFLOW): Likewise.
15111 (FE_UNDERFLOW): Likewise.
15112 (FE_INEXACT): Likewise.
15113 (FE_TONEAREST): Likewise.
15114 (FE_DOWNWARD): Likewise.
15115 (FE_UPWARD): Likewise.
15116 (FE_TOWARDZERO): Likewise.
15118 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
15120 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15122 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
15124 * scripts/cross-test-ssh.sh (command): Use newlines to separate
15125 commands. Quote $PWD.
15126 (blacklist_exports): Don't use remove_newlines. Replace "declare
15128 (remove_newlines): Remove.
15130 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
15132 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15133 * stdlib/stdlib.h (atof): Moved to ...
15134 * include/bits/stdlib-float.h: Here. New file.
15135 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15136 * stdlib/bits/stdlib-float.h: New file.
15137 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15139 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15142 2012-11-02 Joseph Myers <joseph@codesourcery.com>
15144 * conform/conformtest.pl (@headers): Add fenv.h.
15145 * conform/data/fenv.h-data: New file.
15146 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15147 include of <math/fenv.h>.
15149 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15150 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15151 && !UNIX98]. Enables tests for XOPEN2K8.
15152 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15153 POSIX2008]: Likewise.
15155 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15156 (struct rusage): Do not expect type or its members.
15159 * math/math.h (FP_NAN): Define macro to integer constant usable in
15160 #if and use that to give value to enum constant.
15161 (FP_INFINITE): Likewise.
15162 (FP_ZERO): Likewise.
15163 (FP_SUBNORMAL): Likewise.
15164 (FP_NORMAL): Likewise.
15166 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15168 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15169 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15172 2012-11-02 Roland McGrath <roland@hack.frob.com>
15174 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15175 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15176 autoconf-time if not.
15177 * configure.in: Remove AC_PREREQ.
15179 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15181 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15182 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15183 of the internal implementation.
15185 2012-11-02 Joseph Myers <joseph@codesourcery.com>
15187 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15188 except include of <misc/sys/syslog.h>.
15190 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15193 function returns with a NULL context exit with zero.
15195 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15197 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15199 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
15201 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15202 (run_program_cmd): This.
15203 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15204 (tst_langinfo): New variable. Use it.
15206 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
15208 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15209 floating point opcodes.
15211 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15213 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15216 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15218 * sysdeps/mach/hurd/powerpc: Remove directory.
15219 * sysdeps/mach/powerpc: Likewise.
15221 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15223 * scripts/check-local-headers.sh: Ignore c++ headers.
15225 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15227 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15228 __libc_cleanup_region_start argument.
15230 2012-11-01 Joseph Myers <joseph@codesourcery.com>
15234 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15235 x * y using scaling, not as x * y + z.
15236 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15237 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15238 * math/libm-test.inc (fma_test): Add more tests.
15239 (fma_test_towardzero): Likewise.
15240 (fma_test_downward): Likewise.
15241 (fma_test_upward): Likewise.
15243 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15245 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15247 2012-10-31 Joseph Myers <joseph@codesourcery.com>
15249 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15252 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
15254 * rt/tst-shm.c (worker): Correct checking for mmap failure.
15256 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15263 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15266 Fix the order of the list for glibc 2.17.
15267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15270 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15274 2012-10-31 Joseph Myers <joseph@codesourcery.com>
15277 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15278 for low part of x being zero before using __atanl (y).
15279 * math/libm-test.inc (atan2_test): Add another test.
15281 * manual/install.texi (Configuring and compiling): Document
15282 general use of test-wrapper and test-wrapper-env.
15283 * INSTALL: Regenerated.
15285 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15286 (__fma): Do not extract and scale down low bits on after-rounding
15287 systems when result rounded to normal precision would have normal
15289 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15290 (__fmal): Do not extract and scale down low bits on after-rounding
15291 systems when result rounded to normal precision would have normal
15293 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15294 (__fmal): Do not extract and scale down low bits on after-rounding
15295 systems when result rounded to normal precision would have normal
15297 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15299 (fma_test): Add more tests.
15300 (fma_test_towardzero): Likewise.
15301 (fma_test_downward): Likewise.
15302 (fma_test_upward): Likewise.
15304 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
15306 * sysdeps/i386/tininess.h: Renamed to ...
15307 * sysdeps/x86/tininess.h: This.
15308 * sysdeps/x86_64/tininess.h: Removed.
15310 2012-10-30 Joseph Myers <joseph@codesourcery.com>
15312 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
15313 input. Use $(build-program-cmd).
15314 ($(objpfx)tst-array1-static.out): Likewise.
15315 ($(objpfx)tst-array2.out): Likewise.
15316 ($(objpfx)tst-array3.out): Likewise.
15317 ($(objpfx)tst-array4.out): Likewise.
15318 ($(objpfx)tst-array5.out): Likewise.
15319 ($(objpfx)tst-array5-static.out): Likewise.
15321 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
15323 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15326 * nss/nsswitch.h (nss_interface_function): Provide new
15327 macro for use with NSS functions.
15328 * grp/initgroups.c: Use new macro.
15329 * nss/getXXbyYY.c: Likewise.
15330 * nss/getXXbyYY_r.c: Likewise.
15331 * nss/getXXent.c: Likewise.
15332 * nss/getXXent_r.c: Likewise.
15333 * sysdeps/posix/getaddrinfo.c: Likewise.
15335 2012-10-30 Andreas Jaeger <aj@suse.de>
15337 * po/ru.po: Update Russion translation from translation project.
15339 2012-10-30 Joseph Myers <joseph@codesourcery.com>
15343 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15344 result and shift together with sticky bit instead of replicating
15345 round-to-nearest rounding.
15346 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15347 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15348 * math/libm-test.inc (fma_test): Add more tests. Do not permit
15349 missing underflow exceptions.
15350 (fma_test_towardzero): Add more tests.
15351 (fma_test_downward): Likewise.
15352 (fma_test_upward): Likewise.
15355 * sysdeps/generic/tininess.h: New file.
15356 * sysdeps/i386/tininess.h: Likewise.
15357 * sysdeps/sh/tininess.h: Likewise.
15358 * sysdeps/x86_64/tininess.h: Likewise.
15359 * stdlib/tst-strtod-underflow.c: Likewise.
15360 * stdlib/tst-tininess.c: Likewise.
15361 * stdlib/strtod_l.c: Include <tininess.h>.
15362 (round_and_return): Do not set errno for exact underflow cases.
15363 Force an underflow exception when setting errno for underflow.
15364 Determine underflow based on rounding to normal precision if
15365 TININESS_AFTER_ROUNDING.
15366 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15367 ERANGE for exact underflow cases.
15368 * stdlib/Makefile (tests): Add tst-tininess and
15369 tst-strtod-underflow.
15370 ($(objpfx)tst-tininess): Use $(link-libm).
15371 ($(objpfx)tst-strtod-underflow): Likewise.
15373 2012-10-30 Andreas Jaeger <aj@suse.de>
15376 * elf/Makefile (tests): Remove conditional for have-initfini-array
15377 since this is now always required and the variable does not exist
15379 (tests-static): Likewise.
15380 (modules-names): Likewise.
15382 * po/eo.po: Add Esperanto translation from translation project.
15384 * elf/tst-array1.c (fini_array): Make writeable so that it can be
15385 merged with constructor/destructor.
15386 (init_array): Likewise.
15387 * elf/tst-array2dep.c (fini_array): Likewise.
15388 (init_array): Likewise.
15390 2012-10-29 Mike Frysinger <vapier@gentoo.org>
15392 * manual/message.texi: Delete @cartouche tags.
15394 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
15396 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15398 * sysdeps/mach/hurd/fsync.c: Likewise.
15400 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15401 [_POSIX_REALTIME_SIGNALS]: Change condition to
15402 [_POSIX_REALTIME_SIGNALS > 0].
15404 2012-10-27 Andreas Jaeger <aj@suse.de>
15406 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15407 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15408 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15409 [__WORDSIZE != 64]: Likewise.
15411 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
15413 * iconvdata/tst-table.sh: Remove ${SHELL}.
15414 * iconvdata/tst-tables.sh: Likewise.
15416 2012-10-25 David S. Miller <davem@davemloft.net>
15418 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15419 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15422 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15424 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15425 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15426 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15429 2012-10-25 Roland McGrath <roland@hack.frob.com>
15431 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15432 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15435 2012-10-25 Joseph Myers <joseph@codesourcery.com>
15436 Jim Blandy <jimb@codesourcery.com>
15438 * scripts/cross-test-ssh.sh: New file.
15439 * manual/install.texi (Configuring and compiling): Document use of
15441 * INSTALL: Regenerated.
15443 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
15445 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15448 2012-10-25 Joseph Myers <joseph@codesourcery.com>
15450 * Makeconfig (run-program-prefix): Fix comment.
15452 2012-10-24 Joseph Myers <joseph@codesourcery.com>
15453 Jim Blandy <jimb@codesourcery.com>
15455 * Makeconfig (test-wrapper): New variable,
15456 (test-wrapper-env): Likewise.
15457 [$(cross-compiling) = yes && $(test-wrapper) != ""]
15458 (run-built-tests): Define to yes.
15459 (run-program-prefix): Use $(test-wrapper).
15460 (built-program-cmd): Likewise.
15461 * Rules (make-test-out): Use $(test-wrapper-env) and
15462 $(host-built-program-cmd).
15463 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15464 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15466 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15467 $(test-wrapper-env) to tst-rtld-load-self.sh.
15468 ($(objpfx)order2.out): Use $(test-wrapper).
15469 ($(objpfx)tst-initorder.out): Likewise.
15470 ($(objpfx)tst-initorder2.out): Likewise.
15471 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15472 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15473 (test_wrapper_env): New variable. Use it to run ld.so.
15474 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15475 Use it to run ld.so.
15476 (test_wrapper_env): Likewise.
15477 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15478 $(test-wrapper) to run-iconv-test.sh.
15479 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15480 (ICONV): Use $test_wrapper.
15481 * posix/Makefile ($(objpfx)globtest.out): Pass
15482 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15483 globtest.sh, not $(run-program-prefix).
15484 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15485 (test_wrapper): Likewise.
15486 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15487 set together with run_via_rtld_prefix.
15488 (run_program_prefix): Define in terms of test_wrapper and
15489 run_via_rtld_prefix.
15491 2012-10-24 Roland McGrath <roland@hack.frob.com>
15493 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15494 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15498 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15499 Declare __clock_getres, __clock_gettime, __clock_settime,
15500 __clock_nanosleep, and __clock_getcpuclockid.
15501 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15502 Remove librt_hidden_def (clock_gettime).
15503 * sysdeps/unix/clock_gettime.c: Likewise.
15504 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15505 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15506 * rt/clock_getres.c: Define __clock_getres as an alias.
15507 * sysdeps/posix/clock_getres.c: Likewise.
15508 * rt/clock_settime.c: Define __clock_settime as an alias.
15509 * sysdeps/unix/clock_settime.c: Likewise.
15510 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15511 * sysdeps/unix/clock_nanosleep.c: Likewise.
15512 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15513 * rt/clock-compat.c: New file.
15514 * rt/Makefile (librt-routines): Add clock-compat and move
15515 $(clock-routines) to ...
15516 (routines): ... here, new variable.
15517 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15518 Don't add get_clockfreq here.
15519 * rt/Versions (libc: GLIBC_2.17): New version set.
15520 Add clock_* symbols here.
15521 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15522 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15523 (GLIBC_2.17): Add clock_* symbols.
15524 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15525 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15526 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15527 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15531 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15532 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15533 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15534 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15535 * NEWS: Mention the move.
15537 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15538 Use __open, __read, __close rather than their public counterparts.
15539 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15540 (__get_clockfreq_via_cpuinfo): Likewise.
15541 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15542 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15544 * config.h.in (HAVE_IFUNC): New #undef.
15545 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15547 * configure: Regenerated.
15549 2012-10-24 Mike Frysinger <vapier@gentoo.org>
15551 * configure.in: Move READELF check to start of file.
15552 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15553 libc_cv_asm_gnu_indirect_function in the process.
15554 * configure: Regenerated.
15556 2012-10-24 Mike Frysinger <vapier@gentoo.org>
15558 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15559 send the output to /dev/null.
15560 (libc_cv_cc_with_libunwind): Likewise.
15561 (libc_cv_as_noexecstack): Likewise.
15562 * configure: Regenerate.
15564 2012-10-24 Joseph Myers <joseph@codesourcery.com>
15566 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15568 * posix/globtest.sh (TMPDIR): Do not set.
15569 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15570 (testout): Likewise.
15572 2012-10-24 Andreas Jaeger <aj@suse.de>
15574 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15575 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15576 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15577 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15578 posix_fadvise64, posix_fallocate64.
15580 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15581 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15582 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15584 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15586 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15588 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15589 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15590 <bits/fcntl-linux.h>.
15591 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15593 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15594 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15595 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15596 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15597 [__WORDSIZE != 64]: Likewise.
15599 2012-10-23 Joseph Myers <joseph@codesourcery.com>
15601 * Makeconfig (run-built-tests): New variable.
15602 * Rules [$(cross-compiling) = yes]: Change condition to
15603 [$(run-built-tests) = no].
15604 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15605 to [$(run-built-tests) = yes].
15606 * elf/Makefile [$(cross-compiling) = no]: Likewise
15607 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15608 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15609 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15610 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15611 * io/Makefile [$(cross-compiling) = no]: Likewise.
15612 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15613 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15614 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15615 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15616 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15617 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15618 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15619 * string/Makefile [$(cross-compiling) = no]: Likewise.
15621 * posix/Makefile ($(objpfx)globtest.out): Pass
15622 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15623 $(rtld-installed-name).
15624 * posix/globtest.sh (elf_objpfx): Remove variable.
15625 (rtld_installed_name): Likewise.
15626 (library_path): Likewise.
15627 (run_program_prefix): New variable. Use for running globtest
15630 2012-10-23 Jim Blandy <jimb@codesourcery.com>
15631 Joseph Myers <joseph@codesourcery.com>
15633 * Makeconfig (host-built-program-cmd): New variable.
15634 * elf/Makefile (tst-stackguard1-ARGS): Use
15635 $(host-built-program-cmd).
15636 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15637 (tst-spawn-ARGS): Likewise.
15638 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15640 2012-10-23 Joseph Myers <joseph@codesourcery.com>
15641 Jim Blandy <jimb@codesourcery.com>
15643 * Makeconfig (run-via-rtld-prefix): New variable.
15644 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15645 (built-program-cmd): Likewise.
15647 2012-10-22 Andreas Jaeger <aj@suse.de>
15649 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15650 __O_RSYNC if it exists, otherwise to O_SYNC.
15652 2012-10-22 Jim Blandy <jimb@codesourcery.com>
15653 Joseph Myers <joseph@codesourcery.com>
15655 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15657 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15659 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15662 2012-10-22 Andreas Jaeger <aj@suse.de>
15664 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15666 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15668 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15669 bits/fcntl-linux.h.
15671 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15672 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15674 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15676 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15679 2012-10-21 Jim Blandy <jimb@codesourcery.com>
15680 Joseph Myers <joseph@codesourcery.com>
15682 * config.make.in (NM): New variable.
15684 2012-10-21 Andreas Jaeger <aj@suse.de>
15686 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15687 definitions and declarations that are provided by
15688 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15690 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15693 * elf/Makefile (tests-static): Add tst-leaks1-static.
15694 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15695 ($(objpfx)tst-leaks1-static): New rule.
15696 ($(objpfx)tst-leaks1-static-mem): Likewise.
15697 (tst-leaks1-static-ENV): New macro.
15698 * elf/dl-open.c (dl_open_worker): Check the main application
15699 only if SHARED is defined.
15700 * elf/tst-leaks1-static.c: New file.
15702 2012-10-20 Andreas Jaeger <aj@suse.de>
15704 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15705 generic values for Linux.
15706 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15707 and declarations that are provided by <bits/fcntl-linux.h> and
15708 include <bits/fcntl-linux.h>.
15709 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15710 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15712 2012-10-20 Roland McGrath <roland@hack.frob.com>
15714 * io/fcntl.h: Move include of <bits/types.h> to the top and
15715 include it unconditionally.
15717 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15719 * wcsmbs/Makefile (tests-ifunc): New variable.
15720 (tests): Add $(tests-ifunc).
15721 * wcsmbs/test-wcschr-ifunc.c: New file.
15722 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15723 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15724 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15725 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15726 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15728 * string/Makefile (tests-ifunc): New variable.
15729 (tests): Add $(tests-ifunc).
15730 * string/test-memccpy.c (TEST_NAME): New macro.
15731 * string/test-memchr.c (TEST_NAME): Likewise.
15732 * string/test-memcmp.c (TEST_NAME): Likewise.
15733 * string/test-memcpy.c (TEST_NAME): Likewise.
15734 * string/test-memmem.c (TEST_NAME): Likewise.
15735 * string/test-memmove.c (TEST_NAME): Likewise.
15736 * string/test-memset.c (TEST_NAME): Likewise.
15737 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15738 * string/test-stpcpy.c (TEST_NAME): Likewise.
15739 * string/test-stpncpy.c (TEST_NAME): Likewise.
15740 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15741 * string/test-strcasestr.c (TEST_NAME): Likewise.
15742 * string/test-strcat.c (TEST_NAME): Likewise.
15743 * string/test-strchr.c (TEST_NAME): Likewise.
15744 * string/test-strcmp.c(TEST_NAME): Likewise.
15745 * string/test-strcpy.c (TEST_NAME): Likewise.
15746 * string/test-strcspn.c (TEST_NAME): Likewise.
15747 * string/test-strlen.c (TEST_NAME): Likewise.
15748 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15749 * string/test-strncmp.c (TEST_NAME): Likewise.
15750 * string/test-strncpy.c (TEST_NAME): Likewise.
15751 * string/test-strnlen.c (TEST_NAME): Likewise.
15752 * string/test-strpbrk.c (TEST_NAME): Likewise.
15753 * string/test-strrchr.c (TEST_NAME): Likewise.
15754 * string/test-strspn.c (TEST_NAME): Likewise.
15755 * string/test-strstr.c (TEST_NAME): Likewise.
15756 * string/test-bcopy-ifunc.c: New file.
15757 * string/test-bzero-ifunc.c: Likewise.
15758 * string/test-memccpy-ifunc.c: Likewise.
15759 * string/test-memchr-ifunc.c: Likewise.
15760 * string/test-memcmp-ifunc.c: Likewise.
15761 * string/test-memcpy-ifunc.c: Likewise.
15762 * string/test-memmem-ifunc.c: Likewise.
15763 * string/test-memmove-ifunc.c: Likewise.
15764 * string/test-mempcpy-ifunc.c: Likewise.
15765 * string/test-memset-ifunc.c: Likewise.
15766 * string/test-rawmemchr-ifunc.c: Likewise.
15767 * string/test-stpcpy-ifunc.c: Likewise.
15768 * string/test-stpncpy-ifunc.c: Likewise.
15769 * string/test-strcasecmp-ifunc.c: Likewise.
15770 * string/test-strcasestr-ifunc.c: Likewise.
15771 * string/test-strcat-ifunc.c: Likewise.
15772 * string/test-strchr-ifunc.c: Likewise.
15773 * string/test-strchrnul-ifunc.c: Likewise.
15774 * string/test-strcmp-ifunc.c: Likewise.
15775 * string/test-strcpy-ifunc.c: Likewise.
15776 * string/test-strcspn-ifunc.c: Likewise.
15777 * string/test-strlen-ifunc.c: Likewise.
15778 * string/test-strncasecmp-ifunc.c: Likewise.
15779 * string/test-strncat-ifunc.c: Likewise.
15780 * string/test-strncmp-ifunc.c: Likewise.
15781 * string/test-strncpy-ifunc.c: Likewise.
15782 * string/test-strnlen-ifunc.c: Likewise.
15783 * string/test-strpbrk-ifunc.c: Likewise.
15784 * string/test-strrchr-ifunc.c: Likewise.
15785 * string/test-strspn-ifunc.c: Likewise.
15786 * string/test-strstr-ifunc.c: Likewise.
15788 * debug/Makefile (tests-ifunc): New variable.
15789 (tests): Add $(tests-ifunc).
15790 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15791 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15792 * debug/test-stpcpy_chk-ifunc.c: New file.
15793 * debug/test-strcpy_chk-ifunc.c: Likewise.
15795 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15798 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15799 header is not read in.
15801 2012-10-19 Joseph Myers <joseph@codesourcery.com>
15803 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
15804 script to $(SHELL) as $<. Pass $(common-objpfx) to script
15805 directly. Pass built executable to script as
15806 $(built-program-cmd).
15807 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
15808 $testprogram without using LD_LIBRARY_PATH and $ldso.
15810 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15811 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15812 $(rtld-installed-name).
15813 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15814 (rtld_installed_name): Likewise.
15815 (library_path): Likewise.
15816 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
15817 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15818 $(run-program-prefix) to tst-tables.sh.
15819 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
15820 it to run tst-table-from and tst-table-to.
15821 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15822 Pass it to tst-table.sh.
15823 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15824 $(run-program-prefix) to tst-gettext.sh.
15825 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15827 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15829 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
15830 to run tst-gettext.
15831 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
15832 to run tst-gettext2.
15833 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
15834 to run tst-translit.
15835 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15836 $(run-program-prefix) to tst-mtrace.sh.
15837 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
15839 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15840 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15841 $(rtld-installed-name).
15842 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15843 (rtld_installed_name): Likewise.
15844 (run_program_prefix): New variable. Use it to run wordexp-test.
15846 * Makeconfig (ARCH): Remove all definitions.
15847 (machine): Likewise.
15848 [ARCH]: Remove conditional code.
15849 [!objdir]: Give error.
15850 [!objdir] (objpfx): Remove.
15851 [!objdir] (common-objpfx): Likewise.
15852 [!objdir] (common-objdir): Likewise.
15853 * configure.in (config_makefile): Remove. Hardcode Makefile in
15854 AC_CONFIG_FILES call.
15855 * configure: Regenerated.
15858 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15860 (testout): Likewise.
15862 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15863 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15864 $(rtld-installed-name).
15865 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15866 (rtld_installed_name): Likwise.
15867 (runit): Remove function.
15868 (run_getconf): New variable, Use it for running getconf binary.
15870 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15873 * string/test-memmem.c (check_result): New function.
15874 (do_one_test): Use it.
15875 (check1): New function.
15876 (test_main): Use it.
15878 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15880 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15882 2012-10-18 Joseph Myers <joseph@codesourcery.com>
15884 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15885 (_G_LSEEK64): Likewise.
15886 (_G_MMAP64): Likewise.
15887 (_G_FSTAT64): Likewise.
15888 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15889 (_G_LSEEK64): Likewise.
15890 (_G_MMAP64): Likewise.
15891 (_G_FSTAT64): Likewise.
15892 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15893 unconditional. Call __mmap64 directly.
15894 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15895 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
15896 __lseek64 directly.
15897 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15898 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15900 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15901 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15902 __lseek64 directly.
15903 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15904 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15905 __lseek64 directly.
15906 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15907 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15908 __lseek64 directly.
15909 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15910 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15911 __fxstat64 directly.
15912 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15913 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15915 (freopen64) [!_G_OPEN64]: Remove conditional code.
15916 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15918 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15919 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15921 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15922 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15924 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15925 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15927 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15928 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15930 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15931 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15933 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15934 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15936 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15938 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15941 * manual/memory.texi (Malloc Tunable Parameters): Add note
15942 about free list pointers overwriting some perturb bytes.
15943 Wording suggested by Roland McGrath.
15945 2012-10-17 Joseph Myers <joseph@codesourcery.com>
15947 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15948 (lgamma_test): Likewise.
15949 (tgamma_test): Likewise.
15951 2012-10-16 Florian Weimer <fweimer@redhat.com>
15954 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15955 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15957 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15959 * NEWS: Mention BZ #14716.
15960 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
15961 when removing AVAILABLE1_USES_J macro.
15963 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15965 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15966 (__bswap_64): __uint64_t for unsigned 64-bit int.
15968 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15970 * include/string.h (memmem): Declare libc hidden alias.
15971 * string/memmem.c (memmem): Define libc hidden alias.
15972 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
15973 __read, __close instead of open, read, close.
15975 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15977 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15978 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15980 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
15981 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
15982 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
15984 (__rawmemchr_sse2): Likewise.
15985 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
15986 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
15987 (__strchr_sse2): Likewise.
15988 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
15989 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
15990 (__strcasecmp_sse2): Likewise.
15991 (__strncasecmp_sse2): Likewise.
15992 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
15993 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
15994 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
15995 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
15996 (__strrchr_sse2): Likewise.
15997 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
15999 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16000 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16001 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16002 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16003 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16004 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16005 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16006 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16007 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16008 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16009 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16010 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16011 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16012 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16013 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16014 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16015 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16016 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16017 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16018 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16019 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16020 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16021 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16022 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16023 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16024 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16025 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16026 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16027 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16028 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16030 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16032 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16033 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16034 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16035 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16037 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16039 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16040 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16041 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16042 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16044 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16045 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16046 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16047 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16048 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16049 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16050 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16051 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16052 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16053 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16054 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16055 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16056 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16057 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16058 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16059 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16060 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16061 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16062 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16063 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16064 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16065 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16066 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16067 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16068 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16069 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16070 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16071 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16072 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16073 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16074 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16075 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16076 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16077 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16078 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16079 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16080 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16081 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16082 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16083 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16084 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16086 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16087 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16088 * include/ifunc-impl-list.h: New file.
16089 * misc/ifunc-impl-list.c: Likewise.
16090 * misc/Makefile (routines): Add ifunc-impl-list.
16091 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16092 * string/test-string.h: Include <ifunc-impl-list.h>.
16093 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16094 impl_array): New variables.
16095 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16097 (test_init): Call __libc_ifunc_impl_list to initialize
16098 func_list if TEST_IFUNC and TEST_NAME are defined.
16100 * string/Makefile (strop-tests): Add bcopy and bzero.
16101 * string/test-bcopy.c: New file.
16102 * string/test-bzero.c: Likewise.
16103 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16105 * string/test-memset.c: Support bzero test if TEST_BZERO is
16107 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16109 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16111 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16114 2012-10-10 Joseph Myers <joseph@codesourcery.com>
16116 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16117 * configure: Regenerated.
16119 * Makeconfig (+link-static-before-libc): Don't include
16120 $(link-static-libc).
16122 * libio/libio.h (_IO_pos_t): Remove.
16124 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
16126 * NEWS: Add note about FIPS mode. Wording suggested by Roland
16129 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
16131 * crypt/crypt-entry.c: Include fips-private.h.
16132 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16133 * crypt/md5c-test.c (main): Tolerate disabled MD5.
16134 * sysdeps/unix/sysv/linux/fips-private.h: New file.
16135 * sysdeps/generic/fips-private.h: New file, dummy fallback.
16137 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
16139 * crypt/crypt-private.h: Include stdbool.h.
16140 (_ufc_setup_salt_r): Return bool.
16141 * crypt/crypt-entry.c: Include errno.h.
16142 (__crypt_r): Return NULL with EINVAL for bad salt.
16143 * crypt/crypt_util.c (bad_for_salt): New.
16144 (_ufc_setup_salt_r): Check that salt is long enough and within
16145 the specified alphabet.
16146 * crypt/badsalttest.c: New file.
16147 * crypt/Makefile (tests): Add it.
16148 ($(objpfx)badsalttest): New.
16150 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16152 * NEWS: Add entry for BZ #14602.
16154 2012-10-09 Joseph Myers <joseph@codesourcery.com>
16156 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16158 * math/libm-test.inc: Update comment listing what functions and
16160 (isgreater_test): New function.
16161 (isgreaterequal_test): Likewise.
16162 (isless_test): Likewise.
16163 (islessequal_test): Likewise.
16164 (islessgreater_test): Likewise.
16165 (isunordered_test): Likewise.
16166 (main): Call the new functions.
16168 2012-10-09 Roland McGrath <roland@hack.frob.com>
16170 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16171 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16172 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16173 * sysdeps/i386/configure: Regenerated.
16174 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16175 * sysdeps/mach/configure: Regenerated.
16176 * sysdeps/mach/hurd/configure: Regenerated.
16177 * sysdeps/powerpc/configure: Regenerated.
16178 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16179 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16180 * sysdeps/s390/s390-32/configure: Regenerated.
16181 * sysdeps/s390/s390-64/configure: Regenerated.
16182 * sysdeps/sh/configure: Regenerated.
16183 * sysdeps/sparc/configure: Regenerated.
16184 * sysdeps/unix/sysv/linux/configure: Regenerated.
16185 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16186 * sysdeps/x86_64/configure: Regenerated.
16188 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16189 defined. Don't check if MAP is NULL.
16191 2012-10-09 Joseph Myers <joseph@codesourcery.com>
16193 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16194 (_G_stat64): Likewise.
16195 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16196 (_G_stat64): Likewise.
16197 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16198 instead of struct _G_stat64.
16199 * libio/fileops.c (mmap_remap_check): Likewise.
16200 (decide_maybe_mmap): Likewise.
16201 (_IO_new_file_seekoff): Likewise.
16202 (_IO_file_stat): Likewise.
16203 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16205 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16206 instead of struct _G_stat64.
16207 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16209 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
16212 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16214 (CHECK_EOL): New macro.
16215 (two_way_short_needle): Check beginning of haystack for EOL. Use
16217 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16218 Replace with CHECK_EOL.
16219 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16220 Replace with CHECK_EOL.
16222 2012-10-08 Joseph Myers <joseph@codesourcery.com>
16224 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16226 * math/libm-test.inc: Update comment listing what functions and
16228 (finite_test): New function.
16229 (isinf_test): Likewise.
16230 (isnan_test): Likewise.
16231 (fpclassify_test): Test subnormal input.
16232 (isfinite_test): Likewise.
16233 (isnormal_test): Likewise.
16234 (main): Call the new functions.
16236 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
16239 * Makerules (%.dynsym): Force C locale when running
16240 $(OBJDUMP) --dynamic-syms.
16242 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
16244 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16247 2012-10-06 David S. Miller <davem@davemloft.net>
16249 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16250 upper 32-bits of the length value in %o2 since we use branch-on-register
16251 tests which consider the entire 64-bit register.
16253 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
16255 * string/test-strstr.c (check2): Add a test for page boundary.
16257 2012-10-05 David S. Miller <davem@davemloft.net>
16259 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16260 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16262 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16264 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16265 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16266 and bzero when HWCAP_SPARC_CRYPTO is present.
16268 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
16271 * string/test-strstr.c (check2): New function.
16272 (test_main): Call check2.
16274 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16276 * string/bug-strcasestr1.c (do_test): Moved to ...
16277 * string/test-strcasestr.c (check1): Here. New function.
16278 (do_one_test): Break out result checking code into ...
16279 (check_result): This. New function.
16280 (do_one_test): Call check_result.
16281 (test_main): Call check1.
16282 * string/bug-strchr1.c (do_test): Moved to ...
16283 * string/test-strchr.c (check1): Here. New function.
16284 (do_one_test): Break out result checking code into ...
16285 (check_result): This. New function.
16286 (do_one_test): Call check_result.
16287 (test_main): Call check1.
16288 * string/bug-strstr1.c (main): Moved to ...
16289 * string/test-strstr.c (check1): Here. New function.
16290 (do_one_test): Break out result checking code into ...
16291 (check_result): This. New function.
16292 (do_one_test): Call check_result.
16293 (test_main): Call check1.
16294 * string/bug-strcasestr1.c: Removed.
16295 * string/bug-strchr1.c: Likewise.
16296 * string/bug-strstr1.c: Likewise.
16298 * elf/Makefile (dl-routines): Add hwcaps.
16299 * elf/dl-support.c (_dl_important_hwcaps): Removed.
16300 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16301 (_dl_important_hwcaps): Moved to ...
16302 * elf/dl-hwcaps.c: Here. New file.
16303 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16306 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16307 if IS_IN_rtld isn't defined.
16309 * elf/dl-support.c (_dl_sysinfo_map): New.
16310 Include "get-dynamic-info.h" and "setup-vdso.h".
16311 (_dl_non_dynamic_init): Call setup_vdso.
16312 * elf/dynamic-link.h: Don't include <assert.h>.
16313 (elf_get_dynamic_info): Moved to ...
16314 * elf/get-dynamic-info.h: Here. New file.
16315 * elf/dynamic-link.h: Include "get-dynamic-info.h".
16316 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
16317 * elf/setup-vdso.h: Here. New file.
16318 * elf/rtld.c: Include "setup-vdso.h".
16319 (dl_main): Call setup_vdso.
16321 2012-10-05 Joseph Myers <joseph@codesourcery.com>
16323 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
16324 creal in comment listing functions tested. List finite, isinf,
16325 isnan, isless, islessequal, isgreater, isgreaterequal,
16326 islessgreater, isunordered, lgamma_r and pow10 as functions and
16327 macros not tested. Mention which functions not tested are aliases
16328 for other functions. Fix typo. Note that signs of NaNs are not
16331 * scripts/config.guess: Update from config.git.
16332 * scripts/config.sub: Likewise.
16334 2012-10-04 Roland McGrath <roland@hack.frob.com>
16336 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16337 * misc/madvise.c (madvise): Renamed to __madvise.
16338 Make madvise a weak alias.
16339 * include/sys/mman.h: Declare __madvise.
16340 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16341 * sysdeps/unix/syscalls.list
16342 (madvise): Make __madvise the strong name, and madvise a weak alias.
16343 * sysdeps/unix/sysv/linux/syscalls.list
16344 (madvise, mmap): Remove redundant entries.
16345 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16346 * malloc/malloc.c (mtrim): Likewise.
16347 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16349 2012-10-03 Roland McGrath <roland@hack.frob.com>
16351 * sysdeps/mach/hurd/dl-cache.c: File removed.
16352 * config.h.in (USE_LDCONFIG): New #undef.
16353 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16354 * configure: Regenerated.
16355 * elf/Makefile (dl-routines): Add dl-cache only under
16356 [$(use-ldconfig) = yes].
16357 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16358 cache on [USE_LDCONFIG].
16359 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16361 * elf/rtld.c (dl_main): Likewise.
16363 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
16365 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16366 _SC_LEVEL4_CACHE_LINESIZE.
16368 2012-10-03 Roland McGrath <roland@hack.frob.com>
16370 * sysdeps/unix/bsd/confstr.h: File removed.
16372 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
16374 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16377 2012-10-02 Roland McGrath <roland@hack.frob.com>
16379 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16380 Make 'mapoff' field ElfW(Off) rather than off_t.
16382 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16384 * nscd/Makefile: Remove nscd-cflags and all its users.
16385 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16386 (CFLAGS-nonlib): Add compiler flags for nscd modules.
16389 * malloc.c (malloc_printerr): Clarify error message.
16391 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
16394 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16395 Set bit_FMA_Usable if FMA is supported.
16396 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16398 (bit_FMA4_Usable): Updated.
16399 (index_FMA_Usable): New macro.
16400 (CPUID_FMA): Likewise
16401 (HAS_FMA): Defined with bit_FMA_Usable.
16403 2012-10-01 Roland McGrath <roland@hack.frob.com>
16405 * bits/types.h (__swblk_t): Type removed.
16406 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16407 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16408 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16409 (__SWBLK_T_TYPE): Likewise.
16410 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16411 (__SWBLK_T_TYPE): Likewise.
16412 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16413 (__SWBLK_T_TYPE): Likewise.
16414 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16415 (__SWBLK_T_TYPE): Likewise.
16417 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
16418 Honza Horak <hhorak@redhat.com>
16420 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16421 (xdr_mapname): Use YPMAXMAP as maxsize.
16422 (xdr_peername): Use YPMAXPEER as maxsize.
16423 (xdr_keydat): Use YPAXRECORD as maxsize.
16424 (xdr_valdat): Use YPMAXRECORD as maxsize.
16426 2012-10-01 Roland McGrath <roland@hack.frob.com>
16428 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16430 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16431 * csu/init-first.c: ... here.
16432 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16433 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16434 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16435 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16436 * sysdeps/i386/init-first.c: File removed.
16437 * sysdeps/sh/init-first.c: File removed.
16439 2012-10-01 Joseph Myers <joseph@codesourcery.com>
16442 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16443 if x * y might underflow to zero and z is zero.
16444 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16445 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16446 * math/libm-test.inc (min_subnorm_value): New variable.
16447 (fma_test): Add more tests.
16448 (fma_test_towardzero): Likewise.
16449 (fma_test_downward): Likewise
16450 (fma_test_upward): Likewise.
16451 (initialize): Set min_subnorm_value.
16453 2012-09-29 Joseph Myers <joseph@codesourcery.com>
16456 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16458 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16459 mode for addition resulting in exact zero.
16460 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16461 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16463 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16464 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16465 * math/libm-test.inc (fma_test): Add more tests.
16466 (fma_test_towardzero): New function.
16467 (fma_test_downward): Likewise.
16468 (fma_test_upward): Likewise.
16469 (main): Call the new functions.
16471 2012-09-28 David S. Miller <davem@davemloft.net>
16473 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16475 2012-09-28 Roland McGrath <roland@hack.frob.com>
16477 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16478 instead of SIGALRM.
16480 * sysdeps/gnu/_G_config.h: Moved to ...
16481 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16482 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16483 * sysdeps/generic/_G_config.h: ... here.
16485 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16487 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16489 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16490 Conditionalize target on [libnss_test1.so-version].
16492 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16494 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16495 (elfobjdir): Move out of conditionals.
16497 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16498 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16499 (__nss_lookup_function): Conditionalize label remove_from_tree on
16500 [!DO_STATIC_NSS || SHARED], matching its only use.
16502 2012-09-28 David S. Miller <davem@davemloft.net>
16504 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16505 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16507 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16509 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16510 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16511 when HWCAP_SPARC_CRYPTO is present.
16513 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16515 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16517 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16520 * stdio-common/vfprintf.c (process_string_arg): Revert
16523 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16525 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16527 * stdio-common/tst-sprintf.c: Include <locale.h>
16528 (main): Test sprintf's handling of incomplete multibyte
16531 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16533 * elf/dl-runtime.c (VERSYMIDX): Removed.
16534 * elf/dl-version.c (VERSYMIDX): Likewise.
16535 * elf/do-rel.h (VERSYMIDX): Likewise.
16536 (VALIDX): Likewise.
16537 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16538 * elf/rtld.c (VALIDX): Likewise.
16539 (ADDRIDX): Likewise.
16540 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16541 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16542 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
16543 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16544 (VALIDX): Likewise.
16545 (ADDRIDX): Likewise.
16547 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16549 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16551 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16554 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16556 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16557 addresses are in the same scope as 192.0.2/24.
16558 * posix/gai.conf: Document new scope table defaults.
16560 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16563 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16564 for ftell. Compute offsets from write pointers instead.
16565 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16567 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16570 * libio/Makefile (tests): New test case tst-fseek.
16571 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16572 combination works in wide mode.
16573 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16574 state when the external buffer state changes.
16576 2012-09-27 David S. Miller <davem@davemloft.net>
16579 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16580 pass reloc->r_addend in as the 'high' argument to
16581 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16585 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16587 * rt/tst-aio2.c: Include <pthread.h>.
16588 * rt/tst-aio3.c: Likewise.
16590 2012-09-27 Steve Ellcey <sellcey@mips.com>
16592 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16594 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16596 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16597 contents on [SHARED].
16599 2012-09-26 Marek Polacek <polacek@redhat.com>
16603 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16604 for C++ and GCC <4.3 as well as for non GCC compilers.
16606 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16608 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16610 2012-09-25 Roland McGrath <roland@hack.frob.com>
16612 * Makefile.in (all, install): Declare with .PHONY.
16613 Reported by Michael Hope <michael.hope@linaro.org>.
16615 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16617 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16618 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16620 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16622 (sydep_routines): Add the new and the internal functions.
16623 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16624 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16626 (GLIBC_2.17): Add the new function.
16627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16628 (GLIBC_2.17): Likewise.
16629 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16630 (GLIBC_2.17): Likewise.
16631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16632 (GLIBC_2.17): Likewise.
16633 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16635 2012-09-25 Alan Modra <amodra@gmail.com>
16637 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16638 Add release barrier before setting once_control to say
16639 initialisation is done. Add hints on lwarx. Use macro in
16641 (clear_once_control): Add release barrier.
16643 2012-09-25 Joseph Myers <joseph@codesourcery.com>
16646 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16648 * math/s_clog10.c (__clog10): Likewise.
16649 * math/s_clog10f.c (__clog10f): Likewise.
16650 * math/s_clog10l.c (__clog10l): Likewise.
16651 * math/s_clogf.c (__clogf): Likewise.
16652 * math/s_clogl.c (__clogl): Likewise.
16653 * math/Makefile (libm-calls): Add x2y2m1.
16654 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16655 (__x2y2m1): Likewise.
16656 (__x2y2m1l): Likewise.
16657 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16658 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16659 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16660 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16661 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16662 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16663 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16664 * sysdeps/i386/fpu/libm-test-ulps: Update.
16665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16668 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16669 int as type of variable DEPTH.
16670 (glob): Use size_t instead of int as type of variables NEWCOUNT
16673 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16675 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16676 Add s_sincosf-sse2.
16677 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16678 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16679 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16680 macros for using routine as __sincosf_ia32.
16681 Use macro for function declaration and weak_alias.
16682 * sysdeps/i386/fpu/libm-test-ulps: Update.
16684 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16687 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
16688 subnormal argument.
16689 * math/s_cexpf.c (__cexpf): Likewise.
16690 * math/s_csinf.c (__csinf): Likewise.
16691 * math/s_csinhf.c (__csinhf): Likewise.
16692 * math/s_ctanf.c (__ctanf): Likewise.
16693 * math/s_ctanhf.c (__ctanhf): Likewise.
16694 * math/s_ccosh.c (__ccoshf): Likewise.
16695 * math/s_cexp.c (__cexpl): Likewise.
16696 * math/s_csin.c (__csin): Likewise.
16697 * math/s_csinh.c (__csinh): Likewise.
16698 * math/s_ctan.c (__ctan): Likewise.
16699 * math/s_ctanh.c (ctanh): Likewise.
16700 * math/s_ccoshl.c (__ccoshl): Likewise.
16701 * math/s_cexpl.c (__cexpl): Likewise.
16702 * math/s_csinl.c (__csinl): Likewise.
16703 * math/s_csinhl.c (__csinhl): Likewise.
16704 * math/s_ctanl.c (__ctanl): Likewise.
16705 * math/s_ctanhl.c (__ctanhl): Likewise.
16707 2012-09-25 Joseph Myers <joseph@codesourcery.com>
16709 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16710 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16711 (_IO_off_t): Define to __off_t, not _G_off_t.
16712 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16713 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16714 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16715 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16716 type of __dummy and __dummy2 fields.
16717 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16718 (_G_ssize_t): Likewise.
16719 (_G_off_t): Likewise.
16720 (_G_pid_t): Likewise.
16721 (_G_uid_t): Likewise.
16722 (_G_wchar_t): Likewise.
16723 (_G_wint_t): Likewise.
16724 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16725 (_G_ssize_t): Likewise.
16726 (_G_off_t): Likewise.
16727 (_G_pid_t): Likewise.
16728 (_G_uid_t): Likewise.
16729 (_G_wchar_t): Likewise.
16730 (_G_wint_t): Likewise.
16731 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16732 (_G_ssize_t): Likewise.
16733 (_G_off_t): Likewise.
16734 (_G_pid_t): Likewise.
16735 (_G_uid_t): Likewise.
16736 (_G_wchar_t): Likewise.
16737 (_G_wint_t): Likewise.
16739 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16741 * malloc/arena.c: Include malloc-sysdep.h.
16742 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16743 is sufficient to shrink the heap or an unmap is needed.
16744 * sysdeps/generic/malloc-sysdep.h: New file. Define
16745 new function check_may_shrink_heap.
16746 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16747 new function check_may_shrink_heap.
16749 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16751 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16754 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16756 * catgets/test-gencat.sh: Add "set -e".
16757 * elf/tst-pathopt.sh: Likewise.
16758 * grp/tst_fgetgrent.sh: Likewise.
16759 * iconvdata/run-iconv-test.sh: Likewise.
16760 * intl/tst-gettext.sh: Likewise.
16761 * intl/tst-gettext2.sh: Likewise.
16762 * intl/tst-gettext4.sh: Likewise.
16763 * intl/tst-gettext6.sh: Likewise.
16764 * intl/tst-translit.sh: Likewise.
16765 * io/ftwtest-sh: Likewise.
16766 * libio/test-freopen.sh: Likewise.
16767 * malloc/tst-mtrace.sh: Likewise.
16768 * posix/globtest.sh: Likewise.
16769 * posix/tst-getconf.sh: Likewise.
16770 * posix/wordexp-tst.sh: Likewise.
16771 * stdio-common/tst-printf.sh: Likewise.
16772 * stdio-common/tst-unbputc.sh: Likewise.
16773 * stdlib/tst-fmtmsg.sh: Likewise.
16774 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16775 * catgets/Makefile: Do not specify -e option when running
16776 testsuite shell scripts.
16777 * elf/Makefile: Likewise.
16778 * grp/Makefile: Likewise.
16779 * iconvdata/Makefile: Likewise.
16780 * intl/Makefile: Likewise.
16781 * io/Makefile: Likewise.
16782 * libio/Makefile: Likewise.
16783 * malloc/Makefile: Likewise.
16784 * posix/Makefile: Likewise.
16785 * stdio-common/Makefile: Likewise.
16786 * stdlib/Makefile: Likewise.
16787 * sysdeps/x86_64/Makefile: Likewise.
16789 * io/ftwtest-sh: Add copyright header.
16790 * posix/globtest.sh: Likewise.
16791 * posix/tst-getconf.sh: Likewise.
16792 * posix/wordexp-tst.sh: Likewise.
16793 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16795 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16798 * Makeconfig (+link): Defined as $(+link-static) if
16799 $(build-shared) isn't yes.
16800 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16802 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16804 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16807 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16808 new chunk size with MALLOC_ALIGN_MASK.
16810 2012-09-24 Joseph Myers <joseph@codesourcery.com>
16813 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16815 (__printf_fphex): Determine rounding using get_rounding_mode and
16817 * stdio-common/tst-printf-round.c (struct hex_test): New
16819 (hex_tests): New variable.
16820 (test_hex_in_one_mode): New function.
16821 (do_test): Also run tests for hex float output.
16823 2012-09-21 Joseph Myers <joseph@codesourcery.com>
16825 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16826 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16827 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16828 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16829 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16830 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16831 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16832 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16834 2012-09-20 Joseph Myers <joseph@codesourcery.com>
16836 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16837 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16838 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16839 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16841 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16844 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16846 * elf/tst-rtld-load-self.sh: New test.
16847 * elf/Makefile: Run it.
16849 2012-09-18 Joseph Myers <joseph@codesourcery.com>
16851 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16852 (tst-writev-ENV): Remove.
16853 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16855 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16857 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16859 2012-09-17 Joseph Myers <joseph@codesourcery.com>
16861 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16863 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16865 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16866 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16867 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16870 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16873 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16874 * config.make.in (have-cpp-asm-debuginfo): Removed.
16875 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16876 * configure: Regenerated.
16878 2012-09-14 Joseph Myers <joseph@codesourcery.com>
16881 * stdio-common/printf_fp.c: Include <stdbool.h> and
16883 (___printf_fp): Determine rounding using get_rounding_mode and
16885 * stdio-common/tst-printf-round.c: New file.
16886 * stdio-common/Makefile (tests): Add tst-printf-round.
16887 (link-libm): New variable.
16888 ($(objpfx)tst-printf-round): Depend in $(link-libm).
16890 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16893 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16894 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16896 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16899 2012-09-13 Joseph Myers <joseph@codesourcery.com>
16901 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16902 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16903 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16904 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16906 2012-09-12 Joseph Myers <joseph@codesourcery.com>
16909 * include/rounding-mode.h: New file.
16910 * sysdeps/generic/get-rounding-mode.h: Likewise.
16911 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16912 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16913 (MAX_VALUE): New macro.
16914 (MIN_VALUE): Likewise.
16915 (overflow_value): New function.
16916 (underflow_value): Likewise.
16917 (round_and_return): Use overflow_value and underflow_value to
16918 determine return values in overflow and underflow cases. Use
16919 round_away to determine rounding depending on rounding mode.
16920 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16921 determine return values in overflow and underflow cases.
16922 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16923 (struct test_results): New structure.
16924 (struct test): Use struct test_results to store expected results
16925 for all rounding modes.
16926 (TEST): Include expected results for all rounding modes.
16927 (test_in_one_mode): New function.
16928 (do_test): Use test_in_one_mode to compute and check results.
16929 Check results for all rounding modes.
16930 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16933 2012-12-09 Allan McRae <allan@archlinux.org>
16935 * sysdeps/i386/fpu/libm-test-ulps: Update
16937 2012-09-11 Joseph Myers <joseph@codesourcery.com>
16939 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
16940 (_G_int32_t): Likewise.
16941 (_G_uint16_t): Likewise.
16942 (_G_uint32_t): Likewise.
16943 (_G_HAVE_BOOL): Likewise.
16944 (_G_HAVE_ATEXIT): Likewise.
16945 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16946 (_G_HAVE_IO_FILE_OPEN): Likewise.
16947 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
16948 (_G_int32_t): Likewise.
16949 (_G_uint16_t): Likewise.
16950 (_G_uint32_t): Likewise.
16951 (_G_HAVE_BOOL): Likewise.
16952 (_G_HAVE_ATEXIT): Likewise.
16953 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16954 (_G_HAVE_IO_FILE_OPEN): Likewise.
16955 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
16956 (_G_int32_t): Likewise.
16957 (_G_uint16_t): Likewise.
16958 (_G_uint32_t): Likewise.
16959 (_G_HAVE_BOOL): Likewise.
16960 (_G_HAVE_ATEXIT): Likewise.
16961 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
16962 (_G_HAVE_IO_FILE_OPEN): Likewise.
16964 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16966 * csu/libc-tls.c: Update copyright years.
16968 2012-09-10 Joseph Myers <joseph@codesourcery.com>
16970 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
16971 [!_G_USING_THUNKS]: Remove conditional code.
16972 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
16973 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
16975 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
16976 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
16977 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16978 (_G_VTABLE_LABEL_PREFIX): Likewise.
16979 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16980 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16981 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16982 (_G_VTABLE_LABEL_PREFIX): Likewise.
16983 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16984 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
16985 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
16986 (_G_VTABLE_LABEL_PREFIX): Likewise.
16987 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
16989 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16991 * libio/Makefile: Include ../Makeconfig before tests.
16992 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
16993 only if $(build-shared) is yes.
16995 * iconv/gconv_db.c: Update copyright years.
16997 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16999 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17000 unwind info if defined PIC. Fix special cases description.
17001 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17003 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17005 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17007 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
17009 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17011 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17014 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17015 (LDLIBS-tst-chk4): This.
17016 (LDFLAGS-tst-chk5): Renamed to ...
17017 (LDLIBS-tst-chk5): This.
17018 (LDFLAGS-tst-chk6): Renamed to ...
17019 (LDLIBS-tst-chk6): This.
17020 (LDFLAGS-tst-lfschk4): Renamed to ...
17021 (LDLIBS-tst-lfschk4): This.
17022 (LDFLAGS-tst-lfschk5): Renamed to ...
17023 (LDLIBS-tst-lfschk5): This.
17024 (LDFLAGS-tst-lfschk6): Renamed to ...
17025 (LDLIBS-tst-lfschk6): This.
17027 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17028 on $(common-objpfx)soversions.mk.
17030 2012-09-07 Joseph Myers <joseph@codesourcery.com>
17033 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17036 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17038 * malloc/arena.c (arena_get_retry): New function that gets
17039 another arena for the caller to try its request on.
17040 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17041 current arena cannot fulfill the request.
17042 (__libc_memalign): Likewise.
17043 (__libc_memalign): Likewise.
17044 (__libc_pvalloc): Likewise.
17045 (__libc_calloc): Likewise.
17047 2012-09-05 John Tobey <john.tobey@gmail.com>
17050 * manual/arith.texi (Operations on Complex): Fix description
17051 of carg branch cut.
17053 2012-09-06 Joseph Myers <joseph@codesourcery.com>
17056 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17060 * manual/memory.texi (Memory): Make order of menu items match
17063 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17065 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17066 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
17067 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17069 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17071 * csu/libc-tls.c (static_dtv): Renamed to ...
17072 (_dl_static_dtv): This. Make it global.
17073 (_dl_initial_dtv): Removed.
17074 (__libc_setup_tls): Updated.
17075 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17076 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17079 2012-09-06 Petr Machata <pmachata@redhat.com>
17081 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17082 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17083 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17084 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17086 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17089 * csu/libc-tls.c (_dl_initial_dtv): New variable.
17090 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17093 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17096 * Makeconfig (link-static-before-libc): Replace $(+prector)
17098 (link-static-after-libc): Replace $(+postctor) with
17100 (link-bounded): Replace $(+prector)/$(+postctor) with
17101 $(+prectorT)/$(+postctorT).
17102 (+prectorT): New macro.
17103 (+postctorT): Likewise.
17105 2012-09-06 Joseph Myers <joseph@codesourcery.com>
17107 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17108 (round_str): Handle values above the maximum for IBM long double
17110 * stdlib/tst-strtod-round.c (tests): Regenerated.
17112 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17114 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17116 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17117 zarch_nohighgprs around the zarch optimized routines.
17118 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17119 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17120 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17123 2012-09-05 David S. Miller <davem@davemloft.net>
17125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17127 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17128 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17129 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17130 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17133 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17135 * malloc/arena.c: Fold copyright years.
17136 * malloc/mcheck.c, malloc/memusage.c: Likewise.
17138 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17140 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17142 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17144 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17146 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17148 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17149 change internal state upon failure.
17151 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17153 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17154 * malloc/memusage.c (mmap): Likewise.
17155 (mmap64, mremap): Likewise. Adjust name in comment.
17157 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17159 * libio/fileops.c: Fix typos in comments.
17160 * libio/oldfileops.c: Likewise.
17161 * libio/wfileops.c: Likewise.
17163 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17166 * malloc/Makefile (tests): Add tst-malloc-usable test case.
17167 (tst-malloc-usable-ENV): Set environment for test case.
17168 * malloc/hooks.c (malloc_check_get_size): New function to get
17170 * malloc/malloc.c (musable): Use malloc_check_get_size.
17171 * malloc/tst-malloc-usable.c: New test case.
17173 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17175 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17177 2012-09-05 Allan McRae <allan@archlinux.org>
17180 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17181 determine header location.
17182 * configure: Regenerated.
17184 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17186 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17188 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
17189 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17191 (test): Regenerate.
17193 2012-09-04 David S. Miller <davem@davemloft.net>
17195 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17196 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17197 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17199 2012-09-04 Florian Weimer <fweimer@redhat.com>
17201 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17204 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17206 2012-09-04 Joseph Myers <joseph@codesourcery.com>
17209 * libio/iogetdelim.c: Include <limits.h>.
17210 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17211 + len + 1 would overflow.
17213 2012-09-03 Andreas Jaeger <aj@suse.de>
17215 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17216 * sysdeps/i386/fpu/libm-test-ulps: Update.
17218 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17220 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17221 Add s_sinf-sse2, s_conf-sse2.
17223 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17224 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17225 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17226 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17228 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17229 for using routine as __sinf_ia32.
17230 Use macro for function declaration and weak_alias.
17231 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17232 for using routine as __cosf_ia32.
17233 Use macro for function declaration and weak_alias.
17235 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17236 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17238 * sysdeps/x86_64/fpu/s_sinf.S: New file.
17239 * sysdeps/x86_64/fpu/s_cosf.S: New file.
17240 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17242 * math/libm-test.inc (cos_test): Add more test cases.
17243 (sin_test): Likewise.
17244 (sincos_test): Likewise.
17246 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17248 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17249 (IFUNC_RESOLVE): Make pointers to the specialized implementations
17251 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17253 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
17256 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17257 first element of the GOT.
17258 (elf_machine_load_address): Return the difference between
17259 the runtime address of _DYNAMIC and elf_machine_dynamic ().
17261 2012-09-01 Allan McRae <allan@archlinux.org>
17264 * configure.in (AWK): Require gawk version 3.0 or later.
17265 * configure: Regenerated.
17267 2012-09-01 Joseph Myers <joseph@codesourcery.com>
17269 * sysdeps/unix/sysv/linux/kernel-features.h
17270 (__ASSUME_POSIX_CPU_TIMERS): Remove.
17271 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17272 [__NR_clock_getres]: Make code unconditional.
17273 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17274 (clock_getcpuclockid): Remove code left unreachable by removal of
17276 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17277 code unconditional.
17278 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17279 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17280 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17281 Make code unconditional.
17282 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17283 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17284 * sysdeps/unix/sysv/linux/clock_settime.c
17285 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17287 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17288 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17290 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
17293 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17294 scripts/test-installation.pl.
17296 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17297 and $ld_so_version if it is set.
17299 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17302 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17303 failure if reading from procfs failed.
17304 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17306 2012-08-27 Joseph Myers <joseph@codesourcery.com>
17308 * sysdeps/unix/sysv/linux/kernel-features.h
17309 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
17310 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17311 Remove conditional code.
17312 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17313 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
17314 Remove conditional code.
17315 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17316 * sysdeps/unix/sysv/linux/i386/fxstat.c
17317 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17318 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17319 * sysdeps/unix/sysv/linux/i386/fxstatat.c
17320 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17321 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17322 * sysdeps/unix/sysv/linux/i386/lxstat.c
17323 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17324 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17325 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
17326 Remove conditional code.
17327 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17328 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17329 Remove conditional code.
17330 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17331 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
17332 <kernel-features.h>.
17333 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
17335 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17336 Remove conditional code.
17337 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17338 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17339 Remove conditional.
17341 2012-08-27 Mike Frysinger <vapier@gentoo.org>
17344 * NEWS: Add fixed bug number.
17346 2012-08-27 Joseph Myers <joseph@codesourcery.com>
17349 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17350 underflowing exponent in case of negative sign.
17351 * stdlib/tst-strtod-round-data: Add more tests.
17352 * stdlib/tst-strtod-round.c (tests): Regenerated.
17355 * stdlib/strtod_l.c (NDIG): Remove.
17356 (HEXNDIG): Likewise.
17357 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17358 smallest representable value.
17359 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17360 lie within an exact representation of 1/2 ulp of the result.
17361 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17363 (TENS_P9_IDX): Define unconditionally.
17364 (TENS_P9_SIZE): Likewise.
17365 (TENS_P10_IDX): Likewise.
17366 (TENS_P10_SIZE): Likewise.
17367 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17368 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17369 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17370 entries for 10^2^13 and 10^2^14.
17371 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17372 (TENS_P13_IDX): Define.
17373 (TENS_P13_SIZE): Likewise.
17374 (TENS_P14_IDX): Likewise.
17375 (TENS_P14_SIZE): Likewise.
17376 (_fpioconst_pow10): Change array size to
17377 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
17379 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17380 1024]: Add entries for 10^2^13 and 10^2^14.
17381 [LAST_POW10 > _LAST_POW10]: Remove #error.
17382 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17383 (_fpioconst_pow10): Change array size to
17384 FPIOCONST_POW10_ARRAY_SIZE.
17385 * stdlib/gen-fpioconst.c: New file.
17386 * stdlib/gen-tst-strtod-round.c: Likewise.
17387 * stdlib/tst-strtod-round-data: Likewise.
17388 * stdlib/tst-strtod-round.c: Likewise.
17389 * stdlib/Makefile (tests): Add tst-strtod-round.
17392 * stdlib/strtod_l.c: Include <stdint.h>.
17393 (NDEBUG): Do not define.
17394 (round_and_return): Change EXPONENT parameter to type intmax_t.
17395 Rearrange calculations to avoid internal overflow possibilities.
17396 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17397 Rearrange calculations to avoid internal overflow possibilities.
17398 Assert that number fits inside MPNSIZE limbs.
17399 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17400 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
17401 calculations and add assertions to avoid internal overflow
17402 possibilities. Add casts to avoid signed/unsigned operations.
17403 * stdlib/tst-strtod-overflow.c: New file.
17404 * stdlib/Makefile (tests): Add tst-strtod-overflow.
17406 2012-08-25 Marek Polacek <polacek@redhat.com>
17408 * time/time.h: Fix some typos in comments.
17410 2012-08-23 Roland McGrath <roland@hack.frob.com>
17412 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17413 * posix/tst-rfc3484-2.c: Likewise.
17414 * posix/tst-rfc3484-3.c: Likewise.
17416 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
17418 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17419 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17421 2012-08-23 Joseph Myers <joseph@codesourcery.com>
17423 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17424 #include of fxstatat64.c.
17426 2012-08-22 Roland McGrath <roland@hack.frob.com>
17428 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17429 * shadow/getspent_r.c: Likewise.
17430 * shadow/getspnam.c: Likewise.
17431 * shadow/getspnam_r.c: Likewise.
17432 * gshadow/getsgent.c: Likewise.
17433 * gshadow/getsgent_r.c: Likewise.
17434 * gshadow/getsgnam.c: Likewise.
17435 * gshadow/getsgnam_r.c: Likewise.
17436 * inet/getnetbyad.c: Likewise.
17437 * inet/getnetbyad_r.c: Likewise.
17438 * inet/getnetbynm.c: Likewise.
17439 * inet/getnetbynm_r.c: Likewise.
17440 * inet/getnetent.c: Likewise.
17441 * inet/getnetent_r.c: Likewise.
17442 * inet/getproto.c: Likewise.
17443 * inet/getproto_r.c: Likewise.
17444 * inet/getprtent.c: Likewise.
17445 * inet/getprtent_r.c: Likewise.
17446 * inet/getprtname.c: Likewise.
17447 * inet/getprtname_r.c: Likewise.
17448 * inet/getrpcbyname.c: Likewise.
17449 * inet/getrpcbyname_r.c: Likewise.
17450 * inet/getrpcbynumber.c: Likewise.
17451 * inet/getrpcbynumber_r.c: Likewise.
17452 * inet/getrpcent.c: Likewise.
17453 * inet/getrpcent_r.c: Likewise.
17454 * inet/getaliasent.c: Likewise.
17455 * inet/getaliasent_r.c: Likewise.
17456 * inet/getaliasname.c: Likewise.
17457 * inet/getaliasname_r.c: Likewise.
17458 * nscd/getgrgid_r.c: Likewise.
17459 * nscd/getgrnam_r.c: Likewise.
17460 * nscd/gethstbyad_r.c: Likewise.
17461 * nscd/gethstbynm3_r.c: Likewise.
17462 * nscd/getpwnam_r.c: Likewise.
17463 * nscd/getpwuid_r.c: Likewise.
17464 * nscd/getsrvbynm_r.c: Likewise.
17465 * nscd/getsrvbypt_r.c: Likewise.
17466 * nscd/gai.c: Likewise.
17468 * configure.in (build_nscd): New substituted variable, set
17469 by --disable-build-nscd and defaults to $use_nscd.
17470 * configure: Regenerated.
17471 * config.make.in (build-nscd): New substituted variable.
17472 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17473 Change conditional to require [$(build-nscd) = yes] as well.
17474 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17477 * configure.in (use_nscd): New substituted variable, set by
17478 --disable-nscd. If enabled, define USE_NSCD.
17479 * configure: Regenerated.
17480 * config.h.in: Add USE_NSCD.
17481 * config.make.in (use-nscd): New substituted variable.
17482 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17483 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17484 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17485 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17486 (CFLAGS-getgrnam_r.c): Likewise.
17487 (CFLAGS-initgroups.c): Likewise.
17488 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17489 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17491 * inet/getnetgrent_r.c
17492 (nscd_setnetgrent): New function, broken out of ...
17493 (setnetgrent): ... here. Call it.
17494 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17495 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17496 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17497 * nscd/Makefile (routines, aux): Move definitions after include of
17498 Makeconfig. Conditionalize on [$(use-nscd) != no].
17499 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17500 Conditionalize on [USE_NSCD].
17501 (is_nscd, nscd_init_cb): Likewise.
17502 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17503 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17504 * nss/nss_db/db-init.c: Likewise.
17505 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17507 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17508 (make_request): Use it.
17509 (cache_valid_p): New function.
17510 (__check_pf): Use it.
17511 * NEWS: Add item for --disable-nscd.
17513 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17515 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17516 to support sed >= 4.2.1-20-ga9bf076.
17517 * configure: Regenerated.
17519 2012-08-22 Roland McGrath <roland@hack.frob.com>
17521 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17522 Conditionalize whole body on [IREL].
17524 2012-08-22 Jeff Law <law@redhat.com>
17527 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17528 if the family is PF_UNSPEC.
17530 2012-08-22 Mike Frysinger <vapier@gentoo.org>
17532 * Makerules (lib-version): Rename from V.
17533 (install-lib-nosubdir): Change V to lib-version.
17535 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17538 * powerpc32/power6/wcschr.c: New file.
17539 * powerpc32/power6/wcscpy.c: New file.
17540 * powerpc32/power6/wcsrchr.c: New file.
17541 * powerpc64/power6/wcschr.c: New file.
17542 * powerpc64/power6/wcscpy.c: New file.
17543 * powerpc64/power6/wcsrchr.c: New file.
17545 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17547 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17548 (two_way_short_needle): Use it.
17549 * string/strstr.c (AVAILABLE1_USES_J): Define.
17550 * string/strcasestr.c: Likewise.
17552 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17554 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17557 * NEWS: Add an entry.
17558 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17559 define their defaults.
17560 (two_way_short_needle): Detect end-of-string on-the-fly.
17561 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17562 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17563 * string/bug-strcasestr1.c: New test.
17564 * string/Makefile: Run it.
17566 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17569 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17570 the first character.
17572 2012-08-21 Roland McGrath <roland@hack.frob.com>
17574 * csu/elf-init.c (__libc_csu_irel): Function removed.
17575 * csu/libc-start.c (apply_irel): New function.
17576 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17578 2012-08-21 Joseph Myers <joseph@codesourcery.com>
17580 * sysdeps/unix/sysv/linux/kernel-features.h
17581 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17582 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17583 <kernel-features.h>.
17584 [__NR_fadvise64_64]: Make code unconditional.
17585 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17586 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17587 !__NR_fadvise64_64)]: Likewise.
17588 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17589 !__NR_fadvise64_64))]: Likewise.
17590 [__NR_fadvise64]: Make code unconditional.
17591 [!__NR_fadvise64]: Remove conditional code.
17592 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17593 <kernel-features.h>.
17594 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17596 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17599 not include <kernel-features.h>.
17600 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17602 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17604 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17605 include <kernel-features.h>.
17606 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17608 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17611 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17613 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17614 slight instruction rearrangements per scrollpipe analysis.
17615 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17617 2012-08-20 Roland McGrath <roland@hack.frob.com>
17619 * manual/syslog.texi (syslog; vsyslog, closelog):
17620 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17621 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17623 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17624 DSOCAPS to match condition on defining it.
17626 2012-08-20 Joseph Myers <joseph@codesourcery.com>
17628 * sysdeps/unix/sysv/linux/kernel-features.h
17629 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17630 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17631 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17632 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17633 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17634 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17635 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17636 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17637 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17638 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17640 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17641 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17643 * sysdeps/unix/sysv/linux/kernel-features.h
17644 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17645 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17647 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17648 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17649 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17650 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17651 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17652 Make code unconditional.
17653 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17654 (__mmap64) [!__NR_mmap2]: Likewise.
17655 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17656 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17657 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17658 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17659 [__NR_mmap2]: Make code unconditional.
17660 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17661 (__mmap64) [!__NR_mmap2]: Likewise.
17663 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17665 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17667 2012-08-18 Andreas Jaeger <aj@suse.de>
17669 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17671 2012-08-18 Mike Frysinger <vapier@gentoo.org>
17673 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17674 * include/unistd.h (__have_sock_cloexec): Likewise.
17675 (__have_pipe2): Likewise.
17676 (__have_dup3): Likewise.
17678 2012-08-18 Mike Frysinger <vapier@gentoo.org>
17681 * include/unistd.h (__have_pipe2): Change define into an extern int.
17682 (__have_dup3): Likewise.
17683 * socket/have_sock_cloexec.c: Include fcntl.h.
17684 (__have_pipe2): New variable.
17685 (__have_dup3): Likewise.
17687 2012-08-17 Mike Frysinger <vapier@gentoo.org>
17689 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17691 2012-08-17 Marek Polacek <polacek@redhat.com>
17693 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17694 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17696 2012-08-17 Roland McGrath <roland@hack.frob.com>
17698 * configure.in: Add AC_SUBST for sysheaders.
17699 * configure: Regenerated.
17700 * config.make.in (sysheaders): New substituted variable.
17702 * sysdeps/unix/mkfifo.c: Moved ...
17703 * sysdeps/posix/mkfifo.c: ... here.
17704 * sysdeps/unix/mkfifoat.c: Moved ...
17705 * sysdeps/posix/mkfifoat.c: ... here.
17707 * sysdeps/unix/utime.c: Moved ...
17708 * sysdeps/posix/utime.c: ... here.
17710 * sysdeps/unix/time.c: Moved ...
17711 * sysdeps/posix/time.c: ... here.
17712 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17713 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
17715 * sysdeps/unix/nice.c: Moved ...
17716 * sysdeps/posix/nice.c: ... here.
17718 * sysdeps/unix/alarm.c: Moved ...
17719 * sysdeps/posix/alarm.c: ... here.
17721 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17723 2012-08-17 Jeff Law <law@redhat.com>
17725 * intl/Makefile (codeset_mo): New variable.
17726 ($(codeset_mo)): New target.
17727 (tst-codeset.out): Depend on that. Remove explicit rule.
17728 (tst-gettext3.out, tst-gettext5.out): Likewise.
17729 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17730 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17731 * intl/tst-codeset.sh: Remove.
17732 * intl/tst-gettext3.sh: Likewise.
17733 * intl/tst-gettext5.sh: Likewise.
17735 2012-08-17 Roland McGrath <roland@hack.frob.com>
17737 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17738 * sysdeps/unix/syscalls.list: ... here.
17740 * sysdeps/posix/getaddrinfo.c
17741 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17742 (gaiconf_init, gaiconf_reload): Use them.
17743 [!_STATBUF_ST_NSEC]
17744 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17745 Define using time_t rather than struct timespec.
17747 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17748 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17750 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17752 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17753 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17756 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17757 __libc_cleanup_push argument.
17759 * bits/param.h: New file.
17760 * misc/sys/param.h: New file.
17761 * include/sys/param.h: New file.
17762 * misc/Makefile (headers): Add bits/param.h.
17763 * sysdeps/generic/sys/param.h: File removed.
17764 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17765 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17766 * sysdeps/mach/hurd/bits/param.h: New file.
17767 * sysdeps/mach/hurd/sys/param.h: File removed.
17769 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17772 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17774 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17775 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17778 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17779 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17780 rather than -D_IO_MTSAFE_IO conditionally.
17781 * stdio-common/Makefile (CPPFLAGS): Likewise.
17782 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17783 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17784 Use $(libio-mtsafe).
17785 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17786 of -D_IO_MTSAFE_IO.
17787 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17788 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17789 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17790 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17791 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17792 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17793 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17794 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17795 (CFLAGS-fread_u_chk.c): Likewise.
17796 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17797 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17798 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17799 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17800 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17801 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17802 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17803 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17804 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17806 * libio/Makefile: Test [$(libc-reentrant) = yes]
17807 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17810 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17811 * sysdeps/pthread/configure: File removed.
17812 * sysdeps/pthread/Makeconfig: New file.
17813 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17814 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17816 2012-08-16 Gary Benson <gbenson@redhat.com>
17818 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17819 unmapping the first object in a namespace.
17821 2012-08-16 Roland McGrath <roland@hack.frob.com>
17823 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17824 (__internal_setnetgrent): ... this. Add internal_function to
17825 definition. Add libc_hidden_def.
17826 (setnetgrent): Update caller.
17827 (internal_endnetgrent): Renamed to ...
17828 (__internal_endnetgrent): ... this. Add internal_function to
17829 definition. Add libc_hidden_def.
17830 (endnetgrent): Update caller.
17831 (internal_getnetgrent_r): Renamed to ...
17832 (__internal_getnetgrent_r): ... this. Add internal_function to
17833 definition. Add libc_hidden_def.
17834 (__getnetgrent_r): Update caller.
17835 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
17837 2012-08-16 Joseph Myers <joseph@codesourcery.com>
17839 * stdlib/longlong.h: Update from GCC.
17841 2012-08-16 Roland McGrath <roland@hack.frob.com>
17843 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17844 on _QL, which is set by umul_ppmm but never used.
17845 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17846 variables, which are set by GMP macros but never used.
17847 * stdio-common/_itowa.c (_itowa): Likewise.
17848 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17849 * stdlib/mod_1.c (mpn_mod_1): Likewise.
17851 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17853 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17854 struct La_sh_regs is not constant.
17855 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17856 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17857 and struct La_sparc64_regs are not constant.
17859 2012-08-16 Joseph Myers <joseph@codesourcery.com>
17861 * sysdeps/unix/sysv/linux/kernel-features.h
17862 (__ASSUME_POSIX_TIMERS): Remove.
17863 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17864 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17865 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17866 Make code unconditional.
17867 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17868 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17869 Make code unconditional.
17870 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17871 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17872 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17873 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17874 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17875 Make code unconditional.
17876 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17877 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17878 (__libc_missing_posix_timers): Remove.
17880 2012-08-15 Roland McGrath <roland@hack.frob.com>
17882 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17883 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17885 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17887 * elf/dl-sym.c: Include <stdlib.h>.
17889 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17890 constants, which avoids warnings in 32-bit builds.
17892 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17893 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17895 * misc/lseek.c: File moved to ...
17896 * io/lseek.c: ... here.
17898 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17900 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17901 shifting LEN more than 31 bits at once.
17903 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17906 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17907 segmentation fault for a case of two empty input strings.
17908 * string/test-strncasecmp.c (check1): Renamed to...
17909 (bz12205): ...this.
17910 (bz14195): Add new testcase for two empty input strings and N > 0.
17911 (test_main): Call new testcase, adapt for renamed function.
17913 2012-08-15 Andreas Jaeger <aj@suse.de>
17916 * crypt/md5test2.c: New test, based on test supplied by Serge
17917 Belyshev <belyshev@depni.sinp.msu.ru>.
17918 * crypt/Makefile (xtests): Add md5test-giant..
17919 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17921 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17924 * crypt/md5.c (md5_process_block): Don't assume the buffer
17925 length is less than 2**32.
17926 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17927 length is less than 2**64.
17929 2012-08-15 Roland McGrath <roland@hack.frob.com>
17931 * string/str-two-way.h: Include <sys/param.h>.
17932 (MAX): Macro removed.
17934 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17935 Move #define and #undef of memmove to just before and after
17936 including <string.h>.
17938 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17939 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
17940 and after including <string.h>. Move declarations of
17941 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
17942 to before #include "string/memmove.c".
17944 * include/dirent.h: Declare __getdirentries.
17946 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
17947 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
17949 2012-08-14 Mike Frysinger <vapier@gentoo.org>
17951 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
17952 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
17953 * sysdeps/i386/configure: Regenerated.
17954 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
17955 STABS_CURRENT_FILE, and STABS_FUN.
17956 (END): Remove call to STABS_FUN_END.
17957 (STABS_CURRENT_FILE1): Delete.
17958 (STABS_CURRENT_FILE): Likewise.
17959 (STABS_FUN): Likewise.
17960 (STABS_FUN_END): Likewise.
17961 (STABS_FUN2): Likewise.
17962 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
17963 * sysdeps/x86_64/configure: Regenerated.
17965 2012-08-14 Roland McGrath <roland@hack.frob.com>
17967 * elf/dl-open.c: Include <atomic.h>.
17968 * elf/dl-lookup.c: Likewise.
17970 2012-08-14 Joseph Myers <joseph@codesourcery.com>
17972 * sysdeps/unix/sysv/linux/kernel-features.h
17973 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17974 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17976 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17978 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17979 condition on __ASSUME_CLONE_THREAD_FLAGS.
17981 2012-08-14 Andreas Jaeger <aj@suse.de>
17983 * sysdeps/i386/fpu/libm-test-ulps: Update.
17985 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17987 * include/atomic.h (atomic_exchange_and_add): Split into ...
17988 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17991 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17993 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17995 2012-08-13 Jeff Law <law@redhat.com>
17997 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17998 null byte in the output string.
18000 2012-08-10 Joseph Myers <joseph@codesourcery.com>
18002 * sysdeps/unix/sysv/linux/kernel-features.h
18003 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18004 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18005 (__ASSUME_ARG_MAX_STACK_BASED): Define.
18006 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18007 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18008 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
18009 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18011 2012-08-09 Jeff Law <law@redhat.com>
18014 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18015 When avoid_arena is set, don't retry in the that arena. Pick the
18016 next one, whatever it might be.
18017 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18018 (arena_lock): Pass in new parameter to arena_get2.
18019 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18021 (__libc_malloc): Unify retrying after main arena failure with
18022 __libc_memalign version.
18023 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18025 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
18028 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18029 to __redirect_strstr.
18030 (__strstr_sse42): Use typeof __redirect_strstr.
18031 (__strstr_ia32): Likewise.
18032 (__libc_strstr): New prototype.
18033 (strstr): Renamed to ...
18034 (__libc_strstr): This.
18035 (strstr): New strong alias of __libc_strstr.
18036 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18037 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18040 (__libc_time): New prototype.
18041 (time_ifunc): Replace time with __libc_time.
18042 (time): New strong alias and hidden definition of __libc_time.
18043 (__GI_time): Remove strong alias.
18044 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18045 Include <stddef.h>.
18046 (memmove): Redefined to __redirect_memmove.
18047 (__memmove_sse2): Use typeof __redirect_memmove.
18048 (__memmove_ssse3): Likewise.
18049 (__memmove_ssse3_back): Likewise.
18050 (__libc_memmove): New prototype.
18051 (memmove): Renamed to ...
18052 (__libc_memmove): This.
18053 (memmove): New strong alias of __libc_memmove.
18055 2012-08-08 Mark Salter <msalter@redhat.com>
18058 (R_MN10300_TLS_GD): Define.
18059 (R_MN10300_TLS_LD): Likewise.
18060 (R_MN10300_TLS_LDO): Likewise.
18061 (R_MN10300_TLS_GOTIE): Likewise.
18062 (R_MN10300_TLS_IE): Likewise.
18063 (R_MN10300_TLS_LE): Likewise.
18064 (R_MN10300_TLS_DTPMOD): Likewise.
18065 (R_MN10300_TLS_DTPOFF): Likewise.
18066 (R_MN10300_TLS_TPOFF): Likewise.
18067 (R_MN10300_SYM_DIFF): Likewise.
18068 (R_MN10300_ALIGN): Likewise.
18069 (R_MN10300_NUM): Update.
18071 2012-08-08 Joseph Myers <joseph@codesourcery.com>
18073 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18076 2012-08-08 Roland McGrath <roland@hack.frob.com>
18078 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18080 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18081 sysdeps/unix -> sysdeps/posix move.
18082 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18084 2012-08-07 Allan McRae <allan@archlinux.org>
18087 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18088 (SUNOS_CPP): Likewise.
18089 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18091 (open_input): Call CPP using execvp.
18093 2012-08-07 Joseph Myers <joseph@codesourcery.com>
18095 * sysdeps/unix/sysv/linux/kernel-features.h
18096 (__ASSUME_PROT_GROWSUPDOWN): Remove.
18097 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18098 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18099 (__ASSUME_WAITID_SYSCALL): Likewise.
18100 * sysdeps/unix/sysv/linux/dl-execstack.c
18101 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18102 code unconditional.
18103 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18105 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18106 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18107 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18109 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18111 [__ASSUME_WAITID_SYSCALL]: Likewise.
18112 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18114 2012-08-07 Roland McGrath <roland@hack.frob.com>
18116 * sysdeps/unix/closedir.c: Renamed to ...
18117 * sysdeps/posix/closedir.c: ... here.
18118 * sysdeps/unix/dirfd.c: Renamed to ...
18119 * sysdeps/posix/dirfd.c: ... here.
18120 * sysdeps/unix/dirstream.h: Renamed to ...
18121 * sysdeps/posix/dirstream.h: ... here.
18122 * sysdeps/unix/fdopendir.c: Renamed to ...
18123 * sysdeps/posix/fdopendir.c: ... here.
18124 * sysdeps/unix/opendir.c: Renamed to ...
18125 * sysdeps/posix/opendir.c: ... here.
18126 * sysdeps/unix/readdir.c: Renamed to ...
18127 * sysdeps/posix/readdir.c: ... here.
18128 * sysdeps/unix/readdir_r.c: Renamed to ...
18129 * sysdeps/posix/readdir_r.c: ... here.
18130 * sysdeps/unix/rewinddir.c: Renamed to ...
18131 * sysdeps/posix/rewinddir.c: ... here.
18132 * sysdeps/unix/seekdir.c: Renamed to ...
18133 * sysdeps/posix/seekdir.c: ... here.
18134 * sysdeps/unix/telldir.c: Renamed to ...
18135 * sysdeps/posix/telldir.c: ... here.
18136 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18137 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18138 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18139 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18141 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18142 * bits/fcntl.h: ... here.
18144 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18146 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18147 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18148 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18149 (struct flock): Move l_start, l_len to the beginning.
18150 Use __pid_t for l_pid.
18151 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18152 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18153 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18154 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18155 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18156 [__USE_LARGEFILE64] (struct flock64): New type.
18157 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18159 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18160 * bits/dirent.h: ... here.
18162 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18163 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18165 2012-08-07 Joseph Myers <joseph@codesourcery.com>
18167 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18168 Change from 2.6.0 to 2.6.16.
18169 * sysdeps/unix/sysv/linux/configure: Regenerated.
18170 * sysdeps/unix/sysv/linux/kernel-features.h
18171 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18172 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18174 (__ASSUME_UTIMES): Likewise.
18175 (__ASSUME_CLONE_STOPPED): Remove.
18176 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18177 architectures, not kernel version.
18178 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18179 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18180 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18181 (__ASSUME_WAITID_SYSCALL): Likewise.
18182 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18183 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18184 * README: State 2.6.16 as minimum Linux kernel version. Do not
18185 refer to older versions.
18187 2012-08-06 Roland McGrath <roland@hack.frob.com>
18189 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18190 Define alphasort64 as an alias.
18191 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18192 Define versionsort64 as an alias.
18193 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18194 Define scandir64 as an alias.
18195 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18196 Define scandirat64 as an alias.
18197 * dirent/alphasort64.c (alphasort64):
18198 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18199 * dirent/versionsort64.c: Likewise.
18200 * dirent/scandir64.c: Likewise.
18201 * dirent/scandirat64.c: Likewise.
18202 * sysdeps/wordsize-64/alphasort.c: File removed.
18203 * sysdeps/wordsize-64/alphasort64.c: File removed.
18204 * sysdeps/wordsize-64/scandir.c: File removed.
18205 * sysdeps/wordsize-64/scandir64.c: File removed.
18206 * sysdeps/wordsize-64/scandirat.c: File removed.
18207 * sysdeps/wordsize-64/scandirat64.c: File removed.
18208 * sysdeps/wordsize-64/versionsort.c: File removed.
18209 * sysdeps/wordsize-64/versionsort64.c: File removed.
18210 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18211 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18212 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18213 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18214 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18215 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18216 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18217 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18219 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18220 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18221 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18222 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18223 [defined __arch64__ || defined __sparcv9]
18224 (__INO_T_MATCHES_INO64_T): New macro.
18225 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18226 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18227 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18228 * sysdeps/unix/sysv/linux/bits/dirent.h
18229 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18230 (_DIRENT_MATCHES_DIRENT64): New macro.
18232 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18233 Define lockf64 as an alias.
18234 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18235 Define fseeko64 as an alias.
18236 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18237 Define ftello64 as an alias.
18238 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18239 Define _IO_fgetpos64 and fgetpos64 as aliases.
18240 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18241 Define _IO_fsetpos64 and fsetpos64 as aliases.
18242 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18243 Conditionalize body on this.
18244 * libio/fseeko64.c: Likewise.
18245 * libio/ftello64.c: Likewise.
18246 * libio/iofgetpos64.c: Likewise.
18247 * libio/iofsetpos64.c: Likewise.
18248 * sysdeps/wordsize-64/lockf.c: File removed.
18249 * sysdeps/wordsize-64/lockf64.c: File removed.
18250 * sysdeps/wordsize-64/fseeko.c: File removed.
18251 * sysdeps/wordsize-64/fseeko64.c: File removed.
18252 * sysdeps/wordsize-64/ftello.c: File removed.
18253 * sysdeps/wordsize-64/ftello64.c: File removed.
18254 * sysdeps/wordsize-64/iofgetpos.c: File removed.
18255 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18256 * sysdeps/wordsize-64/iofsetpos.c: File removed.
18257 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18258 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18259 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18260 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18261 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18262 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18263 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18264 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18265 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18266 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18267 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18269 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18270 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18271 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18272 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18273 [defined __arch64__ || defined __sparcv9]
18274 (__OFF_T_MATCHES_OFF64_T): New macro.
18275 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18276 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18277 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18278 (__OFF_T_MATCHES_OFF64_T): New macro.
18280 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18282 * stdlib/secure-getenv.c (__secure_getenv): Replace
18283 GLIBC_2_16 with GLIBC_2_17.
18285 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18287 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18288 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18290 2012-08-03 David S. Miller <davem@davemloft.net>
18292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18294 2012-08-03 Joseph Myers <joseph@codesourcery.com>
18296 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18298 (__ASSUME_CORRECT_SI_PID): Likewise.
18299 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18300 (__ASSUME_TMPFS_NAME): Likewise.
18301 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18302 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18303 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18304 (HAVE_AUX_SECURE): Make definition unconditional.
18305 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18306 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
18308 2012-08-03 Roland McGrath <roland@hack.frob.com>
18310 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
18311 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
18312 * sysdeps/mach/hurd/eloop-threshold.h: New file.
18313 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18314 __eloop_threshold instead of SYMLOOP_MAX.
18316 * sysdeps/generic/eloop-threshold.h: New file.
18317 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18319 * elf/chroot_canon.c (chroot_canon): Likewise.
18321 2012-08-03 Joseph Myers <joseph@codesourcery.com>
18324 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18325 Change to 2.6.0 everywhere.
18326 * sysdeps/unix/sysv/linux/configure: Regenerated.
18327 * sysdeps/unix/sysv/linux/kernel-features.h
18328 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
18329 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
18331 (__ASSUME_POSIX_TIMERS): Define unconditionally.
18332 (__ASSUME_FUTEX_REQUEUE): Remove.
18333 (__ASSUME_STATFS64): Define unconditionally.
18334 (__ASSUME_AT_SECURE): Likewise.
18335 (__ASSUME_CORRECT_SI_PID): Likewise.
18336 (__ASSUME_TGKILL): Define without depending on kernel version for
18338 (__ASSUME_UTIMES): Likewise.
18339 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18341 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18342 (__ASSUME_TMPFS_NAME): Likewise.
18343 * README: Update reference to Linux kernel versions.
18345 2012-08-02 Marek Polacek <polacek@redhat.com>
18348 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
18349 libc_cv_asm_type_prefix with %.
18350 * configure: Regenerated.
18351 * include/libc-symbols.h: Remove comment about
18352 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18353 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18354 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18355 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18356 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18357 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18358 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18359 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18360 * elf/tst-unique2mod1.c: Likewise.
18361 * elf/tst-unique1mod2.c: Likewise.
18362 * elf/tst-unique1mod1.c: Likewise.
18363 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18364 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18365 Replace ASM_TYPE_DIRECTIVE with .type.
18366 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18367 * sysdeps/i386/sysdep.h: Likewise.
18368 * sysdeps/x86_64/sysdep.h: Likewise.
18369 * sysdeps/sh/sysdep.h: Likewise.
18370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18371 Do not define ASM_TYPE_DIRECTIVE.
18372 * sysdeps/powerpc/sysdep.h: Likewise.
18373 * sysdeps/powerpc/powerpc32/sysdep.h:
18374 Replace ASM_TYPE_DIRECTIVE with .type.
18375 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18376 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18377 * sysdeps/i386/fpu/e_powf.S: Likewise.
18378 * sysdeps/i386/fpu/e_expl.S: Likewise.
18379 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18380 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18381 * sysdeps/i386/fpu/e_pow.S: Likewise.
18382 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18383 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18384 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18385 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18386 * sysdeps/i386/fpu/e_log2.S: Likewise.
18387 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18388 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18389 * sysdeps/i386/fpu/e_powl.S: Likewise.
18390 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18391 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18392 * sysdeps/i386/fpu/e_logl.S: Likewise.
18393 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18394 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18395 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18396 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18397 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18398 * sysdeps/i386/fpu/e_log.S: Likewise.
18399 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18400 * sysdeps/i386/fpu/e_logf.S: Likewise.
18401 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18402 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18403 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18404 * sysdeps/i386/fpu/e_log10.S: Likewise.
18405 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18406 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18407 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18408 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18409 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18410 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18411 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18412 * sysdeps/i386/i686/strtok.S: Likewise.
18413 * sysdeps/i386/i386-mcount.S: Likewise.
18414 * sysdeps/i386/strtok.S: Likewise.
18415 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18416 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18417 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18418 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18419 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18420 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18421 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18422 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18423 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18424 * sysdeps/x86_64/_mcount.S: Likewise.
18425 * sysdeps/x86_64/strtok.S: Likewise.
18426 * sysdeps/sh/_mcount.S: Likewise.
18428 2012-08-01 Roland McGrath <roland@hack.frob.com>
18430 * libio/iofopen.c: Include <fcntl.h>.
18431 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18432 (_IO_fopen64, fopen64): Define as aliases.
18433 * libio/iofopen64.c: Include <fcntl.h>.
18434 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18435 Conditionalize body on this.
18436 * sysdeps/wordsize-64/iofopen.c: File removed.
18437 * sysdeps/wordsize-64/iofopen64.c: File removed.
18439 2012-08-01 Marek Polacek <polacek@redhat.com>
18441 * libc/Makeconfig: Use elf in place of binfmt-subdir.
18442 Use dlfcn directly instead of a variable.
18443 (binfmt-subdir): Do not define.
18446 2012-08-01 Joseph Myers <joseph@codesourcery.com>
18448 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18449 Remove all definitions.
18450 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18451 <kernel-features.h>.
18452 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18453 (miss_F_GETOWN_EX): Remove all definitions.
18454 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18456 [!__ASSUME_FCNTL64]: Remove conditional code.
18457 [__ASSUME_FCNTL64]: Make code unconditional.
18458 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18459 <kernel-features.h>.
18460 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18461 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18462 (lockf64) [__NR_fcntl64]: Make code unconditional.
18463 (lockf64) [__ASSUME_FCNTL64]: Likewise.
18465 * sysdeps/unix/sysv/linux/kernel-features.h
18466 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18467 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18468 Make code unconditional.
18469 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18470 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18471 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18472 [__NR_vfork]: Make code unconditional.
18473 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18474 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18476 [__NR_vfork]: Make code unconditional.
18477 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18478 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18480 2012-08-01 Roland McGrath <roland@hack.frob.com>
18482 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18483 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18485 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18486 Define mkstemp64 as an alias.
18487 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18488 Define mkstemps64 as an alias.
18489 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18490 Define mkostemp64 as an alias.
18491 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18492 Define mkostemps64 as an alias.
18493 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18494 Conditionalize body on this.
18495 * misc/mkostemp64.c: Likewise.
18496 * misc/mkostemps64.c: Likewise.
18497 * misc/mkstemps64.c: Likewise.
18498 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18499 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18500 * sysdeps/wordsize-64/mkostemp.c: File removed.
18501 * sysdeps/wordsize-64/mkstemp.c: File removed.
18502 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18503 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18504 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18505 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18508 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18509 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18510 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18511 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18513 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18514 compat_symbol macros from <shlib-compat.h> rather than the underlying
18515 default_symbol_version and symbol_version macros, so that DEFAULT
18516 lines in shlib-versions are respected.
18517 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18519 2012-08-01 Florian Weimer <fweimer@redhat.com>
18521 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18522 Declare with warn_unused_result.
18523 (setgid, setregid, setegid, setresgid): Likewise.
18524 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18526 * WUR-REPORT: Remove set*id functions.
18528 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18530 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18532 2012-07-31 Roland McGrath <roland@hack.frob.com>
18535 * include/sys/socket.h (__libc_accept, __libc_accept4):
18536 Add attribute_hidden.
18537 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18539 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18541 * inet/getnetgrent_r.c (setup): Likewise.
18543 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18545 2012-07-31 David S. Miller <davem@davemloft.net>
18547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18549 2012-07-31 Joseph Myers <joseph@codesourcery.com>
18552 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18553 value between 1.0 and 2.0 and smaller part has absolute value less
18555 * math/s_clog10.c (__clog10): Likewise.
18556 * math/s_clog10f.c (__clog10f): Likewise.
18557 * math/s_clog10l.c (__clog10l): Likewise.
18558 * math/s_clogf.c (__clogf): Likewise.
18559 * math/s_clogl.c (__clogl): Likewise.
18560 * math/libm-test.inc (clog_test): Add more tests.
18561 (clog10_test): Likewise.
18562 * sysdeps/i386/fpu/libm-test-ulps: Update.
18563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18565 2012-07-31 Florian Weimer <fweimer@redhat.com>
18567 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18568 Exit with zero in case no suitable GID is found, and write a
18569 message to standard error.
18571 2012-07-30 Roland McGrath <roland@hack.frob.com>
18573 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18575 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18576 (MAXPATHLEN): Removed.
18577 (NOGROUP, NODEV): New macros.
18578 (setbit, clrbit, isset, isclr): New macros.
18579 (howmany, roundup, powerof2): New macros.
18580 (DEV_BSIZE): New macro.
18582 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18583 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18585 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18586 definition on [!__NO_LONG_DOUBLE_MATH].
18588 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18589 PTR_MANGLE and PTR_DEMANGLE.
18591 * socket/accept4.c (accept4): Rename to __libc_accept4.
18592 Define accept4 as a weak alias.
18594 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18595 on [_DIRENT_HAVE_D_TYPE].
18596 * io/ftw.c (ftw_dir): Likewise.
18598 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18600 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18602 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18603 Use the BSD numbers rather than the arbitrary ones we had.
18604 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18605 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18606 (SIGXCPU, SIGXFSZ): New macros.
18609 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18610 initializer on [_LIBC_REENTRANT].
18612 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18613 definitions inside [_POSIX_MAPPED_FILES].
18615 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18617 * dirent/opendir.c: Include <fcntl.h>.
18619 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18620 (__libc_getspecific): Likewise.
18621 (__libc_key_create): Likewise.
18623 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18624 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18625 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18626 (tmpfile64): Define as alias.
18627 * sysdeps/wordsize-64/tmpfile.c: File removed.
18628 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18629 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18630 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18632 * stdio-common/vfscanf.c: Include <stdbool.h>.
18633 * nss/makedb.c: Likewise.
18634 * stdio-common/_i18n_number.h: Likewise.
18635 * argp/argp-help.c: Likewise.
18636 * posix/wordexp.c: Likewise.
18637 * sysdeps/posix/spawni.c: Likewise.
18638 * nss/nss_files/files-initgroups.c: Likewise.
18639 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18640 * nss/nss_files/files-initgroups.c: Likewise.
18641 * nss/nss_db/db-netgrp.c: Likewise.
18642 * nss/nss_db/db-initgroups.c: Likewise.
18643 * io/fchmodat.c: Include <sys/stat.h>.
18645 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18646 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18648 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18651 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18652 Add multiple inclusion protection.
18654 2012-07-27 David S. Miller <davem@davemloft.net>
18656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18658 2012-07-27 Gary Benson <gbenson@redhat.com>
18661 * elf/rtld.c: Include <stap-probe.h>.
18662 (dl_main): Added static probes "init_start" and "init_complete".
18663 * elf/dl-load.c: Include <stap-probe.h>.
18664 (lose): Take new parameter "nsid".
18665 Added static probe "map_failed".
18666 (_dl_map_object_from_fd): Pass namespace id to lose.
18667 Added static probe "map_start".
18668 (open_verify): Pass namespace id to lose.
18669 * elf/dl-open.c: Include <stap-probe.h>.
18670 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18671 and "reloc_complete".
18672 * elf/dl-close.c: Include <stap-probe.h>.
18673 (_dl_close_worker): Added static probes "unmap_start" and
18675 * elf/rtld-debugger-interface.txt: New file documenting the above.
18677 2012-07-26 Roland McGrath <roland@hack.frob.com>
18679 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18680 rather than a string variable.
18681 * sunrpc/rpc_main.c (h_output): Likewise.
18682 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18684 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18686 * inet/check_native.c: New file.
18688 2012-07-26 Joseph Myers <joseph@codesourcery.com>
18691 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18692 if larger part has absolute value 1.0.
18693 * math/s_clog10.c (__clog10): Likewise.
18694 * math/s_clog10f.c (__clog10f): Likewise.
18695 * math/s_clog10l.c (__clog10l): Likewise.
18696 * math/s_clogf.c (__clogf): Likewise.
18697 * math/s_clogl.c (__clogl): Likewise.
18698 * math/libm-test.inc (clog_test): Add more tests.
18699 (clog10_test): Likewise.
18700 * sysdeps/i386/fpu/libm-test-ulps: Update.
18701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18703 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18704 (pltexit): Likewise.
18705 (La_regs): Likewise.
18706 (La_retval): Likewise.
18707 (int_retval): Likewise.
18708 Update #error for removed macros to refer only to definitions in
18710 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18712 (pltexit): Likewise.
18713 (La_regs): Likewise.
18714 (La_retval): Likewise.
18715 (int_retval): Likewise.
18716 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18718 (pltexit): Likewise.
18719 (La_regs): Likewise.
18720 (La_retval): Likewise.
18721 (int_retval): Likewise.
18722 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18724 (pltexit): Likewise.
18725 (La_regs): Likewise.
18726 (La_retval): Likewise.
18727 (int_retval): Likewise.
18728 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18730 (pltexit): Likewise.
18731 (La_regs): Likewise.
18732 (La_retval): Likewise.
18733 (int_retval): Likewise.
18734 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18736 (pltexit): Likewise.
18737 (La_regs): Likewise.
18738 (La_retval): Likewise.
18739 (int_retval): Likewise.
18740 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18742 (pltexit): Likewise.
18743 (La_regs): Likewise.
18744 (La_retval): Likewise.
18745 (int_retval): Likewise.
18746 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18747 macro definitions in tst-audit.h.
18748 * sysdeps/i386/tst-audit.h: New file.
18749 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18750 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18751 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18752 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18753 * sysdeps/sh/tst-audit.h: Likewise.
18754 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18755 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18756 * sysdeps/x86_64/tst-audit.h: Likewise.
18758 2012-07-26 Andreas Jaeger <aj@suse.de>
18760 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18763 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18764 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18765 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18767 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18768 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18769 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18771 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18774 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18776 (si_call_addr, si_syscall, si_arch): Define new macro.
18777 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18779 (si_call_addr, si_syscall, si_arch): Define new marcro.
18780 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18782 (si_call_addr, si_syscall, si_arch): Define new macro.
18783 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18785 (si_call_addr, si_syscall, si_arch): Define new macro.
18787 2012-07-25 Joseph Myers <joseph@codesourcery.com>
18790 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18791 Change to 2.4.21 where previously 2.4.1.
18792 * sysdeps/unix/sysv/linux/configure: Regenerated.
18793 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18794 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18795 Linux kernel version.
18796 (__ASSUME_STD_AUXV): Remove.
18797 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18799 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18800 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18801 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18802 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18803 (__ASSUME_NETLINK_SUPPORT): Likewise.
18804 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18805 (__no_netlink_support): Remove conditional definition.
18806 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18808 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18809 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18810 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18811 (if_nameindex_ioctl): Remove.
18812 (if_nameindex_netlink): Do not handle __no_netlink_support.
18813 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18815 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18816 Remove conditional code.
18817 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18819 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18821 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18822 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18823 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18825 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18826 [!__ASSUME_STD_AUXV]: Remove conditional code.
18827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18828 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18829 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18831 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18832 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18834 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18835 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18836 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18837 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18839 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18841 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18844 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18847 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18848 code unconditional.
18849 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18851 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18853 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18856 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18858 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18861 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18862 code unconditional.
18863 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18865 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18867 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18870 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18871 code unconditional.
18872 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18874 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18876 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18879 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18881 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18882 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18883 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18884 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18885 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18886 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18887 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18888 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18889 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18890 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18891 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18892 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18893 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18894 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18895 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18896 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18897 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18898 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18899 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18900 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18901 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18902 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18903 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18905 2012-07-25 Florian Weimer <fweimer@redhat.com>
18907 * Versions.def: Add GLIBC_2.17.
18908 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18909 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18910 Introduce __libc_secure_getenv.
18911 * stdlib/Versions (2.17): Add secure_getenv
18912 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18913 * stdlib/secure-getenv.c: Rename __secure_getenv to
18914 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18915 symbol __secure_getenv for GLIBC_2.0.
18916 * stdlib/tst-secure-getenv.c: New.
18917 * stdlib/Makefile (tests): Add testcase.
18918 * manual/startup.texi (Environment Access): Document
18920 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18921 __libc_secure_getenv.
18922 * inet/ruserpass.c (ruserpass): Likewise.
18923 * malloc/mtrace.c (mtrace): Likewise.
18924 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
18925 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
18926 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18927 * sysdeps/posix/tempname.c: Likewise. Evaluate
18928 HAVE_SECURE_GETENV.
18929 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
18930 __secure_getenv to __libc_secure_getenv.
18931 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
18932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18936 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18937 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18938 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
18940 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
18941 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
18942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
18944 2012-07-25 Joseph Myers <joseph@codesourcery.com>
18946 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
18947 (struct La_i86_retval): Likewise.
18948 (struct La_x86_64_regs): Likewise.
18949 (struct La_x86_64_retval): Likewise.
18950 (struct La_x32_regs): Likewise.
18951 (struct La_x32_retval): Likewise.
18952 (struct La_ppc32_regs): Likewise.
18953 (struct La_ppc32_retval): Likewise.
18954 (struct La_ppc64_regs): Likewise.
18955 (struct La_ppc64_retval): Likewise.
18956 (struct La_sh_regs): Likewise.
18957 (struct La_sh_retval): Likewise.
18958 (struct La_s390_32_regs): Likewise.
18959 (struct La_s390_32_retval): Likewise.
18960 (struct La_s390_64_regs): Likewise.
18961 (struct La_s390_64_retval): Likewise.
18962 (struct La_sparc32_regs): Likewise.
18963 (struct La_sparc32_retval): Likewise.
18964 (struct La_sparc64_regs): Likewise.
18965 (struct La_sparc64_retval): Likewise.
18966 (struct audit_ifaces): Remove architecture-specific pltenter and
18968 * sysdeps/i386/ldsodefs.h: New file.
18969 * sysdeps/powerpc/ldsodefs.h: Likewise.
18970 * sysdeps/s390/ldsodefs.h: Likewise.
18971 * sysdeps/sh/ldsodefs.h: Likewise.
18972 * sysdeps/sparc/ldsodefs.h: Likewise.
18973 * sysdeps/x86_64/ldsodefs.h: Likewise.
18975 2012-07-25 Marek Polacek <polacek@redhat.com>
18978 * math/libm-test.inc (yn_test): Add another test.
18979 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
18980 to ERANGE when the result is +-Inf.
18981 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18982 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
18983 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
18984 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
18986 2012-07-24 Joseph Myers <joseph@codesourcery.com>
18988 * conform/data/time.h-data (NULL): Use macro-constant. Require
18990 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18992 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18994 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18996 * configure.in <sysdeps resolving>: Correct printing
18998 * configure: Regenerate.
19000 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
19002 * math/w_ilogb.c: Include <limits.h>.
19003 * math/w_ilogbl.c: Likewise.
19005 2012-07-20 Joseph Myers <joseph@codesourcery.com>
19007 * manual/lang.texi (__va_copy): Document primarily as ISO C99
19008 va_copy. Document allowing for unavailable va_copy only as
19009 pre-C99 compatibility.
19010 * manual/string.texi (Copying and Concatenation): Use va_copy
19011 instead of __va_copy in concat example.
19013 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
19015 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19016 (__sendto): Use create_address_port. Initialize APORT and deallocate
19019 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19020 with O_NOLINK passed to __file_name_lookup.
19022 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19023 with O_NOLINK passed to __file_name_lookup.
19025 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19026 negative N or less than NGIDS.
19028 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19029 type to string_t. Set ERANGE as errno and return it if NAME is not big
19030 enough. Use memcpy instead of strncpy.
19032 2012-07-20 Joseph Myers <joseph@codesourcery.com>
19034 * elf/Makefile (check-data): Remove.
19035 (localplt.data): New vpath directive.
19036 ($(objpfx)check-localplt.out): Use localplt.data from vpath
19037 instead of $(check-data).
19038 * scripts/data/localplt-generic.data: Move to ...
19039 * sysdeps/generic/localplt.data: ... here.
19040 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19041 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19042 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19045 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19048 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19051 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19054 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19057 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19061 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19063 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19064 PPC32 and PPC64 files.
19065 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19066 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19068 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19070 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19071 __makecontext_ret to ...
19072 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19073 ... here and call exit if uc_link is NULL. New file.
19074 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19075 __makecontext_ret.S.
19076 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19077 __makecontext_ret to ...
19078 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19079 ... here and call exit if uc_link is NULL. New file.
19080 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19081 __makecontext_ret.S.
19083 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19085 * elf/elf.h (R_390_IRELATIVE): New definition.
19086 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19087 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
19088 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19089 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19090 (elf_machine_lazy_rel): Likewise.
19091 * sysdeps/s390/dl-irel.h: New file.
19092 * sysdeps/s390/s390-64/memcpy.S: New asm code.
19093 * sysdeps/s390/s390-64/memset.S: New asm code.
19094 * sysdeps/s390/s390-64/memcmp.S: New asm code.
19095 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19096 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19097 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19098 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19099 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19100 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19101 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19102 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19103 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19104 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19105 * sysdeps/s390/s390-32/memcpy.S: New asm code.
19106 * sysdeps/s390/s390-32/memset.S: New asm code.
19107 * sysdeps/s390/s390-32/memcmp.S: New asm code.
19109 2012-07-17 Marek Polacek <polacek@redhat.com>
19112 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19113 * sysdeps/s390/s390-64/configure.in: Likewise.
19114 * sysdeps/sparc/configure.in: Likewise.
19115 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19116 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19117 * sysdeps/i386/configure.in: Likewise.
19118 * sysdeps/x86_64/configure.in: Likewise.
19119 * sysdeps/sh/configure.in: Likewise.
19120 * sysdeps/s390/s390-32/configure: Regenerated.
19121 * sysdeps/s390/s390-64/configure: Likewise.
19122 * sysdeps/x86_64/configure: Likewise.
19123 * sysdeps/sh/configure: Likewise.
19124 * sysdeps/powerpc/powerpc64/configure: Likewise.
19125 * sysdeps/powerpc/powerpc32/configure: Likewise.
19126 * sysdeps/sparc/configure: Likwise.
19127 * sysdeps/i386/configure: Likewise.
19129 * elf/dl-open.c: Comment fixes.
19131 2012-07-17 Joseph Myers <joseph@codesourcery.com>
19133 * Makefile [CXX] (check-data): Remove.
19134 [CXX] (c++-types.data): New vpath directive.
19135 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19136 vpath. Do not allow for C++ type data being missing.
19137 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19138 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19139 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19140 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19141 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19142 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19143 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19144 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19146 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19149 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19152 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19155 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19158 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19161 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19164 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19165 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19167 * elf/tls-macros.h (TLS_LE): Move architecture-specific
19168 definitions to architecture-specific files.
19169 (TLS_IE): Likewise.
19170 (TLS_LD): Likewise.
19171 (TLS_GD): Likewise.
19172 * sysdeps/i386/tls-macros.h: New file.
19173 * sysdeps/powerpc/tls-macros.h: Likewise.
19174 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19175 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19176 * sysdeps/sh/tls-macros.h: Likewise.
19177 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19178 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19179 * sysdeps/x86_64/tls-macros.h: Likewise.
19181 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19183 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19184 zero value for regular exit case.
19186 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19187 (__start_context): Preserve zero value for regular exit case.
19189 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19190 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19192 * manual/setjmp.texi (setcontext): Clarify normal process
19193 termination when uc_link is the null pointer.
19194 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19197 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
19199 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19200 preprocessor. Test for each exception mask separately.
19202 2012-07-16 Andreas Jaeger <aj@suse.de>
19204 * po/ru.po: Update from translation team.
19206 2012-07-15 Joseph Myers <joseph@codesourcery.com>
19208 * conform/data/string.h-data (NULL): Use macro-constant. Require
19210 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19211 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19212 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19213 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19214 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19216 2012-07-13 Andreas Jaeger <aj@suse.de>
19218 * po/fr.po: Update from translation team.
19220 2012-07-12 Marek Polacek <polacek@redhat.com>
19223 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19224 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19227 2012-07-12 Joseph Myers <joseph@codesourcery.com>
19230 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19231 Change to 2.4.1 where previously 2.4.0.
19232 * sysdeps/unix/sysv/linux/configure: Regenerated.
19233 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19234 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19236 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19237 (__ASSUME_AT_CLKTCK): Remove.
19238 (__ASSUME_AT_PAGESIZE): Likewise.
19239 (__ASSUME_AT_XID): Likewise.
19240 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19241 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19242 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19244 (HAVE_AUX_PAGESIZE): Likewise.
19245 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19246 [__ASSUME_AT_CLKTCK]: Make code unconditional.
19247 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19249 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
19252 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19253 the temporary buffer used to invoke __gethostbyname2_r,
19254 __gethostbyaddr_r and gethostbyname4_r to make room for struct
19255 host_data / struct gaih_addrtuple.
19256 * resolv/nss_dns/dns-host.c (global scope): Move definition of
19257 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19258 header file nss/nsswitch.h.
19259 * nss/nsswitch.h (global scope): Add definition of implementation
19260 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19261 resolv/nss_dns/dns-host.c).
19263 2012-07-11 Andreas Jaeger <aj@suse.de>
19265 * po/fr.po: Update from translation team.
19267 * po/sv.po: Update from translation team
19268 * po/fr.po: Another update from translation team.
19270 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19272 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19273 for subnormals or multiply small sinh result by itself.
19274 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19277 2012-07-11 David S. Miller <davem@davemloft.net>
19279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19281 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
19284 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19285 (INTERNAL_MARK): Shift it here.
19287 2012-07-10 Marek Polacek <polacek@redhat.com>
19290 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
19291 libc_cv_asm_global_directive with .globl.
19292 * configure: Regenerated.
19293 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19295 * sysdeps/i386/configure: Regenerated.
19296 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19298 * sysdeps/x86_64/configure: Regenerated.
19299 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19300 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19301 * elf/tst-unique2mod2.c: Likewise.
19302 * elf/tst-unique2mod1.c: Likewise.
19303 * elf/tst-unique1mod2.c: Likewise.
19304 * elf/tst-unique1mod1.c: Likewise.
19305 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19306 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19307 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19308 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19309 * sysdeps/mach/sysdep.h: Likewise.
19310 * sysdeps/i386/sysdep.h: Likewise.
19311 * sysdeps/i386/i386-mcount.S: Likewise.
19312 * sysdeps/x86_64/_mcount.S: Likewise.
19313 * sysdeps/x86_64/sysdep.h: Likewise.
19314 * sysdeps/sh/_mcount.S: Likewise.
19315 * sysdeps/sh/sysdep.h: Likewise.
19316 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
19317 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
19318 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
19319 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19320 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
19321 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
19322 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
19323 * locale/localeinfo.h: Likewise.
19324 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
19325 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
19327 2012-07-09 Roland McGrath <roland@hack.frob.com>
19330 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
19332 * manual/message.texi (The Uniforum approach): Likewise.
19333 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19334 (glibc iconv Implementation): Likewise.
19336 2012-07-09 Joseph Myers <joseph@codesourcery.com>
19339 * math/s_clog.c (__clog): Avoid scaling a value down where that
19340 could result in underflow.
19341 * math/s_clog10.c (__clog10): Likewise.
19342 * math/s_clog10f.c (__clog10f): Likewise.
19343 * math/s_clog10l.c (__clog10l): Likewise.
19344 * math/s_clogf.c (__clogf): Likewise.
19345 * math/s_clogl.c (__clogl): Likewise.
19346 * math/libm-test.inc (clog_test): Add more tests.
19347 (clog10_test): Likewise.
19348 * sysdeps/i386/fpu/libm-test-ulps: Update.
19349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19351 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
19354 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19355 by 7 not 8 to examine high bit of fractional part.
19358 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19359 for call to __mcount_internal.
19360 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19361 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19362 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19364 2012-07-06 Joseph Myers <joseph@codesourcery.com>
19367 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19368 approximation for values within 0x1p-13f of an odd multiple of
19370 * math/libm-test.inc (tan_test): Do not allow spurious underflow
19371 exception. Add more tests.
19372 * sysdeps/i386/fpu/libm-test-ulps: Update.
19375 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19376 inputs and return -1 for them. Do not check for +Inf in case not
19377 reachable for +Inf.
19378 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19379 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19380 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19381 and return -1 for them. Do not check for +Inf in case not
19382 reachable for +Inf.
19383 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19385 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19386 and return -1 for them. Do not check for +Inf in case not
19387 reachable for +Inf.
19388 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
19389 spurious underflow.
19390 * sysdeps/i386/fpu/libm-test-ulps: Update.
19391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19393 2012-07-06 Mike Frysinger <vapier@gentoo.org>
19395 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19397 2012-07-05 Joseph Myers <joseph@codesourcery.com>
19401 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19402 could result in spurious underflow. Scale down values above
19403 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19404 * math/s_csqrtf.c (__csqrtf): Likewise.
19405 * math/s_csqrtl.c (__csqrtl): Likewise.
19406 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
19407 spurious underflow.
19408 * sysdeps/i386/fpu/libm-test-ulps: Update.
19409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19411 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
19413 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19415 * catgets/xopen-msg.awk: New file.
19416 * catgets/xopen-msg.sed: Removed.
19418 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19420 * intl/po2test.awk: New file.
19421 * intl/po2test.sed: Removed.
19423 2012-07-04 Joseph Myers <joseph@codesourcery.com>
19426 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19427 or multiply small sinh result by itself.
19428 * math/s_ctanf.c (__ctanf): Likewise.
19429 * math/s_ctanh.c (__ctanh): Likewise.
19430 * math/s_ctanhf.c (__ctanhf): Likewise.
19431 * math/s_ctanhl.c (__ctanhl): Likewise.
19432 * math/s_ctanl.c (__ctanl): Likewise.
19433 * math/libm-test.inc (ctan_test_tonearest): New function.
19434 (ctan_test_towardzero): Likewise.
19435 (ctan_test_downward): Likewise.
19436 (ctan_test_upward): Likewise.
19437 (ctanh_test_tonearest): Likewise.
19438 (ctanh_test_towardzero): Likewise.
19439 (ctanh_test_downward): Likewise.
19440 (ctanh_test_upward): Likewise.
19441 (main): Call these new functions.
19442 * sysdeps/i386/fpu/libm-test-ulps: Update.
19443 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19445 2012-07-03 Mike Frysinger <vapier@gentoo.org>
19447 * .gitignore: Delete /ports entry.
19449 2012-07-03 Andreas Jaeger <aj@suse.de>
19451 * po/bg.po: Update from translation team.
19452 * po/cs.po: Likewise.
19453 * po/de.po: Likewise.
19454 * po/hr.po: Likewise.
19455 * po/nl.pl: Likewise.
19456 * po/pl.po: Likewise.
19457 * po/vi.po: Likewise.
19459 2012-07-03 Joseph Myers <joseph@codesourcery.com>
19461 * Makeconfig [!+link] (+link-before-libc): New variable.
19462 [!+link] (+link-after-libc): Likewise.
19463 [!+link] (+link-tests): Likewise.
19464 [!+link] (+link): Define in terms of $(+link-before-libc) and
19465 $(+link-after-libc).
19466 [!+link-static] (+link-static-before-libc): New variable.
19467 [!+link-static] (+link-static-after-libc): Likewise.
19468 [!+link-static] (+link-static-tests): Likewise.
19469 [!+link-static] (+link-static): Define in terms of
19470 $(+link-static-before-libc) and $(+link-static-after-libc).
19471 [build-shared] (link-libc-before-gnulib): New variable.
19472 [build-shared] (link-libc-tests): Likewise.
19473 [build-shared] (link-libc): Define in terms of
19474 $(link-libc-before-gnulib).
19475 [!build-shared] (link-libc-tests): New variable.
19476 (link-libc-static-tests): New variable.
19477 [!gnulib] (gnulib-arch): New variable.
19478 [!gnulib] (gnulib-tests): Likewise.
19479 [!gnulib] (static-gnulib-arch): Likewise.
19480 [!gnulib] (static-gnulib-tests): Likewise.
19481 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19482 Define with "=" instead of ":=".
19483 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19484 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19485 * Rules (binaries-all-notests): New variable.
19486 (binaries-all-tests): Likewise.
19487 (binaries-static-notests): Likewise.
19488 (binaries-static-tests): Likewise.
19489 (binaries-all): Define using $(binaries-all-notests) and
19490 $(binaries-all-tests).
19491 (binaries-static): Define using $(binaries-static-notests) and
19492 $(binaries-static-tests).
19493 (binaries-shared-tests): New variable.
19494 (binaries-shared-notests): Likewise.
19495 (binaries-shared): Remove variable.
19496 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19497 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19498 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19499 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19500 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19501 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19502 * elf/Makefile (sln-modules): New variable.
19503 (extra-objs): Add $(sln-modules:=.o).
19504 (ldconfig-modules): Add static-stubs.
19505 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19506 * elf/static-stubs.c: New file.
19509 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19510 by 7 not 8 to examine high bit of fractional part. Use volatile
19511 variables when splitting into final array of floats if
19512 __FLT_EVAL_METHOD__ != 0.
19513 * math/libm-test.inc (cos_test): Add another test.
19514 (sin_test): Likewise.
19515 * sysdeps/i386/fpu/libm-test-ulps: Update.
19518 * math/libm-test.inc (cosh_test): Add more tests.
19520 * version.h (RELEASE): Set to "development".
19521 (VERSION): Set to "2.16.90".
19523 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19525 * NEWS: Update copyright. Remove last-updated date.
19526 Mention math library bug fixes and timezone data changes.
19527 * README: Mention GNU/Hurd, x32, and HPPA support status.
19529 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19531 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19533 2012-06-27 Andreas Jaeger <aj@suse.de>
19535 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19537 2012-06-25 Andreas Jaeger <aj@suse.de>
19539 * sysdeps/s390/fpu/libm-test-ulps: Update.
19541 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19542 Thomas Schwinge <thomas@codesourcery.com>
19544 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19545 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19546 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19549 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19551 * sysdeps/mach/start.c: Remove file.
19552 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19553 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19554 * sysdeps/sh/init-first.c: Likewise.
19556 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19557 registers for frame unwinding purposes, add CFI directives.
19558 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19559 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19560 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19563 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19564 __fortify_fail returning.
19565 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19567 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19568 sysdeps/sh/____longjmp_chk.S.
19569 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19570 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19571 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19572 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19574 * sysdeps/sh/abort-instr.h: New file.
19575 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19576 process in case exit returns.
19578 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19579 initialize the GOT register before use.
19581 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19582 calculation of ARGC > 4.
19584 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19585 meaningful names to some local labels.
19587 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19588 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19590 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19591 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19592 (__arch_compare_and_exchange_val_16_acq): Likewise.
19593 (__arch_compare_and_exchange_val_32_acq): Likewise.
19594 (atomic_exchange_and_add): Fix gUSA sequence.
19595 (atomic_add): Likewise.
19596 (atomic_add_negative): Likewise.
19597 (atomic_add_zero): Likewise.
19598 (atomic_bit_test_set): Likewise.
19600 2012-06-22 Andreas Schwab <schwab@redhat.com>
19603 * include/link.h (struct link_map): Add l_free_initfini.
19604 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19606 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19607 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19608 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19611 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19613 * configure.in: Use AC_LANG_SOURCE.
19614 * configure: Regenerate.
19616 2012-06-22 Roland McGrath <roland@hack.frob.com>
19618 * configure.in (libc_cv_localstatedir): New substituted variable.
19619 * configure: Regenerated.
19620 * config.make.in (localstatedir): New variable, substituted from
19621 libc_cv_localstatedir.
19622 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19623 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19624 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19625 * sysdeps/gnu/configure: Regenerated.
19627 2012-06-21 Jeff Law <law@redhat.com>
19630 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19631 free. Simplify list management for _LIBC case.
19633 2012-06-21 Joseph Myers <joseph@codesourcery.com>
19636 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19637 Clear sign bit of 64-bit integer value before comparing against
19640 * sysdeps/mach/configure: Regenerated.
19642 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19645 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19647 2012-06-21 Jeff Law <law@redhat.com>
19650 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19651 uint16_t for elements in the "seen" array to avoid char overflows.
19652 * elf/dl-fini.c (_dl_sort_fini): Likewise.
19653 * elf/dl-open.c (dl_open_worker): Likewise.
19655 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19657 * scripts/list-sources.sh: Scan PORTS for translations.
19658 * po/libc.pot: Regenerated.
19660 2012-06-21 Andreas Jaeger <aj@suse.de>
19663 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19665 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19666 * bits/byteswap-16.h (__bswap_16): Likewise.
19667 * bits/byteswap.h (__bswap_constant_16): Likewise.
19669 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19672 * sysdeps/i386/fpu_control.h: Removed.
19673 * sysdeps/x86_64/fpu_control.h: Moved to ...
19674 * sysdeps/x86/fpu_control.h: Here.
19676 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19677 (_FPU_SETCW): Likewise.
19679 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19682 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19683 * sysdeps/x86/fpu/bits/mathinline.h: This.
19684 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19688 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19689 functions if __x86_64__ is defined.
19691 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19693 * string/endian.h: Add !__ASSEMBLER__ condition for including
19694 conversion interfaces.
19696 2012-06-15 Joseph Myers <joseph@codesourcery.com>
19699 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19700 of ABS(x) in calculating zero to negative powers other than odd
19702 * math/libm-test.inc (pow_test): Add more tests.
19704 2012-06-15 Andreas Jaeger <aj@suse.de>
19706 * manual/contrib.texi (Contributors): Update entry of Liubov
19707 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19710 2012-06-15 Cyril Hrubis <metan@ucw.cz>
19712 * string/string.h: Add __wur to GNU version of strerror_r.
19714 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19717 * string/Makefile (tests): Add tst-strtok_r.
19718 * string/tst-strtok_r.c: New file.
19719 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19720 RAX_LP/RDX_LP on SAVE_PTR.
19722 2012-06-14 Roland McGrath <roland@hack.frob.com>
19724 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19726 2012-06-14 Joseph Myers <joseph@codesourcery.com>
19728 * libm_test.inc (csqrt_test): Allow more spurious underflow
19730 (j0_test): Likewise.
19731 (j1_test): Likewise.
19732 (y0_test): Likewise.
19733 (y1_test): Likewise.
19735 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19737 * po/Makefile (libc.pot): Use UTF-8 charset.
19739 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19742 Suppress sign-conversion warning from FD_SET.
19743 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19744 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19745 not unsigned long int.
19746 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19748 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19752 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19753 __extern_always_inline instead of __extern_inline.
19754 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19755 (__signbit): Likewise.
19756 (__signbitl): Support C++ namespace.
19757 (lrintf): New inline function.
19759 (llrintf): Likewise.
19760 (llrint): Likewise.
19770 (floorf): Likewise.
19771 (nearbyint): Likewise.
19772 (nearbyintf): Likewise.
19774 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19776 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19777 non-default versions.
19779 2012-06-11 Roland McGrath <roland@hack.frob.com>
19782 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19784 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19786 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19787 (FE_UPWARD, FE_DOWNWARD): Don't define.
19788 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19789 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19791 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19793 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19794 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19796 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19798 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19799 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19800 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19801 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19803 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19806 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19807 * sysdeps/i386/fpu/Implies: New file.
19808 * sysdeps/x86_64/fpu/Implies: Likewise.
19809 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19810 * sysdeps/x86/fpu/bits/fenv.h: This.
19812 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19815 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19818 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19819 character 0xffff that matches the last element of the
19822 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19824 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19827 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19829 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19830 values higher than 25.6283.
19832 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19834 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19835 subnormal exponent extraction and add some __builtin_expect.
19836 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19837 Fix for subnormal mantissa calculation.
19839 2012-06-04 Mike Frysinger <vapier@gentoo.org>
19841 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19842 cpu2 is -1 and errno is not ENOSYS.
19844 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19847 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19848 * sysdeps/x86/bits/string.h: This.
19849 * sysdeps/x86_64/bits/string.h: Removed.
19851 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19852 if not compiling for x86-64, but compiling for >= i486.
19854 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19855 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19857 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19858 New macro from Linux kernel 3.4.0.
19859 (FP_XSTATE_MAGIC2): Likewise.
19860 (FP_XSTATE_MAGIC2_SIZE): Likewise.
19861 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19862 (struct _fpx_sw_bytes): New struct.
19863 (struct _xsave_hdr): Likewise.
19864 (struct _ymmh_state): Likewise.
19865 (struct _xstate): Likewise.
19867 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19868 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19869 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19870 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19871 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19872 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19874 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19875 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19876 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19877 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19878 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19879 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19881 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19884 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19885 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19886 (sysdep_headers): Include sys/platform/ppc.h.
19887 * sysdeps/powerpc/test-gettimebase.c: Test for
19888 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19889 * manual/Makefile (appendices): Include platform.texi.
19890 * manual/contrib.texi (Contributors): Update @node pointers.
19891 * manual/maint.texi (Maintenance): Likewise.
19892 (Platform): New node.
19893 * manual/platform.texi: New file. Document the new features.
19895 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19896 Jakub Jelinek <jakub@redhat.com>
19899 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19900 where __builtin_expect is unavailable.
19902 2012-06-03 David S. Miller <davem@davemloft.net>
19904 * stdlib/longlong.h: Updated from GCC.
19906 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19909 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19910 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19913 (GLIBC_2.16): Likewise.
19915 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19917 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19919 2012-06-01 Joseph Myers <joseph@codesourcery.com>
19921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19922 (default-abi): New variable.
19923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19924 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19926 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19928 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19930 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19933 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19934 definition. Document in comment.
19936 2012-06-01 David S. Miller <davem@davemloft.net>
19938 * stdlib/longlong.h: Updated from GCC.
19940 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19943 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
19944 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
19945 sys/debugreg.h sys/io.h here.
19946 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
19947 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
19949 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
19950 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
19951 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
19952 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
19953 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
19954 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
19956 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19957 Define only if __x86_64__ is defined.
19959 2012-06-01 Joseph Myers <joseph@codesourcery.com>
19962 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
19963 Use int64_t for variable i.
19964 * math/libm-test.inc (fmod_test): Add more tests.
19966 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
19967 z computation is not scheduled after fetestexcept.
19968 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
19969 Use math_force_eval instead of asm to ensure calculation scheduled
19970 before exception test.
19971 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
19972 Ensure a1 + u.d computation is not scheduled after fetestexcept.
19974 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19976 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19977 computation is not scheduled after fetestexcept.
19979 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19982 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19983 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19985 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19987 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19988 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19990 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19993 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19995 (__WCHAR_MIN): Support __WORDSIZE == 64.
19996 (__WCHAR_MAX): Likewise.
19998 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19999 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20002 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20003 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20006 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20007 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20009 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20010 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20012 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20013 Defined to 1 if __x86_64__ isn't defined.
20014 (_STAT_VER_LINUX_OLD): New.
20015 (st_atime): Remove duplicate.
20016 (st_mtime): Likewise.
20017 (st_ctime): Likewise.
20019 2012-05-31 David S. Miller <davem@davemloft.net>
20021 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20024 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
20026 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20030 * elf/dl-reloc.c: Include <_itoa.h>.
20031 (_dl_reloc_bad_type): Remove use of INTUSE.
20032 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20033 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20034 * stdio-common/psiginfo.c (psiginfo): Likewise.
20035 * stdio-common/psignal.c (psignal): Likewise.
20036 * string/strsignal.c (strsignal): Likewise.
20037 * include/signal.h (_sys_siglist): Declare hidden proto.
20038 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
20039 INTVARDEF with libc_hidden_data_def.
20040 * stdio-common/itoa-udigits.c: Likewise.
20041 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20042 (_itoa_lower_digits_internal): Remove declaration.
20043 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20044 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20045 (_sys_sigabbrev_internal): Remove aliases.
20046 (_sys_siglist): Define hidden alias.
20048 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
20050 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20053 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20056 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20057 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20059 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20060 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20061 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20062 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20063 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20064 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20066 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20067 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20068 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20070 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20078 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20079 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20080 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20082 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20083 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20084 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20085 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20086 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20087 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20089 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20090 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20092 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20093 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20095 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20096 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20097 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20099 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20100 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20102 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20104 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20105 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20106 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20108 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20110 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20112 2012-05-31 Joseph Myers <joseph@codesourcery.com>
20114 * math/math.h (M_El): Use two more decimal places.
20115 (M_LOG2El): Likewise.
20116 (M_LOG10El): Likewise.
20117 (M_LN2l): Likewise.
20118 (M_LN10l): Likewise.
20120 (M_PI_2l): Likewise.
20121 (M_PI_4l): Likewise.
20122 (M_1_PIl): Likewise.
20123 (M_2_PIl): Likewise.
20124 (M_2_SQRTPIl): Likewise.
20125 (M_SQRT2l): Likewise.
20126 (M_SQRT1_2l): Likewise.
20128 2012-05-31 David S. Miller <davem@davemloft.net>
20130 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20131 values between float registers.
20132 * sysdeps/sparc/sparc64/memset.S: Likewise.
20133 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20135 2012-05-31 Mike Frysinger <vapier@gentoo.org>
20137 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20138 -D_FORTIFY_SOURCE=1.
20139 (CPPFLAGS-tst-longjmp_chk.c): Define.
20140 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20141 (CPPFLAGS-tst-longjmp_chk2.c): Define.
20142 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20143 CFLAGS-tst-wchar-h.c.
20145 2012-05-31 Marek Polacek <polacek@redhat.com>
20148 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20149 __endmntent_internal): Remove declaration.
20150 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20151 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20152 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20154 2012-05-30 David S. Miller <davem@davemloft.net>
20156 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20157 (___Q_simulate_exceptions): Use real FP ops rather than writing
20159 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20162 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20165 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20166 * sysdeps/x86/bits/xtitypes.h: This.
20168 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20169 * sysdeps/x86/bits/wordsize.h: This.
20171 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20172 * sysdeps/x86/bits/huge_vall.h: This.
20174 * sysdeps/i386/bits/select.h: Removed.
20175 * sysdeps/x86_64/bits/select.h: Renamed to ...
20176 * sysdeps/x86/bits/select.h: This.
20178 * sysdeps/i386/bits/setjmp.h: Removed.
20179 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20180 * sysdeps/x86/bits/setjmp.h: This.
20182 * sysdeps/i386/bits/mathdef.h: Removed.
20183 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20184 * sysdeps/x86/bits/mathdef.h: This.
20186 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20189 * include/sys/socket.h (__connect_internal)
20190 (__libc_sa_len_internal): Remove declaration.
20191 (__connect, __libc_sa_len): Declare hidden_proto.
20192 (SA_LEN): Remove use of INTUSE.
20193 * socket/connect.c: Add libc_hidden_def.
20194 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20195 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20196 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20198 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20199 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20200 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20201 of adding _internal alias.
20203 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20206 * sysdeps/i386/bits/link.h: Removed.
20207 * sysdeps/i386/bits/linkmap.h: Likewise.
20208 * sysdeps/x86_64/bits/link.h: Renamed to ...
20209 * sysdeps/x86/bits/link.h: This.
20210 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20211 * sysdeps/x86/bits/linkmap.h: This.
20213 * sysdeps/i386/bits/endian.h: Removed.
20214 * sysdeps/x86_64/bits/endian.h: Renamed to ...
20215 * sysdeps/x86/bits/endian.h: This.
20217 * sysdeps/i386/bits/byteswap.h: Removed.
20218 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20219 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20220 * sysdeps/x86/bits/byteswap.h: This.
20221 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20222 * sysdeps/x86/bits/byteswap-16.h: This.
20223 * sysdeps/i386/Implies: Add x86.
20224 * sysdeps/x86_64/Implies: Likewise.
20226 2012-05-30 David S. Miller <davem@davemloft.net>
20228 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20229 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20230 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20231 (FP_TRAPPING_EXCEPTIONS): Define.
20232 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20233 (FP_TRAPPING_EXCEPTIONS): Define.
20234 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20235 subnormals only when inexact has been signalled or underflow
20236 exceptions are enabled.
20237 (_FP_PACK_CANONICAL): Likewise.
20239 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20242 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20243 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20245 2012-05-30 Richard Henderson <rth@twiddle.net>
20247 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20248 with #ifndef NOT_IN_libc.
20250 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
20251 marked to avoid plt entry.
20253 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20256 * Makeconfig (default-abi): New macro.
20257 (abi-includes): Likewise.
20258 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
20259 $(abi-$(default-abi)-lib-soname) for soname if defined.
20260 ($(common-objpfx)gnu/lib-names.stmp): Generate from
20262 * Makefile (installed-stubs): Likewise.
20263 * include/stubs-biarch.h: Removed.
20264 * scripts/lib-names.awk: Only handle one library at a time.
20265 * scripts/soversions.awk: Remove WORDSIZE support.
20266 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20268 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20270 (syscall-list-default-condition): Likewise.
20271 (syscall-list-default-condition): Likewise.
20272 (syscall-list-includes): Likewise.
20273 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20274 syscall-list-* with abi-*. Handle undefined abi-variants.
20275 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20276 * sysdeps/unix/sysv/linux/i386/Implies: New file.
20277 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20278 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20279 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20280 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20282 (syscall-list-32-options): Likewise.
20283 (syscall-list-32-condition): Likewise.
20284 (syscall-list-64-options): Likewise.
20285 (syscall-list-64-condition): Likewise.
20286 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20288 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20291 (abi-64-ld-soname): New macro.
20292 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20293 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20296 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20297 * sysdeps/x86_64/x32/shlib-versions: Likewise.
20299 2012-05-30 Joseph Myers <joseph@codesourcery.com>
20301 * sysdeps/unix/sysv/linux/kernel-features.h
20302 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20303 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20304 include <kernel-features.h>.
20305 [!__NR_ftruncate64]: Remove conditional code.
20306 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20307 [__NR_ftruncate64]: Make code unconditional.
20308 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20309 * sysdeps/unix/sysv/linux/truncate64.c: Do not
20310 include <kernel-features.h>.
20311 [!__NR_ftruncate64]: Remove conditional code.
20312 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20313 [__NR_ftruncate64]: Make code unconditional.
20314 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
20316 include <kernel-features.h>.
20317 [!__NR_ftruncate64]: Remove conditional code.
20318 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20319 [__NR_ftruncate64]: Make code unconditional.
20320 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20322 include <kernel-features.h>.
20323 [!__NR_ftruncate64]: Remove conditional code.
20324 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20325 [__NR_ftruncate64]: Make code unconditional.
20326 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20328 * configure.in (libc_cv_fpie): Weaken to a compile test using
20329 LIBC_TRY_CC_OPTION.
20330 * configure: Regenerated.
20332 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20334 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
20335 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20336 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20337 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20339 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20342 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20343 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20344 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20347 2012-05-27 David S. Miller <davem@davemloft.net>
20349 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20351 (__Q_simulate_exceptions): Return void. Change to simulate
20352 exceptions by writing into the %fsr.
20353 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20354 (__Qp_handle_exceptions): Likewise.
20356 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20357 __Qp_handle_exceptions.
20358 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20359 __Qp_handle_exceptions.
20360 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20361 as unused and give dummy FP_RND_NEAREST initializer.
20362 (FP_INHIBIT_RESULTS): Define.
20363 (___Q_simulate_exceptions): Update declaration.
20364 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20366 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20367 as unused and give dummy FP_RND_NEAREST initializer.
20368 (__Qp_handle_exceptions): Update declaration.
20369 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20372 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
20374 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20375 the temporary FPU control word.
20376 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20377 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20378 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20379 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20380 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20381 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20382 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20383 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20384 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20385 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20386 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20388 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20390 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20393 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
20395 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20396 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20397 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20398 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20400 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20401 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20404 2012-05-27 Ulrich Drepper <drepper@gmail.com>
20406 * po/h.po: Update from translation team.
20408 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
20410 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20412 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20413 handling of denormals.
20414 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20415 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20416 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20417 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20418 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20419 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20420 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20423 2012-05-26 Marek Polacek <polacek@redhat.com>
20426 * math/libm-test.inc (fma_test): Don't always expect underflow
20429 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20432 * elf/tst-execstack.c: Include stackinfo.h.
20433 (do_test): Adjust test case to ensure that pthread_getattr_np
20434 behaviour remains the same after marking stack executable.
20436 2012-05-25 Joseph Myers <joseph@codesourcery.com>
20438 * sysdeps/unix/sysv/linux/kernel-features.h
20439 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20440 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20442 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20443 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20444 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20446 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20447 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20449 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
20451 * configure.in: Define the default includes to being none.
20452 * configure: Regenerated.
20454 2012-05-25 Roland McGrath <roland@hack.frob.com>
20456 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20457 * sysdeps/x86_64/setjmp.S: Likewise.
20458 * sysdeps/i386/bsd-setjmp.S: Likewise.
20459 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20460 * sysdeps/i386/setjmp.S: Likewise.
20461 * sysdeps/i386/__longjmp.S: Likewise.
20462 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20463 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20465 * include/stap-probe.h: New file.
20466 * configure.in: Handle --enable-systemtap.
20467 * configure: Regenerated.
20468 * config.h.in (USE_STAP_PROBE): New #undef.
20469 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20470 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20471 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20473 2012-05-25 Joseph Myers <joseph@codesourcery.com>
20476 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20477 to 2.4.0 where earlier.
20478 * sysdeps/unix/sysv/linux/configure: Regenerated.
20479 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20480 <kernel-features.h>.
20481 [__ASSUME_32BITUIDS]: Make code unconditional.
20482 [!__ASSUME_32BITUIDS]: Remove conditional code.
20483 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20484 <kernel-features.h>.
20485 [__ASSUME_32BITUIDS]: Make code unconditional.
20486 [!__ASSUME_32BITUIDS]: Remove conditional code.
20487 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20488 [__ASSUME_32BITUIDS]: Make code unconditional.
20489 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20490 * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.c: Do not include
20503 <kernel-features.h>.
20504 [__ASSUME_32BITUIDS]: Make code unconditional.
20505 [!__ASSUME_32BITUIDS]: Remove conditional code.
20506 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20507 <kernel-features.h>.
20508 [__ASSUME_32BITUIDS]: Make code unconditional.
20509 [!__ASSUME_32BITUIDS]: Remove conditional code.
20510 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20511 <kernel-features.h>.
20512 [__ASSUME_32BITUIDS]: Make code unconditional.
20513 [!__ASSUME_32BITUIDS]: Remove conditional code.
20514 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20515 <kernel-features.h>.
20516 [__ASSUME_32BITUIDS]: Make code unconditional.
20517 [!__ASSUME_32BITUIDS]: Remove conditional code.
20518 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20519 <kernel-features.h>.
20520 [__ASSUME_32BITUIDS]: Make code unconditional.
20521 [!__ASSUME_32BITUIDS]: Remove conditional code.
20522 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20523 <kernel-features.h>.
20524 [__ASSUME_32BITUIDS]: Make code unconditional.
20525 [!__ASSUME_32BITUIDS]: Remove conditional code.
20526 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20527 <kernel-features.h>.
20528 [__ASSUME_32BITUIDS]: Make code unconditional.
20529 [!__ASSUME_32BITUIDS]: Remove conditional code.
20530 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20531 <kernel-features.h>.
20532 [__NR_setresgid] (__setresgid): Do not declare.
20533 [__ASSUME_32BITUIDS]: Make code unconditional.
20534 [!__ASSUME_32BITUIDS]: Remove conditional code.
20535 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20536 <kernel-features.h>.
20537 [__NR_setresuid] (__setresuid): Do not declare.
20538 [__ASSUME_32BITUIDS]: Make code unconditional.
20539 [!__ASSUME_32BITUIDS]: Remove conditional code.
20540 * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/i386/setgroups.c: Do not include
20553 <kernel-features.h>.
20554 [__ASSUME_32BITUIDS]: Make code unconditional.
20555 [!__ASSUME_32BITUIDS]: Remove conditional code.
20556 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20557 <kernel-features.h>.
20558 [__ASSUME_32BITUIDS]: Make code unconditional.
20559 [!__ASSUME_32BITUIDS]: Remove conditional code.
20560 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20561 <kernel-features.h>.
20562 [__ASSUME_32BITUIDS]: Make code unconditional.
20563 [!__ASSUME_32BITUIDS]: Remove conditional code.
20564 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20565 <kernel-features.h>.
20566 [__ASSUME_32BITUIDS]: Make code unconditional.
20567 [!__ASSUME_32BITUIDS]: Remove conditional code.
20568 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20569 <kernel-features.h>.
20570 [__ASSUME_32BITUIDS]: Make code unconditional.
20571 [!__ASSUME_32BITUIDS]: Remove conditional code.
20572 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20573 <kernel-features.h>.
20574 [__ASSUME_32BITUIDS]: Make code unconditional.
20575 [!__ASSUME_32BITUIDS]: Remove conditional code.
20576 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20577 <kernel-features.h>.
20578 [__ASSUME_32BITUIDS]: Make code unconditional.
20579 [!__ASSUME_32BITUIDS]: Remove conditional code.
20580 * sysdeps/unix/sysv/linux/kernel-features.h
20581 (__ASSUME_SETRESUID_SYSCALL): Remove.
20582 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20583 (__ASSUME_32BITUIDS): Likewise.
20584 (__ASSUME_LDT_WORKS): Likewise.
20585 (__ASSUME_O_DIRECTORY): Likewise.
20586 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20587 architecture but not kernel version.
20588 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20589 (__ASSUME_MMAP2_SYSCALL): Likewise.
20590 (__ASSUME_STAT64_SYSCALL): Likewise.
20591 (__ASSUME_IPC64): Likewise.
20592 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20593 <kernel-features.h>.
20594 [__ASSUME_32BITUIDS]: Make code unconditional.
20595 [!__ASSUME_32BITUIDS]: Remove conditional code.
20596 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20597 <kernel-features.h>.
20598 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20599 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20600 132096]: Remove conditional code.
20601 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20602 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20603 <kernel-features.h>.
20604 [__ASSUME_32BITUIDS]: Make code unconditional.
20605 [!__ASSUME_32BITUIDS]: Remove conditional code.
20606 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20607 <kernel-features.h>.
20608 [__ASSUME_32BITUIDS]: Make code unconditional.
20609 [!__ASSUME_32BITUIDS]: Remove conditional code.
20610 * sysdeps/unix/sysv/linux/setegid.c: Do not include
20611 <kernel-features.h>.
20612 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20614 (__setresgid): Do not declare.
20615 [__ASSUME_32BITUIDS]: Make code unconditional.
20616 [!__ASSUME_32BITUIDS]: Remove conditional code.
20617 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20618 <kernel-features.h>.
20619 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20621 (__setresuid): Do not declare.
20622 [__ASSUME_32BITUIDS]: Make code unconditional.
20623 [!__ASSUME_32BITUIDS]: Remove conditional code.
20624 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20625 <kernel-features.h>.
20626 [__ASSUME_32BITUIDS]: Make code unconditional.
20627 [!__ASSUME_32BITUIDS]: Remove conditional code.
20628 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20629 <kernel-features.h>.
20630 [__ASSUME_32BITUIDS]: Make code unconditional.
20631 [!__ASSUME_32BITUIDS]: Remove conditional code.
20633 2012-05-25 Richard Henderson <rth@twiddle.net>
20635 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20636 dl_hwcap to ifunc resolver.
20637 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20639 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20640 dl_hwcap to ifunc resolver.
20641 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20643 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20646 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20647 for |x| <= 2**-26, not 2**-57.
20648 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20651 2012-05-24 Jeff Law <law@redhat.com>
20653 * stdio-common/Makefile (tests): Add bug25.
20654 * stdio-common/bug25.c: New test.
20656 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20659 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20660 multiple of MALLOC_ALIGNMENT in size.
20661 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20663 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20665 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20667 (FILENAME_MAX): Use macro-int-constant.
20668 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20669 (_IOFBF): Use macro-int-constant.
20670 (_IOLBF): Likewise.
20671 (_IONBF): Likewise.
20672 (SEEK_CUR): Likewise.
20673 (SEEK_END): Likewise.
20674 (SEEK_SET): Likewise.
20675 (TMP_MAX): Likewise.
20676 (EOF): Use macro-int-constant. Require < 0.
20677 (NULL): Use macro-constant. Require == 0.
20678 (stdin): Require type to be FILE *.
20679 (stdout): Likewise.
20680 (stderr): Likewise.
20681 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20682 macro-int-constant.
20683 (EXIT_SUCCESS): Likewise.
20684 (NULL): Use macro-constant. Require == 0.
20685 (RAND_MAX): Use macro-int-constant.
20686 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20687 [C99-based standards] (strtof): Require function.
20688 [C99-based standards] (strtold): Likewise.
20689 [C99-based standards] (strtoll): Likewise.
20690 [C99-based standards] (strtoull): Likewise.
20691 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20692 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20693 [ISO || ISO99 || ISO11] (math.h): Likewise.
20694 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20695 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20696 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20698 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20701 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20702 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20703 * intl/dgettext.c (DCGETTEXT): Likewise.
20704 * intl/gettext.c (DCGETTEXT): Likewise.
20705 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20706 * posix/regex_internal.h (gettext): Likewise.
20707 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20708 Remove declaration.
20709 * include/argz.h (__argz_count_internal)
20710 (__argz_stringify_internal): Remove declaration.
20711 (__argz_count, __argz_stringify): Declare hidden proto.
20712 * intl/dcgettext.c: Remove use of INTDEF.
20713 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20714 * string/argz-stringify.c: Likewise.
20715 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20716 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20717 Declare hidden proto.
20718 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20719 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20720 Declare hidden proto.
20721 * include/stdio.h (__asprintf_internal): Don't declare.
20722 (__asprintf): Don't define as macro. Declare hidden proto.
20723 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20724 (__fsetlocking): Declare hidden proto.
20725 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20726 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20728 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20729 (_IO_setlinebuf): Remove use of INTUSE.
20730 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20731 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20732 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20733 Remove declaration.
20734 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20735 (_IO_do_flush): Remove use of INTUSE.
20736 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20737 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20738 (_IO_adjust_column, _IO_least_wmarker)
20739 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20740 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20741 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20742 (_IO_default_doallocate, _IO_wdefault_doallocate)
20743 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20744 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20745 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20746 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20747 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20748 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20749 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20750 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20751 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20752 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20753 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20754 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20755 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20757 (_IO_flush_all_internal, _IO_adjust_column_internal)
20758 (_IO_default_uflow_internal, _IO_default_finish_internal)
20759 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20760 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20761 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20762 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20763 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20764 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20765 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20766 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20767 (_IO_file_close_internal, _IO_file_close_it_internal)
20768 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20769 (_IO_file_init_internal, _IO_file_attach_internal)
20770 (_IO_file_fopen_internal, _IO_file_read_internal)
20771 (_IO_file_sync_internal, _IO_file_seek_internal)
20772 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20773 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20774 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20775 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20776 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20777 (_IO_list_all_internal, _IO_link_in_internal)
20778 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20779 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20780 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20781 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20782 (_IO_do_write_internal, _IO_padn_internal)
20783 (_IO_getline_info_internal, _IO_getline_internal)
20784 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20785 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20786 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20787 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20788 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20789 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20790 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20791 with libc_hidden_ver, remove use of INTUSE.
20792 * libio/genops.c: Likewise.
20793 * libio/freopen.c: Likewise.
20794 * libio/freopen64.c: Likewise.
20795 * libio/iofclose.c: Likewise.
20796 * libio/iofdopen.c: Likewise.
20797 * libio/iofflush.c: Likewise.
20798 * libio/iofflush_u.c: Likewise.
20799 * libio/iofgets.c: Likewise.
20800 * libio/iofgets_u.c: Likewise.
20801 * libio/iofopen.c: Likewise.
20802 * libio/iofopncook.c: Likewise.
20803 * libio/iofread.c: Likewise.
20804 * libio/iofread_u.c: Likewise.
20805 * libio/ioftell.c: Likewise.
20806 * libio/iofwrite.c: Likewise.
20807 * libio/iogetline.c: Likewise.
20808 * libio/iogets.c: Likewise.
20809 * libio/iogetwline.c: Likewise.
20810 * libio/iopadn.c: Likewise.
20811 * libio/iopopen.c: Likewise.
20812 * libio/ioseekoff.c: Likewise.
20813 * libio/ioseekpos.c: Likewise.
20814 * libio/iosetbuffer.c: Likewise.
20815 * libio/iosetvbuf.c: Likewise.
20816 * libio/ioungetc.c: Likewise.
20817 * libio/ioungetwc.c: Likewise.
20818 * libio/iovdprintf.c: Likewise.
20819 * libio/iovsprintf.c: Likewise.
20820 * libio/iovsscanf.c: Likewise.
20821 * libio/memstream.c: Likewise.
20822 * libio/obprintf.c: Likewise.
20823 * libio/oldfileops.c: Likewise.
20824 * libio/oldiofclose.c: Likewise.
20825 * libio/oldiofdopen.c: Likewise.
20826 * libio/oldiofopen.c: Likewise.
20827 * libio/oldiopopen.c: Likewise.
20828 * libio/oldstdfiles.c: Likewise.
20829 * libio/putc.c: Likewise.
20830 * libio/setbuf.c: Likewise.
20831 * libio/setlinebuf.c: Likewise.
20832 * libio/stdfiles.c: Likewise.
20833 * libio/strops.c: Likewise.
20834 * libio/vasprintf.c: Likewise.
20835 * libio/vscanf.c: Likewise.
20836 * libio/vsnprintf.c: Likewise.
20837 * libio/vswprintf.c: Likewise.
20838 * libio/wfiledoalloc.c: Likewise.
20839 * libio/wfileops.c: Likewise.
20840 * libio/wgenops.c: Likewise.
20841 * libio/wmemstream.c: Likewise.
20842 * libio/wstrops.c: Likewise.
20843 * libio/__fpurge.c: Likewise.
20844 * libio/__fsetlocking.c: Likewise.
20845 * assert/assert.c: Likewise.
20846 * debug/fgets_chk.c: Likewise.
20847 * debug/fgets_u_chk.c: Likewise.
20848 * debug/fread_chk.c: Likewise.
20849 * debug/fread_u_chk.c: Likewise.
20850 * debug/gets_chk.c: Likewise.
20851 * debug/obprintf_chk.c: Likewise.
20852 * debug/vasprintf_chk.c: Likewise.
20853 * debug/vdprintf_chk.c: Likewise.
20854 * debug/vsnprintf_chk.c: Likewise.
20855 * debug/vsprintf_chk.c: Likewise.
20856 * malloc/mtrace.c: Likewise.
20857 * misc/error.c: Likewise.
20858 * misc/syslog.c: Likewise.
20859 * stdio-common/asprintf.c: Likewise.
20860 * stdio-common/fxprintf.c: Likewise.
20861 * stdio-common/getw.c: Likewise.
20862 * stdio-common/isoc99_fscanf.c: Likewise.
20863 * stdio-common/isoc99_scanf.c: Likewise.
20864 * stdio-common/isoc99_vfscanf.c: Likewise.
20865 * stdio-common/isoc99_vscanf.c: Likewise.
20866 * stdio-common/isoc99_vsscanf.c: Likewise.
20867 * stdio-common/printf-prs.c: Likewise.
20868 * stdio-common/printf_fp.c: Likewise.
20869 * stdio-common/printf_fphex.c: Likewise.
20870 * stdio-common/printf_size.c: Likewise.
20871 * stdio-common/putw.c: Likewise.
20872 * stdio-common/scanf.c: Likewise.
20873 * stdio-common/sprintf.c: Likewise.
20874 * stdio-common/tmpfile.c: Likewise.
20875 * stdio-common/vfprintf.c: Likewise.
20876 * stdio-common/vfscanf.c: Likewise.
20877 * stdlib/strfmon_l.c: Likewise.
20878 * sunrpc/openchild.c: Likewise.
20879 * sunrpc/xdr_stdio.c: Likewise.
20880 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20881 * sysdeps/mach/hurd/tmpfile.c: Likewise.
20883 2012-05-24 Roland McGrath <roland@hack.frob.com>
20885 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20887 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20888 in the third column, to generate for the shared library an IFUNC
20889 that uses _dl_vdso_vsym.
20890 * Makerules (COMPILE.c, compile-stdin.c): New variables.
20891 * Makeconfig (object-suffixes-noshared): New variable.
20893 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20894 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20895 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20896 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20899 * include/sys/time.h (__gettimeofday): Remove macro.
20900 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20901 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20903 (__gettimeofday): Add libc_hidden_def.
20904 (gettimeofday): Add libc_hidden_weak.
20905 * sysdeps/mach/gettimeofday.c: Likewise.
20906 * sysdeps/posix/gettimeofday.c: Likewise.
20907 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20908 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20909 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20910 (__gettimeofday_internal): Remove strong_alias.
20911 (__gettimeofday): Add libc_hidden_def.
20912 (gettimeofday): Add libc_hidden_weak.
20913 * sysdeps/unix/syscalls.list (gettimeofday):
20914 Remove __gettimeofday_internal alias.
20916 2012-05-24 Daniel Jacobowitz <drow@false.org>
20917 H.J. Lu <hongjiu.lu@intel.com>
20920 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20921 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20922 (largebin_index_32_big): New.
20923 (largebin_index): Use it for 16-byte alignment.
20924 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20925 correction with front_misalign.
20927 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20955 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20956 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20958 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20962 * math/libm-test.inc (exp_test): Add test from bug 14036.
20963 (pow_test): Add test from bug 10846.
20965 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20967 (special_function): Do not include flags in test name.
20968 (parse_args): Likewise.
20969 * sysdeps/i386/fpu/libm-test-ulps: Update.
20970 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
20971 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
20972 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
20973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20975 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20977 * math/libm-test.inc ("Philosophy"): Update comment about
20979 (UNDERFLOW_EXCEPTION): New macro.
20980 (UNDERFLOW_EXCEPTION_OK): Likewise.
20981 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
20982 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
20983 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
20984 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
20985 (INVALID_EXCEPTION_OK): Update value.
20986 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
20987 (OVERFLOW_EXCEPTION_OK): Likewise.
20988 (IGNORE_ZERO_INF_SIGN): Likewise.
20989 (test_exceptions): Handle underflow exceptions.
20990 (acos_test): Update for underflow exception expectations.
20991 (cexp_test): Likewise.
20992 (clog_test): Likewise.
20993 (clog10_test): Likewise.
20994 (csqrt_test): Likewise.
20995 (ctan_test): Likewise.
20996 (ctanh_test): Likewise.
20997 (exp_test): Likewise.
20998 (exp10_test): Likewise.
20999 (exp2_test): Likewise.
21000 (expm1_test): Likewise.
21001 (fma_test): Likewise.
21002 (j0_test): Likewise.
21003 (jn_test): Likewise.
21004 (nexttoward_test): Likewise.
21005 (pow_test): Likewise.
21006 (scalbn_test): Likewise.
21007 (scalbln_test): Likewise.
21008 (tan_test): Likewise.
21009 (y1_test): Likewise.
21010 * sysdeps/i386/fpu/libm-test-ulps: Update.
21011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21013 2012-05-23 David S. Miller <davem@davemloft.net>
21015 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21016 (__libc_sigaction): Remove unused local variables.
21018 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21020 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21022 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
21024 mktime: avoid signed integer overflow
21025 * time/mktime.c (__mktime_internal): Do not mishandle the case
21026 where diff == INT_MIN.
21028 mktime: simplify computation of average
21029 * time/mktime.c (ranged_convert): Use new time_t_avg function
21030 instead of rolling our own (probably-slower) code.
21032 mktime: do not assume signed right shift propagates sign bit
21033 * time/mktime.c (isdst_differ): New static function.
21034 (__mktime_internal): No need to normalize tm_isdst now.
21035 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21038 mktime: merge another wrapv change from gnulib
21039 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21040 from some compilers.
21042 mktime: remove incorrect attempt at unusual arithmetics
21043 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21044 The code didn't really work on such machines anyway.
21045 (TYPE_MINIMUM): Assume two's complement.
21046 (twos_complement_arithmetic): Verify that long_int and time_t
21047 are two's complement (or unsigned, in the latter case).
21049 mktime: check signed shifts on long_int and time_t, too
21050 * time/mktime.c (SHR): Check that shifts work as desired
21051 on the types long_int and time_t too, as SHR is used on
21054 mktime: do not assume 'long' is wide enough
21055 * time/mktime.c (verify): Move decl up.
21056 (long_int): New type.
21057 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21058 to remove assumption in the code that 'long' is wide enough to
21059 store year values. This assumption is not true on x32 and on
21060 some non-glibc platforms.
21062 mktime: merge wrapv change from gnulib
21063 * time/mktime.c (WRAPV): New macro.
21064 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21065 (guess_time_tm, __mktime_internal): Do not assume that signed
21066 integer overflow wraps around; modern compilers generate code
21067 where this assumption is no longer valid.
21069 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21071 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21072 Replace "jmp L(pseudo_end)" with "ret".
21073 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21076 2012-05-23 Andreas Jaeger <aj@suse.de>
21078 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21079 * sysdeps/unix/sysv/linux/poll.c: Remove file.
21081 2012-05-23 Andreas Jaeger <aj@suse.de>
21082 Maximilian Attems <max@stro.at>
21084 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21087 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21089 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21090 code so that pseudo_end is just ret and the stack pointer is
21091 correct also for static library in error case.
21093 2012-05-23 Joseph Myers <joseph@codesourcery.com>
21095 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21096 move to syscalls.list.
21097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21098 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21102 * manual/install.texi (Running make install): Do not mention Linux
21103 kernel version for which pt_chown is not needed.
21104 (Linux): Do not mention problems with nscd with 2.0 kernels.
21105 * INSTALL: Regenerated.
21107 2012-05-23 Andreas Jaeger <aj@suse.de>
21109 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21110 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21112 * sysdeps/unix/sysv/linux/s390/bits/mman.h
21113 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21114 * sysdeps/unix/sysv/linux/sh/bits/mman.h
21115 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21116 * sysdeps/unix/sysv/linux/i386/bits/mman.h
21117 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21118 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21119 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21120 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21121 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21122 * sysdeps/unix/sysv/linux/bits/in.h
21123 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21125 2012-05-22 Roland McGrath <roland@hack.frob.com>
21127 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21128 (PREPARE_VERSION): Just use assert instead, it will be elided
21129 under [NDEBUG] anyway.
21131 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21133 * sysdeps/unix/sysv/linux/Makefile: Include
21134 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
21135 (sysdep_routines): Remove sysctl.
21136 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21137 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21138 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21139 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21140 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21142 2012-05-22 Andreas Jaeger <aj@suse.de>
21144 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21145 that pseudo_end is just ret and the stack pointer is correct also
21146 for static library in error case.
21148 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21151 * nss/nsswitch.c (defconfig_entries): New variable.
21152 (__nss_database_lookup): Don't leak defconfig entries.
21153 (nss_parse_service_list): Don't leak on error paths.
21154 (free_database_entries): New function.
21155 (free_defconfig): New function.
21156 (free_mem): Move common code to free_database_entries.
21158 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21160 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21162 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21164 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21165 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21166 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21168 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21169 (INTERNAL_SYSCALL_TYPES): Likewise.
21170 (LOAD_ARGS_TYPES_[1-6]): Likewise.
21171 (LOAD_REGS_TYPES_[1-6]): Likewise.
21172 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21173 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21175 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21177 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21178 copysignl for GLIBC_2_0.
21179 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21180 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21181 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21182 logbl for GLIBC_2_0.
21183 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21184 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21186 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21188 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21189 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21191 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21194 * time/mktime.c: Update copyright years.
21196 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
21198 mktime: merge comment-quoting-style change from gnulib
21199 * time/mktime.c: Quote 'like this' in comments.
21200 The GNU coding standards suggest that we no longer quote `like this',
21201 as "`" and "'" are typically rendered asymmetrically nowadays.
21202 The typical gnulib style is to quote 'like this' when quoting
21203 code, and "like this" when quoting English.
21205 * time/mktime.c (compile-command): Add "-I.".
21207 mktime: merge mktime-internal.h change from gnulib
21208 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21210 mktime: merge time_r change from gnulib
21211 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21213 mktime: merge DEBUG change from gnulib
21214 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21215 case system <time.h> has a #define.
21217 mktime: merge <sys/types.h> change from gnulib
21218 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21219 since <time.t> is now guaranteed to define time_t.
21221 mktime: merge HAVE_CONFIG_H change from gnulib
21222 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21224 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21226 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21229 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21231 (struct rusage): Use anonymous union to pad each field to
21234 2012-05-21 David S. Miller <davem@davemloft.net>
21236 * Makefules (o-iterator): Remove .s cases.
21237 (compile-command.s): Delete.
21238 (COMPILE.s): Delete.
21239 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21241 2012-05-21 Joseph Myers <joseph@codesourcery.com>
21243 * configure.in (libc_cv_predef_stack_protector): Only consider
21244 "foobar" and "__stack_chk_fail" lines in libc_undefs.
21245 * configure: Regenerated.
21247 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21249 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21250 New macro. Use R*LP on int and pointer.
21251 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
21252 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21253 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
21254 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21256 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21257 [__WORDSIZE_TIME64_COMPAT32] instead of
21258 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21259 (struct utmp): Likewise.
21260 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21261 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21263 (__WORDSIZE_TIME64_COMPAT32): This.
21264 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21265 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21266 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21267 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21268 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21269 (__WORDSIZE_TIME64_COMPAT32): New macro.
21271 2012-05-21 Andreas Jaeger <aj@suse.de>
21273 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21274 only if [SHARED]. Add prototype for __wcschr_ia32.
21276 2012-05-21 Roland McGrath <roland@hack.frob.com>
21278 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21279 of %rbp unmolested in the jmp_buf while mangling the low bits.
21280 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21281 unmolested high bits of %rbp while demangling the low bits.
21282 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21284 2012-05-21 Andreas Jaeger <aj@suse.de>
21286 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21287 * sunrpc/svc_simple.c: Use it for registerrpc.
21288 * sunrpc/xcrypt.c: Use it for passwd2des.
21290 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21292 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21294 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21295 Don't define if [__SYSCALL_WORDSIZE != 32].
21296 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21299 2012-05-21 Bruno Haible <bruno@clisp.org>
21300 Andreas Jaeger <aj@suse.de>
21302 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21303 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21304 inptr and inend for must_buffer_ch.
21305 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21306 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
21307 * stdio-common/Makefile (tests): Remove bug15.
21308 (bug15-ENV): Remove macro.
21309 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
21312 2012-05-19 Andreas Jaeger <aj@suse.de>
21313 Roland McGrath <roland@hack.frob.com>
21315 * manual/contrib.texi: Completely rewritten. It contains now an
21316 alphabetical list of contributors and their contributions.
21318 2012-05-21 Richard Henderson <rth@twiddle.net>
21320 * misc/getauxval.c (__getauxval): Use unsigned long int.
21321 * misc/sys/auxv.h: Include <sys/cdefs.h>.
21322 (getauxval): Use unsigned long int.
21324 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21326 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21328 2012-05-21 Roland McGrath <roland@hack.frob.com>
21330 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
21331 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
21332 __alignof__ (long double).
21334 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21338 2012-05-20 Richard Henderson <rth@twiddle.net>
21340 * misc/getauxval.c: New file.
21341 * misc/sys/auxv.h: New file.
21342 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21343 (routines): Add getauxval.
21344 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21345 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21346 * elf/dl-sysdep.c (_dl_auxv): Remove.
21347 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21348 * elf/dl-support.c (_dl_auxv): New variable.
21349 (_dl_aux_init): Initialize it.
21350 * manual/startup.texi (Auxiliary Vector): New node.
21351 * sysdeps/generic/bits/hwcap.h: New file.
21352 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21353 * sysdeps/powerpc/sysdep.h: ... here. Include it.
21354 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21355 * sysdeps/sparc/sysdep.h: ... here. Include it.
21356 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21357 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
21358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21360 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21361 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21362 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21363 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21364 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21365 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21366 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21367 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21369 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21373 2012-05-19 David S. Miller <davem@davemloft.net>
21375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21377 2012-05-19 Joseph Myers <joseph@codesourcery.com>
21380 * math/s_ccosh.c: Include <float.h>
21381 (__ccosh): Avoid internal overflow calculating sinh and cosh
21382 values before multiplying by sin and cos values.
21383 * math/s_ccoshf.c: Likewise.
21384 * math/s_ccoshl.c: Likewise.
21385 * math/s_csin.c: Likewise.
21386 * math/s_csinf.c: Likewise.
21387 * math/s_csinl.c: Likewise.
21388 * math/s_csinh.c: Likewise.
21389 * math/s_csinhf.c: Likewise.
21390 * math/s_csinhl.c: Likewise.
21391 * math/libm-test.inc (ccos_test): Add more tests.
21392 (ccosh_test): Likewise.
21393 (csin_test): Likewise.
21394 (csinh_test): Likewise.
21395 * sysdeps/i386/fpu/libm-test-ulps: Update.
21396 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21398 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
21400 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21401 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21403 * sysdeps/x86_64/x32/_itoa.h: Add comment.
21405 2012-05-19 Joseph Myers <joseph@codesourcery.com>
21407 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21408 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21409 * sysdeps/powerpc/soft-fp/Versions: Likewise.
21410 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21411 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21412 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21413 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21414 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21415 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21416 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21417 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21418 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21419 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21420 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21421 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21422 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21423 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21424 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21425 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21426 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21427 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21428 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21429 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21430 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21431 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21432 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21433 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21434 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21435 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21436 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21437 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21439 2012-05-18 Andreas Jaeger <aj@suse.de>
21441 * csu/.gitignore: Delete.
21443 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21445 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21446 (timex): Use __syscall_slong_t.
21448 2012-05-18 Andreas Jaeger <aj@suse.de>
21449 Carlos O'Donell <carlos_odonell@mentor.com>
21451 * manual/install.texi (Configuring and compiling): Update
21452 description about files modified in the source directory.
21453 * INSTALL: Regenerated.
21455 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21457 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21458 value. Use "or" to set return value to -1.
21459 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21460 negate return value.
21462 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21464 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21465 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21466 failure if the compiler has Graphite support disabled.
21467 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21469 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21470 CFLAGS-memmove.c): Likewise.
21471 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21474 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21476 * sysdeps/x86_64/x32/_itoa.h: New file.
21478 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21479 getdents system call only if kernel and user dirents have the
21480 same d_ino and d_off.
21482 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21483 LLONG_MAX != LONG_MAX.
21484 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21485 (_fitoa_word): Likewise.
21487 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21489 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21490 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21491 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21493 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21494 include <bits/wordsize.h>. Check __x86_64__ instead of
21496 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21497 if __x86_64__ is defined. Use anonymous union on fpstate.
21499 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21502 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21504 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21505 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21506 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21507 Refer to _rtld_local_ro instead of _rtld_global_ro.
21508 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21510 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21512 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21514 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21515 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21516 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21518 * sysdeps/powerpc/powerpc32/dl-machine.c
21519 (__elf_machine_runtime_setup) [PROF]: Don't reference
21522 2012-05-18 Andreas Jaeger <aj@suse.de>
21524 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21525 function only available for GCCs before 3.4 since GCC 3.4
21526 introduced a builtin.
21528 (llrintf): Likewise.
21529 (llrint): Likewise.
21536 (nearbyint): Likewise.
21537 (nearbyintf): Likewise.
21541 (floorf): Likewise.
21543 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21545 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21546 on both fields and cast pointer to __syscall_ulong_t.
21548 * bits/types.h (__fsword_t): New type.
21549 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21550 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21551 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21552 (__FSWORD_T_TYPE): Likewise.
21553 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21554 (__FSWORD_T_TYPE): Likewise.
21555 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21556 (__FSWORD_T_TYPE): Likewise.
21557 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21558 (__FSWORD_T_TYPE): Likewise.
21559 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21560 __SWORD_TYPE with __fsword_t.
21561 (statfs64): Likewise.
21563 2012-05-17 David S. Miller <davem@davemloft.net>
21565 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21567 2012-05-17 Andreas Jaeger <aj@suse.de>
21569 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21572 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21574 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21576 2012-05-17 Andreas Jaeger <aj@suse.de>
21578 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21581 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21583 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21585 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21587 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21588 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21590 2012-05-17 Andreas Jaeger <aj@suse.de>
21591 Carlos O'Donell <carlos_odonell@mentor.com>
21594 * sysdeps/x86_64/multiarch/init-arch.h
21595 (bit_YMM_Usable): Rename to...
21596 (bit_AVX_Usable): ... this.
21597 (bit_FMA4_Usable): New macro.
21598 (bit_XMM_state): New macro.
21599 (bit_YMM_state): New macro.
21600 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21601 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21602 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21603 (CPUID_OSXSAVE): New macro.
21604 (CPUID_AVX): New macro.
21605 (CPUID_FMA4): New macro.
21606 (index_YMM_Usable): Rename to...
21607 (index_AVX_Usable): ... this.
21608 (HAS_AVX): Use HAS_ARCH_FEATURE.
21609 (HAS_FMA4): Likewise.
21610 (HAS_YMM_USABLE): Remove.
21611 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21612 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21614 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21615 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21616 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21617 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21618 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21620 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21622 * math/libm-test.c: Support platforms without multiple rounding modes.
21623 * math/bug-nextafter.c: Support platforms without FP exceptions.
21624 * math/bug-nexttoward.c: Likewise.
21625 * math/test-fenv.c: Likewise.
21626 * math/test-misc.c: Likewise.
21627 * stdlib/bug-getcontext.c: Likewise.
21629 2012-05-17 Andreas Jaeger <aj@suse.de>
21631 * manual/examples/search.c (critter_cmp): Change signature to
21633 * manual/string.texi (Collation Functions): Likewise.
21635 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21637 * bits/types.h: Fold copyright years.
21638 * bits/typesizes.h: Likewise.
21639 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21640 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21641 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21642 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21643 * time/time.h: Likewise.
21645 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21648 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21649 in instead of returning them. Return void.
21650 (__libc_mallinfo): Accumulate over all arenas.
21651 (__malloc_stats): Adjust for change in int_mallinfo interface.
21653 2012-05-16 Roland McGrath <roland@hack.frob.com>
21656 * configure.in (NM): Add AC_CHECK_TOOL for it.
21657 (libc_extra_cflags): New substituted variable.
21658 Check for -fstack-protector being used implicitly.
21659 * configure: Regenerated.
21660 * config.make.in (config-extra-cflags): New variable,
21661 gets @libc_extra_cflags@.
21662 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21665 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21666 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21667 * configure: Regenerated.
21668 * config.make.in (CPPUNDEFS): New substituted variable.
21669 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21670 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21671 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21673 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21675 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21676 (mq_attr): Use __syscall_slong_t.
21678 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21680 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21681 Check __x86_64__ instead of __WORDSIZE.
21682 (_STAT_VER_LINUX): Likewise.
21683 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21684 __syscall_ulong_t and __syscall_slong_t.
21685 (stat64): Likewise.
21687 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21689 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21691 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21693 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21695 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21697 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21700 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21701 include <bits/wordsize.h>. Check __x86_64__ instead of
21703 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21705 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21707 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21708 include <bits/wordsize.h>. Check __x86_64__ instead of
21710 (user_regs_struct): Use "__extension__ unsigned long long"
21711 instead of "unsigned long" if __x86_64__ is defined.
21712 (user): Likewise. Pad after pointer field if __ILP32__ is
21715 2012-05-16 Joseph Myers <joseph@codesourcery.com>
21717 * configure.in (makeinfo): Require version 4.5 or later. Allow
21719 * configure: Regenerated.
21720 * manual/install.texi (texinfo): Increase version requirement to
21722 * INSTALL: Regenerated.
21724 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21726 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21728 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21730 * sysdeps/x86_64/x32/ffs.c: New file.
21732 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21734 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21735 defined. Use __syscall_ulong_t.
21736 (shminfo): Use __syscall_ulong_t.
21737 (shm_info): Likewise.
21739 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21742 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21744 (msgqnum_t): Use __syscall_ulong_t.
21745 (msglen_t): Likewise.
21746 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21749 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21750 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21752 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21754 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21755 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21757 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21760 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21761 include <bits/wordsize.h>. Check __x86_64__ instead of
21764 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21765 "unsigned long long int" if __x86_64__ is defined.
21766 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21768 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21769 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21770 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21772 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21774 (GET_PC): Cast to uintptr_t first.
21775 (GET_FRAME): Likewise.
21776 (GET_STACK): Likewise.
21778 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21779 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21780 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21781 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21782 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21783 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21784 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21785 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21786 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21787 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21788 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21789 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21790 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21791 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21792 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21793 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21794 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21795 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21796 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21797 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21798 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21799 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21800 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21801 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21802 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21803 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21804 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21805 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21806 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21808 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21810 * Makerules (+depfiles): Also collect depfiles from .oS in
21812 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21813 .oS, $(libnldbl-routines)).
21815 * Makerules (native-compile-mkdep-flags): Define.
21816 * sunrpc/Makefile (extra-objs): Add $(addprefix
21817 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21818 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21819 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
21820 calling $(make-target-directory).
21822 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21824 * bits/types.h (__snseconds_t): Removed.
21825 * time/time.h (struct timespec): Replace __snseconds_t with
21827 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21828 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21830 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21831 (__SNSECONDS_T_TYPE): Likewise.
21832 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21833 (__SNSECONDS_T_TYPE): Likewise.
21834 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21835 (__SNSECONDS_T_TYPE): Likewise.
21837 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21839 * sysdeps/mach/hurd/bits/typesizes.h
21840 (__SYSCALL_SLONG_TYPE): New macro.
21841 (__SYSCALL_ULONG_TYPE): Likewise.
21843 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21845 * bits/types.h (__syscall_slong_t): New type.
21846 (__syscall_ulong_t): Likewise.
21848 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21849 (__SYSCALL_ULONG_TYPE): Likewise.
21850 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21851 (__SYSCALL_SLONG_TYPE): Likewise.
21852 (__SYSCALL_ULONG_TYPE): Likewise.
21853 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21854 (__SYSCALL_SLONG_TYPE): Likewise.
21855 (__SYSCALL_ULONG_TYPE): Likewise.
21856 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21857 (__SYSCALL_SLONG_TYPE): Likewise.
21858 (__SYSCALL_ULONG_TYPE): Likewise.
21860 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21862 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21863 Add sigaltstack-offsets.sym.
21864 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21865 <sigaltstack-offsets.h>.
21866 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
21867 longjmp_msg pointer.
21868 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
21869 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21871 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21873 2012-05-15 Joseph Myers <joseph@codesourcery.com>
21875 * elf/stackguard-macros.h: Remove file.
21876 * sysdeps/generic/stackguard-macros.h: New file.
21877 * sysdeps/i386/stackguard-macros.h: Likewise.
21878 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21879 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21880 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21881 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21882 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21883 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21884 * sysdeps/x86_64/stackguard-macros.h: Likewise.
21885 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21886 <elf/stackguard-macros.h>.
21889 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21890 __aligned__ in attribute.
21891 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21892 (gregset_t): Likewise.
21894 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21896 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21897 * sysdeps/x86_64/64/Implies-after: Here. New file.
21898 * sysdeps/x86_64/x32/Implies-after: New file.
21900 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21902 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21903 and access return value for _dl_profile_fixup. Use R10_LP to
21906 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21908 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21910 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21912 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21913 * sysdeps/x86_64/x32/sysdep.h: New file.
21915 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21917 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21918 * sysdeps/x86_64/setjmp.S: Likewise.
21920 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21922 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21923 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21924 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21925 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21926 remove unused global constant.
21928 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21930 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21931 include of <not-cancel.h>.
21933 2012-05-15 Roland McGrath <roland@hack.frob.com>
21935 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21937 2012-05-15 Jeff Law <law@redhat.com>
21938 Andreas Jaeger <aj@suse.de>
21941 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21943 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
21944 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
21945 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
21946 code changing __hst_map_handle.map.
21948 2012-05-15 Roland McGrath <roland@hack.frob.com>
21950 * configure.in (sysnames): Look for Implies-before and Implies-after
21952 * configure: Regenerated.
21954 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21956 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21957 8-byte data alignment with LP_SIZE alignment.
21959 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21961 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21964 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21966 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21968 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21970 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
21971 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
21972 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
21974 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21976 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21978 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21979 (stackinfo_sub_sp): Likewise.
21981 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21983 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21986 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21988 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21991 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21993 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21996 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21998 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22000 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22002 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22003 into R11_LP and load __x86_64_shared_cache_size_half into
22006 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22008 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22011 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22013 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22015 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22017 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22019 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22020 powerpc32/power7/fpu/s_logb.c via #include.
22021 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22022 powerpc32/power7/fpu/s_logbf.c via #include.
22023 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22024 powerpc32/power7/fpu/s_logbl.c via #include.
22026 2012-05-15 Joseph Myers <joseph@codesourcery.com>
22028 * README.libm: Remove file.
22030 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22032 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22033 count for x32. Use R*_LP and omit operand-size suffix.
22035 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22037 * shlib-versions: Move x86_64-.*-linux.* entries to ...
22038 * sysdeps/x86_64/64/shlib-versions: Here. New file.
22039 * sysdeps/x86_64/x32/shlib-versions: New file.
22041 2012-05-14 Roland McGrath <roland@hack.frob.com>
22043 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22044 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22045 Use _dl_fatal_printf instead.
22047 2012-05-14 Joseph Myers <joseph@codesourcery.com>
22049 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22050 set if not set by the user. Do not allow for being unset.
22051 * sysdeps/unix/sysv/linux/configure: Regenerated.
22053 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22055 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22056 the `q' suffix from lea and replace .quad with ASM_ADDR.
22058 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22060 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22061 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
22063 (PTR_DEMANGLE): Likewise.
22065 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22067 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22069 (ASM_ADDR): Likewise.
22070 (RAX_LP): Likewise.
22071 (RBP_LP): Likewise.
22072 (RBX_LP): Likewise.
22073 (RCX_LP): Likewise.
22074 (RDI_LP): Likewise.
22075 (RSI_LP): Likewise.
22076 (RSP_LP): Likewise.
22079 (R10_LP): Likewise.
22080 (R10_LP): Likewise.
22081 (R11_LP): Likewise.
22082 (R12_LP): Likewise.
22083 (R13_LP): Likewise.
22084 (R14_LP): Likewise.
22085 (R15_LP): Likewise.
22087 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22089 * sysdeps/x86_64/x32/dl-machine.h: New file.
22091 2012-05-14 Andreas Jaeger <aj@suse.de>
22093 * manual/Makefile (subdir): Remove export of subdir.
22094 (all): Remove target.
22095 (.PHONY): Remove all from list.
22096 (mkinstalldirs): Remove.
22097 (.PHONY): Remove installdirs from list.
22098 ($(inst_infodir)/libc.info): Use make-target-directory.
22099 (installdirs): Remove.
22100 (subdir_%): Remove.
22101 (glibc-targets): Remove.
22104 ($(objpfx)stubs ../po/manual.pot): Remove.
22105 ($(objpfx)stamp%): Remove.
22106 (make-target-directory): Remove.
22107 (subdir_install): Remove.
22108 (routines): Remove.
22115 * manual/.gitignore: Remove, it's not needed anymore.
22116 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22118 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22120 (texis): Renamed to $(objpfx)texis.
22121 (texis-path): New, contains path to generated files.
22122 (chapters.%): Use texis-path for complete path, add extra argument
22124 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22125 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22126 (summary,texi, stamp-summary): Use complete path of
22127 files. Generate files in build dir.
22128 (dir-add.texi): Build in build dir.
22129 (libm-err.texi,stamp-libm-err): Likewise.
22130 (version.texi, stamp-version): Likewise.
22131 (.%c.texi): Likewise.
22132 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22133 (mostlyclean): Remove target.
22134 (realclean): Remove target.
22135 (generated): Add new variable with contents from mostlyclean and
22136 realclean, remove entries duplicated in common-mostlyclean, add
22137 stamp-libm-err and stamp-version.
22138 (generated-dirs): Add libc directory.
22139 ($(inst_infodir)/libc.info): Install files from build dir.
22141 * manual/install.texi (Configuring and compiling): Adjust since
22142 the info files are not part of the tar ball anymore.
22144 2012-05-14 Andreas Jaeger <aj@suse.de>
22146 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22149 2012-05-14 Joseph Myers <joseph@codesourcery.com>
22152 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22153 to 2.2.0 where earlier.
22154 * sysdeps/unix/sysv/linux/configure: Regenerated.
22155 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22156 Remove conditional code.
22157 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22158 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22159 Remove conditional code.
22160 [!__NR_lchown]: Likewise.
22161 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22162 [__NR_lchown]: Likewise.
22163 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22164 comment referencing __ASSUME_LCHOWN_SYSCALL.
22165 * sysdeps/unix/sysv/linux/i386/sigaction.c
22166 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22167 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22168 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22169 Remove conditional code.
22170 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22171 (__protocol_available): Remove #if 0 code.
22172 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22174 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22175 * sysdeps/unix/sysv/linux/kernel-features.h
22176 (__ASSUME_GETCWD_SYSCALL): Don't define.
22177 (__ASSUME_REALTIME_SIGNALS): Likewise.
22178 (__ASSUME_PREAD_SYSCALL): Likewise.
22179 (__ASSUME_PWRITE_SYSCALL): Likewise.
22180 (__ASSUME_POLL_SYSCALL): Likewise.
22181 (__ASSUME_LCHOWN_SYSCALL): Likewise.
22182 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22184 (__ASSUME_SIOCGIFNAME): Don't define.
22185 (__ASSUME_MSG_NOSIGNAL): Likewise.
22186 (__ASSUME_SENDFILE): Define unconditionally.
22187 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22188 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22190 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22191 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22192 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22193 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22194 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22195 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22196 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22198 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22199 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22201 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22202 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22204 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22205 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22207 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22208 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22210 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22211 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22212 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22213 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22214 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22216 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22217 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22219 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22220 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22221 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22222 Remove conditional code.
22223 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22224 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22225 Remove conditional code.
22226 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22227 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22228 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22229 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22230 Remove conditional code.
22231 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22232 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22233 Remove conditional code.
22234 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22235 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22236 Remove conditional code.
22237 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22238 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22239 Remove conditional code.
22240 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22241 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22242 Remove conditional code.
22243 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22244 * sysdeps/unix/sysv/linux/sh/pwrite64.c
22245 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22246 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22247 * sysdeps/unix/sysv/linux/sigaction.c
22248 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22249 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22250 * sysdeps/unix/sysv/linux/sigpending.c
22251 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22252 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22253 * sysdeps/unix/sysv/linux/sigprocmask.c
22254 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22255 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22256 * sysdeps/unix/sysv/linux/sigsuspend.c
22257 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22258 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22259 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22260 (__libc_missing_rt_sigs): Remove.
22261 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22262 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22263 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22264 Remove conditional code.
22265 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22266 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22268 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22269 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22270 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22271 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22273 2012-05-14 Andreas Jaeger <aj@suse.de>
22275 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22276 it's not used in glibc.
22277 (__coshm1): Likewise.
22278 (__acosh1p): Likewise.
22281 * manual/string.texi (Copying and Concatenation): Add missing
22282 variable in concat example.
22283 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22285 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22288 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22289 __builtin_clzl with __builtin_clzll.
22291 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22294 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22297 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22299 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22300 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22301 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22302 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22304 2012-05-14 Mike Frysinger <vapier@gentoo.org>
22306 * NEWS: Update ia64 info.
22308 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
22310 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22313 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
22315 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
22316 * sysdeps/unix/syscalls.list (dup3): Likewise.
22317 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
22318 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
22320 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22322 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22323 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22325 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22327 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
22329 (TLS_IE): Use mov/add instead of movq/addq to load thread
22331 (TLS_GD_PREFIX): New.
22334 2012-05-11 David S. Miller <davem@davemloft.net>
22336 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22337 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22338 (_FPU_SETCW): Likewise.
22340 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22342 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22343 is 32-byte aligned.
22345 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
22348 * iconvdata/gb18030.c: Update tables.
22349 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
22350 characters specially.
22351 (BODY for TO_LOOP): Add encoding of missing ranges.
22353 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
22356 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22357 * sysdeps/mach/hurd/dup3.c: Likewise.
22358 * sysdeps/mach/hurd/readlinkat.c: Likewise.
22359 * sysdeps/powerpc/memmove.c:: Likewise.
22361 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22363 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22364 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22366 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22368 * elf/elf.h (R_X86_64_RELATIVE64): New.
22369 (R_X86_64_NUM): Updated.
22370 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22371 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
22372 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22373 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22374 tst-quad1pie tst-quad2pie
22375 (modules-names): Add tst-quadmod1 tst-quadmod2.
22376 ($(objpfx)tst-quad1): New dependency.
22377 ($(objpfx)tst-quad2): Likewise.
22378 ($(objpfx)tst-quad1pie): Likewise.
22379 ($(objpfx)tst-quad2pie): Likewise.
22380 * sysdeps/x86_64/tst-quad1.c: New file.
22381 * sysdeps/x86_64/tst-quad1pie.c: New file.
22382 * sysdeps/x86_64/tst-quad2.c: Likewise.
22383 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22384 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22385 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22386 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22387 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22389 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22391 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22392 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22393 * streams/stropts.h (t_scalar_t): Define type.
22395 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22396 (_PATH_PRESERVE): Set to "/var/lib".
22397 (_PATH_RWHODIR): Set to "/var/spool/rwho".
22399 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22402 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22403 if __dir_mkfile succeeded.
22405 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22406 checking for _hurd_dtablesize. Unlock it right after having
22407 finished _hurd_dtable allocation.
22409 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22411 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22412 * sysdeps/mach/hurd/configure: Regenerated.
22413 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22414 special-casing to...
22415 * sysdeps/gnu/configure.in: ... this new file.
22416 * sysdeps/unix/sysv/linux/configure: Regenerated.
22417 * sysdeps/gnu/configure: New generated file.
22419 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22420 for Linux: use nsec instead of usec, as well as:
22421 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22422 members of type struct timespec.
22423 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22425 (struct stat64): Likewise.
22426 (_STATBUF_ST_NSEC): New macro.
22427 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22429 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22430 __strtoul_internal rather than strtoul.
22432 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22434 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22437 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22439 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22440 which preserves existing values.
22441 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22443 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22445 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22446 TIMEOUT values. Return EINVAL for NFDS values either negative or
22447 greater than FD_SETSIZE.
22449 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22451 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22452 allocated, call __vm_protect to finish enabling the existing space, and
22453 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22454 allocate the remainder.
22456 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22458 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22459 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
22461 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22463 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22464 sysdeps/mach/hurd/readlink.c.
22466 * posix/tst-sysconf.c (posix_options): Only use
22467 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22468 _POSIX_SYNCHRONIZED_IO when they are defined
22469 * sysdeps/mach/hurd/bits/posix_opt.h:
22470 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22471 (_XOPEN_REALTIME): Undefine macro.
22472 (_XOPEN_REALTIME_THREADS): Undefine macro.
22473 (_XOPEN_SHM): Undefine macro.
22474 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22476 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22478 (_POSIX_ASYNC_IO): Undefine macro.
22479 (_POSIX_PRIORITIZED_IO): Undefine macro.
22480 (_POSIX_SPIN_LOCKS): Define macro to -1.
22482 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22483 SA_NODEFER, SA_RESETHAND.
22484 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22485 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22488 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22490 * elf/Makefile (pldd-modules): Define unconditionally.
22492 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22494 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22496 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22498 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22499 Return ENOENT when name is empty.
22500 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22502 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22504 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22506 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22508 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22510 Fix mlock in all cases except non-readable pages.
22511 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22512 instead of VM_PROT_ALL as parameter to __vm_wire function.
22514 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22515 (__mkdir): When path is `/', just fail with EEXIST.
22516 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22518 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22520 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22521 <sys/uio.h> (for writev).
22522 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22523 and <sys/param.h> (for MIN).
22525 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22527 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22528 REQUESTED_TIME. Properly set the remaining time and return EINTR
22531 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22533 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22534 Depend on against $(link-rpcuserlibs).
22536 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22538 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22539 (__libc_stack_end): Do not use attribute_relro.
22540 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22541 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
22542 to libthread-provided value.
22543 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22546 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22549 * bits/libc-lock.h (__libc_once_get): New macro.
22550 * sysdeps/mach/bits/libc-lock.h: Likewise.
22551 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22552 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22553 instead of using implementation details.
22555 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22556 * libio/freopen.c: Likewise.
22557 * libio/freopen64.c: Likewise.
22558 * misc/syslog.c: Likewise.
22559 * nscd/connections.c: Likewise.
22560 * nscd/netgroupcache.c: Likewise.
22561 * sysdeps/posix/getcwd.c: Likewise.
22563 2012-05-10 Roland McGrath <roland@hack.frob.com>
22565 * math/w_ilogbf.c: Add #include <limits.h>.
22567 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22569 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
22570 path instead of returning without unlocking.
22572 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22573 immediate-write ioctls.
22574 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22576 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22578 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22579 __builtin_frame_address instead of making assumptions about the
22580 location of the return address relative to DATA. Force early load of
22581 the return address.
22582 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22583 __builtin_frame_address.
22586 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22587 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22588 implement dup3 and do some further code clean-ups.
22589 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22590 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22592 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22594 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22596 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22597 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22598 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22599 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22600 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22603 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22604 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22605 when handler == SIG_ERR, not when handler != SIG_ERR.
22607 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22609 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22610 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22613 accept4 for GNU Hurd.
22614 * include/sys/socket.h (__libc_accept4): New prototype.
22615 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22616 to implement __libc_accept4.
22617 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22619 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22621 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22622 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22623 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22624 signal-defines.sym.
22626 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22628 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
22630 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22632 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22633 assertion on O_CLOEXEC flag.
22634 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22635 * hurd/intern-fd.c: Likewise.
22636 * hurd/port2fd.c: Likewise.
22638 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22641 * bits/in.h (IPV6_PKTINFO): Define new macro.
22642 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22644 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22649 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22650 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22651 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22652 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22653 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22654 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22655 * math/libm-test.inc (logb_test) : Additional logb tests.
22657 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22658 Andreas Jaeger <aj@suse.de>
22660 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22661 * configure: Regenerated.
22662 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22663 * config.make.in (link-obsolete-rpc): New substituted variable.
22664 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22665 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22666 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22667 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22668 so that libc.a contains the symbols.
22669 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22670 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22671 * sunrpc/auth_none.c: Likewise.
22672 * sunrpc/auth_unix.c: Likewise.
22673 * sunrpc/authdes_prot.c: Likewise.
22674 * sunrpc/authuxprot.c: Likewise.
22675 * sunrpc/clnt_gen.c: Likewise.
22676 * sunrpc/clnt_perr.c: Likewise.
22677 * sunrpc/clnt_raw.c: Likewise.
22678 * sunrpc/clnt_simp.c: Likewise.
22679 * sunrpc/clnt_tcp.c: Likewise.
22680 * sunrpc/clnt_udp.c: Likewise.
22681 * sunrpc/clnt_unix.c: Likewise.
22682 * sunrpc/des_crypt.c: Likewise.
22683 * sunrpc/des_soft.c: Likewise.
22684 * sunrpc/get_myaddr.c: Likewise.
22685 * sunrpc/key_call.c: Likewise.
22686 * sunrpc/key_prot.c: Likewise.
22687 * sunrpc/netname.c: Likewise.
22688 * sunrpc/pm_getmaps.c: Likewise.
22689 * sunrpc/pm_getport.c: Likewise.
22690 * sunrpc/pmap_clnt.c: Likewise.
22691 * sunrpc/pmap_prot.c: Likewise.
22692 * sunrpc/pmap_prot2.c: Likewise.
22693 * sunrpc/pmap_rmt.c: Likewise.
22694 * sunrpc/publickey.c: Likewise.
22695 * sunrpc/rpc_cmsg.c: Likewise.
22696 * sunrpc/rpc_common.c: Likewise.
22697 * sunrpc/rpc_dtable.c: Likewise.
22698 * sunrpc/rpc_prot.c: Likewise.
22699 * sunrpc/rpc_thread.c: Likewise.
22700 * sunrpc/rtime.c: Likewise.
22701 * sunrpc/svc.c: Likewise.
22702 * sunrpc/svc_auth.c: Likewise.
22703 * sunrpc/svc_raw.c: Likewise.
22704 * sunrpc/svc_run.c: Likewise.
22705 * sunrpc/svc_tcp.c: Likewise.
22706 * sunrpc/svc_udp.c: Likewise.
22707 * sunrpc/svc_unix.c: Likewise.
22708 * sunrpc/svcauth_des.c: Likewise.
22709 * sunrpc/xcrypt.c: Likewise.
22710 * sunrpc/xdr.c: Likewise.
22711 * sunrpc/xdr_array.c: Likewise.
22712 * sunrpc/xdr_float.c: Likewise.
22713 * sunrpc/xdr_intXX_t.c: Likewise.
22714 * sunrpc/xdr_mem.c: Likewise.
22715 * sunrpc/xdr_rec.c: Likewise.
22716 * sunrpc/xdr_ref.c: Likewise.
22717 * sunrpc/xdr_sizeof.c: Likewise.
22718 * sunrpc/xdr_stdio.c: Likewise.
22720 2012-05-10 Roland McGrath <roland@hack.frob.com>
22722 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22723 change. Update copyright years.
22725 2012-05-10 Joseph Myers <joseph@codesourcery.com>
22727 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22729 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22730 Joseph Myers <joseph@codesourcery.com>
22731 Paul Pluzhnikov <ppluzhnikov@google.com>
22734 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22736 [cross-compiling] (extra-libs): Likewise.
22737 [cross-compiling] (extra-libs-others): Likewise.
22738 [cross-compiling] (librpcsvc-routines): Likewise.
22739 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22740 [cross-compiling] (omit-deps): Likewise.
22741 (sunrpc-CPPFLAGS): New variable.
22742 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22743 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22744 (cross-rpcgen-objs): New variable.
22745 (extra-objs): Append $(cross-rpcgen-objs).
22746 ($(cross-rpcgen-objs)): New rule.
22747 ($(objpfx)cross-rpcgen): Likewise.
22748 (rpcgen-cmd): Define to use $(built-program-file). Expand
22750 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22751 ($(objpfx)x%.stmp): Likewise.
22752 * sunrpc/proto.h [IS_IN_build] (_): Define.
22753 [IS_IN_build] (_libc_intl_domainname): Likewise.
22755 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22757 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22758 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22759 and R_X86_64_TPOFF64.
22761 2012-05-10 Joseph Myers <joseph@codesourcery.com>
22763 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22764 sysdeps/unix/sysv/syscalls.list.
22767 * sysdeps/unix/sysv/syscalls.list: Remove file.
22769 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22772 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22773 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22774 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22775 (__LC_IDENTIFICATION): Make these macros useful in #if
22776 expressions, as required by C99.
22778 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22780 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22781 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22784 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22786 * stdlib/longlong.h: Updated from GCC.
22788 2012-05-09 Andreas Jaeger <aj@suse.de>
22790 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22791 default is first entry.
22792 (run_mode): Set type.
22793 (main): Remove informal message about syslog.
22794 (options): Fix typo.
22797 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
22800 (llrintf): Likewise.
22801 (llrint): Likewise.
22804 (nearbyint): Likewise.
22805 (nearbyintf): Likewise.
22807 2012-05-09 Andreas Jaeger <aj@suse.de>
22808 Pedro Alves <palves@redhat.com>
22810 * nscd/nscd.c (run_mode): Use enum.
22811 (main): Cleanup coding style issue.
22813 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
22814 Andreas Jaeger <aj@suse.de>
22816 * nscd/nscd.c (go_background): Replaced with...
22817 (run_mode): ... this.
22818 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
22819 (options): Add -F --foreground.
22820 (main): Implement it.
22821 (parse_opt): Parse it.
22823 2012-05-09 Andreas Jaeger <aj@suse.de>
22826 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22827 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22828 -Wconversion warning.
22829 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22832 2012-05-09 Joseph Myers <joseph@codesourcery.com>
22834 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22836 (LC_ALL): Use macro-int-constant.
22837 (LC_COLLATE): Likewise.
22838 (LC_CTYPE): Likewise.
22839 (LC_MESSAGES): Likewise.
22840 (LC_MONETARY): Likewise.
22841 (LC_NUMERIC): Likewise.
22842 (LC_TIME): Likewise.
22843 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22844 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22845 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22846 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22848 [C99-based standards] (float_t): Expect type.
22849 [C99-based standards] (double_t): Expect type.
22850 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
22852 [C99-based standards] (HUGE_VALL): Likewise.
22853 [C99-based standards] (INFINITY): Likewise.
22854 [C99-based standards] (NAN): Likewise.
22855 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22856 [C99-based standards] (FP_NAN): Likewise.
22857 [C99-based standards] (FP_NORMAL): Likewise.
22858 [C99-based standards] (FP_SUBNORMAL): Likewise.
22859 [C99-based standards] (FP_ZERO): Likewise.
22860 [C99-based standards] (FP_FAST_FMA): Use
22861 optional-macro-int-constant. Specify type. Require == 1.
22862 [C99-based standards] (FP_FAST_FMAF): Likewise.
22863 [C99-based standards] (FP_FAST_FMAL): Likewise.
22864 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22865 [C99-based standards] (FP_ILOGBNAN): Likewise.
22866 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22868 [C99-based standards] (MATH_ERREXCEPT): Likewise.
22869 [C99-based standards] (math_errhandling): Specify type.
22870 [ISO99 || ISO11] (signgam): Do not allow.
22871 [non-C99-based standards] (copysignf): Do not allow.
22872 [non-C99-based standards] (exp2f): Likewise.
22873 [non-C99-based standards] (log2f): Likewise.
22874 [non-C99-based standards] (modff): Allow.
22875 [non-C99-based standards] (erff): Do not allow.
22876 [non-C99-based standards] (erfcf): Likewise.
22877 [non-C99-based standards] (gammaf): Likewise.
22878 [non-C99-based standards] (hypotf): Likewise.
22879 [non-C99-based standards] (j0f): Likewise.
22880 [non-C99-based standards] (j1f): Likewise.
22881 [non-C99-based standards] (jnf): Likewise.
22882 [non-C99-based standards] (lgammaf): Likewise.
22883 [non-C99-based standards] (tgammaf): Likewise.
22884 [non-C99-based standards] (y0f): Likewise.
22885 [non-C99-based standards] (y1f): Likewise.
22886 [non-C99-based standards] (ynf): Likewise.
22887 [non-C99-based standards] (isnanf): Likewise.
22888 [non-C99-based standards] (acoshf): Likewise.
22889 [non-C99-based standards] (asinhf): Likewise.
22890 [non-C99-based standards] (atanhf): Likewise.
22891 [non-C99-based standards] (cbrtf): Likewise.
22892 [non-C99-based standards] (expm1f): Likewise.
22893 [non-C99-based standards] (ilogbf): Likewise.
22894 [non-C99-based standards] (log1pf): Likewise.
22895 [non-C99-based standards] (logbf): Likewise.
22896 [non-C99-based standards] (nextafterf): Likewise.
22897 [non-C99-based standards] (remainderf): Likewise.
22898 [non-C99-based standards] (rintf): Likewise.
22899 [non-C99-based standards] (scalbf): Likewise.
22900 [non-C99-based standards] (copysignl): Likewise.
22901 [non-C99-based standards] (exp2l): Likewise.
22902 [non-C99-based standards] (log2l): Likewise.
22903 [non-C99-based standards] (modfl): Allow.
22904 [non-C99-based standards] (erfl): Do not allow.
22905 [non-C99-based standards] (erfcl): Likewise.
22906 [non-C99-based standards] (gammal): Likewise.
22907 [non-C99-based standards] (hypotl): Likewise.
22908 [non-C99-based standards] (j0l): Likewise.
22909 [non-C99-based standards] (j1l): Likewise.
22910 [non-C99-based standards] (jnl): Likewise.
22911 [non-C99-based standards] (lgammal): Likewise.
22912 [non-C99-based standards] (tgammal): Likewise.
22913 [non-C99-based standards] (y0l): Likewise.
22914 [non-C99-based standards] (y1l): Likewise.
22915 [non-C99-based standards] (ynl): Likewise.
22916 [non-C99-based standards] (isnanl): Likewise.
22917 [non-C99-based standards] (acoshl): Likewise.
22918 [non-C99-based standards] (asinhl): Likewise.
22919 [non-C99-based standards] (atanhl): Likewise.
22920 [non-C99-based standards] (cbrtl): Likewise.
22921 [non-C99-based standards] (expm1l): Likewise.
22922 [non-C99-based standards] (ilogbl): Likewise.
22923 [non-C99-based standards] (log1pl): Likewise.
22924 [non-C99-based standards] (logbl): Likewise.
22925 [non-C99-based standards] (nextafterl): Likewise.
22926 [non-C99-based standards] (remainderl): Likewise.
22927 [non-C99-based standards] (rintl): Likewise.
22928 [non-C99-based standards] (scalbl): Likewise.
22929 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22930 [non-C99-based standards] (FP_*): Do not allow.
22931 [C99-based standards] (FP_*): Change to
22932 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22933 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22935 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22936 (SIG_ERR): Likewise.
22937 [X/Open-based standards] (SIG_HOLD): Likewise.
22938 (SIG_IGN): Likewise.
22939 (SIGABRT): Use macro-int-constant. Specify type. Require
22941 (SIGFPE): Likewise.
22942 (SIGILL): Likewise.
22943 (SIGINT): Likewise.
22944 (SIGSEGV): Likewise.
22945 (SIGTER): Likewise.
22946 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
22947 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
22948 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
22949 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
22950 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
22951 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
22952 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
22953 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
22954 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
22955 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
22956 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
22957 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
22958 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
22959 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
22960 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
22961 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
22962 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
22963 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
22964 [X/Open-based standards] (SIGTRAP): Likewise.
22965 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
22966 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
22967 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
22968 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
22969 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22972 2012-05-08 Ian Wienand <ianw@vmware.com>
22975 * time/tzset.c (__tzset_parse_tz): Update default rules for
22976 daylight time changes in the Energy Policy Act of 2005.
22978 2012-05-09 Andreas Jaeger <aj@suse.de>
22981 * elf/ldconfig.c (parse_conf): Change string to make clear that
22982 ldconfig only issued a warning if ld.so.conf does not exist.
22984 2012-05-08 David S. Miller <davem@davemloft.net>
22986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22987 movxtod instead of popping the value on the stack.
22989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22991 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22993 * config.h.in: Add HAVE_ARM_PCS_VFP.
22995 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
22998 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22999 checking but the checks are disabled for any reason.
23001 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
23003 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23004 and ELF64_R_TYPE with ELFW(R_TYPE).
23006 2012-05-08 Joseph Myers <joseph@codesourcery.com>
23008 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23009 (ulimit): Likewise.
23011 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23012 (settimeofday): Likewise.
23014 2012-05-08 Mike Frysinger <vapier@gentoo.org>
23016 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
23017 a struct th_u2 inside the union, and move tu_block/tu_code into
23018 a new th_u3 union of tu_block/tu_code inside of that. Move
23019 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
23020 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
23021 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23022 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23023 (th_stuff): Change to th_u1.tu_stuff.
23025 (th_msg): Change to th_u1.th_u2.tu_data.
23027 2012-05-07 David S. Miller <davem@davemloft.net>
23029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23032 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23033 (SETUP_PIC_REG): Use it.
23034 (SETUP_PIC_REG_LEAF): Use it.
23036 2012-05-07 Joseph Myers <joseph@codesourcery.com>
23040 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23042 (EXPL_FINITE): Likewise.
23043 (FLDLOG): Likewise.
23044 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23045 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23047 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23049 (EXPL_FINITE): Likewise.
23050 (FLDLOG): Likewise.
23051 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23052 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23054 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
23055 test of -max_value argument for long double.
23056 * sysdeps/i386/fpu/libm-test-ulps: Update.
23057 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23059 2012-05-06 David S. Miller <davem@davemloft.net>
23061 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23062 quad soft-float symbols whose references which are compiler
23064 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23066 2012-05-06 Joseph Myers <joseph@codesourcery.com>
23070 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23072 (EXPL_FINITE): Likewise.
23073 (FLDLOG): Likewise.
23076 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23077 Adjust comments for base varying.
23078 (__expl_finite): Change alias to EXPL_FINITE.
23079 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23081 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23082 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23083 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23084 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23085 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23087 (EXPL_FINITE): Likewise.
23088 (FLDLOG): Likewise.
23091 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23092 Adjust comments for base varying.
23093 (__expl_finite): Change alias to EXPL_FINITE.
23094 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
23096 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23099 * math/libm-test.inc (check_float_internal): Correct ulp
23100 calculation for subnormal expected results.
23102 2012-05-06 Andreas Jaeger <aj@suse.de>
23104 * Makeconfig (+math-flags): New, set to -frounding-math.
23105 (+cflags): Add +math-flags so that all of glibc gets compiled with
23108 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23110 2012-05-05 Joseph Myers <joseph@codesourcery.com>
23112 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23118 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23119 (__ieee754_expl): Allow for and saturate large arguments.
23120 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23121 (u_threshold): Likewise.
23122 (__exp): Call __ieee754_exp before checking for overflow and
23124 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23125 (u_threshold): Likewise.
23126 (__expf): Call __ieee754_expf before checking for overflow and
23128 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23129 (u_threshold): Likewise.
23130 (__expl): Call __ieee754_expl before checking for overflow and
23132 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23133 (__ieee754_expl): Allow for and saturate large arguments.
23134 * math/libm-test.inc (exp_test): Add another test. Do not allow
23135 missing overflow exception on overflow.
23136 (expm1_test): Do not allow missing overflow exception on overflow.
23138 * sysdeps/i386/fpu/e_expl.c: Move to ...
23139 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
23140 rather than using inline asm.
23141 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23142 * sysdeps/x86_64/fpu/e_expl.S: Copy from
23143 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23145 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23148 (signal): Likewise.
23152 2012-05-04 Joseph Myers <joseph@codesourcery.com>
23154 * sysdeps/unix/syscalls.list (adjtime): Add entry from
23155 sysdeps/unix/common/syscalls.list.
23156 (fchmod): Likewise.
23157 (fchown): Likewise.
23158 (ftruncate): Likewise.
23159 (getrusage): Likewise.
23160 (gettimeofday): Likewise.
23161 (setpgid): Likewise.
23162 (setregid): Likewise.
23163 (setreuid): Likewise.
23164 (sigaction): Likewise.
23165 (truncate): Likewise.
23166 (vhangup): Likewise.
23167 * sysdeps/unix/common/syscalls.list: Remove file.
23168 * sysdeps/unix/bsd/Implies: Don't include unix/common.
23169 * sysdeps/unix/sysv/linux/Implies: Likewise.
23171 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23173 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23175 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23179 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23182 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23185 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23188 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23191 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23194 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23197 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23201 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23205 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23208 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23212 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23216 2012-05-04 Joseph Myers <joseph@codesourcery.com>
23218 * sysdeps/unix/common/bits/dirent.h: Remove file.
23219 * sysdeps/unix/common/bits/fcntl.h: Likewise.
23221 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23222 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23223 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23224 * sysdeps/unix/bsd/isatty.c: Likewise.
23225 * sysdeps/unix/bsd/tcdrain.c: Likewise.
23226 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23227 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23229 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23232 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23233 long double comparison inaccuracies.
23234 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23235 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23237 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
23239 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23240 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23242 2012-05-04 Joseph Myers <joseph@codesourcery.com>
23245 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23246 nonzero digits before rounding a hex value.
23247 * stdlib/tst-strtod.c (tests): Add another test.
23249 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23251 * sysdeps/s390/fpu/libm-test-ulps: Update.
23253 2012-05-03 Andreas Jaeger <aj@suse.de>
23255 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23256 does not get optimized out.
23257 (malloc_opt_barrier): New.
23259 2012-05-03 Andreas Jaeger <aj@suse.de>
23260 Roland McGrath <roland@hack.frob.com>
23262 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
23263 intermediate file deletion.
23264 (generated): Add .symlist files.
23266 2012-05-03 Joseph Myers <joseph@codesourcery.com>
23269 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23270 Redirect under this condition.
23271 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23272 [__USE_GNU] (__dprintf_chk): Not under this condition.
23273 [__USE_GNU] (__vdprintf_chk): Likewise.
23274 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23275 under this condition.
23276 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23277 [__USE_XOPEN2K8] (dprintf): Define under this condition.
23278 [__USE_XOPEN2K8] (vdprintf): Likewise.
23279 [__USE_GNU] (__dprintf_chk): Not under this condition.
23280 [__USE_GNU] (__vdprintf_chk): Likewise.
23281 [__USE_GNU] (dprintf): Likewise.
23282 [__USE_GNU] (vdprintf): Likewise.
23284 2012-05-03 Roland McGrath <roland@hack.frob.com>
23286 * elf/Makefile (common-generated): Set this instead of generated for
23287 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
23288 $(all-built-dso)-derived lists.
23290 2012-05-03 Andreas Jaeger <aj@suse.de>
23292 * sysdeps/i386/fpu/libm-test-ulps: Update.
23295 * FAQ.in: Likewise.
23296 * scripts/gen-FAQ.pl: Likewise.
23297 * manual/install.texi (Installation): Point to online location of
23299 * Makefile (files-for-dist): Remove FAQ.
23302 2012-05-02 Allan McRae <allan@archlinux.org>
23304 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23305 (LDFLAGS-reldepmod5.so): Likewise.
23306 (LDFLAGS-reldep6mod1.so): Likewise.
23307 (LDFLAGS-reldep6mod4.so): Likewise.
23308 (LDFLAGS-reldep8mod3.so): Likewise.
23309 (LDFLAGS-unload4mod1.so): Likewise.
23310 (LDFLAGS-unload4mod2.so): Likewise.
23311 (LDFLAGS-tst-initorder): Likewise.
23312 (LDFLAGS-tst-initordera2.so): Likewise.
23313 (LDFLAGS-tst-initordera3.so): Likewise.
23314 (LDFLAGS-tst-initordera4.so): Likewise.
23315 (LDFLAGS-tst-initorderb2.so): Likewise.
23316 (LDFLAGS-noload): Likewise.
23317 (LDFLAGS-next): Likewise.
23318 (LDFLAGS-order2mod1.so): Likewise.
23319 (LDFLAGS-order2mod2.so): Likewise.
23320 (LDFLAGS-tst-initorder2): Likewise.
23321 (LDFLAGS-tst-initorder2a.so): Likewise.
23322 (LDFLAGS-tst-initorder2b.so): Likewise.
23323 (LDFLAGS-tst-initorder2c.so): Likewise.
23324 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
23326 2012-05-02 David S. Miller <davem@davemloft.net>
23328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23330 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
23333 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23335 2012-05-02 Andreas Jaeger <aj@suse.de>
23337 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23338 since we manipulate rounding mode.
23339 (CPPFLAGS-test-idouble.c): Likewise.
23340 (CPPFLAGS-test-ifloat.c): Likewise.
23341 (CFLAGS-test-ldouble.c): Likewise.
23342 (CFLAGS-test-double.c): Likewise.
23343 (CFLAGS-test-float.c): Likewise.
23344 (CFLAGS-test-misc.c): Likewise.
23345 (CFLAGS-test-test-fenv.c): Likewise.
23347 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23351 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23352 comparisons to determine direction to adjust input.
23354 2012-05-01 Roland McGrath <roland@hack.frob.com>
23356 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23357 output to the target.
23359 * scripts/localplt.awk: New file.
23360 * elf/Makefile ($(objpfx)check-localplt): Target removed.
23361 (check-localplt-CFLAGS): Variable removed.
23362 ($(all-built-dso:=.jmprel)): New static pattern rule.
23363 (generated): Add those targets.
23364 (localplt-built-dso): New variable.
23365 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23367 * elf/check-localplt.c: File removed.
23369 * scripts/check-execstack.awk: New file.
23370 * elf/Makefile ($(objpfx)check-execstack): Target removed.
23371 (check-execstack-CFLAGS): Variable removed.
23372 ($(objpfx)check-execstack.h): Target removed.
23373 ($(objpfx)execstack-default): New target.
23374 (generated): Add that instead of check-execstack.h.
23375 ($(all-built-dso:=.phdr)): New static pattern rule.
23376 (generated): Add those targets.
23377 * elf/check-execstack.c: File removed.
23379 * scripts/check-textrel.awk: New file.
23380 * elf/Makefile ($(objpfx)check-textrel): Target removed.
23381 (check-textrel-CFLAGS): Variable removed.
23382 (all-built-dso): Use := to define.o
23383 ($(all-built-dso:=.dyn)): New static pattern rule.
23384 (generated): Add those targets.
23385 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23386 * config.make.in (READELF): New substituted variable.
23387 * elf/check-textrel.c: File removed.
23389 2012-05-01 Joseph Myers <joseph@codesourcery.com>
23391 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23393 * conform/data/ctype.h-data [C99-based standards] (isblank):
23395 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23396 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23397 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23398 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23399 Specify type. Require positive value.
23400 (EILSEQ): Likewise.
23401 (ERANGE): Likewise.
23402 [ISO || POSIX] (EILSEQ): Do not expect.
23403 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23404 Specify type. Require positive value.
23405 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23406 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23407 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23408 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23409 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23410 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23411 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23412 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23413 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23414 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23415 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23416 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23417 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23418 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23419 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23420 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23421 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23422 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23423 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23424 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23425 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23426 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23427 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23428 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23429 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23430 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23431 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23432 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23433 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23434 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23435 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23436 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23437 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23438 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23439 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23440 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23441 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23442 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23443 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23444 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23445 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23446 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23447 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23448 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23449 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23450 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23451 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23452 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23453 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23454 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23455 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23456 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23457 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23458 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23459 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23460 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23461 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23462 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23463 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23464 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23465 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23466 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23467 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23468 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23469 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23470 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23471 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23472 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23473 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23474 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23475 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23476 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23477 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23478 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23479 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23480 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23481 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23483 (FLT_ROUNDS): Expect as macro, not constant.
23484 (FLT_MANT_DIG): Use macro-int-constant.
23485 (DBL_MANT_DIG): Likewise.
23486 (LDBL_MANT_DIG): Likewise.
23487 (FLT_DIG): Likewise.
23488 (DBL_DIG): Likewise.
23489 (LDBL_DIG): Likewise.
23490 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23491 (DBL_MIN_EXP): Likewise.
23492 (LDBL_MIN_EXP): Likewise.
23493 (FLT_MAX_EXP): Use macro-int-constant.
23494 (DBL_MAX_EXP): Likewise.
23495 (LDBL_MAX_EXP): Likewise.
23496 (FLT_MAX_10_EXP): Likewise.
23497 (DBL_MAX_10_EXP): Likewise.
23498 (LDBL_MAX_10_EXP): Likewise.
23499 (FLT_MAX): Use macro-constant.
23500 (DBL_MAX): Likewise.
23501 (LDBL_MAX): Likewise.
23502 (FLT_EPSILON): Use macro-constant. Give upper bound.
23503 (DBL_EPSILON): Likewise.
23504 (LDBL_EPSILON): Likewise.
23505 (FLT_MIN): Likewise.
23506 (DBL_MIN): Likewise.
23507 (LDBL_MIN): Likewise.
23508 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23509 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23510 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23511 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23512 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23513 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23514 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23515 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23516 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23517 [ISO11] (FLT_TRUE_MIN): Likewise.
23518 [ISO11] (LDBL_TRUE_MIN): Likewise.
23519 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23520 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23521 (SCHAR_MIN): Use macro-int-constant. Specify type.
23522 (SCHAR_MAX): Likewise.
23523 (UCHAR_MAX): Likewise.
23524 (CHAR_MIN): Likewise.
23525 (CHAR_MAX): Likewise.
23526 (MB_LEN_MAX): Use macro-int-constant.
23527 (SHRT_MIN): Use macro-int-constant. Specify type.
23528 (SHRT_MAX): Likewise.
23529 (USHRT_MAX): Likewise.
23530 (INT_MAX): Likewise.
23531 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23533 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23535 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23537 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23538 bound negative. Suffix upper bound with "L".
23539 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23541 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23543 [C99-based standards] (LLONG_MAX): Likewise.
23544 [C99-based standards] (ULLONG_MAX): Likewise.
23545 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23547 [ISO11] (max_align_t): Require type.
23548 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23550 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23551 from $CFLAGS, without defining away __attribute__ calls.
23552 (checknamespace): Use $CFLAGS_namespace.
23554 * conform/conformtest.pl (@keywords): Only include C99 keywords
23555 for standards based on C99 or C11.
23557 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23559 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23562 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23563 usability of symbols in #if.
23565 * conform/conformtest.pl: If macro or constant types start
23566 "promoted:", expect the symbol to be of the following type
23567 promoted by the integer promotions.
23569 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23570 in one place. Also handle "macro-constant".
23572 * conform/conformtest.pl: Only accept expected macro values with
23573 "==". Parse all "macro" lines in one place.
23574 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23576 * conform/conformtest.pl: Handle braced types on "constant" lines
23577 instead of handling "typed-constant".
23578 * conform/data/signal.h-data: Use "constant" instead of
23581 * conform/conformtest.pl: Handle "optional-" at start of lines in
23582 one place rather than duplicating several cases. Handle each
23583 format of "macro" line with initial "optional-".
23585 * conform/conformtest.pl: Only accept expected constant or
23586 optional-constant values with "==". Parse all "constant" lines in
23587 one place. Parse all "optional-constant" lines in one place.
23588 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23589 * conform/data/fmtmsg.h-data: Likewise.
23590 * conform/data/netinet/in.h-data: Likewise.
23591 * conform/data/tar.h-data: Likewise.
23592 * conform/data/limits.h-data: Use "==" form on "constant" and
23593 "optional-constant" lines.
23595 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23596 Use -std=c99 for XOPEN2K.
23597 (@knownproblems): Remove.
23598 (newtoken): Don't check %isknown.
23600 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23601 Do not expect macro.
23602 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23603 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23604 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23605 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23606 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23607 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23608 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23609 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23610 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23611 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23612 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23613 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23614 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23615 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23616 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23617 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23618 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23619 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23620 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23621 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23622 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23623 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23624 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23625 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23626 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23627 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23628 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23629 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23630 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23631 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23632 [XPG3] (acosh): Likewise.
23633 [XPG3] (asinh): Likewise.
23634 [XPG3] (atanh): Likewise.
23635 [XPG3] (cbrt): Likewise.
23636 [XPG3] (expm1): Likewise.
23637 [XPG3] (ilogb): Likewise.
23638 [XPG3] (log1p): Likewise.
23639 [XPG3] (logb): Likewise.
23640 [XPG3] (nextafter): Likewise.
23641 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23642 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23643 [XPG3] (remainder): Likewise.
23644 [XPG3] (rint): Likewise.
23645 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23646 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23647 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23648 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23649 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23650 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23651 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23652 [UNIX98 || XOPEN2K] (scalb): Expect.
23653 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23654 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23655 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23656 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23657 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23658 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23659 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23660 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23661 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23662 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23663 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23664 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23665 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23666 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23667 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23668 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23669 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23670 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23671 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23672 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23673 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23674 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23675 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23676 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23677 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23678 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23679 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23680 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23681 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23682 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23683 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23684 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23685 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23686 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23687 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23688 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23689 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23690 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23691 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23692 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23693 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23694 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23695 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23696 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23697 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23698 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23699 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23700 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23701 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23702 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23703 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23704 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23705 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23706 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23707 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23708 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23709 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23710 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23711 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23712 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23713 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23714 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23715 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23716 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23717 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23718 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23719 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23720 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23721 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23722 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23723 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23724 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23725 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23726 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23727 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23728 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23729 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23730 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23731 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23732 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23733 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23734 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23735 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23736 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23737 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23738 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23739 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23740 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23741 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23742 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23743 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23744 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23745 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23746 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23747 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23748 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23749 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23750 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23751 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23752 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23753 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23754 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23755 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23756 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23757 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23758 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23759 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23760 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23761 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23762 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23763 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23764 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23765 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23766 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23767 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23768 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23769 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23770 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23771 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23772 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23773 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23774 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23775 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23776 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23777 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23778 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23779 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23780 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23781 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23782 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23783 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23784 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23785 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23786 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23787 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23788 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23789 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23791 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23792 _XOPEN_SOURCE_EXTENDED for XPG4.
23794 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23796 * Makeconfig (localtime): Remove variable.
23797 (inst_localtime-file): Likewise.
23799 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23820 2012-05-01 Joseph Myers <joseph@codesourcery.com>
23824 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23825 comparisons to determine direction to adjust input.
23826 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23827 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23828 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23830 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23832 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23834 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23835 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23837 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23839 * math/libm-test.inc (nexttoward_test): Add more tests.
23841 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23844 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23845 in version GLIBC_2.1, not GLIBC_2.0.
23846 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23849 2012-04-30 Joseph Myers <joseph@codesourcery.com>
23852 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23854 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23855 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23856 * math/libm-test.inc (acos_test): Add more tests.
23857 (asin_test): Likewise.
23858 * sysdeps/i386/fpu/libm-test-ulps: Update.
23859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23862 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23864 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23865 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23866 * math/libm-test.inc (acos_test_tonearest): New function.
23867 (acos_test_towardzero): Likewise.
23868 (acos_test_downward): Likewise.
23869 (acos_test_upward): Likewise.
23870 (asin_test_tonearest): Likewise.
23871 (asin_test_towardzero): Likewise.
23872 (asin_test_downward): Likewise.
23873 (asin_test_upward): Likewise.
23874 (main): Call the new functions.
23875 * sysdeps/i386/fpu/libm-test-ulps: Update.
23876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23880 * math/e_exp10.c: Include <float.h>.
23881 (__ieee754_exp10): Handle underflow here rather than multiplying
23882 large negative argument by M_LN10.
23883 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23885 * math/e_exp10l.c: Include <float.h>.
23886 (__ieee754_exp10l): Handle underflow here rather than multiplying
23887 large negative argument by M_LN10l.
23888 * math/libm-test.inc (exp10_test): Add another test. Do not allow
23889 spurious overflow exception on underflow.
23891 2012-04-29 Marek Polacek <polacek@redhat.com>
23893 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23894 (__fortify_function): New macro.
23895 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23896 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23897 __extern_always_inline.
23898 * libio/bits/stdio2.h: Likewise.
23899 * libio/bits/stdio.h: Likewise.
23900 * string/string.h: Likewise.
23901 * string/bits/string3.h: Likewise.
23902 * include/stdio.h: Likewise.
23903 * stdlib/bits/stdlib.h: Likewise.
23904 * stdlib/stdlib.h: Likewise.
23905 * rt/bits/mqueue2.h: Likewise.
23906 * rt/mqueue.h: Likewise.
23907 * posix/bits/unistd.h: Likewise.
23908 * posix/unistd.h: Likewise.
23909 * io/bits/poll2.h: Likewise.
23910 * io/bits/fcntl2.h: Likewise.
23911 * io/fcntl.h: Likewise.
23912 * io/sys/poll.h: Likewise.
23913 * misc/bits/syslog.h: Likewise.
23914 * misc/bits/syslog-ldbl.h: Likewise.
23915 * misc/sys/syslog.h: Likewise.
23916 * socket/bits/socket2.h: Likewise.
23917 * socket/sys/socket.h: Likewise.
23918 * debug/tst-chk1.c: Likewise.
23919 * wcsmbs/bits/wchar2.h: Likewise.
23920 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23921 * wcsmbs/wchar.h: Likewise.
23923 2012-04-29 Andreas Jaeger <aj@suse.de>
23925 * Makerules (tests): Remove enable-check-abi protection.
23926 (check-abi-warn): Remove.
23927 (check-abi-%): Remove check-abi-warn usage.
23929 * configure.in: Remove check-abi configure option.
23930 * configure: Regenerated.
23931 * config.make.in (enable-check-abi): Remove.
23933 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23936 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23937 double functions to double *_finite functions.
23940 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23941 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23943 * stdio-common/Makefile (tests): Add tst-sprintf3.
23944 * stdio-common/tst-sprintf3.c: New file.
23946 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23947 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23949 2012-04-28 Joseph Myers <joseph@codesourcery.com>
23951 * conform/conformtest.pl: Remove duplicate typed-constant
23954 2012-04-28 David S. Miller <davem@davemloft.net>
23956 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23957 (check-abi-%): Remove AWK script prerequisite and explicit
23959 (check-abi): Rewrite to just diff the symlist with the abilist.
23960 (config-tls, config-abi-config): Delete, no longer used.
23961 (update-abi-%): Remove AWK script and explicit abilist directory.
23962 (update-abi): Rewrite to simply compare and conditionally copy the
23963 symlist and the sysdep abilist file. Remove update-abi-config
23965 * abilist/ld.abilist: Remove.
23966 * abilist/libBrokenLocale.abilist: Remove.
23967 * abilist/libanl.abilist: Remove.
23968 * abilist/libcrypt.abilist: Remove.
23969 * abilist/libdl.abilist: Remove.
23970 * abilist/librt.abilist: Remove.
23971 * abilist/libthread_db.abilist: Remove.
23972 * abilist/libutil.abilist: Remove.
23973 * scripts/extract-abilist.awk: Remove.
23974 * scripts/merge-abilist.awk: Remove.
23975 * sysdeps/generic/libcidn.abilist: New file.
23976 * sysdeps/generic/libnss_compat.abilist: New file.
23977 * sysdeps/generic/libnss_db.abilist: New file.
23978 * sysdeps/generic/libnss_dns.abilist: New file.
23979 * sysdeps/generic/libnss_files.abilist: New file.
23980 * sysdeps/generic/libnss_hesiod.abilist: New file.
23981 * sysdeps/generic/libnss_nis.abilist: New file.
23982 * sysdeps/generic/libnss_nisplus.abilist: New file.
23983 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
23984 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
23985 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
23987 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
23988 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
23989 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
23990 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
23991 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
23992 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
23993 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
23994 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
23995 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
23997 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
23998 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
23999 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24000 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24002 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24003 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24004 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24005 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24006 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24007 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24009 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24010 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24011 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24013 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24030 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24032 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24034 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24038 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24067 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24092 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24116 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24117 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24118 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24120 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24121 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24122 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24123 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24124 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24125 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24126 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24127 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24128 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24129 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24181 2012-04-28 Joseph Myers <joseph@codesourcery.com>
24183 * conform/conformtest.pl: Fix typo in handling typed-constant from
24186 2012-04-27 Joseph Myers <joseph@codesourcery.com>
24188 * README: Cut down references to pre-2.6 Linux kernels and
24189 Linuxthreads. Update lists of configurations in libc and ports
24190 and sort alphabetically. Say "or newer" with Linux kernel version
24193 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24195 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24198 * math/libm-test.inc (logb_test_downward): New test to expose
24199 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24202 2012-04-27 Joseph Myers <joseph@codesourcery.com>
24205 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24207 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24208 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24210 2012-04-26 Joseph Myers <joseph@codesourcery.com>
24212 * sysdeps/unix/i386/brk.S: Remove file.
24213 * sysdeps/unix/i386/dl-brk.S: Likewise.
24214 * sysdeps/unix/i386/pipe.S: Likewise.
24215 * sysdeps/unix/i386/sigreturn.S: Likewise.
24216 * sysdeps/unix/i386/syscall.S: Likewise.
24217 * sysdeps/unix/i386/vfork.S: Likewise.
24218 * sysdeps/unix/i386/wait.S: Likewise.
24220 * sysdeps/unix/common/tcsendbrk.c: Move to ...
24221 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24223 * configure.in (arm*-none*): Do not allow without
24224 --enable-hacker-mode.
24225 (netbsd*): Remove case setting base_os.
24226 (386bsd*): Likewise.
24227 (freebsd*): Likewise.
24230 (sunos*): Likewise.
24231 (ultrix*): Likewise.
24232 (newsos*): Likewise.
24233 (dynix*): Likewise.
24239 (minix*): Likewise.
24240 (irix4*): Likewise.
24241 (irix6*): Likewise.
24242 (solaris[2-9]*): Likewise.
24244 * configure: Regenerated.
24246 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24249 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24250 overflow or cancellation in calculating denominator.
24251 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24252 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24253 down expression to avoid unexpected rounding in newer GCCs.
24254 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24256 2012-04-26 David S. Miller <davem@davemloft.net>
24258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24259 long-double compat symbols.
24260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24268 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24269 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24270 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24271 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24272 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24274 2012-04-25 David S. Miller <davem@davemloft.net>
24276 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24277 HWCAP_* values only after the memory barriers have been defined.
24278 (atomic_full_barrier): Define.
24279 (atomic_read_barrier): Define.
24280 (atomic_write_barrier): Define.
24282 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24284 * shlib-versions: Add libgcc_s version information.
24285 * sysdeps/generic/libgcc_s.h: Remove.
24286 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24288 * sysdeps/gnu/unwind-resume.c: Likewise.
24289 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24291 2012-04-25 David S. Miller <davem@davemloft.net>
24293 * sysdeps/unix/sparc/brk.S: Delete.
24294 * sysdeps/unix/sparc/dl-brk.S: Delete.
24295 * sysdeps/unix/sparc/pipe.S: Delete.
24296 * sysdeps/unix/sparc/sysdep.S: Delete.
24297 * sysdeps/unix/sparc/sysdep.h: Delete.
24298 * sysdeps/unix/sparc/vfork.S: Delete.
24299 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24300 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24301 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24302 ret_ERRVAL, r0, r1, MOVE): Define.
24303 (JUMPTARGET): Remove.
24304 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24305 sysdeps/unix/sparc/sysdep.h
24306 (ENTRY, END): Remove.
24307 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24309 2012-04-25 Joseph Myers <joseph@codesourcery.com>
24311 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24312 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24315 * timezone/README: Update upstream location and email address for
24317 * timezone/zdump.c: Update from tzcode 2012b.
24318 * timezone/zic.c: Likewise.
24320 * configure.in (libc_cv_as_needed): Remove test.
24321 * configure: Regenerated.
24322 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
24323 conditional definition.
24324 [$(have-as-needed) != yes] (no-as-needed): Likewise.
24325 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
24326 * config.make.in (have-as-needed): Remove variable.
24328 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24329 Paul Pluzhnikov <ppluzhnikov@google.com>
24331 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24334 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
24336 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24337 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24338 * sysdeps/sh/strlen.S: Likewise.
24340 2012-04-24 Joseph Myers <joseph@codesourcery.com>
24342 * sysdeps/unix/fork.S: Remove file.
24343 * sysdeps/unix/i386/fork.S: Likewise.
24344 * sysdeps/unix/sparc/fork.S: Likewise.
24346 * sysdeps/unix/system.c: Remove file.
24347 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24349 * sysdeps/unix/getegid.S: Remove file.
24350 * sysdeps/unix/geteuid.S: Likewise.
24352 2012-04-24 Roland McGrath <roland@hack.frob.com>
24354 * scripts/check-localplt.awk: New file.
24355 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24357 * scripts/data/localplt-generic.data: Add a comment.
24359 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24360 NODE when __dir_mkfile failed.
24361 * sysdeps/mach/hurd/symlinkat.c: Likewise.
24362 Reported by Ludovic Courtès <ludo@gnu.org>.
24364 2012-04-24 Andreas Jaeger <aj@suse.de>
24366 * Makerules (common-clean): Also remove gen-as-const-headers
24369 2012-04-24 Joseph Myers <joseph@codesourcery.com>
24371 * Makerules (native-compile): Do not change working directory for
24372 build. Use $(OUTPUT_OPTION) in command.
24373 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24375 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24378 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24379 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24380 * math/libm-test.inc (floor_test): Add more tests.
24381 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24383 2012-04-24 Joseph Myers <joseph@codesourcery.com>
24385 * sysdeps/unix/getdents.c: Remove file.
24386 * sysdeps/unix/sysv/getdents.c: Likewise.
24387 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24389 * sysdeps/unix/syscalls.list (madvise): Add syscall from
24390 sysdeps/unix/mman/syscalls.list.
24392 (mprotect): Likewise.
24394 (munmap): Likewise.
24395 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24396 * sysdeps/unix/mman/syscalls.list: Remove.
24397 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24399 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24400 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24401 * configure: Regenerated.
24402 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24403 $(libgcc_s_suffix).
24404 * config.make.in (libgcc_s_suffix): Remove variable.
24406 2012-04-23 Joseph Myers <joseph@codesourcery.com>
24408 * sysdeps/unix/sysv/gethostname.c: Move to ...
24409 * sysdeps/posix/gethostname.c: ... here.
24411 * sysdeps/unix/execve.S: Remove file.
24413 * sysdeps/unix/_exit.S: Remove file.
24415 2012-04-23 Andreas Jaeger <aj@suse.de>
24418 * manual/Makefile: Remove make dist support, there's no
24419 need for a stand-alone documentation tar ball.
24420 (TEXI2DVI): Define always, it's not in Makeconfig.
24423 (edition): Removed.
24424 (glibc-doc-$(edition).tar): Removed
24428 (ETAGS): Remove, it's in Makeconfig.
24429 (move-if-change): Remove, it's in Makeconfig.
24431 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
24434 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24435 (strtod, strtof, strtold, strtol, strtoul, strtoq)
24436 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24437 (strtod_l, strtof_l, strtold_l): Remove __wur.
24438 It is not necessarily an error to ignore strtol's return value.
24439 One can reliably look at the stored endptr to decide whether
24440 the number had valid syntax.
24442 2012-04-21 Andreas Jaeger <aj@suse.de>
24445 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24447 2012-04-21 Joseph Myers <joseph@codesourcery.com>
24449 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24450 * sysdeps/unix/sysv/Versions: Remove file.
24452 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
24455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24457 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
24460 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24461 version from __vm86.
24463 2012-04-20 Joseph Myers <joseph@codesourcery.com>
24465 * sysdeps/unix/common/lxstat.c: Remove file.
24466 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24468 * sysdeps/unix/sysv/Makefile: Remove file.
24470 * sysdeps/unix/sysv/direct.h: Remove file.
24472 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24473 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24474 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24475 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24476 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24477 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24478 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24480 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24482 * sysdeps/unix/xmknod.c: Remove file.
24483 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24485 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24487 * sysdeps/unix/sysv/i386/time.S: Remove file.
24489 * sysdeps/unix/fxstat.c: Remove file.
24490 * sysdeps/unix/xstat.c: Likewise.
24491 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24493 * sysdeps/unix/sysv/sigaction.c: Remove file.
24495 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24496 (sysdep_headers): Remove variable.
24497 [termio.h not in sysdep_headers] (generated): Likewise.
24498 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24499 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24500 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24501 * sysdeps/unix/sysv/tcflow.c: Likewise.
24502 * sysdeps/unix/sysv/tcflush.c: Likewise.
24503 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24504 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24505 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24506 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24507 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24509 * sysdeps/unix/siglist.c: Remove file.
24511 * sysdeps/unix/getppid.S: Remove file.
24513 * sysdeps/unix/mkdir.c: Remove file.
24514 * sysdeps/unix/rmdir.c: Likewise.
24516 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24518 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24520 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24521 errlist-compat value.
24523 2012-04-18 David S. Miller <davem@davemloft.net>
24525 * sysdeps/generic/memcopy.h (reg_char): Delete.
24526 * debug/strcat_chk.c: Use char, not reg_char.
24527 * debug/strcpy_chk.c: Likewise.
24528 * debug/strncat_chk.c: Likewise.
24529 * debug/strncpy_chk.c: Likewise.
24530 * string/memchr.c: Likewise.
24531 * string/memrchr.c: Likewise.
24532 * string/rawmemchr.c: Likewise.
24533 * string/strcat.c: Likewise.
24534 * string/strchr.c: Likewise.
24535 * string/strchrnul.c: Likewise.
24536 * string/strcmp.c: Likewise.
24537 * string/strcpy.c: Likewise.
24538 * string/strncat.c: Likewise.
24539 * string/strncmp.c: Likewise.
24540 * string/strncpy.c: Likewise.
24542 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24544 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24545 __builtin_memcopy is called when src and dest ranges are known to not
24548 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24550 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24551 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24552 fwd_align_merge macro call.
24553 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24554 bwd_align_merge macro call.
24555 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24557 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24559 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24560 bwd_align_merge macros.
24561 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24562 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24563 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24565 2012-04-18 David S. Miller <davem@davemloft.net>
24567 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24569 2012-04-18 Andreas Jaeger <aj@suse.de>
24572 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24573 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24574 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24576 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24577 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24578 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24580 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24581 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24582 Adjust for changed ldbl-128 files.
24584 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24585 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24586 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24588 2012-04-17 David S. Miller <davem@davemloft.net>
24590 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24592 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24594 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24595 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24596 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24597 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24598 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24599 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24601 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24604 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24605 * math/libm-test.inc: Add ilogb errno and exception tests.
24606 * math/w_ilogb.c: New file: ilogb wrapper.
24607 * math/w_ilogbf.c: New file: ilogbf wrapper.
24608 * math/w_ilogbl.c: New file: ilogbl wrapper.
24609 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24610 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24611 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24612 exception being thrown with 0.0 as argument.
24613 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24614 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24615 exception being thrown with 0.0 as argument.
24616 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24617 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24618 exception being thrown with 0.0 as argument.
24619 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24620 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24621 exception being thrown with 0.0 as argument.
24622 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24623 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
24624 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
24625 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24626 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24627 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24628 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24629 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24630 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24632 2012-04-17 Petr Baudis <pasky@ucw.cz>
24634 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24637 2012-04-16 Marek Polacek <polacek@redhat.com>
24639 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24641 2012-04-16 Marek Polacek <polacek@redhat.com>
24643 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24644 operands of fdivp instruction.
24646 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24648 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24649 * elf/tst-auditmod3b.c: Likewise.
24650 * elf/tst-auditmod4b.c: Likewise.
24651 * elf/tst-auditmod5b.c: Likewise.
24652 * elf/tst-auditmod6b.c: Likewise.
24653 * elf/tst-auditmod6c.c: Likewise.
24654 * elf/tst-auditmod7b.c: Likewise.
24655 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24656 * sysdeps/x86_64/preconfigure.in: Likewise.
24657 * sysdeps/x86_64/preconfigure: Regenerated.
24659 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24661 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24664 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
24666 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24667 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24669 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24672 * locale/iso-639.def: Fix gl language name. Spotted by
24675 2012-04-12 Roland McGrath <roland@hack.frob.com>
24678 * libio/libio.h (__io_write_fn): Update comment.
24680 2012-04-12 Petr Baudis <pasky@ucw.cz>
24683 * stdio.texi (Hook Functions): The user provided writer function
24684 is not allowed to return -1.
24686 2012-04-11 David S. Miller <davem@davemloft.net>
24688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24690 2012-04-11 Mike Frysinger <vapier@gentoo.org>
24692 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24693 Add a leading slash to rtkaio.
24695 2012-04-11 Jim Meyering <meyering@redhat.com>
24698 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24699 It is not necessarily an error to ignore fwrite's return
24700 value. One can reliably use ferror to test for errors after
24703 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24705 * bits/types.h (__snseconds_t): New type.
24706 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24708 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24709 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24710 (__SNSECONDS_T_TYPE): Likewise.
24711 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24712 (__SNSECONDS_T_TYPE): Likewise.
24713 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24714 (__SNSECONDS_T_TYPE): Likewise.
24716 2012-04-10 Andreas Jaeger <aj@suse.de>
24719 * manual/time.texi (Processor Time): Return type of times is
24720 elapsed real time since an arbitrary point in the past.
24721 (CPU Time): Move CLK_TCK from here...
24722 (Processor Time): ...to here. Correct description.
24723 * manual/conf.texi (Constants for Sysconf): Correct description of
24726 2012-04-10 David S. Miller <davem@davemloft.net>
24729 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24730 where the is a gap between DT_REL(A) and DT_JMPREL.
24732 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24734 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24735 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24736 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24738 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24740 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24741 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24742 (dl_main): Handle --inhibit-cache.
24743 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24745 * elf/dl-load.c (_dl_map_object): Use it.
24746 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24748 2012-04-09 Joseph Myers <joseph@codesourcery.com>
24751 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24752 (__ieee754_powl): Saturate large exponents rather than testing for
24753 overflow of y*log2(x).
24754 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24755 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24759 * math/s_ctan.c: Include <float.h>.
24760 (__ctan): Avoid internal overflow or cancellation in calculating
24762 * math/s_ctanf.c: Likewise.
24763 * math/s_ctanl.c: Likewise.
24764 * math/s_ctanh.c: Likewise.
24765 * math/s_ctanhf.c: Likewise.
24766 * math/s_ctanhl.c: Likewise.
24767 * math/libm-test.inc (ctan_test): Add more tests.
24768 (ctanh_test): Likewise.
24769 * sysdeps/i386/fpu/libm-test-ulps: Update.
24770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24772 2012-04-09 Andreas Jaeger <aj@suse.de>
24775 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24776 is an optional BSD extension.
24779 * manual/stdio.texi (Opening Streams): Document additional fopen
24782 2012-04-09 Roland McGrath <roland@hack.frob.com>
24784 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24785 %eax without telling the compiler.
24787 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24790 * manual/install.texi: Use sourceware.org.
24792 2012-04-09 Joseph Myers <joseph@codesourcery.com>
24795 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24796 (__ieee754_pow): Generate overflow and underflow using huge*huge
24797 and tiny*tiny rather than just returning constant infinity or zero
24798 for large exponents.
24799 * math/libm-test.inc (pow_test): Require overflow exceptions for
24800 applicable cases of large exponents.
24803 * sysdeps/i386/fpu/e_pow.S (p10): New object.
24804 (__ieee754_pow): Use iterative multiplication algorithm only for
24805 integer exponents with absolute value below 1024. Check for odd
24806 integer exponents when using algorithm for real exponents.
24807 * math/libm-test.inc (pow_test): Add more tests.
24808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24810 2012-04-08 Joseph Myers <joseph@codesourcery.com>
24813 * math/libm-test.inc (exp_test): Do not allow overflow exception
24816 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24819 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24820 instead of __kernel_standard_f.
24822 2012-04-08 Mike Frysinger <vapier@gentoo.org>
24824 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24825 * sysdeps/x86_64/memset_chk.S: Likewise.
24827 2012-04-08 Andreas Jaeger <aj@suse.de>
24830 * manual/startup.texi (Environment Access): Describe return value
24831 for putenv and setenv.
24834 * manual/filesys.texi (Directory Entries): Add description for
24838 * manual/filesys.texi (Directory Entries): Clarify that it's file
24839 system not operating system in the description of DT_UNKNOWN.
24842 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24844 2012-04-08 Stephen Compall <s11@member.fsf.org>
24847 * manual/llio.texi (Opening and Closing Files): Add cross
24848 reference to explain mode argument.
24850 2012-04-07 Mike Frysinger <vapier@gentoo.org>
24852 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24853 * sysdeps/x86_64/memset_chk.S: Likewise.
24855 2012-04-07 David S. Miller <davem@davemloft.net>
24857 * elf/elf.h (R_SPARC_WDISP10): Define.
24858 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24860 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24861 R_SPARC_SIZE64 and R_SPARC_H34.
24863 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24865 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24866 conditions and remove no longer applicable assertion.
24868 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24870 * bits/byteswap.h: Include <features.h>.
24871 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24872 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24874 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24876 * bits/byteswap.h (__bswap_16): Removed.
24877 Include <bits/byteswap-16.h> to get __bswap_16.
24878 * sysdeps/i386/bits/byteswap.h: Likewise.
24879 * sysdeps/s390/bits/byteswap.h: Likewise.
24880 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24881 * bits/byteswap-16.h: New file.
24882 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24883 * sysdeps/s390/bits/byteswap-16.h: Likewise.
24884 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24885 * string/Makefile (headers): Add bits/byteswap-16.h.
24887 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24890 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24892 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24893 * nss/tst-nss-static.c: New.
24895 2012-04-06 Robert Millan <rmh@gnu.org>
24898 * manual/llio.texi (File Position Primitive): lseek
24899 refers to WHENCE when it really means OFFSET.
24901 2012-04-06 Andreas Jaeger <aj@suse.de>
24903 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24904 strncmp declarations.
24906 * abilist/libc.abilist: Add __poll and __ppoll.
24908 2012-04-05 David S. Miller <davem@davemloft.net>
24910 * scripts/check-local-headers.sh: Accept a host triplet in the
24911 path matched by the exclude regexp.
24913 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24915 * sysdeps/powerpc/powerpc32/dl-machine.h
24916 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24917 * sysdeps/s390/s390-32/dl-machine.h
24918 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24919 * sysdeps/sparc/sparc32/dl-machine.h
24920 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24921 * sysdeps/sparc/sparc64/dl-machine.h
24922 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24924 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24926 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
24927 undefined symbol errors.
24929 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
24932 2012-04-05 Michael Matz <matz@suse.de>
24935 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24937 2012-04-05 Andreas Jaeger <aj@suse.de>
24940 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24943 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24945 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24946 which ROUND is no valid rounding mode.
24948 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24950 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24952 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24954 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24956 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24957 an exception using FPU order intentionally.
24959 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24961 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
24962 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
24963 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
24964 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
24966 2012-04-05 Simon Josefsson <simon@josefsson.org>
24969 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24970 EINVAL when BUFLEN is too smal.
24972 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24975 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24976 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24978 2012-04-03 Andreas Jaeger <aj@suse.de>
24981 * manual/setjmp.texi (System V contexts): Fix sentence.
24984 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
24985 New macro for this case.
24986 [!__GNUC__] (__bswap_64): New inline function for this case.
24987 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24988 * bits/byteswap.h: Likewise.
24989 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
24990 ull, guard with __GLIBC_HAVE_LONG_LONG.
24992 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24993 __GLIBC_HAVE_LONG_LONG.
24995 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24996 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24998 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25001 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25002 inptr and inend, rather than using last_ch.
25004 2012-04-02 David S. Miller <davem@davemloft.net>
25006 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25007 * stdio-common/printf-parse.h (read_int): Change return type to
25008 'int', return -1 on INT_MAX overflow.
25009 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25010 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
25011 overflows INT_MAX. Check for overflow of in-format-string precision
25012 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
25013 SIZE_MAX not INT_MAX for integer overflow test.
25014 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25015 skip the construct in the format string but do not record anything.
25016 * stdio-common/bug22.c: Adjust to test both width/prevision
25017 INT_MAX overflow as well as total length INT_MAX overflow. Check
25018 explicitly for proper errno values.
25020 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
25022 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25024 * string/test-strcmp.c [! WIDE]: Likewise.
25025 * time/tst-mktime2.c: Likewise for INT_MAX.
25026 * string/test-string.h: #include <sys/param.h> for MIN.
25028 * csu/init-first.c (__libc_init_first): Call __ctype_init.
25029 * sysdeps/i386/init-first.c (init): Likewise.
25030 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25031 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25032 * sysdeps/sh/init-first.c (init): Likewise.
25034 2012-04-01 Ulrich Drepper <drepper@gmail.com>
25036 * po/ru.po: Update from translation team.
25037 * po/vi.po: Likewise.
25039 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25041 * resolv/nss_dns/dns-host.c: Merge copyright years.
25043 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25045 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25046 Optimize memcpy with prefetch if
25047 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
25048 src, dst pointers have unequal 16 byte alignments.
25050 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25053 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25054 from a CNAME entry and return the minimum ttl for the query.
25055 (gaih_getanswer_slice): Likewise.
25057 2012-03-30 Jeff Law <law@redhat.com>
25059 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25061 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25062 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25064 * resolv/nss_dns/dns-host.c: Update copyright year.
25066 2012-03-30 Ulrich Drepper <drepper@gmail.com>
25068 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
25069 requests to save a system call. Fix check that all bytes are sent.
25071 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25072 comments for sendmmsg.
25074 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25077 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25078 with only 1 character between 0x0041 and 0x01b0.
25079 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25080 * wcsmbs/tst-mbsnrtowcs.c: New file.
25082 2012-03-29 David S. Miller <davem@davemloft.net>
25084 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25085 small copies by hand.
25087 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25090 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25091 _nss_compat_initgroups_dyn): Fall back to malloc/free
25092 for large group memberships.
25094 2012-03-28 David S. Miller <davem@davemloft.net>
25096 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25097 that branches into memcpy.
25098 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25099 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25100 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25101 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25102 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25104 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25105 implementation too.
25106 * sysdeps/sparc/mempcpy.S: New file.
25108 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25109 the IFUNC routine in the libc case.
25110 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25112 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25113 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25114 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25115 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25116 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25117 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25118 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25119 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25121 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25122 loop to 256 bytes instead of 64 bytes and fix test signedness.
25124 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25125 * sysdeps/sparc/sparc32/Makefile: rather than here...
25126 * sysdeps/sparc/sparc64/Makefile: and here.
25128 2012-03-28 Ulrich Drepper <drepper@gmail.com>
25130 * malloc/mallocbug.c: Avoid warnings about unused variables.
25132 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25135 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25136 in the right place. Discard and retry query if response is
25137 larger than input buffer size.
25139 2012-03-28 Joseph Myers <joseph@codesourcery.com>
25144 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25145 x for large integer exponent.
25146 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25147 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25148 sign of result as needed afterwards.
25149 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25150 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25151 result for underflowing pow the same as for overflow.
25152 (__kernel_standard_l): Handle powl overflow and underflow here
25153 rather than calling __kernel_standard.
25154 * math/libm-test.inc (pow_test): Add more tests.
25169 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25170 * sysdeps/ieee754/k_standard.c: Include <float.h>.
25171 (__kernel_standard_l): New function.
25172 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25174 * math/w_acosl.c (__acosl): Likewise.
25175 * math/w_asinl.c (__asinl): Likewise.
25176 * math/w_atan2l.c (__atan2l): Likewise.
25177 * math/w_atanhl.c (__atanhl): Likewise.
25178 * math/w_coshl.c (__coshl): Likewise.
25179 * math/w_exp10l.c (__exp10l): Likewise.
25180 * math/w_exp2l.c (__exp2l): Likewise.
25181 * math/w_fmodl.c (__fmodl): Likewise.
25182 * math/w_hypotl.c (__hypotl): Likewise.
25183 * math/w_j0l.c (__j0l, __y0l): Likewise.
25184 * math/w_j1l.c (__j1l, __y1l): Likewise.
25185 * math/w_jnl.c (__jnl, __ynl): Likewise.
25186 * math/w_lgammal.c (__lgammal): Likewise.
25187 * math/w_log10l.c (__log10l): Likewise.
25188 * math/w_log2l.c (__log2l): Likewise.
25189 * math/w_logl.c (__logl): Likewise.
25190 * math/w_powl.c (__powl): Likewise.
25191 * math/w_remainderl.c (__remainderl): Likewise.
25192 * math/w_scalbl.c (sysv_scalbl): Likewise.
25193 * math/w_sinhl.c (__sinhl): Likewise.
25194 * math/w_sqrtl.c (__sqrtl): Likewise.
25195 * math/w_tgammal.c (__tgammal): Likewise.
25196 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25197 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25198 * math/libm-test.inc (acos_test): Add more tests.
25199 (acosh_test): Likewise.
25200 (asin_test): Likewise.
25201 (atanh_test): Likewise.
25202 (exp_test): Likewise.
25203 (exp10_test): Likewise.
25204 (exp2_test): Likewise.
25205 (expm1_test): Likewise.
25206 (lgamma_test): Likewise.
25207 (log_test): Likewise.
25208 (log10_test): Likewise.
25209 (log1p_test): Likewise.
25210 (log2_test): Likewise.
25211 (pow_test): Do not allow some spurious overflow exceptions.
25212 (sqrt_test): Add more tests.
25213 (tgamma_test): Likewise.
25214 (y0_test): Likewise.
25215 (y1_test): Likewise.
25216 (yn_test): Likewise.
25218 2012-03-27 Anton Blanchard <anton@samba.org>
25220 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25222 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25223 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25224 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25226 2012-03-27 David S. Miller <davem@davemloft.net>
25228 * conform/Makefile: Run run-conformtest.sh using $(BASH).
25230 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25231 have-as-vis3 check.
25233 2012-03-27 Andreas Jaeger <aj@suse.de>
25235 * sysdeps/x86_64/elf/configure.in: Moved to ...
25236 * sysdeps/x86_64/configure.in: ... here.
25237 * sysdeps/x86_64/elf/start.S: Moved to ...
25238 * sysdeps/x86_64/start.S: ... here.
25239 * sysdeps/x86_64/elf/configure: Delete.
25241 * sysdeps/x86_64/configure.in: Merge contents from
25242 sysdeps/i386/configure.in (without i686 check).
25244 * sysdeps/i386/elf/Versions: Merge into ...
25245 * sysdeps/i386/Versions: ... this.
25246 * sysdeps/i386/elf/Versions: Delete file.
25247 * sysdeps/i386/elf/start.S: Moved to ...
25248 * sysdeps/i386/start.S: ...here.
25249 * sysdeps/i386/elf/configure.in: Merge into...
25250 * sysdeps/i386/configure.in: ...here.
25251 * sysdeps/i386/elf/configure.in: Delete file.
25252 * sysdeps/i386/elf/configure: Delete file.
25254 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25255 * debug/backtracesyms.c: ... here.
25256 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25257 * debug/backtracesymsfd.c: ... here.
25258 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25259 * sysdeps/generic/ifunc-sel.h: ... here.
25261 * sysdeps/unix/i386/start.c: Delete file.
25262 * sysdeps/unix/sparc/start.c: Delete file.
25263 * sysdeps/unix/start.c: Delete file.
25265 * sysdeps/sh/elf/configure.in: Moved to ...
25266 * sysdeps/sh/configure.in: ... here.
25267 * sysdeps/sh/elf/start.S: Moved to ...
25268 * sysdeps/sh/start.S: ... here.
25269 * sysdeps/sh/elf/configure: Delete file.
25271 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25272 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25273 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25274 * sysdeps/powerpc/powerpc64/entry.h: ... here.
25275 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25276 * sysdeps/powerpc/powerpc64/start.S: here.
25277 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25278 * sysdeps/powerpc/powerpc64/Makefile: ... this.
25279 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25280 * sysdeps/powerpc/powerpc64/configure.in: ... this.
25281 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25283 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25284 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25285 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25286 * sysdeps/powerpc/powerpc32/start.S: ... here.
25287 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25288 * sysdeps/powerpc/powerpc32/configure.in: ... this.
25289 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25291 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25292 * sysdeps/powerpc/ifunc-sel.h: ... here.
25293 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25294 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25296 * sysdeps/sparc/elf/configure.in: Moved to ...
25297 * sysdeps/sparc/configure.in: ... here.
25298 * sysdeps/sparc/elf/configure: Delete file.
25299 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25300 * sysdeps/sparc/sparc32/start.S: ... here.
25301 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25302 * sysdeps/sparc/sparc64/start.S: ... here.
25303 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25304 * sysdeps/sparc/sparc32/Makefile: ... this.
25305 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25306 * sysdeps/sparc/sparc64/Makefile: ... this.
25308 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
25309 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
25310 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
25311 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
25312 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
25313 * sysdeps/s390/s390-32/setjmp.S: ... here.
25314 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
25315 * sysdeps/s390/s390-32/configure.in: ... here.
25316 * sysdeps/s390/s390-32/elf/configure: Delete file.
25317 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
25318 * sysdeps/s390/s390-32/start.S: ... here.
25320 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
25321 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
25322 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
25323 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
25324 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
25325 * sysdeps/s390/s390-64/setjmp.S: ... here.
25326 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
25327 * sysdeps/s390/s390-64/configure.in: ... here
25328 * sysdeps/s390/s390-64/elf/configure: Delete file.
25329 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
25330 * sysdeps/s390/s390-64/start.S: ... here.
25331 * sysdeps/s390/s390-64/elf/configure: Delete.
25333 * configure.in: Remove support for elf directories in sysdeps.
25335 * configure: Regenerated.
25336 * sysdeps/i386/configure: Regenerated.
25337 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25338 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25339 * sysdeps/s390/s390-32/configure: Regenerated.
25340 * sysdeps/s390/s390-64/configure: Regenerated.
25341 * sysdeps/sh/configure: Regenerated.
25342 * sysdeps/sparc/configure: Regenerated.
25343 * sysdeps/x86_64/configure: Regenerated.
25345 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
25347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25349 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25350 denormal result into account.
25352 2012-03-25 Roland McGrath <roland@hack.frob.com>
25354 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25355 Reported by Allan McRae <allan@archlinux.org>.
25357 2012-03-23 Jeff Law <law@redhat.com>
25359 * nss/getnssent.c (__nss_getent): Fix typo.
25361 2012-03-23 David S. Miller <davem@davemloft.net>
25363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25365 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
25367 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25368 to pad to uint64_t for each field.
25369 (dl_tls_index): Replace unsigned long with uint64_t.
25371 2012-03-23 Daniel Jacobowitz <dmj@google.com>
25372 Paul Pluzhnikov <ppluzhnikov@google.com>
25375 * grp/Makefile (otherlibs): Don't set it.
25376 * inet/Makefile (otherlibs): Likewise.
25377 * login/Makefile (otherlibs): Likewise.
25378 * nscd/Makefile (otherlibs): Likewise.
25379 * posix/Makefile (otherlibs): Likewise.
25380 * pwd/Makefile (otherlibs): Likewise.
25381 * rt/Makefile (otherlibs): Likewise.
25382 * sunrpc/Makefile (otherlibs): Likewise.
25383 * nss/Makefile (otherlibs): Likewise.
25384 Add libnss_files to routines and static-only-routines.
25385 ($(objpfx)getent): Remove rule.
25386 * resolv/Makefile: Add libnss_dns and libresolv to routines and
25387 static-only-routines.
25389 2012-03-22 Joseph Myers <joseph@codesourcery.com>
25392 * math/s_cexp.c: Include <float.h>.
25393 (__cexp): Handle exp result overflowing not necessarily
25394 overflowing both real and imaginary parts of result.
25395 * math/s_cexpf.c: Likewise.
25396 * math/s_cexpl.c: Likewise.
25397 * math/libm-test.inc (cexp_test): Add more tests.
25398 * sysdeps/i386/fpu/libm-test-ulps: Update.
25399 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25401 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25403 * include/link.h (ELFW): New macro.
25404 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25405 Replace ELF64_R_TYPE with ELFW(R_TYPE).
25407 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25409 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25412 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25414 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25416 (struct La_x32_retval): Likewise.
25418 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25420 * sysdeps/x86_64/preconfigure.in: New file.
25421 * sysdeps/x86_64/preconfigure: New generated file.
25423 2012-03-22 Joseph Myers <joseph@codesourcery.com>
25426 * math/e_exp2l.c: Include <float.h>.
25427 (__ieee754_exp2l): Handle overflow and underflow cases
25428 separately. Only pass fractional part of argument to
25430 * math/libm-test.inc (exp2_test): Add more tests.
25432 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25433 negating x to take absolute value.
25434 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25436 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25437 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25439 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25440 computing low part if x was negated.
25441 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25443 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25445 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25446 la_x32_gnu_pltexit.
25447 (pltexit): Cast int_retval to ptrdiff_t.
25448 * elf/tst-auditmod3b.c: Likewise.
25449 * elf/tst-auditmod4b.c: Likewise.
25450 * elf/tst-auditmod5b.c: Likewise.
25451 * elf/tst-auditmod6b.c: Likewise.
25452 * elf/tst-auditmod6c.c: Likewise.
25453 * elf/tst-auditmod7b.c: Likewise.
25455 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25456 and x32_gnu_pltexit.
25458 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25459 __ELF_NATIVE_CLASS.
25460 (La_x32_regs): New macro.
25461 (La_x32_retval): Likewise.
25462 (la_x32_gnu_pltenter): New function prototype.
25463 (la_x32_gnu_pltexit): Likewise.
25465 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25467 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25472 * configure.in (libc_cv_cc_nofma): Check for option to disable
25473 generation of FMA instructions.
25474 * configure: Regenerate.
25475 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25476 * sysdeps/ieee754/dbl-64/Makefile: New file.
25477 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25478 Remove brandred-fma4.
25479 (CFLAGS-brandred-fma4.c): Remove.
25480 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25481 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25483 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25486 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25488 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25489 LLONG_MAX != LONG_MAX.
25490 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25491 (_fitoa_word): Likewise.
25492 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25493 LLONG_MAX != LONG_MAX.
25494 * stdio-common/_itowa.h: Include <_itoa.h>.
25495 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25496 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25497 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25498 only if not defined.
25499 (_ITOA_WORD_TYPE): Likewise.
25500 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25501 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25503 2012-03-21 David S. Miller <davem@davemloft.net>
25505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25507 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25509 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25510 of x86_64 when setting libc_cv_slibdir, libdir and
25512 * sysdeps/unix/sysv/linux/configure: Regenerated.
25514 2012-03-21 Joseph Myers <joseph@codesourcery.com>
25516 * manual/lang.texi (Old Varargs): Remove section.
25517 (How Variadic): Update menu.
25518 (va_start): Do not mention varargs.h.
25520 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25521 Joseph Myers <joseph@codesourcery.com>
25523 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25525 * configure: Regenerated.
25527 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25529 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25530 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25533 2012-03-21 Joseph Myers <joseph@codesourcery.com>
25536 * Makefile (files-for-dist): Remove NOTES.
25537 (NOTES): Remove rule.
25538 * README: Don't refer to NOTES.
25539 * manual/creature.texi: Don't include macros.texi.
25540 * manual/intro.texi (creature.texi): Remove comment referring to
25543 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25544 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25545 * configure: Regenerated.
25546 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25547 LIBC_TRY_CC_OPTION.
25548 (libc_cv_as_i686): Likewise.
25549 (libc_cv_cc_avx): Likewise.
25550 (libc_cv_cc_sse2avx): Likewise.
25551 (libc_cv_cc_fma4): Likewise.
25552 (libc_cv_cc_novzeroupper): Likewise.
25553 * sysdeps/i386/configure: Regenerated.
25556 * sysdeps/i386/fpu/s_cexp.S: Remove.
25557 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25558 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25559 * math/libm-test.inc (cexp_test): Add more tests.
25560 * sysdeps/i386/fpu/libm-test-ulps: Update.
25561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25563 2012-03-21 Allan McRae <allan@archlinux.org>
25565 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25567 2012-03-21 Joseph Myers <joseph@codesourcery.com>
25570 * math/w_exp2.c: Do not include <float.h>.
25571 (o_threshold, u_threshold): Remove.
25572 (__exp2): Calculate result before checking finiteness and calling
25574 * math/w_exp2f.c: Likewise.
25575 * math/w_exp2l.c: Likewise.
25576 * math/libm-test.inc (exp2_test): Require overflow exception for
25580 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25581 range of signed 64-bit integers before using fistpll. Remove
25582 checks for whether integers fit in mantissa bits.
25583 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25584 the range of signed 32-bit integers before using fistpl. Remove
25585 checks for whether integers fit in mantissa bits.
25586 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25587 (__ieee754_powl): Test for y outside the range of signed 64-bit
25588 integers before using fistpll. Reduce 64-bit values to 63-bit
25590 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25591 divide-by-zero is raised for zero to large negative powers.
25592 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25593 (__ieee754_powl): Test for y outside the range of signed 64-bit
25594 integers before using fistpll. Reduce 64-bit values to 63-bit
25596 * math/libm-test.inc (pow_test): Add more tests.
25598 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25600 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25601 <stdio-common/_itoa.h>.
25602 * debug/segfault.c: Likewise.
25603 * elf/dl-cache.c: Likewise.
25604 * elf/dl-minimal.c: Likewise.
25605 * elf/dl-misc.c: Likewise.
25606 * elf/dl-sysdep.c: Likewise.
25607 * elf/dl-version.c: Likewise.
25608 * elf/rtld.c: Likewise.
25609 * hurd/hurdsock.c: Likewise.
25610 * hurd/lookup-retry.c: Likewise.
25611 * malloc/malloc.c: Likewise.
25612 * malloc/mtrace.c: Likewise.
25613 * nscd/nscd_getgr_r.c: Likewise.
25614 * nscd/nscd_getpw_r.c: Likewise.
25615 * nscd/nscd_getserv_r.c: Likewise.
25616 * posix/getopt_init.c: Likewise.
25617 * posix/wordexp.c: Likewise.
25618 * stdio-common/_itoa.c: Likewise.
25619 * stdio-common/printf_fphex.c: Likewise.
25620 * stdio-common/vfprintf.c: Likewise.
25621 * string/_strerror.c: Likewise.
25622 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25623 * sysdeps/i386/i686/hp-timing.h: Likewise.
25624 * sysdeps/mach/_strerror.c: Likewise.
25625 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25626 * sysdeps/mach/hurd/sethostid.c: Likewise.
25627 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25628 * sysdeps/mach/xpg-strerror.c: Likewise.
25629 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25630 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25631 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25632 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25633 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25634 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25635 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25636 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25637 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25638 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25639 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25640 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25641 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25642 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25643 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25644 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25645 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25646 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25647 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25648 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25649 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25651 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25653 * stdio-common/_itoa.h: Moved to ...
25654 * sysdeps/generic/_itoa.h: Here.
25656 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25658 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25659 instead of "_itoa.h" and "_itowa.h".
25660 * stdio-common/vfprintf.: Likewise.
25662 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25664 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25666 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25667 (__signbit): Likwise.
25668 (llrintf): Likwise.
25671 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25673 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25676 2012-03-20 Joseph Myers <joseph@codesourcery.com>
25678 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25679 OVERFLOW_EXCEPTION_OK.
25680 * math/libm-test.inc ("Philosophy"): Update comment about
25682 (OVERFLOW_EXCEPTION): Define.
25683 (OVERFLOW_EXCEPTION_OK): Likewise.
25684 (INVALID_EXCEPTION_OK): Renumber.
25685 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25686 (IGNORE_ZERO_INF_SIGN): Likewise.
25687 (test_exceptions): Handle FE_OVERFLOW.
25688 (exp10_test): Expect overflow exceptions.
25689 (exp2_test): Likewise.
25690 (expm1_test): Likewise.
25691 (nextafter_test): Likewise.
25692 (pow_test): Likewise.
25693 (scalbn_test): Likewise.
25694 (scalbln_test): Likewise.
25696 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25698 * sysdeps/x86_64/bits/atomic.h
25699 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25701 (atomic_exchange_acq): Likewise.
25702 (__arch_exchange_and_add_body): Likewise.
25703 (__arch_add_body): Likewise.
25704 (atomic_add_negative): Likewise.
25705 (atomic_add_zero): Likewise.
25707 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25709 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
25710 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25712 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25714 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25715 Check __x86_64__ instead of __WORDSIZE.
25717 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25719 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25721 2012-03-19 David S. Miller <davem@davemloft.net>
25723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25725 * sysdeps/sparc/fpu/fenv_private.h: New file.
25726 * sysdeps/sparc/fpu/math_private.h: Use it.
25727 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25729 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25730 (libc_feholdexcept_setroundl): Remove.
25731 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25733 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25734 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25736 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25738 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25739 int64_t instead of long int.
25740 (INSERT_WORDS64): Likwise.
25742 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25744 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25745 _Unwind_GetCFA return to _Unwind_Ptr first.
25747 2012-03-19 Joseph Myers <joseph@codesourcery.com>
25750 * math/s_clog.c: Include <float.h>.
25751 (__clog): Scale large or subnormal inputs.
25752 * math/s_clogf.c: Likewise.
25753 * math/s_clogl.c: Likewise.
25754 * math/s_clog10.c: Include <float.h>.
25755 (M_LOG10_2): Define.
25756 (__clog10): Scale large or subnormal inputs.
25757 * math/s_clog10f.c: Likewise.
25758 * math/s_clog10l.c: Likewise.
25759 * math/libm-test.inc (clog_test): Add more tests.
25760 (clog10_test): Likewise.
25761 * sysdeps/i386/fpu/libm-test-ulps: Update.
25762 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25765 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25767 * math/libm-test.inc (atan2_test): Add another test.
25769 * Makerules (common-objdir-compile): Remove.
25770 * sysdeps/unix/Makefile (config-generated): Do not add
25771 $(unix-generated) to variable.
25772 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25773 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25775 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25777 [generic bits/local_lim.h] (before-compile): Do not append to
25779 [generic bits/local_lim.h] (common-generated): Likewise.
25780 [generic sys/param.h] (before-compile): Do not append to variable.
25781 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25782 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25783 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25784 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25786 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25787 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25788 [generic sys/param.h] ($(addprefix
25789 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25790 [generic sys/param.h] (common-generated): Do not append to
25792 [generic sys/param.h] (sysdep_headers): Likewise.
25793 [generic bits/errno.h] (before-compile): Do not append to
25795 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25797 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25798 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25799 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25800 [generic bits/errno.h] (common-generated): Do not append to
25802 [generic bits/ioctls.h] (before-compile): Do not append to
25804 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25806 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25807 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25808 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25810 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25811 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25812 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25813 [generic bits/ioctls.h] (common-generated): Do not append to
25815 [generic sys/syscall.h] (syscall.h): Remove variable.
25816 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25818 [generic sys/syscall.h] (before-compile): Do not append to
25820 [generic sys/syscall.h] (common-generated): Likewise.
25821 * sysdeps/unix/errnos-tmpl.c: Remove file.
25822 * sysdeps/unix/errnos.awk: Likewise.
25823 * sysdeps/unix/ioctls-tmpl.c: Likewise.
25824 * sysdeps/unix/ioctls.awk: Likewise.
25825 * sysdeps/unix/mk-local_lim.c: Likewise.
25826 * sysdeps/unix/snarf-ioctls: Likewise.
25828 2012-03-19 Richard Henderson <rth@twiddle.net>
25830 * sysdeps/i386/fpu/fenv_private.h: New file.
25831 * sysdeps/i386/fpu/math_private.h: Use it.
25832 (math_opt_barrier, math_force_eval): Remove.
25833 (libc_feholdexcept_setround_53bit): Remove.
25834 (libc_feupdateenv_53bit): Remove.
25835 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25836 (math_opt_barrier, math_force_eval): Remove.
25837 (libc_feholdexcept): Remove.
25838 (libc_feholdexcept_setround): Remove.
25839 (libc_fetestexcept, libc_fesetenv): Remove.
25840 (libc_feupdateenv_test): Remove.
25841 (libc_feupdateenv, libc_feholdsetround): Remove.
25842 (libc_feresetround): Remove.
25844 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25845 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25847 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25848 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25849 (libc_feupdateenv_testl): New.
25850 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25851 (libc_feupdateenv_testf): New.
25852 (libc_feupdateenv): Use libc_feupdateenv_test.
25853 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25854 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25856 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25857 (libc_feholdsetroundf, libc_feholdsetroundl): New.
25858 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25859 (libc_feresetround_noex): New.
25860 (libc_feresetround_noexf): New.
25861 (libc_feresetround_noexl): New.
25862 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25863 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25864 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25865 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25867 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25868 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25870 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25871 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25872 SET_RESTORE_ROUND_NOEX.
25873 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25874 SET_RESTORE_ROUND_NOEXF.
25875 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25876 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25877 (libc_feholdsetroundf): New.
25878 (libc_feresetround, libc_feresetroundf): New.
25880 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25881 (libc_feholdexcept_setround_53bit): Convert from macro to function.
25882 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
25884 * sysdeps/generic/math_private.h: Include <fenv.h>.
25885 (default_libc_feholdexcept): New.
25886 (default_libc_feholdexcept_setround): New.
25887 (default_libc_fesetenv, default_libc_feupdateenv): New.
25888 (libc_feholdexcept): Only define if undefined.
25889 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25890 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25891 (libc_feholdexcept_setroundl): Likewise.
25892 (libc_feholdexcept_setround_53bit): Likewise.
25893 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25894 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25895 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25896 (libc_feupdateenv_53bit): Likewise.
25897 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25898 (libc_feholdexcept): Convert from macro to inline function.
25899 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25900 (libc_fesetenv, libc_feupdateenv): Likewise.
25902 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25903 not previously defined.
25904 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25905 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25906 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25907 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25908 * sysdeps/ieee754/flt-32/math_private.h: New file.
25909 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25910 math_private.h below SET_FLOAT_WORD.
25911 (__isnan, __isinf_ns, __finite): Remove.
25912 (__isnanf, __isinf_nsf, __finitef): Remove.
25914 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25918 2012-03-17 David S. Miller <davem@davemloft.net>
25921 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25924 2012-03-16 David S. Miller <davem@davemloft.net>
25926 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25930 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25932 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25933 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25934 sysdep_routines when subdir is sysvipc.
25935 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25936 __getshmlba helper.
25938 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25940 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25942 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25945 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25947 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
25948 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
25949 (__lround): Renamed to ...
25950 (__llround): This. Replace long int with long long int.
25951 Define lround functions as aliases of llround functions.
25952 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
25954 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25956 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
25957 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
25958 adresses to uintptr_t. Replace "long int" and "unsigned long
25959 int" with "greg_t" on va_arg.
25961 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25963 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25964 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25966 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
25967 Move e_machine check before EI_CLASS check. Handle x32
25968 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
25969 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
25970 SKIP_EM_IA_64 and include
25971 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
25973 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
25974 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
25975 (add_system_dir): New macro.
25977 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25978 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25980 2012-03-16 Joseph Myers <joseph@codesourcery.com>
25991 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25993 * math/w_j0f.c (j0f): Likewise.
25995 * math/w_j0l.c (__j0l): Likewise.
25997 * math/w_j1.c (j1): Likewise.
25999 * math/w_j1f.c (j1f): Likewise.
26001 * math/w_j1l.c (__j1l): Likewise.
26003 * math/w_jn.c (jn): Likewise.
26005 * math/w_jnf.c (jnf): Likewise.
26007 * math/w_jnl.c (__jnl): Likewise.
26009 * math/libm-test.inc (j0_test): Add more tests.
26010 (j1_test): Likewise.
26011 (jn_test): Likewise. Add trailing semicolon to existing test.
26012 (y0_test): Likewise.
26013 (y1_test): Likewise.
26014 * sysdeps/i386/fpu/libm-test-ulps: Update.
26015 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26019 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26020 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26021 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26022 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26023 (__tanl): Set errno for infinite argument.
26024 * sysdeps/i386/fpu/mptan.c: Remove.
26025 * sysdeps/i386/fpu/s_tan.S: Likewise.
26026 * sysdeps/i386/fpu/s_tanl.S: Likewise.
26027 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26028 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26029 * math/libm-test.inc (tan_test): Add more tests and enable more
26030 tests for double and long double.
26031 * sysdeps/i386/fpu/libm-test-ulps: Update.
26032 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26034 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
26036 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26037 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26039 2012-03-16 Roland McGrath <roland@hack.frob.com>
26041 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26042 * configure.in: Use it for both main tree and add-ons.
26043 * configure: Regenerated.
26045 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26047 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26049 2012-03-16 Joseph Myers <joseph@codesourcery.com>
26051 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26055 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26056 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26057 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26058 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26059 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26061 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26062 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26063 != 0 for prec == 2.
26064 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26065 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26066 * sysdeps/i386/fpu/s_cosl.S: Likewise.
26067 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26068 * sysdeps/i386/fpu/s_sinl.S: Likewise.
26069 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26070 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26071 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26072 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26073 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26074 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26075 * math/libm-test.inc (cos_test): Add more tests and enable more
26076 tests for long double.
26077 (sin_test): Likewise.
26078 (sincos_test): Likewise.
26079 * sysdeps/i386/fpu/libm-test-ulps: Update.
26080 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26082 2012-03-16 David S. Miller <davem@davemloft.net>
26084 * sysdeps/sparc/fpu/math_private.h: New file.
26086 2012-03-15 David S. Miller <davem@davemloft.net>
26088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
26091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26094 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26095 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26096 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26097 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26098 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26102 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26103 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26105 * sysdeps/sparc/sparc-ifunc.h: New file.
26106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
26122 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26127 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26130 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26131 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26132 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26133 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26134 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26135 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26136 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26137 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26138 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26139 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26140 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26141 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26142 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26143 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26144 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26145 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26146 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26147 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26148 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26149 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26151 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26153 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26157 2012-03-15 Andreas Jaeger <aj@suse.de>
26160 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26161 ieee754/flt-32 implementation for sin, cos and sincos.
26162 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26163 * sysdeps/i386/fpu/s_cosf.S: Likewise.
26164 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26165 * sysdeps/i386/fpu/s_sinf.S: Likewise.
26166 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26167 ieee754/flt-32 implementation for tan.
26169 * math/libm-test.inc (cos_test): Enable some large input tests for
26171 (sin_test): Likewise.
26172 (sincos_test): Likewise.
26173 (tan_test): Add tests for large input.
26175 * sysdeps/i386/fpu/libm-test-ulps: Update.
26177 2012-03-15 Andreas Jaeger <aj@suse.de>
26180 * math/libm-test.inc (cos_test): Add more test cases.
26181 (sin_test): Likewise.
26182 (sincos_test): Likewise.
26184 2012-03-15 Andreas Jaeger <aj@suse.de>
26187 * math/libm-test.inc (cos_test): Add a test case for large input
26189 (sin_test): Likewise.
26190 (sincos_test): Likewise.
26192 2012-03-15 Andreas Jaeger <aj@suse.de>,
26193 Joseph Myers <joseph@codesourcery.com>
26196 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
26197 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26198 * sysdeps/i386/fpu/branred.c: Likewise.
26199 * sysdeps/i386/fpu/dosincos.c: Likewise.
26200 * sysdeps/i386/fpu/mpa.c: Likewise.
26201 * sysdeps/i386/fpu/s_cos.S: Likewise.
26202 * sysdeps/i386/fpu/s_sin.S: Likewise.
26203 * sysdeps/i386/fpu/s_sincos.S: Likewise.
26204 * sysdeps/i386/fpu/sincos32.c: Likewise.
26206 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26208 (libc_feupdateenv_53bit): Define.
26209 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26211 (libc_feupdateenv_53bit): Define.
26213 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26214 53 bit (without extend i386 double precision).
26216 * math/libm-test.inc (sincos_test): Add tests for large input.
26220 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26222 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26226 2012-03-15 David S. Miller <davem@davemloft.net>
26228 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26229 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26230 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26231 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26236 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26237 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26238 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26239 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26240 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26241 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26242 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
26243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
26246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
26249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
26252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26255 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26256 fmin/fmax sysdep routines.
26257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26259 2012-03-14 David S. Miller <davem@davemloft.net>
26261 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26262 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26263 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26264 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26265 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26266 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26267 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26268 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26269 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26270 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26271 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26272 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26273 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26274 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26275 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26276 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26277 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26278 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26279 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26280 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26281 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26282 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26283 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26284 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26285 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26286 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26287 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26288 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
26289 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
26294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
26297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
26300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
26303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
26306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
26321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
26324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
26327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
26329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
26330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
26333 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26338 * sysdeps/sparc/configure.in: New file.
26339 * sysdeps/sparc/configure: Generate.
26340 * configure.in (libc_cv_sparc_as_vis3): Substitute.
26341 * configure: Regenerate.
26342 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26343 * config.make.in (have-as-vis3): New.
26344 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26345 available use -Av9d instead of -Av9a.
26346 * sysdeps/sparc/sparc64/Makefile: Likewise.
26347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
26348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26356 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26357 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26358 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26359 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26360 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26362 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26363 fzeros/fnegs to load 0x80000000 into a float register instead of
26365 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26367 2012-03-14 Joseph Myers <joseph@codesourcery.com>
26369 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26371 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26372 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26373 ($(inst_includedir)/bits/syscall.h): Remove rule.
26374 ($(objpfx)bits/syscall.d): Include instead of
26375 $(objpfx)syscall-list.d.
26376 (generated): Change syscall-list.h and syscall-list.d to
26377 bits/syscall.h and bits/syscall.d.
26379 2012-03-14 Roland McGrath <roland@hack.frob.com>
26382 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26384 2012-03-14 Joseph Myers <joseph@codesourcery.com>
26387 * math/s_csqrt.c: Include <float.h>.
26388 (__csqrt): Scale large or subnormal inputs.
26389 * math/s_csqrtf.c: Likewise.
26390 * math/s_csqrtl.c: Likewise.
26391 * math/libm-test.inc (csqrt_test): Add more tests.
26392 * sysdeps/i386/fpu/libm-test-ulps: Update.
26393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26396 * math/libm-test.inc (hypot_test): Add more tests.
26398 2012-03-13 David S. Miller <davem@davemloft.net>
26401 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26402 double-precision for the calculation instead of scaling.
26404 2012-03-13 Joseph Myers <joseph@codesourcery.com>
26406 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26407 manipulate bits before adding and subtracting TWO52[sx].
26408 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26409 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26411 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26413 2012-03-13 David S. Miller <davem@davemloft.net>
26415 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26416 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26417 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26418 rtld-global-offsets.h
26419 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26421 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26424 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26426 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26427 'err' in the ifdef scope in which it is actually used.
26429 * nss/nss_db/db-init.c: Include string.h
26431 2012-03-12 David S. Miller <davem@davemloft.net>
26433 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26434 masking out of the most significant byte of random value used.
26435 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26436 Fix coding style in previous change.
26438 * sysdeps/unix/sysv/linux/kernel-features.h
26439 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26440 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26442 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26445 2012-03-11 David S. Miller <davem@davemloft.net>
26447 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26448 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26449 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26450 for 'resultvar' otherwise things get truncated on 64-bit.
26452 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26453 Fix masking out of the most significant byte of random value used.
26455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26457 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
26459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26461 2012-03-09 David S. Miller <davem@davemloft.net>
26463 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26464 variables with appropriate CPP guards.
26465 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26466 frame pointer, not the stack pointer. Correct layout comments. Fix test
26467 on resulting framesize and the management of the outregs buffer for pltexit.
26468 Preserve floating point return values across _dl_call_pltexit call.
26469 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26470 framesize and the management of the outregs buffer for pltexit.
26471 Preserve floating point return values across _dl_call_pltexit
26473 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26474 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26475 (print_exit): Fix format string for return register value.
26477 2012-03-10 Joseph Myers <joseph@codesourcery.com>
26479 * sunrpc/Makefile (others): Add rpcgen.
26480 ($(objpfx)rpcgen): Remove special build rule and dependency on
26482 * sunrpc/rpcgen.c: New file.
26484 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26487 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26488 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26489 * sysdeps/i386/crti.S: Likewise.
26490 * sysdeps/i386/crtn.S: Likewise.
26491 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26492 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26493 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26494 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26495 * sysdeps/sh/crti.S: Likewise.
26496 * sysdeps/sh/crtn.S: Likewise.
26497 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26500 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26502 * locale/programs/locfile-kw.gperf: Likewise.
26503 * locale/programs/charmap-kw.h: Regenerated.
26504 * locale/programs/locfile-kw.h: Likewise.
26507 * intl/plural.y: Replace FSF snail mail address with URL.
26508 * intl/plural.c: Regenerated.
26510 2012-03-09 Richard Henderson <rth@twiddle.net>
26512 * include/math_private.h: Remove file.
26513 * math/math_private.h: Move file ...
26514 * sysdeps/generic/math_private.h: ... here.
26516 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26517 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26518 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26520 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
26521 and <math_private.h>.
26522 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26523 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26524 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26525 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26526 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26527 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26528 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26529 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26530 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26531 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26532 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26533 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26534 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26535 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26536 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26537 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26538 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26539 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26540 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26541 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26542 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26543 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26544 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26545 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26546 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26547 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26548 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26549 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26550 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26551 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26552 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26553 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26554 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26555 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26556 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26557 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26558 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26559 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26560 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26561 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26562 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26563 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26564 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26565 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26566 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26567 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26568 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26569 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26570 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26571 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26572 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26573 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26574 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26575 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26576 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26577 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26578 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26579 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26580 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26581 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26582 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26583 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26584 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26585 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26586 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26587 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26588 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26589 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26590 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26591 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26592 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26593 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26594 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26595 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26596 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26597 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26598 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26599 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26600 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26601 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26602 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26603 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26604 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26605 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26606 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26607 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26608 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26609 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26610 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26611 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26612 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26613 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26614 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26615 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26616 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26617 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26618 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26619 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26620 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26621 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26622 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26623 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26624 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26625 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26626 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26627 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26628 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26629 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26630 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26631 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26632 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26633 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26634 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26635 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26636 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26637 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26638 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26639 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26640 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26641 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26642 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26643 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26644 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26645 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26646 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26647 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26648 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26649 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26650 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26651 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26652 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26653 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26654 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26655 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26656 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26657 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26658 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26659 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26660 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26661 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26662 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26663 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26664 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26665 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26666 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26667 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26668 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26669 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26670 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26671 * sysdeps/ieee754/k_standard.c: Likewise.
26672 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26673 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26674 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26675 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26676 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26677 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26678 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26679 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26680 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26681 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26682 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26683 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26684 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26685 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26686 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26687 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26688 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26689 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26690 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26691 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26692 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26693 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26694 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26695 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26696 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26697 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26698 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26699 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26700 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26701 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26702 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26703 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26704 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26705 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26706 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26707 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26708 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26709 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26710 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26711 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26712 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26713 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26714 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26715 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26716 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26717 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26718 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26719 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26720 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26721 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26722 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26723 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26724 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26725 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26726 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26727 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26728 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26729 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26730 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26731 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26732 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26733 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26734 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26735 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26736 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26737 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26738 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26739 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26740 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26741 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26742 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26743 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26744 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26745 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26746 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26747 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26748 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26749 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26750 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26751 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26752 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26753 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26754 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26755 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26756 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26757 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26758 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26759 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26760 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26761 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26762 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26763 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26764 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26765 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26766 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26767 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26768 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26769 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26770 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26771 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26772 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26773 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26774 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26775 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26776 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26777 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26778 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26779 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26780 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26781 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26782 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26783 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26784 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26785 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26786 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26787 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26788 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26789 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26790 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26791 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26792 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26793 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26794 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26795 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26796 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26797 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26798 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26799 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26800 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26801 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26802 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26803 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26804 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26805 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26806 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26807 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26808 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26809 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26810 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26811 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26812 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26813 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26814 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26815 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26816 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26817 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26818 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26819 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26820 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26821 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26822 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26823 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26824 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26825 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26826 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26827 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26828 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26829 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26830 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26831 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26832 * sysdeps/ieee754/s_lib_version.c: Likewise.
26833 * sysdeps/ieee754/s_matherr.c: Likewise.
26834 * sysdeps/ieee754/s_signgam.c: Likewise.
26835 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26836 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26837 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26838 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26839 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26840 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26841 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26842 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26843 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26844 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26845 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26846 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26847 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26848 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26849 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26850 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26851 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26852 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26853 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26854 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26855 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26857 2012-03-09 Joseph Myers <joseph@codesourcery.com>
26859 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26860 * sunrpc/rpc_main.c: Likewise.
26861 * sunrpc/rpc_svcout.c: Likewise.
26863 2012-03-09 David S. Miller <davem@davemloft.net>
26865 * include/math_private.h: New file.
26867 2012-03-09 Joseph Myers <joseph@codesourcery.com>
26869 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26870 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26871 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26872 from <bits/socket_type.h>.
26873 (enum __socket_type): Don't define here.
26874 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26875 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26876 bits/socket_type.h.
26879 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26880 checking __USE_GNU.
26882 * Makerules ($(inst_includedir)/%.h): New rule.
26883 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26884 (install-others): Remove variable setting.
26885 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26887 2012-03-08 Richard Henderson <rth@twiddle.net>
26889 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26890 from macro to inline function; merge with the
26891 !__LIBC_INTERNAL_MATH_INLINES version.
26892 (__ieee754_sqrtf): Likewise.
26894 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26895 to inline function.
26896 (__rintf, __floor, __floorf): Likewise.
26898 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26899 macro to inline function.
26900 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26902 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26903 not <math/math_private.h>.
26905 2012-03-08 David S. Miller <davem@davemloft.net>
26907 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26909 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26911 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26913 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26915 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26916 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26918 2012-03-08 Ulrich Drepper <drepper@gmail.com>
26920 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26921 be defined individually, they must be defined as a block. Define
26922 S for printing a string instead of hidint the different by using a
26923 macro for adding the 'l'.
26924 * stdio-common/tst-fphex-wide.c: Adjust.
26926 2012-03-07 Marek Polacek <polacek@redhat.com>
26928 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26930 2012-03-08 Marek Polacek <polacek@redhat.com>
26933 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26934 * stdio-common/tst-fphex.c: Define a few macros to make the
26935 test reusable. Use them.
26936 * stdio-common/tst-fphex-wide.c: New file.
26938 2012-03-08 Joseph Myers <joseph@codesourcery.com>
26941 * manual/macros.texi (gnusystems): New macro.
26942 (nongnusystems): Likewise.
26943 (gnulinuxhurdsystems): Likewise.
26944 (gnuhurdsystems): Likewise..
26945 (gnulinuxsystems): Likewise.
26946 * manual/charset.texi: Use new macros or @theglibc{} to refer to
26947 variants of the GNU system, not "GNU system".
26948 * manual/conf.texi: Likewise.
26949 * manual/errno.texi: Likewise. Update example of errno macro
26951 * manual/filesys.texi: Likewise.
26952 (getumask): Document as specific to GNU/Hurd.
26953 * manual/install.texi: Likewise. Reword some references to
26955 * manual/intro.texi: Likewise.
26956 * manual/io.texi: Likewise.
26957 (File Name Portability): Detail which constraints are inapplicable
26958 to all GNU systems and which are only inapplicable to GNU/Hurd.
26959 * manual/job.texi: Likewise.
26960 * manual/llio.texi: Likewise.
26961 (O_NOCTTY): Document as present on GNU/Linux.
26962 * manual/maint.texi: Likewise.
26963 * manual/memory.texi: Likewise.
26964 * manual/pattern.texi: Likewise.
26965 * manual/pipe.texi: Likewise.
26966 * manual/process.texi: Likewise.
26967 * manual/resource.texi: Likewise.
26968 (RUSAGE_CHILDREN): Remove statement about specifying a particular
26970 * manual/setjmp.texi: Likewise.
26971 * manual/signal.texi: Likewise.
26972 * manual/startup.texi: Likewise.
26973 * manual/stdio.texi: Likewise.
26974 * manual/terminal.texi: Likewise.
26975 (ONLCR): Document as POSIX.
26976 (OXTABS): Document availability on GNU/Linux as XTABS.
26977 (ONOEOT): Document availability separately from other bits.
26978 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
26979 * manual/time.texi: Likewise.
26980 * manual/users.texi: Likewise.
26981 * INSTALL: Regenerated.
26982 * sysdeps/gnu/errlist.c: Regenerated.
26984 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
26985 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
26986 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
26988 * configure: Regenerated.
26990 2012-03-07 Joseph Myers <joseph@codesourcery.com>
26992 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
26993 default includes instead of AC_HEADER_CHECK.
26994 * sysdeps/i386/configure: Regenerated.
26997 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
26998 * math/s_cacoshf.c (__cacoshf): Likewise.
26999 * math/s_cacoshl.c (__cacoshl): Likewise.
27000 * math/s_casinh.c (__casinh): Set signs of result from argument.
27001 * math/s_casinhf.c (__casinhf): Likewise.
27002 * math/s_casinhl.c (__casinhl): Likewise.
27003 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27004 (casinh_test): Add more tests.
27005 * sysdeps/i386/fpu/libm-test-ulps: Update.
27006 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27008 2012-03-07 Ulrich Drepper <drepper@gmail.com>
27010 * po/zh_TW.po: Update from translation team.
27012 * login/Makefile (distribute): Remove variable.
27013 * catgets/Makefile: Likewise.
27014 * mach/Makefile: Likewise.
27015 * malloc/Makefile: Likewise.
27016 * misc/Makefile: Likewise.
27017 * iconv/Makefile: Likewise.
27018 * nscd/Makefile: Likewise.
27019 * hurd/Makefile: Likewise.
27020 * manual/Makefile: Likewise.
27021 * locale/Makefile: Likewise.
27022 * intl/Makefile: Likewise.
27023 * conform/Makefile: Likewise.
27024 * nss/Makefile: Likewise.
27025 * time/Makefile: Likewise.
27026 * soft-fp/Makefile: Likewise.
27027 * dirent/Makefile: Likewise.
27028 * gmon/Makefile: Likewise.
27029 * po/Makefile: Likewise.
27030 * rt/Makefile: Likewise.
27031 * socket/Makefile: Likewise.
27032 * math/Makefile: Likewise.
27033 * signal/Makefile: Likewise.
27034 * debug/Makefile: Likewise.
27035 * elf/Makefile: Likewise.
27036 * timezone/Makefile: Likewise.
27037 * stdlib/Makefile: Likewise.
27038 * iconvdata/Makefile: Likewise.
27039 * sunrpc/Makefile: Likewise.
27040 * io/Makefile: Likewise.
27041 * argp/Makefile: Likewise.
27042 * inet/Makefile: Likewise.
27043 * hesiod/Makefile: Likewise.
27044 * grp/Makefile: Likewise.
27045 * csu/Makefile: Likewise.
27046 * wctype/Makefile: Likewise.
27047 * crypt/Makefile: Likewise.
27048 * libio/Makefile: Likewise.
27049 * string/Makefile: Likewise.
27050 * nis/Makefile: Likewise.
27051 * resolv/Makefile: Likewise.
27052 * stdio-common/Makefile: Likewise.
27053 * wcsmbs/Makefile: Likewise.
27054 * dlfcn/Makefile: Likewise.
27055 * posix/Makefile: Likewise.
27058 * timezone/Makefile: Don't install timezone files, just the programs
27061 2012-03-06 Ulrich Drepper <drepper@gmail.com>
27063 * nss/databases.def: Add missing gshadow entry.
27065 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
27067 2012-03-06 Marek Polacek <polacek@redhat.com>
27070 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27071 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27072 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27073 * stdio-common/tst-long-dbl-fphex.c: New file.
27075 2012-03-06 David S. Miller <davem@davemloft.net>
27077 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27078 (set_obp_int): New function.
27079 (get_obp_int): New function.
27080 (__get_clockfreq_via_dev_openprom): Likewise.
27081 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27082 Avoid unused variable warnings on 'val' and use builtin_expect.
27083 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27085 (INLINE_CLONE_SYSCALL): Likewise.
27087 2012-03-05 David S. Miller <davem@davemloft.net>
27089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27091 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
27093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27095 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27096 only for |x| >= 40.
27097 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27099 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
27101 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27102 Replace gettimeofday with __vdso_gettimeofday.
27104 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27105 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27106 __vdso_clock_gettime and __vdso_getcpu.
27108 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27109 time with __vdso_time.
27111 2012-03-05 Joseph Myers <joseph@codesourcery.com>
27113 * manual/lang.texi (size_t): Note types to which size_t may be
27114 equivalent with the GNU C Library, but do not describe when
27115 differences between them are significant.
27117 2012-03-05 Andreas Jaeger <aj@suse.de>
27119 * sysdeps/i386/fpu/libm-test-ulps: Update.
27121 2012-03-05 Joseph Myers <joseph@codesourcery.com>
27124 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27125 (__ieee754_pow): Save and restore rounding mode and use
27126 round-to-nearest for main computations.
27127 * math/libm-test.inc (pow_test_tonearest): New function.
27128 (pow_test_towardzero): Likewise.
27129 (pow_test_downward): Likewise.
27130 (pow_test_upward): Likewise.
27131 (main): Call the new functions.
27132 * sysdeps/i386/fpu/libm-test-ulps: Update.
27133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27136 * math/libm-test.inc (cosh_test_tonearest): New function.
27137 (cosh_test_towardzero): Likewise.
27138 (cosh_test_downward): Likewise.
27139 (cosh_test_upward): Likewise.
27140 (sinh_test_tonearest): Likewise.
27141 (sinh_test_towardzero): Likewise.
27142 (sinh_test_downward): Likewise.
27143 (sinh_test_upward): Likewise.
27144 (main): Call the new functions.
27145 * sysdeps/i386/fpu/libm-test-ulps: Update.
27146 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27148 2012-03-05 Tom de Vries <tom@codesourcery.com>
27150 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27151 default stack guard is set in last bytes.
27152 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27154 2012-03-05 Kees Cook <keescook@chromium.org>
27156 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
27159 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27160 possibly allocate from heap instead of stack.
27161 * stdio-common/bug-vfprintf-nargs.c: New file.
27162 * stdio-common/Makefile (tests): Add nargs overflow test.
27164 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27168 2012-03-03 Marek Polacek <polacek@redhat.com>
27170 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27171 * math/math_private.h: Likewise.
27172 * stdlib/tst-strtod.c: Likewise.
27173 * sysdeps/i386/i486/bits/atomic.h: Likewise.
27174 * sysdeps/x86_64/bits/atomic.h: Likewise.
27176 2012-03-02 David S. Miller <davem@davemloft.net>
27178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27182 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27183 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27184 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27185 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27187 2012-03-02 Roland McGrath <roland@hack.frob.com>
27190 * manual/examples/README: New file, says the example source files
27191 can be used under GPL>=2.
27192 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27193 line containing just "*/".
27194 * manual/examples/add.c: Add copyright header (GPL>=2).
27195 * manual/examples/argp-ex1.c: Likewise.
27196 * manual/examples/argp-ex2.c: Likewise.
27197 * manual/examples/argp-ex3.c: Likewise.
27198 * manual/examples/argp-ex4.c: Likewise.
27199 * manual/examples/atexit.c: Likewise.
27200 * manual/examples/db.c: Likewise.
27201 * manual/examples/dir.c: Likewise.
27202 * manual/examples/dir2.c: Likewise.
27203 * manual/examples/execinfo.c: Likewise.
27204 * manual/examples/filecli.c: Likewise.
27205 * manual/examples/filesrv.c: Likewise.
27206 * manual/examples/fmtmsgexpl.c: Likewise.
27207 * manual/examples/genpass.c: Likewise.
27208 * manual/examples/inetcli.c: Likewise.
27209 * manual/examples/inetsrv.c: Likewise.
27210 * manual/examples/isockad.c: Likewise.
27211 * manual/examples/longopt.c: Likewise.
27212 * manual/examples/memopen.c: Likewise.
27213 * manual/examples/memstrm.c: Likewise.
27214 * manual/examples/mkfsock.c: Likewise.
27215 * manual/examples/mkisock.c: Likewise.
27216 * manual/examples/mygetpass.c: Likewise.
27217 * manual/examples/pipe.c: Likewise.
27218 * manual/examples/popen.c: Likewise.
27219 * manual/examples/rprintf.c: Likewise.
27220 * manual/examples/search.c: Likewise.
27221 * manual/examples/select.c: Likewise.
27222 * manual/examples/setjmp.c: Likewise.
27223 * manual/examples/sigh1.c: Likewise.
27224 * manual/examples/sigusr.c: Likewise.
27225 * manual/examples/stpcpy.c: Likewise.
27226 * manual/examples/strdupa.c: Likewise.
27227 * manual/examples/strftim.c: Likewise.
27228 * manual/examples/strncat.c: Likewise.
27229 * manual/examples/subopt.c: Likewise.
27230 * manual/examples/swapcontext.c: Likewise.
27231 * manual/examples/termios.c: Likewise.
27232 * manual/examples/testopt.c: Likewise.
27233 * manual/examples/testpass.c: Likewise.
27234 * manual/examples/timeval_subtract.c: Likewise.
27237 * manual/time.texi (Elapsed Time): Move timeval_subtract example
27239 * manual/timeval_subtract.c.texi: ... here, new file.
27241 2012-03-02 David S. Miller <davem@davemloft.net>
27243 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27245 2012-03-02 Joseph Myers <joseph@codesourcery.com>
27248 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27249 (__sin): Save and restore rounding mode and use round-to-nearest
27250 for all computations.
27251 (__cos): Save and restore rounding mode and use round-to-nearest
27252 for all computations.
27253 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27255 (tan): Save and restore rounding mode and use round-to-nearest for
27257 * math/libm-test.inc (cos_test_tonearest): New function.
27258 (cos_test_towardzero): Likewise.
27259 (cos_test_downward): Likewise.
27260 (cos_test_upward): Likewise.
27261 (sin_test_tonearest): Likewise.
27262 (sin_test_towardzero): Likewise.
27263 (sin_test_downward): Likewise.
27264 (sin_test_upward): Likewise.
27265 (tan_test_tonearest): Likewise.
27266 (tan_test_towardzero): Likewise.
27267 (tan_test_downward): Likewise.
27268 (tan_test_upward): Likewise.
27269 (main): Call the new functions.
27270 * sysdeps/i386/fpu/libm-test-ulps: Update.
27271 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27274 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27275 small n, then large n, before computing and testing k+n.
27276 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27277 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27279 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27281 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27282 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27283 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27284 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27285 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27286 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27287 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27288 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27289 * math/libm-test.inc (scalbn_test): Add more tests.
27290 (scalbln_test): Likewise.
27292 * manual/filesys.texi (mode_t): Describe constraints on size and
27293 signedness, not exact equivalence to a particular type.
27295 (ino64_t): Likewise.
27297 (nlink_t): Likewise.
27298 (blkcnt_t): Likewise.
27299 (blkcnt64_t): Likewise.
27300 * manual/llio.texi (off_t): Likewise.
27303 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27304 (__ieee754_exp): Save and restore rounding mode and use
27305 round-to-nearest for all computations.
27306 * math/libm-test.inc (exp_test_tonearest): New function.
27307 (exp_test_towardzero): Likewise.
27308 (exp_test_downward): Likewise.
27309 (exp_test_upward): Likewise.
27310 (main): Call the new functions.
27311 * sysdeps/i386/fpu/libm-test-ulps: Update.
27312 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27314 2012-03-01 Chris Demetriou <cgd@google.com>
27316 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27317 have predictable order.
27319 2012-03-01 David S. Miller <davem@davemloft.net>
27321 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27323 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
27324 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
27325 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
27326 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
27328 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
27329 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
27330 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
27331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
27332 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
27333 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
27334 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
27335 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27336 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27340 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27341 * sysdeps/sparc/fpu/libm-test-ulps: to here.
27342 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27344 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27345 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27346 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27347 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27348 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27349 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27350 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27351 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27352 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27353 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27354 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27355 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27356 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27357 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27358 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27359 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27360 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27361 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27362 * sysdeps/sparc/elf/configure: Regenerated.
27364 2012-03-01 Joseph Myers <joseph@codesourcery.com>
27366 * configure.in (AS, LD): Require binutils 2.20 or later.
27367 * configure: Regenerated.
27368 * manual/install.texi (Tools for Compilation): Give binutils 2.20
27369 as required minimum version.
27370 * INSTALL: Regenerated.
27374 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27375 before squaring exponent.
27376 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27377 bottom long double and 27 bits of top long double before squaring
27379 * math/libm-test.inc (erfc_test): Add more tests.
27380 * sysdeps/i386/fpu/libm-test-ulps: Update.
27381 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27384 2012-03-01 Kai Tietz <ktietz@redhat.com>
27386 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27387 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27388 containing bit-fields.
27389 * soft-fp/extended.h (_FP_UNION_E): Likewise.
27390 * soft-fp/single.h (_FP_UNION_S): Likewise.
27391 * soft-fp/double.h (_FP_UNION_D): Likewise.
27393 2012-02-29 Joseph Myers <joseph@codesourcery.com>
27396 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27397 not include ../strcmp.S.
27398 [USE_AS_STRNCASECMP_L]: Likewise.
27399 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27400 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27401 * sysdeps/i386/i686/multiarch/strncase_l-c.c
27402 (__strncasecmp_l_ia32): Define as alias to
27403 __strncasecmp_l_nonascii.
27406 * math/libm-test.inc (expm1_test): Add test for bug 5794.
27407 * sysdeps/i386/fpu/libm-test-ulps: Update.
27408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27410 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27413 2012-02-29 Jeff Law <law@redhat.com>
27415 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27416 out of bounds read.
27418 2012-02-29 Marek Polacek <polacek@redhat.com>
27421 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27422 * elf/Makefile: Add rules to run tst-unused-dep.out.
27424 2012-02-28 David S. Miller <davem@davemloft.net>
27426 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27427 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27428 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27429 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27430 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27431 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27433 2012-02-29 Joseph Myers <joseph@codesourcery.com>
27435 * math/libm-test.inc (llround_test): Move one test from
27436 lround_test. Use TEST_f_L in moved test.
27437 (lround_test): Move misplaced test to llround_test. Add testcase
27440 2012-02-28 Ulrich Drepper <drepper@gmail.com>
27442 * sysdeps/x86_64/fpu/e_expf.S: New file.
27443 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27445 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
27448 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27449 of remain_len that may cause incomplete multi-byte character and
27451 * posix/bug-regex33.c: New file.
27452 * posix/Makefile (tests): Add bug-regex33.
27454 2012-02-28 Joseph Myers <joseph@codesourcery.com>
27456 * manual/macros.texi: New file.
27457 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27458 * manual/libc.texinfo: Include macros.texi.
27459 * manual/creatute.texi: Likewise.
27460 * manual/install.texi: Likewise.
27461 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27462 @glibcadj{} in references to the GNU C Library.
27463 * manual/charset.texi: Likewise.
27464 * manual/conf.texi: Likewise.
27465 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27466 when not using those macros.
27467 * manual/creature.texi: Likewise.
27468 * manual/crypt.texi: Likewise.
27469 * manual/errno.texi: Likewise.
27470 * manual/filesys.texi: Likewise.
27471 * manual/header.texi: Likewise.
27472 * manual/install.texi: Likewise.
27473 * manual/intro.texi: Likewise.
27474 * manual/io.texi: Likewise.
27475 * manual/job.texi: Likewise.
27476 * manual/lang.texi: Likewise.
27477 * manual/libc.texiinfo: Likewise.
27478 * manual/llio.texi: Likewise.
27479 * manual/locale.texi: Likewise.
27480 * manual/maint.texi: Likewise.
27481 * manual/math.texi: Likewise.
27482 * manual/memory.texi: Likewise.
27483 * manual/message.texi: Likewise.
27484 * manual/nss.texi: Likewise.
27485 * manual/pattern.texi: Likewise.
27486 * manual/process.texi: Likewise.
27487 * manual/resource.texi: Likewise.
27488 * manual/search.texi: Likewise.
27489 * manual/setjmp.texi: Likewise.
27490 * manual/signal.texi: Likewise.
27491 * manual/socket.texi: Likewise.
27492 * manual/startup.texi: Likewise.
27493 * manual/stdio.texi: Likewise.
27494 * manual/string.texi: Likewise.
27495 * manual/sysinfo.texi: Likewise.
27496 * manual/syslog.texi: Likewise.
27497 * manual/terminal.texi: Likewise.
27498 * manual/time.texi: Likewise.
27499 * manual/users.texi: Likewise.
27500 * INSTALL: Regenerated.
27501 * NOTES: Regenerated.
27502 * sysdeps/gnu/errlist.c: Regenerated.
27504 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27506 * include/dirent.h: Include <dirstream.h> before
27509 2012-02-28 David S. Miller <davem@davemloft.net>
27511 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27512 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27513 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27514 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27516 2012-02-27 David S. Miller <davem@davemloft.net>
27518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27519 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27520 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27521 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27523 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27524 frame pointer instead of stack pointer relative arg slot.
27525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27526 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27527 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27529 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27532 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27534 2012-02-27 David S. Miller <davem@davemloft.net>
27536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27540 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27541 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27542 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27543 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27545 2012-02-27 Joseph Myers <joseph@codesourcery.com>
27547 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27548 later. Allow versions 5-9.
27549 * configure: Regenerated.
27550 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27551 required minimum version and 4.6 as recommended version. Do not
27552 mention bugs in GCC 2.7 and 2.8.
27553 * INSTALL: Regenerated.
27555 2012-02-27 David S. Miller <davem@davemloft.net>
27557 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27558 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27559 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27560 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27561 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27562 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27563 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27564 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27566 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27567 manipulate bits before adding and subtracting TWO112[sx].
27568 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27570 2012-02-27 Roland McGrath <roland@hack.frob.com>
27573 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27574 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27575 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27576 being in POSIX, because they are in 1003.1-2008.
27578 * rt/tst-aio.c: Include <fcntl.h>.
27579 * rt/tst-aio7.c: Likewise.
27580 * rt/tst-aio64.c: Likewise.
27582 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27584 2012-02-27 Joseph Myers <joseph@codesourcery.com>
27586 * manual/install.texi (--with-headers): Describe headers as
27587 interface headers, not private headers.
27588 (Specific advice for GNU/Linux systems): Describe use of headers
27589 from "make headers_install", not private headers from older
27591 * INSTALL: Regenerated.
27592 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27594 * sysdeps/unix/sysv/linux/configure: Regenerated.
27596 * manual/llio.texi (fclean): Remove documentation.
27598 * manual/Makefile (libc-texi-generated): New variable. Include
27600 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27601 $(libc-texi-generated), not duplicated list of files.
27602 (version.texi, stamp-version): New rules.
27603 (realclean): Remove $(libc-texi-generated), not individual files
27604 from that list. Do not remove dir-add.texinfo.
27605 * manual/libc.texinfo: Comment out uses of edition numbers and
27606 references to printed manual. Remove last-updated dates.
27607 (EDITION): Comment out.
27609 (VERSION, UPDATED): Remove.
27610 (version.texi): Include.
27612 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27614 * sysdeps/posix/spawni.c: Include <signal.h>.
27615 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27616 * sysdeps/pthread/aio_fsync.c: Likewise.
27618 2012-02-26 Ulrich Drepper <drepper@gmail.com>
27620 * conform/Makefile (tests): Run only when not cross-compiling and
27621 when fast-check is not defined.
27623 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27624 * conform/data/limits.h-data: Fixes for POSIX2008.
27625 * conform/run-conformtest.sh: Run all tests.
27626 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27628 * include/bits/dlfcn.h: Likewise.
27629 * include/langinfo.h: Likewise.
27630 * include/monetary.h: Likewise.
27631 * include/sys/poll.h: Likewise.
27633 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27635 * posix/spawn.h: Define __need_sigset_t.
27636 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27637 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27638 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27639 to get sigevent_t only.
27640 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27641 only for __USE_GNU.
27642 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27643 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27644 process_vm_writev only for __USE_GNU.
27645 * termios/termios.h: Declare tcgetsid also for POSIX2008.
27647 * conform/Makefile: For now ignore errors from run-conformtest.
27648 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27649 POSIX to avoid namespace pollution. Don't prepend headers.
27650 * conform/data/aio.h-data: Fixes for POSIX testing.
27651 * conform/data/fcntl.h-data: Likewise.
27652 * conform/data/glob.h-data: Likewise.
27653 * conform/data/grp.h-data: Likewise.
27654 * conform/data/pthread.h-data: Likewise.
27655 * conform/data/pwd.h-data: Likewise.
27656 * conform/data/signal.h-data: Likewise.
27657 * conform/data/spawn.h-data: Likewise.
27658 * conform/data/stdio.h-data: Likewise.
27659 * conform/data/stdlib.h-data: Likewise.
27660 * conform/data/stropts.h-data: Likewise.
27661 * conform/data/sys/mman.h-data: Likewise.
27662 * conform/data/sys/stat.h-data: Likewise.
27663 * conform/data/sys/types.h-data: Likewise.
27664 * conform/data/sys/wait.h-data: Likewise.
27665 * conform/data/time.h-data: Likewise.
27666 * conform/data/unistd.h-data: Likewise.
27667 * conform/data/utime.h-data: Likewise.
27669 * io/sys/stat.h: fchmod was always in POSIX.
27670 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27671 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27672 * rt/aio.h: Define __need_timespec before including <time.h>.
27673 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27674 struct. Add forward declaration of pthread_attr_t and use it in
27676 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27677 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27678 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27679 always remove CLK_TCK definition.
27681 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27683 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27685 2012-02-25 Ulrich Drepper <drepper@gmail.com>
27687 * conform/run-conformtest.sh: New file.
27688 * conform/Makefile: Run run-conformtest for tests.
27689 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27692 * conform/data/uchar.h-data: New file.
27693 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27694 * conform/data/arpa/inet.h-data: Likewise.
27695 * conform/data/assert.h-data: Likewise.
27696 * conform/data/complex.h-data: Likewise.
27697 * conform/data/cpio.h-data: Likewise.
27698 * conform/data/ctype.h-data: Likewise.
27699 * conform/data/dirent.h-data: Likewise.
27700 * conform/data/dlfcn.h-data: Likewise.
27701 * conform/data/errno.h-data: Likewise.
27702 * conform/data/fcntl.h-data: Likewise.
27703 * conform/data/float.h-data: Likewise.
27704 * conform/data/fmtmsg.h-data: Likewise.
27705 * conform/data/fnmatch.h-data: Likewise.
27706 * conform/data/ftw.h-data: Likewise.
27707 * conform/data/glob.h-data: Likewise.
27708 * conform/data/grp.h-data: Likewise.
27709 * conform/data/iconv.h-data: Likewise.
27710 * conform/data/inttypes.h-data: Likewise.
27711 * conform/data/langinfo.h-data: Likewise.
27712 * conform/data/libgen.h-data: Likewise.
27713 * conform/data/limits.h-data: Likewise.
27714 * conform/data/locale.h-data: Likewise.
27715 * conform/data/math.h-data: Likewise.
27716 * conform/data/monetary.h-data: Likewise.
27717 * conform/data/mqueue.h-data: Likewise.
27718 * conform/data/ndbm.h-data: Likewise.
27719 * conform/data/net/if.h-data: Likewise.
27720 * conform/data/netdb.h-data: Likewise.
27721 * conform/data/netinet/in.h-data: Likewise.
27722 * conform/data/nl_types.h-data: Likewise.
27723 * conform/data/poll.h-data: Likewise.
27724 * conform/data/pthread.h-data: Likewise.
27725 * conform/data/pwd.h-data: Likewise.
27726 * conform/data/regex.h-data: Likewise.
27727 * conform/data/sched.h-data: Likewise.
27728 * conform/data/search.h-data: Likewise.
27729 * conform/data/semaphore.h-data: Likewise.
27730 * conform/data/setjmp.h-data: Likewise.
27731 * conform/data/signal.h-data: Likewise.
27732 * conform/data/spawn.h-data: Likewise.
27733 * conform/data/stdarg.h-data: Likewise.
27734 * conform/data/stdio.h-data: Likewise.
27735 * conform/data/stdlib.h-data: Likewise.
27736 * conform/data/string.h-data: Likewise.
27737 * conform/data/strings.h-data: Likewise.
27738 * conform/data/stropts.h-data: Likewise.
27739 * conform/data/sys/ipc.h-data: Likewise.
27740 * conform/data/sys/mman.h-data: Likewise.
27741 * conform/data/sys/msg.h-data: Likewise.
27742 * conform/data/sys/resource.h-data: Likewise.
27743 * conform/data/sys/select.h-data: Likewise.
27744 * conform/data/sys/sem.h-data: Likewise.
27745 * conform/data/sys/shm.h-data: Likewise.
27746 * conform/data/sys/socket.h-data: Likewise.
27747 * conform/data/sys/stat.h-data: Likewise.
27748 * conform/data/sys/statvfs.h-data: Likewise.
27749 * conform/data/sys/time.h-data: Likewise.
27750 * conform/data/sys/timeb.h-data: Likewise.
27751 * conform/data/sys/times.h-data: Likewise.
27752 * conform/data/sys/types.h-data: Likewise.
27753 * conform/data/sys/uio.h-data: Likewise.
27754 * conform/data/sys/un.h-data: Likewise.
27755 * conform/data/sys/utsname.h-data: Likewise.
27756 * conform/data/sys/wait.h-data: Likewise.
27757 * conform/data/syslog.h-data: Likewise.
27758 * conform/data/tar.h-data: Likewise.
27759 * conform/data/termios.h-data: Likewise.
27760 * conform/data/utime.h-data: Likewise.
27761 * conform/data/utmpx.h-data: Likewise.
27762 * conform/data/varargs.h-data: Likewise.
27763 * conform/data/wchar.h-data: Likewise.
27764 * conform/data/wctype.h-data: Likewise.
27765 * conform/data/wordexp.h-data: Likewise.
27767 * include/stropts.h: New file.
27768 * include/uchar.h: New file.
27769 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27770 * include/assert.h: Likewise.
27771 * include/ctype.h: Likewise.
27772 * include/dirent.h: Likewise.
27773 * include/dlfcn.h: Likewise.
27774 * include/fcntl.h: Likewise.
27775 * include/fnmatch.h: Likewise.
27776 * include/glob.h: Likewise.
27777 * include/grp.h: Likewise.
27778 * include/libio.h: Likewise.
27779 * include/locale.h: Likewise.
27780 * include/math.h: Likewise.
27781 * include/net/if.h: Likewise.
27782 * include/netdb.h: Likewise.
27783 * include/netinet/in.h: Likewise.
27784 * include/pthread.h: Likewise.
27785 * include/pwd.h: Likewise.
27786 * include/regex.h: Likewise.
27787 * include/sched.h: Likewise.
27788 * include/search.h: Likewise.
27789 * include/setjmp.h: Likewise.
27790 * include/signal.h: Likewise.
27791 * include/stdio.h: Likewise.
27792 * include/stdlib.h: Likewise.
27793 * include/string.h: Likewise.
27794 * include/sys/cdefs.h: Likewise.
27795 * include/sys/mman.h: Likewise.
27796 * include/sys/msg.h: Likewise.
27797 * include/sys/resource.h: Likewise.
27798 * include/sys/select.h: Likewise.
27799 * include/sys/socket.h: Likewise.
27800 * include/sys/stat.h: Likewise.
27801 * include/sys/statvfs.h: Likewise.
27802 * include/sys/time.h: Likewise.
27803 * include/sys/times.h: Likewise.
27804 * include/sys/uio.h: Likewise.
27805 * include/sys/utsname.h: Likewise.
27806 * include/sys/wait.h: Likewise.
27807 * include/termios.h: Likewise.
27808 * include/time.h: Likewise.
27809 * include/ulimit.h: Likewise.
27810 * include/unistd.h: Likewise.
27811 * include/utime.h: Likewise.
27812 * include/wchar.h: Likewise.
27813 * include/wctype.h: Likewise.
27814 * include/wordexp.h: Likewise.
27816 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27818 * time/time.h: TIME_UTC must be a macro.
27819 Make timespec_get available for ISO C11 only as well.
27821 2012-02-24 Ulrich Drepper <drepper@gmail.com>
27823 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27824 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27826 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27828 * configure.in: Use -o not -a in test for unsupported multi-arch.
27830 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27832 * manual/texinfo.tex: Update to version 2012-01-19.16.
27834 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27836 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27838 2012-02-24 Roland McGrath <roland@hack.frob.com>
27841 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27842 * manual/fdl-1.3.texi: New file.
27843 * manual/fdl-1.1.texi: File removed.
27846 * manual/libc.texinfo (FDL_VERSION): New @set.
27847 Use it for mention of FDL in cover text.
27848 (Documentation License): Use it in @include file name.
27850 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27851 Roland McGrath <roland@hack.frob.com>
27854 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27855 not LONG_LONG_MAX and LONG_LONG_MIN.
27856 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27857 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
27859 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27861 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27865 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27866 manipulate bits before adding and subtracting TWO23[sx].
27867 * math/libm-test.inc (nearbyint_test): Add more tests.
27869 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27872 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27873 bits before adding and subtracting TWO23[sx].
27874 * math/libm-test.inc (rint_test): Add more tests.
27875 (rint_test_tonearest): Likewise.
27876 (rint_test_towardzero): Likewise.
27877 (rint_test_downward): Likewise.
27878 (rint_test_upward: Likewise.
27880 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27883 * include/stdc-predef.h: New file. Extracted from features.h.
27884 * include/features.h: Include stdc-predef.h.
27885 * Makefile (headers): Add stdc-predef.h.
27886 * CONFORMANCE (Compiler limitations): Update.
27888 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27890 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27892 2012-02-21 David S. Miller <davem@davemloft.net>
27894 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27895 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27897 2012-02-20 David S. Miller <davem@davemloft.net>
27899 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27900 using a normal save/restore sequence, rather than allocating a
27901 dummy stack frame just to store a frame pointer and restore.
27902 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27904 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27906 * manual/install.texi: Fix stray word in line-wrapped comment.
27908 2012-02-20 David S. Miller <davem@davemloft.net>
27910 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27911 both binutils and gcc support GOTDATA.
27913 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27914 "rd %pc" in the PIC register setup sequences.
27916 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27917 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27918 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27919 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27920 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27921 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27922 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27923 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27924 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27925 (SYSCALL_ERROR_HANDLER): Likewise.
27926 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27927 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27928 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27929 (SYSCALL_ERROR_HANDLER): Likewise.
27931 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27932 (HAVE_GCC_GOTDATA): New.
27933 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27934 relocation support in both binutils and gcc.
27935 * sysdeps/sparc/elf/configure: Regenerate.
27937 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27938 * sysdeps/sparc/sparc32/elf/configure: Delete.
27939 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
27940 * sysdeps/sparc/sparc64/elf/configure: Delete.
27941 * sysdeps/sparc/elf/configure.in: New file.
27942 * sysdeps/sparc/elf/configure: Generate.
27944 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
27945 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
27946 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27947 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
27948 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
27950 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27952 * manual/install.texi: Do not mention specific glibc version
27954 * manual/libc.texinfo (VERSION, UPDATED): Update.
27955 (@copying): Use @copyright{} and range of years.
27957 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27960 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
27961 [crti.S not in sysdirs] (generated): Do not append.
27962 [crti.S not in sysdirs] (omit-deps): Likewise.
27963 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
27964 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
27965 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
27966 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
27967 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
27969 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
27970 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
27971 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
27972 * csu/defs.awk: Remove file.
27973 * sysdeps/generic/initfini.c: Likewise.
27974 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
27976 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27979 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27981 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
27982 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
27983 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
27984 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
27985 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
27986 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
27988 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27989 (__EPOLL_PACKED): Define to empty if not defined by
27991 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27992 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27995 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27997 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
27998 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
27999 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28000 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28002 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28006 2012-02-20 Joseph Myers <joseph@codesourcery.com>
28008 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28010 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28011 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28012 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28013 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28015 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
28017 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28018 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28020 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
28022 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28023 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28025 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28027 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28030 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
28032 * math/w_acos.c: Use non-signaling floating-point comparisons.
28033 * math/w_acosf.c: Likewise.
28034 * math/w_acosh.c: Likewise.
28035 * math/w_acoshf.c: Likewise.
28036 * math/w_acoshl.c: Likewise.
28037 * math/w_acosl.c: Likewise.
28038 * math/w_asin.c: Likewise.
28039 * math/w_asinf.c: Likewise.
28040 * math/w_asinl.c: Likewise.
28041 * math/w_atanh.c: Likewise.
28042 * math/w_atanhf.c: Likewise.
28043 * math/w_atanhl.c: Likewise.
28044 * math/w_exp2.c: Likewise.
28045 * math/w_exp2f.c: Likewise.
28046 * math/w_exp2l.c: Likewise.
28047 * math/w_j0.c: Likewise.
28048 * math/w_j0f.c: Likewise.
28049 * math/w_j0l.c: Likewise.
28050 * math/w_j1.c: Likewise.
28051 * math/w_j1f.c: Likewise.
28052 * math/w_j1l.c: Likewise.
28053 * math/w_jn.c: Likewise.
28054 * math/w_jnf.c: Likewise.
28055 * math/w_log.c: Likewise.
28056 * math/w_log10.c: Likewise.
28057 * math/w_log10f.c: Likewise.
28058 * math/w_log10l.c: Likewise.
28059 * math/w_log2.c: Likewise.
28060 * math/w_log2f.c: Likewise.
28061 * math/w_log2l.c: Likewise.
28062 * math/w_logf.c: Likewise.
28063 * math/w_logl.c: Likewise.
28064 * math/w_sqrt.c: Likewise.
28065 * math/w_sqrtf.c: Likewise.
28066 * math/w_sqrtl.c: Likewise.
28067 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28068 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28069 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28070 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28071 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28073 2012-02-19 Joseph Myers <joseph@codesourcery.com>
28076 * manual/string.texi (strnlen): Use correct parameter name in
28077 equivalent expression.
28079 2012-02-19 Joseph Myers <joseph@codesourcery.com>
28082 * manual/users.texi (seteuid): Consistently use neweuid for
28085 2012-02-19 Joseph Myers <joseph@codesourcery.com>
28088 * manual/nss.texi (Services in the NSS configuration): Correct
28089 list of services in example configuration file.
28091 2012-02-19 Nick Bowler <nbowler@draconx.ca>
28094 * manual/arith.texi: Remove statements about negative zero
28095 behaving identically to zero.
28097 2012-02-18 Joseph Myers <joseph@codesourcery.com>
28100 * manual/install.texi: Do not document upgrading from libc5.
28102 2012-02-18 Joseph Myers <joseph@codesourcery.com>
28105 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28107 2012-02-18 David S. Miller <davem@davemloft.net>
28109 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28110 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28111 %o7 across the call.
28112 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28114 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28115 SETUP_PIC_REG_LEAF.
28116 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28117 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28118 * sysdeps/sparc/crtn.S: Likewise.
28120 2012-02-17 Ulrich Drepper <drepper@gmail.com>
28122 * aout/Makefile: Remove.
28124 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
28127 * manual/examples/argp-ex1.c (main): Format definition in GNU
28129 * manual/examples/argp-ex2.c (main): Likewise.
28130 * manual/examples/argp-ex3.c (main): Likewise.
28131 * manual/examples/argp-ex4.c (main): Likewise.
28132 * manual/examples/longopt.c (main): Use new-style prototype
28134 * manual/examples/strncat.c (main): Specify return type and use
28135 (void) for arguments.
28136 * manual/examples/subopt.c (main): Use char **argv argument.
28138 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28141 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28144 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28147 * manual/string.texi (strchr): Change when strchrnul is
28150 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28153 * manual/locale.texi (setlocale): Document LOCPATH.
28155 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28158 * manual/process.texi (execle): Move @dots{} before last argument.
28160 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
28163 * manual/charset.texi (Generic Charset Conversion): Fix typo
28164 (LC_TYPE -> LC_CTYPE).
28166 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28169 * manual/arith.texi (scalbn): Use @var{} on parameter names.
28170 (scalbnf): Likewise.
28171 (scalbnl): Likewise.
28172 (scalbln): Likewise.
28173 (scalblnf): Likewise.
28174 (scalblnl): Likewise.
28175 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28176 (vwarnx): Likewise.
28179 * manual/filesys.texi (telldir): Use braces around return type.
28180 * manual/llio.texi (mmap): Add space after comma.
28181 (mmap64): Likewise.
28182 * manual/math.texi (jn): Use @var{} on parameter names.
28188 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28190 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28192 (sched_get_priority_min): Remove semicolon on @deftypefun line.
28193 (sched_get_priority_max): Likewise.
28194 * manual/signal.texi (sigvec): Add space after comma.
28195 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28197 (if_indextoname): Likewise.
28198 (if_freenameindex): Likewise.
28199 (sendto): Use ',' instead of '.' in prototype.
28200 * manual/startup.texi (syscall): Use @dots{} instead of literal
28202 * manual/stdio.texi (__fpending): Separate initial words of
28203 paragraph from @deftypefun line.
28204 * manual/syslog.texi (syslog): Use @dots{} instead of literal
28206 (vsyslog): Use @var{} on parameter names.
28207 * manual/terminal.texi (stty): Use @var{} on parameter names.
28208 * manual/users.texi (getutmp): Use @var{} on parameter names.
28209 (getutmpx): Likewise.
28211 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28214 * manual/stdio.texi (fopen): Fix typos in description of
28217 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
28220 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28221 get clock_id definition.
28223 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
28226 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28227 (madvise): Cast every argument to void on its own.
28229 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28232 * manual/startup.texi (Exit Status): Fix typo.
28234 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28237 * manual/examples/argp-ex1.c: Include <stdlib.h>.
28238 * manual/examples/argp-ex2.c: Likewise.
28239 * manual/examples/argp-ex3.c: Likewise.
28241 2012-02-16 Richard Henderson <rth@redhat.com>
28243 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28244 * sysdeps/s390/s390-32/initfini.c: Remove.
28245 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28246 * sysdeps/s390/s390-64/initfini.c: Remove.
28248 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28250 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28251 compiler output for sysdeps/generic/initfini.c.
28252 * sysdeps/sh/elf/initfini.c: Remove file.
28254 2012-02-16 David S. Miller <davem@davemloft.net>
28257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28259 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28260 * sysdeps/sparc/crti.S: New file.
28261 * sysdeps/sparc/crtn.S: New file.
28262 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28263 * sysdeps/sparc/sparc64/Makefile: Likewise.
28265 2012-02-15 Mike Frysinger <vapier@gentoo.org>
28268 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28270 2012-02-15 Roland McGrath <roland@hack.frob.com>
28273 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28275 * mach/devstream.c (cookie_io_functions_t): Macro removed.
28276 (write, read, close): Likewise.
28277 Patch by Aurelien Jarno <aurelien@aurel32.net>.
28279 2012-02-15 Joseph Myers <joseph@codesourcery.com>
28281 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28282 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28283 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28284 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28286 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28290 2012-02-14 Marek Polacek <polacek@redhat.com>
28292 * sysdeps/x86_64/crti.S: New file.
28293 * sysdeps/x86_64/crtn.S: New file.
28294 * sysdeps/x86_64/elf/initfini.c: Remove file.
28296 2012-02-13 Joseph Myers <joseph@codesourcery.com>
28298 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28299 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28300 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28301 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28303 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28304 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28307 2012-02-13 Joseph Myers <joseph@codesourcery.com>
28309 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
28310 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
28311 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
28312 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
28314 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28315 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28318 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
28320 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28321 __feraiseexcept instead of feraiseexcept.
28323 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
28324 nanosleep invocations.
28325 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
28326 strings, and add error checking for a nanosleep invocations.
28328 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
28330 Replace FSF snail mail address with URLs, as per GNU coding standards.
28331 Most of the snail mail addresses were wrong anyway, and omitting
28332 them makes the source code easier to maintain. Almost all of the
28333 changes are to license notices and to locale LC_IDENTIFICATION
28334 addresses, except for this one:
28335 * manual/libc.texinfo: In "Published by", give the FSF's URL,
28336 not its snail mail address.
28338 2012-02-09 Richard Henderson <rth@twiddle.net>
28340 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28341 of kernel-features.h.
28343 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28345 2012-02-08 Marek Polacek <polacek@redhat.com>
28347 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28348 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28349 * sysdeps/gnu/_G_config.h: Likewise.
28350 * sysdeps/generic/_G_config.h: Likewise.
28352 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
28354 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28358 * sysdeps/powerpc/powerpc32/crti.S: New file.
28359 * sysdeps/powerpc/powerpc32/crtn.S: New file.
28360 * sysdeps/powerpc/powerpc64/crti.S: New file.
28361 * sysdeps/powerpc/powerpc64/crtn.S: New file.
28363 * Makeconfig (have-initfini): Don't set.
28364 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28365 * configure.in (nopic_initfini): Don't substitute.
28366 * config.h.in (HAVE_INITFINI): Don't #undef.
28367 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28368 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28370 2012-02-08 Joseph Myers <joseph@codesourcery.com>
28372 Support crti.S and crtn.S provided directly by architectures.
28373 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28374 [crti.S in sysdirs] (omit-deps): Likewise.
28375 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28376 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28377 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28378 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28379 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28380 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28381 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28382 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28383 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28384 compiler output for sysdeps/generic/initfini.c.
28385 * sysdeps/i386/elf/Makefile: Remove file.
28386 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28388 2012-02-07 Marek Polacek <polacek@redhat.com>
28390 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28391 * sysdeps/gnu/_G_config.h: Likewise.
28392 * sysdeps/mach/hurd/_G_config.h: Likewise.
28394 2012-02-07 Marek Polacek <polacek@redhat.com>
28396 * math/Makefile (tests): Add tst-CMPLX2.
28397 * math/tst-CMPLX2.c: New file.
28399 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
28401 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28403 * math/libm-test.inc (jn_test): Add missing L suffix.
28405 2012-02-06 Marek Polacek <polacek@redhat.com>
28407 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28408 * sysdeps/i386/fpu/e_powf.S: Likewise.
28409 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28410 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28411 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28412 * sysdeps/i386/fpu/e_pow.S: Likewise.
28413 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28414 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28415 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28416 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28417 * sysdeps/i386/fpu/e_log2.S: Likewise.
28418 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28419 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28420 * sysdeps/i386/fpu/e_powl.S: Likewise.
28421 * sysdeps/i386/fpu/s_log1p.S: Likewise.
28422 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28423 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28424 * sysdeps/i386/fpu/e_logl.S: Likewise.
28425 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28426 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28427 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28428 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28429 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28430 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28431 * sysdeps/i386/fpu/e_log.S: Likewise.
28432 * sysdeps/i386/fpu/s_cexp.S: Likewise.
28433 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28434 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28435 * sysdeps/i386/fpu/e_logf.S: Likewise.
28436 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28437 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28438 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28439 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28440 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28441 * sysdeps/i386/fpu/e_log10.S: Likewise.
28442 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28443 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28444 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28445 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28446 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28447 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28448 * sysdeps/i386/asm-syntax.h: Likewise.
28449 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28450 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28451 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28452 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28453 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28454 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28455 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28456 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28457 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28458 * sysdeps/powerpc/sysdep.h: Likewise.
28459 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28460 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28462 2012-02-06 Joseph Myers <joseph@codesourcery.com>
28465 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28467 2012-02-06 Joseph Myers <joseph@codesourcery.com>
28469 * sysdeps/i386/sysdep.h: Include <features.h>.
28470 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28473 2012-02-05 Joseph Myers <joseph@codesourcery.com>
28475 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28477 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28480 2012-02-03 Joseph Myers <joseph@codesourcery.com>
28482 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28483 (SETUP_PIC_REG): Use GET_PC_THUNK.
28484 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28487 2012-02-03 Joseph Myers <joseph@codesourcery.com>
28489 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28490 for non-PIC compilation.
28491 (SETUP_PIC_REG): Add .p2align directive.
28492 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28493 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28494 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28495 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28496 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28497 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28498 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28499 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28500 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28501 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28502 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28503 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28504 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28505 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28506 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28507 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28508 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28509 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28510 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28511 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28512 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28513 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28514 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28515 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28516 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28517 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28518 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28519 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28520 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28521 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28522 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28523 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28524 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28525 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28526 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28527 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28528 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28529 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28530 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28531 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28532 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28534 2012-02-03 Joseph Myers <joseph@codesourcery.com>
28536 * math/tst-CMPLX.c: Include <stdio.h>.
28538 2012-01-31 Joseph Myers <joseph@codesourcery.com>
28540 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28542 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28543 * sysdeps/sparc/bits/mathdef.h: Likewise.
28545 2012-01-31 Marek Polacek <polacek@redhat.com>
28547 * libio/libio.h: Don't define _PARAMS.
28548 * locale/programs/config.h: Don't define PARAMS.
28549 * stdlib/strtol_l.c: Likewise.
28550 (__strtol_l): Remove PARAMS from the prototype.
28552 2012-01-31 Ulrich Drepper <drepper@gmail.com>
28554 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28555 names. Just use the correct names. Remove unnecessary wrapper
28557 * malloc/arena.c: Likewise.
28558 * malloc/hooks.c: Likewise.
28560 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28561 ARENA_TEST says not to. Simplify test for creation of a new arena.
28562 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28564 2012-01-30 Ulrich Drepper <drepper@gmail.com>
28566 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28568 (update_get_addr): New function.
28569 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28570 GET_ADDR_MODULE parameter.
28572 2012-01-30 Joseph Myers <joseph@codesourcery.com>
28574 * crypt/cert.c: Remove __STDC__ conditionals.
28575 * crypt/crypt-entry.c: Likewise.
28576 * crypt/crypt_util.c: Likewise.
28577 * libio/filedoalloc.c: Likewise.
28578 * libio/fileops.c: Likewise.
28579 * libio/genops.c: Likewise.
28580 * libio/iofclose.c: Likewise.
28581 * libio/iofdopen.c: Likewise.
28582 * libio/iofopen.c: Likewise.
28583 * libio/iofopen64.c: Likewise.
28584 * libio/iogetdelim.c: Likewise.
28585 * libio/iopopen.c: Likewise.
28586 * libio/obprintf.c: Likewise.
28587 * libio/oldfileops.c: Likewise.
28588 * libio/oldiofclose.c: Likewise.
28589 * libio/oldiofdopen.c: Likewise.
28590 * libio/oldiofopen.c: Likewise.
28591 * libio/oldiopopen.c: Likewise.
28592 * libio/wfiledoalloc.c: Likewise.
28593 * libio/wgenops.c: Likewise.
28594 * locale/programs/xmalloc.c: Likewise.
28595 * misc/syslog.c: Likewise.
28596 * stdio-common/xbug.c: Likewise.
28597 * string/memchr.c: Likewise.
28598 * string/memcmp.c: Likewise.
28599 * string/memrchr.c: Likewise.
28600 * string/rawmemchr.c: Likewise.
28601 * sysdeps/posix/getcwd.c: Likewise.
28602 * time/strftime_l.c: Likewise.
28604 2012-01-30 Joseph Myers <joseph@codesourcery.com>
28606 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
28607 * config.make.in (config-cflags-sse2avx): Define.
28608 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28611 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28613 * scripts/config.guess: Update from upstream config git repository.
28614 * scripts/config.sub: Likewise.
28616 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28618 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28620 (R_TILEPRO_*, R_TILEGX_*): New macros.
28622 * scripts/firstversions.awk: Fix bug in version range handling.
28624 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28626 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28628 * include/sys/epoll.h: New file.
28629 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28632 2012-01-28 Ulrich Drepper <drepper@gmail.com>
28634 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28635 Avoid unnecessary __WORDSIZE == 64 test.
28636 (fmaxf): Use VEX format if possible.
28641 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28642 * math/math_private.h: Remove libc_fegetround* and
28644 * sysdeps/i386/configure.in: Check for -msse2avx.
28645 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28646 also if SSE2AVX is defined.
28647 Remove libc_fegetround* and libc_fesetround*.
28648 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28649 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28650 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28652 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28653 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28654 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28655 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28656 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28658 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28660 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28662 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28664 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28666 2012-01-27 Ulrich Drepper <drepper@gmail.com>
28669 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28671 * Makeconfig (libm): Define.
28672 * elf/Makefile: Add rules to build and run tst-relsort1.
28673 * elf/tst-relsort1.c: New file.
28674 * elf/tst-relsort1mod1.c: New file.
28675 * elf/tst-relsort1mod2.c: New file.
28677 2012-01-27 Joseph Myers <joseph@codesourcery.com>
28679 * math/s_ldexp.c: Remove __STDC__ conditionals.
28680 * math/s_ldexpf.c: Likewise.
28681 * math/s_ldexpl.c: Likewise.
28682 * math/s_nextafter.c: Likewise.
28683 * math/s_nexttowardf.c: Likewise.
28684 * math/s_significand.c: Likewise.
28685 * math/s_significandf.c: Likewise.
28686 * math/s_significandl.c: Likewise.
28687 * math/w_jnl.c: Likewise.
28688 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28689 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28690 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28691 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28692 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28693 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28694 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28695 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28696 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28697 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28698 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28699 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28700 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28701 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28702 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28703 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28704 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28705 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28706 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28707 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28708 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28709 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28710 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28711 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28712 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28713 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28714 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28715 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28716 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28717 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28718 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28719 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28720 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28721 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28722 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28723 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28724 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28725 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28726 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28727 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28728 * sysdeps/ieee754/k_standard.c: Likewise.
28729 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28730 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28731 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28732 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28733 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28734 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28735 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28736 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28737 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28738 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28739 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28740 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28741 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28742 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28743 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28744 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28745 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28746 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28747 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28748 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28749 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28750 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28751 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28752 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28753 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28754 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28755 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28756 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28757 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28758 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28759 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28760 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28761 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28762 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28763 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28764 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28765 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28766 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28767 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28768 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28769 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28770 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28771 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28772 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28773 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28774 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28775 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28776 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28777 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28778 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28779 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28780 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28781 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28782 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28783 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28784 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28785 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28786 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28787 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28788 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28789 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28790 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28791 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28792 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28793 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28794 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28795 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28796 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28797 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28798 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28799 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28800 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28801 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28802 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28803 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28804 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28805 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28806 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28807 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28808 * sysdeps/ieee754/s_matherr.c: Likewise.
28809 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28810 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28811 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28812 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28814 2012-01-26 Joseph Myers <joseph@codesourcery.com>
28816 * crypt/md5.h: Remove __STDC__ conditionals.
28817 * libio/libioP.h: Likewise.
28818 * locale/programs/config.h: Likewise.
28819 * sysdeps/generic/sysdep.h: Likewise.
28820 * sysdeps/i386/asm-syntax.h: Likewise.
28821 * sysdeps/s390/asm-syntax.h: Likewise.
28822 * sysdeps/unix/sysdep.h: Likewise.
28823 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28824 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28826 2012-01-26 Joseph Myers <joseph@codesourcery.com>
28828 * libio/libio.h: Remove __STDC__ conditionals.
28829 * malloc/obstack.h: Likewise.
28830 * math/complex.h: Likewise.
28831 * math/math.h: Likewise.
28832 * sysdeps/generic/_G_config.h: Likewise.
28833 * sysdeps/gnu/_G_config.h: Likewise.
28834 * sysdeps/mach/hurd/_G_config.h: Likewise.
28835 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28836 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28837 * sysdeps/sparc/bits/mathdef.h: Likewise.
28839 2012-01-26 Ulrich Drepper <drepper@gmail.com>
28842 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
28843 Clean up HAS_* macros.
28844 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
28845 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28847 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28849 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28850 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28851 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28852 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28853 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28855 2012-01-25 Joseph Myers <joseph@codesourcery.com>
28857 * elf/tst-unique3.cc (gets): Remove declaration.
28858 * elf/tst-unique3lib.cc (gets): Likewise.
28859 * elf/tst-unique3lib2.cc (gets): Likewise.
28860 * elf/tst-unique4.cc (gets): Likewise.
28862 2012-01-24 Ulrich Drepper <drepper@gmail.com>
28864 * include/stdio.h: Add C++ protection. Add gets declarations and
28866 * debug/tst-chk1.c: Don't declare gets here.
28867 * stdio-common/tst-gets.c: Likewise.
28869 2012-01-24 Joseph Myers <joseph@codesourcery.com>
28871 * posix/glob: Remove directory.
28873 2012-01-24 Joseph Myers <joseph@codesourcery.com>
28875 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28877 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28879 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28880 of the non-standard EPFNOSUPPORT.
28882 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28884 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28885 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28886 ANYWHERE set to 1 only on KERN_NO_SPACE error.
28888 2012-01-21 Ulrich Drepper <drepper@gmail.com>
28890 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28892 2012-01-20 Ulrich Drepper <drepper@gmail.com>
28894 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28896 * nscd/grpcache.c (cache_addgr): Likewise.
28897 * nscd/hstcache.c (cache_addhst): Likewise.
28898 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28899 * nscd/pwdcache.c (cache_addpw): Likewise.
28900 * nscd/servicescache.c (cache_addserv): Likewise.
28902 2012-01-16 Ulrich Drepper <drepper@gmail.com>
28904 * malloc/malloc.c: Various cleanups.
28905 * malloc/hooks.c: Likewise.
28907 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28908 * stdlib/bug-fmtmsg1.c: New file.
28910 * stdlib/fmtmsg.c (init): Add missing unlock.
28911 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28913 2012-01-12 Marek Polacek <polacek@redhat.com>
28915 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28918 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28920 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28921 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28922 macro to ensure uniqueness of label name.
28923 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28924 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28926 2012-01-11 Ulrich Drepper <drepper@gmail.com>
28928 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28930 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28931 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28932 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28933 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28935 2012-01-10 Ulrich Drepper <drepper@gmail.com>
28937 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28939 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
28940 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
28941 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
28943 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28945 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
28946 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
28947 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
28948 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
28950 * math/bits/math-finite.h: Add ldexp support.
28952 2012-01-10 Marek Polacek <polacek@redhat.com>
28954 * locale/programs/localedef.h (show_archive_content): Add noreturn
28957 2012-01-09 Ulrich Drepper <drepper@gmail.com>
28959 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28961 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28963 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28965 * io/Makefile (headers): Add bits/poll2.h.
28967 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28970 typo #include statement.
28972 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28974 * include/sys/cdefs.h: Define __attribute_alloc_size.
28975 * catgets/gencat.c: Add alloc_size attribute and apply consistently
28976 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
28977 * elf/pldd.c: Likewise.
28978 * iconv/iconv_charmap.c: Likewise.
28979 * iconv/iconvconfig.c: Likewise.
28980 * iconv/strtab.c: Likewise.
28981 * locale/programs/locale.c: Likewise.
28982 * locale/programs/localedef.h: Likewise.
28983 * locale/programs/simple-hash.c: Likewise.
28984 * nscd/nscd.h: Likewise.
28985 * nss/makedb.c: Likewise.
28986 * sysdeps/generic/ldconfig.h: Likewise.
28987 * locale/programs/localedef.c: Remove xmalloc prototype.
28988 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
28990 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28992 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28995 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28997 * math/Makefile (tests): Add tst-CMPLX.
28998 * math/tst-CMPLX.c: New file.
29000 * math/complex.h (CMPLXL): Fix typo.
29002 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29003 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29005 * debug/tst-chk1.c: Add poll and ppoll tests.
29006 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29007 * include/sys/poll.h: Add hidden proto for ppoll.
29008 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29009 * sysdeps/mach/hurd/ppoll.c: Likewise.
29010 * io/ppoll.c: Likewise.
29011 * debug/poll_chk.c: New file.
29012 * debug/ppoll_chk.c: New file.
29013 * include/bits/poll2.h: New file.
29014 * io/bits/poll2.h: New file.
29017 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29019 * configure.in: static is always set to yes. Remove.
29020 * config.make.in: Don't set build-static.
29021 * Makeconfig: Remove use of build-static.
29022 * dlfcn/Makefile: Likewise.
29023 * elf/Makefile: Likewise.
29024 * math/Makefile: Likewise.
29025 * misc/Makefile: Likewise.
29026 * nptl/Makefile: Likewise.
29027 * sysdeps/mach/hurd/Makefile: Likewise.
29029 * configure.in: PWD_P is not used anymore.
29030 * config.make.in: Remove PWD_P entry.
29032 * configure.in: Remove last remnants of RANLIB.
29033 No need to check for signed size_t anymore.
29034 Don't set libc_commonpagesize and libc_relro_required here for Alpha
29036 Remove __builtin_expect test because we require at least gcc 3.4.
29037 * aclocal.m4: Likewise.
29039 * wcsmbs/mbrtoc16.c: Implement using towc function.
29040 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29041 * wcsmbs/wcsmbsload.c: Likewise.
29042 * iconv/gconv_simple.c: Likewise.
29043 * iconv/gconv_int.h: Likewise.
29044 * iconv/gconv_builtin.h: Likewise.
29045 * iconv/iconv_prog.c: Remove CHAR16 handling.
29047 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29049 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29051 * configure.in: Remove --with-elf and --enable-bounded options.
29052 Dont set base_machine for ia64. More non-ELF conditions removed.
29053 Remove testing and setting of leading underscore information.
29054 * config.make.in (build-bounded): Set to no.
29055 * config.h.in: Remove NO_UNDERSCORES entry.
29056 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
29058 * csu/start.c: Remove !NO_UNDERSCORE code.
29059 * locale/localeinfo.h: Likewise.
29060 * sysdeps/generic/machine-gmon.h: Likewise.
29061 * sysdeps/generic/sysdep.h: Likewise.
29062 * sysdeps/i386/sysdep.h: Likewise.
29063 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29064 * sysdeps/mach/sysdep.h: Likewise.
29065 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29066 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29067 * sysdeps/sh/sysdep.h: Likewise.
29068 * sysdeps/sparc/sparc32/alloca.S: Likewise.
29069 * sysdeps/unix/i386/sysdep.S: Likewise.
29070 * sysdeps/unix/sparc/start.c: Likewise.
29071 * sysdeps/unix/sparc/sysdep.S: Likewise.
29072 * sysdeps/unix/sparc/sysdep.h: Likewise.
29073 * sysdeps/unix/start.c: Likewise.
29074 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29075 * sysdeps/x86_64/sysdep.h: Likewise.
29077 2012-01-07 Ulrich Drepper <drepper@gmail.com>
29080 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29082 * argp/argp-fmtstream.h: Use const instead __const.
29083 * argp/argp.h: Likewise.
29084 * assert/assert.h: Likewise.
29085 * bits/fenv.h: Likewise.
29086 * bits/sched.h: Likewise.
29087 * bits/sigset.h: Likewise.
29088 * bits/sigthread.h: Likewise.
29089 * catgets/nl_types.h: Likewise.
29090 * conform/data/pthread.h-data: Likewise.
29091 * crypt/crypt-private.h: Likewise.
29092 * crypt/crypt.h: Likewise.
29093 * crypt/crypt_util.c: Likewise.
29094 * ctype/ctype.h: Likewise.
29095 * debug/execinfo.h: Likewise.
29096 * debug/mbsnrtowcs_chk.c: Likewise.
29097 * debug/mbsrtowcs_chk.c: Likewise.
29098 * debug/wcsnrtombs_chk.c: Likewise.
29099 * debug/wcsrtombs_chk.c: Likewise.
29100 * debug/wcstombs_chk.c: Likewise.
29101 * dirent/dirent.h: Likewise.
29102 * dlfcn/dlfcn.h: Likewise.
29103 * elf/neededtest4.c: Likewise.
29104 * grp/grp.h: Likewise.
29105 * gshadow/gshadow.h: Likewise.
29106 * iconv/gconv.h: Likewise.
29107 * iconv/gconv_int.h: Likewise.
29108 * iconv/gconv_simple.c: Likewise.
29109 * iconv/iconv.h: Likewise.
29110 * iconv/loop.c: Likewise.
29111 * iconv/skeleton.c: Likewise.
29112 * include/aio.h: Likewise.
29113 * include/aliases.h: Likewise.
29114 * include/argz.h: Likewise.
29115 * include/arpa/inet.h: Likewise.
29116 * include/assert.h: Likewise.
29117 * include/dirent.h: Likewise.
29118 * include/dlfcn.h: Likewise.
29119 * include/execinfo.h: Likewise.
29120 * include/fcntl.h: Likewise.
29121 * include/fenv.h: Likewise.
29122 * include/glob.h: Likewise.
29123 * include/grp.h: Likewise.
29124 * include/libintl.h: Likewise.
29125 * include/mntent.h: Likewise.
29126 * include/netdb.h: Likewise.
29127 * include/pwd.h: Likewise.
29128 * include/rpc/netdb.h: Likewise.
29129 * include/sched.h: Likewise.
29130 * include/search.h: Likewise.
29131 * include/shadow.h: Likewise.
29132 * include/signal.h: Likewise.
29133 * include/stdio.h: Likewise.
29134 * include/stdlib.h: Likewise.
29135 * include/string.h: Likewise.
29136 * include/sys/socket.h: Likewise.
29137 * include/sys/stat.h: Likewise.
29138 * include/sys/statfs.h: Likewise.
29139 * include/sys/statvfs.h: Likewise.
29140 * include/sys/syslog.h: Likewise.
29141 * include/sys/time.h: Likewise.
29142 * include/sys/uio.h: Likewise.
29143 * include/time.h: Likewise.
29144 * include/unistd.h: Likewise.
29145 * include/utmp.h: Likewise.
29146 * include/wchar.h: Likewise.
29147 * include/wctype.h: Likewise.
29148 * inet/aliases.h: Likewise.
29149 * inet/arpa/inet.h: Likewise.
29150 * inet/netinet/ether.h: Likewise.
29151 * inet/netinet/in.h: Likewise.
29152 * intl/libintl.h: Likewise.
29153 * io/bits/fcntl2.h: Likewise.
29154 * io/fcntl.h: Likewise.
29155 * io/ftw.h: Likewise.
29156 * io/sys/poll.h: Likewise.
29157 * io/sys/stat.h: Likewise.
29158 * io/sys/statfs.h: Likewise.
29159 * io/sys/statvfs.h: Likewise.
29160 * io/utime.h: Likewise.
29161 * libio/bits/stdio.h: Likewise.
29162 * libio/bits/stdio2.h: Likewise.
29163 * libio/libio.h: Likewise.
29164 * libio/libioP.h: Likewise.
29165 * libio/stdio.h: Likewise.
29166 * locale/lc-ctype.c: Likewise.
29167 * locale/locale.h: Likewise.
29168 * login/utmp.h: Likewise.
29169 * malloc/arena.c: Likewise.
29170 * malloc/malloc.c: Likewise.
29171 * malloc/malloc.h: Likewise.
29172 * malloc/mcheck.c: Likewise.
29173 * malloc/mtrace.c: Likewise.
29174 * math/bits/mathcalls.h: Likewise.
29175 * math/fenv.h: Likewise.
29176 * math/math_private.h: Likewise.
29177 * misc/bits/error.h: Likewise.
29178 * misc/bits/syslog.h: Likewise.
29179 * misc/err.h: Likewise.
29180 * misc/error.h: Likewise.
29181 * misc/fstab.h: Likewise.
29182 * misc/mntent.h: Likewise.
29183 * misc/regexp.h: Likewise.
29184 * misc/search.h: Likewise.
29185 * misc/sgtty.h: Likewise.
29186 * misc/sys/mman.h: Likewise.
29187 * misc/sys/syslog.h: Likewise.
29188 * misc/sys/uio.h: Likewise.
29189 * misc/sys/xattr.h: Likewise.
29190 * misc/ttyent.h: Likewise.
29191 * nis/rpcsvc/ypclnt.h: Likewise.
29192 * nss/nss.h: Likewise.
29193 * posix/bits/unistd.h: Likewise.
29194 * posix/fnmatch.h: Likewise.
29195 * posix/glob.h: Likewise.
29196 * posix/sched.h: Likewise.
29197 * posix/spawn.h: Likewise.
29198 * posix/sys/wait.h: Likewise.
29199 * posix/unistd.h: Likewise.
29200 * posix/wordexp.h: Likewise.
29201 * pwd/pwd.h: Likewise.
29202 * resolv/netdb.h: Likewise.
29203 * resource/sys/resource.h: Likewise.
29204 * rt/aio.h: Likewise.
29205 * rt/bits/mqueue2.h: Likewise.
29206 * rt/mqueue.h: Likewise.
29207 * shadow/shadow.h: Likewise.
29208 * signal/signal.h: Likewise.
29209 * socket/send.c: Likewise.
29210 * socket/sendto.c: Likewise.
29211 * socket/sys/socket.h: Likewise.
29212 * stdio-common/printf.h: Likewise.
29213 * stdlib/bits/stdlib.h: Likewise.
29214 * stdlib/fmtmsg.h: Likewise.
29215 * stdlib/monetary.h: Likewise.
29216 * stdlib/stdlib.h: Likewise.
29217 * stdlib/ucontext.h: Likewise.
29218 * streams/stropts.h: Likewise.
29219 * string/argz.h: Likewise.
29220 * string/bits/string2.h: Likewise.
29221 * string/string.h: Likewise.
29222 * string/strings.h: Likewise.
29223 * sunrpc/rpc/auth.h: Likewise.
29224 * sunrpc/rpc/auth_des.h: Likewise.
29225 * sunrpc/rpc/clnt.h: Likewise.
29226 * sunrpc/rpc/netdb.h: Likewise.
29227 * sunrpc/rpc/pmap_clnt.h: Likewise.
29228 * sunrpc/rpc/xdr.h: Likewise.
29229 * sysdeps/generic/inttypes.h: Likewise.
29230 * sysdeps/generic/net/if.h: Likewise.
29231 * sysdeps/generic/sys/swap.h: Likewise.
29232 * sysdeps/gnu/net/if.h: Likewise.
29233 * sysdeps/gnu/utmpx.h: Likewise.
29234 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29235 * sysdeps/i386/i486/bits/string.h: Likewise.
29236 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29237 * sysdeps/s390/bits/string.h: Likewise.
29238 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29239 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29240 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29241 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29242 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29243 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29244 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29245 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29246 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29247 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29248 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29249 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29250 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29251 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29252 * sysdeps/unix/sysv/linux/readv.c: Likewise.
29253 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29254 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29255 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29256 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29257 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29258 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29259 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29260 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29261 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29262 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29263 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29264 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29265 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29266 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29267 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29268 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29269 * sysvipc/sys/ipc.h: Likewise.
29270 * sysvipc/sys/msg.h: Likewise.
29271 * sysvipc/sys/sem.h: Likewise.
29272 * sysvipc/sys/shm.h: Likewise.
29273 * termios/termios.h: Likewise.
29274 * time/sys/time.h: Likewise.
29275 * time/time.h: Likewise.
29276 * wcsmbs/bits/wchar2.h: Likewise.
29277 * wcsmbs/uchar.h: Likewise.
29278 * wcsmbs/wchar.h: Likewise.
29279 * wctype/wctype.h: Likewise.
29282 * Makeconfig: Remove all but ELF support including AIX support.
29283 * Makerules: Likewise.
29284 * config.h.in: Likewise.
29285 * config.make.in: Likewise.
29286 * configure: Likewise.
29287 * configure.in: Likewise.
29288 * csu/Makefile: Likewise.
29289 * csu/version.c: Likewise.
29290 * debug/Makefile: Likewise.
29291 * dlfcn/Makefile: Likewise.
29292 * elf/Makefile: Likewise.
29293 * extra-lib.mk: Likewise.
29294 * iconv/Makefile: Likewise.
29295 * include/libc-symbols.h: Likewise.
29296 * include/shlib-compat.h: Likewise.
29297 * resolv/Makefile: Likewise.
29298 * resolv/res_libc.c: Likewise.
29299 * rt/Makefile: Likewise.
29300 * sysdeps/i386/asm-syntax.h: Likewise.
29301 * sysdeps/i386/sysdep.h: Likewise.
29302 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29303 * sysdeps/mach/sysdep.h: Likewise.
29304 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29305 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29306 * sysdeps/s390/asm-syntax.h: Likewise.
29307 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29308 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29309 * sysdeps/sh/sysdep.h: Likewise.
29310 * sysdeps/unix/sparc/sysdep.h: Likewise.
29311 * sysdeps/wordsize-32/divdi3.c: Likewise.
29312 * sysdeps/x86_64/sysdep.h: Likewise.
29314 * argp/Versions: Remove _argp_unlock_xxx.
29317 * abilist/ld.abilist: Update. Adjust for removal of tls option.
29318 * abilist/libBrokenLocale.abilist: Likewise.
29319 * abilist/libanl.abilist: Likewise.
29320 * abilist/libc.abilist: Likewise.
29321 * abilist/libcrypt.abilist: Likewise.
29322 * abilist/libdl.abilist: Likewise.
29323 * abilist/libm.abilist: Likewise.
29324 * abilist/libnsl.abilist: Likewise.
29325 * abilist/libpthread.abilist: Likewise.
29326 * abilist/libresolv.abilist: Likewise.
29327 * abilist/librt.abilist: Likewise.
29328 * abilist/libthread_db.abilist: Likewise.
29329 * abilist/libutil.abilist: Likewise.
29330 * abilist/libnss_db.abilist: New file.
29332 * scripts/abilist.awk: Add support for indirect functions.
29334 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29336 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29338 * shlib-versions: Remove entries for ports architectures.
29340 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
29342 * elf/stackguard-macros.h: Remove support for IA-64.
29343 * elf/tst-auditmod1.c: Likewise.
29344 * sysdeps/generic/ldsodefs.h: Likewise.
29346 * sysdeps/unix/sysv/linux/configure.in: Ports should define
29347 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29351 * configure.in: Remove --enable-omitfp support.
29353 * config.make.in: Likewise.
29354 * Makeconfig: Likewise.
29355 * manual/install.texi: Likewise.
29357 In case anyone cares, the IA-64 architecture could move to ports.
29358 * sysdeps/ia64/*: Removed.
29359 * sysdeps/unix/sysv/linux/ia64/*: Removed.
29360 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
29363 * configure.in: Remove entries for unsupported architectures.
29366 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29367 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
29369 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29370 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29371 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
29372 fall back to using wcrtomb.
29373 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29374 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
29376 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29377 * wcsmbs/tst-c16c32-1.c: New file.
29379 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29382 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29384 * elf/tst-unique3.cc: Add explicit declaration of gets.
29385 * elf/tst-unique3lib.cc: Likewise.
29386 * elf/tst-unique3lib2.cc: Likewise.
29387 * elf/tst-unique4.cc: Likewise.
29389 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29391 2012-01-06 Joseph Myers <joseph@codesourcery.com>
29394 * assert/assert.h (static_assert): Don't define for C++.
29395 * libio/stdio.h (gets): Do declare for C++ <= C++11.
29396 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29398 2012-01-03 Ulrich Drepper <drepper@gmail.com>
29400 * iconv/loop.c (single loop): Fix assertion in storing of
29403 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29405 2012-01-01 Ulrich Drepper <drepper@gmail.com>
29407 * posix/getconf.c: Update copyright year.
29408 * nss/getent.c: Likewise.
29409 * nss/makedb.c: Likewise.
29410 * iconv/iconvconfig.c: Likewise.
29411 * iconv/iconv_prog.c: Likewise.
29412 * elf/ldconfig.c: Likewise.
29413 * elf/pldd.c: Likewise.
29414 * elf/sotruss.ksh: Likewise.
29415 * catgets/gencat.c: Likewise.
29416 * csu/version.c: Likewise.
29417 * elf/ldd.bash.in: Likewise.
29418 * elf/sprof.c (print_version): Likewise.
29419 * locale/programs/locale.c: Likewise.
29420 * locale/programs/localedef.c: Likewise.
29421 * login/programs/pt_chown.c: Likewise.
29422 * nscd/nscd.c (print_version): Likewise.
29423 * debug/xtrace.sh: Likewise.
29424 * malloc/memusage.sh: Likewise.
29425 * malloc/mtrace.pl: Likewise.
29426 * debug/catchsegv.sh: Likewise.
29428 2011-12-30 Jakub Jelinek <jakub@redhat.com>
29430 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29433 2011-12-24 Ulrich Drepper <drepper@gmail.com>
29436 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29437 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29439 * iconv/gconv_int.h: Likewise.
29440 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29441 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29442 from libc for GLIBC_2.16.
29443 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29444 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29445 * wcsmbs/uchar.h: Really define mbstate_t.
29446 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29447 * wcsmbs/c16rtomb.c: New file.
29448 * wcsmbs/mbrtoc16.c: New file.
29449 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29450 for C/POSIX locale.
29451 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29452 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29454 * wcsmbs/wchar.h: Add missing __restrict.
29456 2011-12-23 Ulrich Drepper <drepper@gmail.com>
29459 * time/Makefile (routines): Add timespec_get.
29460 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29461 * time/time.h: Define TIME_UTC and declare timespec_get. Define
29462 timespec for ISO C11.
29463 * time/timespec_get.c: New file.
29464 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29465 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29468 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29469 * stdlib/stdlib.h: Declare aligned_alloc.
29470 * Versions.def: Add GLIBC_2.16 for libc.
29471 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29474 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29477 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
29481 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29484 * assert/assert.h (static_assert): Define.
29486 * version.h: Update for 2.16 development version.
29489 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29492 * version.h (RELEASE): Bump for 2.15 release.
29493 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29495 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29496 Patch by Marek Polacek <mpolacek@redhat.com>.
29498 * bits/byteswap.h: Protect long long constants with __extension__.
29499 * sysdeps/i386/bits/byteswap.h: Likewise.
29500 * sysdeps/ia64/bits/byteswap.h: Likewise.
29501 * sysdeps/s390/bits/byteswap.h: Likewise.
29502 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29504 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29507 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29508 destination buffer.
29509 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29511 2011-12-23 Marek Polacek <polacek@redhat.com>
29513 * elf/dl-addr.c (determine_info): Add inline keyword.
29514 * elf/tst-auditmod4b.c (check_avx): Likewise.
29515 * elf/tst-auditmod6b.c (check_avx): Likewise.
29516 * elf/tst-auditmod6c.c (check_avx): Likewise.
29517 * elf/tst-auditmod7b.c (check_avx): Likewise.
29519 2011-12-23 Ulrich Drepper <drepper@gmail.com>
29521 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29524 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29527 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29528 processing for last bytes.
29530 2011-08-06 Bruno Haible <bruno@clisp.org>
29533 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29534 U+0385, not to U+1FEE.
29537 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29538 entry for U+00A5 U+0301.
29540 2011-12-22 Ulrich Drepper <drepper@gmail.com>
29543 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29544 buffer for the output is too small.
29546 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29550 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29551 SSE flags if possible.
29553 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29556 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29557 processing for last bytes.
29559 2011-12-22 Joseph Myers <joseph@codesourcery.com>
29561 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29562 (syscall-list-default-options, syscall-list-default-condition)
29563 (syscall-list-includes): Define.
29564 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29565 list of ABIs and options and #if conditions for each ABI. Do not
29566 handle common syscalls between ABIs specially.
29567 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29569 (syscall-list-variants, syscall-list-32bit-options)
29570 (syscall-list-32bit-condition, syscall-list-64bit-options)
29571 (syscall-list-64bit-condition): Define.
29572 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29573 (syscall-list-variants, syscall-list-32bit-options)
29574 (syscall-list-32bit-condition, syscall-list-64bit-options)
29575 (syscall-list-64bit-condition): Define.
29576 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29578 (syscall-list-variants, syscall-list-32bit-options)
29579 (syscall-list-32bit-condition, syscall-list-64bit-options)
29580 (syscall-list-64bit-condition): Define.
29581 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29583 (syscall-list-variants, syscall-list-32bit-options)
29584 (syscall-list-32bit-condition, syscall-list-64bit-options)
29585 (syscall-list-64bit-condition): Define.
29587 2011-12-22 Ulrich Drepper <drepper@gmail.com>
29589 * locale/iso-639.def: Add brx entry.
29592 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29593 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29595 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29596 __feraiseexcept_renamed.
29598 2011-12-21 Ulrich Drepper <drepper@gmail.com>
29601 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29602 EPOLLET with unsigned values.
29603 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29604 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29606 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29607 to large cancellation.
29608 * math/s_cacoshf.c: Likewise.
29609 * math/s_cacoshl.c: Likewise.
29611 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29615 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29616 * math/s_cacoshf.c: Likewise.
29617 * math/s_cacoshl.c: Likewise.
29619 2011-12-21 Ulrich Drepper <drepper@gmail.com>
29622 * iconv/gconv.h: Define __GCONV_SWAP.
29623 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29624 * iconvdata/utf-16.c: Likewise.
29625 * iconvdata/utf-32.c: Likewise.
29627 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29630 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29631 numerator after shifting it by one limb.
29633 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29635 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29636 under [__USE_EXTERN_INLINES].
29638 2011-12-17 Ulrich Drepper <drepper@gmail.com>
29641 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29643 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29645 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29646 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29648 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29649 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29650 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29651 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29652 for strncasecmp/strncasecmp_l compilation.
29653 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29654 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29656 2011-12-08 Marek Polacek <mpolacek@redhat.com>
29659 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29662 2011-12-17 Ulrich Drepper <drepper@gmail.com>
29665 * time/tzfile.c (__tzfile_read): Check values from file header.
29667 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29669 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29670 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29671 * powerpc/powerpc32/dl-start.S: Likewise.
29672 * powerpc/powerpc32/elf/start.S: Likewise.
29673 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29674 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29675 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29676 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29677 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29678 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29679 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29680 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29681 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29682 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29683 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29684 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29685 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29686 * powerpc/powerpc32/memset.S: Likewise.
29687 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29688 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29689 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29690 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29691 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29692 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29693 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29694 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29695 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29696 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29697 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29698 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29699 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29701 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29703 * math/libm-test.inc: Added more nearbyint tests.
29704 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29705 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29706 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29707 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29709 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29711 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29714 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29716 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29717 Add wcscpy-ssse3 wcscpy-c.
29718 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29719 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29720 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29721 * sysdeps/x86_64/wcschr.S: New file.
29722 * sysdeps/x86_64/wcsrchr.S: New file.
29723 * string/test-strcmp.c: Remove checking of wcscmp function for
29725 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29726 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29727 wcsrchr-sse2 wcsrchr-c.
29728 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29729 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29730 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29731 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29732 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29733 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29734 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29735 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29736 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29737 * wcsmbc/wcschr.c (WCSCHR): New macro.
29739 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29741 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29742 * wcsmbs/test-wcsrchr.c: New file.
29743 * string/test-strrchr.c: Add wcsrchr support.
29745 * wcsmbs/test-wcscpy.c: New file.
29746 * string/test-strcpy.c: Add wcscpy support.
29749 2011-12-10 Ulrich Drepper <drepper@gmail.com>
29751 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29754 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29757 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29759 2011-12-04 Ulrich Drepper <drepper@gmail.com>
29761 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
29762 Minor optimizations.
29764 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29765 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29766 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29768 2011-12-03 Ulrich Drepper <drepper@gmail.com>
29770 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29771 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29772 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29773 for gcc to avoid warnings.
29774 * inet/Makefile (tests): Add tst-checks.
29775 * inet/tst-checks.c: New file.
29777 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29780 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29783 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29784 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29786 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29788 2011-12-02 Ulrich Drepper <drepper@gmail.com>
29790 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29793 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29795 2011-11-29 Joseph Myers <joseph@codesourcery.com>
29797 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29798 conditional on GCC version.
29799 (__arch_compare_and_exchange_val_8_acq)
29800 (__arch_compare_and_exchange_val_16_acq)
29801 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29802 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29803 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29805 2011-12-02 Joseph Myers <joseph@codesourcery.com>
29807 * sysdeps/sh/backtrace.c: New file.
29809 2011-12-02 Andreas Schwab <schwab@redhat.com>
29811 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29814 2011-12-01 Andreas Schwab <schwab@redhat.com>
29816 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29817 falling back to utime.
29819 2011-11-30 Andreas Schwab <schwab@redhat.com>
29821 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29822 expectations for float.
29824 2011-11-29 Andreas Schwab <schwab@redhat.com>
29826 * locale/weight.h (findidx): Add parameter len.
29827 * locale/weightwc.h (findidx): Likewise.
29828 * posix/fnmatch_loop.c (FCT): Adjust caller.
29829 * posix/regcomp.c (build_equiv_class): Likewise.
29830 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29831 * posix/regexec.c (check_node_accept_bytes): Likewise.
29832 * string/strcoll_l.c (STRCOLL): Likewise.
29833 * string/strxfrm_l.c (STRXFRM): Likewise.
29835 2011-11-17 Ulrich Drepper <drepper@gmail.com>
29837 * Makefile.in: Remove CVSOPT handling.
29838 * configure.in: Remove use of AC_REVISION.
29839 * iconvdata/Makefile (distribute): No need to filter out CVS.
29840 * scripts/list-sources.sh: Remove CVS, subversion and monotone
29843 2011-11-16 Andreas Schwab <schwab@redhat.com>
29845 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29846 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29847 [USE_AS_STRNCASECMP_L]: Likewise.
29848 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29849 NO_TLS_DIRECT_SEG_REFS.
29850 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29851 Fix argument offsets for non-PIC.
29852 [USE_AS_STRNCASECMP_L]: Likewise.
29853 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29854 NO_TLS_DIRECT_SEG_REFS.
29856 2011-11-15 Ulrich Drepper <drepper@gmail.com>
29858 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
29860 * locale/loadlocale.c (_nl_load_locale): Likewise.
29862 2011-11-15 Andreas Schwab <schwab@redhat.com>
29864 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29865 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29866 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29867 (SYSCALL_GETTIME): Set errno on error.
29869 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29870 count references to noai6ai_cached.
29872 2011-11-15 Ulrich Drepper <drepper@gmail.com>
29874 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29876 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29877 FD_CLOEXEC for /proc/self/maps.
29879 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29880 FD_CLOEXEC for /proc/meminfo.
29882 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29885 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29886 FD_CLOEXEC for given file.
29888 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29890 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29891 FD_CLOEXEC for /etc/hosts.
29892 (_gethtent): Likewise.
29894 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29896 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29897 cancellation and set FD_CLOEXEC for /etc/netgroup.
29899 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29900 reading /etc/publickey.
29902 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29903 allow cancellation when reading /etc/group.
29905 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29907 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29909 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29910 when using data file.
29912 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29914 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29915 (write_nis_obj): Use "c" and "e" in fopen.
29917 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29919 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29921 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29923 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29925 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29928 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29930 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29932 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29934 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29935 file parsing and set FD_CLOEXEC.
29937 2011-11-14 Ulrich Drepper <drepper@gmail.com>
29939 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29941 2011-11-14 Andreas Schwab <schwab@redhat.com>
29943 * malloc/arena.c (arena_get2): Don't call reused_arena when
29944 _int_new_arena failed.
29946 2011-11-14 Ulrich Drepper <drepper@gmail.com>
29948 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
29949 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
29950 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
29951 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29952 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29953 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
29954 to compile strcasecmp and strncasecmp.
29955 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
29956 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
29958 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29960 2011-11-13 Ulrich Drepper <drepper@gmail.com>
29962 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
29963 locale-defines.sym to gen-as-const-headers.
29964 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
29965 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
29966 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
29967 to compile strcasecmp and strncasecmp.
29968 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
29969 strcasecmp_l and strncasecmp_l.
29970 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
29971 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
29972 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
29973 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
29974 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
29975 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
29976 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
29977 * sysdeps/i386/i686/multiarch/strncase.S: New file.
29978 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
29979 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
29980 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
29982 2011-11-12 Ulrich Drepper <drepper@gmail.com>
29984 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
29985 result of SYSDEP_GETTIME_CPU to retval.
29986 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
29987 parameter list to macro. Remove trailing semicolon. Adjust users.
29989 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29992 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29994 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29996 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29997 from unused variable.
29999 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30001 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30004 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30007 * sunrpc/rpc_prot.c (rejected): Fix case value.
30009 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30010 unsigned long long int to avoid warnings in shift.
30012 * posix/regex_internal.c (re_string_reconstruct): Actually use result
30014 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30017 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30018 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30019 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30021 * nis/nis_table.c (nis_list): Use variable of correct type for
30022 result of __follow_path call.
30024 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30026 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30027 of math functions ceil, trunc, floor, round, and sqrt, when
30028 avaliable on the platform.
30029 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30031 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30032 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30033 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30035 2011-10-30 Marek Polacek <mpolacek@redhat.com>
30037 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30038 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30040 2011-11-11 Roland McGrath <roland@hack.frob.com>
30042 * include/unistd.h: Fix __readlink return type.
30043 Reported by Chris Metcalf <cmetcalf@tilera.com>.
30045 2011-11-11 Ulrich Drepper <drepper@gmail.com>
30047 * stdlib/ucontext.h: Undo last change for makecontext.
30049 2011-11-11 Andreas Schwab <schwab@redhat.com>
30051 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30053 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30054 * setjmp/setjmp.h: Mark functions as non-leaf.
30055 * setjmp/bits/setjmp2.h: Likewise.
30056 * stdlib/ucontext.h: Likewise.
30058 2011-11-10 Andreas Schwab <schwab@redhat.com>
30060 * malloc/arena.c (_int_new_arena): Don't increment narenas.
30061 (reused_arena): Don't check arena limit.
30062 (arena_get2): Atomically check arena limit.
30064 2011-11-08 Ulrich Drepper <drepper@gmail.com>
30066 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30067 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30069 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30072 2011-11-07 Andreas Schwab <schwab@redhat.com>
30074 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30075 handler when locking.
30077 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30078 Fix size of allocated buffer.
30080 2011-11-04 Andreas Schwab <schwab@redhat.com>
30083 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30084 declarations for long double functions.
30085 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30087 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30089 2011-11-03 Andreas Schwab <schwab@redhat.com>
30091 * nscd/nscd.c (main): Don't start AVC thread until credentials are
30094 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30097 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30099 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30101 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
30103 * include/alloca.h (stackinfo_alloca_round): Define.
30104 (extend_alloca): Use it.
30105 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30106 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30109 * scripts/check-local-headers.sh: Ignore libaudit.h.
30111 * nscd/Makefile (extra-objs): Make recursively expanded.
30113 2011-11-01 Ulrich Drepper <drepper@gmail.com>
30115 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30116 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30118 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30119 * posix/tst-rfc3484-2.c: Likewise.
30120 * posix/tst-rfc3484-3.c: Likewise.
30122 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30124 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30126 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30127 process_vm_writev from libc using GLIBC_2.15 version.
30129 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30131 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
30133 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30136 2011-10-31 Ulrich Drepper <drepper@gmail.com>
30139 * nss/getent.c (initgroups_keys): Show error message in case no group
30142 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30143 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30144 __bump_nl_timestamp.
30145 * nscd/connections (nscd_init): When host database is served open
30146 netlink socket and request notification about configuration changes.
30147 (main_loop_poll): Track netlink file descriptor and bump timestamp
30148 in case data becomes available.
30149 (main_loop_epoll): Likewise.
30150 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30151 (database_pers_head): Add extra_data fileds.
30152 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30153 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30154 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30156 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30157 in6ai data, call __free_in6ai.
30158 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30159 Add -DHAVE_NETLINK.
30160 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
30161 interface information. Reuse previous data if netlink timestamp
30163 (__bump_nl_timestamp): New function.
30164 (__free_in6ai): New function.
30166 2011-10-30 Ulrich Drepper <drepper@gmail.com>
30168 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30169 close_not_cancel_no_status here.
30170 (__check_pf): Reorganize code a bit to not call close twice if OOM.
30172 2011-10-29 Ulrich Drepper <drepper@gmail.com>
30175 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30178 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
30179 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30180 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30182 2011-07-03 Andreas Jaeger <aj@suse.de>
30185 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30186 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30187 * math/libm-test.inc (sin_test): Add test case.
30189 2011-10-29 Ulrich Drepper <drepper@gmail.com>
30192 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30193 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30195 * elf/chroot_canon.c (chroot_canon): Cleanups.
30197 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30200 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30201 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30203 * string/test-strchr.c: Make usable for strchrnul testing.
30204 * string/test-strchrnul.c: New file.
30205 * string/Makefile (strop-tests): Add strchrnul.
30207 * po/it.po: Update from translation team.
30208 * po/es.po: Likewise.
30210 2011-10-28 Ulrich Drepper <drepper@gmail.com>
30212 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30213 the three constants needed as parameters. Drop the others.
30214 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30215 __m128i_strloadu_tolower.
30216 Create and initialize variable zero and use it in all the places
30217 where _mm_setzero_si128 was used.
30219 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30220 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30221 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30222 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30224 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30225 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30226 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30227 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30228 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30229 __mpranred, __mptan.
30230 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30231 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30232 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30233 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30234 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30235 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30236 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30237 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30238 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30240 2011-10-28 Andreas Schwab <schwab@redhat.com>
30242 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30243 redefine if SHARED.
30244 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30246 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30247 wide char related routines to wcsmbs subdir.
30249 2011-10-27 Andreas Schwab <schwab@redhat.com>
30252 * misc/sys/cdefs.h (__THROWNL): Define.
30253 * posix/unistd.h: Use __THREADNL instead of __THREAD
30254 for memory synchronization functions.
30256 2011-10-26 Roland McGrath <roland@hack.frob.com>
30259 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30261 * manual/stdio.texi (Obstack Streams): Node removed.
30263 2011-10-26 Andreas Schwab <schwab@redhat.com>
30265 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30266 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30267 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30269 * math/math_private.h (math_force_eval): Allow non-addressable
30271 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30273 2011-10-25 Ulrich Drepper <drepper@gmail.com>
30275 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30276 file is not needed.
30278 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30279 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30280 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30281 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30282 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30283 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30284 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30285 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30287 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30288 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30289 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30290 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30291 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30292 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30293 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30294 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30295 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30296 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30297 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30298 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30299 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30300 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30301 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30302 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30303 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30304 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30305 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30307 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
30308 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
30310 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30311 place. Use VEX encoding when compiling for AVX.
30313 2011-10-25 Andreas Schwab <schwab@redhat.com>
30315 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30316 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30318 * string/test-strchr.c (do_test): Don't generate NUL bytes.
30320 2011-10-25 Ulrich Drepper <drepper@gmail.com>
30322 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
30323 useless if() expression.
30324 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30325 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30326 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30327 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30328 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30329 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30330 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30331 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30332 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30333 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30334 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30335 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30336 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30337 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30338 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30339 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30340 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30341 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30342 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30344 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30346 2011-10-25 Andreas Schwab <schwab@redhat.com>
30348 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30350 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30352 2011-10-25 Ulrich Drepper <drepper@gmail.com>
30354 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30355 .text section. Avoid duplicate constants.
30356 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30357 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30358 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30359 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30360 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30361 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30362 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30363 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30364 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30365 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30366 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30367 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30368 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30369 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30370 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30371 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30372 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30373 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30374 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30375 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30376 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30377 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30378 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30379 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30380 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30381 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30382 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30383 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30384 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30385 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30386 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30387 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30388 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30389 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30390 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30391 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30392 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30393 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30394 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30395 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30396 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30397 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30398 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30399 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30400 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30402 2011-10-24 Ulrich Drepper <drepper@gmail.com>
30404 * sysdeps/x86_64/dla.h: Move to ...
30405 * sysdeps/x86_64/fpu/dla.h: ...here.
30406 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30407 situations. Use __builtin_fma only for gcc 4.6 and up.
30409 * config.make.in: Add have-mfma4 entry.
30410 * configure.in: Substitute libc_cv_cc_fma4.
30411 * math/Makefile (dbl-only-routines): Add sincostab.
30412 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30413 Use __sincostab not sincos.
30414 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30416 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30417 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30418 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30419 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
30421 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
30422 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
30423 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30424 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30426 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30427 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30429 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
30430 define aliases when function name is a macro.
30431 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30432 sysdeps/ieee754/dbl-64/sincos.tbl.
30433 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30434 fma4-enabled routines.
30435 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30436 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30437 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30438 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30439 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30440 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30441 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30442 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30443 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30444 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30445 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30446 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30447 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30448 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30449 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30450 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30451 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30452 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30453 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30454 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30455 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30456 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30457 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30458 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30459 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30460 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30461 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30462 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30463 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30464 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30466 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30468 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30469 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30470 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30471 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30472 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30473 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30474 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30475 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30477 2011-10-24 Andreas Schwab <schwab@redhat.com>
30479 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30481 2011-10-23 Ulrich Drepper <drepper@gmail.com>
30483 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30485 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30487 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30489 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30490 Remove unused variable magic_bits.
30491 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30493 * string/strnlen.c: Define and use STRNLEN macro.
30494 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30495 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30496 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30497 * wcsmbs/wcslen.c: Define and use WCSLEN.
30498 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30499 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30500 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30501 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30502 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30503 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30504 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30506 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30508 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30509 strnlen-sse2-no-bsf.
30510 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30511 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30512 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30513 Add strnlen support.
30514 (USE_AS_STRNLEN): New macro.
30515 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30516 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30517 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30518 * sysdeps/x86_64/wcslen.S: New file.
30520 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30522 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30523 XMM-moves are used for copying on small sizes.
30525 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30527 * wcsmbs/Makefile (strop-tests): Add wcschr.
30528 * wcsmbs/test-wcschr.c: New file.
30529 * string/test-strchr.c: Update.
30530 Add wcschr support.
30533 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30535 * wcsmbs/Makefile (strop-tests): Add wcslen.
30536 * wcsmbs/test-wcslen.c: New file.
30537 * string/test-strlen.c: Update.
30538 Add wcslen support.
30541 2011-10-23 Ulrich Drepper <drepper@gmail.com>
30543 * po/it.po: Update from translation team.
30545 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30547 * sysdeps/x86_64/wcscmp.S: Update.
30548 Fix wrong comparison semantics.
30549 wcscmp shall use signed comparison not unsigned.
30550 Don't use substraction to avoid overflow bug.
30551 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30552 * wcsmbc/wcscmp.c: Likewise.
30553 * string/test-strcmp.c: Likewise.
30554 Add new tests to check cases with negative values.
30556 2011-10-23 Ulrich Drepper <drepper@gmail.com>
30558 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30559 * sysdeps/x86_64/dla.h: ...here. New file.
30560 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30561 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30562 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30563 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30564 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30565 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30566 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30567 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30568 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30570 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30572 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30573 __ynl_finite aliases.
30575 2011-10-22 Ulrich Drepper <drepper@gmail.com>
30577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30579 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30581 [DLA_FMA] (EMULV): Use DLA_FMA.
30582 [DLA_FMA] (MUL12): Use EMULV.
30583 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30584 that are not needed.
30585 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30586 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30587 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30588 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30589 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30590 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30591 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30593 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30595 * math/s_nan.c: Undef __nan.
30596 * math/s_nanf.c: Undef __nanf.
30597 * math/s_nanl.c: Undef __nanl.
30598 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30601 2011-10-22 Ulrich Drepper <drepper@gmail.com>
30603 * math/s_catan.c: Add branch predictions.
30604 * math/s_catanf.c: Likewise.
30605 * math/s_catanh.c: Likewise.
30606 * math/s_catanhf.c: Likewise.
30607 * math/s_catanhl.c: Likewise.
30608 * math/s_catanl.c: Likewise.
30609 * math/s_cexp.c: Likewise.
30610 * math/s_cexpf.c: Likewise.
30611 * math/s_cexpl.c: Likewise.
30612 * math/s_clog.c: Likewise.
30613 * math/s_clog10.c: Likewise.
30614 * math/s_clog10f.c: Likewise.
30615 * math/s_clog10l.c: Likewise.
30616 * math/s_clogf.c: Likewise.
30617 * math/s_clogl.c: Likewise.
30618 * math/s_csqrt.c: Likewise.
30619 * math/s_csqrtf.c: Likewise.
30620 * math/s_csqrtl.c: Likewise.
30621 * math/s_ctanf.c: Likewise.
30622 * math/s_ctanh.c: Likewise.
30623 * math/s_ctanhf.c: Likewise.
30624 * math/s_ctanhl.c: Likewise.
30625 * math/s_ctanl.c: Likewise.
30627 * math/math_private.h: Define __nan, __nanf, __nanl.
30628 * math/s_cacosh.c: Include <math_private.h>.
30629 * math/s_cacoshl.c: Likewise.
30630 * math/s_casinh.c: Likewise.
30631 * math/s_casinhf.c: Likewise.
30632 * math/s_casinhl.c: Likewise.
30633 * math/s_ccos.c: Rely entire on ccosh.
30634 * math/s_ccosf.c: Rely entire on ccoshf.
30635 * math/s_ccosl.c: Rely entirely on ccoshl.
30636 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30637 Remove tests for FE_INVALID.
30638 * math/s_ccoshf.c: Likewise.
30639 * math/s_ccoshl.c: Likewise.
30640 * math/s_csin.c: Likewise.
30641 * math/s_csinf.c: Likewise.
30642 * math/s_csinh.c Likewise.
30643 * math/s_csinhf.c: Likewise.
30644 * math/s_csinhl.c: Likewise.
30645 * math/s_csinl.c: Likewise.
30646 * math/s_ctan.c: Likewise.
30647 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30648 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30649 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30651 2011-10-21 Ulrich Drepper <drepper@gmail.com>
30653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30654 compilation problems.
30656 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30659 2011-10-20 Ulrich Drepper <drepper@gmail.com>
30661 * sysdeps/i386/configure.in: Test for -mfma4 option.
30662 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30663 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30664 COMMON_CPUID_INDEX_80000001.
30665 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30666 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30667 use it if FMA3 is not supported.
30668 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30670 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30671 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30673 2011-10-20 Andreas Schwab <schwab@redhat.com>
30676 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30677 it would create a cycle with a link time dependency.
30679 2011-10-19 Ulrich Drepper <drepper@gmail.com>
30681 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30683 * string/Makefile (strop-tests): Add rawmemchr.
30684 * string/test-rawmemchr.c: New file.
30686 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30687 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30688 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30689 when compiling str{,n}casecmp and when AVX is available. Hook up
30690 new optimized code in initializers.
30692 2011-10-19 Andreas Schwab <schwab@redhat.com>
30694 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30695 __feraiseexcept instead of feraiseexcept.
30697 2011-10-18 Ulrich Drepper <drepper@gmail.com>
30699 * math/math_private.h: Define defaults for libc_fetestexcept and
30701 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30702 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30703 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30704 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30705 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30706 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30707 libc_fetestexcept and libc_feupdateenv.
30709 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30710 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30711 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30712 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30713 libc_feholdexcept_setround.
30715 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30716 Add s_nearbyint-c and s_nearbyintf-c.
30717 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30718 nearbyintf inlines.
30719 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30720 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30721 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30722 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30724 * math/math_private.h: Define defaults for libc_fegetround,
30725 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30726 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30727 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30728 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30729 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30730 standard functions.
30731 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30732 Remove comments and hacks for old compiler versions.
30733 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30734 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30735 libc_feholdexceptl.
30737 2011-10-18 Andreas Schwab <schwab@redhat.com>
30739 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
30740 (__feraiseexcept_renamed): Add __NTH.
30741 (feraiseexcept): Add __NTH. Rename local variables to fix
30742 namespace violations.
30744 2011-10-17 Ulrich Drepper <drepper@gmail.com>
30746 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30748 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30750 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30751 recently added interfaces.
30752 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30754 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30755 about macro parameter expansion.
30757 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30758 __NO_MATH_INLINES is defined. Cleanups.
30760 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30761 and __floorf is target has SSE4.1.
30762 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30763 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30764 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30765 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30767 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30769 (floorf): Likewise.
30771 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30773 2011-10-17 Andreas Schwab <schwab@redhat.com>
30775 * misc/sys/cdefs.h: Fix last change.
30777 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30780 2011-10-16 Ulrich Drepper <drepper@gmail.com>
30782 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30784 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30785 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30786 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30787 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30788 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30789 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30790 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30791 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30792 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30793 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30794 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30795 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30796 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30797 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30798 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30799 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30800 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30801 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30802 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30803 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30804 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30805 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30807 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30808 ceil, ceilf, floor, floorf.
30810 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30811 Perform IRELATIVE relocations last.
30813 * elf/do-rel.h: Add another parameter nrelative, replacing the
30814 local variable with the same name. Change name of the function
30815 to end in Rel or Rela (uppercase).
30816 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30817 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
30818 elf_dynamic_do_##reloc function.
30820 2011-10-15 Ulrich Drepper <drepper@gmail.com>
30822 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30823 is sufficient, at least on modern CPUs.
30825 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30827 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30828 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30830 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30832 * math/bits/math-finite.h: Add entries for exp.
30833 * math/e_expl.c: Add __*_finite alias.
30834 * sysdeps/i386/fpu/e_exp.S: Likewise.
30835 * sysdeps/i386/fpu/e_expf.S: Likewise.
30836 * sysdeps/i386/fpu/e_expl.c: Likewise.
30837 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30838 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30839 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30840 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30841 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30842 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30843 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30845 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30846 is sufficient, at least on modern CPUs.
30848 * ctype/ctype-info.c (__ctype_init): Define.
30849 * include/ctype.h (__ctype_init): Declare.
30850 (__ctype_b_loc): The variable is always initialized.
30851 (__ctype_toupper_loc): Likewise.
30852 (__ctype_tolower_loc): Likewise.
30853 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30854 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30856 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30858 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30860 * configure.in: Also look in $cxxmachine/include for C++ system
30863 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30865 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30866 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30867 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30868 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
30869 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30870 (USE_AS_WMEMCMP): New macro.
30872 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30873 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30874 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30875 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30876 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30877 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30878 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30879 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30880 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30881 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30882 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30883 (USE_AS_WMEMCMP): New macro.
30884 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30885 * sysdeps/string/test-memcmp.c: Update.
30886 Fix simple_wmemcmp.
30888 * wcsmbs/wmemcmp.c: Update.
30889 (WMEMCMP): New macro.
30892 2011-10-12 Andreas Jaeger <aj@suse.de>
30895 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30897 2011-10-15 Ulrich Drepper <drepper@gmail.com>
30899 * libio/iofwide.c (do_length): Avoid warning.
30901 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30903 2011-10-14 Ulrich Drepper <drepper@gmail.com>
30905 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30907 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30908 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30909 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30910 * sysdeps/i386/i686/fpu/e_log.S: New file.
30911 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30912 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30914 * ctype/ctype.h: Add support for inlined isXXX functions when
30915 compiling C++ code.
30917 2011-10-14 Andreas Schwab <schwab@redhat.com>
30919 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30921 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30923 2011-10-13 Roland McGrath <roland@hack.frob.com>
30926 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30928 2011-10-13 Andreas Schwab <schwab@redhat.com>
30930 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30931 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30934 * sysdeps/x86_64/memrchr.S: Check for zero size.
30936 * string/stratcliff.c: Add memrchr tests.
30938 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30940 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30941 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
30942 rawmemchr-sse2 rawmemchr-sse2-bsf.
30943 * sysdeps/i386/i686/multiarch/memchr.S: New file.
30944 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
30945 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
30946 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
30947 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
30948 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
30949 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
30950 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
30951 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
30952 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
30953 * string/memrchr.c (MEMRCHR): New macro.
30955 2011-10-12 Ulrich Drepper <drepper@gmail.com>
30957 Add integration with gcc's -ffinite-math-only and optimize wrapper
30959 * Versions.def: Define GLIBC_2.15 version for libm.
30960 * math/Makefile (headers): Add bits/math-finite.h.
30961 * math/bits/math-finite.h: New file.
30962 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
30963 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
30964 * math/e_acoshl.c: Add __*_finite alias.
30965 * math/e_acosl.c: Likewise.
30966 * math/e_asinl.c: Likewise.
30967 * math/e_atan2l.c: Likewise.
30968 * math/e_atanhl.c: Likewise.
30969 * math/e_coshl.c: Likewise.
30970 * math/e_exp10.c: Likewise.
30971 * math/e_exp10f.c: Likewise.
30972 * math/e_exp10l.c: Likewise.
30973 * math/e_exp2l.c: Likewise.
30974 * math/e_fmodl.c: Likewise.
30975 * math/e_gammal_r.c: Likewise.
30976 * math/e_hypotl.c: Likewise.
30977 * math/e_j0l.c: Likewise.
30978 * math/e_j1l.c: Likewise.
30979 * math/e_jnl.c: Likewise.
30980 * math/e_lgammal_r.c: Likewise.
30981 * math/e_log10l.c: Likewise.
30982 * math/e_log2l.c: Likewise.
30983 * math/e_logl.c: Likewise.
30984 * math/e_powl.c: Likewise.
30985 * math/e_sinhl.c: Likewise.
30986 * math/e_sqrtl.c: Likewise.
30987 * math/e_scalb.c: Completely rewritten and optimized.
30988 * math/e_scalbf.c: Likewise.
30989 * math/e_scalbl.c: Likewise.
30990 * math/w_acos.c: Likewise.
30991 * math/w_acosf.c: Likewise.
30992 * math/w_acosl.c: Likewise.
30993 * math/w_acosh.c: Likewise.
30994 * math/w_acoshf.c: Likewise.
30995 * math/w_acoshl.c: Likewise.
30996 * math/w_asin.c: Likewise.
30997 * math/w_asinf.c: Likewise.
30998 * math/w_asinl.c: Likewise.
30999 * math/w_atan2.c: Likewise.
31000 * math/w_atan2f.c: Likewise.
31001 * math/w_atan2l.c: Likewise.
31002 * math/w_atanh.c: Likewise.
31003 * math/w_atanhf.c: Likewise.
31004 * math/w_atanhl.c: Likewise.
31005 * math/w_exp10.c: Likewise.
31006 * math/w_exp10f.c: Likewise.
31007 * math/w_exp10l.c: Likewise.
31008 * math/w_fmod.c: Likewise.
31009 * math/w_fmodf.c: Likewise.
31010 * math/w_fmodl.c: Likewise.
31011 * math/w_j0.c: Likewise.
31012 * math/w_j0f.c: Likewise.
31013 * math/w_j0l.c: Likewise.
31014 * math/w_j1.c: Likewise.
31015 * math/w_j1f.c: Likewise.
31016 * math/w_j1l.c: Likewise.
31017 * math/w_jn.c: Likewise.
31018 * math/w_jnf.c: Likewise.
31019 * math/w_log.c: Likewise.
31020 * math/w_logf.c: Likewise.
31021 * math/w_logl.c: Likewise.
31022 * math/w_log10.c: Likewise.
31023 * math/w_log10f.c: Likewise.
31024 * math/w_log10l.c: Likewise.
31025 * math/w_log2.c: Likewise.
31026 * math/w_log2f.c: Likewise.
31027 * math/w_log2l.c: Likewise.
31028 * math/w_pow.c: Likewise.
31029 * math/w_powf.c: Likewise.
31030 * math/w_powl.c: Likewise.
31031 * math/w_remainder.c: Likewise.
31032 * math/w_remainderf.c: Likewise.
31033 * math/w_remainderl.c: Likewise.
31034 * math/w_scalb.c: Likewise.
31035 * math/w_scalbf.c: Likewise.
31036 * math/w_scalbl.c: Likewise.
31037 * math/w_sqrt.c: Likewise.
31038 * math/w_sqrtf.c: Likewise.
31039 * math/w_sqrtl.c: Likewise.
31040 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31041 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
31043 * math/math_private.h: Declare __kernel_standard_f.
31044 * math/w_cosh.c: Remove cruft and optimize a bit.
31045 * math/w_coshf.c: Likewise.
31046 * math/w_coshl.c: Likewise.
31047 * math/w_exp2.c: Likewise.
31048 * math/w_exp2f.c: Likewise.
31049 * math/w_exp2l.c: Likewise.
31050 * math/w_hypot.c: Likewise.
31051 * math/w_hypotf.c: Likewise.
31052 * math/w_hypotl.c: Likewise.
31053 * math/w_lgamma.c: Likewise.
31054 * math/w_lgamma_r.c: Likewise.
31055 * math/w_lgammaf.c: Likewise.
31056 * math/w_lgammaf_r.c: Likewise.
31057 * math/w_lgammal.c: Likewise.
31058 * math/w_lgammal_r.c: Likewise.
31059 * math/w_sinh.c: Likewise.
31060 * math/w_sinhf.c: Likewise.
31061 * math/w_sinhl.c: Likewise.
31062 * math/w_tgamma.c: Likewise.
31063 * math/w_tgammaf.c: Likewise.
31064 * math/w_tgammal.c: Likewise.
31065 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31066 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31067 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31068 Minor optimizations. Pretty printing. Remove cruft.
31069 * sysdeps/i386/fpu/e_acosf.S: Likewise.
31070 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31071 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31072 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31073 * sysdeps/i386/fpu/e_acosl.c: Likewise.
31074 * sysdeps/i386/fpu/e_asin.S: Likewise.
31075 * sysdeps/i386/fpu/e_asinf.S: Likewise.
31076 * sysdeps/i386/fpu/e_atan2.S: Likewise.
31077 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31078 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31079 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31080 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31081 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31082 * sysdeps/i386/fpu/e_exp10.S: Likewise.
31083 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31084 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31085 * sysdeps/i386/fpu/e_exp2.S: Likewise.
31086 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31087 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31088 * sysdeps/i386/fpu/e_fmod.S: Likewise.
31089 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31090 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31091 * sysdeps/i386/fpu/e_hypot.S: Likewise.
31092 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31093 * sysdeps/i386/fpu/e_log.S: Likewise.
31094 * sysdeps/i386/fpu/e_log10.S: Likewise.
31095 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31096 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31097 * sysdeps/i386/fpu/e_log2.S: Likewise.
31098 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31099 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31100 * sysdeps/i386/fpu/e_logf.S: Likewise.
31101 * sysdeps/i386/fpu/e_logl.S: Likewise.
31102 * sysdeps/i386/fpu/e_pow.S: Likewise.
31103 * sysdeps/i386/fpu/e_powf.S: Likewise.
31104 * sysdeps/i386/fpu/e_powl.S: Likewise.
31105 * sysdeps/i386/fpu/e_remainder.S: Likewise.
31106 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31107 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31108 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31109 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31110 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31111 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31112 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31113 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31114 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31115 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31116 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31117 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31118 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31119 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31120 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31121 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31122 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31123 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31124 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31125 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31126 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31127 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31128 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31129 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31130 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31131 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31132 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31133 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31134 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31135 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31136 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31137 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31138 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31139 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31140 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31141 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31142 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31143 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31144 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31145 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31146 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31147 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31148 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31149 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31150 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31151 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31152 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31153 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31154 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31155 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31156 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31157 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31158 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31159 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31160 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31161 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31162 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31163 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31164 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31165 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31166 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31167 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31168 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31169 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31170 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31171 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31172 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31173 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31174 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31175 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31176 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31177 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31178 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31179 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31180 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31181 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31182 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31183 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31184 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31185 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31186 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31187 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31188 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31189 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31190 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31191 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31192 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31193 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31194 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31195 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31196 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31197 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31198 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31199 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31200 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31201 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31202 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31203 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31204 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31205 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31206 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31207 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31208 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31209 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31210 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31211 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31212 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31213 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31214 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31215 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31216 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31217 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31218 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31219 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31220 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31221 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31222 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31223 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31224 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
31225 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31226 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31227 (__isnanf): Likewise.
31228 (__isinf_ns): Likewise.
31229 (__isinf_nsf): Likewise.
31230 (__finite): Likewise.
31231 (__finitef): Likewise.
31232 (__ieee754_sqrt): Define as macro.
31233 (__ieee754_sqrtf): Define as macro.
31234 (__ieee754_sqrtl): Define as macro.
31235 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31237 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31238 __FINITE_MATH_ONLY__ consistent.
31239 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31241 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
31243 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31246 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31248 2011-10-09 Ulrich Drepper <drepper@gmail.com>
31250 * po/ja.po: Update from translation team.
31252 2011-10-08 Roland McGrath <roland@hack.frob.com>
31254 * locale/programs/locarchive.c (prepare_address_space): New function.
31255 (create_archive, enlarge_archive, open_archive): Use it.
31257 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31258 inside [SHARED], where it is used.
31260 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31262 * nss/getent.c (netgroup_keys): Remove unused variable.
31263 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31265 2011-10-08 Ulrich Drepper <drepper@gmail.com>
31267 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31268 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31269 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31270 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31271 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31272 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31273 * math/Makefile (libm-calls): Add s_isinf_ns.
31274 * math/divtc3.c: Use __isinf_nsl instead of isinf.
31275 * math/multc3.c: Likewise.
31276 * math/s_casin.c: Likewise.
31277 * math/s_casinf.c: Likewise.
31278 * math/s_casinl.c: Likewise.
31279 * math/s_ccos.c: Likewise.
31280 * math/s_ccosf.c: Likewise.
31281 * math/s_ccosl.c: Likewise.
31282 * math/s_ctan.c: Likewise.
31283 * math/s_ctanf.c: Likewise.
31284 * math/s_ctanh.c: Likewise.
31285 * math/s_ctanhf.c: Likewise.
31286 * math/s_ctanhl.c: Likewise.
31287 * math/s_ctanl.c: Likewise.
31288 * math/w_fmod.c: Likewise.
31289 * math/w_fmodf.c: Likewise.
31290 * math/w_fmodl.c: Likewise.
31291 * math/w_remainder.c: Likewise.
31292 * math/w_remainderf.c: Likewise.
31293 * math/w_remainderl.c: Likewise.
31294 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31295 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31296 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31297 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31298 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31299 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31300 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31301 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31303 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31305 * stdio-common/printf_fphex.c: Likewise.
31306 * stdio-common/printf_size.c: Likewise.
31308 * math/e_exp10.c: Include math_private.h using <...> not "...".
31309 * math/e_exp10f.c: Likewise.
31310 * math/e_exp10l.c: Likewise.
31311 * math/e_exp2l.c: Likewise.
31312 * math/e_j0l.c: Likewise.
31313 * math/e_j1l.c: Likewise.
31314 * math/e_jnl.c: Likewise.
31315 * math/e_lgammal_r.c: Likewise.
31316 * math/e_rem_pio2l.c: Likewise.
31317 * math/e_scalb.c: Likewise.
31318 * math/e_scalbf.c: Likewise.
31319 * math/e_scalbl.c: Likewise.
31320 * math/k_cosl.c: Likewise.
31321 * math/k_sinl.c: Likewise.
31322 * math/k_tanl.c: Likewise.
31323 * math/s_cacoshf.c: Likewise.
31324 * math/s_catan.c: Likewise.
31325 * math/s_catanf.c: Likewise.
31326 * math/s_catanh.c: Likewise.
31327 * math/s_catanhf.c: Likewise.
31328 * math/s_catanhl.c: Likewise.
31329 * math/s_catanl.c: Likewise.
31330 * math/s_ccosh.c: Likewise.
31331 * math/s_ccoshf.c: Likewise.
31332 * math/s_ccoshl.c: Likewise.
31333 * math/s_cexp.c: Likewise.
31334 * math/s_cexpf.c: Likewise.
31335 * math/s_cexpl.c: Likewise.
31336 * math/s_clog.c: Likewise.
31337 * math/s_clog10.c: Likewise.
31338 * math/s_clog10f.c: Likewise.
31339 * math/s_clog10l.c: Likewise.
31340 * math/s_clogf.c: Likewise.
31341 * math/s_clogl.c: Likewise.
31342 * math/s_csin.c: Likewise.
31343 * math/s_csinf.c: Likewise.
31344 * math/s_csinh.c: Likewise.
31345 * math/s_csinhf.c: Likewise.
31346 * math/s_csinhl.c: Likewise.
31347 * math/s_csinl.c: Likewise.
31348 * math/s_csqrt.c: Likewise.
31349 * math/s_csqrtf.c: Likewise.
31350 * math/s_csqrtl.c: Likewise.
31351 * math/s_ctan.c: Likewise.
31352 * math/s_ctanf.c: Likewise.
31353 * math/s_ctanh.c: Likewise.
31354 * math/s_ctanhf.c: Likewise.
31355 * math/s_ctanhl.c: Likewise.
31356 * math/s_ctanl.c: Likewise.
31357 * math/s_ldexp.c: Likewise.
31358 * math/s_ldexpf.c: Likewise.
31359 * math/s_ldexpl.c: Likewise.
31360 * math/s_significand.c: Likewise.
31361 * math/s_significandf.c: Likewise.
31362 * math/s_significandl.c: Likewise.
31363 * math/w_acos.c: Likewise.
31364 * math/w_acosf.c: Likewise.
31365 * math/w_acosh.c: Likewise.
31366 * math/w_acoshf.c: Likewise.
31367 * math/w_acoshl.c: Likewise.
31368 * math/w_acosl.c: Likewise.
31369 * math/w_asin.c: Likewise.
31370 * math/w_asinf.c: Likewise.
31371 * math/w_asinl.c: Likewise.
31372 * math/w_atan2.c: Likewise.
31373 * math/w_atan2f.c: Likewise.
31374 * math/w_atan2l.c: Likewise.
31375 * math/w_atanh.c: Likewise.
31376 * math/w_atanhf.c: Likewise.
31377 * math/w_atanhl.c: Likewise.
31378 * math/w_cosh.c: Likewise.
31379 * math/w_coshf.c: Likewise.
31380 * math/w_coshl.c: Likewise.
31381 * math/w_dremf.c: Likewise.
31382 * math/w_exp10.c: Likewise.
31383 * math/w_exp10f.c: Likewise.
31384 * math/w_exp10l.c: Likewise.
31385 * math/w_exp2.c: Likewise.
31386 * math/w_exp2f.c: Likewise.
31387 * math/w_fmod.c: Likewise.
31388 * math/w_fmodf.c: Likewise.
31389 * math/w_fmodl.c: Likewise.
31390 * math/w_hypot.c: Likewise.
31391 * math/w_hypotf.c: Likewise.
31392 * math/w_hypotl.c: Likewise.
31393 * math/w_j0.c: Likewise.
31394 * math/w_j0f.c: Likewise.
31395 * math/w_j0l.c: Likewise.
31396 * math/w_j1.c: Likewise.
31397 * math/w_j1f.c: Likewise.
31398 * math/w_j1l.c: Likewise.
31399 * math/w_jn.c: Likewise.
31400 * math/w_jnf.c: Likewise.
31401 * math/w_jnl.c: Likewise.
31402 * math/w_lgamma.c: Likewise.
31403 * math/w_lgamma_r.c: Likewise.
31404 * math/w_lgammaf.c: Likewise.
31405 * math/w_lgammaf_r.c: Likewise.
31406 * math/w_lgammal.c: Likewise.
31407 * math/w_lgammal_r.c: Likewise.
31408 * math/w_log.c: Likewise.
31409 * math/w_log10.c: Likewise.
31410 * math/w_log10f.c: Likewise.
31411 * math/w_log10l.c: Likewise.
31412 * math/w_log2.c: Likewise.
31413 * math/w_log2f.c: Likewise.
31414 * math/w_log2l.c: Likewise.
31415 * math/w_logf.c: Likewise.
31416 * math/w_logl.c: Likewise.
31417 * math/w_pow.c: Likewise.
31418 * math/w_powf.c: Likewise.
31419 * math/w_powl.c: Likewise.
31420 * math/w_remainder.c: Likewise.
31421 * math/w_remainderf.c: Likewise.
31422 * math/w_remainderl.c: Likewise.
31423 * math/w_scalb.c: Likewise.
31424 * math/w_scalbf.c: Likewise.
31425 * math/w_scalbl.c: Likewise.
31426 * math/w_sinh.c: Likewise.
31427 * math/w_sinhf.c: Likewise.
31428 * math/w_sinhl.c: Likewise.
31429 * math/w_sqrt.c: Likewise.
31430 * math/w_sqrtf.c: Likewise.
31431 * math/w_sqrtl.c: Likewise.
31432 * math/w_tgamma.c: Likewise.
31433 * math/w_tgammaf.c: Likewise.
31434 * math/w_tgammal.c: Likewise.
31436 * po/ja.po: Update from translation team.
31438 2011-09-29 Andreas Jaeger <aj@suse.de>
31441 * sunrpc/netname.c (netname2host): Fix logic.
31445 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31447 * math/w_remainder.c (__remainder): Likewise.
31448 * math/w_remainderf.c (__remainderf): Likewise.
31449 * math/libm-test.inc (remainder_test): Add test cases.
31451 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31453 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
31456 2011-10-07 Ulrich Drepper <drepper@gmail.com>
31458 * string/test-memcmp.c: Avoid unncessary #defines.
31459 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31461 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31463 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31464 Use new sse2 version for core i3 - i7 as it's faster
31465 than sse42 version.
31466 (bit_Prefer_PMINUB_for_stringop): New.
31467 * sysdeps/x86_64/rawmemchr.S: Update.
31468 Replace with faster SSE2 version.
31469 * sysdeps/x86_64/memrchr.S: New file.
31470 * sysdeps/x86_64/memchr.S: Update.
31471 Replace with faster SSE2 version.
31473 2011-09-12 Marek Polacek <mpolacek@redhat.com>
31475 * elf/dl-load.c (lose): Add cast to avoid warning.
31477 2011-10-07 Ulrich Drepper <drepper@gmail.com>
31479 * po/ca.po: Update from translation team.
31481 * inet/getnetgrent_r.c: Hook up nscd.
31482 * nscd/Makefile (routines): Add nscd_netgroup.
31483 (nscd-modules): Add netgroupcache.
31484 (CFLAGS-netgroupcache.c): Define.
31485 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31486 (cache_search): Add const to second parameter.
31487 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31489 (dbs): Add netgrdb entry.
31490 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31491 (verify_persistent_db): Handle netgrdb.
31492 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31493 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31495 (netgroup_response_header): Define.
31496 (innetgroup_response_header): Define.
31497 (datahead): Add netgroup_response_header and innetgroup_response_header
31499 * nscd/nscd.conf: Add entries for netgroup cache.
31500 * nscd/nscd.h (dbtype): Add netgrdb.
31501 (_PATH_NSCD_NETGROUP_DB): Define.
31502 (netgroup_iov_disabled): Declare.
31503 (xmalloc, xcalloc, xrealloc): Move declarations here.
31504 (cache_search): Adjust prototype.
31505 Add netgroup-related prototypes.
31506 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31507 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31508 (__nscd_innetgr): Declare.
31509 * nscd/selinux.c (perms): Use access_vector_t as element type and
31510 add netgroup-related initializers.
31511 * nscd/netgroupcache.c: New file.
31512 * nscd/nscd_netgroup.c: New file.
31513 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31514 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31515 For four parameters use innetgr.
31516 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31517 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31518 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31519 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31521 * nscd/connections.c (register_traced_file): Don't register file
31522 for disabled databases.
31524 2011-10-06 Ulrich Drepper <drepper@gmail.com>
31526 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31528 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31529 from tree and freeing node.
31531 2011-09-25 Jiri Olsa <jolsa@redhat.com>
31533 * nss/nsswitch.c (__nss_database_lookup): Handle
31534 nss_parse_service_list out of memory case.
31536 2011-09-15 Jiri Olsa <jolsa@redhat.com>
31538 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31539 out of memory case.
31541 2011-10-04 Andreas Schwab <schwab@redhat.com>
31543 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31544 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31546 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31547 elf_machine_rela, elf_machine_lazy_rel.
31548 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31549 (ELF_DYNAMIC_DO_REL): Likewise.
31550 (ELF_DYNAMIC_DO_RELA): Likewise.
31551 (ELF_DYNAMIC_RELOCATE): Likewise.
31552 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31553 to ELF_DYNAMIC_DO_REL.
31554 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31555 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31556 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31558 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31559 skip_ifunc, don't call ifunc function if non-zero.
31560 (elf_machine_rela): Likewise.
31561 (elf_machine_lazy_rel): Likewise.
31562 (elf_machine_lazy_rela): Likewise.
31563 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31564 (elf_machine_lazy_rel): Likewise.
31565 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31567 (elf_machine_lazy_rel): Likewise.
31568 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31570 (elf_machine_lazy_rel): Likewise.
31571 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31572 (elf_machine_lazy_rel): Likewise.
31573 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31574 (elf_machine_lazy_rel): Likewise.
31575 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31576 (elf_machine_lazy_rel): Likewise.
31577 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31578 (elf_machine_lazy_rel): Likewise.
31579 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31580 (elf_machine_lazy_rel): Likewise.
31581 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31582 (elf_machine_lazy_rel): Likewise.
31584 2011-09-28 Ulrich Drepper <drepper@gmail.com>
31586 * nss/nss_files/files-init.c (_nss_files_init): Use static
31587 initialization for all the *_traced_file variables.
31589 2011-09-28 Andreas Schwab <schwab@redhat.com>
31591 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31593 2011-09-27 Roland McGrath <roland@hack.frob.com>
31596 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31598 2011-09-27 Andreas Schwab <schwab@redhat.com>
31600 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31601 Reread the line before reparsing it.
31603 2011-09-26 Andreas Schwab <schwab@redhat.com>
31605 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31607 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31608 Maxim Kuvyrkov <maxim@codesourcery.com>
31609 Joseph Myers <joseph@codesourcery.com>
31611 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31612 if needed for __stack_chk_guard.
31614 2011-09-19 Roland McGrath <roland@hack.frob.com>
31616 * sysdeps/posix/spawni.c (script_execute): Always define it.
31617 It will be optimized away if unused.
31618 (maybe_script_execute): New function.
31619 (__spawni): Call it.
31621 * Makerules: Don't include tls.make.
31622 (config-tls): Always set to thread.
31623 * tls.make.c: File removed.
31625 2011-09-19 Mike Frysinger <vapier@gentoo.org>
31627 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31628 * config.make.in (CPPFLAGS-config): New substituted variable.
31630 2011-09-15 Ulrich Drepper <drepper@gmail.com>
31632 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31635 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31636 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31638 2011-09-15 Roland McGrath <roland@hack.frob.com>
31640 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31641 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31642 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31643 (CALL_FAIL): Likewise.
31644 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31645 (CALL_FAIL): Macro removed.
31646 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31648 2011-09-15 Ulrich Drepper <drepper@gmail.com>
31650 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31651 for __FINITE_MATH_ONLY__ == 1.
31653 2011-09-15 Andreas Schwab <schwab@redhat.com>
31655 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31656 __ieee754_sqrt instead of sqrt.
31657 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31658 __ieee754_sqrtf instead of sqrtf.
31659 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31660 __floorf instead of floorf.
31661 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31662 __floorf, __truncf instead of floorf, truncf.
31664 2011-09-14 Ulrich Drepper <drepper@gmail.com>
31666 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31668 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31669 __extern_always_inline.
31670 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31673 2011-09-14 Andreas Schwab <schwab@redhat.com>
31675 * elf/rtld.c (dl_main): Also relocate in dependency order when
31676 doing symbol dependency testing.
31678 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31680 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31681 Always define `refsym'.
31683 2011-09-13 Andreas Schwab <schwab@redhat.com>
31685 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31686 (__FD_ELT): Renamed from __FDELT.
31687 * misc/bits/select2.h (__FD_ELT): Likewise.
31688 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31689 __FD_MASK instead of __FDELT, __FDMASK.
31690 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31692 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31695 * elf/Makefile (gen-ldd): Fix pattern.
31697 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31698 (init_tls): Likewise.
31700 2011-09-12 Ulrich Drepper <drepper@gmail.com>
31702 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31704 2011-09-12 Andreas Schwab <schwab@redhat.com>
31706 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31707 `struct cmsghdr *' instead of `void *'.
31708 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31711 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31713 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31715 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31716 ldd_rewrite_script.
31718 2011-09-11 Ulrich Drepper <drepper@gmail.com>
31720 * configure.in: Remove --with-tls option.
31721 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31722 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31723 out in case it is missing.
31724 * sysdeps/ia64/elf/configure.in: Likewise.
31725 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31726 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31727 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31728 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31729 * sysdeps/sh/elf/configure.in: Likewise.
31730 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31731 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31732 * sysdeps/x86_64/elf/configure.in: Likewise.
31733 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31734 * sysdeps/mach/hurd/tls.h: Likewise.
31737 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31740 * configure.in: Fix use of AC_INIT.
31742 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31744 2011-09-10 Ulrich Drepper <drepper@gmail.com>
31746 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31748 * malloc/hooks.c: Likewise.
31751 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31752 variables statically.
31753 (narenas): Initialize.
31754 (list_lock): Initialize.
31755 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31756 initializtion of main_arena and list_lock. Small cleanups.
31757 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31758 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31759 Add initializers to main_arena and mp_.
31760 (malloc_state): Remove pagesize member. Change all users to use
31763 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31764 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31765 is always initialized.
31767 * malloc/malloc.c: Removed unused configurations and dead code.
31768 * malloc/arena.c: Likewise.
31769 * malloc/hooks.c: Likewise.
31770 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
31772 * include/tls.h: Removed. USE___THREAD must always be defined.
31773 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31774 * elf/dl-libc.c: Likewise.
31775 * elf/dl-tsd.c: Likewise.
31776 * include/errno.h: Likewise.
31777 * include/netdb.h: Likewise.
31778 * include/resolv.h: Likewise.
31779 * inet/herrno-loc.c: Likewise.
31780 * inet/herrno.c: Likewise.
31781 * malloc/arena.c: Likewise.
31782 * malloc/hooks.c: Likewise.
31783 * malloc/malloc.c: Likewise.
31784 * resolv/res-state.c: Likewise.
31785 * resolv/res_libc.c: Likewise.
31786 * sysdeps/i386/dl-machine.h: Likewise.
31787 * sysdeps/ia64/dl-machine.h: Likewise.
31788 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31789 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31790 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31791 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31792 * sysdeps/sh/dl-machine.h: Likewise.
31793 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31794 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31795 * sysdeps/unix/i386/sysdep.S: Likewise.
31796 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31797 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31798 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31799 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31800 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31801 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31802 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31803 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31804 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31805 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31806 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31807 * sysdeps/x86_64/dl-machine.h: Likewise.
31808 * tls.make.c: Likewise.
31810 * configure.in: Remove --with-__thread option. Make tests for
31811 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31812 tls_model attribute fail if no support is available. Remove
31814 * Makeconfig: Adjust for dropped configure option. All features are
31816 * Makerules: Likewise.
31817 * Versions.def: Likewise.
31818 * argp/argp-fmtstream.c: Likewise.
31819 * argp/argp-fmtstream.h: Likewise.
31820 * argp/argp-help.c: Likewise.
31821 * assert/assert.c: Likewise.
31822 * config.h.in: Likewise.
31823 * config.make.in: Likewise.
31824 * configure: Likewise.
31825 * configure.in: Likewise.
31826 * csu/Versions: Likewise.
31827 * csu/init.c: Likewise.
31828 * elf/tst-audit2.c: Likewise.
31829 * elf/tst-tls10.c: Likewise.
31830 * elf/tst-tls10.h: Likewise.
31831 * elf/tst-tls11.c: Likewise.
31832 * elf/tst-tls12.c: Likewise.
31833 * elf/tst-tls14.c: Likewise.
31834 * elf/tst-tlsmod11.c: Likewise.
31835 * elf/tst-tlsmod12.c: Likewise.
31836 * elf/tst-tlsmod13.c: Likewise.
31837 * elf/tst-tlsmod13a.c: Likewise.
31838 * elf/tst-tlsmod14a.c: Likewise.
31839 * elf/tst-tlsmod15b.c: Likewise.
31840 * elf/tst-tlsmod16a.c: Likewise.
31841 * elf/tst-tlsmod16b.c: Likewise.
31842 * elf/tst-tlsmod7.c: Likewise.
31843 * elf/tst-tlsmod8.c: Likewise.
31844 * elf/tst-tlsmod9.c: Likewise.
31845 * gmon/gmon.c: Likewise.
31846 * grp/fgetgrent_r.c: Likewise.
31847 * grp/putgrent.c: Likewise.
31848 * hurd/fopenport.c: Likewise.
31849 * include/libc-symbols.h: Likewise.
31850 * include/tls.h: Likewise.
31851 * intl/gettextP.h: Likewise.
31852 * intl/loadinfo.h: Likewise.
31853 * locale/global-locale.c: Likewise.
31854 * locale/localeinfo.h: Likewise.
31855 * mach/devstream.c: Likewise.
31856 * malloc/arena.c: Likewise.
31857 * malloc/set-freeres.c: Likewise.
31858 * misc/err.c: Likewise.
31859 * misc/getttyent.c: Likewise.
31860 * misc/mntent_r.c: Likewise.
31861 * posix/getopt.c: Likewise.
31862 * posix/wordexp.c: Likewise.
31863 * pwd/fgetpwent_r.c: Likewise.
31864 * resolv/Versions: Likewise.
31865 * resolv/res_hconf.c: Likewise.
31866 * shadow/fgetspent_r.c: Likewise.
31867 * shadow/putspent.c: Likewise.
31868 * stdio-common/printf_fphex.c: Likewise.
31869 * stdio-common/tmpfile.c: Likewise.
31870 * stdlib/abort.c: Likewise.
31871 * stdlib/fmtmsg.c: Likewise.
31872 * sunrpc/auth_unix.c: Likewise.
31873 * sunrpc/clnt_perr.c: Likewise.
31874 * sunrpc/clnt_tcp.c: Likewise.
31875 * sunrpc/clnt_udp.c: Likewise.
31876 * sunrpc/clnt_unix.c: Likewise.
31877 * sunrpc/openchild.c: Likewise.
31878 * sunrpc/svc_simple.c: Likewise.
31879 * sunrpc/svc_tcp.c: Likewise.
31880 * sunrpc/svc_udp.c: Likewise.
31881 * sunrpc/svc_unix.c: Likewise.
31882 * sunrpc/xdr.c: Likewise.
31883 * sunrpc/xdr_array.c: Likewise.
31884 * sunrpc/xdr_rec.c: Likewise.
31885 * sunrpc/xdr_ref.c: Likewise.
31886 * sunrpc/xdr_stdio.c: Likewise.
31888 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31890 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31892 2011-07-03 Andreas Jaeger <aj@suse.de>
31894 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31895 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31896 regenerate with gen-libm-tests.pl.
31898 2010-05-12 Petr Baudis <pasky@suse.cz>
31901 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31902 around j0() zero points by switching to j1().
31903 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31904 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31905 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31906 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31908 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31910 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31912 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
31914 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31915 Patch in part by Pavel Roskin <proski@gnu.org>.
31918 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31920 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31921 Free memory block if necessary.
31924 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31925 be NULL. Don't lock in this case.
31927 2011-09-09 Roland McGrath <roland@hack.frob.com>
31929 * elf/elf.h (ELFOSABI_GNU): New macro.
31930 (ELFOSABI_LINUX): Define to that.
31932 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31934 * string/strncat.c (strncat): Undef the symbol in case it has been
31935 defined in bits/string.h.
31937 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31939 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31941 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
31944 2011-08-17 Andreas Jaeger <aj@suse.de>
31946 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31948 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31949 Ian Lance Taylor <iant@google.com>
31951 * math/libm-test.inc (lround_test): New testcase.
31952 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31954 2011-09-08 Ulrich Drepper <drepper@gmail.com>
31956 * Makefile: Remove support for automatic cvs check-ins.
31957 * Makerules: Likewise.
31958 * config.make.in: Likewise.
31959 * configure.in: Likewise.
31960 * intl/Makefile: Likewise.
31961 * locale/Makefile: Likewise.
31962 * po/Makefile: Likewise.
31963 * posix/Makefile: Likewise.
31964 * sysdeps/gnu/Makefile: Likewise.
31965 * sysdeps/mach/hurd/Makefile: Likewise.
31966 * sysdeps/sparc/sparc32/Makefile: Likewise.
31969 * posix/Makefile (bug-regex32-ENV): Define.
31970 Patch by John Stanley <jpsinthemix@verizon.net>.
31972 * misc/Makefile (headers): Add bits/select2.h.
31973 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
31974 * misc/bits/select2.h: New file.
31975 * include/bits/select2.h: New file.
31976 * debug/Makefile (routines): Add fdelt_chk.
31977 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
31978 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
31980 * debug/fdelt_chk.c: New file.
31982 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
31983 * wcsmbs/test-wmemcmp.c: Likewise.
31984 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
31985 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
31987 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31989 * string/Makefile (strop-tests): Add memcmp.
31990 * string/test-wmemcmp.c: New file.
31991 * string/test-memcmp.c: Add wmemcmp support.
31993 2011-09-08 Roland McGrath <roland@hack.frob.com>
31996 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31999 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32000 garbage value in a __mach_port_mod_refs call in the cases of the
32001 task-self and thread-self ports.
32003 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32005 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32007 2011-09-08 Andreas Schwab <schwab@redhat.com>
32009 * elf/dl-load.c (lose): Check for non-null L.
32011 2011-09-07 Ulrich Drepper <drepper@gmail.com>
32013 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32015 * elf/dl-libc.c (dlerror_run): Pass back error code from
32019 * elf/dl-load.c (lose): Free l_origin if it is valid.
32021 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32023 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32024 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32025 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32026 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32027 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32028 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32030 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32032 * sysdeps/powerpc/fpu/e_hypot.c: New file.
32033 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32034 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32035 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32036 * sysdeps/powerpc/fpu/k_cosf.c: New file.
32037 * sysdeps/powerpc/fpu/k_sinf.c: New file.
32038 * sysdeps/powerpc/fpu/s_cosf.c: New file.
32039 * sysdeps/powerpc/fpu/s_sinf.c: New file.
32040 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32041 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32043 2011-08-15 Alan Modra <amodra@gmail.com>
32046 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32047 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32048 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
32049 ppc_mcount to static-only-routines.
32050 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32052 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32053 __mcount_internal with usual JUMPTARGET. Remove useless nop.
32055 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
32057 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32058 for finite and infinity parameters.
32060 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32062 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32063 and add nop instructions for throughput optimization.
32064 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32066 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
32068 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32069 aligned copy for power7 with vector-scalar instructions.
32070 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32072 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
32074 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32077 2011-09-07 Andreas Schwab <schwab@redhat.com>
32080 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32083 2011-09-07 Ulrich Drepper <drepper@gmail.com>
32085 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32086 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32087 syscall wrapper around clock_gettime in __vdso_clock_gettime.
32088 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32091 2011-09-06 Ulrich Drepper <drepper@gmail.com>
32093 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32094 Forgot to demangle the pointer.
32096 * sysdeps/i386/sysdep.h: Define atom_text_section.
32097 * sysdeps/x86_64/sysdep.h: Likewise.
32098 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32099 section with atom_text_section.
32100 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32101 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32102 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32103 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32104 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32106 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32107 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32108 already be defined. Change to take two parameters and don't assign
32109 result to variable. Adjust all users.
32110 Define INTERNAL_GETTIME if not already defined.
32111 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32113 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32114 HAVE_CLOCK_GETTIME_VSYSCALL.
32115 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32117 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32118 gettimeofday vsyscall, just use time.
32120 2011-09-06 Andreas Schwab <schwab@redhat.com>
32122 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32125 2011-09-06 Ulrich Drepper <drepper@gmail.com>
32127 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32129 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32131 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32132 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32133 syscall if possible.
32135 2011-09-05 Ulrich Drepper <drepper@gmail.com>
32137 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32138 e_ident. Don't pass to find_mapsXX.
32139 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32141 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32143 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32144 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32145 * sysdeps/x86_64/multiarch/strchr.S: Update.
32146 Check bit_slow_BSF bit.
32147 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32148 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32149 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32151 2011-09-05 Ulrich Drepper <drepper@gmail.com>
32154 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32156 (tryshell): Define.
32157 (__spawni): Change last parameter to be flag. Test
32158 SPAWN_XFLAGS_USE_PATH flag to use path or not.
32159 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32160 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32161 * posix/spawni.c: Likewise.
32162 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32163 * posix/spawnp.c: Likewise. Change normal version to use
32164 SPAWN_XFLAGS_USE_PATH.
32165 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32166 SPAWN_XFLAGS_TRY_SHELL.
32169 * posix/glob.h: Remove gcc 1.x support.
32172 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32174 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32176 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32177 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32179 * sysdeps/i386/i686/multiarch/strchr.S: New file.
32180 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32181 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32182 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32183 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32184 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32186 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32188 * sysdeps/x86_64/wcscmp.S: New file.
32190 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32191 wcscmp-c wcscmp-sse2
32192 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32193 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32194 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32195 * wcsmbs/wcscmp.c: Allow renaming.
32197 2011-09-05 David S. Miller <davem@davemloft.net>
32199 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32200 stack slot, rather than the struct return pointer slot.
32201 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32202 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32203 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32204 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32206 2011-09-05 Ulrich Drepper <drepper@gmail.com>
32208 * po/ja.po: Update from translation team.
32211 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32212 kernel in 64-bit binaries.
32214 2011-09-01 David S. Miller <davem@davemloft.net>
32216 * elf/elf.h (HWCAP_SPARC_*): Move to..
32217 * sysdeps/sparc/sysdep.h: this new file and add new values.
32218 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32219 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32220 _DL_HWCAP_COUNT to 24.
32221 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32223 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32224 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32225 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32226 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32227 instead of magic constants.
32228 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32230 2011-08-31 David S. Miller <davem@davemloft.net>
32232 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32233 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32234 Reimplement to do errno handling inline.
32235 (SYSCALL_ERROR_HANDLER): New macro.
32236 (__SYSCALL_STRING): Do not do errno handling in asm.
32237 (__CLONE_SYSCALL_STRING): Delete.
32238 (__INTERNAL_SYSCALL_STRING): Delete.
32239 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32240 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32241 (PSEUDO): Reimplement to do errno handling inline.
32242 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32243 (SYSCALL_ERROR_HANDLER): New macro.
32244 (__SYSCALL_STRING): Do not do errno handling in asm.
32245 (__CLONE_SYSCALL_STRING): Delete.
32246 (__INTERNAL_SYSCALL_STRING): Delete.
32247 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32248 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32250 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32251 (inline_syscall*): Add 'err' argument.
32252 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32253 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32254 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32255 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32257 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32258 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32260 2011-08-30 Andreas Schwab <schwab@redhat.com>
32262 * elf/rtld.c (dl_main): Relocate objects in dependency order.
32264 2011-08-29 Jiri Olsa <jolsa@redhat.com>
32266 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32269 2011-08-24 David S. Miller <davem@davemloft.net>
32271 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32273 2011-08-24 Andreas Schwab <schwab@redhat.com>
32275 * elf/Makefile: Add rules to build and run unload8 test.
32276 * elf/unload8.c: New file.
32277 * elf/unload8mod1.c: New file.
32278 * elf/unload8mod1x.c: New file.
32279 * elf/unload8mod2.c: New file.
32280 * elf/unload8mod3.c: New file.
32282 * elf/dl-close.c (_dl_close_worker): Reset private search list if
32285 2011-08-23 David S. Miller <davem@davemloft.net>
32287 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32288 subtract stack bias.
32289 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32290 %sp not %fp in calculations.
32291 (_JMPBUF_UNWINDS_ADJ): Likewise.
32293 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32294 (aio_suspend): Call it to force an exception region around the
32295 AIO_MISC_WAIT() invocation.
32297 2011-08-23 Andreas Schwab <schwab@redhat.com>
32299 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32302 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
32304 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32306 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32307 and <dl-machine.h>.
32308 (Elf64_FuncDesc): Remove.
32310 2011-08-22 David S. Miller <davem@davemloft.net>
32312 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
32313 sigaltstack check, add missing cfi directives.
32314 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
32315 missing cfi directives, and sigaltstack handling.
32317 2011-08-16 Andreas Schwab <schwab@redhat.com>
32320 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
32321 object is seen twice.
32322 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32324 * elf/Makefile (distribute): Add tst-initorder2.c.
32325 (tests): Add tst-initorder2.
32326 (modules-names): Add tst-initorder2a tst-initorder2b
32327 tst-initorder2c tst-initorder2d. Add rules to build them.
32328 ($(objpfx)tst-initorder2.out): New rule.
32329 * elf/tst-initorder2.c: New file.
32330 * elf/tst-initorder2.exp: New file.
32332 2011-08-22 Andreas Schwab <schwab@redhat.com>
32334 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32336 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32337 dependencies back to end of function.
32339 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32340 $(elfobjdir)/ld.so.
32342 2011-08-21 Ulrich Drepper <drepper@gmail.com>
32344 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32345 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32346 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32347 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32348 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32349 of __vdso_gettimeofday.
32350 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32351 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
32353 (_libc_vdso_platform_setup): Remove initialization of
32354 __vdso_gettimeofday and __vdso_time.
32356 2011-08-20 Ulrich Drepper <drepper@gmail.com>
32358 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32359 and fgetc_unlocked.
32360 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32363 * elf/dl-open.c (add_to_global): Report additions to the global scope
32364 for LD_DEBUG=scopes.
32365 (dl_open_worker): Also print scope of newly loaded dependencies.
32366 (_dl_show_scope): Indicate if there is no scope.
32369 * stdio-common/Makefile (tests): Add bug24.
32370 * stdio-common/bug24.c: New file.
32372 2011-08-19 Andreas Jaeger <aj@suse.de>
32375 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32376 non-existant file when using close-on-exec mode.
32378 2011-08-20 Ulrich Drepper <drepper@gmail.com>
32380 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32381 the very first instruction.
32383 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32384 the CFI state in the end.
32385 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32386 inclusion of dl-trampoline.h.
32387 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32389 2011-08-19 Andreas Schwab <schwab@redhat.com>
32391 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32392 expectations for long double.
32394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32395 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32397 2011-08-14 David S. Miller <davem@davemloft.net>
32399 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32400 artificual limit depends upon the system page size.
32402 2011-08-17 Ulrich Drepper <drepper@gmail.com>
32404 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32405 * resolv/Makefile: Define CFLAGS-libresolv.
32407 2011-08-17 Andreas Schwab <schwab@redhat.com>
32409 * nss/makedb.c (compute_tables): Make variables used in nested
32412 2011-08-17 Ulrich Drepper <drepper@gmail.com>
32414 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32415 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32416 if buffer was too small.
32418 * elf/pldd.c (main): Attach to all threads in the process.
32419 Rewrite /proc handling to use *at functions.
32421 2011-08-16 Ulrich Drepper <drepper@gmail.com>
32423 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32424 specifies first scope to show.
32425 (dl_open_worker): Update callers. Move printing scope of new
32426 object to before the relocation.
32427 * elf/rtld.c (dl_main): Update _dl_show_scope call.
32428 * sysdeps/generic/ldsodefs.h: Update declaration.
32430 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32431 string for the scope number.
32433 2011-08-14 Ulrich Drepper <drepper@gmail.com>
32435 * nscd/servicescache.c (cache_addserv): Make sure written is always
32438 2011-08-14 Roland McGrath <roland@hack.frob.com>
32440 * sysdeps/i386/i486/bits/atomic.h
32441 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32442 statement expression, so as to suppress "set but not used" warning.
32443 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32445 * string/strncat.c (STRNCAT): Use prototype definition.
32447 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32448 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32450 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32451 (localedef-modules): Add localedef.
32452 (locale-modules): Add locale.
32454 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32455 * elf/rtld.c (dl_main): Invert order of assignment in last change,
32456 to avoid a warning.
32458 2011-08-14 David S. Miller <davem@davemloft.net>
32460 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32461 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32463 2011-08-13 Ulrich Drepper <drepper@gmail.com>
32465 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
32466 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32467 * elf/rtld.c (dl_main): Set l_name of vDSO.
32468 Call _dl_show_scope when DL_DEBUG_SCOPES.
32469 (process_dl_debug): Recognize scopes flag and also set it for all.
32470 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32471 Declare _dl_show_scope.
32473 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32474 (do_dlopen): Pass caller_dlopen to dl_open.
32475 (__libc_dlopen_mode): Initialize caller_dlopen.
32477 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32478 of libc. Make tolower call locale-independent. Optimize a bit by
32479 using isdigit instead of isalnum.
32480 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32482 2011-08-12 Ulrich Drepper <drepper@gmail.com>
32484 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32485 was a dependency or dynamically loaded.
32487 2011-08-11 Ulrich Drepper <drepper@gmail.com>
32489 * intl/l10nflist.c: Allow architecture-specific pop function.
32490 * sysdeps/x86_64/l10nflist.c: New file.
32492 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32495 2011-08-10 Andreas Schwab <schwab@redhat.com>
32497 * include/dirent.h: Add libc_hidden_proto for scandirat and
32498 scandirat64. Don't declare __scandirat64.
32499 * dirent/scandirat.c: Add libc_hidden_def.
32500 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32501 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32503 2011-08-10 David S. Miller <davem@davemloft.net>
32505 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32507 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32508 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32509 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32511 2011-08-09 Ulrich Drepper <drepper@gmail.com>
32513 * Versions.def [libc]: Add GLIBC_2.15.
32514 * dirent/Makefile (routines): Add scandirat and scandirat64.
32515 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32517 * dirent/dirent.h: Declare scandirat and scandirat64.
32518 * dirent/scandirat.c: New file.
32519 * dirent/scandirat64.c: New file.
32520 * sysdeps/wordsize-64/scandirat.c: New file.
32521 * sysdeps/wordsize-64/scandirat64.c: New file.
32522 * dirent/opendir.c: Define opendirat.
32523 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32525 * dirent/scandir64.c: Adjust for scandir.c change.
32526 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32527 __scandirat64, and __scandir_cancel_handler.
32528 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32529 additional parameter and use openat instead of open (outside of ld.so).
32530 Add new __opendir as wrapper around __opendirat.
32531 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32532 here without requiring old scandirat implementation.
32534 2011-08-08 Ulrich Drepper <drepper@gmail.com>
32536 * dirent/scandir.c (cancel_handler): Renamed to
32537 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32538 defined. Adjust users.
32539 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32540 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32542 2011-08-04 Ulrich Drepper <drepper@gmail.com>
32544 * string/test-string.h (IMPL): Use __STRING to expand name and then
32547 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32550 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32552 * string/Makefile: Update.
32553 (strop-tests): Append strncat.
32554 * string/test-wcscmp.c: New file.
32555 New comprehensive test for wcscmp.
32556 * string/test-strcmp.c: Update.
32557 (WIDE): New define.
32559 2011-07-22 Andreas Schwab <schwab@redhat.com>
32561 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32564 2011-07-26 Andreas Schwab <schwab@redhat.com>
32566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32567 encoding to ACE if AI_IDN.
32569 2011-08-01 Jakub Jelinek <jakub@redhat.com>
32571 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32572 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32574 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32576 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32577 Fix overflow bug in strncat.
32578 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32580 * string/test-strncat.c: Update.
32581 Add new tests for checking overflow bugs.
32583 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32585 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32586 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32587 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32588 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32589 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32590 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32591 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32592 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32593 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32595 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32596 (USE_AS_STRCAT): Define.
32597 Add strcat and strncat support.
32598 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32600 2011-07-25 Andreas Schwab <schwab@redhat.com>
32602 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32603 __n bigger than INT_MAX+1.
32604 (__strncmp_g): Likewise.
32606 2011-07-23 Ulrich Drepper <drepper@gmail.com>
32608 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32609 * libio/stido.h: Likewise.
32611 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32613 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32616 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32617 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32618 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32619 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32620 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32623 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32626 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32628 (_dl_x86_64_save_sse): Likewise.
32630 2011-07-22 Ulrich Drepper <drepper@gmail.com>
32632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32634 (_dl_x86_64_save_sse): Likewise.
32636 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32638 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32640 2011-07-21 Andreas Schwab <schwab@redhat.com>
32642 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32644 (_dl_x86_64_save_sse): Use correct AVX check.
32646 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32648 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32649 bug in strncpy/strncat.
32650 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32652 2011-07-21 Ulrich Drepper <drepper@gmail.com>
32654 * string/tester.c (test_strcat): Add tests for different alignments
32655 of source and destination.
32656 (test_strncat): Likewise.
32658 2011-07-20 Ulrich Drepper <drepper@gmail.com>
32661 * posix/glob.c (glob): Check passed in values before using them in
32662 expressions to avoid some overflows.
32663 (glob_in_dir): Likewise.
32666 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32667 check for AVX enablement so that we don't crash with old kernels and
32669 * elf/tst-audit4.c: Add same checks here.
32670 * elf/tst-audit6.c: Likewise.
32672 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
32674 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32676 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32678 2011-07-20 Ulrich Drepper <drepper@gmail.com>
32680 * po/cs.po: Update from translation team.
32681 * po/bg.po: Likewise.
32683 2011-07-12 Marek Polacek <mpolacek@redhat.com>
32685 * misc/sys/cdefs.h: Add support for const attribute.
32686 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32687 to gnu_dev_{major,minor,makedev} functions.
32689 2011-07-20 Marek Polacek <mpolacek@redhat.com>
32691 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32693 2011-07-20 Andreas Schwab <schwab@redhat.com>
32695 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32698 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32700 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32701 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32702 register in order to avoid conflicts with the soft frame pointer
32703 being held in r11 when necessary.
32704 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32705 (INTERNAL_VSYSCALL_NCS): Likewise.
32707 2011-07-14 Marek Polacek <mpolacek@redhat.com>
32709 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32710 * elf/dl-fini.c (_dl_fini): Adjust caller.
32711 * elf/dl-close.c (_dl_close_worker): Likewise.
32712 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32714 2011-07-15 Marek Polacek <mpolacek@redhat.com>
32716 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32717 "aux_cache->nlibs < 0".
32719 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32720 in the reload-count case.
32722 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32724 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32725 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32726 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32727 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32728 * sysdeps/x86_64/multiarch/strcat.S: New file.
32729 * sysdeps/x86_64/multiarch/strncat.S: New file.
32730 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32731 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32732 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32733 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32734 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32735 (USE_AS_STRCAT): Define.
32736 Add strcat and strncat support.
32737 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32738 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32739 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32740 * string/strncat.c: Update.
32741 (USE_AS_STRNCAT): Define.
32742 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32743 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32745 * sysdeps/x86_64/multiarch/init-arch.h
32746 (bit_Prefer_PMINUB_for_stringop): New.
32747 (index_Prefer_PMINUB_for_stringop): Likewise.
32748 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32749 bit_Prefer_PMINUB_for_stringop.
32751 2011-07-19 Ulrich Drepper <drepper@gmail.com>
32753 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32755 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32756 of casting of buffer.
32757 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32758 buffer32 and buffer64.
32759 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32760 writes instead of casting of buffer.
32761 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32763 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32766 2011-07-19 Andreas Schwab <schwab@redhat.com>
32768 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32770 2011-07-19 Ulrich Drepper <drepper@gmail.com>
32772 * nscd/nscd.c (termination_handler): Don't do anything for a database
32773 if it has not yet been initialized.
32775 2011-07-18 Ulrich Drepper <drepper@gmail.com>
32777 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32779 2011-07-15 Marek Polacek <mpolacek@redhat.com>
32781 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32783 2011-07-18 Ulrich Drepper <drepper@gmail.com>
32785 * po/nl.po: Update from translation team.
32786 * po/sv.po: Likewise.
32788 2011-07-16 Roland McGrath <roland@hack.frob.com>
32790 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32791 now disallowed by GCC.
32793 * configure.in (use-default-link): Default to yes if a test -shared
32794 link meets our qualifications.
32795 * configure: Regenerated.
32797 * config.make.in (output-format): New variable.
32798 * configure.in: Check for ld --print-output-format support.
32799 * configure: Regenerated.
32800 * Makerules ($(common-objpfx)format.lds)
32801 [$(output-format) != unknown]: Just use $(output-format),
32802 instead of the linker-script munging.
32804 2011-07-14 Roland McGrath <roland@hack.frob.com>
32806 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32807 of $(common-objpfx)shlib.lds.
32808 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32810 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32811 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32813 * configure.in (-z relro check): Adjust test code to add a large
32814 writable data section after it.
32815 * configure: Regenerated.
32817 2011-07-11 Roland McGrath <roland@hack.frob.com>
32819 * configure.in (-z relro check): Fix test code to make the variable
32821 * configure: Regenerated.
32823 2011-07-11 Ulrich Drepper <drepper@gmail.com>
32825 * nscd/nscd.h (struct traced_file): Define.
32826 (struct database_dyn): Remove inotify_descr, reset_res, and filename
32827 elements. Add traced_files.
32828 (inotify_fd): Declare.
32829 (register_traced_file): Declare.
32830 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32831 (inotify_fd): Export.
32832 (resolv_conf_descr): Remove.
32833 (nscd_init): Move inotify descriptor creation to main.
32834 Don't register files for notification here.
32835 (register_traced_file): New function.
32836 (invalidate_cache): Don't use reset_res to determine whether to call
32837 res_init, go through the list of registered files.
32838 (main_loop_poll): The inotify descriptors are now stored in the
32839 structures for the traced files.
32840 (main_loop_epoll): Likewise
32841 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
32842 to __nss_disable_nscd.
32843 * nscd/cache.c (prune_cache): There is no single inotify descriptor
32844 for a database anymore. Check the records for all the registered
32846 * nss/Makefile (libnss_files-routines): Add files-init.
32847 (libnss_db-routines): Add db-init.
32848 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32849 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32850 * nss/nss_db/db-init.c: New file.
32851 * nss/nss_files/files-init.c: New file.
32852 * nss/nsswitch.c (nss_load_library): New function. Broken out of
32853 __nss_lookup_function.
32854 (__nss_lookup_function): Call nss_load_library.
32855 (nss_load_all_libraries): New function.
32856 (__nss_disable_nscd): Take parameter with callback function for files
32857 to register. Set is_nscd. Load all the DSOs for the NSS modules
32858 used for the cached services.
32859 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32860 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32861 options for features to all the files in nscd.
32863 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32865 2011-07-10 Roland McGrath <roland@hack.frob.com>
32867 * csu/elf-init.c (__libc_csu_init): Comment typo.
32869 2011-07-09 Ulrich Drepper <drepper@gmail.com>
32871 * po/pl.po: Update from translation team.
32872 * po/ja.po: Likewise.
32873 * po/ru.po: Likewise.
32874 * po/ko.po: Likewise.
32875 * po/fr.po: Likewise.
32877 2011-07-09 Roland McGrath <roland@hack.frob.com>
32879 * configure.in (.ctors/.dtors header and trailer check):
32880 Use an empirical test on a built program.
32881 * configure: Regenerated.
32883 * configure.in (-z relro check): Use an empirical test on a built DSO.
32884 Detect, but do not require, on ia64.
32885 * configure: Regenerated.
32887 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32888 Update tests that use readelf to use $READELF instead.
32889 * configure: Regenerated.
32891 2011-07-08 Ulrich Drepper <drepper@gmail.com>
32893 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32894 if the result is not used.
32896 2011-07-05 Andreas Jaeger <aj@suse.de>
32899 * stdlib/tst-strtod.c: Add testcase.
32901 2011-07-07 Ulrich Drepper <drepper@gmail.com>
32903 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
32904 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
32905 The latter has a higher limit. Take additional parameter to pass to
32907 (__pathconf): Pass file to __statfs_link_max.
32908 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32910 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32914 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32915 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32917 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32918 (__statfs_filesize_max): Likewise.
32919 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32921 2011-07-05 Andreas Jaeger <aj@suse.de>
32923 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32925 2011-07-06 Marek Polacek <mpolacek@redhat.com>
32927 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32929 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32932 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32934 * Makefile (strop-tests): Add strncat.
32935 * string/test-strncat.c: New file.
32937 2011-06-30 Marek Polacek <mpolacek@redhat.com>
32939 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32941 2011-06-21 Andreas Jaeger <aj@suse.de>
32943 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32944 Copy rule from iconvdata/Makefile.
32946 2011-07-06 Ulrich Drepper <drepper@gmail.com>
32949 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32950 but no long options are defined, just return 'W'.
32952 2011-06-22 Marek Polacek <mpolacek@redhat.com>
32955 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32957 2011-07-06 Ulrich Drepper <drepper@gmail.com>
32959 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32961 (innetgr): Likewise.
32963 2011-07-05 Roland McGrath <roland@hack.frob.com>
32965 * config.make.in (install_root): Default to $(DESTDIR).
32967 2011-07-05 Ulrich Drepper <drepper@gmail.com>
32969 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32971 2011-07-02 Roland McGrath <roland@hack.frob.com>
32973 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32975 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32976 containing directory rather than embedding absolute directory names.
32978 * scripts/check-local-headers.sh: Rewritten using awk.
32979 Match by word, not by line. Print error messages for matches.
32980 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
32982 * Makerules [shlib-lds-flags empty]:
32983 ($(common-objpfx)libc_pic.opts): New target.
32984 ($(common-objpfx)libc_pic.os.clean): New target.
32985 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
32987 * config.make.in (OBJCOPY): New variable.
32988 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32989 * configure: Regenerated.
32991 * config.make.in (use-default-link): New variable.
32992 * configure.in (use_default_link): Grok --with-default-link to set it.
32993 * configure: Regenerated.
32994 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
32995 (shlib-lds, shlib-lds-flags): Define to empty.
32997 * Makerules (shlib-lds): New variable.
32998 (shlib-lds-flags): New variable.
32999 (build-shlib, build-moduile, build-module-asneeded): Use it.
33000 ($(common-objpfx)libc.so): Use $(shlib-lds).
33001 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33002 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33004 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33005 DT_FLAGS/DT_FLAGS_1 with zero flags.
33007 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33008 linker script munging.
33010 2011-07-02 Ulrich Drepper <drepper@gmail.com>
33012 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33014 * crypt/sha512.c (sha512_process_block): Perform total addition using
33015 128-bit if possible.
33016 (__sha512_finish_ctx): Likewise.
33017 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33019 * crypt/sha256.c (SWAP64): Define.
33020 (sha256_process_block): Perform total addition using 64-bit if
33022 (__sha256_finish_ctx): Likewise.
33024 2011-07-01 Ulrich Drepper <drepper@gmail.com>
33026 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
33027 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33028 * nscd/hstcache.c (cache_addhst): Likewise.
33029 * nscd/grpcache.c (cache_addgr): Likewise.
33030 * nscd/aicache.c (addhstaiX): Likewise
33031 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33033 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
33035 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33036 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33037 * nscd/hstcache.c (cache_addhst): Likewise.
33038 * nscd/grpcache.c (cache_addgr): Likewise.
33039 * nscd/aicache.c (addhstaiX): Likewise
33041 2011-07-01 Andreas Schwab <schwab@redhat.com>
33043 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33044 domain only when needed.
33046 2011-06-30 Andreas Schwab <schwab@redhat.com>
33048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33049 is always restored.
33051 2011-06-29 Ulrich Drepper <drepper@gmail.com>
33053 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33054 are re-adding the entry.
33055 * nscd/servicescache.c (cache_addserv): Likewise.
33057 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
33059 * sysdeps/generic/dl-irel.h: fix protection against multiple
33061 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33063 2011-06-28 Ulrich Drepper <drepper@gmail.com>
33066 * malloc/memusage.sh: Fix quoting in message.
33067 * debug/xtrace.sh: Likewise.
33069 * configure.in: Remove support for --experimental-malloc option, make
33071 * config.make.in: Likewise.
33072 * malloc/Makefile: Likewise.
33074 2011-06-27 Andreas Schwab <schwab@redhat.com>
33076 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33077 two-byte characters.
33079 2011-06-27 Roland McGrath <roland@hack.frob.com>
33081 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33082 AC_CACHE_CHECK invocation.
33083 * configure: Regenerated.
33085 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33087 2011-06-27 Ulrich Drepper <drepper@gmail.com>
33090 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
33091 bit from old_res_options.
33093 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33095 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33096 value type for setfct.
33098 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
33100 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33101 __gettimeofday instead of gettimeofday.
33103 2011-06-26 Ulrich Drepper <drepper@gmail.com>
33105 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33107 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
33109 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33111 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33114 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33116 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33117 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33118 strcpy-sse2-unaligned strncpy-sse2-unaligned
33119 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33120 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33121 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33122 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33123 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33124 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33125 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33126 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33127 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33128 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33129 (STRCPY): Support SSE2 and SSSE3 versions.
33131 2011-06-24 Ulrich Drepper <drepper@gmail.com>
33134 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33135 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33136 kernels which artificially limit size of requests.
33138 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33140 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33141 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33142 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33143 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33144 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33145 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33146 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33147 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33148 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33149 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33150 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33151 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33152 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33153 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33154 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33155 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33156 Enable unaligned load optimization for Intel Core i3, i5 and i7
33158 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33160 (index_Fast_Unaligned_Load): Define.
33161 (HAS_FAST_UNALIGNED_LOAD): Define.
33163 2011-06-23 Marek Polacek <mpolacek@redhat.com>
33165 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33167 2011-06-22 Ulrich Drepper <drepper@gmail.com>
33170 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33171 until it is clear that the information is realy needed.
33172 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33174 2011-06-22 Andreas Schwab <schwab@redhat.com>
33176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33178 2011-06-22 Ulrich Drepper <drepper@gmail.com>
33180 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33181 /sys/devices/system/cpu/online if it is usable.
33183 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33184 reading the information from the /proc filesystem to once a second.
33186 2011-06-21 Andreas Jaeger <aj@suse.de>
33188 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33189 NULL after inclusion of kernel headers.
33191 2011-06-21 Ulrich Drepper <drepper@gmail.com>
33193 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33194 calls to internal_setent.
33197 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33198 addresses using gethostbyname4_r ignore IPv4 addresses.
33200 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33201 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
33203 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33205 2011-06-20 David S. Miller <davem@davemloft.net>
33207 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33209 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33211 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33212 (elf_irel): Use it.
33213 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33214 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33215 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33216 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33217 * sysdeps/x86_64/dl-irel.h: Likewise.
33219 * elf/dl-runtime.c: Use elf_ifunc_invoke.
33220 * elf/dl-sym.c: Likewise.
33222 2011-06-15 Ulrich Drepper <drepper@gmail.com>
33224 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
33225 need to dereference resplen2.
33227 2011-06-14 Andreas Schwab <schwab@redhat.com>
33229 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33231 2011-06-15 Ulrich Drepper <drepper@gmail.com>
33233 * Makeconfig: Define vardbdir and inst_vardbdir.
33234 * nss/Makefile: Add rules to install db-Makefile.
33236 * nss/nss_db/db-XXX.c: Cleanup.
33238 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33239 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33241 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33242 * nss/makedb.c: Implement -g option to specify that value strings
33243 are generated and should not be added to table iterated over for
33245 * nss/nss_db/db-initgroups.c: New file.
33247 * nss/getent.c: Add support for initgroups lookups through getgrouplist
33250 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33251 (internal_getgrouplist): Adjust to name change.
33252 Update use_initgroups_entry if this is not the first call.
33253 * nss/databases.def: Add initgroups entry.
33255 * nss/makedb.c (compute_tables): Check result of multiple hash table
33256 sizes to minimize maximum chain length.
33258 2011-06-14 Ulrich Drepper <drepper@gmail.com>
33260 * Versions.def: Add entry for libnss_db.
33261 * shlib-versions: Likewise.
33262 * nss/Makefile: Add rules to build libnss_db.
33263 * nss/Versions: Add libnss_db information. Organize libnss_files
33265 * nss/db-Makefile: Add gshadow support. Change rules for the new
33266 makedb progra. Some minor improvements to generate smaller files.
33267 * nss/nss_db/nss_db.h: Move NSS database header data structures to
33269 * nss/makedb.c: ...here.
33270 Improve database format to be smaller and require less memory at
33272 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
33274 * nss/nss_db/db-netgrp.c: Likewise.
33275 * nss/nss_db/db-open.c: Likewise.
33276 * nss/nss_files/flies-XXX.x: Adjust comments.
33277 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33278 * nss/nss_files/files-grp.c: Likewise.
33279 * nss/nss_files/files-hosts.c: Likewise.
33280 * nss/nss_files/files-network.c: Likewise.
33281 * nss/nss_files/files-proto.c: Likewise.
33282 * nss/nss_files/files-pwd.c: Likewise.
33283 * nss/nss_files/files-rpc.c: Likewise.
33284 * nss/nss_files/files-service.c: Likewise.
33285 * nss/nss_files/files-sgrp.c: Likewise.
33286 * nss/nss_files/files-spwd.c: Likewise.
33287 * nss/nss_db/db-alias.c: Removed.
33288 * nss/nss_db/dummy-db.h: Removed.
33290 2011-06-02 Ulrich Drepper <drepper@gmail.com>
33292 * nss/makedb.c: Rewritten to not use database library.
33293 * nss/Makefile: Update to build new makedb program.
33295 2011-06-14 Andreas Jaeger <aj@suse.de>
33297 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33298 memset declaration.
33300 2011-06-10 Andreas Schwab <schwab@redhat.com>
33302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33305 2011-06-10 Roland McGrath <roland@hack.frob.com>
33307 * Makerules (shlib.lds): Fail if the linker script comes out empty.
33308 * elf/Makefile ($(objpfx)ld.so): Likewise.
33310 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33311 Don't list ld.so twice in dependencies.
33313 * posix/bug-regex31.c: Include <stdlib.h>.
33315 * nscd/hstcache.c (cache_addhst): Remove unused variable.
33317 * nis/nss_compat/compat-spwd.c
33318 (getspent_next_nss_netgr): Remove unused variable.
33319 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
33321 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33322 nonmembers" output to use the right array.
33324 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33326 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
33328 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
33329 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
33330 * catgets/gencat.c (read_input_file): Likewise.
33331 * locale/programs/locarchive.c (enlarge_archive): Likewise.
33333 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33334 variable definition inside #if's controlling its use.
33336 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33338 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33340 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33342 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33345 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33347 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33348 * configure: Regenerated.
33350 * Makerules: Revert last change.
33351 * elf/Makefile: Likewise.
33353 2011-06-09 Roland McGrath <roland@hack.frob.com>
33355 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33356 * elf/Makefile ($(objpfx)librtld.os): Likewise.
33357 (reloc-link): Likewise.
33359 2011-06-09 Ulrich Drepper <drepper@gmail.com>
33361 * elf/Makefile: Add rules to build pldd.
33362 * elf/pldd.c: New file.
33363 * elf/pldd-xx.c: New file.
33365 2011-06-07 Ulrich Drepper <drepper@gmail.com>
33367 * version.h: Update for 2.15 development version.
33369 2011-06-07 David S. Miller <davem@davemloft.net>
33371 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33373 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33374 elf_machine_lazy_rel): Likewise.
33375 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33376 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33377 elf_machine_lazy_rel): Likewise.
33378 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33379 dl_hwcap via passed in argument.
33380 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33383 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33385 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
33387 2011-06-06 Roland McGrath <roland@hack.frob.com>
33390 * manual/fdl-1.1.texi: New file, verbatim from:
33391 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33392 * manual/lgpl-2.1.texi: New file, verbatim from:
33393 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33394 * manual/Makefile (licenses): New variable, list those new file names.
33396 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33398 * manual/fdl.texi: File removed.
33399 * manual/lesser.texi: File removed.
33400 * manual/libc.texinfo (Copying, Documentation License):
33401 Use new @include file names, put @appendix directive before @include.
33403 2011-06-04 Jakub Jelinek <jakub@redhat.com>
33406 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33407 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33408 (mq_open): Add __NTH.
33410 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
33412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33413 Assume Intel Core i3/i5/i7 processor if AVX is available.
33415 2011-05-31 Ulrich Drepper <drepper@gmail.com>
33417 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33420 2011-05-31 Andreas Schwab <schwab@redhat.com>
33422 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33423 memory. Use alloca_account. Fix memory leak when retrying.
33425 2011-05-31 Ulrich Drepper <drepper@gmail.com>
33427 * version.h (RELEASE): Bump for 2.14 release.
33428 * include/features.h (__GLIBC_MINOR__): Bump to 14.
33430 * config.make.in (RANLIB): Remove entry.
33432 2011-05-30 Ulrich Drepper <drepper@gmail.com>
33434 * po/Makefile (po-sed-cmd): Add ksh to extensions.
33435 (libc.pot): Work around missing support for .ksh extension in xgettext.
33438 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33439 if both request failed.
33440 (send_dg): In case of server errors clear resplen or *resplen2.
33443 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33444 when there are multiple maps.
33445 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33446 (_dl_fini): Remove test here.
33448 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33450 2011-05-29 Ulrich Drepper <drepper@gmail.com>
33453 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33454 bit from old_res_options.
33455 (gaih_inet): Likewise.
33458 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
33461 * resolv/res_init.c (res_setoptions): Make the code more compact.
33464 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33468 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33470 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33473 * malloc/malloc.h: Declare malloc hook variables as volatile.
33475 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33479 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
33480 raise in the comment.
33481 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33482 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33483 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
33485 2011-05-28 Ulrich Drepper <drepper@gmail.com>
33488 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33489 grow the buffers more if it already has to be sufficient.
33490 (build_wcs_upper_buffer): Likewise.
33491 * posix/regexec.c (check_matching): Likewise.
33492 (clean_state_log_if_needed): Likewise.
33493 (extend_buffers): Don't enlarge buffers beyond size of the input
33495 Patches mostly by Emil Wojak <emil@wojak.eu>.
33496 * posix/bug-regex32.c: New file.
33497 * posix/Makefile (tests): Add bug-regex32.
33499 * locale/findlocale.c (_nl_find_locale): Return right away if
33500 _nl_explode_name failed.
33501 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33503 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33505 * debug/xtrace.sh: Unify messages.
33506 * malloc/memusage.sh: Likewise.
33509 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33510 time symbol from vDSO. Substitute with vsyscall if not available.
33511 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33514 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33515 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33516 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33517 Add sendmmsg and internal_sendmmsg.
33518 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33519 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33520 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33522 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33523 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33524 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33526 2011-05-27 Ulrich Drepper <drepper@gmail.com>
33529 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33530 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33532 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33536 * iconvdata/Makefile (tests): Add bug-iconv9.
33537 * iconvdata/bug-iconv9.c: New file.
33539 2011-05-27 Andreas Schwab <schwab@redhat.com>
33542 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33544 2011-05-25 Jakub Jelinek <jakub@redhat.com>
33546 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33547 (struct user_regs_struct): Change intcs field back to cs.
33549 2011-05-25 Ulrich Drepper <drepper@gmail.com>
33551 * po/ja.po: Update from translation team.
33553 2011-05-23 Ulrich Drepper <drepper@gmail.com>
33556 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33557 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33559 2011-05-20 Andreas Schwab <schwab@redhat.com>
33561 * stdlib/longlong.h: Update from GCC.
33563 2011-05-23 Andreas Schwab <schwab@redhat.com>
33565 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33567 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33568 Add parameter name.
33569 (__sysconf): Pass it down.
33571 2011-05-22 Ulrich Drepper <drepper@gmail.com>
33574 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33576 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33577 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33578 add in in __libc_use_alloca calls. Adjust callers.
33579 (glob): Use malloc in some situations.
33581 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33582 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33585 2011-05-21 Ulrich Drepper <drepper@gmail.com>
33587 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33588 and CLOCK_BOOTTIME_ALARM.
33591 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33594 * string/_strerror.c (__strerror_r): Print negative errors as signed
33598 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33599 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33600 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33602 * configure.in: Fix typo in redirection and correct removal of test
33603 files in two cases.
33606 * locale/setlocale.c (new_composite_name): Fix test to check for
33607 identical name of all categories.
33610 * libio/filedoalloc.c (local_isatty): New function.
33611 (_IO_file_doallocate): Use local_isatty.
33612 * stdio-common/perror.c (perror): In case a new stream is used
33613 forward the stream error.
33614 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33617 2011-05-20 Ulrich Drepper <drepper@gmail.com>
33620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33622 * include/alloca.h (extend_alloca_account): Define.
33625 * posix/regex.h: Fix comments with documentation of user-accessible
33626 fields after compilation and describe correct free'ing of pattern
33627 after re_compile_pattern.
33628 Patch by Reuben Thomas <rrt@sc3d.org>.
33630 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33632 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33633 and -mno-altivec to prevent the compiler from using Altivec and/or
33634 VSX instructions when the corresponding registers are not available.
33636 2011-05-19 Andreas Schwab <schwab@redhat.com>
33638 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33640 2011-05-19 Ulrich Drepper <drepper@gmail.com>
33642 * libio/freopen.c (freopen): Use __dup2, not dup2.
33643 * libio/freopen64.c (freopen64): Likewise.
33645 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33648 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33649 * math/Makefile (tests): Add test-powl.
33650 (CFLAGS-test-powl.c): Define.
33651 * math/test-powl.c: New file.
33653 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33655 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33657 2011-05-17 Ulrich Drepper <drepper@gmail.com>
33660 * iconvdata/gb18030.c: Update to GB18020-2005.
33662 2011-05-16 Ulrich Drepper <drepper@gmail.com>
33664 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33665 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33666 Patch by Aharon Robbins <arnold@skeeve.com>.
33669 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33673 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33674 through underflows.
33677 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33678 point to strings before performing equality test for error_one_per_line
33682 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33685 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33686 (struct user_fpregs_struct): Avoid __uint*_t types.
33689 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33690 symbol info. Use it instead of calling _dl_addr locally.
33691 (lock_and_info): New function.
33692 (tr_freehook): Call lock_and_info and pass symbol info as additional
33693 parameter to tr_where.
33694 (tr_mallochook): Likewise.
33695 (tr_reallochook): Likewise.
33696 (tr_memalignhook): Likewise.
33698 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33699 used and couldn't be at all thread-safe.
33701 2011-05-15 Ulrich Drepper <drepper@gmail.com>
33703 * libio/freopen.c (freopen): Don't close old file descriptor
33704 before the new one is opened. Instead dup the new file descriptor
33705 to the old one after the new stream is created.
33706 * libio/freopen64.c (freopen64): Likewise.
33707 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33708 * libio/fileops.c (_IO_new_file_close_it): Handle new
33709 _IO_FLAGS2_NOCLOSE flag.
33710 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33711 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33712 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33713 _IO_FLAGS2_NOCLOSE flag.
33714 * include/unistd.h: Add hidden_proto for dup3.
33715 Define __have_dup3.
33716 * io/dup3.c: Define hidden symbol.
33717 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33720 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33721 when an incomplete long option is used.
33722 * posix/tst-getopt_long1.c: New file.
33723 * posix/Makefile (tests): Add tst-getopt_long1.
33726 * scripts/config.guess: Update from autoconf-2.68.
33727 * scripts/config.sub: Likewise.
33730 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33732 (has_cpuclock): ...this. New function.
33733 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33734 macro here based on has_cpuclock code.
33737 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33738 First byte (not low byte) is now always NUL.
33739 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33741 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33742 Use non-cancelable interfaces.
33745 * locale/iso-639.def: Add entry for Sorani.
33748 * include/stdlib.h: Move include protection to the right place.
33749 Define abort_msg_s. Declare __abort_msg with it.
33750 * stdlib/abort.c (__abort_msg): Adjust type.
33751 * assert/assert.c (__assert_fail_base): New function. Majority
33752 of code from __assert_fail. Allocate memory for __abort_msg with
33754 (__assert_fail): Now call __assert_fail_base.
33755 * assert/assert-perr.c: Remove bulk of implementation. Use
33756 __assert_fail_base.
33757 * include/assert.hL Declare __assert_fail_base.
33758 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33760 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33762 2011-05-14 Ulrich Drepper <drepper@gmail.com>
33766 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33767 until all modules are registered in the DTV.
33768 * elf/Makefile: Add rules to build and run tst-tls19.
33769 * elf/tst-tls19.c: New file.
33770 * elf/tst-tls19mod1.c: New file.
33771 * elf/tst-tls19mod2.c: New file.
33772 * elf/tst-tls19mod3.c: New file.
33773 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33776 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33780 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33781 two-byte sequence errors.
33782 * iconvdata/Makefile (tests): Add bug-iconv8.
33783 * iconvdata/bug-iconv8.c: New file.
33786 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33789 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33792 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33793 (dummy_getcfa): New function.
33794 (init): Get _Unwind_GetCFA address, use dummy if not found.
33795 (backtrace_helper): In recursion check, also check whether CFA changes.
33796 (__backtrace): Completely initialize arg.
33798 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
33799 storing incomplete byte sequence in state object. Avoid testing for
33800 guaranteed too small input if we know there is enough data available.
33802 2011-05-11 Andreas Schwab <schwab@redhat.com>
33804 * Makeconfig (+link-pie): Indent.
33805 * Rules (binaries-pie): Define if $(have-fpie) and
33807 (binaries-shared): Also filter out $(binaries-pie).
33808 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33809 * nscd/Makefile (others-pie): Add nscd.
33810 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33811 ($(objpfx)nscd): Remove command override.
33812 * login/Makefile (others-pie): Add pt_chown.
33813 ($(objpfx)pt_chown): Remove command override.
33814 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33815 remove command overrides.
33817 2011-05-13 Ulrich Drepper <drepper@gmail.com>
33819 * libio/tst_putwc.c: Fix error messages.
33822 * libio/fileops.c (_IO_new_file_close_it): Always flush when
33823 currently writing and seek to current position when not.
33824 * libio/Makefile (tests): Add bug-fclose1.
33825 * libio/bug-fclose1.c: New file.
33827 2011-05-12 Ulrich Drepper <drepper@gmail.com>
33830 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33831 don't set DF_1_NODELETE here.
33832 (do_lookup_x): When entering new entry test for copy relocation
33833 and if necessary set DF_1_NODELETE flag.
33834 * elf/tst-unique4.cc: New file.
33835 * elf/tst-unique4.h: New file.
33836 * elf/tst-unique4lib.cc: New file.
33837 * elf/Makefile: Add rules to build and run tst-unique4.
33838 Patch by Piotr Bury <pbury@goahead.com>.
33840 2011-05-11 Ulrich Drepper <drepper@gmail.com>
33843 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33846 * misc/mntent_r.c (addmntent): Flush the stream after the output
33849 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33850 (is_trusted_path_normalize): Skip initial colon. Append slash
33851 to empty buffer. Duplicate is_trusted_path code but allow
33852 constructed patch to be prefix.
33853 (is_dst): Allow $ORIGIN followed by /.
33854 (_dl_dst_substitute): Correct clearing of check_for_trusted.
33855 Correct testing of result of is_trusted_path_normalize
33856 (decompose_rpath): Fix warning.
33858 2011-05-10 Ulrich Drepper <drepper@gmail.com>
33861 * grp/initgroups.c (internal_getgrouplist): When we found the service
33862 list through the initgroups entry in nsswitch.conf do not always
33863 continue on a successful lookup. Don't always use the
33864 __nss_group_database value if it is set.
33865 * nss/nsswitch.conf (initgroups): Change action for successful db
33866 lookup to continue for compatibility.
33868 2011-05-09 Ulrich Drepper <drepper@gmail.com>
33871 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33873 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33875 * iconvdata/tst-tables.sh: Likewise.
33876 * iconvdata/cp770.c: New file.
33877 * iconvdata/cp771.c: New file.
33878 * iconvdata/cp772.c: New file.
33879 * iconvdata/cp773.c: New file.
33880 * iconvdata/cp774.c: New file.
33881 * iconvdata/testdata/CP770: New file.
33882 * iconvdata/testdata/CP770..UTF8: New file.
33883 * iconvdata/testdata/CP771: New file.
33884 * iconvdata/testdata/CP771..UTF8: New file.
33885 * iconvdata/testdata/CP772: New file.
33886 * iconvdata/testdata/CP772..UTF8: New file.
33887 * iconvdata/testdata/CP773: New file.
33888 * iconvdata/testdata/CP773..UTF8: New file.
33889 * iconvdata/testdata/CP774: New file.
33890 * iconvdata/testdata/CP774..UTF8: New file.
33892 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33894 * iconvdata/gen-8bit-gap.sh: Likewise.
33895 * iconvdata/gen-8bit.sh: Likewise.
33897 * locale/iso-639.def: Add ary entry.
33900 * locale/C-translit.h.in: Add U20A1 transliteration.
33903 * locale/iso-639.def: Add wae entry.
33904 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33907 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33911 * locale/C-translit.h.in: Add entry for U20B9.
33912 Patch by pravin.d.s@gmail.com.
33914 2011-05-08 Ulrich Drepper <drepper@gmail.com>
33917 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33918 ENAMETOOLONG use generic getcwd.
33919 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33920 in rtld. Use *stat64.
33921 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
33922 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
33923 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
33924 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33925 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33926 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33927 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33928 __fstatat64 macros.
33929 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33930 * dirent/rewinddir.c: Add libc_hidden_def.
33931 * sysdeps/mach/hurd/rewinddir.c: Likewise.
33932 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
33934 * include/dirent.h (__alloc_dir): Add flags parameter.
33935 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33936 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33938 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33939 from fdopendir if O_CLOEXEC is already set.
33941 2011-03-15 Alan Modra <amodra@gmail.com>
33943 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
33944 l_tls_firstbyte_offset non-zero. Save padding offset in
33945 l_tls_firstbyte_offset for later use.
33946 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
33947 freeing static tls block.
33949 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33951 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
33952 where #ifdef was intended. The intent is to prevent ARG_MAX from
33953 being defined by the kernel headers.
33955 2011-05-07 Ulrich Drepper <drepper@gmail.com>
33958 * resolv/resolv.h: Define RES_NOTLDQUERY.
33959 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
33960 no-tld-query and set RES_NOTLDQUERY.
33961 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
33962 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
33963 modern BIND to search name as TLD unless forbidden.
33965 2011-05-07 Petr Baudis <pasky@suse.cz>
33966 Ulrich Drepper <drepper@gmail.com>
33969 * elf/dl-load.c (fillin_rpath): Move trusted path check...
33970 (is_trusted_path): ...to here.
33971 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
33972 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
33973 using is_trusted_path_normalize() in setuid scripts.
33975 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33977 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33978 __BEGIN/__END_DECLS.
33980 2011-05-06 Ulrich Drepper <drepper@gmail.com>
33982 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33983 NSS_STATUS_NOTFOUND if no record was found.
33985 2011-05-05 Andreas Schwab <schwab@redhat.com>
33987 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33988 (headers-not-in-tirpc): Remove rpc/netdb.h
33989 * resolv/netdb.h: Revert last change.
33991 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33993 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33994 circular dependency between libgcc.a and libc.a.
33996 2011-05-05 Andreas Schwab <schwab@redhat.com>
33998 * resolv/netdb.h: Don't include <rpc/netdb.h>.
33999 * nis/Makefile: Don't install rpcsvc/*.
34000 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34001 instead of <rpc/types.h>.
34002 (MAXHOSTNAMELEN): Define.
34004 2011-05-03 Andreas Schwab <schwab@redhat.com>
34006 * elf/ldconfig.c (add_dir): Don't crash on empty path.
34008 2011-04-28 Maciej Babinski <mbabinski@google.com>
34011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34012 gethostbyname4_r when IPv6 results are possible.
34014 2011-05-02 Ulrich Drepper <drepper@gmail.com>
34017 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34018 _PC_PIPE_BUF handling.
34020 2011-04-30 Bruno Haible <bruno@clisp.org>
34023 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34024 * resolv/netdb.h (getnameinfo): Change type of flags parameter
34026 * inet/getnameinfo.c (getnameinfo): Likewise.
34028 2011-04-29 Ulrich Drepper <drepper@gmail.com>
34030 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34031 to groups setting in database lookup.
34032 * nss/nsswitch.conf: Add initgroups entry.
34034 2011-04-22 Ulrich Drepper <drepper@gmail.com>
34037 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34039 Patch by Eric Blake <eblake@redhat.com>.
34041 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
34043 * sunrpc/Makefile (need-export-routines): Add svc_run.
34044 (routines): Remove svc_run.
34045 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34046 * sunrpc/clnt_perr.c (clnt_perrno): Export.
34047 * sunrpc/svc_run.c (svc_run): Likewise.
34048 * sunrpc/svc_udp.c (svcudp_create): Likewise.
34050 2011-04-21 Ulrich Drepper <drepper@gmail.com>
34052 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34053 problem in reallocation in last patch.
34055 2011-04-20 Ulrich Drepper <drepper@gmail.com>
34057 * sunrpc/Makefile: Move inclusion of Rules.
34059 2011-04-19 Ulrich Drepper <drepper@gmail.com>
34061 * nss/nss_files/files-initgroups.c: New file.
34062 * nss/Makefile (libnss_files-routines): Add files-initgroups.
34063 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34064 _nss_files_initgroups_dyn.
34066 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
34068 * elf/elf.h (R_ARM_IRELATIVE): Define.
34070 2011-04-19 Ulrich Drepper <drepper@gmail.com>
34072 * po/ru.po: Update from translation team.
34074 2011-04-17 Ulrich Drepper <drepper@gmail.com>
34076 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34079 2011-02-06 Mike Frysinger <vapier@gentoo.org>
34082 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34083 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34084 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34085 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34086 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34088 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
34090 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34092 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34093 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34094 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34096 2011-04-17 Ulrich Drepper <drepper@gmail.com>
34099 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34101 * stdlib/bug-getcontext.c: New file.
34102 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34104 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34106 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34107 instructions into .machine "z9-109".
34108 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34109 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34111 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34113 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34114 between environment variables and auxiliary vector.
34116 2011-04-16 Ulrich Drepper <drepper@gmail.com>
34118 * Makefile: Add rules to build linkobj/libc.so.
34119 * include/libc-symbols.h: Define libc_hidden_nolink.
34120 * include/rpc/auth.h: Mark functions which are to be hidden.
34121 * include/rpc/auth_des.h: Likewise.
34122 * include/rpc/auth_unix.h: Likewise.
34123 * include/rpc/clnt.h: Likewise.
34124 * include/rpc/des_crypt.h: Likewise.
34125 * include/rpc/key_prot.h: Likewise.
34126 * include/rpc/pmap_clnt.h: Likewise.
34127 * include/rpc/pmap_prot.h: Likewise.
34128 * include/rpc/pmap_rmt.h: Likewise.
34129 * include/rpc/rpc_msg.h: Likewise.
34130 * include/rpc/svc.h: Likewise.
34131 * include/rpc/svc_auth.h: Likewise.
34132 * include/rpc/xdr.h: Likewise.
34133 * nis/Makefile: Link all DSOs against linkobj/libc.so.
34134 * nss/Makefile: Likewise.
34135 * sunrpc/Makefile: Don't install headers. Build library with normal
34136 entry points. Don't build rpcinfo. Link RPC tests appropriately.
34137 * sunrpc/auth_des.c: Hide exported symbols by default, export some
34138 for the compat linking library. Remove use of INTDEF/INTUSE.
34139 * sunrpc/auth_none.c: Likewise.
34140 * sunrpc/auth_unix.c: Likewise.
34141 * sunrpc/authdes_prot.c: Likewise.
34142 * sunrpc/authuxprot.c: Likewise.
34143 * sunrpc/clnt_gen.c: Likewise.
34144 * sunrpc/clnt_perr.c: Likewise.
34145 * sunrpc/clnt_raw.c: Likewise.
34146 * sunrpc/clnt_simp.c: Likewise.
34147 * sunrpc/clnt_tcp.c: Likewise.
34148 * sunrpc/clnt_udp.c: Likewise.
34149 * sunrpc/clnt_unix.c: Likewise.
34150 * sunrpc/des_crypt.c: Likewise.
34151 * sunrpc/des_soft.c: Likewise.
34152 * sunrpc/get_myaddr.c: Likewise.
34153 * sunrpc/key_call.c: Likewise.
34154 * sunrpc/key_prot.c: Likewise.
34155 * sunrpc/netname.c: Likewise.
34156 * sunrpc/pm_getmaps.c: Likewise.
34157 * sunrpc/pm_getport.c: Likewise.
34158 * sunrpc/pmap_clnt.c: Likewise.
34159 * sunrpc/pmap_prot.c: Likewise.
34160 * sunrpc/pmap_prot2.c: Likewise.
34161 * sunrpc/pmap_rmt.c: Likewise.
34162 * sunrpc/publickey.c: Likewise.
34163 * sunrpc/rpc_cmsg.c: Likewise.
34164 * sunrpc/rpc_common.c: Likewise.
34165 * sunrpc/rpc_dtable.c: Likewise.
34166 * sunrpc/rpc_prot.c: Likewise.
34167 * sunrpc/rpc_thread.c: Likewise.
34168 * sunrpc/rtime.c: Likewise.
34169 * sunrpc/svc.c: Likewise.
34170 * sunrpc/svc_auth.c: Likewise.
34171 * sunrpc/svc_authux.c: Likewise.
34172 * sunrpc/svc_raw.c: Likewise.
34173 * sunrpc/svc_run.c: Likewise.
34174 * sunrpc/svc_simple.c: Likewise.
34175 * sunrpc/svc_tcp.c: Likewise.
34176 * sunrpc/svc_udp.c: Likewise.
34177 * sunrpc/svc_unix.c: Likewise.
34178 * sunrpc/svcauth_des.c: Likewise.
34179 * sunrpc/xcrypt.c: Likewise.
34180 * sunrpc/xdr.c: Likewise.
34181 * sunrpc/xdr_array.c: Likewise.
34182 * sunrpc/xdr_float.c: Likewise.
34183 * sunrpc/xdr_intXX_t.c: Likewise.
34184 * sunrpc/xdr_mem.c: Likewise.
34185 * sunrpc/xdr_rec.c: Likewise.
34186 * sunrpc/xdr_ref.c: Likewise.
34187 * sunrpc/xdr_sizeof.c: Likewise.
34188 * sunrpc/xdr_stdio.c: Likewise.
34190 2011-04-10 Ulrich Drepper <drepper@gmail.com>
34193 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34194 * sysdeps/ia64/dl-tls.h: Likewise.
34195 * sysdeps/powerpc/dl-tls.h: Likewise.
34196 * sysdeps/s390/dl-tls.h: Likewise.
34197 * sysdeps/sh/dl-tls.h: Likewise.
34198 * sysdeps/sparc/dl-tls.h: Likewise.
34199 * sysdeps/x86_64/dl-tls.h: Likewise.
34200 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34202 2011-03-14 Andreas Schwab <schwab@redhat.com>
34204 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34205 rpath element also skip the following colon.
34206 (expand_dynamic_string_token): Add is_path parameter and pass
34207 down to DL_DST_REQUIRED and _dl_dst_substitute.
34208 (decompose_rpath): Call expand_dynamic_string_token with
34209 non-zero is_path. Ignore empty rpaths.
34210 (_dl_map_object_from_fd): Call expand_dynamic_string_token
34213 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
34215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34218 2011-04-09 Ulrich Drepper <drepper@gmail.com>
34221 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34222 Patch by Filipe David Manana <fdmanana@apache.org>.
34224 2011-04-07 Andreas Schwab <schwab@redhat.com>
34226 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34227 Maintain aligned stack.
34228 (CHECK_RSP): Remove unused macro.
34230 2011-04-03 Ulrich Drepper <drepper@gmail.com>
34232 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34233 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34235 2011-04-02 Ulrich Drepper <drepper@gmail.com>
34237 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34239 * include/features.h: Mention __USE_XOPEN2K8 in comment.
34241 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
34244 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34245 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34246 * sysdeps/x86_64/memmove.c: New file.
34247 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34248 (memcpy): Renamed to ...
34249 (__new_memcpy): This.
34250 (memcpy): Provide GLIBC_2_14 memcpy.
34251 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34252 (memcpy): Provide GLIBC_2_2_5 memcpy.
34254 2011-04-01 Ulrich Drepper <drepper@gmail.com>
34257 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34259 2011-03-30 Andreas Schwab <schwab@redhat.com>
34261 * misc/syncfs.c: New file.
34262 * misc/Makefile (routines): Add syncfs.
34263 * posix/unistd.h: Declare syncfs.
34264 * sysdeps/unix/syscalls.list: Add syncfs.
34266 2011-04-01 Andreas Schwab <schwab@redhat.com>
34268 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34270 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34271 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34272 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34273 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34274 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34275 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34276 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34278 2011-04-01 Ulrich Drepper <drepper@gmail.com>
34280 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34281 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34282 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34283 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34284 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34285 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34286 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34288 * io/Makefile: Compile fallocate.c, fallocate64.c, and
34289 sync_file_range.c with -fexceptions.
34290 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34291 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34292 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34293 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34294 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34295 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34296 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
34297 sync_file_range as cancellation point
34298 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
34299 now a wrapper around __call_sync_file_range with cancellation handling.
34300 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34301 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
34302 function name to __call_sync_file_range.
34303 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34304 Add call_sync_file_range.
34306 2011-04-01 Andreas Schwab <schwab@redhat.com>
34308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34311 2011-04-01 Ulrich Drepper <drepper@gmail.com>
34313 * iconv/iconv.h: Fix typo in comment.
34314 * io/fcntl.h: Likewise.
34315 * libio/stdio.h: Likewise.
34316 * posix/spawn.h: Likewise.
34317 * posix/unistd.h: Likewise.
34318 * stdlib/stdlib.h: Likewise.
34319 * time/time.h: Likewise.
34320 * wcsmbs/wchar.h: Likewise.
34322 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
34323 open_by_handle): Add.
34324 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
34325 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
34326 Augment a few comments.
34327 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34328 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34329 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34330 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34331 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34332 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
34335 * io/fcntl.h (AT_EMPTY_PATH): Define.
34337 2011-03-30 Ulrich Drepper <drepper@gmail.com>
34339 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34340 * sysdeps/unix/sysv/linux/bits/time.h: New file.
34341 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34343 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
34344 * Versions.def: Add GLIBC_2.14.
34345 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34348 2011-03-22 Ulrich Drepper <drepper@gmail.com>
34350 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34352 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34354 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
34357 * string/test-strncmp.c (do_page_test): New function.
34358 (check2): Likewise.
34359 (test_main): Call check2.
34360 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34362 2011-03-20 Ulrich Drepper <drepper@gmail.com>
34365 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34366 Handle cache information in CPU leaf 4.
34367 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34369 2011-03-18 Ulrich Drepper <drepper@gmail.com>
34372 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34373 character representation.
34374 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34376 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
34378 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34379 END(__isnan) to END(__isnanf) to match function entry point/label
34380 EALIGN(__isnanf,...).
34382 2011-03-10 Jakub Jelinek <jakub@redhat.com>
34384 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34386 2011-03-10 Ulrich Drepper <drepper@gmail.com>
34389 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34390 copy from the symbol referenced in the relocation to initialize the
34392 Patch by Piotr Bury <pbury@goahead.com>.
34393 * elf/Makefile: Add rules to build and tst-unique3.
34394 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34395 * elf/tst-unique3.cc: New file.
34396 * elf/tst-unique3.h: New file.
34397 * elf/tst-unique3lib.cc: New file.
34398 * elf/tst-unique3lib2.cc: New file.
34400 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34402 2011-03-10 Mike Frysinger <vapier@gentoo.org>
34404 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34405 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
34408 2011-03-06 Ulrich Drepper <drepper@gmail.com>
34410 * elf/dl-load.c (_dl_map_object): If we are looking for the first
34411 to-be-loaded object along a path to loader is ld.so.
34413 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34414 Ulrich Drepper <drepper@gmail.com>
34416 * sysdeps/x86_64/memset.S: After aligning destination, code
34417 branches to different locations depending on the value of
34418 misalignment, when multiarch is enabled. Fix this.
34420 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34422 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34423 Set _x86_64_preferred_memory_instruction for AMD processsors.
34424 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34425 Set bit_Prefer_SSE_for_memop for AMD processors.
34427 2011-03-04 Ulrich Drepper <drepper@gmail.com>
34429 * libio/fmemopen.c (fmemopen): Optimize a bit.
34431 2011-03-03 Andreas Schwab <schwab@redhat.com>
34433 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34435 2011-03-03 Roland McGrath <roland@redhat.com>
34437 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34439 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
34441 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
34442 __bzero_ultra1 instead of __memset_ultra1.
34444 2011-02-23 Andreas Schwab <schwab@redhat.com>
34445 Ulrich Drepper <drepper@gmail.com>
34448 * include/link.h (struct link_map): Add l_orig_initfini.
34449 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34450 returning unsuccessfully.
34451 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34452 close of a file loaded at startup, restore the original l_initfini
34454 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34455 list, store the pointer.
34456 * elf/Makefile ($(objpfx)noload-mem): New rule.
34457 (noload-ENV): Define.
34458 (tests): Add $(objpfx)noload-mem.
34459 * elf/noload.c: Include <memcheck.h>.
34460 (main): Call mtrace. Close all opened handles.
34462 2011-02-17 Andreas Schwab <schwab@redhat.com>
34465 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34466 dependencies are missing.
34468 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34470 Fix __if_freereq crash: Unlike the generic version which uses free,
34472 * sysdeps/mach/hurd/ifreq.h: New file.
34474 2011-01-27 Petr Baudis <pasky@suse.cz>
34475 Ulrich Drepper <drepper@gmail.com>
34478 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34479 to extend_alloca().
34480 * stdio-common/bug23.c: New file.
34481 * stdio-common/Makefile (tests): Add bug23.
34483 2010-09-28 Andreas Schwab <schwab@redhat.com>
34484 Ulrich Drepper <drepper@gmail.com>
34487 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34488 before performing relro protection. At old place add assertion
34489 to make sure nothing changed.
34491 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34492 Glauber de Oliveira Costa <glommer@gmail.com>
34494 * elf/elf.h: Add new ARM TLS relocs.
34496 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34499 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34501 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34503 * sysdeps/wordsize-64/tst-writev.c: New file.
34505 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34507 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34508 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34509 insns in _dl_start to prevent a TOC reference before relocs are
34512 2011-02-15 Ulrich Drepper <drepper@gmail.com>
34515 * Makeconfig: Remove RANLIB definition.
34516 * Makerules: Don't use RANLIB.
34517 * aclocal.m4: Remove ranlib test.
34518 * configure.in: No need to check for ranlib.
34519 * elf/rtld-Rules: Don't use RANLIB.
34521 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34523 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34525 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34526 inclusion protection macro.
34528 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34529 SIGRTMIN and SIGRTMAX and print information in that case only when
34530 SIGRTMIN is defined.
34532 2011-02-11 Jakub Jelinek <jakub@redhat.com>
34534 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34535 arginfo fn returning -1.
34537 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34538 and thousands string is zero terminated.
34540 2011-02-03 Andreas Schwab <schwab@redhat.com>
34542 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34543 sysdeps/unix/sysv/linux/bits/socket.h.
34545 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34547 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34548 (__CPU_COUNT): Remove old macros.
34549 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34550 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34551 (__CPU_ALLOC, __CPU_FREE): Add macros.
34552 (__sched_cpualloc, __sched_cpufree): Add declarations.
34554 2011-02-05 Ulrich Drepper <drepper@gmail.com>
34556 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34557 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34558 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34559 (readdhstai): Return value of addhstaiX call.
34560 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34561 (addgrbyX): Return value returned by cache_addgr.
34562 (readdgrbyname): Return value returned by addgrbyX.
34563 (readdgrbygid): Likewise.
34564 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34565 (addpwbyX): Return value returned by cache_addpw.
34566 (readdpwbyname): Return value returned by addhstbyX.
34567 (readdpwbyuid): Likewise.
34568 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34569 (addservbyX): Return value returned by cache_addserv.
34570 (readdservbyname): Return value returned by addservbyX:
34571 (readdservbyport): Likewise.
34572 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34573 (addhstbyX): Return value returned by cache_addhst.
34574 (readdhstbyname): Return value returned by addhstbyX.
34575 (readdhstbyaddr): Likewise.
34576 (readdhstbynamev6): Likewise.
34577 (readdhstbyaddrv6): Likewise.
34578 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34579 (readdinitgroups): Return value returned by addinitgroupsX.
34580 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34581 (prune_cache): Keep track of timeout value of re-added entries.
34582 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34583 * nscd/nscd.h: Adjust prototypes of readd* functions.
34585 2011-02-04 Roland McGrath <roland@redhat.com>
34587 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34588 (nis_stats): Likewise.
34589 * nis/nis_modify.c (nis_modify): Likewise.
34590 * nis/nis_remove.c (nis_remove): Likewise.
34591 * nis/nis_add.c (nis_add): Likewise.
34593 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34595 * posix/fnmatch_loop.c: Add some consts.
34597 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34599 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34602 * config.make.in (config-cflags-novzeroupper): Define.
34603 * configure.in: Substitute libc_cv_cc_novzeroupper.
34604 * elf/Makefile (AVX-CFLAGS): Define.
34605 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34606 (CFLAGS-tst-auditmod4a.c): Likewise.
34607 (CFLAGS-tst-auditmod4b.c): Likewise.
34608 (CFLAGS-tst-auditmod6b.c): Likewise.
34609 (CFLAGS-tst-auditmod6c.c): Likewise.
34610 (CFLAGS-tst-auditmod7b.c): Likewise.
34611 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34613 2011-02-02 Ulrich Drepper <drepper@gmail.com>
34615 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34616 function to the callback.
34617 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34619 2011-02-02 Andreas Schwab <schwab@redhat.com>
34621 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34624 2011-01-19 Ulrich Drepper <drepper@gmail.com>
34627 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34629 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34631 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34634 * elf/Makefile: Add rules to build and run new test.
34635 * elf/tst-initorder.c: New file.
34636 * elf/tst-initorder.exp: New file.
34637 * elf/tst-initordera1.c: New file.
34638 * elf/tst-initordera2.c: New file.
34639 * elf/tst-initordera3.c: New file.
34640 * elf/tst-initordera4.c: New file.
34641 * elf/tst-initorderb1.c: New file.
34642 * elf/tst-initorderb2.c: New file.
34643 * elf/tst-order-a1.c: New file.
34644 * elf/tst-order-a2.c: New file.
34645 * elf/tst-order-a3.c: New file.
34646 * elf/tst-order-a4.c: New file.
34647 * elf/tst-order-b1.c: New file.
34648 * elf/tst-order-b2.c: New file.
34649 * elf/tst-order-main.c: New file.
34650 New test case by George Gensure <werkt0@gmail.com>.
34652 2010-10-01 Andreas Schwab <schwab@redhat.com>
34654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34655 decoding ACE if AI_CANONIDN.
34657 2011-01-18 Ulrich Drepper <drepper@gmail.com>
34659 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34661 2011-01-17 Ulrich Drepper <drepper@gmail.com>
34663 * version.h (RELEASE): Bump for 2.13 release.
34664 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34666 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34668 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34670 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34671 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34672 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34673 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34674 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34675 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34677 * posix/getconf.c: Update copyright year.
34678 * catgets/gencat.c: Likewise.
34679 * csu/version.c: Likewise.
34680 * debug/catchsegv.sh: Likewise.
34681 * debug/xtrace.sh: Likewise.
34682 * elf/ldconfig.c: Likewise.
34683 * elf/ldd.bash.in: Likewise.
34684 * elf/sprof.c (print_version): Likewise.
34685 * iconv/iconv_prog.c: Likewise.
34686 * iconv/iconvconfig.c: Likewise.
34687 * locale/programs/locale.c: Likewise.
34688 * locale/programs/localedef.c: Likewise.
34689 * malloc/memusage.sh: Likewise.
34690 * malloc/mtrace.pl: Likewise.
34691 * nscd/nscd.c (print_version): Likewise.
34692 * nss/getent.c: Likewise.
34694 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34695 PF_CAIF, and PF_ALG.
34696 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34698 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34700 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34701 (modules-names): Use them.
34702 (ifunc-test-modules, ifunc-pie-tests): Define.
34703 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34704 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34705 (test-extras): Likewise.
34706 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34707 $(compile-command.c).
34708 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34709 (all-built-dso): Define.
34710 (check-textrel.out, check-execstack.out): Depend on it.
34712 * configure.in: Don't override --enable-multi-arch.
34714 2011-01-15 Ulrich Drepper <drepper@gmail.com>
34717 * nscd/hstcache.c (tryagain): Define.
34718 (cache_addhst): Return tryagain not notfound for temporary errors.
34719 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34722 2011-01-14 Ulrich Drepper <drepper@gmail.com>
34725 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34726 to make the syscall.
34727 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34730 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34731 and fall back to matching as normal character if the string ends before
34732 the matching ']' is found. This is what POSIX requires.
34733 * posix/testfnm.c: Adjust test result.
34734 * posix/globtest.sh: Adjust test result. Add new test.
34735 * posix/tst-fnmatch.input: Likewise.
34736 * posix/tst-fnmatch2.c: Add new test.
34738 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34740 * elf/Makefile (check-execstack): Revert last change. Depend on
34742 (check-execstack.h): New target.
34743 (generated): Add check-execstack.h.
34744 * elf/check-execstack.c: Include "check-execstack.h".
34745 (main): Revert last change.
34746 (handle_file): Return zero if GNU_STACK is absent and
34747 DEFAULT_STACK_PERMS doesn't include PF_X.
34749 2011-01-13 Ulrich Drepper <drepper@gmail.com>
34751 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34752 in child fails because the descriptor is already closed.
34753 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34754 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34755 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
34758 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34762 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34763 temporary buffer used to handle multi lookups locally.
34764 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
34766 2011-01-12 Ulrich Drepper <drepper@gmail.com>
34768 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34771 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34773 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34774 alignment for SSE2.
34776 2011-01-12 Ulrich Drepper <drepper@gmail.com>
34779 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34780 characters. When rounding increased number of integer digits recompute
34782 * stdio-common/tst-grouping.c: New file.
34783 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34785 2011-01-09 Ulrich Drepper <drepper@gmail.com>
34787 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34788 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34790 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34792 * bits/select.h: Likewise.
34794 2011-01-08 Ulrich Drepper <drepper@gmail.com>
34796 * po/ja.po: Update from translation team.
34798 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
34801 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34802 implementation just like for lxstat, fxstatat, et al.
34804 2010-12-27 Jim Meyering <meyering@redhat.com>
34807 * posix/regexec.c (build_trtable): Return failure indication upon
34808 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34810 2010-12-25 Ulrich Drepper <drepper@gmail.com>
34813 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34814 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34815 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34816 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34819 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34822 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34823 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34825 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34827 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34828 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34829 script has SORT_BY_INIT_PRIORITY.
34830 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34831 NO_CTORS_DTORS_SECTIONS is defined.
34832 * elf/soinit.c: Likewise.
34833 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34834 NO_CTORS_DTORS_SECTIONS is defined.
34835 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34836 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34837 * sysdeps/sh/init-first.c: Likewise.
34838 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34840 2010-12-24 Ulrich Drepper <drepper@gmail.com>
34842 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34843 always use the slow path.
34845 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34847 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34848 similar rule which adds the sysdep directories to the header search in
34849 order to pick up the correct platform stackinfo.h.
34850 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34851 perform test if it is, otherwise return successfully without testing.
34852 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34853 DEFAULT_STACK_PERMS define in stackinfo.h.
34854 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34855 defined in stackinfo.h.
34856 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34857 DEFAULT_STACK_PERMS defined in stackinfo.h.
34858 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34859 * sysdeps/ia64/stackinfo.h: Likewise.
34860 * sysdeps/s390/stackinfo.h: Likewise.
34861 * sysdeps/sh/stackinfo.h: Likewise.
34862 * sysdeps/sparc/stackinfo.h: Likewise.
34863 * sysdeps/x86_64/stackinfo.h: Likewise.
34864 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34865 PF_X for powerpc64. Retain PF_X for powerpc32.
34867 2010-12-19 Ulrich Drepper <drepper@gmail.com>
34869 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34871 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34872 GETDENTS_64BIT_ALIGNED.
34874 2010-12-14 Ulrich Drepper <dreper@gmail.com>
34876 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
34878 2010-12-10 Andreas Schwab <schwab@redhat.com>
34880 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34883 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34884 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34886 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34887 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34889 2010-12-09 Ulrich Drepper <drepper@gmail.com>
34892 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34895 2010-12-09 Jakub Jelinek <jakub@redhat.com>
34897 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34899 2010-12-03 Ulrich Drepper <drepper@gmail.com>
34901 * po/it.po: Update from translation team.
34903 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34905 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34908 2010-11-30 Ulrich Drepper <drepper@gmail.com>
34910 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34912 2010-11-24 Andreas Schwab <schwab@redhat.com>
34914 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34916 (gaih_getanswer_slice): Likewise.
34918 2010-10-20 Jakub Jelinek <jakub@redhat.com>
34920 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34922 2010-05-31 Petr Baudis <pasky@suse.cz>
34925 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34926 silently even in the chroot mode.
34928 2010-11-22 Ulrich Drepper <drepper@gmail.com>
34930 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34931 last patch a bit. Pretty printing
34933 2010-05-31 Petr Baudis <pasky@suse.cz>
34936 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34937 initialization of skip_initgroups_dyn.
34939 2010-11-19 Ulrich Drepper <drepper@gmail.com>
34941 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34942 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34944 2010-11-16 Ulrich Drepper <drepper@gmail.com>
34946 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34948 2010-11-11 Andreas Schwab <schwab@redhat.com>
34950 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
34951 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
34952 (tst-fnmatch-ENV): Set MALLOC_TRACE.
34953 ($(objpfx)tst-fnmatch-mem): New rule.
34954 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
34955 * posix/tst-fnmatch.c (main): Call mtrace.
34957 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34960 Support Intel processor model 6 and model 0x2c.
34962 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
34964 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34967 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34970 * string/test-strncasecmp.c (check_result): New function.
34971 (do_one_test): Use it.
34972 (check1): New function.
34973 (test_main): Use it.
34974 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
34975 Support strcasecmp and strncasecmp.
34977 2010-11-08 Ulrich Drepper <drepper@gmail.com>
34980 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34981 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34983 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34985 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34987 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34989 * sysdeps/x86_64/multiarch/bzero.S: New file.
34990 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
34991 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
34992 * sysdeps/x86_64/multiarch/memset.S: New file.
34993 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
34994 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34995 Set bit_Prefer_SSE_for_memop for Intel processors.
34996 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
34998 (index_Prefer_SSE_for_memop): Define.
34999 (HAS_PREFER_SSE_FOR_MEMOP): Define.
35001 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
35003 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35004 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35006 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
35009 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35010 (__x86_64_raw_data_cache_size_half): Likewise.
35011 (__x86_64_raw_shared_cache_size): Likewise.
35012 (__x86_64_raw_shared_cache_size_half): Likewise.
35014 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35015 (__x86_64_raw_data_cache_size_half): Likewise.
35016 (__x86_64_raw_shared_cache_size): Likewise.
35017 (__x86_64_raw_shared_cache_size_half): Likewise.
35018 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35019 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35020 and __x86_64_raw_shared_cache_size_half. Round
35021 __x86_64_data_cache_size_half, __x86_64_data_cache_size
35022 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35023 to multiple of 256 bytes.
35025 2010-11-03 Ulrich Drepper <drepper@gmail.com>
35028 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35029 of inacessible symlinks. Verify result of symlink before returning it.
35030 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35031 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35033 2010-10-28 Erich Ritz <erichritz@gmail.com>
35035 * math/math.h (isinf): Fix typo in comment.
35037 2010-11-01 Ulrich Drepper <drepper@gmail.com>
35039 * po/da.po: Update from translation team.
35041 2010-10-26 Ulrich Drepper <drepper@gmail.com>
35043 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35044 is added to the list.
35046 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35047 Ulrich Drepper <drepper@gmail.com>
35049 * elf/dl-object.c (_dl_new_object): Don't append the new object to
35050 the global list here. Move code to...
35051 (_dl_add_to_namespace_list): ...here. New function.
35052 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35053 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35054 * elf/dl-load.c (lose): Don't remove the element from the list.
35055 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35056 (_dl_map_object): Likewise.
35058 2010-10-25 Ulrich Drepper <drepper@gmail.com>
35061 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35062 into all bytes of SSE register.
35063 Patch by Richard Li <richardpku@gmail.com>.
35065 2010-10-24 Ulrich Drepper <drepper@gmail.com>
35068 * malloc/malloc.c (_int_free): Fill correct number of bytes when
35071 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
35073 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35074 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35075 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35076 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35081 2010-10-22 Andreas Schwab <schwab@redhat.com>
35083 * include/dlfcn.h (__RTLD_SECURE): Define.
35084 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
35085 mode & __RTLD_SECURE instead.
35086 (open_path): Rename preloaded parameter to secure.
35087 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35088 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35089 * elf/dl-deps.c (openaux): Likewise.
35090 * elf/rtld.c (struct map_args): Remove is_preloaded.
35091 (map_doit): Don't use it.
35092 (dl_main): Likewise.
35093 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35094 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35096 2010-09-09 Andreas Schwab <schwab@redhat.com>
35098 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35099 (sysd-rules-targets): Remove duplicates.
35100 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35101 rtld-%.$o dependency.
35103 2010-10-18 Andreas Schwab <schwab@redhat.com>
35105 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35106 _dl_map_object do it.
35108 2010-10-19 Ulrich Drepper <drepper@gmail.com>
35110 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35111 fast fma builtins, define the macros in the C99 standard.
35112 (FP_FAST_FMAF): Likewise.
35113 (FP_FAST_FMAL): Likewise.
35114 * sysdeps/x86_64/bits/mathdef.h: Likewise.
35116 * bits/mathdef.h: Update copyright year.
35117 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35119 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
35121 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35122 builtins, define the macros in the C99 standard.
35123 (FP_FAST_FMAF): Likewise.
35124 (FP_FAST_FMAL): Likewise.
35125 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35127 (FP_FAST_FMAF): Likewise.
35129 2010-10-15 Jakub Jelinek <jakub@redhat.com>
35132 * math/libm-test.inc (fma_test): Some new testcases.
35133 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35134 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35135 y and infinite z. Do multiplication by C already in long double.
35136 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35137 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35138 y and infinite z. Do bitwise or of inexact bit into u.d.
35139 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35140 * sysdeps/i386/fpu/s_fmaf.S: Removed.
35141 * sysdeps/i386/fpu/s_fma.S: Removed.
35142 * sysdeps/i386/fpu/s_fmal.S: Removed.
35144 2010-10-16 Jakub Jelinek <jakub@redhat.com>
35147 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35148 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35149 computation is not scheduled after fetestexcept. Fix value
35150 of minimum denormal long double.
35152 2010-10-14 Jakub Jelinek <jakub@redhat.com>
35155 * math/libm-test.inc (fma_test): Add some more tests.
35156 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35159 2010-10-15 Andreas Schwab <schwab@redhat.com>
35161 * scripts/data/localplt-s390-linux-gnu.data: New file.
35162 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35164 2010-10-13 Jakub Jelinek <jakub@redhat.com>
35167 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35168 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35170 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35172 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35173 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35174 if one of x and y is very large and the other is subnormal.
35175 * sysdeps/s390/fpu/s_fmaf.c: New file.
35176 * sysdeps/s390/fpu/s_fma.c: New file.
35177 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35178 * sysdeps/powerpc/fpu/s_fma.S: New file.
35179 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35180 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35181 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35183 2010-10-12 Jakub Jelinek <jakub@redhat.com>
35186 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35188 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35189 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35190 * sysdeps/i386/i686/multiarch/s_fma.c: Include
35191 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35192 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35193 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35194 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35196 2010-10-12 Ulrich Drepper <drepper@redhat.com>
35199 * posix/regcomp.c (parse_branch): One more memory leak plugged.
35200 * posix/bug-regex31.input: Add test case.
35202 2010-10-11 Ulrich Drepper <drepper@gmail.com>
35204 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35205 * posix/bug-regex31.input: New file.
35208 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35209 (parse_sub_exp): Fix last change, use postorder.
35211 * posix/bug-regex31.c: New file.
35212 * posix/Makefile: Add rules to build and run bug-regex31.
35214 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35217 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35220 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35221 to have entries in sys_siglist.
35224 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35227 2010-10-07 Jakub Jelinek <jakub@redhat.com>
35230 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35231 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35232 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35233 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35234 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35235 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35236 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35237 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35238 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35239 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35240 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35241 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35242 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35243 * math/ftestexcept.c (fetestexcept): Likewise.
35244 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35245 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35246 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35247 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35248 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35249 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35250 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35252 2010-10-11 Ulrich Drepper <drepper@gmail.com>
35255 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35258 2010-10-06 Ulrich Drepper <drepper@gmail.com>
35260 * string/bug-strstr1.c: New file.
35261 * string/Makefile: Add rules to build and run bug-strstr1.
35263 2010-10-05 Eric Blake <eblake@redhat.com>
35266 * string/str-two-way.h (two_way_long_needle): Always clear memory
35267 when skipping input due to the shift table.
35269 2010-10-03 Ulrich Drepper <drepper@gmail.com>
35272 * malloc/mcheck.c: Handle large requests.
35275 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35276 for strncmp and strncasecmp.
35277 * string/stratcliff.c: Add tests for strcmp and strncmp.
35278 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35280 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35282 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35285 2010-09-30 Andreas Jaeger <aj@suse.de>
35287 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35288 (CGROUP_SUPER_MAGIC): Define.
35289 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35290 Handle btrfs and cgroup file systems.
35291 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35294 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
35296 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35297 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35299 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35302 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35303 trying to locate the ELF header.
35305 2010-09-27 Andreas Schwab <schwab@redhat.com>
35308 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35309 Mask out sign-bit copies when constructing f_fsid.
35311 2010-09-24 Petr Baudis <pasky@suse.cz>
35313 * debug/stack_chk_fail_local.c: Add missing licence exception.
35314 * debug/warning-nop.c: Likewise.
35316 2010-09-15 Joseph Myers <joseph@codesourcery.com>
35318 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35319 implementing getdents64 using getdents syscall, set d_type if
35320 __ASSUME_GETDENTS32_D_TYPE.
35322 2010-09-16 Andreas Schwab <schwab@redhat.com>
35324 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35325 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35327 2010-09-21 Ulrich Drepper <drepper@redhat.com>
35330 * posix/unistd.h: Undo change of feature selection for ftruncate from
35333 2010-09-20 Ulrich Drepper <drepper@redhat.com>
35335 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
35338 2010-09-20 Andreas Schwab <schwab@redhat.com>
35340 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35342 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35344 2010-09-14 Andreas Schwab <schwab@redhat.com>
35346 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35347 variables after CHECK_SP call.
35348 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35350 2010-09-13 Andreas Schwab <schwab@redhat.com>
35351 Ulrich Drepper <drepper@redhat.com>
35353 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35354 re-relocationg ld.so.
35355 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35356 _dl_init_paths call.
35357 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
35360 2010-09-14 Ulrich Drepper <drepper@redhat.com>
35362 * resolv/res_init.c (__res_vinit): Count the default server we added.
35364 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
35365 Ulrich Drepper <drepper@redhat.com>
35368 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35369 (____longjmp_chk): Use %ebx for saving value across system call.
35372 2010-09-06 Andreas Schwab <schwab@redhat.com>
35374 * manual/Makefile: Don't mix pattern rules with normal rules.
35376 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
35378 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35380 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35381 * libio/iofopncook.c (_IO_cookie_init): Likewise.
35382 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35383 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35384 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35387 2010-09-04 Ulrich Drepper <drepper@redhat.com>
35390 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35391 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35393 2010-09-02 Ulrich Drepper <drepper@redhat.com>
35395 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35396 * sysdeps/x86_64/addmul_1.S: Likewise.
35397 * sysdeps/x86_64/lshift.S: Likewise.
35398 * sysdeps/x86_64/mul_1.S: Likewise.
35399 * sysdeps/x86_64/rshift.S: Likewise.
35400 * sysdeps/x86_64/sub_n.S: Likewise.
35401 * sysdeps/x86_64/submul_1.S: Likewise.
35403 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
35405 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35406 Define __sched_param instead of SCHED_* and sched_param when
35407 <bits/sched.h> is included with __need_schedparam defined.
35408 * bits/sched.h [__need_schedparam]
35409 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
35410 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35411 (__defined_schedparam): Define to 1.
35412 (__sched_param): New structure, identical to sched_param.
35413 (__need_schedparam): Undefine.
35415 2010-08-31 Mike Frysinger <vapier@gentoo.org>
35417 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35418 (epoll_create1): Declare.
35420 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35422 2010-08-31 Andreas Schwab <schwab@redhat.com>
35425 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35426 shifting retval into place.
35428 2010-09-01 Ulrich Drepper <drepper@redhat.com>
35430 * nis/rpcsvc/nis.h: Update copyright notice.
35431 * nis/rpcsvc/nis.x: Likewise.
35432 * nis/rpcsvc/nis_callback.h: Likewise.
35433 * nis/rpcsvc/nis_callback.x: Likewise.
35434 * nis/rpcsvc/nis_object.x: Likewise.
35435 * nis/rpcsvc/nis_tags.h: Likewise.
35436 * nis/rpcsvc/yp.h: Likewise.
35437 * nis/rpcsvc/yp.x: Likewise.
35438 * nis/rpcsvc/ypupd.h: Likewise.
35439 * nis/yp_xdr.c: Likewise.
35440 * nis/ypupdate_xdr.c: Likewise.
35442 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
35443 mainly the body of pmap_getport. Add parameters to specify timeouts.
35444 (pmap_getport): Use __libc_rpc_getport.
35445 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35446 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35447 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35449 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
35451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35454 2010-08-27 Roland McGrath <roland@redhat.com>
35456 * sysdeps/i386/i686/multiarch/Makefile
35457 (CFLAGS-varshift.c): New variable.
35459 2010-08-27 Ulrich Drepper <drepper@redhat.com>
35461 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35462 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35464 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35466 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35468 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35470 * sysdeps/x86_64/strlen.S: Unroll the loop.
35471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35472 strlen-sse2 strlen-sse2-bsf.
35473 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35474 __strlen_no_bsf if bit_Slow_BSF is set.
35475 (__strlen_sse42): Removed.
35476 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35477 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35479 2010-08-25 Roland McGrath <roland@redhat.com>
35481 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35482 * sysdeps/x86_64/multiarch/varshift.c: New file.
35483 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35484 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35485 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35486 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35488 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35490 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35491 strlen-sse2 strlen-sse2-bsf.
35492 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35493 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35494 (__strlen_sse2): Removed.
35495 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35496 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35497 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35498 bit_Slow_BSF for Atom.
35499 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35500 (index_Slow_BSF): Define.
35501 (HAS_SLOW_BSF): Define.
35503 2010-08-25 Ulrich Drepper <drepper@redhat.com>
35506 * resolv/res_init.c (__res_vinit): When no server address at all
35507 is given default to loopback.
35509 2010-08-24 Roland McGrath <roland@redhat.com>
35511 * configure.in: Remove config-name.h generation.
35512 * configure: Regenerated.
35513 * config-name.in: File removed.
35514 * scripts/config-uname.sh: New file.
35515 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35516 ($(objdir)config-name.h): New target.
35518 * sunrpc/rpc_parse.h: Avoid nested comment.
35520 2010-08-24 Richard Henderson <rth@redhat.com>
35521 Ulrich Drepper <drepper@redhat.com>
35522 H.J. Lu <hongjiu.lu@intel.com>
35524 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35525 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35526 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35527 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35528 _mm_alignr_epi8 with _mm_loadu_si128.
35529 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35530 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35531 (__m128i_shift_right): Removed.
35532 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35533 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35534 * sysdeps/x86_64/multiarch/varshift.h: New file.
35535 * sysdeps/x86_64/multiarch/varshift.S: New file.
35537 2010-08-21 Mike Frysinger <vapier@gentoo.org>
35539 * configure.in: Move assembler checks to before sysdep dir checking.
35541 2010-08-20 Petr Baudis <pasky@suse.cz>
35543 * LICENSES: Sync the sunrpc license.
35545 2010-08-19 Ulrich Drepper <drepper@redhat.com>
35547 * sunrpc/auth_des.c: Update copyright notice once again.
35548 * sunrpc/auth_none.c: Likewise.
35549 * sunrpc/auth_unix.c: Likewise.
35550 * sunrpc/authdes_prot.c: Likewise.
35551 * sunrpc/authuxprot.c: Likewise.
35552 * sunrpc/bindrsvprt.c: Likewise.
35553 * sunrpc/clnt_gen.c: Likewise.
35554 * sunrpc/clnt_perr.c: Likewise.
35555 * sunrpc/clnt_raw.c: Likewise.
35556 * sunrpc/clnt_simp.c: Likewise.
35557 * sunrpc/clnt_tcp.c: Likewise.
35558 * sunrpc/clnt_udp.c: Likewise.
35559 * sunrpc/clnt_unix.c: Likewise.
35560 * sunrpc/des_crypt.c: Likewise.
35561 * sunrpc/des_soft.c: Likewise.
35562 * sunrpc/get_myaddr.c: Likewise.
35563 * sunrpc/getrpcport.c: Likewise.
35564 * sunrpc/key_call.c: Likewise.
35565 * sunrpc/key_prot.c: Likewise.
35566 * sunrpc/openchild.c: Likewise.
35567 * sunrpc/pm_getmaps.c: Likewise.
35568 * sunrpc/pm_getport.c: Likewise.
35569 * sunrpc/pmap_clnt.c: Likewise.
35570 * sunrpc/pmap_prot.c: Likewise.
35571 * sunrpc/pmap_prot2.c: Likewise.
35572 * sunrpc/pmap_rmt.c: Likewise.
35573 * sunrpc/rpc/auth.h: Likewise.
35574 * sunrpc/rpc/auth_unix.h: Likewise.
35575 * sunrpc/rpc/clnt.h: Likewise.
35576 * sunrpc/rpc/des_crypt.h: Likewise.
35577 * sunrpc/rpc/key_prot.h: Likewise.
35578 * sunrpc/rpc/netdb.h: Likewise.
35579 * sunrpc/rpc/pmap_clnt.h: Likewise.
35580 * sunrpc/rpc/pmap_prot.h: Likewise.
35581 * sunrpc/rpc/pmap_rmt.h: Likewise.
35582 * sunrpc/rpc/rpc.h: Likewise.
35583 * sunrpc/rpc/rpc_des.h: Likewise.
35584 * sunrpc/rpc/rpc_msg.h: Likewise.
35585 * sunrpc/rpc/svc.h: Likewise.
35586 * sunrpc/rpc/svc_auth.h: Likewise.
35587 * sunrpc/rpc/types.h: Likewise.
35588 * sunrpc/rpc/xdr.h: Likewise.
35589 * sunrpc/rpc_clntout.c: Likewise.
35590 * sunrpc/rpc_cmsg.c: Likewise.
35591 * sunrpc/rpc_common.c: Likewise.
35592 * sunrpc/rpc_cout.c: Likewise.
35593 * sunrpc/rpc_dtable.c: Likewise.
35594 * sunrpc/rpc_hout.c: Likewise.
35595 * sunrpc/rpc_main.c: Likewise.
35596 * sunrpc/rpc_parse.c: Likewise.
35597 * sunrpc/rpc_parse.h: Likewise.
35598 * sunrpc/rpc_prot.c: Likewise.
35599 * sunrpc/rpc_sample.c: Likewise.
35600 * sunrpc/rpc_scan.c: Likewise.
35601 * sunrpc/rpc_scan.h: Likewise.
35602 * sunrpc/rpc_svcout.c: Likewise.
35603 * sunrpc/rpc_tblout.c: Likewise.
35604 * sunrpc/rpc_util.c: Likewise.
35605 * sunrpc/rpc_util.h: Likewise.
35606 * sunrpc/rpcinfo.c: Likewise.
35607 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35608 * sunrpc/rpcsvc/key_prot.x: Likewise.
35609 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35610 * sunrpc/rpcsvc/mount.x: Likewise.
35611 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35612 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35613 * sunrpc/rpcsvc/rex.x: Likewise.
35614 * sunrpc/rpcsvc/rstat.x: Likewise.
35615 * sunrpc/rpcsvc/rusers.x: Likewise.
35616 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35617 * sunrpc/rpcsvc/spray.x: Likewise.
35618 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35619 * sunrpc/rtime.c: Likewise.
35620 * sunrpc/svc.c: Likewise.
35621 * sunrpc/svc_auth.c: Likewise.
35622 * sunrpc/svc_authux.c: Likewise.
35623 * sunrpc/svc_raw.c: Likewise.
35624 * sunrpc/svc_run.c: Likewise.
35625 * sunrpc/svc_simple.c: Likewise.
35626 * sunrpc/svc_tcp.c: Likewise.
35627 * sunrpc/svc_udp.c: Likewise.
35628 * sunrpc/svc_unix.c: Likewise.
35629 * sunrpc/svcauth_des.c: Likewise.
35630 * sunrpc/xcrypt.c: Likewise.
35631 * sunrpc/xdr.c: Likewise.
35632 * sunrpc/xdr_array.c: Likewise.
35633 * sunrpc/xdr_float.c: Likewise.
35634 * sunrpc/xdr_mem.c: Likewise.
35635 * sunrpc/xdr_rec.c: Likewise.
35636 * sunrpc/xdr_ref.c: Likewise.
35637 * sunrpc/xdr_sizeof.c: Likewise.
35638 * sunrpc/xdr_stdio.c: Likewise.
35640 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35643 2010-08-19 Andreas Schwab <schwab@redhat.com>
35645 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35647 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
35649 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35650 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35651 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35652 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35653 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35654 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35655 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35656 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35657 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35658 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35659 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35660 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35661 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35662 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35664 2010-07-26 Anton Blanchard <anton@samba.org>
35666 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35667 * malloc/arena.c (heap_trim): Likewise.
35669 2010-08-16 Ulrich Drepper <drepper@redhat.com>
35671 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35673 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35674 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35676 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35678 * sysdeps/i386/elf/Makefile: New file.
35680 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35682 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35683 from fanotify_init.
35684 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35685 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35687 2010-08-15 Ulrich Drepper <drepper@redhat.com>
35689 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35691 * sysdeps/multiarch/strcmp.S: Likewise.
35693 2010-08-14 Ulrich Drepper <drepper@redhat.com>
35695 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35696 strncase_l-nonascii.
35697 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35698 Add strncase_l-ssse3.
35699 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35700 * sysdeps/x86_64/strcmp.S: Likewise.
35701 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35702 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35703 * sysdeps/x86_64/strncase.S: New file.
35704 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35705 * sysdeps/x86_64/strncase_l.S: New file.
35706 * string/Makefile (strop-tests): Add strncasecmp.
35707 * string/test-strncasecmp.c: New file.
35709 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35712 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35713 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35715 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35717 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35719 2010-08-12 Ulrich Drepper <drepper@redhat.com>
35721 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35722 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35723 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35725 2010-05-01 Alan Modra <amodra@gmail.com>
35727 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35728 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35729 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35730 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35731 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35732 tidying. Don't tail-call __sigjmp_save for static lib.
35733 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35735 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35736 (CALL_MCOUNT): Add eh info, and nop after bl.
35737 (TAIL_CALL_SYSCALL_ERROR): New macro.
35738 (PSEUDO_RET): Use it.
35739 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35740 Correct save location of integer regs and cr.
35741 (_dl_profile_resolve): Correct cr save location. Delete nops
35742 after bl when SHARED. Reduce cfi size a little by better
35743 placement of cfi directives.
35744 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35745 make a stack frame. Instead use parm save area as a temp.
35746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35747 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35748 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35749 Don't make a stack frame for parent, use parm save area.
35750 Increase child stack frame to 112 bytes. Don't save unused reg,
35751 and adjust reg usage. Set up cfi on error recovery and
35752 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35753 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35754 (__makecontext): Add dummy nop after jump to exit.
35755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35756 Use correct parm save area and cr save, reduce stack frame.
35757 Correct cfi for possible PSEUDO_RET frame setup.
35758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35759 Branch to local label emitted by PSEUDO_RET rather than
35762 2010-08-12 Andreas Schwab <schwab@redhat.com>
35765 * locale/programs/locale.c (print_assignment): New function.
35766 (show_locale_vars): Use it.
35768 2010-08-11 Ulrich Drepper <drepper@redhat.com>
35770 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35772 (struct statfs64): Likewise.
35773 (_STATFS_F_FLAGS): Define.
35774 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35775 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35776 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35777 (ST_VALID): Define locally.
35778 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35779 __statvfs_getflags, use the provided value.
35780 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35781 __ASSUME_STATFS_F_FLAGS.
35783 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35785 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35786 Add sys/fanotify.h.
35787 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35788 fanotify_mask for GLIBC_2.13.
35789 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35790 fanotify_init and fanotify_mark.
35791 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35792 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35794 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35796 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35797 prlimit64 for GLIBC_2.13.
35798 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35800 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35803 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35804 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35805 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35806 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
35808 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35811 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35812 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35814 * nss/Makefile: Add rules to build and run tst-nss-test1.
35815 * shlib-versions: Add entry for libnss_test1.
35816 * nss/nss_test1.c: New file.
35817 * nss/tst-nss-test1.c: New file.
35819 * nss/nsswitch.c (__nss_database_custom): Define new variable.
35820 (__nss_configure_lookup): Set appropriate entry in
35821 __nss_configure_lookup to true.
35822 * nss/nsswitch.h: Define enum with indeces of databases in
35823 databases and __nss_database_custom arrays. Declare
35824 __nss_database_custom.
35825 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35826 to avoid using nscd when custom rules are installed.
35827 * nss/getXXbyYY_r.c: Likewise.
35828 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35830 * nss/nss_files/files-parse.c: Whitespace fixes.
35832 2010-08-09 Ulrich Drepper <drepper@redhat.com>
35835 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35836 * posix/fnmatch_loop.c: Likewise.
35838 2010-07-17 Andi Kleen <ak@linux.intel.com>
35840 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35841 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35842 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35843 * Versions.def [GLIBC_2.13]: Add.
35845 2010-08-06 Ulrich Drepper <drepper@redhat.com>
35847 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35848 Also fail if tpwd after pwuid call is NULL.
35850 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35852 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35853 when converting to ms.
35855 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35857 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35858 EOPNOTSUPP errors with ENOTTY.
35859 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35860 EOPNOTSUPP errors with ENOTTY.
35862 2010-07-31 Ulrich Drepper <drepper@redhat.com>
35864 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35865 Add strcasecmp_l-ssse3.
35866 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35868 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35869 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35870 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35872 2010-07-30 Ulrich Drepper <drepper@redhat.com>
35874 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35876 * string/Makefile (strop-tests): Add strcasecmp.
35877 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35878 strcasecmp_l-nonascii.
35879 (gen-as-const-headers): Add locale-defines.sym.
35880 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35881 * sysdeps/x86_64/strcasecmp.S: New file.
35882 * sysdeps/x86_64/strcasecmp_l.S: New file.
35883 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35884 * sysdeps/x86_64/locale-defines.sym: New file.
35885 * string/test-strcasecmp.c: New file.
35887 * string/test-strcasestr.c: Test both ends of the range of characters.
35888 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35890 2010-07-29 Roland McGrath <roland@redhat.com>
35893 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35895 2010-07-27 Ulrich Drepper <drepper@redhat.com>
35897 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35900 2010-07-27 Andreas Schwab <schwab@redhat.com>
35902 * manual/memory.texi (Malloc Tunable Parameters): Document
35905 2010-07-26 Roland McGrath <roland@redhat.com>
35908 * configure.in (-fgnu89-inline check): Set and substitute
35909 gnu89_inline, not libc_cv_gnu89_inline.
35910 * configure: Regenerated.
35911 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35913 2010-07-26 Ulrich Drepper <drepper@redhat.com>
35915 * string/test-strnlen.c: New file.
35916 * string/Makefile (strop-tests): Add strnlen.
35917 * string/tester.c (test_strnlen): Add a few more test cases.
35918 * string/tst-strlen.c: Better error reporting.
35920 * sysdeps/x86_64/strnlen.S: New file.
35922 2010-07-24 Ulrich Drepper <drepper@redhat.com>
35924 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35925 lower-latency instructions.
35927 2010-07-23 Ulrich Drepper <drepper@redhat.com>
35929 * string/test-strcasestr.c: New file.
35930 * string/test-strstr.c: New file.
35931 * string/Makefile (strop-tests): Add strstr and strcasestr.
35932 * string/str-two-way.h: Don't undefine MAX.
35933 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35935 2010-07-21 Andreas Schwab <schwab@redhat.com>
35937 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35938 strcasestr-nonascii.
35939 (CFLAGS-strcasestr-nonascii.c): Define.
35940 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
35941 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
35942 Remove unused attribute.
35944 2010-07-20 Roland McGrath <roland@redhat.com>
35946 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
35947 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
35948 ld.so.cache was broken. With it, there is no way to disable dsocaps
35949 like LD_HWCAP_MASK can disable hwcaps.
35951 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35953 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35955 2010-07-16 Ulrich Drepper <drepper@redhat.com>
35957 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
35958 call in strcasestr.
35959 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
35960 __strcasestr_sse42_nonascii.
35961 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
35962 strcasestr-nonascii.c.
35963 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
35965 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
35967 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
35968 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
35969 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
35970 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
35972 2010-07-09 Ulrich Drepper <drepper@redhat.com>
35974 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35977 2010-07-06 Andreas Schwab <schwab@redhat.com>
35980 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35983 2010-07-06 Ulrich Drepper <drepper@redhat.com>
35985 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35986 _PC_PIPE_BUF using F_GETPIPE_SZ.
35988 2010-07-05 Roland McGrath <roland@redhat.com>
35990 * manual/arith.texi (Rounding Functions): Fix rint description
35991 implicit in round description.
35993 2010-07-02 Ulrich Drepper <drepper@redhat.com>
35995 * elf/Makefile: Fix linking for a few tests to make recent linker
35998 2010-06-30 Andreas Schwab <schwab@redhat.com>
36000 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36001 $(common-objpfx)libc_nonshared.a.
36003 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
36005 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36006 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36007 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36008 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36009 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36010 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36011 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36012 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36014 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36016 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36017 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36027 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36028 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36029 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36030 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36031 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36032 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36033 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36034 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36035 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36036 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36037 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36038 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36040 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36041 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36042 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36043 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36045 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36047 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36049 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36054 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
36056 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36057 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
36058 * string/memmove.c (memmove): Renamed to ...
36059 (MEMMOVE): ...this. Default to memmove.
36060 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36061 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36063 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36064 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36065 mempcpy-ssse3-back memmove-ssse3-back.
36066 * sysdeps/x86_64/multiarch/bcopy.S: New file .
36067 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36068 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36069 * sysdeps/x86_64/multiarch/memcpy.S: New file.
36070 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36071 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36072 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36073 * sysdeps/x86_64/multiarch/memmove.c: New file.
36074 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36075 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36076 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36077 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36078 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36079 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36081 (index_Fast_Copy_Backward): Define.
36082 (HAS_ARCH_FEATURE): Define.
36083 (HAS_FAST_REP_STRING): Define.
36084 (HAS_FAST_COPY_BACKWARD): Define.
36086 2010-06-21 Andreas Schwab <schwab@redhat.com>
36088 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36089 Restore proper fallback handling.
36091 2010-06-19 Ulrich Drepper <drepper@redhat.com>
36094 * posix/group_member.c (__group_member): Correct checking loop.
36096 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36097 OOM in getpwuid_r correctly. Return error number when the caller
36098 should return, otherwise -1.
36099 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36100 call returning > 0 value.
36101 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36103 2010-06-07 Andreas Schwab <schwab@redhat.com>
36105 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36106 libc_nonshared.a from targets in modules-names.
36108 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
36110 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36113 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
36115 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36116 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36117 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36118 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36120 2010-06-02 Andreas Schwab <schwab@redhat.com>
36122 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36124 2010-06-14 Ulrich Drepper <drepper@redhat.com>
36126 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36128 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36129 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36130 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36131 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36132 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36133 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36135 2010-06-14 Roland McGrath <roland@redhat.com>
36137 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36139 2010-06-07 Jakub Jelinek <jakub@redhat.com>
36141 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36142 __REDIRECT followed by __THROW.
36143 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36144 * posix/getopt.h (getopt): Likewise.
36146 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36148 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36149 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36150 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36152 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36153 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36155 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
36157 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36159 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36162 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36163 Properly check family and model.
36165 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36167 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36169 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
36171 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36173 2010-05-21 Ulrich Drepper <drepper@redhat.com>
36175 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36178 2010-05-19 Andreas Schwab <schwab@redhat.com>
36180 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36183 2010-05-21 Andreas Schwab <schwab@redhat.com>
36185 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36186 and internal_recvmmsg.
36187 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36188 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36189 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36190 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36192 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36193 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36194 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36196 2010-05-20 Andreas Schwab <schwab@redhat.com>
36198 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36200 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
36202 POWER7 optimizations.
36203 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36204 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36206 2010-05-19 Ulrich Drepper <drepper@redhat.com>
36208 * version.h: Update for 2.13 development version.
36210 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
36212 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36213 exceptions. Return 0.
36215 2010-05-07 Roland McGrath <roland@redhat.com>
36217 * elf/ldconfig.c (main): Add a const.
36219 2010-05-06 Ulrich Drepper <drepper@redhat.com>
36221 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36222 (args_options): Add no-idn option.
36223 (ahosts_keys_int): Add idn_flags to ai_flags.
36224 (parse_option): Handle 'i' option to clear idn_flags.
36226 * malloc/malloc.c (_int_free): Possible race in the most recently
36227 added check. Only act on the data if no current modification
36230 See ChangeLog.17 for earlier changes.