]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
PowerPC: multiarch memcpy for PowerPC32
[thirdparty/glibc.git] / ChangeLog
1 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
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
6 file.
7 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8 file.
9 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
10 file.
11 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
12 multiarch memcpy for PPC32.
13 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
14 multiarch objects.
15 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
16 (__libc_ifunc_impl_list): Likewise.
17
18 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19
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:
23 Likewise.
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.
28
29 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
30
31 * scripts/bench.pl: Append volatile keyword to type.
32
33 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
34
35 * sysdeps/sh/sotruss-lib.c: New file.
36 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
37
38 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39
40 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41
42 2013-12-05 Joseph Myers <joseph@codesourcery.com>
43
44 [BZ #6810]
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.
56
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.
63 (M_E3l): Likewise.
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.
94
95 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
96
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
105 probe.
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
115 probe.
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.
125
126 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
127
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.
133
134 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
135
136 [BZ #15941]
137 * Makefile (INSTALL): Add install-plain.texi as the primary
138 dependency.
139 * manual/install-plain.texi: New file.
140 * manual/install.texi: Include node directive only for
141 non-plaintext output.
142
143 2013-12-04 Joseph Myers <joseph@codesourcery.com>
144
145 * stdlib/longlong.h: Update from GCC.
146
147 [BZ #6807]
148 [BZ #15901]
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
163 negative n.
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.
172
173 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
174
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.
191
192 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
193 Alan Modra <amodra@gmail.com>
194
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
199 declaration.
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.
214
215 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
216
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.
242
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.
264
265 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
266 Alan Modra <amodra@gmail.com>
267
268 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
269 Define.
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):
273 New function.
274 (elf_machine_fixup_plt): Call it.
275 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
276 reloc arguments.
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.
281
282 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
283 Alan Modra <amodra@gmail.com>
284
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.
295
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):
308 Likewise.
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.
314
315 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
316
317 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
318 New assembler macro.
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.
332
333 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
334
335 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
336
337 2013-12-04 Alan Modra <amodra@gmail.com>
338
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.
343
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.
350
351 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
352
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.
359
360 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
361
362 [BZ #4772]
363 * time/strptime_l.c (__strptime_internal): Allow modifiers
364 in strptime.
365 * time/tst-strptime.c (day_tests): Add testcase.
366
367
368 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
369
370 * scripts/bench.pl: Skip over blank lines.
371
372 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
373
374 [BZ #926]
375 * manual/time.texi (Calendar Time): Clarify what timezone functions
376 use.
377
378 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
379
380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
381
382 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
383
384 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
385 implementation.
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.
391
392 2013-12-03 Joseph Myers <joseph@codesourcery.com>
393
394 [BZ #15268]
395 [BZ #15425]
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.
403
404 [BZ #16283]
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
409 underflow.
410 * math/auto-libm-test-out: Regenerated.
411
412 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
413
414 [BZ #16274]
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.
418 (do_open): Delete.
419
420 2013-12-03 Joseph Myers <joseph@codesourcery.com>
421
422 [BZ #6786]
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
426 <float.h>.
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.
435 Add more erfc tests.
436 * math/auto-libm-test-out: Regenerated.
437 * sysdeps/i386/fpu/libm-test-ulps: Update.
438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
439
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.
462
463 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
464
465 [BZ #16289]
466 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
467 division by 0.
468
469 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
470
471 [BZ #16195]
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.
479
480 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
481
482 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
483
484 2013-12-02 Steve Ellcey <sellcey@mips.com>
485
486 * benchtests/Makefile (bench): Add sqrt.
487 (LDLIBS-bench-sqrt): New.
488 * benchtests/sqrt-input: New.
489
490 2013-12-02 Pavel Simerda <psimerda@redhat.com>
491
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.
497
498 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
499 (struct gaih): Remove definition.
500
501 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
502
503 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
504 Use HERRNOP directly.
505
506 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
507
508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
509
510 2013-11-30 Joseph Myers <joseph@codesourcery.com>
511
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.
556
557 2013-11-29 Joseph Myers <joseph@codesourcery.com>
558
559 [BZ #6787]
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.
565
566 [BZ #14032]
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.
572
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.
582
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
587 variables.
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
614 with finite results.
615 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
616 auto-libm-test-out.
617
618 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
619 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
620
621 [BZ #16214]
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.
630
631 2013-11-28 Joseph Myers <joseph@codesourcery.com>
632
633 * manual/math.texi (Errors in Math Functions): Document accuracy
634 goals.
635
636 [BZ #15004]
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.
653
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:
659 Likewise.
660 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
661 Likewise.
662 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
663 Likewise.
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
675 here.
676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
677 Update.
678
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.
685
686 [BZ #16271]
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):
695 Likewise.
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.
700
701 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
702
703 [BZ #16077]
704 * nss/Versions (libnss_files): Add
705 _nss_files_gethostbyname3_r.
706 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
707 New function.
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.
712
713 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
714
715 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
716
717 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
718
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"
721 warning.
722
723 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
724
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
736 compat_symbol macro.
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.
740
741 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
742
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.
777
778 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
779
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.
817
818 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
819
820 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
821
822 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
823
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.
870
871 2013-11-25 Carlos O'Donell <carlos@redhat.com>
872
873 [BZ #16245]
874 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
875 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
876
877 2013-11-25 Joseph Myers <joseph@codesourcery.com>
878
879 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
880 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
881 Likewise.
882
883 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
884
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.
898
899 2013-11-21 Roland McGrath <roland@hack.frob.com>
900
901 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
902 it's there.
903
904 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
905
906 2013-11-21 Meador Inge <meadori@codesourcery.com>
907
908 [BZ #11157]
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.
913
914 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
915
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.
922
923 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
924
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.
931
932 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
933
934 * locale/programs/locarchive.c (open_archive): Add const
935 qualifier to ARCHIVEFNAME and copy default fname to
936 DEFAULT_FNAME.
937
938 [BZ #15601]
939 * libio/tst-widetext.input: Rename Oriya to Odia.
940 * locale/iso-639.def: Likewise.
941
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.
949
950 2013-11-19 Joseph Myers <joseph@codesourcery.com>
951
952 [BZ #15483]
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
987 needed.
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
994 extern declaration.
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):
1005 Likewise.
1006 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1007 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1008 Likewise.
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.
1016
1017 2013-11-19 Andreas Schwab <schwab@suse.de>
1018
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
1024 element.
1025
1026 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
1027
1028 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1029 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1030
1031 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1032
1033 * elf/Makefile (tst-auxv): New test.
1034 * elf/tst-auxv.c: New
1035 * elf/rtld.c (dl_main): Adjust AT_EXECFN
1036
1037 2013-11-18 Joseph Myers <joseph@codesourcery.com>
1038
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.
1052
1053 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
1054
1055 [BZ #10253]
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.
1059
1060 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1061
1062 * benchtests/Makefile: Add strsep.
1063 * benchtests/bench-strsep.c: New file: strsep benchtest.
1064 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1065
1066 2013-11-18 Andreas Schwab <schwab@suse.de>
1067
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>:
1080 Likewise.
1081
1082 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
1083
1084 [BZ #16055]
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.
1088
1089 2013-11-16 Joseph Myers <joseph@codesourcery.com>
1090
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
1098 TEST_NAN_SIGN used.
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
1104 TEST_NAN_SIGN.
1105 (signbit_test_data): Add tests of quiet NaN argument.
1106 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1107
1108 * math/gen-libm-test.pl (show_exceptions): Take extra argument
1109 $ignore_result.
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
1113 IGNORE_RESULT set.
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
1117 set.
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.
1133
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]
1160 conditionals.
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
1169 flags argument.
1170
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.
1208
1209 [BZ #16167]
1210 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1211 argument being NaN and avoid computations with second argument in
1212 that case.
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.
1216
1217 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
1218
1219 * locale/iso-639.def: Add Chitwani Tharu (the).
1220
1221 2013-11-14 Andreas Schwab <schwab@suse.de>
1222
1223 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1224 word instead of empty string.
1225
1226 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1227
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.
1232
1233 2013-11-13 Steve Ellcey <sellcey@mips.com>
1234
1235 * benchtests/bench-timing.h: Include time.h.
1236
1237 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
1238
1239 [BZ #15997]
1240 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1241 to 3.4.0 for x32.
1242 * sysdeps/unix/sysv/linux/configure: Regenerated.
1243
1244 2013-11-13 Joseph Myers <joseph@codesourcery.com>
1245
1246 [BZ #16151]
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.
1252
1253 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1254
1255 [BZ #14143]
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.
1267
1268 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1269
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.
1272
1273 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1274
1275 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1276 of htab_find_slot().
1277
1278 2013-11-11 David S. Miller <davem@davemloft.net>
1279
1280 [BZ #16150]
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.
1287
1288 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1289
1290 [BZ #387]
1291 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1292 it is empty.
1293
1294 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1295
1296 * benchtests/Makefile: Add bench-strtod.
1297 * benchtests/bench-strtod.c: New file: strtod benchtest
1298
1299 2013-11-11 Andreas Schwab <schwab@suse.de>
1300
1301 [BZ #16153]
1302 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1303 terminating NUL in key length.
1304
1305 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1306
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.
1311
1312 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
1313
1314 [BZ #15374]
1315 * nss/getent.c (services_keys): Recognize services starting with digit.
1316
1317 2013-11-06 David S. Miller <davem@davemloft.net>
1318
1319 [BZ #15985]
1320 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1321 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1322
1323 2013-11-06 Will Newton <will.newton@linaro.org>
1324
1325 * manual/memory.texi (Malloc Examples): Remove register
1326 keyword from examples.
1327
1328 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
1329
1330 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1331
1332 2013-11-04 Joseph Myers <joseph@codesourcery.com>
1333
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].
1338
1339 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
1340
1341 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1342 to iso-639.def.
1343
1344 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
1345
1346 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1347
1348 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
1349
1350 [BZ #16112]
1351 * malloc/malloc (malloc_info): Do not handle first bin as
1352 special case.
1353
1354 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
1355
1356 * locale/iso-639.def: Add Central Nahuatl (nhn).
1357
1358 2013-11-01 Bruno Haible <bruno@clisp.org>
1359
1360 [BZ #7003]
1361 * manual/math.texi (BSD Random): Specify range upper bound as
1362 in POSIX.
1363
1364 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
1365
1366 * locale/iso-639.def: Add Meadow Mari (mhr).
1367
1368 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
1369
1370 [BZ #14752], [BZ #15763]
1371 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1372 Validate name.
1373 * rt/tst_shm.c: Add test for escaping directory.
1374
1375 2013-10-31 Andreas Schwab <schwab@suse.de>
1376
1377 [BZ #15917]
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.
1381
1382 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1383
1384 [BZ #16037]
1385 * configure.ac: allow GNU Make 4.0 and greater.
1386 * configure: Regenerated.
1387
1388 2013-10-30 Will Newton <will.newton@linaro.org>
1389
1390 [BZ #16038]
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.
1397
1398 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
1399
1400 [BZ #11087]
1401 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1402 (munmap_chunk): Likewise.
1403 (mremap_chunk): Likewise.
1404
1405 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
1406
1407 [BZ #15799]
1408 * stdlib/div.c (div): Remove obsolete code.
1409 * stdlib/ldiv.c (ldiv): Likewise.
1410 * stdlib/lldiv.c (lldiv): Likewise.
1411
1412 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1413
1414 [BZ #16071]
1415 * nss/nss_files/files-XXX.c (get_contents_ret): New
1416 enumerator.
1417 (get_contents): New function.
1418 (internal_getent): Use it. Expand size of LINEBUFLEN.
1419
1420 2013-10-30 Mike Frysinger <vapier@gentoo.org>
1421
1422 * configure.in: Moved to ...
1423 * configure.ac: ... here. Change reference to configure.in
1424 to configure.ac.
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
1468 respectively.
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.
1487
1488 2013-10-29 Andreas Schwab <schwab@suse.de>
1489
1490 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1491
1492 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1493
1494 * benchtests/pow-inputs: Add new inputs.
1495
1496 * benchtests/exp-inputs: Add new inputs.
1497
1498 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1499 conditional check for return value.
1500 (__cos32): Likewise.
1501
1502 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1503
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.
1512
1513 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
1514
1515 [BZ #2801]
1516 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1517
1518 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
1519
1520 [BZ #14876]
1521 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1522 * time/tst-strptime.c (day_tests): Add testcase.
1523
1524 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
1525
1526 [BZ #14029]
1527 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1528
1529 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1530
1531 [BZ #16074]
1532 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1533 MAP_FAILED on error.
1534
1535 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1536
1537 [BZ #16072]
1538 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1539 heap for large requests.
1540
1541 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1542
1543 [BZ #9954]
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.
1548
1549 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
1550
1551 * locale/iso-639.def: Add Ligurian (lij)
1552
1553 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
1554
1555 [BZ #15825]
1556 * sunrpc/rpc_main.c: Document rpcgen -5.
1557
1558 2013-10-19 Michael Stahl <mstahl@redhat.com>
1559
1560 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1561
1562 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
1563
1564 [BZ #10278]
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.
1568
1569 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
1570
1571 [BZ #15670]
1572 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1573
1574 2013-10-18 Carlos O'Donell <carlos@redhat.com>
1575
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.
1580
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,
1584 otherwise NULL.
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.
1594
1595 2013-10-18 Joseph Myers <joseph@codesourcery.com>
1596 Aldy Hernandez <aldyh@redhat.com>
1597
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:
1613 Likewise.
1614 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1615 Likewise.
1616 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1617 Likewise.
1618 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1619 Likewise.
1620 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1621 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1622 Likewise.
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:
1627 Likewise.
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:
1632 Likewise.
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>
1637 and <sys/prctl.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.
1652
1653 2013-10-18 Richard Sandiford <richard@codesourcery.com>
1654 Joseph Myers <joseph@codesourcery.com
1655
1656 [BZ #15948]
1657 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1658 single character.
1659 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1660
1661 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1662
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.
1686
1687 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
1688
1689 [BZ #12486]
1690 * malloc/malloc.c: remove checks for statistics.
1691
1692 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
1693
1694 [BZ #15277]
1695 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1696 * inet/tst-network.c: Add testcase.
1697
1698 2013-10-17 Andreas Schwab <schwab@suse.de>
1699
1700 [BZ #15218]
1701 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1702 to determine canonical name.
1703
1704 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
1705
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.
1764
1765 2013-10-17 Joseph Myers <joseph@codesourcery.com>
1766
1767 [BZ #16041]
1768 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1769 make result into a quiet NaN.
1770
1771 2013-10-16 Joseph Myers <joseph@codesourcery.com>
1772
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.
1860
1861 2013-10-15 Joseph Myers <joseph@codesourcery.com>
1862
1863 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1864 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1865
1866 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
1867
1868 * elf/dl-libc.c: Clear initfini list after freeing.
1869
1870 2013-10-14 Joseph Myers <joseph@codesourcery.com>
1871
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.
1957
1958 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
1959
1960 [BZ #15672]
1961 * misc/error.c (error_tail): Fix possible buffer overflow.
1962
1963 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
1964
1965 [BZ #13028]
1966 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
1967 address.
1968
1969 2013-10-14 P. J. McDermott <pj@pehjota.net>
1970
1971 [BZ #832]
1972 * elf/ldd.bash.in (try_trace): New function. Delete previous code
1973 testing pipefail option.
1974
1975 2013-10-12 Joseph Myers <joseph@codesourcery.com>
1976
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.
1985
1986 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
1987
1988 * iconv/iconv_prog.c: Fix typos.
1989 * stdio-common/psiginfo-data.h: Likewise.
1990
1991 2013-10-12 Reuben Thomas <rrt@sc3d.org>
1992
1993 [BZ #15764]
1994 * locale/setlocale.c: Fix typo.
1995
1996 2013-10-12 Joseph Myers <joseph@codesourcery.com>
1997
1998 [BZ #16036]
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.
2003
2004 [BZ #14910]
2005 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2006 unordered operands.
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.
2012
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.
2052
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.
2070
2071 [BZ #16032]
2072 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2073 without decrementing exponent if mantissa >= that for the
2074 denominator, not >.
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
2080 denominator, not >.
2081
2082 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2083 computing saturated result for unsigned overflow.
2084
2085 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2086 Jeff Law <law@redhat.com>
2087
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.
2101
2102 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
2103
2104 [BZ #15362]
2105 * libio/fileops.c (_IO_new_file_write): Return count of bytes
2106 written.
2107 (_IO_new_file_xsputn): Don't return EOF if nothing has been
2108 written.
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
2113 encountered.
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.
2118
2119 2013-10-10 David S. Miller <davem@davemloft.net>
2120
2121 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2122 directory block.
2123
2124 2013-10-10 Joseph Myers <joseph@codesourcery.com>
2125
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.
2141
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.
2156
2157 2013-10-10 David S. Miller <davem@davemloft.net>
2158
2159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2160
2161 2013-10-10 Joseph Myers <joseph@codsourcery.com>
2162
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.
2170
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):
2174 Likewise.
2175
2176 2013-10-10 Will Newton <will.newton@linaro.org>
2177
2178 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2179 passed to _int_memalign does not overflow.
2180
2181 2013-10-10 Torvald Riegel <triegel@redhat.com>
2182
2183 * scripts/bench.pl: Add include-sources directive.
2184 * benchtests/README: Update documentation.
2185
2186 2013-10-10 Joseph Myers <joseph@codesourcery.com>
2187
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.
2193
2194 [BZ #16034]
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.
2202
2203 2013-10-09 Joseph Myers <joseph@codesourcery.com>
2204
2205 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2206 semicolon. From Linux kernel.
2207
2208 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
2209
2210 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2211
2212 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2213
2214 [BZ #156]
2215 * manual/socket.texi: Added statement about buffer
2216 for gethostbyname2_r.
2217
2218 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
2219
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.
2230
2231 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2232
2233 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2234
2235 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2236
2237 * sysdeps/generic/math_private.h (__mpsin1): Remove
2238 declaration.
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.
2244 (slow1): Likewise.
2245 (slow2): Likewise.
2246 (sloww): Likewise.
2247 (sloww1): Likewise.
2248 (sloww2): Likewise.
2249 (bsloww): Likewise.
2250 (bsloww1): Likewise.
2251 (bsloww2): Likewise.
2252 (cslow2): Likewise.
2253 (csloww): 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.
2259 (__mpsin1): Remove.
2260 (__mpcos1): Likewise.
2261
2262 2013-10-07 Joseph Myers <joseph@codesourcery.com>
2263
2264 * locale/loadlocale.c (_nl_intern_locale_data): Use
2265 LOCFILE_ALIGNED_P.
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.
2274
2275 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2276
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.
2297
2298 2013-10-07 Alan Modra <amodra@gmail.com>
2299
2300 * README: Fix careless merge.
2301
2302 2013-10-05 Alan Modra <amodra@gmail.com>
2303
2304 * NEWS: Mention powerpc64le support and bugs fixed.
2305 * README: Both big-endian and little-endian powerpc64 supported.
2306
2307 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2308
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.
2313
2314 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
2315
2316 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2317 match prototype.
2318
2319 2013-10-04 Joseph Myers <joseph@codesourcery.com>
2320
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
2349 support in libc.
2350
2351 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2352 case to powerpc/powerpc32*.
2353 * sysdeps/unix/sysv/linux/configure: Regenerated.
2354
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
2359 0x00c10080.
2360 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2361 0x0000003c.
2362 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2363
2364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2365 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2366 getcontext_e500.
2367 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2368 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2369 setcontext_e500.
2370 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2371 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2372 and setcontext_e500.
2373
2374 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
2375
2376 * locale/iso-3166.def: Update iso-1366.def and related occurrences
2377
2378 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2379
2380 * manual/threads.texi (Default Thread Attributes): Fix typo.
2381
2382 2013-10-04 Will Newton <will.newton@linaro.org>
2383
2384 * malloc/Makefile: Add tst-memalign.
2385 * malloc/tst-memalign.c: New file.
2386
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.
2390
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.
2395
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.
2400
2401 2013-10-04 Alan Modra <amodra@gmail.com>
2402
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.
2406
2407 2013-10-04 Alan Modra <amodra@gmail.com>
2408
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.
2412
2413 2013-10-04 Alan Modra <amodra@gmail.com>
2414
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.
2419
2420 2013-10-04 Alan Modra <amodra@gmail.com>
2421
2422 * string/tester.c (test_memrchr): Increment reported test cycle.
2423
2424 2013-10-04 Alan Modra <amodra@gmail.com>
2425
2426 * string/test-memcpy.c (do_one_test): When reporting errors, print
2427 string address and don't overrun end of string.
2428
2429 2013-10-04 Alan Modra <amodra@gmail.com>
2430
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
2438 support.
2439 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2440 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
2441 cache hint.
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.
2446
2447 2013-10-04 Alan Modra <amodra@gmail.com>
2448
2449 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
2450 insrdi. Formatting.
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.
2457
2458 2013-10-04 Alan Modra <amodra@gmail.com>
2459
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.
2470
2471 2013-10-04 Alan Modra <amodra@gmail.com>
2472
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.
2483
2484 2013-10-04 Alan Modra <amodra@gmail.com>
2485
2486 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2487 support. Correct typos, formatting. Optimize tail. Use insrdi
2488 rather than rlwimi.
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
2493 rather than rlwimi.
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
2497 earlier in tail.
2498 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2499
2500 2013-10-04 Alan Modra <amodra@gmail.com>
2501
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.
2506
2507 2013-10-04 Alan Modra <amodra@gmail.com>
2508
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.
2519
2520 2013-10-04 Alan Modra <amodra@gmail.com>
2521
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.
2529
2530 2013-10-04 Alan Modra <amodra@gmail.com>
2531
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.
2538
2539 2013-10-04 Alan Modra <amodra@gmail.com>
2540
2541 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2542
2543 2013-10-04 Alan Modra <amodra@gmail.com>
2544
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.
2548
2549 2013-10-04 Alan Modra <amodra@gmail.com>
2550
2551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2552 HIWORD/LOWORD.
2553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2555
2556 2013-10-04 Alan Modra <amodra@gmail.com>
2557
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.
2568
2569 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2570 Alistair Popple <alistair@ozlabs.au.ibm.com>
2571 Alan Modra <amodra@gmail.com>
2572
2573 [BZ #15723]
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.
2582
2583 2013-10-04 Alan Modra <amodra@gmail.com>
2584
2585 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2586 Don't use a union to pack hi/low value.
2587
2588 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2589
2590 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2591 for little-endian.
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.
2597
2598 2013-10-04 Alan Modra <amodra@gmail.com>
2599
2600 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2601 constants to usual value for .cst8 section, and remove redundant
2602 high address load.
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.
2606
2607 2013-10-04 Alan Modra <amodra@gmail.com>
2608
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.
2629
2630 2013-10-04 Alan Modra <amodra@gmail.com>
2631
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.
2637
2638 2013-10-04 Alan Modra <amodra@gmail.com>
2639
2640 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2641 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2642
2643 2013-10-04 Alan Modra <amodra@gmail.com>
2644
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.
2648
2649 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2650
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.
2666
2667 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
2668
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.
2674
2675 2013-10-04 Alan Modra <amodra@gmail.com>
2676
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.
2681
2682 2013-10-04 Alan Modra <amodra@gmail.com>
2683
2684 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2685 Delete.
2686 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2687 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2688 version of math_ldbl.h.
2689
2690 2013-10-04 Alan Modra <amodra@gmail.com>
2691
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
2700 zero.
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.
2716
2717 2013-10-04 Alan Modra <amodra@gmail.com>
2718
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):
2723 Likewise.
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.
2736 Simplify.
2737 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2738 Simplify.
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):
2745 Likewise.
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.
2751
2752 2013-10-04 Alan Modra <amodra@gmail.com>
2753
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):
2763 Likewise.
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):
2775 Likewise.
2776 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2777 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2778 Likewise.
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.
2785
2786 2013-10-04 Alan Modra <amodra@gmail.com>
2787
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.
2799
2800 2013-10-04 Alan Modra <amodra@gmail.com>
2801
2802 [BZ #15680]
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.
2819
2820 2013-10-04 Alan Modra <amodra@gmail.com>
2821
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.
2835
2836 2013-10-03 Joseph Myers <joseph@codesourcery.com>
2837
2838 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2839 page size instead of calling getpagesize.
2840
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.
2848
2849 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
2850
2851 [BZ #431]
2852 * manual/string.texi: Fix strncat and wcsncat.
2853
2854 2013-10-03 Brooks Moses <bmoses@google.com>
2855
2856 [BZ #15915]
2857 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2858 * Makerules: ...here, and adjust associated comments.
2859
2860 2013-10-02 Will Newton <will.newton@linaro.org>
2861
2862 * malloc/Makefile: Add tst-pvalloc.
2863 * malloc/tst-pvalloc.c: New file.
2864
2865 2013-10-02 Will Newton <will.newton@linaro.org>
2866
2867 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2868 improve test coverage.
2869
2870 2013-10-02 Will Newton <will.newton@linaro.org>
2871
2872 * malloc/Makefile: Add tst-posix_memalign.
2873 * malloc/tst-posix_memalign.c: New file.
2874
2875 2013-10-01 Eric Blake <eblake@redhat.com>
2876
2877 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2878 Use __THROWNL rather than __THROW on static functions.
2879
2880 2013-09-30 Petr Machata <pmachata@redhat.com>
2881
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.
2963
2964 2013-09-30 Andreas Schwab <schwab@suse.de>
2965
2966 [BZ #15048]
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.
2971
2972 2013-09-28 Mike Frysinger <vapier@gentoo.org>
2973
2974 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
2975
2976 2013-09-28 P. J. McDermott <pj@pehjota.net>
2977
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.
2981
2982 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
2983
2984 * sysdeps/sh/stackguard-macros.h: New file.
2985
2986 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
2987
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.
2994
2995 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2996
2997 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
2998 Fix thread ID register.
2999
3000 2013-09-25 Joseph Myers <joseph@codesourcery.com>
3001
3002 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3003 [POSIX || UNIX98]: Require rather than permitting all symbols from
3004 <time.h>.
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
3011 constant.
3012
3013 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
3014
3015 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3016 argument calculation.
3017
3018 2013-09-24 Joseph Myers <joseph@codesourcery.com>
3019
3020 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3021 Expect macro.
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.
3031
3032 2013-09-24 Joseph Myers <joseph@codesourcery.com>
3033 Richard Sandiford <richard@codesourcery.com>
3034
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
3047 maybe_swap_uint32.
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".
3056 (GET): New macro.
3057 (SET): Likewise.
3058 (INC): Likewise.
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
3069 locale data.
3070
3071 2013-09-24 Roland McGrath <roland@hack.frob.com>
3072
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.
3076
3077 2013-09-24 Will Newton <will.newton@linaro.org>
3078
3079 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3080 macro.
3081
3082 2013-09-23 Joseph Myers <joseph@codesourcery.com>
3083
3084 * locale/hashval.h (compute_hashval): Interpret bytes of key as
3085 unsigned char.
3086
3087 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
3088
3089 * manual/threads.texi (POSIX Threads): Fix a typo.
3090
3091 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3092
3093 [BZ #14547]
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.
3098
3099 [BZ #14547]
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
3105 when malloc fails.
3106
3107 2013-09-23 Carlos O'Donell <carlos@redhat.com>
3108
3109 [BZ #15754]
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.
3113
3114 [BZ #15754]
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.
3129
3130 2013-09-23 Hector Marco <hecmargi@upv.es>
3131 Ismael Ripoll <iripoll@disca.upv.es>
3132 Carlos O'Donell <carlos@redhat.com>
3133
3134 [BZ #15754]
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.
3141
3142 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3143
3144 [BZ #15859]
3145 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3146
3147 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3148
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.
3156
3157 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
3158
3159 * NEWS: Mention malloc probes.
3160
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.
3168
3169 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3170 * manual/probes.texi: Document it.
3171
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.
3179
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.
3188
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.
3193
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.
3200
3201 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3202
3203 [BZ #15963, #13985]
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.
3207
3208 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3209
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.
3215 (__cos): Likewise.
3216 (slow): Use TAYLOR_SLOW.
3217 (sloww): Likewise.
3218 (bsloww): Likewise.
3219 (csloww): Likewise.
3220
3221 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3222
3223 * stdlib/strtod_l.c: Fix buffer overrun.
3224
3225 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3226
3227 * benchtests/Makefile (bench): Add sincos.
3228 * benchtests/bench-sincos.c: New file.
3229
3230 * math/libm-test.inc (cos_test_data): New test inputs.
3231 (sin_test_data): Likewise.
3232
3233 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3234 macro.
3235 (__sin): Use it.
3236 (__cos): Likewise.
3237 (slow1): Likewise.
3238 (slow2): Likewise.
3239 (sloww1): Likewise.
3240 (sloww2): Likewise.
3241 (bsloww1): Likewise.
3242 (bsloww2): Likewise.
3243 (cslow2): Likewise.
3244 (csloww1): Likewise.
3245 (csloww2): Likewise.
3246
3247 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3248 function.
3249 (__sin): Use it.
3250 (__cos): Likewise.
3251
3252 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3253 gotos.
3254 (__cos): Likewise.
3255
3256 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
3257
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.
3264
3265 2013-09-18 Joseph Myers <joseph@codesourcery.com>
3266 Aldy Hernandez <aldyh@redhat.com>
3267
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
3286 declaration.
3287
3288 2013-09-18 Joseph Myers <joseph@codesourcery.com>
3289
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.
3296
3297 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3298 Do not append -msoft-float.
3299 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3300
3301 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3302
3303 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3304
3305 2013-09-17 Joseph Myers <joseph@codesourcery.com>
3306
3307 [BZ #15966]
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.
3313
3314 2013-09-13 Richard Sandiford <richard@codesourcery.com>
3315
3316 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3317 prototype.
3318 (ctype_startup): Use uint32_t in cast and sizeof for
3319 ctype->charnames.
3320
3321 2013-09-11 Jia Liu <proljc@gmail.com>
3322
3323 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3324 __daddr_t_defined.
3325 [__FreeBSD__]: Likewise.
3326
3327 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
3328
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.
3335
3336 2013-09-11 Will Newton <will.newton@linaro.org>
3337
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.
3342
3343 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3344
3345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3346
3347 2013-09-11 Andreas Schwab <schwab@suse.de>
3348
3349 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3350 if not defined.
3351 (O_TMPFILE) [__USE_GNU]: Define.
3352 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3353 Define.
3354
3355 2013-09-11 Will Newton <will.newton@linaro.org>
3356
3357 [BZ #15857]
3358 * malloc/malloc.c (__libc_memalign): Check the value of bytes
3359 does not overflow.
3360
3361 2013-09-11 Will Newton <will.newton@linaro.org>
3362
3363 [BZ #15856]
3364 * malloc/malloc.c (__libc_valloc): Check the value of bytes
3365 does not overflow.
3366
3367 2013-09-11 Will Newton <will.newton@linaro.org>
3368
3369 [BZ #15855]
3370 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3371 does not overflow.
3372
3373 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
3374
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.
3380
3381 2013-09-10 Allan McRae <allan@archlinux.org>
3382
3383 [BZ #15748]
3384 * manual/arith.texi (Parsing of Floats): Clarify
3385 cross-reference.
3386
3387 [BZ #15849]
3388 * manual/install.texi (Running make install): Mention
3389 --enable-pt-chown.
3390 * INSTALL: Regenerated.
3391
3392 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3393
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
3404 `$(tests-static)'.
3405 (tests-static): New variable.
3406 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3407 dependency to...
3408 [($(build-shared),yes)]
3409 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3410 ... this.
3411 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3412 New dependency.
3413
3414 2013-09-09 Allan McRae <allan@archlinux.org>
3415
3416 [BZ #15939]
3417 * manual/string.texi (Collation Functions): Fix typo in
3418 strcoll example.
3419 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3420
3421 [BZ #15893]
3422 * stdlib/isomac.c (get_null_defines): Fix memory leak.
3423
3424 [BZ #15892]
3425 * libio/memstream.c (open_memstream): Fix memory leak.
3426 * libio/wmemstream.c (open_wmemstream): Likewise.
3427
3428 [BZ #15895]
3429 * nscd/netgroupcache.c: Fix nesting of ifdefs.
3430
3431 2013-09-09 Will Newton <will.newton@linaro.org>
3432
3433 * malloc/Makefile: Add tst-realloc to tests.
3434 * malloc/tst-realloc.c: New file.
3435
3436 2013-09-09 Allan McRae <allan@archlinux.org>
3437
3438 [BZ #15844]
3439 * COPYING: Update from GNU website to fix FSF address.
3440 * COPYING.LIB: Likewise.
3441
3442 2013-09-06 David S. Miller <davem@davemloft.net>
3443
3444 * po/zh_TW.po: Update Chinese (traditional) translation from
3445 translation project.
3446
3447 2013-09-06 Richard Sandiford <richard@codesourcery.com>
3448 Joseph Myers <joseph@codesourcery.com>
3449
3450 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3451 "localeinfo.h".
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
3470 iovec.
3471 * locale/programs/locfile.h: Include "obstack.h".
3472 (struct locale_file): Change to store locale file contents instead
3473 of header.
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
3497 NO_ADD_LOCALE.
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
3501 in file.
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
3507 file.
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.
3526
3527 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3528
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.
3534
3535 2013-09-06 Will Newton <will.newton@linaro.org>
3536
3537 * benchtests/Makefile (string-bench): Add memcpy.
3538
3539 2013-09-05 Carlos O'Donell <carlos@redhat.com>
3540 Cong Wang <amwang@redhat.com>
3541
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
3547 IPPROTO_BEETPH.
3548 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3549 sockaddr_in6, or ipv6_mreq.
3550
3551 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3552
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.
3556
3557 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3558
3559 * string/test-memrchr.c: New file.
3560 * string/test-memrchr-ifunc.c: New file.
3561 * string/Makefile: Add new memrchr testcase.
3562
3563 2013-09-05 Mike Frysinger <vapier@gentoo.org>
3564
3565 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3566 fanotify_init returns EPERM.
3567
3568 2013-09-04 Joseph Myers <joseph@codesourcery.com>
3569
3570 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3571 errors.
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
3575 [!_ISOMAC].
3576 * include/fenv.h: Condition include of <stdbool.h> and internal
3577 declarations on [!_ISOMAC].
3578
3579 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3580
3581 [BZ #15923]
3582 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3583
3584 2013-09-04 Joseph Myers <joseph@codesourcery.com>
3585
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
3605 [SHARED].
3606 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3607 [SHARED].
3608 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3609 [SHARED && !NO_HIDDEN].
3610 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3611 [SHARED].
3612 [SHARED && DO_VERSIONING]: Likewise..
3613 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3614 [$(build-shared) = yes].
3615 * manual/install.texi (--disable-versioning): Remove
3616 documentation.
3617 * INSTALL: Regenerated.
3618 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3619 to [SHARED].
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].
3635
3636 2013-09-04 Will Newton <will.newton@linaro.org>
3637
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.
3669
3670 2013-09-04 Will Newton <will.newton@linaro.org>
3671
3672 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3673
3674 2013-09-03 Joseph Myers <joseph@codesourcery.com>
3675
3676 [BZ #15427]
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.
3682
3683 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
3684
3685 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3686 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3687 Add ifunc.
3688 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3689 Add strcmp-sse2-unaligned
3690 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3691
3692 2013-09-02 Mike Frysinger <vapier@gentoo.org>
3693
3694 * Versions.def (libc): Add GLIBC_2.19.
3695
3696 2013-09-02 Mike Frysinger <vapier@gentoo.org>
3697
3698 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3699 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3700
3701 2013-09-02 Joseph Myers <joseph@codesourcery.com>
3702
3703 [BZ #14155]
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.
3712
3713 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
3714
3715 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3716
3717 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3718
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.
3732
3733 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3734
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.
3757
3758 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
3759
3760 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3761 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3762
3763 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
3764
3765 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3766 aix specific files.
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.
3775
3776 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3777 Roland McGrath <roland@hack.frob.com>
3778
3779 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3780 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3781
3782 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3783
3784 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3785 __executable_start symbol instead of _start.
3786
3787 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3788
3789 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3790 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3791 Move macros to...
3792 * sysdeps/gnu/ldsodefs.h: ... this new file.
3793
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.
3797
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):
3802 Likewise.
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):
3806 Likewise.
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.
3811
3812 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3813 TEST_TRUNC.
3814 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3815 functions, renamed from truncdfsf_test, trunctfsf_test,
3816 trunctfdf_test.
3817 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3818 functions.
3819 (do_test): Run all these.
3820
3821 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
3822
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:
3838 Likewise.
3839 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3840 Likewise.
3841 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3842 Likewise.
3843 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3844
3845 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3846
3847 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3848 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3849
3850 2013-08-27 Mike Frysinger <vapier@gentoo.org>
3851
3852 [BZ #15897]
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.
3866
3867 2013-08-27 Roland McGrath <roland@hack.frob.com>
3868
3869 * include/netdb.h [!_ISOMAC]:
3870 Don't include <tls.h>.
3871 (h_errno, __libc_h_errno): Move declaration and macros out of
3872 [_LIBC_REENTRANT].
3873
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"))).
3880
3881 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3882 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3883
3884 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3885
3886 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3887 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3888
3889 * resolv/res_mkquery.c: Include <sys/time.h>.
3890
3891 * inet/ifreq.c: Moved to ...
3892 * sysdeps/unix/ifreq.c: ... here.
3893 * inet/ifreq.c: New file, true stub version.
3894
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>.
3903
3904 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3905 * bits/socket.h: ... here.
3906
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.
3910
3911 2013-08-27 Andreas Schwab <schwab@suse.de>
3912
3913 [BZ #15736]
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
3918 locales.
3919 * string/test-strncasecmp.c (test_main): Likewise.
3920
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.
3926
3927 2013-08-26 Roland McGrath <roland@hack.frob.com>
3928
3929 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3930
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.
3934
3935 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3936
3937 [BZ #15890]
3938 * nscd/aicache.c: Include res_hconf.h.
3939 (addhstaiX): Initialize res_hconf.
3940
3941 2013-08-26 Andreas Schwab <schwab@suse.de>
3942
3943 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
3944 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
3945
3946 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3947
3948 * nscd/aicache.c (addhstaiX): Fix indentation.
3949
3950 2013-08-25 Mike Frysinger <vapier@gentoo.org>
3951
3952 * configure.ac: Quote $build_pt_chown test.
3953 * configure: Regenerated.
3954
3955 2013-08-23 Joseph Myers <joseph@codesourcery.com>
3956
3957 [BZ #15532]
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.
3963
3964 2013-08-22 David S. Miller <davem@davemloft.net>
3965
3966 * po/ca.po: Update Catalan translation from translation project.
3967 * po/uk.po: Add Ukrainian translations from translation project.
3968
3969 2013-08-21 Joseph Myers <joseph@codesourcery.com>
3970
3971 [BZ #15797]
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
3977 errno is unchanged.
3978
3979 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
3980
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.
4021
4022 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4023
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.
4028
4029 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4030
4031 [BZ #15867]
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
4042 sa_flags value.
4043 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4044 interrupting a syscall and set with option SA_SIGINFO.
4045
4046 2013-08-20 Joseph Myers <joseph@codesourcery.com>
4047
4048 [BZ #15531]
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.
4055
4056 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4057
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.
4061
4062 2013-08-20 Joseph Myers <joseph@codesourcery.com>
4063 Roland McGrath <roland@hack.frob.com>
4064
4065 * Makefile (INSTALL): Remove trailing blank lines from output of
4066 makeinfo.
4067
4068 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4069
4070 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4071 Align 32 bit compat elf_greg to 8 bytes.
4072
4073 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4074
4075 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4076
4077 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4078
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.
4085
4086 2013-08-16 Florian Weimer <fweimer@redhat.com>
4087
4088 [BZ #14699]
4089 CVE-2013-4237
4090 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4091 member.
4092 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4093 member.
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
4097 conditional.
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
4103 strongly.
4104 * manual/conf.texi (Limits for Files): Add portability note to
4105 NAME_MAX, PATH_MAX.
4106 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4107
4108 2013-08-13 Andreas Schwab <schwab@suse.de>
4109
4110 [BZ #15749]
4111 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4112 of fabs.
4113 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4114 LDBL_MAX_EXP >= 16384]: Add tests for it.
4115
4116 2013-08-12 David S. Miller <davem@davemloft.net>
4117
4118 * version.h (RELEASE): Set to "development".
4119 (VERSION): Set to "2.18.90".
4120 * NEWS: Add 2.19 section.
4121
4122 2013-08-03 David S. Miller <davem@davemloft.net>
4123
4124 * po/ko.po: Update Korean translation from translation project.
4125
4126 2013-08-01 David S. Miller <davem@davemloft.net>
4127
4128 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
4129 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4130 Bilka.
4131
4132 2013-07-30 David S. Miller <davem@davemloft.net>
4133
4134 * po/fr.po: Update French translation from translation project.
4135
4136 2013-07-28 David S. Miller <davem@davemloft.net>
4137
4138 * po/cs.po: Update Czech translation from translation project.
4139
4140 * po/sv.po: Update Swedish translation from translation project.
4141
4142 2013-07-27 David S. Miller <davem@davemloft.net>
4143
4144 * po/eo.po: Update Esperanto translation from translation project.
4145
4146 * po/vi.po: Update Vietnamese translation from translation project.
4147
4148 * po/de.po: Update German translation from translation project.
4149
4150 2013-07-26 David S. Miller <davem@davemloft.net>
4151
4152 * po/bg.po: Update Bulgarian translation from translation project.
4153
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.
4157
4158 2013-07-24 David S. Miller <davem@davemloft.net>
4159
4160 * po/libc.pot: Update.
4161
4162 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4163
4164 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4165 variable page size.
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.
4169
4170 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4171
4172 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4173
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>
4179
4180 [BZ #15755]
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
4190 CLOSE_ALL_FDS.
4191 * manual/install.texi (Configuring and compiling): Mention
4192 --enable-pt_chown. Add @findex for grantpt.
4193 * INSTALL: Regenerate.
4194
4195 2013-07-20 David S. Miller <davem@davemloft.net>
4196
4197 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4198 difference between 32-bit and 64-bit.
4199
4200 2013-07-15 Carlos O'Donell <carlos@redhat.com>
4201
4202 [BZ #15711]
4203 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4204 Avoid system header dependency with -ffreestanding.
4205 ($(objpfx)bits/syscall%d): Likewise.
4206
4207 2013-07-13 David S. Miller <davem@davemloft.net>
4208
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.
4212
4213 2013-07-07 David S. Miller <davem@davemloft.net>
4214
4215 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4216
4217 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
4218
4219 * sysdeps/i386/fpu/libm-test-ulps: Update.
4220 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4221
4222 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4223
4224 * configure.in (--enable-lock-elision): Fix message text.
4225 * INSTALL: Regenerate.
4226 * configure: Regenerate.
4227
4228 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4229
4230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4231
4232 2013-07-03 Andreas Jaeger <aj@suse.de>
4233
4234 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4235 define.
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.
4242
4243 2013-07-03 Allan McRae <allan@archlinux.org>
4244
4245 * sysdeps/i386/fpu/libm-test-ulps: Update.
4246
4247 2013-07-02 David S. Miller <davem@davemloft.net>
4248
4249 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4250
4251 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
4252
4253 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4254
4255 2013-07-02 Joseph Myers <joseph@codesourcery.com>
4256
4257 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4259
4260 2013-07-02 Andi Kleen <ak@linux.intel.com>
4261
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.
4267
4268 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
4269
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.
4273
4274 2013-07-02 Joseph Myers <joseph@codesourcery.com>
4275
4276 [BZ #13304]
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.
4324
4325 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4326
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
4329 Silvermont.
4330 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
4331 macro.
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.
4338
4339 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4340
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
4344 POWER8.
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.
4356
4357 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4358
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
4363 GLRO(dl_hwcap2).
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
4369 struct member.
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.
4381
4382 2013-06-28 Joseph Myers <joseph@codesourcery.com>
4383
4384 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4385 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4386
4387 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
4388
4389 [BZ #12492]
4390 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4391 mprotect making __stack_prot writable.
4392
4393 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
4394 Joseph Myers <joseph@codesourcery.com>
4395
4396 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4397 as being properly aligned.
4398
4399 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
4400
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.
4408
4409 [BZ #15022]
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
4418 around call_map.
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.
4429
4430 2013-06-26 Joseph Myers <joseph@codesourcery.com>
4431
4432 * configure.in (CC): Require GCC version 4.4 or later.
4433 * configure: Regenerated.
4434 * manual/install.texi (Tools for Compilation): Update GCC version
4435 requirement.
4436 * INSTALL: Regenerated.
4437
4438 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4439
4440 [BZ #15674]
4441 * string/test-memcmp.c (check2): New.
4442 (main): Call check2.
4443
4444 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4445
4446 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
4447
4448 [BZ #15022]
4449 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4450 over to...
4451 (dl_open_worker) [!SHARED]: ... here.
4452
4453 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4454
4455 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4456
4457 2013-06-25 Richard Henderson <rth@redhat.com>
4458
4459 * locale/programs/locarchive.c: Include <libc-internal.h>
4460
4461 2013-06-25 Joseph Myers <joseph@codesourcery.com>
4462
4463 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4464 trailing whitespace removed.
4465
4466 2013-06-24 Mike Frysinger <vapier@gentoo.org>
4467
4468 [BZ #10283]
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
4473 values.
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.
4486
4487 2013-06-24 Mike Frysinger <vapier@gentoo.org>
4488
4489 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4490 (ALIGN_UP): Likewise.
4491 (PTR_ALIGN_DOWN): Likewise.
4492 (PTR_ALIGN_UP): Likewise.
4493
4494 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4495
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
4499 POWER8.
4500 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4501 (_dl_string_platform): Add case for exporting platform position for
4502 POWER8.
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
4508 power7 directories.
4509 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4510 power7 directories.
4511
4512 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4513
4514 * INSTALL: Regenerate.
4515
4516 * nscd/connections.c (nscd_init): Fix comment.
4517
4518 2013-06-22 Joseph Myers <joseph@codesourcery.com>
4519
4520 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4521
4522 [BZ #15667]
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.
4525
4526 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4527
4528 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4529 DL_DST_REQ_STATIC.
4530 (DL_DST_REQ_STATIC): Remove macro.
4531
4532 2013-06-21 Joseph Myers <joseph@codesourcery.com>
4533
4534 [BZ #7006]
4535 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4536 with a shift of 0 bits.
4537
4538 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4539
4540 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4541 $(tststatic-ENV).
4542
4543 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4544
4545 [BZ #15655]
4546 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4547
4548 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4549
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
4555 recursive call.
4556 * string/memset.c (memset): Likewise.
4557 * string/test-memmove.c (simple_memmove): Disable loop transformation
4558 to library calls.
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.
4563
4564 2013-06-20 Joseph Myers <joseph@codesourcery.com>
4565
4566 * math/test-misc.c (main): Ignore fesetround failure when failures
4567 of subsequent rounding tests would be ignored.
4568
4569 [BZ #15654]
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
4575 FE_TONEAREST.
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.
4582
4583 2013-06-18 Roland McGrath <roland@hack.frob.com>
4584
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.
4588
4589 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4590
4591 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4592 fields.
4593
4594 2013-06-17 Roland McGrath <roland@hack.frob.com>
4595
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.
4601
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.
4607
4608 2013-06-17 Joseph Myers <joseph@codesourcery.com>
4609
4610 * math/test-misc.c (main): Do not treat incorrectly rounded
4611 conversions as failure unless ROUNDING_TESTS passes.
4612
4613 2013-06-15 Joseph Myers <joseph@codesourcery.com>
4614
4615 [BZ #15631]
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.
4619
4620 * math/libm-test.inc (fma_test_data): Add another test.
4621
4622 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4623
4624 * manual/threads.texi (Non-POSIX Extensions): New document
4625 node. Document pthread_getattr_default_np and
4626 pthread_setattr_default_np.
4627
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:
4631 Likewise.
4632 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4633 Likewise.
4634 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4635 Likewise.
4636 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4637 Likewise.
4638 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4639 Likewise.
4640 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4641 Likewise.
4642 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4643 Likewise.
4644 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4645 Likewise.
4646 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4647 Likewise.
4648
4649 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4650
4651 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4652 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4653
4654 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4655 H.J. Lu <hjl.tools@gmail.com>
4656
4657 [BZ #15627]
4658 * sysdeps/x86_64/rtld-memset.c: Remove file.
4659 * sysdeps/x86_64/rtld-memset.S: New file.
4660
4661 2013-06-14 Joseph Myers <joseph@codesourcery.com>
4662
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
4667 ROUNDING_TESTS.
4668
4669 2013-06-13 Roland McGrath <roland@hack.frob.com>
4670
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.
4675
4676 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4677
4678 * NEWS: Fix note on clock function precision. Text by Roland
4679 McGrath.
4680
4681 2013-06-13 Roland McGrath <roland@hack.frob.com>
4682
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.
4685
4686 2013-06-13 Joseph Myers <joseph@codesourcery.com>
4687
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.
4699
4700 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4701
4702 [BZ #12515]
4703 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4704 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4705
4706 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4707
4708 [BZ #15605]
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.
4713
4714 2013-06-12 Joseph Myers <joseph@codesourcery.com>
4715
4716 * math/bug-nextafter.c: Include <math-tests.h>.
4717 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4718 the relevant type.
4719 * math/bug-nexttoward.c: Include <math-tests.h>.
4720 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4721 the relevant type.
4722 * math/test-misc.c: Include <math-tests.h>.
4723 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4724 the relevant type.
4725
4726 2013-06-12 Andreas Jaeger <aj@suse.de>
4727
4728 * po/ia.po: Update Interlingua translation from translation
4729 project.
4730
4731 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4732
4733 * include/fenv.h: Include stdbool.h.
4734 (struct rm_ctx): New structure.
4735 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4736 Define macro.
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.
4779
4780 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4781
4782 * locale/iso-639.def: Convert to UTF-8.
4783
4784 2013-06-11 Joseph Myers <joseph@codesourcery.com>
4785
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).
4792
4793 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4794
4795 * benchtests/Makefile (string-bench): Add strcpy_chk and
4796 stpcpy_chk.
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
4802 code.
4803 (do_test): Likewise.
4804
4805 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4806
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/
4812 dl-procinfo.h.
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/
4818 dl-procinfo.h.
4819
4820 2013-06-11 Andreas Schwab <schwab@suse.de>
4821
4822 [BZ #14991]
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
4838 characters.
4839 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4840
4841 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4842
4843 * include/sys/time.h: Fix indentation and add copyright header.
4844
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.
4897
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.
4959
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.
4970
4971 2013-06-11 Andreas Schwab <schwab@suse.de>
4972
4973 [BZ #15577]
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.
4979
4980 2013-06-11 Andreas Jaeger <aj@suse.de>
4981
4982 * po/zh_TW.po: Update Chinese (traditional) translation from
4983 translation project.
4984
4985 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4986
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):
5002 Likewise.
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.
5006
5007 2013-06-10 Joseph Myers <joseph@codesourcery.com>
5008
5009 * mach/err_boot.sub: Remove trailing whitespace.
5010 * mach/err_ipc.sub: Likewise.
5011 * mach/err_mach.sub: Likewise.
5012
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.
5022
5023 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5024
5025 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5026 of assigning.
5027
5028 2013-06-08 Joseph Myers <joseph@codesourcery.com>
5029
5030 * sysdeps/gnu/errlist.awk: Do not generate space at end of
5031 otherwise empty TRANS lines.
5032 * sysdeps/gnu/errlist.c: Regenerated.
5033
5034 * catgets/gencat.c (error_print): Use (void) in function
5035 definition.
5036 * crypt/crypt_util.c (__init_des): Likewise.
5037 * crypt/speeds.c (Stop): Likewise.
5038 (main): 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.
5063 (mtrace): 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.
5140
5141 2013-06-07 Joseph Myers <joseph@codesourcery.com>
5142
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.
5151 (malloc): Likewise.
5152 (free): 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.
5189 (skip): Likewise.
5190 (value): 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.
5197 (main): 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.
5217 (PRINT): Likewise.
5218 * stdio-common/printf_fp.c (outchar): Likewise.
5219 (PRINT): Likewise.
5220 * stdio-common/printf_fphex.c (outchar): Likewise.
5221 (PRINT): Likewise.
5222 * stdio-common/printf_size.c (outchar): Likewise.
5223 (PRINT): 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):
5256 Likewise.
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
5265 definitions.
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.
5285
5286 2013-06-06 Joseph Myers <joseph@codesourcery.com>
5287
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.
5293
5294 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
5295
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.
5359
5360 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
5361
5362 * posix/transbug.c: Remove executable mode.
5363
5364 2013-06-05 Joseph Myers <joseph@codesourcery.com>
5365
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.
5557
5558 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5559
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.
5564
5565 2013-06-05 Andreas Schwab <schwab@suse.de>
5566
5567 [BZ #15100]
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.
5571
5572 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5573
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.
5580
5581 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5582
5583 * string/test-strchrnul.c: Add copyright header.
5584
5585 * posix/tst-getaddrinfo4.c: Increase test timeout.
5586
5587 2013-06-03 Carlos O'Donell <carlos@redhat.com>
5588
5589 [BZ #15536]
5590 * math/libm-test.inc (MAX_EXP): Remove
5591 (MIN_EXP): Define.
5592 (ulp): Use MIN_EXP - MANT_DIG.
5593 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5594
5595 2013-05-31 Carlos O'Donell <carlos@redhat.com>
5596
5597 * po/be.po: Revert last change.
5598 * po/zh_CN.po: Likewise.
5599 * po/header.pot: Likewise.
5600
5601 2013-05-31 Joseph Myers <joseph@codesourcery.com>
5602
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
5609 $(link-libc-args).
5610 (build-module): Link with $(link-libc-args).
5611 (build-module-asneeded): Likewise.
5612 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5613 list of objects.
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
5619 libc.
5620 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5621 libc and ld.so.
5622 ($(objpfx)libpcprofile.so): Likewise.
5623 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5624 libc_nonshared.a.
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
5628 $(link-libc-deps).
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
5639 $(link-libc-deps).
5640 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5641 libc.
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
5646 ld.so.
5647 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5648 $(link-libc-deps).
5649 * sysdeps/i386/fpu/Makefile: Remove file.
5650 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5651 ($(objpfx)libm.so): Remove dependency on ld.so.
5652
5653 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
5654
5655 [BZ # 15553]
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.
5663
5664 2013-05-30 Jeff Law <law@redhat.com>
5665
5666 [BZ #14256]
5667 * manual/errno.texi (ESTALE): Update to account for more than
5668 just NFS file systems.
5669 * sysdeps/gnu/errlist.c: Regenerated.
5670
5671 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5672
5673 [BZ #15465]
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):
5706 Likewise.
5707 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5708 Likewise.
5709 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5710 Likewise.
5711 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5712 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5713 Likewise.
5714 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5715 Likewise.
5716 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5717
5718 2013-05-28 Carlos O'Donell <carlos@redhat.com>
5719
5720 * po/be.po: Add descriptive title.
5721 * po/zh_CN.po: Likewise.
5722 * po/header.pot: Likewise.
5723
5724 2013-05-28 Mike Frysinger <vapier@gentoo.org>
5725
5726 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5727 error message.
5728 (enlarge_archive): Likewise.
5729
5730 2013-05-28 Ben North <ben@redfrontdoor.org>
5731
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.
5734
5735 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5736
5737 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5738
5739 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5740
5741 * stdio-common/bug26.c (main): Correct fscanf template.
5742
5743 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5744 declare _dl_skip_args.
5745
5746 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5747 Don't declare.
5748
5749 * manual/platform.texi: Add missing @end deftypefun.
5750
5751 2013-05-24 Joseph Myers <joseph@codesourcery.com>
5752
5753 [BZ #15529]
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.
5757
5758 * math/libm-test.inc: Add drem and pow10 to list of tested
5759 functions.
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.
5767
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.
5774
5775 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5776
5777 * manual/platform.texi: Add PowerPC PPR function set documentation.
5778 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5779 implementation.
5780
5781 2013-05-24 Carlos O'Donell <carlos@redhat.com>
5782
5783 * math/libm-test.inc (MAX_EXP): Define.
5784 (ULPDIFF): 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.
5790
5791 2013-05-24 Joseph Myers <joseph@codesourcery.com>
5792
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
5796 END_DATA.
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.
5964
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.
5968 (END): Likewise.
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.
6138
6139 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
6140
6141 [BZ #15381]
6142 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6143
6144 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6145
6146 [BZ #14894]
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.
6151
6152 2013-05-22 Carlos O'Donell <carlos@redhat.com>
6153
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.
6157
6158 2013-05-22 Joseph Myers <joseph@codesourcery.com>
6159
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
6166 field to arg_str.
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
6184 and extra2_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
6190 macros.
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
6193 macros.
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
6196 cleanup macros.
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
6199 macros.
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
6202 macros.
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
6205 cleanup macros.
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
6208 cleanup macros.
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
6211 cleanup macros.
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
6214 macros.
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
6217 macros.
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
6220 macros.
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
6223 cleanup macros.
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
6226 cleanup macros.
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
6229 macros.
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
6232 cleanup macros.
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
6235 macros.
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
6238 macros.
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
6241 cleanup macros.
6242 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6243
6244 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6245
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.
6252
6253 2013-05-03 Carlos O'Donell <carlos at redhat.com>
6254
6255 [BZ #15441]
6256 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6257 returns -1.
6258 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6259 null return -1.
6260 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6261 loading the domain.
6262
6263 2013-05-22 Joseph Myers <joseph@codesourcery.com>
6264
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.
6273
6274 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6275
6276 * benchtests/Makefile: Sort function entries.
6277
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.
6289
6290 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
6291
6292 [BZ #15339]
6293 * posix/tst-getaddrinfo4.c: New test.
6294 * posix/Makefile (tests): Add it.
6295
6296 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6297
6298 [BZ #15339]
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.
6303
6304 2013-05-21 Andreas Schwab <schwab@suse.de>
6305
6306 [BZ #15014]
6307 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6308 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6309 successful.
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.
6317
6318 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6319
6320 * benchtests/Makefile: Remove instructions for adding
6321 benchmark tests.
6322 * benchtests/README: New file to explain how to execute and
6323 enhance the benchmark tests.
6324
6325 2013-05-21 Andreas Schwab <schwab@suse.de>
6326
6327 [BZ #15493]
6328 * setjmp/Makefile (tests): Add tst-sigsetjmp.
6329 * setjmp/tst-sigsetjmp.c: New test.
6330
6331 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
6332
6333 * sysdeps/x86_64/memset.S (memset): New implementation.
6334 (__bzero): Likewise.
6335 (__memset_tail): New function.
6336
6337 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
6338
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.
6346
6347 2013-05-19 Joseph Myers <joseph@codesourcery.com>
6348
6349 [BZ #15490]
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):
6354 Likewise.
6355 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6356 <math_private.h>.
6357 (__nearbyintl): Use math_force_eval before restoring
6358 floating-point environment.
6359 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6360
6361 * math/gen-libm-test.pl (special_functions): Remove.
6362 (parse_args): Don't handle TEST_extra. Handle functions with no
6363 return value.
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.
6380
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.
6385
6386 2013-05-18 Joseph Myers <joseph@codesourcery.com>
6387
6388 [BZ #15488]
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
6392 double tests.
6393 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6394 disable.
6395 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6396 check_long_double.
6397
6398 * math/gen-libm-test.pl (@tests): Remove variable.
6399 ($count): Likewise.
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
6420 find_function_ulps.
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.
6485
6486 2013-05-17 Joseph Myers <joseph@codesourcery.com>
6487
6488 [BZ #15480]
6489 [BZ #15485]
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"
6494 exceptions.
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.
6504
6505 * math/libm-test.inc (struct test_f_f1_data): Remove field
6506 extra_init.
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.
6523
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.
6528
6529 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6530 exceptions.
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
6565 test input.
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
6570 that test input.
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
6575 test input.
6576 (lrint_upward_test_data): Test for "inexact" exceptions.
6577 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6578 test input.
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.
6599
6600 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6601
6602 [BZ #15424]
6603 * benchtests/bench-modf.c (struct args): Mark arg0 as
6604 volatile.
6605 * scripts/bench.pl: Mark members of struct args as volatile.
6606
6607 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6608
6609 [BZ # 15497]
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.
6613
6614 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6615
6616 [BZ #15442]
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
6629 into account.
6630 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6631 New macro.
6632 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6633 Likewise.
6634
6635 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6636
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.
6645
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.
6749
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
6755 parse_args.
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.
6772
6773 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6774
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.
6969
6970 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6971
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.
6976
6977 2013-05-16 Richard Henderson <rth@redhat.com>
6978
6979 * math/atest-exp2.c (LIMB64): New macro.
6980 (CONSTSZ): New macro.
6981 (mp_exp1, mp_exp_m1, mp_log2): New variables.
6982 (hexdig): Move ...
6983 (print_mpn_fp): ... to function scope.
6984 (read_mpn_hex): Remove.
6985 (get_log2): Remove.
6986 (exp2_mpn): Use mp_log2.
6987 (main): Use mp_exp1.
6988
6989 2013-05-16 Joseph Myers <joseph@codesourcery.com>
6990
6991 * math/libm-test.inc: Remove comment about not testing "inexact"
6992 exceptions.
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
7008 INEXACT_EXCEPTION.
7009 (rint_towardzero_test_data): Likewise.
7010 (rint_downward_test_data): Likewise.
7011 (rint_upward_test_data): Likewise.
7012
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.
7022
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.
7027
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.
7042
7043 2013-05-13 Peter Collingbourne <pcc@google.com>
7044
7045 * math/atest-exp2.c (get_log2): Remove const attribute.
7046
7047 2013-05-15 Joseph Myers <joseph@codesourcery.com>
7048
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.
7063
7064 2013-05-15 Peter Collingbourne <pcc@google.com>
7065
7066 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7067 (EXTRACT_WORDS64) Use where appropriate.
7068 (INSERT_WORDS64) Likewise.
7069
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.
7073
7074 * malloc/obstack.c (_obstack_compat): Add initializer.
7075
7076 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
7077
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.
7083
7084 2013-05-15 Joseph Myers <joseph@codesourcery.com>
7085
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.
7093
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.
7111
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.
7126
7127 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7128 function contents.
7129
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.
7144
7145 2013-05-14 David S. Miller <davem@davemloft.net>
7146
7147 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7148
7149 2013-05-14 Joseph Myers <joseph@codesourcery.com>
7150
7151 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7152
7153 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7154 extra_test to int.
7155 (struct test_f_i_data): Change type of max_ulp to int.
7156
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.
7161
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).
7166
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.
7174
7175 * math/libm-test.inc (scalbln_test): Correct function name in END
7176 call.
7177
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.
7182
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.
7187
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.
7194
7195 2013-05-13 Carlos O'Donell <carlos@redhat.com>
7196
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.
7200
7201 2013-05-13 Joseph Myers <joseph@codesourcery.com>
7202
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.
7207
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.
7214
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.
7225
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.
7232
7233 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7234
7235 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7236
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.
7239
7240 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7241
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.
7248
7249 [BZ #14582]
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.
7253
7254 2013-05-12 Joseph Myers <joseph@codesourcery.com>
7255
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.
7266
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
7323 of BUILD_COMPLEX.
7324
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.
7362
7363 2013-05-11 Joseph Myers <joseph@codesourcery.com>
7364
7365 * math/libm-test.inc (fma_test): Use max_value instead of local
7366 variable fltmax.
7367 (nextafter_test): Likewise.
7368
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.
7515
7516 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7517
7518 [BZ #12387]
7519 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7520
7521 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7522
7523 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7524
7525 2013-05-10 Andreas Jaeger <aj@suse.de>
7526
7527 [BZ #15448]
7528 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7529 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7530
7531 2013-05-10 Joseph Myers <joseph@codesourcery.com>
7532
7533 * math/gen-libm-test.pl (adjust_arg): New function.
7534 (special_functions): Handle generating output in both functions
7535 and arrays.
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.
7555
7556 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7557
7558 * benchtests/bench-skeleton.c (startup): Fix coding style.
7559
7560 2013-05-10 Joseph Myers <joseph@codesourcery.com>
7561
7562 [BZ #6809]
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
7570 domain errors.
7571
7572 2013-05-10 Florian Weimer <fweimer@redhat.com>
7573
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
7582 stat.
7583
7584 2013-05-10 Andreas Jaeger <aj@suse.de>
7585
7586 [BZ #15395]
7587 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7588 localization.
7589 Include <locale.h>.
7590
7591 2013-05-09 Carlos O'Donell <carlos@redhat.com>
7592
7593 * elf/dl-close.c (_dl_close_worker): Add comments.
7594
7595 2013-05-09 Joseph Myers <joseph@codesourcery.com>
7596
7597 [BZ #15359]
7598 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7599 high part of pi/2.
7600 (__ieee754_rem_pio2l): Update comments.
7601
7602 [BZ #15429]
7603 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7604 high part of pi/2.
7605 (__ieee754_rem_pio2l): Update comments.
7606
7607 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7608 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7609
7610 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7611 M_PI_4l.
7612
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.
7618
7619 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7620
7621 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7622
7623 2013-05-08 Joseph Myers <joseph@codesourcery.com>
7624
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.
7641
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.
7646
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
7670 value.
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.
7675
7676 [BZ #2546]
7677 [BZ #2560]
7678 [BZ #5159]
7679 [BZ #15426]
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
7688 other arguments.
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
7695 other arguments.
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
7702 other arguments.
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
7722 prototype.
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.
7729
7730 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
7731
7732 * benchtests/bench-skeleton.c (main): Preheat CPU.
7733
7734 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7735
7736 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7737
7738 2013-05-07 Roland McGrath <roland@hack.frob.com>
7739
7740 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7741 and _dl_skip_args_internal.
7742
7743 2013-05-07 Carlos O'Donell <carlos@redhat.com>
7744
7745 * manual/message.texi (Message Translation): Talk about users.
7746 Message to key mapping impacts design.
7747
7748 2013-05-06 Roland McGrath <roland@hack.frob.com>
7749
7750 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7751
7752 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7753
7754 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7755 * sysdeps/wordsize-64/glob64.c: ... here.
7756
7757 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7758 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7759 New macros.
7760
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.
7767
7768 * io/poll.c (__poll): Renamed from poll.
7769 Add libc_hidden_def.
7770 (poll): Define as weak alias.
7771
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.
7778
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.
7789
7790 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7791 (setrlimit): Define as weak alias.
7792
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.
7797
7798 2013-05-06 Joseph Myers <joseph@codesourcery.com>
7799
7800 * math/gen-libm-test.pl (parse_args): Initialize x before each
7801 test of frexp, modf and remquo.
7802
7803 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7804 test signgam value.
7805
7806 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7807
7808 [BZ #15418]
7809 [BZ #15419]
7810 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7811 internal tests.
7812 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7813
7814 2013-05-06 Roland McGrath <roland@hack.frob.com>
7815
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.
7820
7821 2013-05-04 Joseph Myers <joseph@codesourcery.com>
7822
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
7830 functions.
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.
7853
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.
7863
7864 2013-05-03 Roland McGrath <roland@hack.frob.com>
7865
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.
7884
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].
7889
7890 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7891
7892 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7893 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7894 definition.
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.
7900
7901 2013-05-03 Joseph Myers <joseph@codesourcery.com>
7902
7903 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7904 test signgam value.
7905
7906 * math/libm-test.inc (hypot_test): Do not use
7907 IGNORE_ZERO_INF_SIGN.
7908
7909 2013-05-03 Andreas Jaeger <aj@suse.de>
7910
7911 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7912 Linux 3.9.
7913 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7914 (PF_MAX): Adjust for VSOCK change.
7915
7916 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7917
7918 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7919
7920 2013-05-02 Carlos O'Donell <carlos@redhat.com>
7921
7922 [BZ #15264]
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.
7926
7927 2013-05-02 David S. Miller <davem@davemloft.net>
7928
7929 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7930
7931 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
7932
7933 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7934
7935 2013-05-01 Roland McGrath <roland@hack.frob.com>
7936
7937 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7938
7939 2013-05-01 Richard Smith <richard@metafoo.co.uk>
7940
7941 [BZ #14952]
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__)).
7947
7948 2013-05-01 Joseph Myers <joseph@codesourcery.com>
7949
7950 [BZ #15423]
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.
7962
7963 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7964
7965 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7966
7967 2013-04-30 Joseph Myers <joseph@codesourcery.com>
7968
7969 [BZ #15416]
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.
7981
7982 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
7983
7984 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
7985
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.
7990 (VARIANT): Define.
7991 * benchtests/bench-skeleton.c (main): Run benchmark for each
7992 variant.
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.
8011
8012 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
8013 in CPPFLAGS.
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
8018 iterations.
8019 * scripts/bench.pl: Don't expect iterations in parameters.
8020
8021 2013-04-29 Roland McGrath <roland@hack.frob.com>
8022
8023 * io/fchdir.c (__fchdir): Renamed from fchdir.
8024 (fchdir): Define as weak alias.
8025
8026 2013-04-29 Joseph Myers <joseph@codesourcery.com>
8027
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
8042 check_int.
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.
8055
8056 2013-04-29 Andreas Jaeger <aj@suse.de>
8057
8058 [BZ #15084]
8059 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8060 and RES_USEVC.
8061
8062 [BZ #15085]
8063 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8064 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8065 unimplemented.
8066
8067 [BZ #15380]
8068 * stdlib/random.c (__initstate): Return NULL if
8069 __initstate fails.
8070
8071 [BZ #15086]
8072 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8073 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8074 RES_SNGLKUPREOP.
8075
8076 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8077
8078 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8079
8080 2013-04-29 Joseph Myers <joseph@codesourcery.com>
8081
8082 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8083 of individual tests.
8084 (casin_test): Likewise.
8085 (casinh_test): Likewise.
8086
8087 2013-04-27 Joseph Myers <joseph@codesourcery.com>
8088
8089 [BZ #15409]
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
8096 and redefine.
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
8100 and redefine.
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.
8107
8108 2013-04-27 Andreas Jaeger <aj@suse.de>
8109
8110 [BZ #15007]
8111 * stdlib/stdlib.h: Update guards for qecvt.
8112 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8113 <stdlib.h>.
8114
8115 2013-04-27 Allan McRae <allan@archlinux.org>
8116
8117 * sysdeps/i386/fpu/libm-test-ulps: Update.
8118
8119 2013-04-26 Joseph Myers <joseph@codesourcery.com>
8120
8121 [BZ #15406]
8122 * math/s_catan.c: Include <float.h>.
8123 (__catan): Ensure underflow exception occurs for underflowed
8124 result.
8125 * math/s_catanf.c: Include <float.h>.
8126 (__catanf): Ensure underflow exception occurs for underflowed
8127 result.
8128 * math/s_catanh.c: Include <float.h>.
8129 (__catanh): Ensure underflow exception occurs for underflowed
8130 result.
8131 * math/s_catanhf.c: Include <float.h>.
8132 (__catanhf): Ensure underflow exception occurs for underflowed
8133 result.
8134 * math/s_catanhl.c: Include <float.h>.
8135 (__catanhl): Ensure underflow exception occurs for underflowed
8136 result.
8137 * math/s_catanl.c: Include <float.h>.
8138 (__catanl): Ensure underflow exception occurs for underflowed
8139 result.
8140 * math/libm-test.inc (catan_test): Add more tests.
8141 (catanh_test): Likewise.
8142
8143 [BZ #15405]
8144 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8145 underflowed result.
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.
8158
8159 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8160
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.
8168
8169
8170 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8171
8172 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8173
8174 2013-04-25 Joseph Myers <joseph@codesourcery.com>
8175
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
8207 tests.
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):
8224 Likewise.
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.
8269
8270 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8271
8272 [BZ #15366]
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.
8278
8279 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
8280
8281 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8282 __ehdr_start with hidden visibility.
8283
8284 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8285
8286 2013-04-24 Carlos O'Donell <carlos@redhat.com>
8287
8288 * math/libm-test.inc (cos_test): Use accurate hex constants.
8289 (sincost_test): Likewise.
8290
8291 2013-04-24 Joseph Myers <joseph@codesourcery.com>
8292
8293 * math/libm-test.inc (catan_test): Add more tests.
8294 (catanh_test): Likewise.
8295
8296 * math/s_catanf.c (__catanf): Use suffixed floating-point
8297 constants.
8298 * math/s_catanhf.c (__catanhf): Likewise.
8299 * math/s_catanhl.c (__catanhl): Likewise.
8300 * math/s_catanl.c (__catanl): Likewise.
8301
8302 [BZ #15394]
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.
8315
8316 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8317
8318 * benchtests/Makefile: Mention files in which fast and slow
8319 paths of math functions are implemented.
8320
8321 2013-04-23 Roland McGrath <roland@hack.frob.com>
8322
8323 * sysdeps/posix/timespec_get.c: New file.
8324
8325 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8326
8327 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8328 POWER.
8329 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
8330 for POWER.
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
8336
8337 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8338
8339 [BZ #14888]
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.
8344
8345 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
8346
8347 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8348 member.
8349 (_nss_files_init): Set it here.
8350
8351 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
8352
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
8355 unsigned.
8356
8357 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
8358
8359 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8360
8361 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8362
8363 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8364 size just once.
8365
8366 2013-04-21 David S. Miller <davem@davemloft.net>
8367
8368 * po/ru.po: Update Russion translation from translation project.
8369
8370 2013-04-17 Adam Conrad <adconrad@0c3.net>
8371
8372 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8373 and setfsgid.
8374
8375 2013-04-17 Carlos O'Donell <carlos@redhat.com>
8376
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.
8382
8383 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8384
8385 * benchtests/Makefile (bench): Add cos, tan, slowcos and
8386 slowtan.
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.
8393
8394 2013-04-16 Roland McGrath <roland@hack.frob.com>
8395
8396 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8397 considered kosher.
8398
8399 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8400
8401 * benchtests/Makefile: Include cppflags-iterator.mk to add
8402 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8403
8404 * Makefile.in (bench-clean): New target.
8405 * benchtests/Makefile (bench-clean): Likewise.
8406
8407 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
8408
8409 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8410
8411 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
8412
8413 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8414
8415 2013-04-15 Andreas Schwab <schwab@suse.de>
8416
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
8421 more than recsize.
8422
8423 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8424
8425 * benchtests/Makefile (bench): Write all output to
8426 bench-out.tmp together.
8427
8428 2013-04-15 Andreas Schwab <schwab@suse.de>
8429
8430 * nscd/nscd.c (main): Don't fork again after closing files.
8431
8432 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8433
8434 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8435
8436 * benchtests/Rules (bench-deps): Collect dependencies into a
8437 single variable. Add Makefile to dependencies.
8438 ($(objpfx)bench-%.c): Depend on bench-deps.
8439
8440 2013-04-12 Roland McGrath <roland@hack.frob.com>
8441 Xavier Roche <roche+kml2@exalead.com>
8442
8443 [BZ #15361]
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.
8448
8449 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8450
8451 * Rules (bench): Move target definition...
8452 * benchtests/Makefile: ... here.
8453
8454 2013-04-11 Carlos O'Donell <carlos@redhat.com>
8455
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.
8460
8461 2013-04-11 Andreas Schwab <schwab@suse.de>
8462
8463 [BZ #13988]
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.
8468
8469 [BZ #14293]
8470 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8471 non-freeable.
8472
8473 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8474
8475 * Makeconfig (rtld-prefix): Define built linker prefix.
8476 * Rules (run-bench): Use it.
8477 * math/Makefile (run-regen-ulps): Likewise.
8478
8479 * Rules (bench): Remove eval.
8480
8481 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8482 Roland McGrath <roland@hack.frob.com>
8483 Ondrej Bilka <neleai@seznam.cz>
8484
8485 [BZ #15346]
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
8489 trailing spaces.
8490
8491 2013-04-08 Roland McGrath <roland@hack.frob.com>
8492
8493 [BZ #14280]
8494 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8495 when computing value.
8496
8497 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8498
8499 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8500 Use testrun.sh to run libm tests.
8501
8502 [BZ #15309]
8503 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8504
8505 2013-04-06 Marko Myllynen <myllynen@redhat.com>
8506
8507 [BZ #15264]
8508 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8509
8510 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8511
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
8522 otherwise use "".
8523 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8524
8525 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8526
8527 [BZ #10060, #10062]
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.
8535
8536 2013-04-06 Carlos O'Donell <carlos@redhat.com>
8537
8538 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8539 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8540
8541 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8542
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).
8548
8549 * stdio-common/tstdiomisc.c (F): Properly collect individual
8550 tests' results.
8551
8552 [BZ #14686, #15336]
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.
8558
8559 [BZ #15335, #15342]
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.
8563
8564 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8565 unreachable code.
8566
8567 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8568 definitions.
8569
8570 2013-04-03 Joseph Myers <joseph@codesourcery.com>
8571
8572 [BZ #14478]
8573 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8574 underflowed result.
8575 * math/s_cexpf.c (__cexpf): Likewise.
8576 * math/s_cexpl.c (__cexpl): Likewise.
8577 * math/libm-test.inc (cexp_test): Add more tests.
8578
8579 2013-04-03 Andreas Schwab <schwab@suse.de>
8580
8581 [BZ #15330]
8582 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8583 order arrays from heap if bigger than alloca cutoff.
8584
8585 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8586
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
8590 GCC PR56828.
8591
8592 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8593
8594 * Rules (bench): Move bench.out after the run is complete.
8595
8596 * Rules (bench): Echo currently running benchmark.
8597
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.
8602
8603 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8604 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8605 its value.
8606
8607 [BZ #15305]
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.
8614
8615 2013-04-02 Joseph Myers <joseph@codesourcery.com>
8616
8617 [BZ #15327]
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.
8627
8628 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8629
8630 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8631 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8632
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.
8637
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.
8648
8649 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8650
8651 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8652 instructions.
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.
8658
8659 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8660
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
8669 declaration.
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
8680 issignaling.
8681 * math/libm-test.inc (print_float, issignaling_test): New
8682 functions.
8683 (check_float_internal): Add issignaling checks.
8684 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8685 default definition.
8686 * sysdeps/powerpc/math-tests.h: New file.
8687 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8688 tests.
8689 * math/test-snan.c (TEST_FUNC): Likewise.
8690
8691 2013-03-30 David S. Miller <davem@davemloft.net>
8692
8693 * po/de.po: Update from translation team.
8694
8695 2013-03-30 Joseph Myers <joseph@codesourcery.com>
8696
8697 [BZ #10357]
8698 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8699 imaginary part less than 1.0 and real part less than 0.5
8700 specially.
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.
8709
8710 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8711
8712 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8713 ONE with its value.
8714
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.
8723
8724 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8725
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.
8734 (__sqr): Likewise.
8735
8736 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8737
8738 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8739
8740 2013-03-28 Roland McGrath <roland@hack.frob.com>
8741
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.
8746
8747 2013-03-28 Roland McGrath <roland@hack.frob.com>
8748
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.
8754
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.
8760
8761 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8762 Declare them here.
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.
8766
8767 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8768 (__libc_message): Never call vsyslog.
8769
8770 2013-03-28 Alan Modra <amodra@gmail.com>
8771
8772 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8773 Define as empty.
8774 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8775 Likewise.
8776
8777 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8778
8779 [BZ #15214]
8780 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8781 underflow.
8782 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8783
8784 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8785
8786 [BZ #15304]
8787 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8788 Don't add gid passed as argument.
8789
8790 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8791
8792 2013-03-27 Joseph Myers <joseph@codesourcery.com>
8793
8794 [BZ #15307]
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
8797 specially.
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.
8805
8806 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8807
8808 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8809 constants.
8810 (norm): Likewise.
8811 (denorm): Likewise.
8812 (__dbl_mp): Likewise.
8813 (add_magnitudes): Likewise.
8814 (sub_magnitudes): Likewise.
8815 (__add): Likewise.
8816 (__sub): Likewise.
8817 (__mul): Likewise.
8818 (__sqr): Likewise.
8819 (__inv): Likewise.
8820 (__dvd): Likewise.
8821
8822 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8823 commented code.
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.
8830 (__exp1): Likewise.
8831 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8832 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8833 (log1): 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.
8840 (bsloww): Likewise.
8841 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8842
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.
8847 (denorm): Likewise.
8848 (__dbl_mp): Likewise.
8849 (add_magnitudes): Likewise.
8850 (sub_magnitudes): Likewise.
8851 (__mul): Likewise.
8852 (__sqr): 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.
8859
8860 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8861
8862 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8863 llroundl symbol when building for PPC32.
8864
8865 2013-03-24 Mark H Weaver <mhw@netris.org>
8866
8867 * manual/arith.texi (Normalization Functions): Fix prototypes for
8868 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8869
8870 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8871
8872 [BZ #13889]
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.
8878
8879 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8880
8881 [BZ #11120]
8882 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8883 with NOT_IN_libc.
8884
8885 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8886
8887 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8888 symbol.
8889
8890 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8891
8892 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8893 wrap blocks consisting of several statements.
8894
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.
8899
8900 2013-03-21 Joseph Myers <joseph@codesourcery.com>
8901
8902 [BZ #15285]
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.
8916
8917 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8918
8919 * Rules ($(objpfx)bench-%.c): Include code from a C source
8920 file.
8921
8922 2013-03-21 Joseph Myers <joseph@codesourcery.com>
8923
8924 [BZ #15287]
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.
8934
8935 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8936
8937 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8938 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8939
8940 2013-03-20 Joseph Myers <joseph@codesourcery.com>
8941
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.
8950 (MIG): 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
8961 LIBC_CONFIG_VAR.
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
8970 LIBC_CONFIG_VAR.
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.
8980
8981 2013-03-20 Roland McGrath <roland@hack.frob.com>
8982
8983 [BZ #14812]
8984 * locale/programs/localedef.c (options): Put N_ translation marker
8985 on argument names, not just descriptions.
8986
8987 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8988
8989 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
8990
8991 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
8992
8993 [BZ #14176]
8994 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
8995
8996 2013-03-19 Roland McGrath <roland@hack.frob.com>
8997
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.
9011
9012 2013-03-19 Joseph Myers <joseph@codesourcery.com>
9013
9014 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9015 constants.
9016 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9017 double constants.
9018
9019 2013-03-19 Andreas Schwab <schwab@suse.de>
9020
9021 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9022 * sysdeps/gnu/configure: Regenerate.
9023
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
9035 for source.
9036
9037 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9038
9039 * manual/nptl.texi: Renamed to ...
9040 * manual/threads.texi: ... this.
9041 * manual/Makefile (chapters): Update.
9042
9043 2013-03-18 Roland McGrath <roland@hack.frob.com>
9044
9045 [BZ #14812]
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.
9050
9051 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
9052
9053 [BZ #14812]
9054 * iconv/iconv_prog.c (options): Put N_ translation marker
9055 on argument names, not just descriptions.
9056 * iconv/iconvconfig.c (options): Likewise.
9057
9058 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
9059
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.
9064
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.
9069
9070 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9071 Inline strlen part.
9072 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9073
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.
9080
9081 2013-03-17 Carlos O'Donell <carlos@redhat.com>
9082
9083 * manual/memory.texi (Malloc Tunable Parameters):
9084 Sort parameters alphabetically. Add comments for missing entries.
9085
9086 2013-03-17 David S. Miller <davem@davemloft.net>
9087
9088 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9089
9090 2013-03-16 Joseph Myers <joseph@codesourcery.com>
9091
9092 [BZ #15283]
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.
9101
9102 [BZ #14155]
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.
9112
9113 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
9114
9115 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9116 variable.
9117
9118 2013-03-15 Roland McGrath <roland@hack.frob.com>
9119
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.
9123
9124 * sysdeps/unix/sysv/linux/ldsodefs.h
9125 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9126 * sysdeps/generic/ldsodefs.h: ... here.
9127
9128 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
9129
9130 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9131
9132 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9133 math/test-snan.c.
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
9138 test-powerpc-snan.
9139
9140 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9141 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9142 functions.
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):
9148 Remove variables.
9149 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9150 Remove functions.
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,
9154 respectively.
9155
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.
9161
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):
9171 Likewise.
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.
9178
9179 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9180 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9181 doubles.
9182
9183 * math/test-misc.c (main): Fix copy'n'pastos.
9184 * misc/tst-efgcvt.c (special): Likewise.
9185
9186 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9187 Remove declarations.
9188
9189 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9190
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.
9195
9196 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9197
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.
9202
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>
9206
9207 * Makefile.in (bench): New target.
9208 * NEWS: Mention the benchmark framework.
9209 * Rules (bench): Likewise.
9210 (binaries-bench): Generate binaries for functions to
9211 benchmark.
9212 * benchtests/Makefile: New makefile for benchmark tests.
9213 * benchtests/bench-skeleton.c: New skeleton file for benchmark
9214 programs.
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
9218 benchmark programs.
9219
9220 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9221
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
9225 division.
9226 (denorm): Likewise.
9227 (__dbl_mp): Likewise.
9228 (add_magnitudes): Likewise.
9229 (sub_magnitudes): Likewise.
9230 (__mul): Likewise.
9231 (__sqr): 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.
9238
9239 * manual/nptl.texi (cindex): Modify threads to pthreads.
9240
9241 2013-03-15 Joseph Myers <joseph@codesourcery.com>
9242
9243 * sysdeps/x86_64/preconfigure: Regenerated.
9244
9245 2013-03-14 Joseph Myers <joseph@codesourcery.com>
9246
9247 [BZ #14155]
9248 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9249 0x1p28 and above.
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
9252 0x1p28 and above.
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.
9257
9258 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9259
9260 * manual/Makefile (chapters): Add nptl.
9261 * manual/debug.texi (Debugging Support): Add link to Threads
9262 chapter.
9263 * manual/nptl.texi: New file.
9264
9265 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9266
9267 2013-03-14 Petr Baudis <pasky@ucw.cz>
9268
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>.
9272
9273 2013-03-13 Andreas Schwab <schwab@suse.de>
9274
9275 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9276 instead of .os.
9277
9278 2013-03-13 Joseph Myers <joseph@codesourcery.com>
9279
9280 * timezone/zic.c: Update from tzcode 2013b.
9281
9282 2013-03-12 Carlos O'Donell <carlos@redhat.com>
9283
9284 * manual/install.texi (Configuring and compiling):
9285 Mention i686 and i586.
9286 * INSTALL: Regenerate.
9287
9288 2013-03-12 Roland McGrath <roland@hack.frob.com>
9289
9290 * sysdeps/init_array/elf-init.c: New file.
9291 * csu/elf-init.c
9292 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9293 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9294
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.
9300
9301 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
9302
9303 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9304 definining bcopy.
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
9311 memset-x86-64.
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.
9318
9319 2013-03-11 Andreas Schwab <schwab@suse.de>
9320
9321 [BZ #15234]
9322 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9323 by SHLIB_COMPAT.
9324 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9325 (GLIBC_2.16): Remove pthread_atfork.
9326
9327 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9328
9329 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
9330 (ptestcases.h): Likewise.
9331
9332 2013-03-08 Roland McGrath <roland@hack.frob.com>
9333
9334 * Makeconfig ($(common-objpfx)config.status): Depend on
9335 sysdeps/*/preconfigure{,.in} too.
9336
9337 2013-03-08 Joseph Myers <joseph@codesourcery.com>
9338
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.
9367
9368 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9369
9370 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9371 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9372 __malloc_ptrdiff_t.
9373
9374 * malloc/malloc.h (__malloc_size_t): Remove macro.
9375 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9376 __malloc_size_t.
9377 (old_memalign_hook): Likewise.
9378 (old_realloc_hook): Likewise.
9379 (struct hdr): Likewise.
9380 (flood): 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.
9390
9391 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9392
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
9396 implementation.
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.
9406
9407 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9408
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.
9417
9418 2013-03-07 Andreas Jaeger <aj@suse.de>
9419
9420 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9421 bits/mman-linux.h.
9422
9423 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9424
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.
9434
9435 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9436 (__slowpow): Use long double EXPL and LOGL functions to
9437 compute POW.
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.
9444
9445 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9446 intermediate variable to calculate exponent.
9447 (__sqr): Likewise.
9448 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9449 Likewise.
9450 (__sqr): Likewise.
9451
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.
9458
9459 [BZ #12723]
9460 * posix/Makefile (tests): Add tst-pathconf.
9461 * posix/tst-pathconf.c: New test case.
9462 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9463 _PC_PIPE_BUF.
9464 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9465
9466 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
9467
9468 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9469
9470 2013-03-06 Andreas Jaeger <aj@suse.de>
9471
9472 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9473 definition via __MAP_ANONYMOUS.
9474
9475 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9476 it's not part of Linux headers.
9477
9478 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9479 (MAP_HUGE_MASK): Define.
9480
9481 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9482 Define.
9483 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9484 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9485 Define.
9486 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9487 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9488 Define.
9489 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9490 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9491 Define.
9492 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9493
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.
9500
9501 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9502 Handle f2fs.
9503
9504 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9505 Handle f2fs and efivarfs.
9506
9507 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9508 f2fs.
9509
9510 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9511 (EFIVARFS_MAGIC): Add.
9512 (F2FS_LINK_MAX): Add.
9513
9514 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9515
9516 * stdio-common/vfprintf.c: Replace __builtin_expect with
9517 __glibc_unlikely.
9518
9519 2013-03-06 Joseph Myers <joseph@codesourcery.com>
9520
9521 [BZ #13550]
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>
9528 and <bp-asm.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
9534 <bp-asm.h>.
9535 (memcpy): Don't use BP_SYM.
9536 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9537 <bp-asm.h>.
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
9547 pointers.
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
9562 pointers.
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
9580 pointers.
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
9612 pointers.
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.
9623 (_start): Likewise.
9624 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9625 <bp-asm.h>.
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
9631 <bp-asm.h>.
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
9638 <bp-asm.h>.
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
9643 <bp-asm.h>.
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
9650 <bp-asm.h>.
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>
9654 and <bp-asm.h>.
9655 (strncmp): Don't use BP_SYM. Remove comment about bounded
9656 pointers.
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
9663 comment.
9664
9665 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9666
9667 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9668 call free(NULL).
9669
9670 2013-03-05 David S. Miller <davem@davemloft.net>
9671
9672 * po/es.po: Update from translation team.
9673
9674 2013-03-05 Andreas Jaeger <aj@suse.de>
9675
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
9679 is fine.
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
9683 is fine.
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
9687 is fine.
9688 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9689 <bits/mman-linux.h> to end of file.
9690
9691 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9692 (MCL_CURRENT, MCL_FUTURE): Define here.
9693
9694 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9695
9696 [BZ #15232]
9697 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9698 attribute_hidden.
9699 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9700
9701 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9702
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.
9711
9712 2013-03-04 Joseph Myers <joseph@codesourcery.com>
9713
9714 [BZ #13550]
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.
9719
9720 2013-03-04 Andreas Jaeger <aj@suse.de>
9721
9722 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9723 common definitions.
9724
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.
9731
9732 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9733
9734 [BZ #15055]
9735 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9736 __ieee754_sqrl instead of __sqrl.
9737
9738 2013-03-01 Joseph Myers <joseph@codesourcery.com>
9739
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.
9746
9747 2013-03-01 Roland McGrath <roland@hack.frob.com>
9748
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.
9759
9760 2013-03-01 Carlos O'Donell <carlos@redhat.com>
9761
9762 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9763 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9764
9765 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9766
9767 * NEWS: Mention libm performance improvements and non-x86 PI
9768 futex support.
9769
9770 * csu/libc-start.c (__pthread_initialize_minimal): Change
9771 function arguments.
9772 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9773
9774 2013-02-28 Joseph Myers <joseph@codesourcery.com>
9775
9776 [BZ #13550]
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>
9782 and <bp-asm.h>.
9783 (memcpy): Don't use BP_SYM.
9784 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9785 <bp-asm.h>.
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>
9789 and <bp-asm.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
9793 <bp-sym.h>.
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
9799 <bp-sym.h>.
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
9814 <bp-asm.h>.
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
9818 <bp-asm.h>.
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
9823 <bp-asm.h>.
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
9884 <bp-asm.h>.
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.
9892 (_start): Likewise.
9893 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9894 <bp-asm.h>.
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
9899 <bp-asm.h>.
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
9904 <bp-asm.h>.
9905 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9906 comments.
9907 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9908 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9909 <bp-asm.h>.
9910 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9911 FIXME comments.
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
9915 <bp-asm.h>.
9916 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9917 comment.
9918 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9919 and <bp-asm.h>.
9920 (strncmp): Don't use BP_SYM,
9921 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9922 <bp-asm.h>.
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>
9926 and <bp-asm.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
9935 comment.
9936
9937 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9938
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.
9945
9946 2013-02-27 Roland McGrath <roland@hack.frob.com>
9947
9948 * csu/gmon-start.c: Add special exception to license text.
9949
9950 2013-02-27 Richard Henderson <rth@redhat.com>
9951
9952 * scripts/config.guess: Update from config.git.
9953 * scripts/config.sub: Likewise.
9954
9955 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9956
9957 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
9958
9959 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
9960
9961 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
9962
9963 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
9964
9965 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
9966
9967 2013-02-26 Roland McGrath <roland@hack.frob.com>
9968
9969 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
9970 [$(build-shared = yes].
9971
9972 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9973
9974 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
9975 (__mul): Reduce iterations for calculating mantissa.
9976
9977 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
9978 MPTWO.
9979 (__mpranred): Likewise.
9980
9981 [BZ #15160]
9982 * malloc/memusagestat.c (main): Draw graphs for heap and stack
9983 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
9984
9985 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
9986
9987 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
9988 Define __attribute__.
9989
9990 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
9991
9992 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
9993 unused.
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
9998 unused.
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.
10004
10005 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10006
10007 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10008 code.
10009 (cc32): Likewise.
10010
10011 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10012 (__acr): Likewise.
10013 (__cpy): Likewise.
10014 (norm): Likewise.
10015 (denorm): Likewise.
10016 (__dbl_mp): Likewise.
10017 (add_magnitudes): Likewise.
10018 (sub_magnitudes): Likewise.
10019 (__mul): Likewise.
10020 (__inv): Likewise.
10021
10022 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10023 style.
10024
10025 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10026 style.
10027
10028 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10029 code.
10030
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):
10034 Likewise.
10035
10036 2013-02-24 Allan McRae <allan@archlinux.org>
10037
10038 * manual/socket.texi (The Internet Namespace): Order menu items
10039 to match that in the file.
10040
10041 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10042 node listing of the info page menu.
10043
10044 2013-02-21 Joseph Myers <joseph@codesourcery.com>
10045
10046 [BZ #13550]
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.
10050 (S1): Likewise.
10051 (S2): Likewise.
10052 (SIZE): Likewise.
10053 (__mpn_add_n): Do not use BP_SYM
10054 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10055 "bp-asm.h".
10056 (PARMS): Do not use macros from bp-asm.h.
10057 (S1): Likewise.
10058 (SIZE): Likewise.
10059 (__mpn_addmul_1): Do not use BP_SYM
10060 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10061 "bp-asm.h".
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
10066 "bp-asm.h".
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
10071 "bp-asm.h".
10072 (PARMS): Do not use macros from bp-asm.h.
10073 (__frexp): Do not use BP_SYM.
10074 (frexp): Likewise.
10075 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10076 "bp-asm.h".
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
10081 "bp-asm.h".
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
10086 "bp-asm.h".
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
10091 "bp-asm.h".
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
10096 "bp-asm.h".
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
10101 "bp-asm.h".
10102 (PARMS): Do not use macros from bp-asm.h.
10103 (DEST): Likewise.
10104 (SRC): Likewise.
10105 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
10106 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10107 "bp-asm.h".
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
10111 "bp-asm.h".
10112 (PARMS): Do not use macros from bp-asm.h.
10113 (S1): Likewise.
10114 (S2): Likewise.
10115 (SIZE): Likewise.
10116 (__mpn_add_n): Do not use BP_SYM.
10117 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10118 "bp-asm.h".
10119 (PARMS): Do not use macros from bp-asm.h.
10120 (S1): Likewise.
10121 (SIZE): Likewise.
10122 (__mpn_addmul_1): Do not use BP_SYM.
10123 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10124 weak_alias.
10125 (bzero): Likewise.
10126 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10127 "bp-asm.h".
10128 (PARMS): Do not use macros from bp-asm.h.
10129 (S): Likewise.
10130 (SIZE): Likewise.
10131 (__mpn_lshift): Do not use BP_SYM.
10132 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10133 "bp-asm.h".
10134 (PARMS): Do not use macros from bp-asm.h.
10135 (DEST): Likewise.
10136 (SRC): Likewise.
10137 (LEN): Likewise.
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
10143 "bp-asm.h".
10144 (PARMS): Do not use macros from bp-asm.h.
10145 (DEST): Likewise.
10146 (LEN): Likewise.
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
10150 "bp-asm.h".
10151 (PARMS): Do not use macros from bp-asm.h.
10152 (S1): Likewise.
10153 (SIZE): Likewise.
10154 (__mpn_mul_1): Do not use BP_SYM.
10155 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10156 "bp-asm.h".
10157 (PARMS): Do not use macros from bp-asm.h.
10158 (S): Likewise.
10159 (SIZE): Likewise.
10160 (__mpn_rshift): Do not use BP_SYM.
10161 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10162 "bp-asm.h".
10163 (PARMS): Do not use macros from bp-asm.h.
10164 (STR): Likewise.
10165 (CHR): Likewise.
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
10169 "bp-asm.h".
10170 (PARMS): Do not use macros from bp-asm.h.
10171 (DEST): Likewise.
10172 (SRC): Likewise.
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
10175 "bp-asm.h".
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
10179 "bp-asm.h".
10180 (PARMS): Do not use macros from bp-asm.h.
10181 (S1): Likewise.
10182 (S2): Likewise.
10183 (SIZE): Likewise.
10184 (__mpn_sub_n): Do not use BP_SYM.
10185 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10186 "bp-asm.h".
10187 (PARMS): Do not use macros from bp-asm.h.
10188 (S1): Likewise.
10189 (SIZE): Likewise.
10190 (__mpn_submul_1): Do not use BP_SYM.
10191 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10192 "bp-asm.h".
10193 (PARMS): Do not use macros from bp-asm.h.
10194 (S1): Likewise.
10195 (S2): Likewise.
10196 (SIZE): Likewise.
10197 (__mpn_add_n): Do not use BP_SYM.
10198 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10199 weak_alias.
10200 (bzero): Likewise.
10201 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10202 "bp-asm.h".
10203 (PARMS): Do not use macros from bp-asm.h.
10204 (BLK2): Likewise.
10205 (LEN): Likewise.
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
10209 "bp-asm.h".
10210 (PARMS): Do not use macros from bp-asm.h.
10211 (DEST): Likewise.
10212 (SRC): Likewise.
10213 (LEN): Likewise.
10214 (memcpy): Likewise. Do not use BP_SYM.
10215 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10216 "bp-asm.h".
10217 (PARMS): Do not use macros from bp-asm.h.
10218 (DEST): Likewise.
10219 (SRC): Likewise.
10220 (LEN): Likewise.
10221 (memmove): Likewise. Do not use BP_SYM.
10222 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10223 "bp-asm.h".
10224 (PARMS): Do not use macros from bp-asm.h.
10225 (DEST): Likewise.
10226 (SRC): Likewise.
10227 (LEN): Likewise.
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
10231 "bp-asm.h".
10232 (PARMS): Do not use macros from bp-asm.h.
10233 (DEST): Likewise.
10234 (LEN): Likewise.
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
10238 "bp-asm.h".
10239 (PARMS): Do not use macros from bp-asm.h.
10240 (STR2): Likewise.
10241 (strcmp): Do not use BP_SYM.
10242 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10243 "bp-asm.h".
10244 (PARMS): Do not use macros from bp-asm.h.
10245 (STR): Likewise.
10246 (DELIM): Likewise.
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
10250 aliases.
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.
10255 (S): Likewise.
10256 (SIZE): Likewise.
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.
10260 (STR): Likewise.
10261 (CHR): Likewise.
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.
10266 (BLK2): Likewise.
10267 (LEN): Likewise.
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.
10272 (S1): Likewise.
10273 (SIZE): Likewise.
10274 (__mpn_mul_1): Do not use BP_SYM.
10275 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10276 "bp-asm.h".
10277 (PARMS): Do not use macros from bp-asm.h.
10278 (STR): Likewise.
10279 (CHR): Likewise.
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.
10284 (S): Likewise.
10285 (SIZE): Likewise.
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.
10295 (DEST): Likewise.
10296 (SRC): Likewise.
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
10300 "bp-asm.h".
10301 (PARMS): Do not use macros from bp-asm.h.
10302 (DEST): Likewise.
10303 (SRC): Likewise.
10304 (LEN): Likewise.
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.
10309 (STR): Likewise.
10310 (CHR): Likewise.
10311 (strchr): Likewise. Do not use BP_SYM.
10312 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10313 "bp-asm.h".
10314 (PARMS): Do not use macros from bp-asm.h.
10315 (STR): Likewise.
10316 (CHR): Likewise.
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
10320 "bp-asm.h".
10321 (PARMS): Do not use macros from bp-asm.h.
10322 (STOP): Likewise.
10323 (strcspn): Do not use BP_SYM.
10324 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10325 "bp-asm.h".
10326 (PARMS): Do not use macros from bp-asm.h.
10327 (STR): Likewise.
10328 (STOP): Likewise.
10329 (strpbrk): Likewise. Do not use BP_SYM.
10330 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
10331 "bp-asm.h".
10332 (PARMS): Do not use macros from bp-asm.h.
10333 (STR): Likewise.
10334 (CHR): Likewise.
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.
10338 (SKIP): Likewise.
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.
10342 (STR): Likewise.
10343 (DELIM): Likewise.
10344 (SAVE): Likewise.
10345 (FUNCTION): Likewise. Do not use BP_SYM.
10346 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10347 aliases.
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.
10352 (S1): Likewise.
10353 (S2): Likewise.
10354 (SIZE): Likewise.
10355 (__mpn_sub_n): Do not use BP_SYM.
10356 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10357 "bp-asm.h".
10358 (PARMS): Do not use macros from bp-asm.h.
10359 (S1): Likewise.
10360 (SIZE): Likewise.
10361 (__mpn_submul_1): Do not use BP_SYM.
10362 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10363 <bp-sym.h>.
10364 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10365 and <bp-asm.h>.
10366 (PARMS): Do not use macros from bp-asm.h.
10367 (FLAGS): Likewise.
10368 (PTID): Likewise.
10369 (TLS): Likewise.
10370 (CTID): Likewise.
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>
10374 and <bp-asm.h>.
10375 (PARMS): Do not use macros from bp-asm.h.
10376 (LEN): Likewise.
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.
10385 (NSOPS): Likewise.
10386 (semtimedop): Do not use BP_SYM.
10387 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10388 and <bp-asm.h>.
10389
10390 2013-02-21 Allan McRae <allan@archlinux.org>
10391
10392 * manual/message.texi (Charset conversion in gettext):
10393 Move @end statement to beginning of line.
10394
10395 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10396
10397 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10398 static.
10399 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10400 Likewise.
10401
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.
10406
10407 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10408
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.
10411
10412 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10413
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):
10417 Likewise.
10418
10419 2013-02-20 Carlos O'Donell <carlos@redhat.com>
10420
10421 * manual/nss.texi (System Databases and Name Service Switch):
10422 Remove frobnicate @pxref.
10423
10424 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10425
10426 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10427 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10428
10429 2013-02-20 Petr Machata <pmachata@redhat.com>
10430
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.
10476
10477 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10478
10479 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10480 __attribute_used__ to __attribute__ ((unused)).
10481
10482 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10483
10484 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10485 powerpc mpa.c.
10486 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10487 comment formatting.
10488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10489
10490 2013-02-19 Joseph Myers <joseph@codesourcery.com>
10491
10492 [BZ #13550]
10493 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10494 Remove macro.
10495 (ENTER): Remove both macro definitions.
10496 (LEAVE): Likewise.
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
10508 macros.
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
10523 removed macros.
10524 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10525 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10526 macros.
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
10533 macros.
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
10542 removed macros.
10543 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10544 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10545 macros.
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__]:
10557 Likewise.
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
10570 macros.
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
10584 conditional code.
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
10593 macros.
10594 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10595
10596 2013-02-19 Jakub Jelinek <jakub@redhat.com>
10597
10598 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10599 macro.
10600
10601 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10602
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.
10606
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.
10610
10611 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10612
10613 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10614 and __attribute_alloc_size__.
10615
10616 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10617
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.
10622
10623 2013-02-18 Mike Frysinger <vapier@gentoo.org>
10624
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.
10638
10639 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10640
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:
10648 Likewise.
10649 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10650 Likewise.
10651 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10652 Likewise.
10653 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10654 Likewise.
10655 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10656 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10657 Likewise.
10658 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10659 Likewise.
10660 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10661 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10662 Likewise.
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
10669 for libstdc++.
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.
10673
10674 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
10675
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.
10682
10683 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10684
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.
10688
10689 2013-02-17 Joseph Myers <joseph@codesourcery.com>
10690
10691 [BZ #13550]
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
10700 "bp-asm.h".
10701 (_setjmp): Do not use BP_SYM.
10702 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10703 "bp-asm.h".
10704 (setjmp): Do not use BP_SYM.
10705 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10706 libc_hidden_def.
10707 (mempcpy): Do not use BP_SYM in weak_alias.
10708 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10709 "bp-asm.h".
10710 (strchr): Do not use BP_SYM.
10711 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10712 "bp-asm.h".
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
10717 "bp-asm.h".
10718 (strcat): Do not use BP_SYM.
10719 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10720 "bp-asm.h".
10721 (STRCMP): Do not use BP_SYM.
10722 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10723 "bp-asm.h".
10724 (STRCPY): Do not use BP_SYM.
10725 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10726 "bp-asm.h".
10727 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10728 "bp-asm.h".
10729 (FUNCTION): Do not use BP_SYM.
10730 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10731 weak_alias.
10732 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10733
10734 2013-02-17 Andreas Jaeger <aj@suse.de>
10735
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.
10743
10744 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
10745
10746 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10747 loop termination condition.
10748
10749 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10750 variable to calculate EZ.
10751 (__sqr): Likewise.
10752
10753 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10754 the lower precision input.
10755
10756 2013-02-15 Joseph Myers <joseph@codesourcery.com>
10757
10758 [BZ #13550]
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)):
10788 Remove rule.
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)):
10797 Remove dependency.
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.
10806
10807 2013-02-14 Joseph Myers <joseph@codesourcery.com>
10808
10809 [BZ #13550]
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__]:
10816 Likewise.
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
10822 condition.
10823
10824 [BZ #13550]
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
10833 <bp-sym.h>.
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):
10871 Likewise.
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
10879 <bp-sym.h>.
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
10906 <bp-sym.h>.
10907 (__libc_start_main): Do not use BP_SYM.
10908
10909 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10910
10911 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10912 redundant return line.
10913 (norm): Likewise.
10914 (denorm): Likewise.
10915 (dbl_mp): Likewise.
10916 (sub_magnitudes): Likewise.
10917 (__add): Likewise.
10918 (__sub): Likewise.
10919 (__mul): Likewise.
10920 (__inv): Likewise.
10921 (__dvd): Likewise.
10922 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10923 (norm): Likewise.
10924 (denorm): Likewise.
10925 (dbl_mp): Likewise.
10926 (sub_magnitudes): Likewise.
10927 (__add): Likewise.
10928 (__sub): Likewise.
10929 (__mul): Likewise.
10930 (__inv): Likewise.
10931 (__dvd): Likewise.
10932
10933 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10934 instead of __mul.
10935 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10936 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10937 (cc32): Likewise.
10938
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
10944 function
10945 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
10946 Likewise.
10947 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
10948 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
10949
10950 2013-02-13 Joseph Myers <joseph@codesourcery.com>
10951
10952 [BZ #13550]
10953 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
10954 code.
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
10963 definition.
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
10973 use __ptrvalue.
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):
10977 Likewise.
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
10997 use __unbounded.
10998 (__new_msgctl): Do not use __ptrvalue.
10999 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11000 __unbounded.
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
11008 __ptrvalue.
11009 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11010 use __unbounded.
11011 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11012 or __ptrvalue.
11013 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11014 use __unbounded.
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):
11018 Likewise.
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):
11024 Likewise.
11025 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11026
11027 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
11028
11029 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
11030
11031 * string/mempcpy.c: Implement by calling memcpy.
11032
11033 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11034
11035 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11036
11037 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11038 evaluation.
11039
11040 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11041 values in the mantissa.
11042
11043 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11044 minimize writes to Z.
11045 (sub_magnitudes): Simplify code a bit.
11046
11047 2013-02-12 Roland McGrath <roland@hack.frob.com>
11048
11049 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11050 from the message. The linker prefixes all warnings with that already.
11051
11052 2013-02-12 Andreas Schwab <schwab@suse.de>
11053
11054 [BZ #15078]
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.
11062
11063 [BZ #11561]
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.
11069
11070 2013-02-11 Tom de Vries <tom@codesourcery.com>
11071
11072 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
11073 comment.
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.
11077
11078 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
11079
11080 * bits/stdlib-bsearch.h: New file.
11081 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
11082 * stdlib/stdlib.h: Likewise.
11083
11084 2013-02-11 Roland McGrath <roland@hack.frob.com>
11085
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
11088 declaration.
11089 * manual/search.texi (Array Search Function): Add missing const in
11090 lfind prototype.
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
11130 take no arguments.
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
11141 argument.
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
11153 prototype.
11154 (Simple Calendar Time): Likewise for stime.
11155 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11156 prototype.
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.
11161
11162 2013-02-11 Tom de Vries <tom@codesourcery.com>
11163
11164 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11165 Remove.
11166
11167 2013-02-11 Roland McGrath <roland@hack.frob.com>
11168
11169 * misc/sys/mman.h: Fix typo in mremap comment.
11170
11171 2013-02-08 Roland McGrath <roland@hack.frob.com>
11172
11173 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11174 the '\0' terminator.
11175
11176 2013-02-08 Joseph Myers <joseph@codesourcery.com>
11177
11178 [BZ #13550]
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
11194 <bp-checks.h>.
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
11206 <bp-checks.h>.
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
11230 <bp-checks.h>.
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
11235 <bp-checks.h>.
11236 (__libc_pread64): Don't use CHECK_N.
11237 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11238 <bp-checks.h>.
11239 (__libc_pwrite): Don't use CHECK_N.
11240 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11241 <bp-checks.h>.
11242 (__libc_pwrite64): Don't use CHECK_N.
11243 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11244 <bp-checks.h>.
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.
11250
11251 2013-02-08 Roland McGrath <roland@hack.frob.com>
11252
11253 * string/strcpy.c: Removed unused variable.
11254
11255 * Makeconfig (+sysdep-includes): Define with := rather than =.
11256 Use an existing include/ subdir of each sysdeps dir before it.
11257
11258 2013-02-08 Carlos O'Donell <carlos@redhat.com>
11259
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
11265 clear_db_cache.
11266 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11267
11268 2013-02-08 Carlos O'Donell <carlos@redhat.com>
11269
11270 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11271 loaded if not already and that a failure is permanent.
11272
11273 2013-02-08 Carlos O'Donell <carlos@redhat.com>
11274
11275 [BZ #15006]
11276 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11277 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11278
11279 2013-02-08 Joseph Myers <joseph@codesourcery.com>
11280
11281 [BZ #13550]
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
11287 <bp-checks.h>.
11288 (___fxstat64): Do not use CHECK_1.
11289 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11290 <bp-checks.h>.
11291 (__fxstatat): Do not use CHECK_1.
11292 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11293 <bp-checks.h>.
11294 (__fxstatat64): Do not use CHECK_1.
11295 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11296 <bp-checks.h>.
11297 (__fxstat): Do not use CHECK_1.
11298 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11299 <bp-checks.h>.
11300 (__fxstatat): Do not use CHECK_1.
11301 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11302 <bp-checks.h>.
11303 (__getresgid): Do not use CHECK_1.
11304 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11305 <bp-checks.h>.
11306 (__getresuid): Do not use CHECK_1.
11307 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11308 <bp-checks.h>.
11309 (__lxstat): Do not use CHECK_1.
11310 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11311 <bp-checks.h>.
11312 (__old_msgctl): Do not use CHECK_1.
11313 (__new_msgctl): Likewise.
11314 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11315 <bp-checks.h>.
11316 (__new_setrlimit): Do not use CHECK_1.
11317 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11318 <bp-checks.h>.
11319 (__old_shmctl): Do not use CHECK_1.
11320 (__new_shmctl): Likewise.
11321 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11322 <bp-checks.h>.
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
11327 <bp-checks.h>.
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
11333 <bp-checks.h>.
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
11338 <bp-checks.h>.
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
11344 <bp-checks.h>.
11345 (do_sigtimedwait): Do not use CHECK_1.
11346 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11347 <bp-checks.h>.
11348 (do_sigwaitinfo): Do not use CHECK_1.
11349 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11350 <bp-checks.h>.
11351 (msgctl): Do not use CHECK_1.
11352 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11353 <bp-checks.h>.
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
11358 <bp-checks.h>.
11359 (__fxstat): Do not use CHECK_1.
11360 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11361 <bp-checks.h>.
11362 (__fxstatat): Do not use CHECK_1.
11363 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11364 <bp-checks.h>.
11365 (__lxstat): Do not use CHECK_1.
11366 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11367 <bp-checks.h>.
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.
11373
11374 [BZ #13550]
11375 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11376 definitions.
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.
11380
11381 2013-02-07 Roland McGrath <roland@hack.frob.com>
11382
11383 * nscd/nscd-client.h (__nscd_drop_map_ref):
11384 Add __attribute__ ((unused)).
11385 * nis/nss-nisplus.h (niserr2nss): Likewise.
11386
11387 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11388 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11389
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.
11419
11420 2013-02-05 Roland McGrath <roland@hack.frob.com>
11421
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.
11427
11428 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11429 instead of calling alloca.
11430
11431 * io/lseek.c (__lseek): Rename to __libc_lseek.
11432 Define __lseek as an alias.
11433
11434 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11435
11436 2013-02-04 Carlos O'Donell <carlos@redhat.com>
11437
11438 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11439 else clause and remove check for non-standard endianness.
11440
11441 2013-02-04 David S. Miller <davem@davemloft.net>
11442
11443 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11444
11445 2013-02-04 Joseph Myers <joseph@codesourcery.com>
11446
11447 [BZ #13550]
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):
11455 Remove alias.
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
11464 CHECK_STRING.
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
11469 <bp-checks.h>.
11470 (__real_chown): Do not use CHECK_STRING.
11471 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11472 <bp-checks.h>.
11473 (fchownat): Do not use CHECK_STRING.
11474 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11475 CHECK_STRING.
11476 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11477 <bp-checks.h>.
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
11487 <bp-checks.h>.
11488 (__real_chown): Do not use CHECK_STRING.
11489 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11490 <bp-checks.h>.
11491 (__lchown): Do not use CHECK_STRING.
11492 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11493 <bp-checks.h>.
11494 (__chown): Do not use CHECK_STRING.
11495 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11496 <bp-checks.h>.
11497 (truncate64): Do not use CHECK_STRING.
11498 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11499 Likewise.
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
11503 <bp-checks.h>.
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.
11507
11508 2013-02-04 Andreas Schwab <schwab@suse.de>
11509
11510 [BZ #14142]
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>.
11514
11515 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11516
11517 * elf/link.h (struct link_map): Extend the l_addr comment.
11518 * include/link.h (struct link_map): Likewise.
11519
11520 2013-02-01 Joseph Myers <joseph@codesourcery.com>
11521
11522 [BZ #13550]
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
11529 <bp-checks.h>.
11530 (__backtrace): Don't use BOUNDED_1.
11531 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11532 <bp-checks.h>.
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.
11538
11539 2013-01-31 Joseph Myers <joseph@codesourcery.com>
11540
11541 [BZ #13550]
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
11547 <bp-start.h>.
11548
11549 [BZ #13550]
11550 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11551 definitions.
11552 (CHECK_FCNTL): Likewise.
11553 (CHECK_N_PAGES): Likewise.
11554
11555 [BZ #13550]
11556 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11557 definitions.
11558 (CHECK_SIGSET_NULL_OK): Likewise.
11559 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11560 <bp-checks.h>.
11561 (sigpending): Don't use CHECK_SIGSET.
11562 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11563 <bp-checks.h>.
11564 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11565 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11566 <bp-checks.h>.
11567 (do_sigsuspend): Don't use CHECK_SIGSET.
11568 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11569 use CHECK_SIGSET.
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
11573 use CHECK_SIGSET.
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
11581 <bp-checks.h>.
11582 (sigpending): Don't use CHECK_SIGSET.
11583 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11584 <bp-checks.h>.
11585 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11586
11587 [BZ #13550]
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>
11594 and <bp-semctl.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.
11604
11605 [BZ #13550]
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
11614 include.
11615 (common-generated): Do not add s-proto-bp.d.
11616 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11617 (int): Likewise.
11618 (typ): Likewise.
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.
11623
11624 [BZ #15062]
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.
11635
11636 2013-01-31 David S. Miller <davem@davemloft.net>
11637
11638 * po/de.po: Update from translation team.
11639
11640 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11641
11642 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11643
11644 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11645
11646 * configure.in (_AC_PROG_CC_C89): New definition.
11647 * configure: Regenerate.
11648
11649 * configure.in (AC_PROG_CPP): New definition.
11650 * configure: Regenerate.
11651
11652 2013-01-23 Joseph Myers <joseph@codesourcery.com>
11653
11654 * debug/tst-backtrace.h: New file.
11655 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11656 (ret): Remove variable.
11657 (x): Likewise.
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.
11663 (x): Likewise.
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.
11669 (x): Likewise.
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.
11675 (x): Likewise.
11676 (FAIL): Remove macro.
11677 (NO_INLINE): Likewise.
11678 (handle_signal): Use match function instead of strstr.
11679
11680 2013-01-23 Roland McGrath <roland@hack.frob.com>
11681
11682 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11683
11684 2013-01-23 David S. Miller <davem@davemloft.net>
11685
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.
11692
11693 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11694
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.
11699
11700 2013-01-23 Adam Conrad <adconrad@0c3.net>
11701
11702 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11703 (LDFLAGS-tst-array5): Likewise.
11704
11705 2013-01-23 Joseph Myers <joseph@codesourcery.com>
11706
11707 [BZ #15036]
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.
11712
11713 2013-01-21 David S. Miller <davem@davemloft.net>
11714
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
11721 -funwind-tables.
11722
11723 2013-01-21 Andreas Schwab <schwab@suse.de>
11724
11725 [BZ #15020]
11726 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11727 closed its stdout.
11728
11729 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11730
11731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11732 "mpa2.h".
11733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11734
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>
11739
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.
11754
11755 2013-01-18 Anton Blanchard <anton@samba.org>
11756 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11757
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
11768 64-bit values.
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.
11776
11777 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11778
11779 [BZ #14496]
11780 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11781 Fix application of SIMD FP exception mask.
11782
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.
11787
11788 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11789 multiplication.
11790
11791 2013-01-17 David S. Miller <davem@davemloft.net>
11792
11793 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11794
11795 2013-01-17 Joseph Myers <joseph@codesourcery.com>
11796
11797 [BZ #15023]
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
11816 k_casinhf.c.
11817 * math/s_casinhl.c: Do not include <float.h>.
11818 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11819 redefine.
11820 (__casinhl): Move code for finite nonzero arguments to
11821 k_casinhl.c.
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.
11825
11826 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11827
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>.
11832
11833 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11834
11835 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11836
11837 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
11838
11839 * elf/elf.h (R_386_SIZE32): New relocation.
11840 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11841 R_386_SIZE32.
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.
11845
11846 2013-01-17 Joseph Myers <joseph@codesourcery.com>
11847
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
11857 value.
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
11864 file.
11865
11866 2013-01-16 Andreas Schwab <schwab@suse.de>
11867
11868 [BZ #14327]
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.
11872
11873 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11874
11875 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11876 definitions.
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
11880 definitions here.
11881 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11882 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11883 definitions.
11884 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11885 and ONE.
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
11889 definitions.
11890 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11891 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11892 definitions.
11893 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
11894
11895 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11896
11897 2013-01-15 David S. Miller <davem@davemloft.net>
11898
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
11903 file.
11904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11905 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11906 file.
11907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11908 file.
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.
11917
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:
11922 New file.
11923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11924 file.
11925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11926 New file.
11927 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11928 file.
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
11932 file.
11933 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11934 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11935 file.
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.
11939
11940 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
11941 libc_feholdexcept and libc_fesetenv.
11942
11943 2013-01-15 Mike Frysinger <vapier@gentoo.org>
11944
11945 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
11946
11947 2013-01-14 David S. Miller <davem@davemloft.net>
11948
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:
11955 Likewise.
11956 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
11957 Likewise.
11958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
11959 Likewise.
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
11965 file.
11966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
11967 file.
11968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
11969 file.
11970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
11971 file.
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
11977 new VIS2 routines.
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:
11981 Likewise.
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.
11989
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
11993 file.
11994 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
11995 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
11996 file.
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.
12004
12005 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12006
12007 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12008 to optimize copies.
12009
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.
12013
12014 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12015 local variable MPTWO.
12016 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12017 Likewise.
12018
12019 2013-01-13 Mike Frysinger <vapier@gentoo.org>
12020
12021 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12022 GLOB_NOESCAPE.
12023
12024 2013-01-13 Mike Frysinger <vapier@gentoo.org>
12025
12026 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12027
12028 2013-01-13 Mike Frysinger <vapier@gentoo.org>
12029
12030 * manual/pattern.texi (glob_t): Document gl_flags.
12031 (glob64_t): Likewise.
12032
12033 2013-01-11 David S. Miller <davem@davemloft.net>
12034
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.
12048
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.
12053
12054 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12055 Move to...
12056 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12057 Here.
12058
12059 2013-01-11 Roland McGrath <roland@hack.frob.com>
12060
12061 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12062 not in the main loop.
12063 * configure: Regenerated.
12064
12065 2013-01-11 Joseph Myers <joseph@codesourcery.com>
12066
12067 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12068 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12069 to just #else.
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
12078 unconditional.
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.
12086
12087 2013-01-11 Steve Ellcey <sellcey@mips.com>
12088
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.
12093
12094 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
12095
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
12118 $(rtld-LDFLAGS).
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
12132 option.
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).
12219
12220 2013-01-11 Andreas Jaeger <aj@suse.de>
12221
12222 [BZ #15003]
12223 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12224 value. Sync with Linux 3.7.
12225
12226 2013-01-10 David S. Miller <davem@davemloft.net>
12227
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.
12231
12232 2013-01-10 Roland McGrath <roland@hack.frob.com>
12233
12234 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12235 never set.
12236 * configure: Regenerated.
12237
12238 2013-01-10 David S. Miller <davem@davemloft.net>
12239
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.
12244
12245 2013-01-10 Roland McGrath <roland@hack.frob.com>
12246
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.
12274
12275 2013-01-10 David S. Miller <davem@davemloft.net>
12276
12277 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12278
12279 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12280
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.
12289
12290 2013-01-10 Joseph Myers <joseph@codesourcery.com>
12291
12292 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12293 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):
12300 Likewise.
12301 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12302 Likewise.
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
12308 definitions.
12309 (llrint): Likewise, for all definitions.
12310 (llrintl): Likewise.
12311
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].
12317
12318 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12319
12320 [BZ #14200]
12321 * sysdeps/unix/sysv/linux/x86/bits/environments.h
12322 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12323 defined.
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.
12328
12329 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12330
12331 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12332
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):
12336 Remove.
12337
12338 2013-01-10 Andreas Schwab <schwab@suse.de>
12339
12340 [BZ #14964]
12341 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12342 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12343
12344 2013-01-09 David S. Miller <davem@davemloft.net>
12345
12346 [BZ #15003]
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
12353 enum values.
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.
12358
12359 2013-01-09 Anton Blanchard <anton@samba.org>
12360
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.
12365
12366 2013-01-09 Joseph Myers <joseph@codesourcery.com>
12367
12368 * include/features.h (__USE_ANSI): Remove.
12369
12370 2013-01-09 Roland McGrath <roland@hack.frob.com>
12371
12372 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12373
12374 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12375
12376 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12377
12378 * sysdeps/s390/fpu/libm-test-ulps: Update.
12379
12380 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12381
12382 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12383 (__acr): Likewise.
12384 (__cpy): Likewise.
12385 (norm): Likewise.
12386 (denorm): Likewise.
12387 (__mp_dbl): Likewise.
12388 (__dbl_mp): Likewise.
12389 (add_magnitudes): Likewise.
12390 (sub_magnitudes): Likewise.
12391 (__add): Likewise.
12392 (__sub): Likewise.
12393 (__mul): Likewise.
12394 (__inv): Likewise.
12395 (__dvd): Likewise.
12396 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12397 (__acr): Likewise.
12398 (__cpy): Likewise.
12399 (norm): Likewise.
12400 (denorm): Likewise.
12401 (__mp_dbl): Likewise.
12402 (__dbl_mp): Likewise.
12403 (add_magnitudes): Likewise.
12404 (sub_magnitudes): Likewise.
12405 (__add): Likewise.
12406 (__sub): Likewise.
12407 (__mul): Likewise.
12408 (__inv): Likewise.
12409 (__dvd): Likewise.
12410 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12411 (__acr): Likewise.
12412 (__cpy): Likewise.
12413 (norm): Likewise.
12414 (denorm): Likewise.
12415 (__mp_dbl): Likewise.
12416 (__dbl_mp): Likewise.
12417 (add_magnitudes): Likewise.
12418 (sub_magnitudes): Likewise.
12419 (__add): Likewise.
12420 (__sub): Likewise.
12421 (__mul): Likewise.
12422 (__inv): Likewise.
12423 (__dvd): Likewise.
12424
12425 2013-01-08 Joseph Myers <joseph@codesourcery.com>
12426
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.
12431
12432 2013-01-08 Andreas Jaeger <aj@suse.de>
12433
12434 [BZ# 14985]
12435 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12436 Remove.
12437 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12438 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12439
12440 2013-01-07 Anton Blanchard <anton@samba.org>
12441
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.
12485
12486 2013-01-07 Joseph Myers <joseph@codesourcery.com>
12487
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
12500 declaration.
12501 (__libc_valloc): Likewise.
12502 (__libc_pvalloc): Likewise.
12503 (__libc_calloc): Likewise.
12504 (__posix_memalign): Likewise.
12505
12506 [BZ #14996]
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.
12521
12522 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12523
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
12533 to ...
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.
12554
12555 2013-01-04 David S. Miller <davem@davemloft.net>
12556
12557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12558
12559 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12560
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.
12565
12566 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12567
12568 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12569
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.
12576 (__inv): 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.
12582 (__inv): Likewise.
12583
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.
12594
12595 2013-01-04 Joseph Myers <joseph@codesourcery.com>
12596
12597 [BZ #14994]
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.
12606
12607 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12608
12609 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12610
12611 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12612
12613 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12614 declarations.
12615 (denorm): Likewise.
12616 (__mp_dbl): Likewise.
12617 (__inv): Likewise.
12618
12619 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12620 and adjust the header comment.
12621
12622 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12623 variable name from declaration.
12624
12625 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12626
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.
12633
12634 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12635
12636 [BZ #14981]
12637 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12638 size is zero, record memory as freed.
12639
12640 2013-01-03 Andreas Jaeger <aj@suse.de>
12641
12642 * po/ia.po: Add new Interlingua translation.
12643
12644 2012-01-03 Allan McRae <allan@archlinux.org>
12645
12646 * locale/programs/localedef.c: Fix description of '--posix' flag.
12647
12648 2013-01-02 Joseph Myers <joseph@codesourcery.com>
12649
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
12654 output.
12655
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.
12672
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.
12678
12679 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12680
12681 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12682 four values.
12683
12684 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12685 calculation loop and add branch prediction.
12686
12687 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12688 check access beyond bounds of m1np.
12689
12690 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12691 MPTWO.
12692 (__inv): Remove local variable MPTWO to use the global
12693 constant.
12694 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12695 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12696 variable MPTWO.
12697 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12698 MP3HALFS static const.
12699
12700 2013-01-01 David S. Miller <davem@davemloft.net>
12701
12702 * po/ca.po: Update from translation team.
12703
12704 2013-01-01 Joseph Myers <joseph@codesourcery.com>
12705
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.
12811
12812 2013-01-01 David S. Miller <davem@davemloft.net>
12813
12814 * po/fr.po: Update from translation team.
12815
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.
12838
12839 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12840
12841 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12842 numbers.
12843
12844 2012-12-30 Mike Frysinger <vapier@gentoo.org>
12845
12846 * math/bits/mathcalls.h (modf): Use __nonnull.
12847
12848 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12849
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
12853 could be used.
12854 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12855 instead of the bare value.
12856 (power1): Likewise.
12857
12858 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12859
12860 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12861 __ATAN_TWOM.
12862 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12863
12864 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12865 their values.
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.
12870
12871 2012-12-28 Andreas Jaeger <aj@suse.de>
12872
12873 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12874 values are from Linux 3.7.
12875
12876 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12877 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12878
12879 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12880
12881 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
12882 TRUE case.
12883
12884 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12885 (norm): Likewise.
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.
12891
12892 2012-12-27 Bruno Haible <bruno@clisp.org>
12893
12894 [BZ #14317]
12895 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12896 only if needed.
12897
12898 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12899
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.
12903
12904 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12905 MPONE.
12906 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12907 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12908 variable MPONE.
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.
12916
12917 2012-12-25 David S. Miller <davem@davemloft.net>
12918
12919 * version.h (RELEASE): Set to "development".
12920 (VERSION): Set to "2.17.90".
12921 * NEWS: Add 2.18 section.
12922
12923 2012-12-21 David S. Miller <davem@davemloft.net>
12924
12925 * po/hr.po: Update from translation team.
12926
12927 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12928
12929 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12930
12931 2012-12-19 Steve Ellcey <sellcey@mips.com>
12932
12933 * NEWS: Mention new memcpy for MIPS.
12934
12935 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12936
12937 * manual/contrib.texi (Contributors): Spelling correction.
12938
12939 2012-12-15 David S. Miller <davem@davemloft.net>
12940
12941 * po/ru.po: Update from translation team.
12942
12943 2012-12-13 David S. Miller <davem@davemloft.net>
12944
12945 * NEWS: Mention IFUNC testsuite enhancements.
12946
12947 * po/pl.po: Update from translation team.
12948 * po/bg.po: Likewise.
12949
12950 * manual/contrib.texi (Contributors): Update entries for Hongjiu
12951 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
12952
12953 2012-12-11 David S. Miller <davem@davemloft.net>
12954
12955 * po/sv.po: Update from translation team.
12956
12957 * po/vi.po: Update from translation team.
12958
12959 * po/cs.po: Update from translation team.
12960
12961 * po/de.po: Update from translation team.
12962 * po/eo.po: Likewise.
12963 * po/nl.po: Likewise.
12964
12965 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
12966
12967 [BZ #14246]
12968 * manual/argp.texi (Argp Helper Functions): Move node to follow
12969 Argp Parsing State.
12970
12971 [BZ #14872]
12972 * manual/conf.texi (Limits on File System Capacity): Mention if
12973 terminating null is included in the max size.
12974
12975 2012-12-10 Andreas Jaeger <aj@suse.de>
12976
12977 * po/cs.po: Update from translation team.
12978
12979 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
12980
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
12984 path.
12985 * sysdeps/s390/s390-64/memcpy.S: Likewise.
12986 * sysdeps/s390/s390-64/memset.S: Likewise.
12987
12988 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
12989
12990 [BZ #14833]
12991 * menual/message.texi (Message Translation): Fix typos.
12992 (Helper programs for gettext): Likewise.
12993
12994 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
12995
12996 [BZ #14898]
12997 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
12998 Change to -1.
12999
13000 2012-12-07 David S. Miller <davem@davemloft.net>
13001
13002 * po/libc.pot: Update.
13003
13004 2012-12-07 Richard Henderson <rth@redhat.com>
13005
13006 [BZ #10114]
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.
13010
13011 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
13012 Mike Frysinger <vapier@gentoo.org>
13013
13014 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13015 check for __NR_fadvise64_64.
13016
13017 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
13018
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
13022 with cw.
13023
13024 2012-12-06 Joseph Myers <joseph@codesourcery.com>
13025
13026 * NEWS: Use sourceware.org in Bugzilla URL.
13027
13028 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13029
13030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13031 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13032
13033 * stdio-common/tst-put-error.c (do_test): Add newline to the
13034 padded test to ensure flush.
13035
13036 2012-12-05 Jeff Law <law@redhat.com>
13037
13038 * sunrpc/etc.rpc (fedfs_admin): Add entry.
13039
13040 2012-12-05 Joseph Myers <joseph@codesourcery.com>
13041
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.
13044
13045 * LICENSES: Add more non-FSF copyright and license notices.
13046
13047 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13048 ((unused)).
13049
13050 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13051
13052 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13053 10000 as width of padded output.
13054
13055 2012-12-04 Joseph Myers <joseph@codesourcery.com>
13056
13057 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13058
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):
13062 Likewise.
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)).
13067
13068 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
13069
13070 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13071
13072 2012-12-04 Joseph Myers <joseph@codesourcery.com>
13073
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.
13173
13174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13175 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13176
13177 [BZ #14914]
13178 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13179 whole low double instead of just low 47 bits when splitting values
13180 into two parts.
13181
13182 2012-12-03 Allan McRae <allan@archlinux.org>
13183
13184 * manual/stdio.texi (Predefined Printf Handlers): Remove
13185 @hsep and @vsep usage.
13186
13187 2012-12-03 Mike Frysinger <vapier@gentoo.org>
13188
13189 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13190 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13191
13192 2012-12-03 Jeff Law <law@redhat.com>
13193
13194 * time/sys/time.h (settimeofday): Do not mark TV argument
13195 as __nonnull.
13196
13197 2012-12-01 Mike Frysinger <vapier@gentoo.org>
13198
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.
13203
13204 2012-12-01 Joseph Myers <joseph@codesourcery.com>
13205
13206 * manual/arith.texi (feenableexcept): Fix typo.
13207 (fedisableexcept): Likewise.
13208
13209 2012-11-30 Roland McGrath <roland@hack.frob.com>
13210
13211 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13212 second, differently-typed declaration, rather than a cast.
13213
13214 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13215
13216 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13217 * include/rpc/svc.h: ... here.
13218
13219 2012-11-30 Aurelien Jarno <aurel32@debian.org>
13220
13221 [BZ #13013]
13222 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13223 depending n and resplen2 to catch cases where answer
13224 equals answerp2.
13225
13226 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
13227
13228 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13229 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13230
13231 2012-11-29 Mike Frysinger <vapier@gentoo.org>
13232
13233 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13234
13235 2012-11-29 Roland McGrath <roland@hack.frob.com>
13236
13237 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13238
13239 2012-11-28 Jeff Law <law@redhat.com>
13240
13241 [BZ #13761]
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.
13245
13246 2012-06-04 Florian Weimer <fweimer@redhat.com>
13247
13248 [BZ #14197]
13249 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13250
13251 2012-11-28 David S. Miller <davem@davemloft.net>
13252
13253 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13254
13255 2012-11-28 Joseph Myers <joseph@codesourcery.com>
13256
13257 [BZ #14803]
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
13263 bits.
13264
13265 2012-11-28 Jeff Law <law@redhat.com>
13266 Martin Osvald <mosvald@redhat.com>
13267
13268 [BZ #14889]
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.
13276
13277 2012-11-28 Andreas Schwab <schwab@suse.de>
13278
13279 * scripts/abilist.awk: Also handle indirect functions in .opd
13280 section.
13281
13282 2012-11-28 Joseph Myers <joseph@codesourcery.com>
13283
13284 [BZ #13881]
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.
13288 (p3): New 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.
13292 (p3): New 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.
13299
13300 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13301 Carlos O'Donell <carlos_odonell@mentor.com>
13302
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.
13306
13307 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13308
13309 [BZ #11741]
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.
13314
13315 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
13316
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.
13331
13332 2012-11-26 Joseph Myers <joseph@codesourcery.com>
13333
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.
13339
13340 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
13341
13342 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13343
13344 2012-11-24 Adam Conrad <adconrad@0c3.net>
13345
13346 * configure.in: Autodetect C++ header directories.
13347 * configure: Regenerated.
13348
13349 2012-11-23 Mike Frysinger <vapier@gentoo.org>
13350
13351 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13352
13353 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
13354
13355 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13356
13357 2012-11-22 Joseph Myers <joseph@codesourcery.com>
13358
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]:
13362 Likewise.
13363 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13364 Likewise.
13365
13366 [BZ #14871]
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.
13370
13371 * sysdeps/generic/unwind-dw2-fde-glibc.c
13372 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13373 __attribute__ ((unused)).
13374
13375 [BZ #14645]
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.
13378
13379 [BZ #14811]
13380 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13381 nonzero exponents with absolute value below 0x1p-117 to +/-
13382 0x1p-117.
13383
13384 [BZ #14869]
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.
13388
13389 [BZ #14868]
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.
13393
13394 * math/libm-test.inc (clog_test): Use
13395 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13396 (clog10_test): Likewise.
13397
13398 [BZ #6778]
13399 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13400
13401 2012-11-22 Andreas Schwab <schwab@suse.de>
13402
13403 * sysdeps/i386/fpu/libm-test-ulps: Update.
13404
13405 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
13406
13407 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13408 printf output with newline.
13409
13410 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
13411
13412 [BZ #14865]
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.
13417
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.
13430
13431 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
13432
13433 * sysdeps/unix/make-syscalls.sh: Document prefixes.
13434
13435 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
13436
13437 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13438 macro.
13439
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
13445 include it from...
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
13461 sendmmsg.
13462
13463 2012-11-20 Joseph Myers <joseph@codesourcery.com>
13464
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.
13468
13469 2012-11-19 Joseph Myers <joseph@codesourcery.com>
13470
13471 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13472 DUMMY variables with __attribute__ ((unused)).
13473
13474 * bits/byteswap.h: Include <bits/types.h>.
13475 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13476
13477 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13478
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
13483 failure.
13484
13485 2012-11-19 David S. Miller <davem@davemloft.net>
13486
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.
13494
13495 2012-11-19 Joseph Myers <joseph@codesourcery.com>
13496
13497 [BZ #14856]
13498 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13499 Define to 3.
13500
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
13548 require.
13549 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13550 sigevent): Specify elements.
13551 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13552 entry.
13553 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13554 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13555
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):
13570 Likewise.
13571 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13572 Likewise.
13573 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13574 Likewise.
13575 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13576 Likewise.
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
13591 value.
13592 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13593 as optional.
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
13610 entry.
13611 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13612 optional.
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):
13619 Likewise.
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
13627 as optional.
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
13652 optional-constant.
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.
13659
13660 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13661 expect.
13662 [XPG3 || XPG4] (O_RSYNC): Likewise.
13663 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13664 Likewise.
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):
13672 Likewise.
13673 [XPG3 || XPG4] (blksize_t): Likewise.
13674 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13675 Likewise.
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.
13698
13699 [BZ #14835]
13700 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13701 <bits/siginfo.h>.
13702
13703 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13704
13705 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13706 finalizing MALLSTREAM.
13707
13708 * sysdeps/mach/hurd/syncfs.c: New file.
13709
13710 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13711
13712 [BZ #14719]
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.
13720
13721 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13722
13723 [BZ #13763]
13724 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13725
13726 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13727
13728 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13729 * elf/cache.c (print_entry): Print ",AArch64" for
13730 FLAG_AARCH64_LIB64
13731
13732 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13733 * elf/cache.c (print_entry): Print ",hard-float" for
13734 FLAG_ARM_LIBHF.
13735
13736 2012-11-18 David S. Miller <davem@davemloft.net>
13737
13738 With help from Joseph Myers.
13739 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13740 cutoff to 2**-13.
13741 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13742 cutoff to 2**-25.
13743 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13744 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13745 small.
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.
13752
13753 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13754
13755 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13756 64-bit targets.
13757 * configure: Regenerated.
13758
13759 2012-11-17 David S. Miller <davem@davemloft.net>
13760
13761 [BZ #14811]
13762 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13763 nonzero exponents with absolute value below 0x1p-128 to +/-
13764 0x1p-128.
13765
13766 2012-11-17 Joseph Myers <joseph@codesourcery.com>
13767
13768 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13769
13770 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13771
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.
13793
13794 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13795
13796 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13797
13798 2012-11-16 Andrej Lajovic <natrij@gmail.com>
13799
13800 [BZ #14672]
13801 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13802
13803 2012-11-16 David S. Miller <davem@davemloft.net>
13804
13805 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13806 smaller than LDBL_EPSILON/2.0L, just return xm1.
13807
13808 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13809
13810 * elf/tst-array1.c (init): Set constructor priority to 1000.
13811 (fini): Set destructor priority to 1000.
13812 * elf/tst-array2dep.c: Likewise.
13813
13814 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13815
13816 [BZ #11741]
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
13828 return EOF.
13829
13830 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13831
13832 * libio/libioP.h: Add comment note that the references to C++
13833 bits are now obsolete.
13834
13835 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13836
13837 * math/libm-test.inc (check_complex): Use asprintf.
13838
13839 2012-11-14 Joseph Myers <joseph@codesourcery.com>
13840
13841 * debug/pcprofiledump.c (print_version): Update copyright year.
13842 * malloc/memusagestat.c (print_version): Likewise.
13843
13844 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13845
13846 [BZ #14831]
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.
13856
13857 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13858
13859 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13860 * misc/Makefile (CFLAGS-select.c): Define.
13861 * posix/Makefile (CFLAGS-pause.c): Define.
13862
13863 2012-11-13 David S. Miller <davem@davemloft.net>
13864
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
13879 path.
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
13883 crypt subdir.
13884 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13885 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13886 multiarch changes.
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
13896 file.
13897 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13898 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13899 file.
13900 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13901
13902 2012-11-13 Joseph Myers <joseph@codesourcery.com>
13903
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.
13912
13913 [BZ #14838]
13914 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13915 macro.
13916
13917 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13918
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
13922 bits are 0.
13923
13924 2012-11-11 David S. Miller <davem@davemloft.net>
13925
13926 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13927 inttypes.h
13928 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13929 __close rather than their public counterparts.
13930
13931 2012-11-10 Joseph Myers <joseph@codesourcery.com>
13932
13933 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13934 file.
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):
13942 Do not expect.
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.
13947
13948 2012-11-09 Joseph Myers <joseph@codesourcery.com>
13949
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.
13956
13957 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
13958 2012i.
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
13962 tzselect.ksh.
13963
13964 * Makefile (format-me): Remove.
13965 (INSTALL): Adjust indentation. Use commands directly instead of
13966 using $(format-me).
13967
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
13996 REPORT_BUGS_TO.
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
14023 and BUGURL.
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
14054 macro.
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
14060 and PKGVERSION.
14061
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.
14073
14074 [BZ #14824]
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):
14081 Likewise.
14082 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14083 Likewise.
14084 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14085 Likewise.
14086 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14087 Likewise.
14088 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14089 Likewise.
14090 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14091 Likewise.
14092
14093 [BZ #14821]
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.
14099
14100 2012-11-09 Andreas Jaeger <aj@suse.de>
14101
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>.
14105
14106 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14107
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
14111 definition.
14112
14113 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14114
14115 * elf/elf.h: Update comment before AArch64 relocations.
14116
14117 2012-11-07 David S. Miller <davem@davemloft.net>
14118
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
14124 __makecontext_ret.
14125 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14126 (sysdep_routines): Add __start_context when in stdlib.
14127
14128 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14129
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
14133 hardcoded "nm".
14134 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
14135 (READELF): New variable. Use it instead of hardcoded "readelf".
14136
14137 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
14138
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.
14143
14144 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14145
14146 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14147 expectations.
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):
14169 Do not expect.
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.
14182
14183 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14184 not expect.
14185 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14186
14187 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14188 Change function return type to int.
14189
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
14198 && !UNIX98].
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.
14205
14206 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14207 Change condition to [XOPEN2K8].
14208
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
14399 allow.
14400 * conform/data/stdint.h-data: Update comments to clarify
14401 requirements.
14402 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
14403 type.
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"
14461 at end of line.
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.
14473 Specify type.
14474 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14475 Specify value.
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):
14481 Expect function.
14482 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14483 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14484 Specify type.
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.
14494
14495 2012-11-07 Roland McGrath <roland@hack.frob.com>
14496
14497 [BZ #14815]
14498 * manual/filesys.texi (Directory Entries): Typo fix.
14499 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14500
14501 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14502
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.
14512
14513 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14514
14515 [BZ #14811]
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 +/-
14523 0x1p-32.
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.
14528
14529 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14530
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.
14534
14535 2012-11-07 Joseph Myers <joseph@codesourcery.com>
14536
14537 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14538 Change XOPEN21K to XOPEN2K.
14539
14540 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14541
14542 * string/memmove.c: Use memcpy when possible.
14543
14544 2012-11-06 Andreas Jaeger <aj@suse.de>
14545
14546 * po/eo.po: Update from translation team.
14547
14548 2012-11-06 Joseph Myers <joseph@codesourcery.com>
14549
14550 [BZ #14793]
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.
14560
14561 2012-11-05 Joseph Myers <joseph@codesourcery.com>
14562
14563 [BZ #14805]
14564 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14565 fenv_t *.
14566
14567 [BZ #14801]
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
14571 fenv_t fields.
14572 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14573 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14574
14575 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14576
14577 [BZ #3665]
14578 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14579
14580 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14581
14582 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14583 PTR_DEMANGLE.
14584
14585 [BZ #5246]
14586 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14587 PTR_DEMANGLE.
14588
14589 2012-11-04 Joseph Myers <joseph@codesourcery.com>
14590
14591 [BZ #14797]
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.
14600
14601 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14602
14603 [BZ #157]
14604
14605 * include/stub-tag.h: Remove file.
14606 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14607 '#include' of it.
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:
14977 Likewise.
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.
15009
15010 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
15011
15012 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15013 /usr/old/bin.
15014
15015 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15016 instead of spaces.
15017 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15018
15019 2012-11-03 Joseph Myers <joseph@codesourcery.com>
15020
15021 [BZ #14796]
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
15034 function.
15035 (libc_fesetround): New macro.
15036 (libc_fesetroundf): Likewise.
15037 (libc_fesetroundl): Likewise.
15038 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15039 function.
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
15045 function.
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
15052 libm_hidden_ver.
15053 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15054 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15055 libm_hidden_def.
15056 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15057 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15058 libm_hidden_ver.
15059 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15060 libm_hidden_def.
15061
15062 [BZ #3439]
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
15065 constant.
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.
15117
15118 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
15119
15120 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15121
15122 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
15123
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
15127 -x" by "export".
15128 (remove_newlines): Remove.
15129
15130 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
15131
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
15138 -mno-sse -mno-mmx.
15139 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15140 <xmmintrin.h>.
15141
15142 2012-11-02 Joseph Myers <joseph@codesourcery.com>
15143
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>.
15148
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.
15154
15155 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15156 (struct rusage): Do not expect type or its members.
15157
15158 [BZ #3439]
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.
15165
15166 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15167
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
15170 arguments.
15171
15172 2012-11-02 Roland McGrath <roland@hack.frob.com>
15173
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.
15178
15179 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15180
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.
15184
15185 2012-11-02 Joseph Myers <joseph@codesourcery.com>
15186
15187 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15188 except include of <misc/sys/syslog.h>.
15189
15190 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15191
15192 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15193 function returns with a NULL context exit with zero.
15194
15195 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15196
15197 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15198
15199 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
15200
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.
15205
15206 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
15207
15208 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15209 floating point opcodes.
15210
15211 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15212
15213 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15214 variable.
15215
15216 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15217
15218 * sysdeps/mach/hurd/powerpc: Remove directory.
15219 * sysdeps/mach/powerpc: Likewise.
15220
15221 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15222
15223 * scripts/check-local-headers.sh: Ignore c++ headers.
15224
15225 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15226
15227 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15228 __libc_cleanup_region_start argument.
15229
15230 2012-11-01 Joseph Myers <joseph@codesourcery.com>
15231
15232 [BZ #14784]
15233 [BZ #14785]
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.
15242
15243 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15244
15245 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15246
15247 2012-10-31 Joseph Myers <joseph@codesourcery.com>
15248
15249 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15250 New variable.
15251
15252 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
15253
15254 * rt/tst-shm.c (worker): Correct checking for mmap failure.
15255
15256 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15257
15258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15259 Fix sort order.
15260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15261 Likewise.
15262
15263 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15264
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:
15268 Likewise.
15269
15270 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15271
15272 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15273
15274 2012-10-31 Joseph Myers <joseph@codesourcery.com>
15275
15276 [BZ #14610]
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.
15280
15281 * manual/install.texi (Configuring and compiling): Document
15282 general use of test-wrapper and test-wrapper-env.
15283 * INSTALL: Regenerated.
15284
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
15288 exponent.
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
15292 exponent.
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
15296 exponent.
15297 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15298 macro.
15299 (fma_test): Add more tests.
15300 (fma_test_towardzero): Likewise.
15301 (fma_test_downward): Likewise.
15302 (fma_test_upward): Likewise.
15303
15304 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
15305
15306 * sysdeps/i386/tininess.h: Renamed to ...
15307 * sysdeps/x86/tininess.h: This.
15308 * sysdeps/x86_64/tininess.h: Removed.
15309
15310 2012-10-30 Joseph Myers <joseph@codesourcery.com>
15311
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.
15320
15321 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
15322
15323 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15324 if defined.
15325
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.
15334
15335 2012-10-30 Andreas Jaeger <aj@suse.de>
15336
15337 * po/ru.po: Update Russion translation from translation project.
15338
15339 2012-10-30 Joseph Myers <joseph@codesourcery.com>
15340
15341 [BZ #14152]
15342 [BZ #14783]
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.
15353
15354 [BZ #14047]
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.
15372
15373 2012-10-30 Andreas Jaeger <aj@suse.de>
15374
15375 [BZ#14767]
15376 * elf/Makefile (tests): Remove conditional for have-initfini-array
15377 since this is now always required and the variable does not exist
15378 anymore.
15379 (tests-static): Likewise.
15380 (modules-names): Likewise.
15381
15382 * po/eo.po: Add Esperanto translation from translation project.
15383
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.
15389
15390 2012-10-29 Mike Frysinger <vapier@gentoo.org>
15391
15392 * manual/message.texi: Delete @cartouche tags.
15393
15394 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
15395
15396 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15397 EOPNOTSUPP.
15398 * sysdeps/mach/hurd/fsync.c: Likewise.
15399
15400 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15401 [_POSIX_REALTIME_SIGNALS]: Change condition to
15402 [_POSIX_REALTIME_SIGNALS > 0].
15403
15404 2012-10-27 Andreas Jaeger <aj@suse.de>
15405
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.
15410
15411 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
15412
15413 * iconvdata/tst-table.sh: Remove ${SHELL}.
15414 * iconvdata/tst-tables.sh: Likewise.
15415
15416 2012-10-25 David S. Miller <davem@davemloft.net>
15417
15418 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15419 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15420 of strtoull.
15421
15422 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15423 ifunc-impl-list.c
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
15427 file.
15428
15429 2012-10-25 Roland McGrath <roland@hack.frob.com>
15430
15431 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15432 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15433 __getdirentries.
15434
15435 2012-10-25 Joseph Myers <joseph@codesourcery.com>
15436 Jim Blandy <jimb@codesourcery.com>
15437
15438 * scripts/cross-test-ssh.sh: New file.
15439 * manual/install.texi (Configuring and compiling): Document use of
15440 cross-test-ssh.sh.
15441 * INSTALL: Regenerated.
15442
15443 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
15444
15445 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15446 EOPNOTSUPP.
15447
15448 2012-10-25 Joseph Myers <joseph@codesourcery.com>
15449
15450 * Makeconfig (run-program-prefix): Fix comment.
15451
15452 2012-10-24 Joseph Myers <joseph@codesourcery.com>
15453 Jim Blandy <jimb@codesourcery.com>
15454
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
15465 tst-pathopt.sh.
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.
15490
15491 2012-10-24 Roland McGrath <roland@hack.frob.com>
15492
15493 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15494 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15495 Targets removed.
15496
15497 [BZ #14743]
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:
15528 Likewise.
15529 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15530 Likewise.
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.
15536
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.
15543
15544 * config.h.in (HAVE_IFUNC): New #undef.
15545 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15546 was successful.
15547 * configure: Regenerated.
15548
15549 2012-10-24 Mike Frysinger <vapier@gentoo.org>
15550
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.
15555
15556 2012-10-24 Mike Frysinger <vapier@gentoo.org>
15557
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.
15563
15564 2012-10-24 Joseph Myers <joseph@codesourcery.com>
15565
15566 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15567
15568 * posix/globtest.sh (TMPDIR): Do not set.
15569 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15570 (testout): Likewise.
15571
15572 2012-10-24 Andreas Jaeger <aj@suse.de>
15573
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.
15579
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__]:
15583 Likewise.
15584 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15585 Likewise.
15586 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15587
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.
15592
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.
15598
15599 2012-10-23 Joseph Myers <joseph@codesourcery.com>
15600
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.
15620
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
15628 binary.
15629
15630 2012-10-23 Jim Blandy <jimb@codesourcery.com>
15631 Joseph Myers <joseph@codesourcery.com>
15632
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).
15639
15640 2012-10-23 Joseph Myers <joseph@codesourcery.com>
15641 Jim Blandy <jimb@codesourcery.com>
15642
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.
15646
15647 2012-10-22 Andreas Jaeger <aj@suse.de>
15648
15649 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15650 __O_RSYNC if it exists, otherwise to O_SYNC.
15651
15652 2012-10-22 Jim Blandy <jimb@codesourcery.com>
15653 Joseph Myers <joseph@codesourcery.com>
15654
15655 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15656 /dev/null.
15657 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15658 from /dev/null
15659 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15660 /dev/null.
15661
15662 2012-10-22 Andreas Jaeger <aj@suse.de>
15663
15664 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15665 Define always.
15666 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15667
15668 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15669 bits/fcntl-linux.h.
15670
15671 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15672 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15673
15674 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15675 to __O_LARGEFILE.
15676 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15677 to __O_LARGEFILE.
15678
15679 2012-10-21 Jim Blandy <jimb@codesourcery.com>
15680 Joseph Myers <joseph@codesourcery.com>
15681
15682 * config.make.in (NM): New variable.
15683
15684 2012-10-21 Andreas Jaeger <aj@suse.de>
15685
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>.
15689
15690 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15691
15692 [BZ #14683]
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.
15701
15702 2012-10-20 Andreas Jaeger <aj@suse.de>
15703
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.
15711
15712 2012-10-20 Roland McGrath <roland@hack.frob.com>
15713
15714 * io/fcntl.h: Move include of <bits/types.h> to the top and
15715 include it unconditionally.
15716
15717 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15718
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.
15727
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.
15787
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.
15794
15795 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15796
15797 [BZ #13601]
15798 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15799 header is not read in.
15800
15801 2012-10-19 Joseph Myers <joseph@codesourcery.com>
15802
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.
15809
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
15826 tst-translit.sh.
15827 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15828 tst-gettext2.sh.
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
15838 to run tst-mtrace.
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.
15845
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.
15856
15857 [BZ #13888]
15858 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15859 or TMPDIR.
15860 (testout): Likewise.
15861
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.
15869
15870 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15871
15872 [BZ #14716]
15873 * string/test-memmem.c (check_result): New function.
15874 (do_one_test): Use it.
15875 (check1): New function.
15876 (test_main): Use it.
15877
15878 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15879
15880 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15881
15882 2012-10-18 Joseph Myers <joseph@codesourcery.com>
15883
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
15899 __mmap64 directly.
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
15914 unconditional.
15915 (freopen64) [!_G_OPEN64]: Remove conditional code.
15916 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15917 unconditional.
15918 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15919 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15920 unconditional.
15921 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15922 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15923 unconditional.
15924 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15925 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15926 unconditional.
15927 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15928 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15929 unconditional.
15930 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15931 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15932 unconditional.
15933 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15934 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15935 unconditional.
15936 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15937
15938 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15939
15940 [BZ #12140]
15941 * manual/memory.texi (Malloc Tunable Parameters): Add note
15942 about free list pointers overwriting some perturb bytes.
15943 Wording suggested by Roland McGrath.
15944
15945 2012-10-17 Joseph Myers <joseph@codesourcery.com>
15946
15947 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
15948 (lgamma_test): Likewise.
15949 (tgamma_test): Likewise.
15950
15951 2012-10-16 Florian Weimer <fweimer@redhat.com>
15952
15953 [BZ #14700]
15954 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
15955 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
15956
15957 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
15958
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.
15962
15963 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
15964
15965 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
15966 (__bswap_64): __uint64_t for unsigned 64-bit int.
15967
15968 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
15969
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.
15974
15975 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
15976
15977 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
15978 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
15979 global and hidden.
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):
15983 Likewise.
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
15998 ifunc-impl-list.c.
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.
16029
16030 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16031 global and hidden.
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):
16036 Likewise.
16037 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16038 Likewise.
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
16043 ifunc-impl-list.c.
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.
16085
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
16096 are defined.
16097 (test_init): Call __libc_ifunc_impl_list to initialize
16098 func_list if TEST_IFUNC and TEST_NAME are defined.
16099
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
16104 defined.
16105 * string/test-memset.c: Support bzero test if TEST_BZERO is
16106 defined.
16107 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16108 __libc_memmove.
16109 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16110 __libc_memset.
16111 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16112 of memset.
16113
16114 2012-10-10 Joseph Myers <joseph@codesourcery.com>
16115
16116 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16117 * configure: Regenerated.
16118
16119 * Makeconfig (+link-static-before-libc): Don't include
16120 $(link-static-libc).
16121
16122 * libio/libio.h (_IO_pos_t): Remove.
16123
16124 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
16125
16126 * NEWS: Add note about FIPS mode. Wording suggested by Roland
16127 McGrath.
16128
16129 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
16130
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.
16136
16137 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
16138
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.
16149
16150 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16151
16152 * NEWS: Add entry for BZ #14602.
16153
16154 2012-10-09 Joseph Myers <joseph@codesourcery.com>
16155
16156 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16157 type-generic.
16158 * math/libm-test.inc: Update comment listing what functions and
16159 macros are tested.
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.
16167
16168 2012-10-09 Roland McGrath <roland@hack.frob.com>
16169
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.
16187
16188 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16189 defined. Don't check if MAP is NULL.
16190
16191 2012-10-09 Joseph Myers <joseph@codesourcery.com>
16192
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
16204 _G_off64_t.
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.
16208
16209 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
16210
16211 [BZ #14602]
16212 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16213 Replace with ...
16214 (CHECK_EOL): New macro.
16215 (two_way_short_needle): Check beginning of haystack for EOL. Use
16216 CHECK_EOL.
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.
16221
16222 2012-10-08 Joseph Myers <joseph@codesourcery.com>
16223
16224 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16225 type-generic.
16226 * math/libm-test.inc: Update comment listing what functions and
16227 macros are tested.
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.
16235
16236 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
16237
16238 [BZ #14660]
16239 * Makerules (%.dynsym): Force C locale when running
16240 $(OBJDUMP) --dynamic-syms.
16241
16242 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
16243
16244 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16245 <stdint.h>.
16246
16247 2012-10-06 David S. Miller <davem@davemloft.net>
16248
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.
16252
16253 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
16254
16255 * string/test-strstr.c (check2): Add a test for page boundary.
16256
16257 2012-10-05 David S. Miller <davem@davemloft.net>
16258
16259 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16260 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16261 file.
16262 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16263 sysdep_routines.
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.
16267
16268 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
16269
16270 [BZ #14602]
16271 * string/test-strstr.c (check2): New function.
16272 (test_main): Call check2.
16273
16274 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16275 and bug-strchr1.
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.
16297
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.
16304
16305 [BZ #14557]
16306 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16307 if IS_IN_rtld isn't defined.
16308
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.
16320
16321 2012-10-05 Joseph Myers <joseph@codesourcery.com>
16322
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
16329 tested.
16330
16331 * scripts/config.guess: Update from config.git.
16332 * scripts/config.sub: Likewise.
16333
16334 2012-10-04 Roland McGrath <roland@hack.frob.com>
16335
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.
16348
16349 2012-10-03 Roland McGrath <roland@hack.frob.com>
16350
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
16360 [USE_LDCONFIG].
16361 * elf/rtld.c (dl_main): Likewise.
16362
16363 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
16364
16365 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16366 _SC_LEVEL4_CACHE_LINESIZE.
16367
16368 2012-10-03 Roland McGrath <roland@hack.frob.com>
16369
16370 * sysdeps/unix/bsd/confstr.h: File removed.
16371
16372 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
16373
16374 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16375 sys/sdt-config.h.
16376
16377 2012-10-02 Roland McGrath <roland@hack.frob.com>
16378
16379 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16380 Make 'mapoff' field ElfW(Off) rather than off_t.
16381
16382 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16383
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.
16387
16388 [BZ #10631]
16389 * malloc.c (malloc_printerr): Clarify error message.
16390
16391 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
16392
16393 [BZ #14648]
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
16397 macro.
16398 (bit_FMA4_Usable): Updated.
16399 (index_FMA_Usable): New macro.
16400 (CPUID_FMA): Likewise
16401 (HAS_FMA): Defined with bit_FMA_Usable.
16402
16403 2012-10-01 Roland McGrath <roland@hack.frob.com>
16404
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.
16416
16417 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
16418 Honza Horak <hhorak@redhat.com>
16419
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.
16425
16426 2012-10-01 Roland McGrath <roland@hack.frob.com>
16427
16428 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16429
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.
16438
16439 2012-10-01 Joseph Myers <joseph@codesourcery.com>
16440
16441 [BZ #14645]
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.
16452
16453 2012-09-29 Joseph Myers <joseph@codesourcery.com>
16454
16455 [BZ #14638]
16456 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16457 0 + 0.
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
16462 exact 0 + 0.
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.
16470
16471 2012-09-28 David S. Miller <davem@davemloft.net>
16472
16473 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16474
16475 2012-09-28 Roland McGrath <roland@hack.frob.com>
16476
16477 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16478 instead of SIGALRM.
16479
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.
16484
16485 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16486
16487 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16488
16489 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16490 Conditionalize target on [libnss_test1.so-version].
16491
16492 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16493
16494 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16495 (elfobjdir): Move out of conditionals.
16496
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.
16501
16502 2012-09-28 David S. Miller <davem@davemloft.net>
16503
16504 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16505 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16506 file.
16507 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16508 sysdep_routines.
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.
16512
16513 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16514
16515 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16516
16517 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16518
16519 [BZ #6530]
16520 * stdio-common/vfprintf.c (process_string_arg): Revert
16521 2000-07-22 change.
16522
16523 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16524
16525 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16526 for testcase.
16527 * stdio-common/tst-sprintf.c: Include <locale.h>
16528 (main): Test sprintf's handling of incomplete multibyte
16529 characters.
16530
16531 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16532
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.
16546
16547 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16548
16549 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16550
16551 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16552
16553 [BZ #11438]
16554 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16555 to global scope.
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.
16559
16560 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16561
16562 [BZ #5298]
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.
16566
16567 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16568
16569 [BZ #14543]
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.
16575
16576 2012-09-27 David S. Miller <davem@davemloft.net>
16577
16578 [BZ #14376]
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.
16582
16583 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16584
16585 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16586
16587 * rt/tst-aio2.c: Include <pthread.h>.
16588 * rt/tst-aio3.c: Likewise.
16589
16590 2012-09-27 Steve Ellcey <sellcey@mips.com>
16591
16592 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16593
16594 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16595
16596 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16597 contents on [SHARED].
16598
16599 2012-09-26 Marek Polacek <polacek@redhat.com>
16600
16601 [BZ #14530]
16602 [BZ #13741]
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.
16605
16606 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16607
16608 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16609
16610 2012-09-25 Roland McGrath <roland@hack.frob.com>
16611
16612 * Makefile.in (all, install): Declare with .PHONY.
16613 Reported by Michael Hope <michael.hope@linaro.org>.
16614
16615 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16616
16617 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16618 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16619 system header.
16620 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16621 Likewise.
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.
16634
16635 2012-09-25 Alan Modra <amodra@gmail.com>
16636
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
16640 place of isync.
16641 (clear_once_control): Add release barrier.
16642
16643 2012-09-25 Joseph Myers <joseph@codesourcery.com>
16644
16645 [BZ #13629]
16646 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16647 specially.
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.
16666
16667 [BZ #14621]
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
16671 and OLD_PATHC.
16672
16673 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16674
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.
16683
16684 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16685 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16686
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.
16706
16707 2012-09-25 Joseph Myers <joseph@codesourcery.com>
16708
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.
16738
16739 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16740
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.
16748
16749 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16750
16751 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16752 comments.
16753
16754 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16755
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.
16788
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.
16794
16795 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16796
16797 [BZ #13679]
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)
16801 isn't yes.
16802 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16803
16804 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16805
16806 [BZ #14562]
16807 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16808 new chunk size with MALLOC_ALIGN_MASK.
16809
16810 2012-09-24 Joseph Myers <joseph@codesourcery.com>
16811
16812 [BZ #5044]
16813 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16814 <rounding-mode.h>.
16815 (__printf_fphex): Determine rounding using get_rounding_mode and
16816 round_away.
16817 * stdio-common/tst-printf-round.c (struct hex_test): New
16818 structure.
16819 (hex_tests): New variable.
16820 (test_hex_in_one_mode): New function.
16821 (do_test): Also run tests for hex float output.
16822
16823 2012-09-21 Joseph Myers <joseph@codesourcery.com>
16824
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.
16833
16834 2012-09-20 Joseph Myers <joseph@codesourcery.com>
16835
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.
16840
16841 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16842
16843 [BZ #14579]
16844 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16845 mode only.
16846 * elf/tst-rtld-load-self.sh: New test.
16847 * elf/Makefile: Run it.
16848
16849 2012-09-18 Joseph Myers <joseph@codesourcery.com>
16850
16851 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16852 (tst-writev-ENV): Remove.
16853 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16854
16855 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16856
16857 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16858
16859 2012-09-17 Joseph Myers <joseph@codesourcery.com>
16860
16861 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16862 unconditional.
16863 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16864 Likewise.
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):
16868 Likewise.
16869
16870 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16871
16872 [BZ #14587]
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.
16877
16878 2012-09-14 Joseph Myers <joseph@codesourcery.com>
16879
16880 [BZ #5044]
16881 * stdio-common/printf_fp.c: Include <stdbool.h> and
16882 <rounding-mode.h>.
16883 (___printf_fp): Determine rounding using get_rounding_mode and
16884 round_away.
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).
16889
16890 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16891
16892 [BZ #14576]
16893 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16894 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16895 Likewise.
16896 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16897 Likewise.
16898
16899 2012-09-13 Joseph Myers <joseph@codesourcery.com>
16900
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.
16905
16906 2012-09-12 Joseph Myers <joseph@codesourcery.com>
16907
16908 [BZ #14518]
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
16931 $(link-libm).
16932
16933 2012-12-09 Allan McRae <allan@archlinux.org>
16934
16935 * sysdeps/i386/fpu/libm-test-ulps: Update
16936
16937 2012-09-11 Joseph Myers <joseph@codesourcery.com>
16938
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.
16963
16964 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
16965
16966 * csu/libc-tls.c: Update copyright years.
16967
16968 2012-09-10 Joseph Myers <joseph@codesourcery.com>
16969
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.
16974
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.
16988
16989 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
16990
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.
16994
16995 * iconv/gconv_db.c: Update copyright years.
16996
16997 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16998
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.
17002
17003 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17004 DP_HI_MASK entry.
17005 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17006
17007 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
17008
17009 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17010
17011 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17012 is NULL.
17013
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.
17026
17027 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17028 on $(common-objpfx)soversions.mk.
17029
17030 2012-09-07 Joseph Myers <joseph@codesourcery.com>
17031
17032 [BZ #10014]
17033 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17034 example host name.
17035
17036 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17037
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.
17046
17047 2012-09-05 John Tobey <john.tobey@gmail.com>
17048
17049 [BZ #13542]
17050 * manual/arith.texi (Operations on Complex): Fix description
17051 of carg branch cut.
17052
17053 2012-09-06 Joseph Myers <joseph@codesourcery.com>
17054
17055 [BZ #10014]
17056 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17057 host name.
17058
17059 [BZ #10038]
17060 * manual/memory.texi (Memory): Make order of menu items match
17061 order of sections.
17062
17063 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17064
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).
17068
17069 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17070
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
17077 DL_INITIAL_DTV.
17078
17079 2012-09-06 Petr Machata <pmachata@redhat.com>
17080
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.
17085
17086 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17087
17088 [BZ #14545]
17089 * csu/libc-tls.c (_dl_initial_dtv): New variable.
17090 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17091 freeing dtv[-1].
17092
17093 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17094
17095 [BZ #14544]
17096 * Makeconfig (link-static-before-libc): Replace $(+prector)
17097 with $(+prectorT).
17098 (link-static-after-libc): Replace $(+postctor) with
17099 $(+postctorT).
17100 (link-bounded): Replace $(+prector)/$(+postctor) with
17101 $(+prectorT)/$(+postctorT).
17102 (+prectorT): New macro.
17103 (+postctorT): Likewise.
17104
17105 2012-09-06 Joseph Myers <joseph@codesourcery.com>
17106
17107 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17108 (round_str): Handle values above the maximum for IBM long double
17109 as inexact.
17110 * stdlib/tst-strtod-round.c (tests): Regenerated.
17111
17112 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17113
17114 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17115 assembler flag.
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
17121 for zarch.
17122
17123 2012-09-05 David S. Miller <davem@davemloft.net>
17124
17125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17126
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
17131 entries.
17132
17133 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17134
17135 * malloc/arena.c: Fold copyright years.
17136 * malloc/mcheck.c, malloc/memusage.c: Likewise.
17137
17138 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17139
17140 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17141
17142 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17143
17144 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17145
17146 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17147
17148 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17149 change internal state upon failure.
17150
17151 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
17152
17153 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17154 * malloc/memusage.c (mmap): Likewise.
17155 (mmap64, mremap): Likewise. Adjust name in comment.
17156
17157 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17158
17159 * libio/fileops.c: Fix typos in comments.
17160 * libio/oldfileops.c: Likewise.
17161 * libio/wfileops.c: Likewise.
17162
17163 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17164
17165 [BZ #1349]
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
17169 requested size.
17170 * malloc/malloc.c (musable): Use malloc_check_get_size.
17171 * malloc/tst-malloc-usable.c: New test case.
17172
17173 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17174
17175 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17176
17177 2012-09-05 Allan McRae <allan@archlinux.org>
17178
17179 [BZ #13966]
17180 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17181 determine header location.
17182 * configure: Regenerated.
17183
17184 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17185
17186 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17187 float format.
17188 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
17189 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17190 format.
17191 (test): Regenerate.
17192
17193 2012-09-04 David S. Miller <davem@davemloft.net>
17194
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.
17198
17199 2012-09-04 Florian Weimer <fweimer@redhat.com>
17200
17201 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17202 failures.
17203
17204 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17205
17206 2012-09-04 Joseph Myers <joseph@codesourcery.com>
17207
17208 [BZ #9914]
17209 * libio/iogetdelim.c: Include <limits.h>.
17210 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17211 + len + 1 would overflow.
17212
17213 2012-09-03 Andreas Jaeger <aj@suse.de>
17214
17215 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17216 * sysdeps/i386/fpu/libm-test-ulps: Update.
17217
17218 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17219
17220 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17221 Add s_sinf-sse2, s_conf-sse2.
17222
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.
17227
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.
17234
17235 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17236 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17237
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.
17241
17242 * math/libm-test.inc (cos_test): Add more test cases.
17243 (sin_test): Likewise.
17244 (sincos_test): Likewise.
17245
17246 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17247
17248 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17249 (IFUNC_RESOLVE): Make pointers to the specialized implementations
17250 hidden.
17251 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17252
17253 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
17254
17255 [BZ #14538]
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 ().
17260
17261 2012-09-01 Allan McRae <allan@archlinux.org>
17262
17263 [BZ #13412]
17264 * configure.in (AWK): Require gawk version 3.0 or later.
17265 * configure: Regenerated.
17266
17267 2012-09-01 Joseph Myers <joseph@codesourcery.com>
17268
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
17275 conditionals.
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
17286 conditional code.
17287 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17288 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17289
17290 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
17291
17292 [BZ #14476]
17293 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17294 scripts/test-installation.pl.
17295
17296 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17297 and $ld_so_version if it is set.
17298
17299 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17300
17301 [BZ #14516]
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.
17305
17306 2012-08-27 Joseph Myers <joseph@codesourcery.com>
17307
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):
17334 Remove.
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.
17340
17341 2012-08-27 Mike Frysinger <vapier@gentoo.org>
17342
17343 [BZ #5400]
17344 * NEWS: Add fixed bug number.
17345
17346 2012-08-27 Joseph Myers <joseph@codesourcery.com>
17347
17348 [BZ #14519]
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.
17353
17354 [BZ #3479]
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
17362 unconditionally.
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
17378 unconditional.
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.
17390
17391 [BZ #14459]
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.
17405
17406 2012-08-25 Marek Polacek <polacek@redhat.com>
17407
17408 * time/time.h: Fix some typos in comments.
17409
17410 2012-08-23 Roland McGrath <roland@hack.frob.com>
17411
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.
17415
17416 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
17417
17418 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17419 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17420
17421 2012-08-23 Joseph Myers <joseph@codesourcery.com>
17422
17423 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17424 #include of fxstatat64.c.
17425
17426 2012-08-22 Roland McGrath <roland@hack.frob.com>
17427
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.
17467
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.
17475
17476 [BZ# 13696]
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):
17490 Variables removed.
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
17506 [USE_NSCD].
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.
17512
17513 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17514
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.
17518
17519 2012-08-22 Roland McGrath <roland@hack.frob.com>
17520
17521 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17522 Conditionalize whole body on [IREL].
17523
17524 2012-08-22 Jeff Law <law@redhat.com>
17525
17526 [BZ #14505]
17527 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17528 if the family is PF_UNSPEC.
17529
17530 2012-08-22 Mike Frysinger <vapier@gentoo.org>
17531
17532 * Makerules (lib-version): Rename from V.
17533 (install-lib-nosubdir): Change V to lib-version.
17534
17535 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17536
17537 [BZ #14252]
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.
17544
17545 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17546
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.
17551
17552 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17553 array references.
17554 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17555
17556 [BZ #11607]
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.
17565
17566 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17567
17568 [BZ #11607]
17569 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17570 the first character.
17571
17572 2012-08-21 Roland McGrath <roland@hack.frob.com>
17573
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.
17577
17578 2012-08-21 Joseph Myers <joseph@codesourcery.com>
17579
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
17595 unconditional.
17596 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17597 conditional code.
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
17601 unconditional.
17602 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17603 conditional code.
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
17607 unconditional.
17608 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17609 conditional code.
17610
17611 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17612
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.
17616
17617 2012-08-20 Roland McGrath <roland@hack.frob.com>
17618
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>.
17622
17623 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17624 DSOCAPS to match condition on defining it.
17625
17626 2012-08-20 Joseph Myers <joseph@codesourcery.com>
17627
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.
17639
17640 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17641 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17642
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
17646 unconditional.
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.
17662
17663 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17664
17665 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17666
17667 2012-08-18 Andreas Jaeger <aj@suse.de>
17668
17669 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17670
17671 2012-08-18 Mike Frysinger <vapier@gentoo.org>
17672
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.
17677
17678 2012-08-18 Mike Frysinger <vapier@gentoo.org>
17679
17680 [BZ #9685]
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.
17686
17687 2012-08-17 Mike Frysinger <vapier@gentoo.org>
17688
17689 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17690
17691 2012-08-17 Marek Polacek <polacek@redhat.com>
17692
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.
17695
17696 2012-08-17 Roland McGrath <roland@hack.frob.com>
17697
17698 * configure.in: Add AC_SUBST for sysheaders.
17699 * configure: Regenerated.
17700 * config.make.in (sysheaders): New substituted variable.
17701
17702 * sysdeps/unix/mkfifo.c: Moved ...
17703 * sysdeps/posix/mkfifo.c: ... here.
17704 * sysdeps/unix/mkfifoat.c: Moved ...
17705 * sysdeps/posix/mkfifoat.c: ... here.
17706
17707 * sysdeps/unix/utime.c: Moved ...
17708 * sysdeps/posix/utime.c: ... here.
17709
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.
17714
17715 * sysdeps/unix/nice.c: Moved ...
17716 * sysdeps/posix/nice.c: ... here.
17717
17718 * sysdeps/unix/alarm.c: Moved ...
17719 * sysdeps/posix/alarm.c: ... here.
17720
17721 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17722
17723 2012-08-17 Jeff Law <law@redhat.com>
17724
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.
17734
17735 2012-08-17 Roland McGrath <roland@hack.frob.com>
17736
17737 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17738 * sysdeps/unix/syscalls.list: ... here.
17739
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.
17746
17747 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17748 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17749 Macros removed.
17750 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17751 [!NO_THREADS].
17752 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17753 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17754 Likewise.
17755
17756 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17757 __libc_cleanup_push argument.
17758
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.
17768
17769 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17770 last change.
17771
17772 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17773 [_IO_MTSAFE_IO].
17774 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17775 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17776 New macros.
17777
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.
17805
17806 * libio/Makefile: Test [$(libc-reentrant) = yes]
17807 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17808
17809 * Makeconfig
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.
17815
17816 2012-08-16 Gary Benson <gbenson@redhat.com>
17817
17818 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17819 unmapping the first object in a namespace.
17820
17821 2012-08-16 Roland McGrath <roland@hack.frob.com>
17822
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.
17836
17837 2012-08-16 Joseph Myers <joseph@codesourcery.com>
17838
17839 * stdlib/longlong.h: Update from GCC.
17840
17841 2012-08-16 Roland McGrath <roland@hack.frob.com>
17842
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.
17850
17851 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17852
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.
17858
17859 2012-08-16 Joseph Myers <joseph@codesourcery.com>
17860
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.
17879
17880 2012-08-15 Roland McGrath <roland@hack.frob.com>
17881
17882 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17883 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17884
17885 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17886
17887 * elf/dl-sym.c: Include <stdlib.h>.
17888
17889 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17890 constants, which avoids warnings in 32-bit builds.
17891
17892 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17893 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17894
17895 * misc/lseek.c: File moved to ...
17896 * io/lseek.c: ... here.
17897
17898 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17899
17900 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17901 shifting LEN more than 31 bits at once.
17902
17903 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17904
17905 [BZ #14195]
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.
17912
17913 2012-08-15 Andreas Jaeger <aj@suse.de>
17914
17915 [BZ #14090]
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.
17920
17921 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17922
17923 [BZ #14090]
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.
17928
17929 2012-08-15 Roland McGrath <roland@hack.frob.com>
17930
17931 * string/str-two-way.h: Include <sys/param.h>.
17932 (MAX): Macro removed.
17933
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>.
17937
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".
17943
17944 * include/dirent.h: Declare __getdirentries.
17945
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.
17948
17949 2012-08-14 Mike Frysinger <vapier@gentoo.org>
17950
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.
17964
17965 2012-08-14 Roland McGrath <roland@hack.frob.com>
17966
17967 * elf/dl-open.c: Include <atomic.h>.
17968 * elf/dl-lookup.c: Likewise.
17969
17970 2012-08-14 Joseph Myers <joseph@codesourcery.com>
17971
17972 * sysdeps/unix/sysv/linux/kernel-features.h
17973 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
17974 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
17975 unconditionally.
17976 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
17977 unconditionally.
17978 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
17979 condition on __ASSUME_CLONE_THREAD_FLAGS.
17980
17981 2012-08-14 Andreas Jaeger <aj@suse.de>
17982
17983 * sysdeps/i386/fpu/libm-test-ulps: Update.
17984
17985 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
17986
17987 * include/atomic.h (atomic_exchange_and_add): Split into ...
17988 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
17989 New atomic macros.
17990
17991 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
17992
17993 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17994
17995 2012-08-13 Jeff Law <law@redhat.com>
17996
17997 * manual/stdio.texi (snprintf): Clarify handling of the trailing
17998 null byte in the output string.
17999
18000 2012-08-10 Joseph Myers <joseph@codesourcery.com>
18001
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.
18010
18011 2012-08-09 Jeff Law <law@redhat.com>
18012
18013 [BZ #13939]
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
18020 arena_get2.
18021 (__libc_malloc): Unify retrying after main arena failure with
18022 __libc_memalign version.
18023 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18024
18025 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
18026
18027 [BZ #14166]
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
18038 __redirect_time.
18039 Include <time.h>.
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.
18054
18055 2012-08-08 Mark Salter <msalter@redhat.com>
18056
18057 * elf/elf.h
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.
18070
18071 2012-08-08 Joseph Myers <joseph@codesourcery.com>
18072
18073 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18074 Remove.
18075
18076 2012-08-08 Roland McGrath <roland@hack.frob.com>
18077
18078 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18079
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.
18083
18084 2012-08-07 Allan McRae <allan@archlinux.org>
18085
18086 [BZ #14303]
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
18090 not found.
18091 (open_input): Call CPP using execvp.
18092
18093 2012-08-07 Joseph Myers <joseph@codesourcery.com>
18094
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
18104 conditional code.
18105 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18106 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18107 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18108 code.
18109 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18110 unconditional.
18111 [__ASSUME_WAITID_SYSCALL]: Likewise.
18112 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18113
18114 2012-08-07 Roland McGrath <roland@hack.frob.com>
18115
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.
18140
18141 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18142 * bits/fcntl.h: ... here.
18143
18144 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18145 not 0.
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].
18158
18159 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18160 * bits/dirent.h: ... here.
18161
18162 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18163 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18164
18165 2012-08-07 Joseph Myers <joseph@codesourcery.com>
18166
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
18173 version.
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.
18186
18187 2012-08-06 Roland McGrath <roland@hack.frob.com>
18188
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.
18218
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.
18231
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.
18268
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.
18279
18280 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18281
18282 * stdlib/secure-getenv.c (__secure_getenv): Replace
18283 GLIBC_2_16 with GLIBC_2_17.
18284
18285 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18286
18287 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18288 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18289
18290 2012-08-03 David S. Miller <davem@davemloft.net>
18291
18292 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18293
18294 2012-08-03 Joseph Myers <joseph@codesourcery.com>
18295
18296 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18297 Remove.
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.
18307
18308 2012-08-03 Roland McGrath <roland@hack.frob.com>
18309
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.
18315
18316 * sysdeps/generic/eloop-threshold.h: New file.
18317 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18318 of MAXSYMLINKS.
18319 * elf/chroot_canon.c (chroot_canon): Likewise.
18320
18321 2012-08-03 Joseph Myers <joseph@codesourcery.com>
18322
18323 [BZ #13717]
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
18330 kernel versions.
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
18337 i386.
18338 (__ASSUME_UTIMES): Likewise.
18339 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18340 kernel version.
18341 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18342 (__ASSUME_TMPFS_NAME): Likewise.
18343 * README: Update reference to Linux kernel versions.
18344
18345 2012-08-02 Marek Polacek <polacek@redhat.com>
18346
18347 [BZ# 14150]
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.
18427
18428 2012-08-01 Roland McGrath <roland@hack.frob.com>
18429
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.
18438
18439 2012-08-01 Marek Polacek <polacek@redhat.com>
18440
18441 * libc/Makeconfig: Use elf in place of binfmt-subdir.
18442 Use dlfcn directly instead of a variable.
18443 (binfmt-subdir): Do not define.
18444 (dlfcn): Likewise.
18445
18446 2012-08-01 Joseph Myers <joseph@codesourcery.com>
18447
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
18455 macro definition.
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.
18464
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.
18479
18480 2012-08-01 Roland McGrath <roland@hack.frob.com>
18481
18482 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18483 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18484
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.
18506
18507 [BZ #14138]
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.
18512
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.
18518
18519 2012-08-01 Florian Weimer <fweimer@redhat.com>
18520
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):
18525 Likewise.
18526 * WUR-REPORT: Remove set*id functions.
18527
18528 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18529
18530 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18531
18532 2012-07-31 Roland McGrath <roland@hack.frob.com>
18533
18534 [BZ #10191]
18535 * include/sys/socket.h (__libc_accept, __libc_accept4):
18536 Add attribute_hidden.
18537 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18538
18539 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18540 use of PTR_MANGLE.
18541 * inet/getnetgrent_r.c (setup): Likewise.
18542
18543 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18544
18545 2012-07-31 David S. Miller <davem@davemloft.net>
18546
18547 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18548
18549 2012-07-31 Joseph Myers <joseph@codesourcery.com>
18550
18551 [BZ #13629]
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
18554 than 1.0.
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.
18564
18565 2012-07-31 Florian Weimer <fweimer@redhat.com>
18566
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.
18570
18571 2012-07-30 Roland McGrath <roland@hack.frob.com>
18572
18573 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18574 rather than to 1.
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.
18581
18582 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18583 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18584
18585 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18586 definition on [!__NO_LONG_DOUBLE_MATH].
18587
18588 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18589 PTR_MANGLE and PTR_DEMANGLE.
18590
18591 * socket/accept4.c (accept4): Rename to __libc_accept4.
18592 Define accept4 as a weak alias.
18593
18594 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18595 on [_DIRENT_HAVE_D_TYPE].
18596 * io/ftw.c (ftw_dir): Likewise.
18597
18598 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18599
18600 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18601
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.
18607 (_NSIG): Now 32.
18608
18609 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18610 initializer on [_LIBC_REENTRANT].
18611
18612 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18613 definitions inside [_POSIX_MAPPED_FILES].
18614
18615 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18616
18617 * dirent/opendir.c: Include <fcntl.h>.
18618
18619 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18620 (__libc_getspecific): Likewise.
18621 (__libc_key_create): Likewise.
18622
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.
18631
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>.
18644
18645 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18646 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18647
18648 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18649 [HAVE_MMAP].
18650
18651 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18652 Add multiple inclusion protection.
18653
18654 2012-07-27 David S. Miller <davem@davemloft.net>
18655
18656 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18657
18658 2012-07-27 Gary Benson <gbenson@redhat.com>
18659
18660 [BZ #14298]
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
18674 "unmap_complete".
18675 * elf/rtld-debugger-interface.txt: New file documenting the above.
18676
18677 2012-07-26 Roland McGrath <roland@hack.frob.com>
18678
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.
18683
18684 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18685
18686 * inet/check_native.c: New file.
18687
18688 2012-07-26 Joseph Myers <joseph@codesourcery.com>
18689
18690 [BZ #13629]
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.
18702
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
18709 tst-audit.h.
18710 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18711 macro.
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
18717 macro.
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
18723 macro.
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
18729 macro.
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
18735 macro.
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
18741 macro.
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.
18757
18758 2012-07-26 Andreas Jaeger <aj@suse.de>
18759
18760 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18761 ptrace.
18762
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
18766 PTRACE_O_MASK.
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.
18770
18771 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18772 value.
18773
18774 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18775 _sigsys.
18776 (si_call_addr, si_syscall, si_arch): Define new macro.
18777 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18778 _sigsys.
18779 (si_call_addr, si_syscall, si_arch): Define new marcro.
18780 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18781 _sigsys.
18782 (si_call_addr, si_syscall, si_arch): Define new macro.
18783 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18784 _sigsys.
18785 (si_call_addr, si_syscall, si_arch): Define new macro.
18786
18787 2012-07-25 Joseph Myers <joseph@codesourcery.com>
18788
18789 [BZ #13717]
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
18798 kernel version.
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):
18807 Remove.
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
18814 code.
18815 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18816 Remove conditional code.
18817 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18818 code.
18819 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18820 unconditional.
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):
18824 Remove.
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
18833 code.
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
18838 conditional code.
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
18842 code.
18843 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18844 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18845 conditional code.
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
18850 conditional code.
18851 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18852 unconditional.
18853 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18854 conditional code.
18855 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18856 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18857 unconditional.
18858 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18859 conditional code.
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
18864 conditional code.
18865 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18866 unconditional.
18867 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18868 conditional code.
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
18873 conditional code.
18874 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18875 unconditional.
18876 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18877 conditional code.
18878
18879 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18880
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.
18904
18905 2012-07-25 Florian Weimer <fweimer@redhat.com>
18906
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
18919 secure_getenv.
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:
18933 Likewise.
18934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18935 Likewise.
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.
18943
18944 2012-07-25 Joseph Myers <joseph@codesourcery.com>
18945
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
18967 pltexit members.
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.
18974
18975 2012-07-25 Marek Polacek <polacek@redhat.com>
18976
18977 [BZ #6808]
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.
18985
18986 2012-07-24 Joseph Myers <joseph@codesourcery.com>
18987
18988 * conform/data/time.h-data (NULL): Use macro-constant. Require
18989 equal to 0.
18990 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
18991 clock_t.
18992 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
18993
18994 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
18995
18996 * configure.in <sysdeps resolving>: Correct printing
18997 Implies_before.
18998 * configure: Regenerate.
18999
19000 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
19001
19002 * math/w_ilogb.c: Include <limits.h>.
19003 * math/w_ilogbl.c: Likewise.
19004
19005 2012-07-20 Joseph Myers <joseph@codesourcery.com>
19006
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.
19012
19013 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
19014
19015 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19016 (__sendto): Use create_address_port. Initialize APORT and deallocate
19017 it if not null.
19018
19019 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19020 with O_NOLINK passed to __file_name_lookup.
19021
19022 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19023 with O_NOLINK passed to __file_name_lookup.
19024
19025 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19026 negative N or less than NGIDS.
19027
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.
19031
19032 2012-07-20 Joseph Myers <joseph@codesourcery.com>
19033
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:
19044 ... here.
19045 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19047 ... here.
19048 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19049 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19050 ... here.
19051 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19053 ... here.
19054 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19055 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19056 ... here.
19057 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19058 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19059 ... here.
19060
19061 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19062
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.
19067
19068 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19069
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.
19082
19083 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19084
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.
19108
19109 2012-07-17 Marek Polacek <polacek@redhat.com>
19110
19111 [BZ #14349]
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.
19128
19129 * elf/dl-open.c: Comment fixes.
19130
19131 2012-07-17 Joseph Myers <joseph@codesourcery.com>
19132
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:
19145 ... here.
19146 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19148 ... here.
19149 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19151 ... here.
19152 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19153 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19154 ... here.
19155 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19156 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19157 ... here.
19158 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19159 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19160 ... here.
19161 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19162 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19163 ... here.
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.
19166
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.
19180
19181 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19182
19183 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19184 zero value for regular exit case.
19185
19186 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19187 (__start_context): Preserve zero value for regular exit case.
19188
19189 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19190 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19191
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
19195 exit call.
19196
19197 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
19198
19199 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19200 preprocessor. Test for each exception mask separately.
19201
19202 2012-07-16 Andreas Jaeger <aj@suse.de>
19203
19204 * po/ru.po: Update from translation team.
19205
19206 2012-07-15 Joseph Myers <joseph@codesourcery.com>
19207
19208 * conform/data/string.h-data (NULL): Use macro-constant. Require
19209 equal to 0.
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.
19215
19216 2012-07-13 Andreas Jaeger <aj@suse.de>
19217
19218 * po/fr.po: Update from translation team.
19219
19220 2012-07-12 Marek Polacek <polacek@redhat.com>
19221
19222 [BZ #14173]
19223 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19224 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19225 loop condition.
19226
19227 2012-07-12 Joseph Myers <joseph@codesourcery.com>
19228
19229 [BZ #13717]
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
19235 version.
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
19243 unconditionally.
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.
19248
19249 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
19250
19251 [BZ #14307]
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).
19262
19263 2012-07-11 Andreas Jaeger <aj@suse.de>
19264
19265 * po/fr.po: Update from translation team.
19266
19267 * po/sv.po: Update from translation team
19268 * po/fr.po: Another update from translation team.
19269
19270 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19271
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.
19276
19277 2012-07-11 David S. Miller <davem@davemloft.net>
19278
19279 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19280
19281 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
19282
19283 [BZ #14347]
19284 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19285 (INTERNAL_MARK): Shift it here.
19286
19287 2012-07-10 Marek Polacek <polacek@redhat.com>
19288
19289 [BZ #14151]
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
19294 with .globl.
19295 * sysdeps/i386/configure: Regenerated.
19296 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19297 with .globl.
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.
19326
19327 2012-07-09 Roland McGrath <roland@hack.frob.com>
19328
19329 [BZ #14336]
19330 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
19331 system".
19332 * manual/message.texi (The Uniforum approach): Likewise.
19333 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19334 (glibc iconv Implementation): Likewise.
19335
19336 2012-07-09 Joseph Myers <joseph@codesourcery.com>
19337
19338 [BZ #14337]
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.
19350
19351 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
19352
19353 [BZ #14283]
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.
19356
19357 [BZ #14042]
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.
19363
19364 2012-07-06 Joseph Myers <joseph@codesourcery.com>
19365
19366 [BZ #14154]
19367 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19368 approximation for values within 0x1p-13f of an odd multiple of
19369 pi/4.
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.
19373
19374 [BZ #6778]
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
19384 define.
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.
19392
19393 2012-07-06 Mike Frysinger <vapier@gentoo.org>
19394
19395 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19396
19397 2012-07-05 Joseph Myers <joseph@codesourcery.com>
19398
19399 [BZ #14157]
19400 [BZ #14331]
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.
19410
19411 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
19412
19413 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19414 xopen-msg.sed.
19415 * catgets/xopen-msg.awk: New file.
19416 * catgets/xopen-msg.sed: Removed.
19417
19418 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19419 po2text.sed.
19420 * intl/po2test.awk: New file.
19421 * intl/po2test.sed: Removed.
19422
19423 2012-07-04 Joseph Myers <joseph@codesourcery.com>
19424
19425 [BZ #14328]
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.
19444
19445 2012-07-03 Mike Frysinger <vapier@gentoo.org>
19446
19447 * .gitignore: Delete /ports entry.
19448
19449 2012-07-03 Andreas Jaeger <aj@suse.de>
19450
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.
19458
19459 2012-07-03 Joseph Myers <joseph@codesourcery.com>
19460
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.
19507
19508 [BZ #14283]
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.
19516
19517 [BZ #14273]
19518 * math/libm-test.inc (cosh_test): Add more tests.
19519
19520 * version.h (RELEASE): Set to "development".
19521 (VERSION): Set to "2.16.90".
19522
19523 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19524
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.
19528
19529 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19530
19531 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19532
19533 2012-06-27 Andreas Jaeger <aj@suse.de>
19534
19535 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19536
19537 2012-06-25 Andreas Jaeger <aj@suse.de>
19538
19539 * sysdeps/s390/fpu/libm-test-ulps: Update.
19540
19541 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19542 Thomas Schwinge <thomas@codesourcery.com>
19543
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
19547 fanotify_mark.
19548
19549 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19550
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.
19555
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):
19561 Likewise.
19562
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.
19566
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.
19573
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.
19577
19578 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19579 initialize the GOT register before use.
19580
19581 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19582 calculation of ARGC > 4.
19583
19584 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19585 meaningful names to some local labels.
19586
19587 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19588 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19589
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.
19599
19600 2012-06-22 Andreas Schwab <schwab@redhat.com>
19601
19602 [BZ #13579]
19603 * include/link.h (struct link_map): Add l_free_initfini.
19604 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19605 l_initfini.
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
19609 set.
19610
19611 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19612
19613 * configure.in: Use AC_LANG_SOURCE.
19614 * configure: Regenerate.
19615
19616 2012-06-22 Roland McGrath <roland@hack.frob.com>
19617
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.
19626
19627 2012-06-21 Jeff Law <law@redhat.com>
19628
19629 [BZ #14277]
19630 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19631 free. Simplify list management for _LIBC case.
19632
19633 2012-06-21 Joseph Myers <joseph@codesourcery.com>
19634
19635 [BZ #14273]
19636 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19637 Clear sign bit of 64-bit integer value before comparing against
19638 overflow value.
19639
19640 * sysdeps/mach/configure: Regenerated.
19641
19642 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19643
19644 [BZ #14278]
19645 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19646
19647 2012-06-21 Jeff Law <law@redhat.com>
19648
19649 [BZ #13882]
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.
19654
19655 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19656
19657 * scripts/list-sources.sh: Scan PORTS for translations.
19658 * po/libc.pot: Regenerated.
19659
19660 2012-06-21 Andreas Jaeger <aj@suse.de>
19661
19662 [BZ #12194]
19663 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19664 warning.
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.
19668
19669 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19670
19671 [BZ #14117]
19672 * sysdeps/i386/fpu_control.h: Removed.
19673 * sysdeps/x86_64/fpu_control.h: Moved to ...
19674 * sysdeps/x86/fpu_control.h: Here.
19675
19676 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19677 (_FPU_SETCW): Likewise.
19678
19679 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19680
19681 [BZ #14117]
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.
19685
19686 [BZ #14050]
19687 [BZ #14117]
19688 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19689 functions if __x86_64__ is defined.
19690
19691 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19692
19693 * string/endian.h: Add !__ASSEMBLER__ condition for including
19694 conversion interfaces.
19695
19696 2012-06-15 Joseph Myers <joseph@codesourcery.com>
19697
19698 [BZ #14241]
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
19701 integers.
19702 * math/libm-test.inc (pow_test): Add more tests.
19703
19704 2012-06-15 Andreas Jaeger <aj@suse.de>
19705
19706 * manual/contrib.texi (Contributors): Update entry of Liubov
19707 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19708 Machado Filho.
19709
19710 2012-06-15 Cyril Hrubis <metan@ucw.cz>
19711
19712 * string/string.h: Add __wur to GNU version of strerror_r.
19713
19714 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19715
19716 [BZ #14229]
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.
19721
19722 2012-06-14 Roland McGrath <roland@hack.frob.com>
19723
19724 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19725
19726 2012-06-14 Joseph Myers <joseph@codesourcery.com>
19727
19728 * libm_test.inc (csqrt_test): Allow more spurious underflow
19729 exceptions.
19730 (j0_test): Likewise.
19731 (j1_test): Likewise.
19732 (y0_test): Likewise.
19733 (y1_test): Likewise.
19734
19735 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19736
19737 * po/Makefile (libc.pot): Use UTF-8 charset.
19738
19739 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19740
19741 [BZ #14210]
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.
19747
19748 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19749
19750 [BZ #14050]
19751 [BZ #14117]
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.
19758 (lrint): Likewise.
19759 (llrintf): Likewise.
19760 (llrint): Likewise.
19761 (fmaxf): Likewise.
19762 (fmax): Likewise.
19763 (fminf): Likewise.
19764 (fmin): Likewise.
19765 (rint): Likewise.
19766 (rintf): Likewise.
19767 (ceil): Likewise.
19768 (ceilf): Likewise.
19769 (floor): Likewise.
19770 (floorf): Likewise.
19771 (nearbyint): Likewise.
19772 (nearbyintf): Likewise.
19773
19774 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19775
19776 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19777 non-default versions.
19778
19779 2012-06-11 Roland McGrath <roland@hack.frob.com>
19780
19781 [BZ #14218]
19782 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19783
19784 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19785
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.
19790
19791 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19792 reading it.
19793 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19794 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19795
19796 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19797
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.
19802
19803 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19804
19805 [BZ #14117]
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.
19811
19812 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19813 __SSE_MATH__.
19814
19815 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19816
19817 [BZ #14134]
19818 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19819 character 0xffff that matches the last element of the
19820 conversion table.
19821
19822 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19823
19824 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19825 fmodl commit.
19826
19827 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19828
19829 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19830 values higher than 25.6283.
19831
19832 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19833
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.
19838
19839 2012-06-04 Mike Frysinger <vapier@gentoo.org>
19840
19841 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19842 cpu2 is -1 and errno is not ENOSYS.
19843
19844 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19845
19846 [BZ #14117]
19847 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19848 * sysdeps/x86/bits/string.h: This.
19849 * sysdeps/x86_64/bits/string.h: Removed.
19850
19851 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19852 if not compiling for x86-64, but compiling for >= i486.
19853
19854 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19855 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19856
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.
19866
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.
19873
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.
19880
19881 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19882
19883 [BZ #13743]
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.
19894
19895 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19896 Jakub Jelinek <jakub@redhat.com>
19897
19898 [BZ #14188]
19899 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19900 where __builtin_expect is unavailable.
19901
19902 2012-06-03 David S. Miller <davem@davemloft.net>
19903
19904 * stdlib/longlong.h: Updated from GCC.
19905
19906 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19907
19908 [BZ #14042]
19909 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19910 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19911 __mcount_internal.
19912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19913 (GLIBC_2.16): Likewise.
19914
19915 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19916
19917 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19918
19919 2012-06-01 Joseph Myers <joseph@codesourcery.com>
19920
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
19925 variable.
19926 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19927 Likewise.
19928 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19929 Likewise.
19930 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19931 Likewise.
19932
19933 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19934 definition. Document in comment.
19935
19936 2012-06-01 David S. Miller <davem@davemloft.net>
19937
19938 * stdlib/longlong.h: Updated from GCC.
19939
19940 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19941
19942 [BZ #14117]
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
19948 sys/io.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.
19955
19956 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
19957 Define only if __x86_64__ is defined.
19958
19959 2012-06-01 Joseph Myers <joseph@codesourcery.com>
19960
19961 [BZ #14048]
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.
19965
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.
19973
19974 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
19975
19976 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
19977 computation is not scheduled after fetestexcept.
19978
19979 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19980
19981 [BZ #14117]
19982 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
19983 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
19984
19985 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19986
19987 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
19988 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
19989
19990 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
19991
19992 [BZ #14117]
19993 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
19994 <bits/wordsize.h>.
19995 (__WCHAR_MIN): Support __WORDSIZE == 64.
19996 (__WCHAR_MAX): Likewise.
19997
19998 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
19999 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20000
20001 [BZ #14183]
20002 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20003 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20004
20005 [BZ #14117]
20006 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20007 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20008
20009 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20010 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20011
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.
20018
20019 2012-05-31 David S. Miller <davem@davemloft.net>
20020
20021 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20022 entries.
20023
20024 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
20025
20026 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20027 gen-libm-test.pl.
20028
20029 [BZ #14132]
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.
20047
20048 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
20049
20050 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20051 bits/sysctl.h.
20052
20053 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20054
20055 [BZ #14117]
20056 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20057 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20058
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.
20065
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.
20069
20070 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20071 with __addr.
20072 (insw): Likewise.
20073 (insl): Likewise.
20074 (outsb): Likewise.
20075 (outsw): Likewise.
20076 (outsl): Likewise.
20077
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.
20081
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.
20088
20089 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20090 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20091
20092 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20093 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20094
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.
20098
20099 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20100 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20101 to ...
20102 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20103
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.
20107
20108 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20109 for x86-64.
20110 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20111
20112 2012-05-31 Joseph Myers <joseph@codesourcery.com>
20113
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.
20119 (M_PIl): 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.
20127
20128 2012-05-31 David S. Miller <davem@davemloft.net>
20129
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.
20134
20135 2012-05-31 Mike Frysinger <vapier@gentoo.org>
20136
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.
20144
20145 2012-05-31 Marek Polacek <polacek@redhat.com>
20146
20147 [BZ #14132]
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.
20153
20154 2012-05-30 David S. Miller <davem@davemloft.net>
20155
20156 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20157 (___Q_simulate_exceptions): Use real FP ops rather than writing
20158 into the %fsr.
20159 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20160 Likewise.
20161
20162 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20163
20164 [BZ #14117]
20165 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20166 * sysdeps/x86/bits/xtitypes.h: This.
20167
20168 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20169 * sysdeps/x86/bits/wordsize.h: This.
20170
20171 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20172 * sysdeps/x86/bits/huge_vall.h: This.
20173
20174 * sysdeps/i386/bits/select.h: Removed.
20175 * sysdeps/x86_64/bits/select.h: Renamed to ...
20176 * sysdeps/x86/bits/select.h: This.
20177
20178 * sysdeps/i386/bits/setjmp.h: Removed.
20179 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20180 * sysdeps/x86/bits/setjmp.h: This.
20181
20182 * sysdeps/i386/bits/mathdef.h: Removed.
20183 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20184 * sysdeps/x86/bits/mathdef.h: This.
20185
20186 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20187
20188 [BZ #14132]
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
20197 alias.
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.
20202
20203 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20204
20205 [BZ #14117]
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.
20212
20213 * sysdeps/i386/bits/endian.h: Removed.
20214 * sysdeps/x86_64/bits/endian.h: Renamed to ...
20215 * sysdeps/x86/bits/endian.h: This.
20216
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.
20225
20226 2012-05-30 David S. Miller <davem@davemloft.net>
20227
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.
20238
20239 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20240
20241 [BZ #14183]
20242 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20243 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20244
20245 2012-05-30 Richard Henderson <rth@twiddle.net>
20246
20247 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20248 with #ifndef NOT_IN_libc.
20249
20250 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
20251 marked to avoid plt entry.
20252
20253 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20254
20255 [BZ #14112]
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
20261 abi-variants.
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
20267 entries.
20268 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20269 Removed.
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):
20281 Removed.
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
20287 macro.
20288 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20289 Renamed to ...
20290 (abi-*): This.
20291 (abi-64-ld-soname): New macro.
20292 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20293 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20294 Renamed to ...
20295 (abi-*): This.
20296 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20297 * sysdeps/x86_64/x32/shlib-versions: Likewise.
20298
20299 2012-05-30 Joseph Myers <joseph@codesourcery.com>
20300
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.
20327
20328 * configure.in (libc_cv_fpie): Weaken to a compile test using
20329 LIBC_TRY_CC_OPTION.
20330 * configure: Regenerated.
20331
20332 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20333
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:
20338 Refreshed.
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:
20345 Refreshed.
20346
20347 2012-05-27 David S. Miller <davem@davemloft.net>
20348
20349 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20350 (___Q_zero): New.
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.
20355 (numbers): Delete.
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
20365 formatting.
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
20370 formatting.
20371
20372 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
20373
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.
20387
20388 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20389
20390 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20391 fields.
20392
20393 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
20394
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):
20399 Likewise.
20400 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20401 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20402 Likewise.
20403
20404 2012-05-27 Ulrich Drepper <drepper@gmail.com>
20405
20406 * po/h.po: Update from translation team.
20407
20408 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
20409
20410 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20411
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):
20421 Likewise.
20422
20423 2012-05-26 Marek Polacek <polacek@redhat.com>
20424
20425 [BZ #14152]
20426 * math/libm-test.inc (fma_test): Don't always expect underflow
20427 exception.
20428
20429 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20430
20431 [BZ #12416]
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.
20435
20436 2012-05-25 Joseph Myers <joseph@codesourcery.com>
20437
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
20441 kernel-features.h.
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
20445 kernel-features.h.
20446 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20447 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20448
20449 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
20450
20451 * configure.in: Define the default includes to being none.
20452 * configure: Regenerated.
20453
20454 2012-05-25 Roland McGrath <roland@hack.frob.com>
20455
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.
20464
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.
20472
20473 2012-05-25 Joseph Myers <joseph@codesourcery.com>
20474
20475 [BZ #13717]
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
20613 unconditional.
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
20620 unconditional.
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.
20632
20633 2012-05-25 Richard Henderson <rth@twiddle.net>
20634
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
20638 elf_ifunc_invoke.
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.
20642
20643 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20644
20645 [BZ #14153]
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
20649 exception.
20650
20651 2012-05-24 Jeff Law <law@redhat.com>
20652
20653 * stdio-common/Makefile (tests): Add bug25.
20654 * stdio-common/bug25.c: New test.
20655
20656 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20657
20658 [BZ #13576]
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.
20662
20663 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20664
20665 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20666 Require >= 256.
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.
20697
20698 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20699
20700 [BZ #14132]
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
20727 hidden proto.
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
20756 proto.
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.
20882
20883 2012-05-24 Roland McGrath <roland@hack.frob.com>
20884
20885 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20886
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.
20892
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.
20897
20898 [BZ #14132]
20899 * include/sys/time.h (__gettimeofday): Remove macro.
20900 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20901 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20902 Remove INTDEF.
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.
20915
20916 2012-05-24 Daniel Jacobowitz <drow@false.org>
20917 H.J. Lu <hongjiu.lu@intel.com>
20918
20919 [BZ #12495]
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.
20926
20927 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20928
20929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20930 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20931 Likewise.
20932 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20933 Likewise.
20934 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20935 Likewise.
20936 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20937 Likewise.
20938 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20939 Likewise.
20940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
20941 Likewise.
20942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
20943 Likewise.
20944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
20945 Likewise.
20946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
20947 Likewise.
20948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
20949 Likewise.
20950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
20951 Likewise.
20952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
20953 Likewise.
20954
20955 * scripts/data/c++-types-x32-linux-gnu.data: New file.
20956 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
20957
20958 2012-05-24 Joseph Myers <joseph@codesourcery.com>
20959
20960 [BZ #10846]
20961 [BZ #14036]
20962 * math/libm-test.inc (exp_test): Add test from bug 14036.
20963 (pow_test): Add test from bug 10846.
20964
20965 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
20966 and other flags.
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.
20974
20975 * math/gen-libm-test.pl (%beautify): Add entries for underflow
20976 exceptions.
20977 * math/libm-test.inc ("Philosophy"): Update comment about
20978 exception testing.
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.
21012
21013 2012-05-23 David S. Miller <davem@davemloft.net>
21014
21015 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21016 (__libc_sigaction): Remove unused local variables.
21017
21018 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21019
21020 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21021
21022 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
21023
21024 mktime: avoid signed integer overflow
21025 * time/mktime.c (__mktime_internal): Do not mishandle the case
21026 where diff == INT_MIN.
21027
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.
21031
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
21036 tm_isdst values.
21037
21038 mktime: merge another wrapv change from gnulib
21039 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21040 from some compilers.
21041
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).
21048
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
21052 such types.
21053
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.
21061
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.
21068
21069 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21070
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):
21074 Likewise.
21075
21076 2012-05-23 Andreas Jaeger <aj@suse.de>
21077
21078 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21079 * sysdeps/unix/sysv/linux/poll.c: Remove file.
21080
21081 2012-05-23 Andreas Jaeger <aj@suse.de>
21082 Maximilian Attems <max@stro.at>
21083
21084 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21085 New macros.
21086
21087 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21088
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.
21092
21093 2012-05-23 Joseph Myers <joseph@codesourcery.com>
21094
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.
21101
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.
21106
21107 2012-05-23 Andreas Jaeger <aj@suse.de>
21108
21109 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21110 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21111 macro.
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.
21124
21125 2012-05-22 Roland McGrath <roland@hack.frob.com>
21126
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.
21130
21131 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21132
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>.
21141
21142 2012-05-22 Andreas Jaeger <aj@suse.de>
21143
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.
21147
21148 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21149
21150 [BZ #14122]
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.
21157
21158 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21159
21160 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21161 Add arch_prctl.
21162 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21163
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):
21167 New macro.
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].
21174
21175 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21176
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.
21185
21186 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21187
21188 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21189 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21190
21191 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21192 Use "neg %eax".
21193
21194 * time/mktime.c: Update copyright years.
21195
21196 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
21197
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.
21204
21205 * time/mktime.c (compile-command): Add "-I.".
21206
21207 mktime: merge mktime-internal.h change from gnulib
21208 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21209
21210 mktime: merge time_r change from gnulib
21211 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21212
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.
21216
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.
21220
21221 mktime: merge HAVE_CONFIG_H change from gnulib
21222 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21223
21224 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21225
21226 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21227 Use "neg %eax".
21228
21229 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21230 __rlim_t cast.
21231 (struct rusage): Use anonymous union to pad each field to
21232 __syscall_slong_t.
21233
21234 2012-05-21 David S. Miller <davem@davemloft.net>
21235
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.
21240
21241 2012-05-21 Joseph Myers <joseph@codesourcery.com>
21242
21243 * configure.in (libc_cv_predef_stack_protector): Only consider
21244 "foobar" and "__stack_chk_fail" lines in libc_undefs.
21245 * configure: Regenerated.
21246
21247 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21248
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.
21255
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):
21262 Renamed to ...
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.
21270
21271 2012-05-21 Andreas Jaeger <aj@suse.de>
21272
21273 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21274 only if [SHARED]. Add prototype for __wcschr_ia32.
21275
21276 2012-05-21 Roland McGrath <roland@hack.frob.com>
21277
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.
21283
21284 2012-05-21 Andreas Jaeger <aj@suse.de>
21285
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.
21289
21290 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21291
21292 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21293
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):
21297 New macro.
21298
21299 2012-05-21 Bruno Haible <bruno@clisp.org>
21300 Andreas Jaeger <aj@suse.de>
21301
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
21310 anymore.
21311
21312 2012-05-19 Andreas Jaeger <aj@suse.de>
21313 Roland McGrath <roland@hack.frob.com>
21314
21315 * manual/contrib.texi: Completely rewritten. It contains now an
21316 alphabetical list of contributors and their contributions.
21317
21318 2012-05-21 Richard Henderson <rth@twiddle.net>
21319
21320 * misc/getauxval.c (__getauxval): Use unsigned long int.
21321 * misc/sys/auxv.h: Include <sys/cdefs.h>.
21322 (getauxval): Use unsigned long int.
21323
21324 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21325
21326 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21327
21328 2012-05-21 Roland McGrath <roland@hack.frob.com>
21329
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).
21333
21334 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21335
21336 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21337
21338 2012-05-20 Richard Henderson <rth@twiddle.net>
21339
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:
21359 Update.
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.
21368
21369 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21370
21371 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21372
21373 2012-05-19 David S. Miller <davem@davemloft.net>
21374
21375 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21376
21377 2012-05-19 Joseph Myers <joseph@codesourcery.com>
21378
21379 [BZ #14123]
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.
21397
21398 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
21399
21400 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21401 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21402
21403 * sysdeps/x86_64/x32/_itoa.h: Add comment.
21404
21405 2012-05-19 Joseph Myers <joseph@codesourcery.com>
21406
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.
21438
21439 2012-05-18 Andreas Jaeger <aj@suse.de>
21440
21441 * csu/.gitignore: Delete.
21442
21443 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21444
21445 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21446 (timex): Use __syscall_slong_t.
21447
21448 2012-05-18 Andreas Jaeger <aj@suse.de>
21449 Carlos O'Donell <carlos_odonell@mentor.com>
21450
21451 * manual/install.texi (Configuring and compiling): Update
21452 description about files modified in the source directory.
21453 * INSTALL: Regenerated.
21454
21455 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21456
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.
21461
21462 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21463
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):
21468 Likewise.
21469 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21470 CFLAGS-memmove.c): Likewise.
21471 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21472 Likewise.
21473
21474 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21475
21476 * sysdeps/x86_64/x32/_itoa.h: New file.
21477
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.
21481
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.
21486
21487 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21488 years.
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.
21492
21493 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21494 include <bits/wordsize.h>. Check __x86_64__ instead of
21495 __WORDSIZE.
21496 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21497 if __x86_64__ is defined. Use anonymous union on fpstate.
21498
21499 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21500 anonymous union.
21501
21502 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21503
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]:
21509 Likewise.
21510 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21511 Likewise.
21512 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21513 Likewise.
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].
21517
21518 * sysdeps/powerpc/powerpc32/dl-machine.c
21519 (__elf_machine_runtime_setup) [PROF]: Don't reference
21520 _dl_prof_resolve.
21521
21522 2012-05-18 Andreas Jaeger <aj@suse.de>
21523
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.
21527 (lrint): Likewise.
21528 (llrintf): Likewise.
21529 (llrint): Likewise.
21530 (fmaxf): Likewise.
21531 (fmax): Likewise.
21532 (fminf): Likewise.
21533 (fmin): Likewise.
21534 (rint): Likewise.
21535 (rintf): Likewise.
21536 (nearbyint): Likewise.
21537 (nearbyintf): Likewise.
21538 (ceil): Likewise.
21539 (ceilf): Likewise.
21540 (floor): Likewise.
21541 (floorf): Likewise.
21542
21543 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21544
21545 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21546 on both fields and cast pointer to __syscall_ulong_t.
21547
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.
21562
21563 2012-05-17 David S. Miller <davem@davemloft.net>
21564
21565 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21566
21567 2012-05-17 Andreas Jaeger <aj@suse.de>
21568
21569 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21570 warning.
21571
21572 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21573
21574 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21575
21576 2012-05-17 Andreas Jaeger <aj@suse.de>
21577
21578 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21579 when it is used.
21580
21581 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21582
21583 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21584
21585 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21586
21587 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21588 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21589
21590 2012-05-17 Andreas Jaeger <aj@suse.de>
21591 Carlos O'Donell <carlos_odonell@mentor.com>
21592
21593 [BZ #14059]
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
21613 are present.
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.
21619
21620 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21621
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.
21628
21629 2012-05-17 Andreas Jaeger <aj@suse.de>
21630
21631 * manual/examples/search.c (critter_cmp): Change signature to
21632 avoid warnings.
21633 * manual/string.texi (Collation Functions): Likewise.
21634
21635 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21636
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.
21644
21645 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21646
21647 [BZ #208]
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.
21652
21653 2012-05-16 Roland McGrath <roland@hack.frob.com>
21654
21655 [BZ #10375]
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.
21663
21664 [BZ #10375]
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.
21672
21673 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21674
21675 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21676 (mq_attr): Use __syscall_slong_t.
21677
21678 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21679
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.
21686
21687 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21688
21689 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21690
21691 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21692
21693 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21694
21695 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21696
21697 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21698 __syscall_ulong_t.
21699
21700 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21701 include <bits/wordsize.h>. Check __x86_64__ instead of
21702 __WORDSIZE.
21703 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21704 defined.
21705 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21706
21707 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21708 include <bits/wordsize.h>. Check __x86_64__ instead of
21709 __WORDSIZE.
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
21713 defined.
21714
21715 2012-05-16 Joseph Myers <joseph@codesourcery.com>
21716
21717 * configure.in (makeinfo): Require version 4.5 or later. Allow
21718 versions 5 to 9.
21719 * configure: Regenerated.
21720 * manual/install.texi (texinfo): Increase version requirement to
21721 4.5 or later.
21722 * INSTALL: Regenerated.
21723
21724 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21725
21726 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21727
21728 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21729
21730 * sysdeps/x86_64/x32/ffs.c: New file.
21731
21732 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21733 __syscall_ulong_t.
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.
21738
21739 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21740 __syscall_ulong_t.
21741
21742 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21743 <bits/wordsize.h>.
21744 (msgqnum_t): Use __syscall_ulong_t.
21745 (msglen_t): Likewise.
21746 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21747 __syscall_ulong_t.
21748
21749 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21750 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21751
21752 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21753
21754 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21755 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21756
21757 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21758 __syscall_slong_t.
21759
21760 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21761 include <bits/wordsize.h>. Check __x86_64__ instead of
21762 __WORDSIZE.
21763
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.
21767
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.
21771
21772 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21773 <stdint.h>.
21774 (GET_PC): Cast to uintptr_t first.
21775 (GET_FRAME): Likewise.
21776 (GET_STACK): Likewise.
21777
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.
21807
21808 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21809
21810 * Makerules (+depfiles): Also collect depfiles from .oS in
21811 $(extra-objs).
21812 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21813 .oS, $(libnldbl-routines)).
21814
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).
21821
21822 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21823
21824 * bits/types.h (__snseconds_t): Removed.
21825 * time/time.h (struct timespec): Replace __snseconds_t with
21826 __syscall_slong_t.
21827 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21828 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21829 Likewise.
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.
21836
21837 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21838
21839 * sysdeps/mach/hurd/bits/typesizes.h
21840 (__SYSCALL_SLONG_TYPE): New macro.
21841 (__SYSCALL_ULONG_TYPE): Likewise.
21842
21843 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21844
21845 * bits/types.h (__syscall_slong_t): New type.
21846 (__syscall_ulong_t): Likewise.
21847
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.
21859
21860 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21861
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
21870 signal stack.
21871 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21872
21873 2012-05-15 Joseph Myers <joseph@codesourcery.com>
21874
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>.
21887
21888 [BZ #14109]
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.
21893
21894 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21895
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.
21899
21900 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21901
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
21904 load frame size.
21905
21906 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21907
21908 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21909
21910 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21911
21912 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21913 * sysdeps/x86_64/x32/sysdep.h: New file.
21914
21915 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21916
21917 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21918 * sysdeps/x86_64/setjmp.S: Likewise.
21919
21920 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21921
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.
21927
21928 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21929
21930 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21931 include of <not-cancel.h>.
21932
21933 2012-05-15 Roland McGrath <roland@hack.frob.com>
21934
21935 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21936
21937 2012-05-15 Jeff Law <law@redhat.com>
21938 Andreas Jaeger <aj@suse.de>
21939
21940 [BZ #13594]
21941 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
21942 out from...
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.
21947
21948 2012-05-15 Roland McGrath <roland@hack.frob.com>
21949
21950 * configure.in (sysnames): Look for Implies-before and Implies-after
21951 files.
21952 * configure: Regenerated.
21953
21954 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21955
21956 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
21957 8-byte data alignment with LP_SIZE alignment.
21958
21959 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21960
21961 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
21962 into R10_LP.
21963
21964 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21965
21966 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
21967
21968 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21969
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:
21973 Likewise.
21974 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21975
21976 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21977
21978 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
21979 (stackinfo_sub_sp): Likewise.
21980
21981 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21982
21983 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
21984 RAX_LP.
21985
21986 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21987
21988 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
21989 into R*_LP.
21990
21991 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21992
21993 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
21994 sizes into R*_LP.
21995
21996 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21997
21998 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
21999
22000 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22001
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
22004 R8_LP.
22005
22006 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22007
22008 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22009 R8_LP.
22010
22011 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22012
22013 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22014 logb for POWER7.
22015 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22016 logbf for POWER7.
22017 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22018 logbl for POWER7.
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.
22025
22026 2012-05-15 Joseph Myers <joseph@codesourcery.com>
22027
22028 * README.libm: Remove file.
22029
22030 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22031
22032 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22033 count for x32. Use R*_LP and omit operand-size suffix.
22034
22035 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22036
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.
22040
22041 2012-05-14 Roland McGrath <roland@hack.frob.com>
22042
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.
22046
22047 2012-05-14 Joseph Myers <joseph@codesourcery.com>
22048
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.
22052
22053 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22054
22055 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22056 the `q' suffix from lea and replace .quad with ASM_ADDR.
22057
22058 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22059
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
22062 instead of $17.
22063 (PTR_DEMANGLE): Likewise.
22064
22065 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22066
22067 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22068 (LP_OP): Likewise.
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.
22077 (R8_LP): Likewise.
22078 (R9_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.
22086
22087 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22088
22089 * sysdeps/x86_64/x32/dl-machine.h: New file.
22090
22091 2012-05-14 Andreas Jaeger <aj@suse.de>
22092
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.
22102 (lib): Remove.
22103 (stubs): Remove.
22104 ($(objpfx)stubs ../po/manual.pot): Remove.
22105 ($(objpfx)stamp%): Remove.
22106 (make-target-directory): Remove.
22107 (subdir_install): Remove.
22108 (routines): Remove.
22109 (aux): Remove.
22110 (sources): Remove.
22111 (objects): Remove.
22112 (headers): Remove.
22113
22114 [BZ #13750]
22115 * manual/.gitignore: Remove, it's not needed anymore.
22116 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22117 all files in it.
22118 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22119 directory.
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
22123 libc-texinfo.sh.
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.
22140
22141 * manual/install.texi (Configuring and compiling): Adjust since
22142 the info files are not part of the tar ball anymore.
22143
22144 2012-05-14 Andreas Jaeger <aj@suse.de>
22145
22146 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22147 variable.
22148
22149 2012-05-14 Joseph Myers <joseph@codesourcery.com>
22150
22151 [BZ #13717]
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
22173 conditional code.
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
22183 non-SPARC.
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
22189 conditional code.
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
22267 return 1.
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.
22272
22273 2012-05-14 Andreas Jaeger <aj@suse.de>
22274
22275 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22276 it's not used in glibc.
22277 (__coshm1): Likewise.
22278 (__acosh1p): Likewise.
22279 (__sgn): Likewise.
22280
22281 * manual/string.texi (Copying and Concatenation): Add missing
22282 variable in concat example.
22283 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22284
22285 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22286
22287 [BZ #14103]
22288 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22289 __builtin_clzl with __builtin_clzll.
22290
22291 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22292
22293 [BZ #14104]
22294 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22295 libc_freeres_ptr.
22296
22297 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22298
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.
22303
22304 2012-05-14 Mike Frysinger <vapier@gentoo.org>
22305
22306 * NEWS: Update ia64 info.
22307
22308 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
22309
22310 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22311 used as bcopy.
22312
22313 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
22314
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.
22319
22320 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22321
22322 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22323 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22324
22325 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22326
22327 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
22328 thread pointer.
22329 (TLS_IE): Use mov/add instead of movq/addq to load thread
22330 pointer.
22331 (TLS_GD_PREFIX): New.
22332 (TLS_GD): Use it.
22333
22334 2012-05-11 David S. Miller <davem@davemloft.net>
22335
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.
22339
22340 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22341
22342 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22343 is 32-byte aligned.
22344
22345 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
22346
22347 [BZ #11837]
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.
22352
22353 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
22354
22355 [BZ #13673]
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.
22360
22361 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22362
22363 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22364 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22365
22366 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22367
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.
22388
22389 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22390
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.
22394
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".
22398
22399 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22400 instead of int.
22401
22402 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22403 if __dir_mkfile succeeded.
22404
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.
22408
22409 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22410
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.
22418
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):
22424 New macros.
22425 (struct stat64): Likewise.
22426 (_STATBUF_ST_NSEC): New macro.
22427 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22428
22429 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22430 __strtoul_internal rather than strtoul.
22431
22432 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22433
22434 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22435 and reject them.
22436
22437 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22438
22439 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22440 which preserves existing values.
22441 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22442
22443 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22444
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.
22448
22449 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22450
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.
22455
22456 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22457
22458 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22459 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
22460
22461 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22462
22463 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22464 sysdeps/mach/hurd/readlink.c.
22465
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
22475 macro to -1.
22476 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22477 macro to -1.
22478 (_POSIX_ASYNC_IO): Undefine macro.
22479 (_POSIX_PRIORITIZED_IO): Undefine macro.
22480 (_POSIX_SPIN_LOCKS): Define macro to -1.
22481
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,
22486 F_DUPFD_CLOEXEC.
22487
22488 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22489
22490 * elf/Makefile (pldd-modules): Define unconditionally.
22491
22492 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22493
22494 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22495
22496 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22497
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.
22501
22502 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22503
22504 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22505
22506 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22507
22508 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22509
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.
22513
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.
22517
22518 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22519
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).
22524
22525 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22526
22527 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22528 REQUESTED_TIME. Properly set the remaining time and return EINTR
22529 if interrupted.
22530
22531 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22532
22533 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22534 Depend on against $(link-rpcuserlibs).
22535
22536 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22537
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
22544 attribute_relro.
22545
22546 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22547
22548 [BZ #3748]
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.
22554
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.
22562
22563 2012-05-10 Roland McGrath <roland@hack.frob.com>
22564
22565 * math/w_ilogbf.c: Add #include <limits.h>.
22566
22567 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22568
22569 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
22570 path instead of returning without unlocking.
22571
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.
22575
22576 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22577
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.
22584
22585 dup3 for GNU Hurd.
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.
22591
22592 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22593
22594 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22595
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
22601 d->port.lock.
22602
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.
22606
22607 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22608
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
22611 definitions.
22612
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
22618 __libc_accept4.
22619 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22620
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.
22625
22626 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22627
22628 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
22629
22630 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
22631
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.
22637
22638 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22639
22640 [BZ #3906]
22641 * bits/in.h (IPV6_PKTINFO): Define new macro.
22642 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22643
22644 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22645
22646 [BZ #13954]
22647 [BZ #13955]
22648 [BZ #13956]
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.
22656
22657 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22658 Andreas Jaeger <aj@suse.de>
22659
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.
22719
22720 2012-05-10 Roland McGrath <roland@hack.frob.com>
22721
22722 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22723 change. Update copyright years.
22724
22725 2012-05-10 Joseph Myers <joseph@codesourcery.com>
22726
22727 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22728
22729 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22730 Joseph Myers <joseph@codesourcery.com>
22731 Paul Pluzhnikov <ppluzhnikov@google.com>
22732
22733 [BZ #14012]
22734 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22735 requiring rpcgen.
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
22749 comment.
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.
22754
22755 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22756
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.
22760
22761 2012-05-10 Joseph Myers <joseph@codesourcery.com>
22762
22763 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22764 sysdeps/unix/sysv/syscalls.list.
22765 (stime): Likewise.
22766 (utime): Likewise.
22767 * sysdeps/unix/sysv/syscalls.list: Remove file.
22768
22769 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22770
22771 [BZ #3440]
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.
22777
22778 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22779
22780 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22781 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22782 after this.
22783
22784 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22785
22786 * stdlib/longlong.h: Updated from GCC.
22787
22788 2012-05-09 Andreas Jaeger <aj@suse.de>
22789
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.
22795
22796 [BZ #14053]
22797 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
22798 to asm.
22799 (lrint): Likewise.
22800 (llrintf): Likewise.
22801 (llrint): Likewise.
22802 (rint): Likewise.
22803 (rintf): Likewise.
22804 (nearbyint): Likewise.
22805 (nearbyintf): Likewise.
22806
22807 2012-05-09 Andreas Jaeger <aj@suse.de>
22808 Pedro Alves <palves@redhat.com>
22809
22810 * nscd/nscd.c (run_mode): Use enum.
22811 (main): Cleanup coding style issue.
22812
22813 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
22814 Andreas Jaeger <aj@suse.de>
22815
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.
22822
22823 2012-05-09 Andreas Jaeger <aj@suse.de>
22824
22825 [BZ #14083]
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]:
22830 Likewise.
22831
22832 2012-05-09 Joseph Myers <joseph@codesourcery.com>
22833
22834 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22835 == 0.
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.
22847 Specify type.
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
22851 type.
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.
22867 Specify type.
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
22934 allow.
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
22940 positive value.
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
22970 allow.
22971
22972 2012-05-08 Ian Wienand <ianw@vmware.com>
22973
22974 [BZ #14080]
22975 * time/tzset.c (__tzset_parse_tz): Update default rules for
22976 daylight time changes in the Energy Policy Act of 2005.
22977
22978 2012-05-09 Andreas Jaeger <aj@suse.de>
22979
22980 [BZ #13983]
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.
22983
22984 2012-05-08 David S. Miller <davem@davemloft.net>
22985
22986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
22987 movxtod instead of popping the value on the stack.
22988
22989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22990
22991 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
22992
22993 * config.h.in: Add HAVE_ARM_PCS_VFP.
22994
22995 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
22996
22997 [BZ #13979]
22998 * include/features.h: Warn if user requests __FORTIFY_SOURCE
22999 checking but the checks are disabled for any reason.
23000
23001 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
23002
23003 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23004 and ELF64_R_TYPE with ELFW(R_TYPE).
23005
23006 2012-05-08 Joseph Myers <joseph@codesourcery.com>
23007
23008 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23009 (ulimit): Likewise.
23010
23011 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23012 (settimeofday): Likewise.
23013
23014 2012-05-08 Mike Frysinger <vapier@gentoo.org>
23015
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.
23024 (th_data): Define.
23025 (th_msg): Change to th_u1.th_u2.tu_data.
23026
23027 2012-05-07 David S. Miller <davem@davemloft.net>
23028
23029 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23030
23031 [BZ #14074]
23032 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23033 (SETUP_PIC_REG): Use it.
23034 (SETUP_PIC_REG_LEAF): Use it.
23035
23036 2012-05-07 Joseph Myers <joseph@codesourcery.com>
23037
23038 [BZ #13885]
23039 [BZ #13923]
23040 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23041 USE_AS_EXPM1L.
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
23046 e_expl.S.
23047 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23048 USE_AS_EXPM1L.
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
23053 e_expl.S.
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.
23058
23059 2012-05-06 David S. Miller <davem@davemloft.net>
23060
23061 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23062 quad soft-float symbols whose references which are compiler
23063 generated.
23064 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23065
23066 2012-05-06 Joseph Myers <joseph@codesourcery.com>
23067
23068 [BZ #13884]
23069 [BZ #13914]
23070 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23071 USE_AS_EXP10L.
23072 (EXPL_FINITE): Likewise.
23073 (FLDLOG): Likewise.
23074 (c0): Likewise.
23075 (c1): 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
23080 e_expl.S.
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
23086 USE_AS_EXP10L.
23087 (EXPL_FINITE): Likewise.
23088 (FLDLOG): Likewise.
23089 (c0): Likewise.
23090 (c1): 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
23095 tests for bugs.
23096 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23097
23098 [BZ #14064]
23099 * math/libm-test.inc (check_float_internal): Correct ulp
23100 calculation for subnormal expected results.
23101
23102 2012-05-06 Andreas Jaeger <aj@suse.de>
23103
23104 * Makeconfig (+math-flags): New, set to -frounding-math.
23105 (+cflags): Add +math-flags so that all of glibc gets compiled with
23106 it.
23107
23108 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23109
23110 2012-05-05 Joseph Myers <joseph@codesourcery.com>
23111
23112 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23113 Disable one test.
23114
23115 [BZ #13787]
23116 [BZ #13922]
23117 [BZ #14036]
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
23123 underflow.
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
23127 underflow.
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
23131 underflow.
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.
23137
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.
23144
23145 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23146 (nice): Likewise.
23147 (poll): Likewise.
23148 (signal): Likewise.
23149 (time): Likewise.
23150 (times): Likewise.
23151
23152 2012-05-04 Joseph Myers <joseph@codesourcery.com>
23153
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.
23170
23171 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23172
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:
23176 Moved to ...
23177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23178 Here.
23179 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23180 to ...
23181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23182 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23183 to ...
23184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23185 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23186 to ...
23187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23188 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23189 to ...
23190 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23191 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23192 to ...
23193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23194 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23195 to ...
23196 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23197 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23198 to ...
23199 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23200 Here.
23201 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23202 to ...
23203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23204 Here.
23205 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23206 to ...
23207 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23208 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23209 Moved to ...
23210 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23211 Here.
23212 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23213 to ...
23214 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23215
23216 2012-05-04 Joseph Myers <joseph@codesourcery.com>
23217
23218 * sysdeps/unix/common/bits/dirent.h: Remove file.
23219 * sysdeps/unix/common/bits/fcntl.h: Likewise.
23220
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.
23228
23229 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23230
23231 [BZ #13563]
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.
23236
23237 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
23238
23239 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23240 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23241
23242 2012-05-04 Joseph Myers <joseph@codesourcery.com>
23243
23244 [BZ #14049]
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.
23248
23249 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23250
23251 * sysdeps/s390/fpu/libm-test-ulps: Update.
23252
23253 2012-05-03 Andreas Jaeger <aj@suse.de>
23254
23255 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23256 does not get optimized out.
23257 (malloc_opt_barrier): New.
23258
23259 2012-05-03 Andreas Jaeger <aj@suse.de>
23260 Roland McGrath <roland@hack.frob.com>
23261
23262 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
23263 intermediate file deletion.
23264 (generated): Add .symlist files.
23265
23266 2012-05-03 Joseph Myers <joseph@codesourcery.com>
23267
23268 [BZ #13775]
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.
23283
23284 2012-05-03 Roland McGrath <roland@hack.frob.com>
23285
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.
23289
23290 2012-05-03 Andreas Jaeger <aj@suse.de>
23291
23292 * sysdeps/i386/fpu/libm-test-ulps: Update.
23293
23294 * FAQ: Removed.
23295 * FAQ.in: Likewise.
23296 * scripts/gen-FAQ.pl: Likewise.
23297 * manual/install.texi (Installation): Point to online location of
23298 FAQ.
23299 * Makefile (files-for-dist): Remove FAQ.
23300 (FAQ): Remove.
23301
23302 2012-05-02 Allan McRae <allan@archlinux.org>
23303
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.
23325
23326 2012-05-02 David S. Miller <davem@davemloft.net>
23327
23328 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23329
23330 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
23331
23332 [BZ #14055]
23333 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23334
23335 2012-05-02 Andreas Jaeger <aj@suse.de>
23336
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.
23346
23347 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23348
23349 [BZ #2550]
23350 [BZ #2570]
23351 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23352 comparisons to determine direction to adjust input.
23353
23354 2012-05-01 Roland McGrath <roland@hack.frob.com>
23355
23356 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23357 output to the target.
23358
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.
23366
23367 * elf/check-localplt.c: File removed.
23368
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.
23378
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.
23388
23389 2012-05-01 Joseph Myers <joseph@codesourcery.com>
23390
23391 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23392 allow.
23393 * conform/data/ctype.h-data [C99-based standards] (isblank):
23394 Expect function.
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.
23482 Require >= 2.
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
23532 bound negative.
23533 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23534 bound with "U".
23535 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23536 bound with "L".
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
23540 bound with "UL".
23541 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23542 Specify type.
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
23546 == 0.
23547 [ISO11] (max_align_t): Require type.
23548 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23549
23550 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23551 from $CFLAGS, without defining away __attribute__ calls.
23552 (checknamespace): Use $CFLAGS_namespace.
23553
23554 * conform/conformtest.pl (@keywords): Only include C99 keywords
23555 for standards based on C99 or C11.
23556
23557 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23558 Disable tests.
23559 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23560 UNIX98]: Likewise.
23561
23562 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23563 usability of symbols in #if.
23564
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.
23568
23569 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23570 in one place. Also handle "macro-constant".
23571
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.
23575
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
23579 "typed-constant".
23580
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-".
23584
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.
23594
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.
23599
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.
23790
23791 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23792 _XOPEN_SOURCE_EXTENDED for XPG4.
23793
23794 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23795
23796 * Makeconfig (localtime): Remove variable.
23797 (inst_localtime-file): Likewise.
23798
23799 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23800
23801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23802 Update.
23803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23804 Update.
23805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23806 Update.
23807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23808 Update.
23809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23810 Update.
23811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23812 Update.
23813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23814 Update.
23815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23816 Update.
23817 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23818 Update.
23819
23820 2012-05-01 Joseph Myers <joseph@codesourcery.com>
23821
23822 [BZ #2550]
23823 [BZ #2570]
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):
23829 Likewise.
23830 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23831 Likewise.
23832 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23833 Likewise.
23834 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23835 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23836 Likewise.
23837 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23838 Likewise.
23839 * math/libm-test.inc (nexttoward_test): Add more tests.
23840
23841 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23842
23843 [BZ #14040]
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):
23847 Likewise.
23848
23849 2012-04-30 Joseph Myers <joseph@codesourcery.com>
23850
23851 [BZ #13942]
23852 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23853 (1 - x) * (1 + x).
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.
23860
23861 [BZ #14034]
23862 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23863 of square root.
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.
23877
23878 [BZ #13884]
23879 [BZ #13924]
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
23884 of __ieee754_expf.
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.
23890
23891 2012-04-29 Marek Polacek <polacek@redhat.com>
23892
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.
23922
23923 2012-04-29 Andreas Jaeger <aj@suse.de>
23924
23925 * Makerules (tests): Remove enable-check-abi protection.
23926 (check-abi-warn): Remove.
23927 (check-abi-%): Remove check-abi-warn usage.
23928
23929 * configure.in: Remove check-abi configure option.
23930 * configure: Regenerated.
23931 * config.make.in (enable-check-abi): Remove.
23932
23933 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23934
23935 [BZ #14033]
23936 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23937 double functions to double *_finite functions.
23938
23939 [BZ #13941]
23940 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
23941 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
23942 LDBL_MIN_EXP.
23943 * stdio-common/Makefile (tests): Add tst-sprintf3.
23944 * stdio-common/tst-sprintf3.c: New file.
23945
23946 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
23947 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
23948
23949 2012-04-28 Joseph Myers <joseph@codesourcery.com>
23950
23951 * conform/conformtest.pl: Remove duplicate typed-constant
23952 handling.
23953
23954 2012-04-28 David S. Miller <davem@davemloft.net>
23955
23956 * Makerules (%.abilist): Add vpath on sysdep_dirs.
23957 (check-abi-%): Remove AWK script prerequisite and explicit
23958 abilist directory.
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
23964 checks.
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
23986 file.
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
23996 file.
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
24001 file.
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
24008 file.
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
24012 file.
24013 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24014 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24015 New file.
24016 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24017 New file.
24018 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24019 New file.
24020 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24021 New file.
24022 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24023 New file.
24024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24025 New file.
24026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24027 New file.
24028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24029 New file.
24030 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24031 New file.
24032 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24033 New file.
24034 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24035 New file.
24036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24037 New file.
24038 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24039 New file.
24040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24041 file.
24042 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24043 New file.
24044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24045 New file.
24046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24047 file.
24048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24049 New file.
24050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24051 New file.
24052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24053 file.
24054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24055 New file.
24056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24057 New file.
24058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24059 New file.
24060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24061 New file.
24062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24063 New file.
24064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24065 New file.
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
24068 file.
24069 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24070 New file.
24071 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24072 file.
24073 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24074 file.
24075 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24076 file.
24077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24078 file.
24079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24080 file.
24081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24082 New file.
24083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24084 file.
24085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24086 file.
24087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24088 New file.
24089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24090 file.
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
24093 file.
24094 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24095 New file.
24096 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24097 file.
24098 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24099 file.
24100 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24101 file.
24102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24103 file.
24104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24105 file.
24106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24107 New file.
24108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24109 file.
24110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24111 file.
24112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24113 New file.
24114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24115 file.
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
24119 file.
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
24132 file.
24133 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24134 New file.
24135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24136 file.
24137 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24138 file.
24139 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24140 file.
24141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24142 file.
24143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24144 file.
24145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24146 New file.
24147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24148 New file.
24149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24150 file.
24151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24152 New file.
24153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24154 file.
24155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24156 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24157 file.
24158 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24159 New file.
24160 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24161 file.
24162 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24163 file.
24164 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24165 file.
24166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24167 file.
24168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24169 file.
24170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24171 New file.
24172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24173 New file.
24174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24175 file.
24176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24177 New file.
24178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24179 file.
24180
24181 2012-04-28 Joseph Myers <joseph@codesourcery.com>
24182
24183 * conform/conformtest.pl: Fix typo in handling typed-constant from
24184 allow-header.
24185
24186 2012-04-27 Joseph Myers <joseph@codesourcery.com>
24187
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
24191 requirements.
24192
24193 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24194
24195 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24196
24197 [BZ #887]
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
24200 rounding mode.
24201
24202 2012-04-27 Joseph Myers <joseph@codesourcery.com>
24203
24204 [BZ #14027]
24205 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24206 to be done.
24207 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24208 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24209
24210 2012-04-26 Joseph Myers <joseph@codesourcery.com>
24211
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.
24219
24220 * sysdeps/unix/common/tcsendbrk.c: Move to ...
24221 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24222
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.
24228 (bsdi*): Likewise.
24229 (osf*): Likewise.
24230 (sunos*): Likewise.
24231 (ultrix*): Likewise.
24232 (newsos*): Likewise.
24233 (dynix*): Likewise.
24234 (*bsd*): Likewise.
24235 (sysv*): Likewise.
24236 (isc*): Likewise.
24237 (esix*): Likewise.
24238 (sco*): Likewise.
24239 (minix*): Likewise.
24240 (irix4*): Likewise.
24241 (irix6*): Likewise.
24242 (solaris[2-9]*): Likewise.
24243 (none): Likewise.
24244 * configure: Regenerated.
24245
24246 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24247
24248 [BZ #11521]
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.
24255
24256 2012-04-26 David S. Miller <davem@davemloft.net>
24257
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.
24273
24274 2012-04-25 David S. Miller <davem@davemloft.net>
24275
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.
24281
24282 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24283
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
24287 libgcc_s.h.
24288 * sysdeps/gnu/unwind-resume.c: Likewise.
24289 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24290
24291 2012-04-25 David S. Miller <davem@davemloft.net>
24292
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.
24308
24309 2012-04-25 Joseph Myers <joseph@codesourcery.com>
24310
24311 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24312 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24313 -DIS_IN_build.
24314
24315 * timezone/README: Update upstream location and email address for
24316 tzcode and tzdata.
24317 * timezone/zdump.c: Update from tzcode 2012b.
24318 * timezone/zic.c: Likewise.
24319
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.
24327
24328 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24329 Paul Pluzhnikov <ppluzhnikov@google.com>
24330
24331 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24332 strings correctly.
24333
24334 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
24335
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.
24339
24340 2012-04-24 Joseph Myers <joseph@codesourcery.com>
24341
24342 * sysdeps/unix/fork.S: Remove file.
24343 * sysdeps/unix/i386/fork.S: Likewise.
24344 * sysdeps/unix/sparc/fork.S: Likewise.
24345
24346 * sysdeps/unix/system.c: Remove file.
24347 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24348
24349 * sysdeps/unix/getegid.S: Remove file.
24350 * sysdeps/unix/geteuid.S: Likewise.
24351
24352 2012-04-24 Roland McGrath <roland@hack.frob.com>
24353
24354 * scripts/check-localplt.awk: New file.
24355 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24356 of diff.
24357 * scripts/data/localplt-generic.data: Add a comment.
24358
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>.
24363
24364 2012-04-24 Andreas Jaeger <aj@suse.de>
24365
24366 * Makerules (common-clean): Also remove gen-as-const-headers
24367 files.
24368
24369 2012-04-24 Joseph Myers <joseph@codesourcery.com>
24370
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.
24374
24375 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24376
24377 [BZ #13886]
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.
24382
24383 2012-04-24 Joseph Myers <joseph@codesourcery.com>
24384
24385 * sysdeps/unix/getdents.c: Remove file.
24386 * sysdeps/unix/sysv/getdents.c: Likewise.
24387 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24388
24389 * sysdeps/unix/syscalls.list (madvise): Add syscall from
24390 sysdeps/unix/mman/syscalls.list.
24391 (mmap): Likewise.
24392 (mprotect): Likewise.
24393 (msync): 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.
24398
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.
24405
24406 2012-04-23 Joseph Myers <joseph@codesourcery.com>
24407
24408 * sysdeps/unix/sysv/gethostname.c: Move to ...
24409 * sysdeps/posix/gethostname.c: ... here.
24410
24411 * sysdeps/unix/execve.S: Remove file.
24412
24413 * sysdeps/unix/_exit.S: Remove file.
24414
24415 2012-04-23 Andreas Jaeger <aj@suse.de>
24416
24417 [BZ #13739]
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.
24421 (dist): Removed.
24422 (tar-it): Removed.
24423 (edition): Removed.
24424 (glibc-doc-$(edition).tar): Removed
24425 (%.Z): Removed.
24426 (%.gz): Removed.
24427 (%.uu): Removed.
24428 (ETAGS): Remove, it's in Makeconfig.
24429 (move-if-change): Remove, it's in Makeconfig.
24430
24431 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
24432
24433 [BZ #13970]
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.
24441
24442 2012-04-21 Andreas Jaeger <aj@suse.de>
24443
24444 [BZ #13739]
24445 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24446
24447 2012-04-21 Joseph Myers <joseph@codesourcery.com>
24448
24449 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24450 * sysdeps/unix/sysv/Versions: Remove file.
24451
24452 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
24453
24454 [BZ #13927]
24455 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24456
24457 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
24458
24459 [BZ #7064]
24460 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24461 version from __vm86.
24462
24463 2012-04-20 Joseph Myers <joseph@codesourcery.com>
24464
24465 * sysdeps/unix/common/lxstat.c: Remove file.
24466 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24467
24468 * sysdeps/unix/sysv/Makefile: Remove file.
24469
24470 * sysdeps/unix/sysv/direct.h: Remove file.
24471
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.
24479
24480 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24481
24482 * sysdeps/unix/xmknod.c: Remove file.
24483 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24484
24485 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24486
24487 * sysdeps/unix/sysv/i386/time.S: Remove file.
24488
24489 * sysdeps/unix/fxstat.c: Remove file.
24490 * sysdeps/unix/xstat.c: Likewise.
24491 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24492
24493 * sysdeps/unix/sysv/sigaction.c: Remove file.
24494
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.
24508
24509 * sysdeps/unix/siglist.c: Remove file.
24510
24511 * sysdeps/unix/getppid.S: Remove file.
24512
24513 * sysdeps/unix/mkdir.c: Remove file.
24514 * sysdeps/unix/rmdir.c: Likewise.
24515
24516 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24517
24518 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24519 ERR_MAX value.
24520 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24521 errlist-compat value.
24522
24523 2012-04-18 David S. Miller <davem@davemloft.net>
24524
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.
24541
24542 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24543
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
24546 overlap.
24547
24548 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24549
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.
24556
24557 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24558
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.
24564
24565 2012-04-18 David S. Miller <davem@davemloft.net>
24566
24567 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24568
24569 2012-04-18 Andreas Jaeger <aj@suse.de>
24570
24571 [BZ# 6794]
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.
24575
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.
24579
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.
24583
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.
24587
24588 2012-04-17 David S. Miller <davem@davemloft.net>
24589
24590 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24591
24592 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24593
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.
24600
24601 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24602
24603 [BZ #6794]
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.
24631
24632 2012-04-17 Petr Baudis <pasky@ucw.cz>
24633
24634 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24635 with altivec.
24636
24637 2012-04-16 Marek Polacek <polacek@redhat.com>
24638
24639 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24640
24641 2012-04-16 Marek Polacek <polacek@redhat.com>
24642
24643 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24644 operands of fdivp instruction.
24645
24646 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24647
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.
24658
24659 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24660
24661 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24662 __ILP32__.
24663
24664 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
24665
24666 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24667 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24668
24669 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24670
24671 [BZ #13973]
24672 * locale/iso-639.def: Fix gl language name. Spotted by
24673 Yaron Shahrabani.
24674
24675 2012-04-12 Roland McGrath <roland@hack.frob.com>
24676
24677 [BZ #2074]
24678 * libio/libio.h (__io_write_fn): Update comment.
24679
24680 2012-04-12 Petr Baudis <pasky@ucw.cz>
24681
24682 [BZ #2074]
24683 * stdio.texi (Hook Functions): The user provided writer function
24684 is not allowed to return -1.
24685
24686 2012-04-11 David S. Miller <davem@davemloft.net>
24687
24688 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24689
24690 2012-04-11 Mike Frysinger <vapier@gentoo.org>
24691
24692 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24693 Add a leading slash to rtkaio.
24694
24695 2012-04-11 Jim Meyering <meyering@redhat.com>
24696
24697 [BZ #11959]
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
24701 the fact.
24702
24703 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24704
24705 * bits/types.h (__snseconds_t): New type.
24706 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24707
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.
24715
24716 2012-04-10 Andreas Jaeger <aj@suse.de>
24717
24718 [BZ #2636]
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
24724 _SC_CLK_TCK.
24725
24726 2012-04-10 David S. Miller <davem@davemloft.net>
24727
24728 [BZ #13967]
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.
24731
24732 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24733
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.
24737
24738 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24739
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
24744 _dl_inhibit_cache.
24745 * elf/dl-load.c (_dl_map_object): Use it.
24746 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24747
24748 2012-04-09 Joseph Myers <joseph@codesourcery.com>
24749
24750 [BZ #13872]
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
24756 exceptions.
24757
24758 [BZ #11521]
24759 * math/s_ctan.c: Include <float.h>.
24760 (__ctan): Avoid internal overflow or cancellation in calculating
24761 denominator.
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.
24771
24772 2012-04-09 Andreas Jaeger <aj@suse.de>
24773
24774 [BZ #6894]
24775 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24776 is an optional BSD extension.
24777
24778 [BZ #10254]
24779 * manual/stdio.texi (Opening Streams): Document additional fopen
24780 parameters.
24781
24782 2012-04-09 Roland McGrath <roland@hack.frob.com>
24783
24784 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24785 %eax without telling the compiler.
24786
24787 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24788
24789 [BZ # 13963]
24790 * manual/install.texi: Use sourceware.org.
24791
24792 2012-04-09 Joseph Myers <joseph@codesourcery.com>
24793
24794 [BZ #13873]
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.
24801
24802 [BZ #706]
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.
24809
24810 2012-04-08 Joseph Myers <joseph@codesourcery.com>
24811
24812 [BZ #13705]
24813 * math/libm-test.inc (exp_test): Do not allow overflow exception
24814 on underflow test.
24815
24816 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24817
24818 [BZ #13705]
24819 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24820 instead of __kernel_standard_f.
24821
24822 2012-04-08 Mike Frysinger <vapier@gentoo.org>
24823
24824 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24825 * sysdeps/x86_64/memset_chk.S: Likewise.
24826
24827 2012-04-08 Andreas Jaeger <aj@suse.de>
24828
24829 [BZ #10153]
24830 * manual/startup.texi (Environment Access): Describe return value
24831 for putenv and setenv.
24832
24833 [BZ #6895]
24834 * manual/filesys.texi (Directory Entries): Add description for
24835 DT_LNK.
24836
24837 [BZ #6890]
24838 * manual/filesys.texi (Directory Entries): Clarify that it's file
24839 system not operating system in the description of DT_UNKNOWN.
24840
24841 [BZ #6578]
24842 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24843
24844 2012-04-08 Stephen Compall <s11@member.fsf.org>
24845
24846 [BZ #6649]
24847 * manual/llio.texi (Opening and Closing Files): Add cross
24848 reference to explain mode argument.
24849
24850 2012-04-07 Mike Frysinger <vapier@gentoo.org>
24851
24852 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24853 * sysdeps/x86_64/memset_chk.S: Likewise.
24854
24855 2012-04-07 David S. Miller <davem@davemloft.net>
24856
24857 * elf/elf.h (R_SPARC_WDISP10): Define.
24858 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24859 R_SPARC_SIZE32.
24860 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24861 R_SPARC_SIZE64 and R_SPARC_H34.
24862
24863 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24864
24865 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24866 conditions and remove no longer applicable assertion.
24867
24868 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24869
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.
24873
24874 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24875
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.
24886
24887 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24888
24889 [BZ #13895]
24890 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24891 extra indirection.
24892 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24893 * nss/tst-nss-static.c: New.
24894
24895 2012-04-06 Robert Millan <rmh@gnu.org>
24896
24897 [BZ #6486]
24898 * manual/llio.texi (File Position Primitive): lseek
24899 refers to WHENCE when it really means OFFSET.
24900
24901 2012-04-06 Andreas Jaeger <aj@suse.de>
24902
24903 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24904 strncmp declarations.
24905
24906 * abilist/libc.abilist: Add __poll and __ppoll.
24907
24908 2012-04-05 David S. Miller <davem@davemloft.net>
24909
24910 * scripts/check-local-headers.sh: Accept a host triplet in the
24911 path matched by the exclude regexp.
24912
24913 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24914 definition.
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.
24923
24924 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24925 lazy binding.
24926 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
24927 undefined symbol errors.
24928
24929 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
24930 DT_NEEDED entries.
24931
24932 2012-04-05 Michael Matz <matz@suse.de>
24933
24934 [BZ #13592]
24935 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24936
24937 2012-04-05 Andreas Jaeger <aj@suse.de>
24938
24939 [BZ #13908]
24940 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
24941 comment.
24942
24943 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24944
24945 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
24946 which ROUND is no valid rounding mode.
24947
24948 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24949
24950 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
24951 read again.
24952 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
24953
24954 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24955
24956 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
24957 an exception using FPU order intentionally.
24958
24959 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
24960
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.
24965
24966 2012-04-05 Simon Josefsson <simon@josefsson.org>
24967
24968 [BZ #12340]
24969 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
24970 EINVAL when BUFLEN is too smal.
24971
24972 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
24973
24974 [BZ #13553]
24975 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
24976 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
24977
24978 2012-04-03 Andreas Jaeger <aj@suse.de>
24979
24980 [BZ #13938]
24981 * manual/setjmp.texi (System V contexts): Fix sentence.
24982
24983 [BZ #13926]
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.
24991
24992 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
24993 __GLIBC_HAVE_LONG_LONG.
24994
24995 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
24996 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
24997
24998 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
24999
25000 [BZ #13691]
25001 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25002 inptr and inend, rather than using last_ch.
25003
25004 2012-04-02 David S. Miller <davem@davemloft.net>
25005
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.
25019
25020 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
25021
25022 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25023 CHAR_MAX.
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.
25027
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.
25033
25034 2012-04-01 Ulrich Drepper <drepper@gmail.com>
25035
25036 * po/ru.po: Update from translation team.
25037 * po/vi.po: Likewise.
25038
25039 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25040
25041 * resolv/nss_dns/dns-host.c: Merge copyright years.
25042
25043 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25044
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.
25049
25050 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25051
25052 [BZ #13928]
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.
25056
25057 2012-03-30 Jeff Law <law@redhat.com>
25058
25059 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25060 due to long keys.
25061 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25062 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25063
25064 * resolv/nss_dns/dns-host.c: Update copyright year.
25065
25066 2012-03-30 Ulrich Drepper <drepper@gmail.com>
25067
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.
25070
25071 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25072 comments for sendmmsg.
25073
25074 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25075
25076 [BZ #13691]
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.
25081
25082 2012-03-29 David S. Miller <davem@davemloft.net>
25083
25084 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25085 small copies by hand.
25086
25087 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25088
25089 [BZ #13761]
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.
25093
25094 2012-03-28 David S. Miller <davem@davemloft.net>
25095
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
25103 bits.
25104 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25105 implementation too.
25106 * sysdeps/sparc/mempcpy.S: New file.
25107
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.
25111
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.
25120
25121 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25122 loop to 256 bytes instead of 64 bytes and fix test signedness.
25123
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.
25127
25128 2012-03-28 Ulrich Drepper <drepper@gmail.com>
25129
25130 * malloc/mallocbug.c: Avoid warnings about unused variables.
25131
25132 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25133
25134 [BZ #13760]
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.
25138
25139 2012-03-28 Joseph Myers <joseph@codesourcery.com>
25140
25141 [BZ #369]
25142 [BZ #2678]
25143 [BZ #3866]
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.
25155
25156 [BZ #3868]
25157 [BZ #13879]
25158 [BZ #13910]
25159 [BZ #13911]
25160 [BZ #13912]
25161 [BZ #13913]
25162 [BZ #13915]
25163 [BZ #13916]
25164 [BZ #13917]
25165 [BZ #13918]
25166 [BZ #13919]
25167 [BZ #13920]
25168 [BZ #13921]
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
25173 __kernel_standard.
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.
25217
25218 2012-03-27 Anton Blanchard <anton@samba.org>
25219
25220 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25221 MAP_HUGETLB.
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.
25225
25226 2012-03-27 David S. Miller <davem@davemloft.net>
25227
25228 * conform/Makefile: Run run-conformtest.sh using $(BASH).
25229
25230 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25231 have-as-vis3 check.
25232
25233 2012-03-27 Andreas Jaeger <aj@suse.de>
25234
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.
25240
25241 * sysdeps/x86_64/configure.in: Merge contents from
25242 sysdeps/i386/configure.in (without i686 check).
25243
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.
25253
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.
25260
25261 * sysdeps/unix/i386/start.c: Delete file.
25262 * sysdeps/unix/sparc/start.c: Delete file.
25263 * sysdeps/unix/start.c: Delete file.
25264
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.
25270
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.
25282
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.
25290
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.
25295
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.
25307
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.
25319
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.
25332
25333 * configure.in: Remove support for elf directories in sysdeps.
25334
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.
25344
25345 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
25346
25347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25348
25349 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25350 denormal result into account.
25351
25352 2012-03-25 Roland McGrath <roland@hack.frob.com>
25353
25354 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25355 Reported by Allan McRae <allan@archlinux.org>.
25356
25357 2012-03-23 Jeff Law <law@redhat.com>
25358
25359 * nss/getnssent.c (__nss_getent): Fix typo.
25360
25361 2012-03-23 David S. Miller <davem@davemloft.net>
25362
25363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25364
25365 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
25366
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.
25370
25371 2012-03-23 Daniel Jacobowitz <dmj@google.com>
25372 Paul Pluzhnikov <ppluzhnikov@google.com>
25373
25374 [BZ #6528]
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.
25388
25389 2012-03-22 Joseph Myers <joseph@codesourcery.com>
25390
25391 [BZ #13892]
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.
25400
25401 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25402
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).
25406
25407 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25408
25409 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25410 with uint64_t.
25411
25412 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25413
25414 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25415 declaration.
25416 (struct La_x32_retval): Likewise.
25417
25418 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25419
25420 * sysdeps/x86_64/preconfigure.in: New file.
25421 * sysdeps/x86_64/preconfigure: New generated file.
25422
25423 2012-03-22 Joseph Myers <joseph@codesourcery.com>
25424
25425 [BZ #13824]
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
25429 __ieee754_expl.
25430 * math/libm-test.inc (exp2_test): Add more tests.
25431
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):
25435 Likewise.
25436 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25437 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25438 Likewise.
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.
25442
25443 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25444
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.
25454
25455 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25456 and x32_gnu_pltexit.
25457
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.
25464
25465 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25466
25467 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25468 exponent.
25469
25470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25471
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
25482 define.
25483 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25484 define.
25485
25486 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25487
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.
25502
25503 2012-03-21 David S. Miller <davem@davemloft.net>
25504
25505 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25506
25507 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25508
25509 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25510 of x86_64 when setting libc_cv_slibdir, libdir and
25511 libc_cv_localedir.
25512 * sysdeps/unix/sysv/linux/configure: Regenerated.
25513
25514 2012-03-21 Joseph Myers <joseph@codesourcery.com>
25515
25516 * manual/lang.texi (Old Varargs): Remove section.
25517 (How Variadic): Update menu.
25518 (va_start): Do not mention varargs.h.
25519
25520 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25521 Joseph Myers <joseph@codesourcery.com>
25522
25523 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25524 link test.
25525 * configure: Regenerated.
25526
25527 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25528
25529 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25530 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25531 conformtest.pl
25532
25533 2012-03-21 Joseph Myers <joseph@codesourcery.com>
25534
25535 * NOTES: Remove.
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
25541 NOTES.
25542
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.
25554
25555 [BZ #13883]
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.
25562
25563 2012-03-21 Allan McRae <allan@archlinux.org>
25564
25565 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25566
25567 2012-03-21 Joseph Myers <joseph@codesourcery.com>
25568
25569 [BZ #13871]
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
25573 __kernel_standard.
25574 * math/w_exp2f.c: Likewise.
25575 * math/w_exp2l.c: Likewise.
25576 * math/libm-test.inc (exp2_test): Require overflow exception for
25577 1e6 input.
25578
25579 [BZ #3866]
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
25589 ones as needed.
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
25595 ones as needed.
25596 * math/libm-test.inc (pow_test): Add more tests.
25597
25598 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25599
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.
25650
25651 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25652
25653 * stdio-common/_itoa.h: Moved to ...
25654 * sysdeps/generic/_itoa.h: Here.
25655
25656 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25657
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.
25661
25662 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25663
25664 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25665 <bits/wordsize.h>.
25666 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25667 (__signbit): Likwise.
25668 (llrintf): Likwise.
25669 (llrint): Likwise.
25670
25671 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25672
25673 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25674 __WORDSIZE != 64.
25675
25676 2012-03-20 Joseph Myers <joseph@codesourcery.com>
25677
25678 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25679 OVERFLOW_EXCEPTION_OK.
25680 * math/libm-test.inc ("Philosophy"): Update comment about
25681 exception testing.
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.
25695
25696 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25697
25698 * sysdeps/x86_64/bits/atomic.h
25699 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25700 64bit integer.
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.
25706
25707 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25708
25709 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
25710 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25711
25712 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25713
25714 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25715 Check __x86_64__ instead of __WORDSIZE.
25716
25717 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25718
25719 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25720
25721 2012-03-19 David S. Miller <davem@davemloft.net>
25722
25723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25724
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):
25728 Remove.
25729 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25730 (libc_feholdexcept_setroundl): Remove.
25731 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25732 Remove.
25733 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25734 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25735
25736 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25737
25738 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25739 int64_t instead of long int.
25740 (INSERT_WORDS64): Likwise.
25741
25742 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25743
25744 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25745 _Unwind_GetCFA return to _Unwind_Ptr first.
25746
25747 2012-03-19 Joseph Myers <joseph@codesourcery.com>
25748
25749 [BZ #13629]
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.
25763
25764 [BZ #11451]
25765 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25766 x and y.
25767 * math/libm-test.inc (atan2_test): Add another test.
25768
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):
25774 Remove rule.
25775 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25776 Likewise.
25777 [generic bits/local_lim.h] (before-compile): Do not append to
25778 variable.
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
25785 include.
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
25791 variable.
25792 [generic sys/param.h] (sysdep_headers): Likewise.
25793 [generic bits/errno.h] (before-compile): Do not append to
25794 variable.
25795 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25796 rule.
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
25801 variable.
25802 [generic bits/ioctls.h] (before-compile): Do not append to
25803 variable.
25804 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25805 rule.
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
25809 rule.
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
25814 variable.
25815 [generic sys/syscall.h] (syscall.h): Remove variable.
25816 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25817 rule.
25818 [generic sys/syscall.h] (before-compile): Do not append to
25819 variable.
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.
25827
25828 2012-03-19 Richard Henderson <rth@twiddle.net>
25829
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.
25843
25844 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25845 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25846
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.
25855
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
25866 SET_RESTORE_ROUND.
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.
25869 (__cos): Likewise.
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.
25879
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.
25883
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.
25901
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.
25913
25914 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25915
25916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25917
25918 2012-03-17 David S. Miller <davem@davemloft.net>
25919
25920 [BZ #6471]
25921 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25922 for 2.16.
25923
25924 2012-03-16 David S. Miller <davem@davemloft.net>
25925
25926 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25927 warnings.
25928
25929 [BZ #6471]
25930 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25931 properly.
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.
25937
25938 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25939
25940 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25941
25942 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
25943 [__LP64__].
25944
25945 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25946
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.
25953
25954 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25955
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.
25960
25961 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
25962
25963 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
25964 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
25965
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>.
25972
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.
25976
25977 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
25978 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
25979
25980 2012-03-16 Joseph Myers <joseph@codesourcery.com>
25981
25982 [BZ #2551]
25983 [BZ #2552]
25984 [BZ #2553]
25985 [BZ #2554]
25986 [BZ #2562]
25987 [BZ #2563]
25988 [BZ #2565]
25989 [BZ #2566]
25990 [BZ #2576]
25991 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
25992 (y0): Likewise.
25993 * math/w_j0f.c (j0f): Likewise.
25994 (y0f): Likewise.
25995 * math/w_j0l.c (__j0l): Likewise.
25996 (__y0l): Likewise.
25997 * math/w_j1.c (j1): Likewise.
25998 (y1): Likewise.
25999 * math/w_j1f.c (j1f): Likewise.
26000 (y1f): Likewise.
26001 * math/w_j1l.c (__j1l): Likewise.
26002 (__y1l): Likewise.
26003 * math/w_jn.c (jn): Likewise.
26004 (yn): Likewise.
26005 * math/w_jnf.c (jnf): Likewise.
26006 (ynf): Likewise.
26007 * math/w_jnl.c (__jnl): Likewise.
26008 (__ynl): 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.
26016
26017 [BZ #13851]
26018 [BZ #13854]
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.
26033
26034 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
26035
26036 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26037 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26038
26039 2012-03-16 Roland McGrath <roland@hack.frob.com>
26040
26041 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26042 * configure.in: Use it for both main tree and add-ons.
26043 * configure: Regenerated.
26044
26045 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26046
26047 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26048
26049 2012-03-16 Joseph Myers <joseph@codesourcery.com>
26050
26051 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26052 in comment.
26053
26054 [BZ #13851]
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
26060 infinite argument.
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.
26081
26082 2012-03-16 David S. Miller <davem@davemloft.net>
26083
26084 * sysdeps/sparc/fpu/math_private.h: New file.
26085
26086 2012-03-15 David S. Miller <davem@davemloft.net>
26087
26088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26089 file.
26090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
26091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26092 file.
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
26099 sysdep routines.
26100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26101
26102 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26103 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26104
26105 * sysdeps/sparc/sparc-ifunc.h: New file.
26106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26107 sparc-ifunc.h
26108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26110 Likewise.
26111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26112 Likewise.
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:
26117 Likewise.
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:
26123 Likewise.
26124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26125 Likewise.
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.
26150
26151 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26152
26153 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26154 scaling.
26155 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26156
26157 2012-03-15 Andreas Jaeger <aj@suse.de>
26158
26159 [BZ #13852]
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.
26168
26169 * math/libm-test.inc (cos_test): Enable some large input tests for
26170 float as well
26171 (sin_test): Likewise.
26172 (sincos_test): Likewise.
26173 (tan_test): Add tests for large input.
26174
26175 * sysdeps/i386/fpu/libm-test-ulps: Update.
26176
26177 2012-03-15 Andreas Jaeger <aj@suse.de>
26178
26179 [BZ #13658]
26180 * math/libm-test.inc (cos_test): Add more test cases.
26181 (sin_test): Likewise.
26182 (sincos_test): Likewise.
26183
26184 2012-03-15 Andreas Jaeger <aj@suse.de>
26185
26186 [BZ #13837]
26187 * math/libm-test.inc (cos_test): Add a test case for large input
26188 value.
26189 (sin_test): Likewise.
26190 (sincos_test): Likewise.
26191
26192 2012-03-15 Andreas Jaeger <aj@suse.de>,
26193 Joseph Myers <joseph@codesourcery.com>
26194
26195 [BZ #13658]
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.
26205
26206 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26207 Define.
26208 (libc_feupdateenv_53bit): Define.
26209 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26210 Define.
26211 (libc_feupdateenv_53bit): Define.
26212
26213 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26214 53 bit (without extend i386 double precision).
26215
26216 * math/libm-test.inc (sincos_test): Add tests for large input.
26217 (sin): Likewise.
26218 (cos): Likewise.
26219
26220 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26221
26222 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26223
26224 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26225
26226 2012-03-15 David S. Miller <davem@davemloft.net>
26227
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
26244 file.
26245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
26246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26247 file.
26248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
26249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26250 file.
26251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
26252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26253 file.
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.
26258
26259 2012-03-14 David S. Miller <davem@davemloft.net>
26260
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
26290 routines.
26291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26292 file.
26293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
26294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26295 file.
26296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
26297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26298 file.
26299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
26300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26301 file.
26302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
26303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26304 file.
26305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
26306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26307 file.
26308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26309 file.
26310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26311 file.
26312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26313 file.
26314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26315 New file.
26316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26317 file.
26318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26319 file.
26320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
26321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26322 file.
26323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
26324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26325 file.
26326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
26327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
26328 file.
26329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
26330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
26331 VIS3 routines.
26332
26333 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26334 New file.
26335
26336 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26337
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:
26349 New file.
26350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26351 file.
26352 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26353 New file.
26354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26355 file.
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.
26361
26362 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26363 fzeros/fnegs to load 0x80000000 into a float register instead of
26364 using the stack.
26365 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26366
26367 2012-03-14 Joseph Myers <joseph@codesourcery.com>
26368
26369 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26370 bits/syscall.h.
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.
26378
26379 2012-03-14 Roland McGrath <roland@hack.frob.com>
26380
26381 [BZ #13846]
26382 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26383
26384 2012-03-14 Joseph Myers <joseph@codesourcery.com>
26385
26386 [BZ #13841]
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.
26394
26395 [BZ #13840]
26396 * math/libm-test.inc (hypot_test): Add more tests.
26397
26398 2012-03-13 David S. Miller <davem@davemloft.net>
26399
26400 [BZ #13840]
26401 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26402 double-precision for the calculation instead of scaling.
26403
26404 2012-03-13 Joseph Myers <joseph@codesourcery.com>
26405
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):
26410 Likewise.
26411 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26412
26413 2012-03-13 David S. Miller <davem@davemloft.net>
26414
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.
26420
26421 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26422 large parameters.
26423
26424 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26425
26426 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26427 'err' in the ifdef scope in which it is actually used.
26428
26429 * nss/nss_db/db-init.c: Include string.h
26430
26431 2012-03-12 David S. Miller <davem@davemloft.net>
26432
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.
26437
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
26441 expression.
26442 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26443 later.
26444
26445 2012-03-11 David S. Miller <davem@davemloft.net>
26446
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.
26451
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.
26454
26455 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26456
26457 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
26458
26459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26460
26461 2012-03-09 David S. Miller <davem@davemloft.net>
26462
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
26472 call.
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.
26476
26477 2012-03-10 Joseph Myers <joseph@codesourcery.com>
26478
26479 * sunrpc/Makefile (others): Add rpcgen.
26480 ($(objpfx)rpcgen): Remove special build rule and dependency on
26481 libc.
26482 * sunrpc/rpcgen.c: New file.
26483
26484 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26485
26486 [BZ #13673]
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.
26498
26499 [BZ #13673]
26500 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26501 with URL.
26502 * locale/programs/locfile-kw.gperf: Likewise.
26503 * locale/programs/charmap-kw.h: Regenerated.
26504 * locale/programs/locfile-kw.h: Likewise.
26505
26506 [BZ #13673]
26507 * intl/plural.y: Replace FSF snail mail address with URL.
26508 * intl/plural.c: Regenerated.
26509
26510 2012-03-09 Richard Henderson <rth@twiddle.net>
26511
26512 * include/math_private.h: Remove file.
26513 * math/math_private.h: Move file ...
26514 * sysdeps/generic/math_private.h: ... here.
26515
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.
26519
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.
26856
26857 2012-03-09 Joseph Myers <joseph@codesourcery.com>
26858
26859 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26860 * sunrpc/rpc_main.c: Likewise.
26861 * sunrpc/rpc_svcout.c: Likewise.
26862
26863 2012-03-09 David S. Miller <davem@davemloft.net>
26864
26865 * include/math_private.h: New file.
26866
26867 2012-03-09 Joseph Myers <joseph@codesourcery.com>
26868
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.
26877
26878 [BZ #13566]
26879 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26880 checking __USE_GNU.
26881
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.
26886
26887 2012-03-08 Richard Henderson <rth@twiddle.net>
26888
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.
26893
26894 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26895 to inline function.
26896 (__rintf, __floor, __floorf): Likewise.
26897
26898 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26899 macro to inline function.
26900 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26901
26902 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26903 not <math/math_private.h>.
26904
26905 2012-03-08 David S. Miller <davem@davemloft.net>
26906
26907 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26908 copyright year.
26909 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26910
26911 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26912
26913 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26914 normalization.
26915 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26916 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26917
26918 2012-03-08 Ulrich Drepper <drepper@gmail.com>
26919
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.
26925
26926 2012-03-07 Marek Polacek <polacek@redhat.com>
26927
26928 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26929
26930 2012-03-08 Marek Polacek <polacek@redhat.com>
26931
26932 [BZ #13806]
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.
26937
26938 2012-03-08 Joseph Myers <joseph@codesourcery.com>
26939
26940 [BZ #6911]
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
26950 expansion.
26951 * manual/filesys.texi: Likewise.
26952 (getumask): Document as specific to GNU/Hurd.
26953 * manual/install.texi: Likewise. Reword some references to
26954 GNU/Linux.
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
26969 child on GNU/Hurd.
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.
26983
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
26987 puts.
26988 * configure: Regenerated.
26989
26990 2012-03-07 Joseph Myers <joseph@codesourcery.com>
26991
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.
26995
26996 [BZ #10716]
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.
27007
27008 2012-03-07 Ulrich Drepper <drepper@gmail.com>
27009
27010 * po/zh_TW.po: Update from translation team.
27011
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.
27056
27057 [BZ #6959]
27058 * timezone/Makefile: Don't install timezone files, just the programs
27059 and scripts.
27060
27061 2012-03-06 Ulrich Drepper <drepper@gmail.com>
27062
27063 * nss/databases.def: Add missing gshadow entry.
27064
27065 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
27066
27067 2012-03-06 Marek Polacek <polacek@redhat.com>
27068
27069 [BZ #13726]
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.
27074
27075 2012-03-06 David S. Miller <davem@davemloft.net>
27076
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
27084 __builtin_expect.
27085 (INLINE_CLONE_SYSCALL): Likewise.
27086
27087 2012-03-05 David S. Miller <davem@davemloft.net>
27088
27089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27090
27091 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
27092
27093 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27094
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.
27098
27099 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
27100
27101 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27102 Replace gettimeofday with __vdso_gettimeofday.
27103
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.
27107
27108 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27109 time with __vdso_time.
27110
27111 2012-03-05 Joseph Myers <joseph@codesourcery.com>
27112
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.
27116
27117 2012-03-05 Andreas Jaeger <aj@suse.de>
27118
27119 * sysdeps/i386/fpu/libm-test-ulps: Update.
27120
27121 2012-03-05 Joseph Myers <joseph@codesourcery.com>
27122
27123 [BZ #3976]
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.
27134
27135 [BZ #3976]
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.
27147
27148 2012-03-05 Tom de Vries <tom@codesourcery.com>
27149
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.
27153
27154 2012-03-05 Kees Cook <keescook@chromium.org>
27155
27156 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
27157
27158 [BZ #13656]
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.
27163
27164 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27165
27166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27167
27168 2012-03-03 Marek Polacek <polacek@redhat.com>
27169
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.
27175
27176 2012-03-02 David S. Miller <davem@davemloft.net>
27177
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.
27186
27187 2012-03-02 Roland McGrath <roland@hack.frob.com>
27188
27189 [BZ #13792]
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.
27235
27236 [BZ #13792]
27237 * manual/time.texi (Elapsed Time): Move timeval_subtract example
27238 function to ...
27239 * manual/timeval_subtract.c.texi: ... here, new file.
27240
27241 2012-03-02 David S. Miller <davem@davemloft.net>
27242
27243 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27244
27245 2012-03-02 Joseph Myers <joseph@codesourcery.com>
27246
27247 [BZ #3976]
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
27254 <fenv.h>.
27255 (tan): Save and restore rounding mode and use round-to-nearest for
27256 all computations.
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.
27272
27273 [BZ #10135]
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):
27278 Likewise.
27279 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27280 Likewise.
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.
27291
27292 * manual/filesys.texi (mode_t): Describe constraints on size and
27293 signedness, not exact equivalence to a particular type.
27294 (ino_t): Likewise.
27295 (ino64_t): Likewise.
27296 (dev_t): Likewise.
27297 (nlink_t): Likewise.
27298 (blkcnt_t): Likewise.
27299 (blkcnt64_t): Likewise.
27300 * manual/llio.texi (off_t): Likewise.
27301
27302 [BZ #3976]
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.
27313
27314 2012-03-01 Chris Demetriou <cgd@google.com>
27315
27316 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27317 have predictable order.
27318
27319 2012-03-01 David S. Miller <davem@davemloft.net>
27320
27321 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27322
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.
27327
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.
27337
27338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27339
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.
27343
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.
27363
27364 2012-03-01 Joseph Myers <joseph@codesourcery.com>
27365
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.
27371
27372 [BZ #2541]
27373 [BZ #4108]
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
27378 exponent.
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.
27383
27384 2012-03-01 Kai Tietz <ktietz@redhat.com>
27385
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.
27392
27393 2012-02-29 Joseph Myers <joseph@codesourcery.com>
27394
27395 [BZ #13786]
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.
27404
27405 [BZ #5794]
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.
27409
27410 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27412
27413 2012-02-29 Jeff Law <law@redhat.com>
27414
27415 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27416 out of bounds read.
27417
27418 2012-02-29 Marek Polacek <polacek@redhat.com>
27419
27420 [BZ #13706]
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.
27423
27424 2012-02-28 David S. Miller <davem@davemloft.net>
27425
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.
27432
27433 2012-02-29 Joseph Myers <joseph@codesourcery.com>
27434
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
27438 from bug 2561.
27439
27440 2012-02-28 Ulrich Drepper <drepper@gmail.com>
27441
27442 * sysdeps/x86_64/fpu/e_expf.S: New file.
27443 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27444
27445 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
27446
27447 [BZ #13637]
27448 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27449 of remain_len that may cause incomplete multi-byte character and
27450 false match.
27451 * posix/bug-regex33.c: New file.
27452 * posix/Makefile (tests): Add bug-regex33.
27453
27454 2012-02-28 Joseph Myers <joseph@codesourcery.com>
27455
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.
27503
27504 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27505
27506 * include/dirent.h: Include <dirstream.h> before
27507 <dirent/dirent.h>.
27508
27509 2012-02-28 David S. Miller <davem@davemloft.net>
27510
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.
27515
27516 2012-02-27 David S. Miller <davem@davemloft.net>
27517
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.
27522
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.
27528
27529 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27530
27531 [BZ #3992]
27532 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27533
27534 2012-02-27 David S. Miller <davem@davemloft.net>
27535
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.
27544
27545 2012-02-27 Joseph Myers <joseph@codesourcery.com>
27546
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.
27554
27555 2012-02-27 David S. Miller <davem@davemloft.net>
27556
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.
27565
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.
27569
27570 2012-02-27 Roland McGrath <roland@hack.frob.com>
27571
27572 [BZ #13775]
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.
27577
27578 * rt/tst-aio.c: Include <fcntl.h>.
27579 * rt/tst-aio7.c: Likewise.
27580 * rt/tst-aio64.c: Likewise.
27581
27582 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27583
27584 2012-02-27 Joseph Myers <joseph@codesourcery.com>
27585
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
27590 kernels.
27591 * INSTALL: Regenerated.
27592 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27593 Change to 2.6.19.
27594 * sysdeps/unix/sysv/linux/configure: Regenerated.
27595
27596 * manual/llio.texi (fclean): Remove documentation.
27597
27598 * manual/Makefile (libc-texi-generated): New variable. Include
27599 version.texi.
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.
27608 (ISBN): Likewise.
27609 (VERSION, UPDATED): Remove.
27610 (version.texi): Include.
27611
27612 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27613
27614 * sysdeps/posix/spawni.c: Include <signal.h>.
27615 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27616 * sysdeps/pthread/aio_fsync.c: Likewise.
27617
27618 2012-02-26 Ulrich Drepper <drepper@gmail.com>
27619
27620 * conform/Makefile (tests): Run only when not cross-compiling and
27621 when fast-check is not defined.
27622
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
27627 headers.
27628 * include/bits/dlfcn.h: Likewise.
27629 * include/langinfo.h: Likewise.
27630 * include/monetary.h: Likewise.
27631 * include/sys/poll.h: Likewise.
27632
27633 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27634 for __USE_GNU.
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.
27646
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.
27668
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
27675 sigevent.
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.
27680
27681 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27682
27683 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27684
27685 2012-02-25 Ulrich Drepper <drepper@gmail.com>
27686
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
27690 support.
27691
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.
27766
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.
27815
27816 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27817
27818 * time/time.h: TIME_UTC must be a macro.
27819 Make timespec_get available for ISO C11 only as well.
27820
27821 2012-02-24 Ulrich Drepper <drepper@gmail.com>
27822
27823 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27824 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27825
27826 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27827
27828 * configure.in: Use -o not -a in test for unsupported multi-arch.
27829
27830 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27831
27832 * manual/texinfo.tex: Update to version 2012-01-19.16.
27833
27834 2012-02-24 Joseph Myers <joseph@codesourcery.com>
27835
27836 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27837
27838 2012-02-24 Roland McGrath <roland@hack.frob.com>
27839
27840 [BZ #13738]
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.
27844
27845 [BZ #13738]
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.
27849
27850 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27851 Roland McGrath <roland@hack.frob.com>
27852
27853 [BZ #5461]
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
27858 name.
27859 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27860
27861 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27862
27863 [BZ #2547]
27864 [BZ #11365]
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.
27868
27869 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27870
27871 [BZ #2548]
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.
27879
27880 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27881
27882 [BZ #10110]
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.
27887
27888 2012-02-22 Joseph Myers <joseph@codesourcery.com>
27889
27890 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27891
27892 2012-02-21 David S. Miller <davem@davemloft.net>
27893
27894 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27895 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27896
27897 2012-02-20 David S. Miller <davem@davemloft.net>
27898
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.
27903
27904 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27905
27906 * manual/install.texi: Fix stray word in line-wrapped comment.
27907
27908 2012-02-20 David S. Miller <davem@davemloft.net>
27909
27910 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27911 both binutils and gcc support GOTDATA.
27912
27913 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27914 "rd %pc" in the PIC register setup sequences.
27915
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.
27930
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.
27936
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.
27943
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.
27949
27950 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27951
27952 * manual/install.texi: Do not mention specific glibc version
27953 numbers.
27954 * manual/libc.texinfo (VERSION, UPDATED): Update.
27955 (@copying): Use @copyright{} and range of years.
27956
27957 2012-02-21 Joseph Myers <joseph@codesourcery.com>
27958
27959 [BZ #13695]
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)):
27968 Likewise.
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
27975 variable.
27976 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
27977 Likewise.
27978
27979 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27980
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
27987 <bits/epoll.h>.
27988 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
27989 (__EPOLL_PACKED): Define to empty if not defined by
27990 <bits/epoll.h>.
27991 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
27992 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27993 bits/epoll.h.
27994
27995 2012-02-20 Joseph Myers <joseph@codesourcery.com>
27996
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
28001 <bits/timerfd.h>.
28002 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28003 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28004 bits/timerfd.h.
28005
28006 2012-02-20 Joseph Myers <joseph@codesourcery.com>
28007
28008 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28009 in C locale.
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.
28014
28015 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
28016
28017 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28018 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28019
28020 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
28021
28022 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28023 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28024 defined.
28025 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28026 Likewise.
28027 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28028 entry for 2.16.
28029
28030 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
28031
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.
28072
28073 2012-02-19 Joseph Myers <joseph@codesourcery.com>
28074
28075 [BZ #9739]
28076 * manual/string.texi (strnlen): Use correct parameter name in
28077 equivalent expression.
28078
28079 2012-02-19 Joseph Myers <joseph@codesourcery.com>
28080
28081 [BZ #11174]
28082 * manual/users.texi (seteuid): Consistently use neweuid for
28083 argument name.
28084
28085 2012-02-19 Joseph Myers <joseph@codesourcery.com>
28086
28087 [BZ #13704]
28088 * manual/nss.texi (Services in the NSS configuration): Correct
28089 list of services in example configuration file.
28090
28091 2012-02-19 Nick Bowler <nbowler@draconx.ca>
28092
28093 [BZ #11322]
28094 * manual/arith.texi: Remove statements about negative zero
28095 behaving identically to zero.
28096
28097 2012-02-18 Joseph Myers <joseph@codesourcery.com>
28098
28099 [BZ #5993]
28100 * manual/install.texi: Do not document upgrading from libc5.
28101
28102 2012-02-18 Joseph Myers <joseph@codesourcery.com>
28103
28104 [BZ #4596]
28105 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28106
28107 2012-02-18 David S. Miller <davem@davemloft.net>
28108
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
28113 instead.
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.
28119
28120 2012-02-17 Ulrich Drepper <drepper@gmail.com>
28121
28122 * aout/Makefile: Remove.
28123
28124 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
28125
28126 [BZ #13058]
28127 * manual/examples/argp-ex1.c (main): Format definition in GNU
28128 style.
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
28133 definition.
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.
28137
28138 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28139
28140 [BZ #5077]
28141 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28142 rounding modes.
28143
28144 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28145
28146 [BZ #6907]
28147 * manual/string.texi (strchr): Change when strchrnul is
28148 recommended.
28149
28150 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28151
28152 [BZ #174]
28153 * manual/locale.texi (setlocale): Document LOCPATH.
28154
28155 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28156
28157 [BZ #10210]
28158 * manual/process.texi (execle): Move @dots{} before last argument.
28159
28160 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
28161
28162 [BZ #12047]
28163 * manual/charset.texi (Generic Charset Conversion): Fix typo
28164 (LC_TYPE -> LC_CTYPE).
28165
28166 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28167
28168 [BZ #5805]
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.
28177 (verr): Likewise.
28178 (verrx): 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.
28183 (jnf): Likewise.
28184 (jnl): Likewise.
28185 (yn): Likewise.
28186 (ynf): Likewise.
28187 (ynl): Likewise.
28188 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28189 line.
28190 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28191 "...".
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
28196 names.
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
28201 "...".
28202 * manual/stdio.texi (__fpending): Separate initial words of
28203 paragraph from @deftypefun line.
28204 * manual/syslog.texi (syslog): Use @dots{} instead of literal
28205 "...".
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.
28210
28211 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28212
28213 [BZ #6884]
28214 * manual/stdio.texi (fopen): Fix typos in description of
28215 ",ccs=STRING".
28216
28217 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
28218
28219 [BZ #4026]
28220 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28221 get clock_id definition.
28222
28223 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
28224
28225 [BZ #4822]
28226 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28227 (madvise): Cast every argument to void on its own.
28228
28229 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28230
28231 [BZ #9902]
28232 * manual/startup.texi (Exit Status): Fix typo.
28233
28234 2012-02-17 Joseph Myers <joseph@codesourcery.com>
28235
28236 [BZ #10140]
28237 * manual/examples/argp-ex1.c: Include <stdlib.h>.
28238 * manual/examples/argp-ex2.c: Likewise.
28239 * manual/examples/argp-ex3.c: Likewise.
28240
28241 2012-02-16 Richard Henderson <rth@redhat.com>
28242
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.
28247
28248 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28249
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.
28253
28254 2012-02-16 David S. Miller <davem@davemloft.net>
28255
28256 [BZ #11494]
28257 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28258
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.
28264
28265 2012-02-15 Mike Frysinger <vapier@gentoo.org>
28266
28267 [BZ #3335]
28268 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28269
28270 2012-02-15 Roland McGrath <roland@hack.frob.com>
28271
28272 [BZ #4822]
28273 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28274
28275 * mach/devstream.c (cookie_io_functions_t): Macro removed.
28276 (write, read, close): Likewise.
28277 Patch by Aurelien Jarno <aurelien@aurel32.net>.
28278
28279 2012-02-15 Joseph Myers <joseph@codesourcery.com>
28280
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
28285 <bits/signalfd.h>.
28286 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28288 bits/signalfd.h.
28289
28290 2012-02-14 Marek Polacek <polacek@redhat.com>
28291
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.
28295
28296 2012-02-13 Joseph Myers <joseph@codesourcery.com>
28297
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
28302 <bits/inotify.h>.
28303 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28304 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28305 bits/inotify.h.
28306
28307 2012-02-13 Joseph Myers <joseph@codesourcery.com>
28308
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
28313 <bits/eventfd.h>.
28314 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28315 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28316 bits/eventfd.h.
28317
28318 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
28319
28320 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28321 __feraiseexcept instead of feraiseexcept.
28322
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.
28327
28328 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
28329
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.
28337
28338 2012-02-09 Richard Henderson <rth@twiddle.net>
28339
28340 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28341 of kernel-features.h.
28342
28343 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28344
28345 2012-02-08 Marek Polacek <polacek@redhat.com>
28346
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.
28351
28352 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
28353
28354 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28355 tests.
28356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28357
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.
28362
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.
28369
28370 2012-02-08 Joseph Myers <joseph@codesourcery.com>
28371
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.
28387
28388 2012-02-07 Marek Polacek <polacek@redhat.com>
28389
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.
28393
28394 2012-02-07 Marek Polacek <polacek@redhat.com>
28395
28396 * math/Makefile (tests): Add tst-CMPLX2.
28397 * math/tst-CMPLX2.c: New file.
28398
28399 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
28400
28401 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28402
28403 * math/libm-test.inc (jn_test): Add missing L suffix.
28404
28405 2012-02-06 Marek Polacek <polacek@redhat.com>
28406
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.
28461
28462 2012-02-06 Joseph Myers <joseph@codesourcery.com>
28463
28464 [BZ #411]
28465 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28466
28467 2012-02-06 Joseph Myers <joseph@codesourcery.com>
28468
28469 * sysdeps/i386/sysdep.h: Include <features.h>.
28470 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28471 version.
28472
28473 2012-02-05 Joseph Myers <joseph@codesourcery.com>
28474
28475 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28476 Define.
28477 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28478 LOAD_PIC_REG_STR.
28479
28480 2012-02-03 Joseph Myers <joseph@codesourcery.com>
28481
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
28485 macro.
28486
28487 2012-02-03 Joseph Myers <joseph@codesourcery.com>
28488
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.
28533
28534 2012-02-03 Joseph Myers <joseph@codesourcery.com>
28535
28536 * math/tst-CMPLX.c: Include <stdio.h>.
28537
28538 2012-01-31 Joseph Myers <joseph@codesourcery.com>
28539
28540 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28541 float.
28542 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28543 * sysdeps/sparc/bits/mathdef.h: Likewise.
28544
28545 2012-01-31 Marek Polacek <polacek@redhat.com>
28546
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.
28551
28552 2012-01-31 Ulrich Drepper <drepper@gmail.com>
28553
28554 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28555 names. Just use the correct names. Remove unnecessary wrapper
28556 functions.
28557 * malloc/arena.c: Likewise.
28558 * malloc/hooks.c: Likewise.
28559
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>.
28563
28564 2012-01-30 Ulrich Drepper <drepper@gmail.com>
28565
28566 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28567 into tail calls.
28568 (update_get_addr): New function.
28569 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28570 GET_ADDR_MODULE parameter.
28571
28572 2012-01-30 Joseph Myers <joseph@codesourcery.com>
28573
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.
28603
28604 2012-01-30 Joseph Myers <joseph@codesourcery.com>
28605
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):
28609 Fix typo.
28610
28611 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28612
28613 * scripts/config.guess: Update from upstream config git repository.
28614 * scripts/config.sub: Likewise.
28615
28616 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28617
28618 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28619 (EM_NUM): Update.
28620 (R_TILEPRO_*, R_TILEGX_*): New macros.
28621
28622 * scripts/firstversions.awk: Fix bug in version range handling.
28623
28624 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28625
28626 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28627
28628 * include/sys/epoll.h: New file.
28629 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28630 libc_hidden_def.
28631
28632 2012-01-28 Ulrich Drepper <drepper@gmail.com>
28633
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.
28637 (fmax): Likewise.
28638 (fminf): Likewise.
28639 (fmin): Likewise.
28640
28641 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28642 * math/math_private.h: Remove libc_fegetround* and
28643 libc_fesetround*.
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
28651 of HAS_YMM_USABLE.
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.
28657
28658 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28659
28660 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28661
28662 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28663 size is not set.
28664 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28665
28666 2012-01-27 Ulrich Drepper <drepper@gmail.com>
28667
28668 [BZ #13618]
28669 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28670 relocation.
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.
28676
28677 2012-01-27 Joseph Myers <joseph@codesourcery.com>
28678
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.
28813
28814 2012-01-26 Joseph Myers <joseph@codesourcery.com>
28815
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.
28825
28826 2012-01-26 Joseph Myers <joseph@codesourcery.com>
28827
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.
28838
28839 2012-01-26 Ulrich Drepper <drepper@gmail.com>
28840
28841 [BZ #13583]
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
28846 possible.
28847 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28848 HAS_AVX.
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.
28854
28855 2012-01-25 Joseph Myers <joseph@codesourcery.com>
28856
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.
28861
28862 2012-01-24 Ulrich Drepper <drepper@gmail.com>
28863
28864 * include/stdio.h: Add C++ protection. Add gets declarations and
28865 definitions.
28866 * debug/tst-chk1.c: Don't declare gets here.
28867 * stdio-common/tst-gets.c: Likewise.
28868
28869 2012-01-24 Joseph Myers <joseph@codesourcery.com>
28870
28871 * posix/glob: Remove directory.
28872
28873 2012-01-24 Joseph Myers <joseph@codesourcery.com>
28874
28875 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28876
28877 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28878
28879 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28880 of the non-standard EPFNOSUPPORT.
28881
28882 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28883
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.
28887
28888 2012-01-21 Ulrich Drepper <drepper@gmail.com>
28889
28890 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28891
28892 2012-01-20 Ulrich Drepper <drepper@gmail.com>
28893
28894 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28895 transient errors.
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.
28901
28902 2012-01-16 Ulrich Drepper <drepper@gmail.com>
28903
28904 * malloc/malloc.c: Various cleanups.
28905 * malloc/hooks.c: Likewise.
28906
28907 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28908 * stdlib/bug-fmtmsg1.c: New file.
28909
28910 * stdlib/fmtmsg.c (init): Add missing unlock.
28911 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28912
28913 2012-01-12 Marek Polacek <polacek@redhat.com>
28914
28915 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28916 and _GNU_SOURCE.
28917
28918 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28919
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.
28925
28926 2012-01-11 Ulrich Drepper <drepper@gmail.com>
28927
28928 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28929
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.
28934
28935 2012-01-10 Ulrich Drepper <drepper@gmail.com>
28936
28937 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28938
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.
28942
28943 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
28944
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.
28949
28950 * math/bits/math-finite.h: Add ldexp support.
28951
28952 2012-01-10 Marek Polacek <polacek@redhat.com>
28953
28954 * locale/programs/localedef.h (show_archive_content): Add noreturn
28955 attribute.
28956
28957 2012-01-09 Ulrich Drepper <drepper@gmail.com>
28958
28959 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
28960
28961 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28962
28963 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
28964
28965 * io/Makefile (headers): Add bits/poll2.h.
28966
28967 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
28968
28969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
28970 typo #include statement.
28971
28972 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28973
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.
28989
28990 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
28991
28992 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
28993 appropriate.
28994
28995 2012-01-08 Ulrich Drepper <drepper@gmail.com>
28996
28997 * math/Makefile (tests): Add tst-CMPLX.
28998 * math/tst-CMPLX.c: New file.
28999
29000 * math/complex.h (CMPLXL): Fix typo.
29001
29002 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29003 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29004 GLIBC_2.16.
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.
29015
29016 [BZ #1350]
29017 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29018
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.
29028
29029 * configure.in: PWD_P is not used anymore.
29030 * config.make.in: Remove PWD_P entry.
29031
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
29035 and IA-64.
29036 Remove __builtin_expect test because we require at least gcc 3.4.
29037 * aclocal.m4: Likewise.
29038
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.
29046
29047 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29048
29049 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29050
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
29057 them.
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.
29076
29077 2012-01-07 Ulrich Drepper <drepper@gmail.com>
29078
29079 [BZ #13553]
29080 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29081 for non-gcc.
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.
29280
29281 [BZ #13551]
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.
29313
29314 * argp/Versions: Remove _argp_unlock_xxx.
29315
29316 [BZ #13559]
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.
29331
29332 * scripts/abilist.awk: Add support for indirect functions.
29333
29334 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29335
29336 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29337
29338 * shlib-versions: Remove entries for ports architectures.
29339
29340 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
29341 files in ports.
29342 * elf/stackguard-macros.h: Remove support for IA-64.
29343 * elf/tst-auditmod1.c: Likewise.
29344 * sysdeps/generic/ldsodefs.h: Likewise.
29345
29346 * sysdeps/unix/sysv/linux/configure.in: Ports should define
29347 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29348 configure files.
29349
29350 [BZ #13552]
29351 * configure.in: Remove --enable-omitfp support.
29352 * FAQ.in: Adjust.
29353 * config.make.in: Likewise.
29354 * Makeconfig: Likewise.
29355 * manual/install.texi: Likewise.
29356
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.
29361
29362 [BZ #13555]
29363 * configure.in: Remove entries for unsupported architectures.
29364
29365 [BZ #13533]
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
29368 routines.
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
29375 renaming.
29376 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29377 * wcsmbs/tst-c16c32-1.c: New file.
29378
29379 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29380 local variable.
29381
29382 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29383
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.
29388
29389 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29390
29391 2012-01-06 Joseph Myers <joseph@codesourcery.com>
29392
29393 [BZ #13566]
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.
29397
29398 2012-01-03 Ulrich Drepper <drepper@gmail.com>
29399
29400 * iconv/loop.c (single loop): Fix assertion in storing of
29401 remaining bytes.
29402
29403 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29404
29405 2012-01-01 Ulrich Drepper <drepper@gmail.com>
29406
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.
29427
29428 2011-12-30 Jakub Jelinek <jakub@redhat.com>
29429
29430 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29431 pure attribute.
29432
29433 2011-12-24 Ulrich Drepper <drepper@gmail.com>
29434
29435 [BZ #13533]
29436 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29437 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29438 transformations.
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.
29453
29454 * wcsmbs/wchar.h: Add missing __restrict.
29455
29456 2011-12-23 Ulrich Drepper <drepper@gmail.com>
29457
29458 [BZ #13532]
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.
29466
29467 [BZ #13531]
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.
29472
29473 [BZ 13527]
29474 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29475 ISO C11.
29476
29477 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
29478 code.
29479
29480 [BZ #13528]
29481 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29482
29483 [BZ #13529]
29484 * assert/assert.h (static_assert): Define.
29485
29486 * version.h: Update for 2.16 development version.
29487
29488 [BZ #13526]
29489 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29490 _ISOC11_SOURCE.
29491
29492 * version.h (RELEASE): Bump for 2.15 release.
29493 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29494
29495 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29496 Patch by Marek Polacek <mpolacek@redhat.com>.
29497
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.
29503
29504 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29505
29506 [BZ #13540]
29507 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29508 destination buffer.
29509 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29510
29511 2011-12-23 Marek Polacek <polacek@redhat.com>
29512
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.
29518
29519 2011-12-23 Ulrich Drepper <drepper@gmail.com>
29520
29521 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29522 !__SSE_MATH__.
29523
29524 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29525
29526 [BZ #13540]
29527 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29528 processing for last bytes.
29529
29530 2011-08-06 Bruno Haible <bruno@clisp.org>
29531
29532 [BZ #13061]
29533 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29534 U+0385, not to U+1FEE.
29535
29536 [BZ #13062]
29537 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29538 entry for U+00A5 U+0301.
29539
29540 2011-12-22 Ulrich Drepper <drepper@gmail.com>
29541
29542 [BZ #13166]
29543 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29544 buffer for the output is too small.
29545
29546 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29547 optimization.
29548
29549 [BZ #13185]
29550 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29551 SSE flags if possible.
29552
29553 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29554
29555 [BZ #13540]
29556 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29557 processing for last bytes.
29558
29559 2011-12-22 Joseph Myers <joseph@codesourcery.com>
29560
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):
29568 Remove.
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):
29577 Remove.
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):
29582 Remove.
29583 (syscall-list-variants, syscall-list-32bit-options)
29584 (syscall-list-32bit-condition, syscall-list-64bit-options)
29585 (syscall-list-64bit-condition): Define.
29586
29587 2011-12-22 Ulrich Drepper <drepper@gmail.com>
29588
29589 * locale/iso-639.def: Add brx entry.
29590
29591 [BZ #13328]
29592 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29593 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29594
29595 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29596 __feraiseexcept_renamed.
29597
29598 2011-12-21 Ulrich Drepper <drepper@gmail.com>
29599
29600 [BZ #13538]
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.
29605
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.
29610
29611 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29612
29613 [BZ #13305]
29614 [BZ #12786]
29615 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29616 * math/s_cacoshf.c: Likewise.
29617 * math/s_cacoshl.c: Likewise.
29618
29619 2011-12-21 Ulrich Drepper <drepper@gmail.com>
29620
29621 [BZ #13439]
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.
29626
29627 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29628
29629 [BZ #13524]
29630 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29631 numerator after shifting it by one limb.
29632
29633 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29634
29635 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29636 under [__USE_EXTERN_INLINES].
29637
29638 2011-12-17 Ulrich Drepper <drepper@gmail.com>
29639
29640 [BZ #13446]
29641 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29642
29643 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29644
29645 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29646 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29647 optimized code.
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.
29655
29656 2011-12-08 Marek Polacek <mpolacek@redhat.com>
29657
29658 [BZ #13484]
29659 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29660 of __asm__.
29661
29662 2011-12-17 Ulrich Drepper <drepper@gmail.com>
29663
29664 [BZ #13506]
29665 * time/tzfile.c (__tzfile_read): Check values from file header.
29666
29667 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29668
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.
29700
29701 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29702
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.
29708
29709 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29710
29711 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29712 FD_CLOEXEC.
29713
29714 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29715
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
29724 wrong alignments.
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.
29738
29739 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29740
29741 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29742 * wcsmbs/test-wcsrchr.c: New file.
29743 * string/test-strrchr.c: Add wcsrchr support.
29744 (WIDE): New macro.
29745 * wcsmbs/test-wcscpy.c: New file.
29746 * string/test-strcpy.c: Add wcscpy support.
29747 (WIDE): New macro.
29748
29749 2011-12-10 Ulrich Drepper <drepper@gmail.com>
29750
29751 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29752 the inner loop.
29753
29754 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29755
29756 [BZ #13472]
29757 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29758
29759 2011-12-04 Ulrich Drepper <drepper@gmail.com>
29760
29761 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
29762 Minor optimizations.
29763
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.
29767
29768 2011-12-03 Ulrich Drepper <drepper@gmail.com>
29769
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.
29776
29777 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29778 warning.
29779
29780 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29781 __wmemcmp_sse2.
29782
29783 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29784 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29785
29786 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29787
29788 2011-12-02 Ulrich Drepper <drepper@gmail.com>
29789
29790 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29791 problem.
29792
29793 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29794
29795 2011-11-29 Joseph Myers <joseph@codesourcery.com>
29796
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.
29804
29805 2011-12-02 Joseph Myers <joseph@codesourcery.com>
29806
29807 * sysdeps/sh/backtrace.c: New file.
29808
29809 2011-12-02 Andreas Schwab <schwab@redhat.com>
29810
29811 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29812 parenthesis.
29813
29814 2011-12-01 Andreas Schwab <schwab@redhat.com>
29815
29816 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29817 falling back to utime.
29818
29819 2011-11-30 Andreas Schwab <schwab@redhat.com>
29820
29821 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29822 expectations for float.
29823
29824 2011-11-29 Andreas Schwab <schwab@redhat.com>
29825
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.
29834
29835 2011-11-17 Ulrich Drepper <drepper@gmail.com>
29836
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
29841 handling.
29842
29843 2011-11-16 Andreas Schwab <schwab@redhat.com>
29844
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.
29855
29856 2011-11-15 Ulrich Drepper <drepper@gmail.com>
29857
29858 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
29859 O_CLOEXEC.
29860 * locale/loadlocale.c (_nl_load_locale): Likewise.
29861
29862 2011-11-15 Andreas Schwab <schwab@redhat.com>
29863
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.
29868
29869 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29870 count references to noai6ai_cached.
29871
29872 2011-11-15 Ulrich Drepper <drepper@gmail.com>
29873
29874 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29875
29876 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29877 FD_CLOEXEC for /proc/self/maps.
29878
29879 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29880 FD_CLOEXEC for /proc/meminfo.
29881
29882 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29883 gai.conf.
29884
29885 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29886 FD_CLOEXEC for given file.
29887
29888 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29889
29890 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29891 FD_CLOEXEC for /etc/hosts.
29892 (_gethtent): Likewise.
29893
29894 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29895
29896 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29897 cancellation and set FD_CLOEXEC for /etc/netgroup.
29898
29899 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29900 reading /etc/publickey.
29901
29902 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29903 allow cancellation when reading /etc/group.
29904
29905 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29906 cancellation.
29907 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29908
29909 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29910 when using data file.
29911
29912 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29913
29914 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29915 (write_nis_obj): Use "c" and "e" in fopen.
29916
29917 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29918
29919 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29920
29921 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29922
29923 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29924
29925 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29926 locale.alias.
29927
29928 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29929
29930 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29931
29932 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29933
29934 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29935 file parsing and set FD_CLOEXEC.
29936
29937 2011-11-14 Ulrich Drepper <drepper@gmail.com>
29938
29939 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
29940
29941 2011-11-14 Andreas Schwab <schwab@redhat.com>
29942
29943 * malloc/arena.c (arena_get2): Don't call reused_arena when
29944 _int_new_arena failed.
29945
29946 2011-11-14 Ulrich Drepper <drepper@gmail.com>
29947
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.
29957
29958 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
29959
29960 2011-11-13 Ulrich Drepper <drepper@gmail.com>
29961
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.
29981
29982 2011-11-12 Ulrich Drepper <drepper@gmail.com>
29983
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.
29988
29989 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
29990 variable.
29991
29992 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
29993 mantissa words.
29994 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
29995
29996 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
29997 from unused variable.
29998
29999 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30000 DWARF definitions.
30001 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30002 for assembling.
30003
30004 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30005 over namespaces.
30006
30007 * sunrpc/rpc_prot.c (rejected): Fix case value.
30008
30009 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30010 unsigned long long int to avoid warnings in shift.
30011
30012 * posix/regex_internal.c (re_string_reconstruct): Actually use result
30013 of use of trans.
30014 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30015 variable tmp.
30016
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.
30020
30021 * nis/nis_table.c (nis_list): Use variable of correct type for
30022 result of __follow_path call.
30023
30024 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30025
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
30030 name clash.
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.
30034
30035 2011-10-30 Marek Polacek <mpolacek@redhat.com>
30036
30037 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30038 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30039
30040 2011-11-11 Roland McGrath <roland@hack.frob.com>
30041
30042 * include/unistd.h: Fix __readlink return type.
30043 Reported by Chris Metcalf <cmetcalf@tilera.com>.
30044
30045 2011-11-11 Ulrich Drepper <drepper@gmail.com>
30046
30047 * stdlib/ucontext.h: Undo last change for makecontext.
30048
30049 2011-11-11 Andreas Schwab <schwab@redhat.com>
30050
30051 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30052
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.
30057
30058 2011-11-10 Andreas Schwab <schwab@redhat.com>
30059
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.
30063
30064 2011-11-08 Ulrich Drepper <drepper@gmail.com>
30065
30066 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30067 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30068
30069 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30070 instructions.
30071
30072 2011-11-07 Andreas Schwab <schwab@redhat.com>
30073
30074 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30075 handler when locking.
30076
30077 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30078 Fix size of allocated buffer.
30079
30080 2011-11-04 Andreas Schwab <schwab@redhat.com>
30081
30082 [BZ #10103]
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.
30086
30087 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30088
30089 2011-11-03 Andreas Schwab <schwab@redhat.com>
30090
30091 * nscd/nscd.c (main): Don't start AVC thread until credentials are
30092 installed.
30093
30094 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30095 is disabled.
30096
30097 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30098
30099 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30100
30101 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
30102
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
30107 here.
30108
30109 * scripts/check-local-headers.sh: Ignore libaudit.h.
30110
30111 * nscd/Makefile (extra-objs): Make recursively expanded.
30112
30113 2011-11-01 Ulrich Drepper <drepper@gmail.com>
30114
30115 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30116 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30117
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.
30121
30122 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30123 process_vm_writev.
30124 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30125 process_vm_writev.
30126 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30127 process_vm_writev from libc using GLIBC_2.15 version.
30128
30129 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30130
30131 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
30132
30133 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30134 stack usage.
30135
30136 2011-10-31 Ulrich Drepper <drepper@gmail.com>
30137
30138 [BZ #13367]
30139 * nss/getent.c (initgroups_keys): Show error message in case no group
30140 names are given.
30141
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.
30155 Adjust caller.
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
30162 is not changed.
30163 (__bump_nl_timestamp): New function.
30164 (__free_in6ai): New function.
30165
30166 2011-10-30 Ulrich Drepper <drepper@gmail.com>
30167
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.
30171
30172 2011-10-29 Ulrich Drepper <drepper@gmail.com>
30173
30174 [BZ #13276]
30175 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30176 return value.
30177
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.
30181
30182 2011-07-03 Andreas Jaeger <aj@suse.de>
30183
30184 [BZ #10709]
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.
30188
30189 2011-10-29 Ulrich Drepper <drepper@gmail.com>
30190
30191 [BZ #13337]
30192 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30193 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30194
30195 * elf/chroot_canon.c (chroot_canon): Cleanups.
30196
30197 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30198
30199 [BZ #13335]
30200 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30201 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30202
30203 * string/test-strchr.c: Make usable for strchrnul testing.
30204 * string/test-strchrnul.c: New file.
30205 * string/Makefile (strop-tests): Add strchrnul.
30206
30207 * po/it.po: Update from translation team.
30208 * po/es.po: Likewise.
30209
30210 2011-10-28 Ulrich Drepper <drepper@gmail.com>
30211
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.
30218
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
30223 anymore.
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.
30239
30240 2011-10-28 Andreas Schwab <schwab@redhat.com>
30241
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.
30245
30246 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30247 wide char related routines to wcsmbs subdir.
30248
30249 2011-10-27 Andreas Schwab <schwab@redhat.com>
30250
30251 [BZ #13344]
30252 * misc/sys/cdefs.h (__THROWNL): Define.
30253 * posix/unistd.h: Use __THREADNL instead of __THREAD
30254 for memory synchronization functions.
30255
30256 2011-10-26 Roland McGrath <roland@hack.frob.com>
30257
30258 [BZ #13349]
30259 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30260 doesn't exist.
30261 * manual/stdio.texi (Obstack Streams): Node removed.
30262
30263 2011-10-26 Andreas Schwab <schwab@redhat.com>
30264
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.
30268
30269 * math/math_private.h (math_force_eval): Allow non-addressable
30270 arguments.
30271 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30272
30273 2011-10-25 Ulrich Drepper <drepper@gmail.com>
30274
30275 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30276 file is not needed.
30277
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.
30286 Add AVX variants.
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.
30306
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.
30309
30310 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30311 place. Use VEX encoding when compiling for AVX.
30312
30313 2011-10-25 Andreas Schwab <schwab@redhat.com>
30314
30315 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30316 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30317
30318 * string/test-strchr.c (do_test): Don't generate NUL bytes.
30319
30320 2011-10-25 Ulrich Drepper <drepper@gmail.com>
30321
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.
30343
30344 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30345
30346 2011-10-25 Andreas Schwab <schwab@redhat.com>
30347
30348 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30349 condition.
30350 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30351
30352 2011-10-25 Ulrich Drepper <drepper@gmail.com>
30353
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.
30401
30402 2011-10-24 Ulrich Drepper <drepper@gmail.com>
30403
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.
30408
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
30415 name is a macro.
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
30420 using __copysign.
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,
30425 and __inv.
30426 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30427 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30428 __copysign.
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.
30465
30466 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30467 rename.
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.
30476
30477 2011-10-24 Andreas Schwab <schwab@redhat.com>
30478
30479 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30480
30481 2011-10-23 Ulrich Drepper <drepper@gmail.com>
30482
30483 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30484
30485 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30486 prediction.
30487 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30488
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.
30492
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>.
30505
30506 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30507
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.
30519
30520 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30521
30522 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30523 XMM-moves are used for copying on small sizes.
30524
30525 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30526
30527 * wcsmbs/Makefile (strop-tests): Add wcschr.
30528 * wcsmbs/test-wcschr.c: New file.
30529 * string/test-strchr.c: Update.
30530 Add wcschr support.
30531 (WIDE): New macro.
30532
30533 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30534
30535 * wcsmbs/Makefile (strop-tests): Add wcslen.
30536 * wcsmbs/test-wcslen.c: New file.
30537 * string/test-strlen.c: Update.
30538 Add wcslen support.
30539 (WIDE): New macro.
30540
30541 2011-10-23 Ulrich Drepper <drepper@gmail.com>
30542
30543 * po/it.po: Update from translation team.
30544
30545 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30546
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.
30555
30556 2011-10-23 Ulrich Drepper <drepper@gmail.com>
30557
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.
30569
30570 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30571
30572 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30573 __ynl_finite aliases.
30574
30575 2011-10-22 Ulrich Drepper <drepper@gmail.com>
30576
30577 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30578
30579 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30580 define DLA_FMA.
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.
30592
30593 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30594
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
30599 "math_private.h".
30600
30601 2011-10-22 Ulrich Drepper <drepper@gmail.com>
30602
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.
30626
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.
30650
30651 2011-10-21 Ulrich Drepper <drepper@gmail.com>
30652
30653 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30654 compilation problems.
30655
30656 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30657 __builtin_expect.
30658
30659 2011-10-20 Ulrich Drepper <drepper@gmail.com>
30660
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.
30669
30670 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30671 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30672
30673 2011-10-20 Andreas Schwab <schwab@redhat.com>
30674
30675 [BZ #12892]
30676 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30677 it would create a cycle with a link time dependency.
30678
30679 2011-10-19 Ulrich Drepper <drepper@gmail.com>
30680
30681 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30682 instruction.
30683 * string/Makefile (strop-tests): Add rawmemchr.
30684 * string/test-rawmemchr.c: New file.
30685
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.
30691
30692 2011-10-19 Andreas Schwab <schwab@redhat.com>
30693
30694 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30695 __feraiseexcept instead of feraiseexcept.
30696
30697 2011-10-18 Ulrich Drepper <drepper@gmail.com>
30698
30699 * math/math_private.h: Define defaults for libc_fetestexcept and
30700 libc_feupdateenv.
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.
30708
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.
30714
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.
30723
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.
30736
30737 2011-10-18 Andreas Schwab <schwab@redhat.com>
30738
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.
30743
30744 2011-10-17 Ulrich Drepper <drepper@gmail.com>
30745
30746 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30747
30748 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30749
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.
30753
30754 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30755 about macro parameter expansion.
30756
30757 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30758 __NO_MATH_INLINES is defined. Cleanups.
30759
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.
30766
30767 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30768 name.
30769 (floorf): Likewise.
30770
30771 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30772
30773 2011-10-17 Andreas Schwab <schwab@redhat.com>
30774
30775 * misc/sys/cdefs.h: Fix last change.
30776
30777 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30778 database lookup.
30779
30780 2011-10-16 Ulrich Drepper <drepper@gmail.com>
30781
30782 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30783
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.
30806
30807 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30808 ceil, ceilf, floor, floorf.
30809
30810 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30811 Perform IRELATIVE relocations last.
30812
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.
30819
30820 2011-10-15 Ulrich Drepper <drepper@gmail.com>
30821
30822 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30823 is sufficient, at least on modern CPUs.
30824
30825 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30826
30827 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30828 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30829
30830 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30831 __expl_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.
30844
30845 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30846 is sufficient, at least on modern CPUs.
30847
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.
30855
30856 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30857
30858 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30859
30860 * configure.in: Also look in $cxxmachine/include for C++ system
30861 headers.
30862
30863 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30864
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.
30871 Fixing indents.
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.
30887 Add new tests.
30888 * wcsmbs/wmemcmp.c: Update.
30889 (WMEMCMP): New macro.
30890 Fix overflow bug.
30891
30892 2011-10-12 Andreas Jaeger <aj@suse.de>
30893
30894 [BZ #13268]
30895 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30896
30897 2011-10-15 Ulrich Drepper <drepper@gmail.com>
30898
30899 * libio/iofwide.c (do_length): Avoid warning.
30900
30901 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30902
30903 2011-10-14 Ulrich Drepper <drepper@gmail.com>
30904
30905 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30906
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.
30913
30914 * ctype/ctype.h: Add support for inlined isXXX functions when
30915 compiling C++ code.
30916
30917 2011-10-14 Andreas Schwab <schwab@redhat.com>
30918
30919 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30920
30921 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30922
30923 2011-10-13 Roland McGrath <roland@hack.frob.com>
30924
30925 [BZ #13291]
30926 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30927
30928 2011-10-13 Andreas Schwab <schwab@redhat.com>
30929
30930 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30931 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30932 feraiseexcept.
30933
30934 * sysdeps/x86_64/memrchr.S: Check for zero size.
30935
30936 * string/stratcliff.c: Add memrchr tests.
30937
30938 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30939
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.
30954
30955 2011-10-12 Ulrich Drepper <drepper@gmail.com>
30956
30957 Add integration with gcc's -ffinite-math-only and optimize wrapper
30958 functions in libm.
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
31042 used.
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
31236 inlined copy.
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.
31240
31241 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
31242
31243 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31244 of rawmemchr.
31245
31246 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31247
31248 2011-10-09 Ulrich Drepper <drepper@gmail.com>
31249
31250 * po/ja.po: Update from translation team.
31251
31252 2011-10-08 Roland McGrath <roland@hack.frob.com>
31253
31254 * locale/programs/locarchive.c (prepare_address_space): New function.
31255 (create_archive, enlarge_archive, open_archive): Use it.
31256
31257 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31258 inside [SHARED], where it is used.
31259
31260 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31261
31262 * nss/getent.c (netgroup_keys): Remove unused variable.
31263 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31264
31265 2011-10-08 Ulrich Drepper <drepper@gmail.com>
31266
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.
31302
31303 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31304 of the number.
31305 * stdio-common/printf_fphex.c: Likewise.
31306 * stdio-common/printf_size.c: Likewise.
31307
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.
31435
31436 * po/ja.po: Update from translation team.
31437
31438 2011-09-29 Andreas Jaeger <aj@suse.de>
31439
31440 [BZ #13179]
31441 * sunrpc/netname.c (netname2host): Fix logic.
31442
31443 [BZ #6779]
31444 [BZ #6783]
31445 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31446 correctly.
31447 * math/w_remainder.c (__remainder): Likewise.
31448 * math/w_remainderf.c (__remainderf): Likewise.
31449 * math/libm-test.inc (remainder_test): Add test cases.
31450
31451 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31452
31453 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
31454 sdiv_qrnnd.
31455
31456 2011-10-07 Ulrich Drepper <drepper@gmail.com>
31457
31458 * string/test-memcmp.c: Avoid unncessary #defines.
31459 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31460
31461 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31462
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.
31472
31473 2011-09-12 Marek Polacek <mpolacek@redhat.com>
31474
31475 * elf/dl-load.c (lose): Add cast to avoid warning.
31476
31477 2011-10-07 Ulrich Drepper <drepper@gmail.com>
31478
31479 * po/ca.po: Update from translation team.
31480
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
31488 INNETGR.
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
31494 GETFDNETGR.
31495 (netgroup_response_header): Define.
31496 (innetgroup_response_header): Define.
31497 (datahead): Add netgroup_response_header and innetgroup_response_header
31498 elements.
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.
31520
31521 * nscd/connections.c (register_traced_file): Don't register file
31522 for disabled databases.
31523
31524 2011-10-06 Ulrich Drepper <drepper@gmail.com>
31525
31526 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31527
31528 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31529 from tree and freeing node.
31530
31531 2011-09-25 Jiri Olsa <jolsa@redhat.com>
31532
31533 * nss/nsswitch.c (__nss_database_lookup): Handle
31534 nss_parse_service_list out of memory case.
31535
31536 2011-09-15 Jiri Olsa <jolsa@redhat.com>
31537
31538 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31539 out of memory case.
31540
31541 2011-10-04 Andreas Schwab <schwab@redhat.com>
31542
31543 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31544 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31545 pass it down.
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
31557 elf_machine_rela.
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):
31566 Likewise.
31567 (elf_machine_lazy_rel): Likewise.
31568 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31569 Likewise.
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.
31583
31584 2011-09-28 Ulrich Drepper <drepper@gmail.com>
31585
31586 * nss/nss_files/files-init.c (_nss_files_init): Use static
31587 initialization for all the *_traced_file variables.
31588
31589 2011-09-28 Andreas Schwab <schwab@redhat.com>
31590
31591 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31592
31593 2011-09-27 Roland McGrath <roland@hack.frob.com>
31594
31595 [BZ #13226]
31596 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31597
31598 2011-09-27 Andreas Schwab <schwab@redhat.com>
31599
31600 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31601 Reread the line before reparsing it.
31602
31603 2011-09-26 Andreas Schwab <schwab@redhat.com>
31604
31605 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31606
31607 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31608 Maxim Kuvyrkov <maxim@codesourcery.com>
31609 Joseph Myers <joseph@codesourcery.com>
31610
31611 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31612 if needed for __stack_chk_guard.
31613
31614 2011-09-19 Roland McGrath <roland@hack.frob.com>
31615
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.
31620
31621 * Makerules: Don't include tls.make.
31622 (config-tls): Always set to thread.
31623 * tls.make.c: File removed.
31624
31625 2011-09-19 Mike Frysinger <vapier@gentoo.org>
31626
31627 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31628 * config.make.in (CPPFLAGS-config): New substituted variable.
31629
31630 2011-09-15 Ulrich Drepper <drepper@gmail.com>
31631
31632 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31633
31634 [BZ #13192]
31635 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31636 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31637
31638 2011-09-15 Roland McGrath <roland@hack.frob.com>
31639
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>.
31647
31648 2011-09-15 Ulrich Drepper <drepper@gmail.com>
31649
31650 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31651 for __FINITE_MATH_ONLY__ == 1.
31652
31653 2011-09-15 Andreas Schwab <schwab@redhat.com>
31654
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.
31663
31664 2011-09-14 Ulrich Drepper <drepper@gmail.com>
31665
31666 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31667
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
31671 32-bit.
31672
31673 2011-09-14 Andreas Schwab <schwab@redhat.com>
31674
31675 * elf/rtld.c (dl_main): Also relocate in dependency order when
31676 doing symbol dependency testing.
31677
31678 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31679
31680 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31681 Always define `refsym'.
31682
31683 2011-09-13 Andreas Schwab <schwab@redhat.com>
31684
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):
31691 Likewise.
31692 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31693 Likewise.
31694
31695 * elf/Makefile (gen-ldd): Fix pattern.
31696
31697 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31698 (init_tls): Likewise.
31699
31700 2011-09-12 Ulrich Drepper <drepper@gmail.com>
31701
31702 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31703
31704 2011-09-12 Andreas Schwab <schwab@redhat.com>
31705
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):
31709 Likewise.
31710
31711 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31712
31713 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31714 if non-absolute.
31715 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31716 ldd_rewrite_script.
31717
31718 2011-09-11 Ulrich Drepper <drepper@gmail.com>
31719
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.
31735
31736 [BZ #13067]
31737 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31738
31739 [BZ #13090]
31740 * configure.in: Fix use of AC_INIT.
31741
31742 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31743
31744 2011-09-10 Ulrich Drepper <drepper@gmail.com>
31745
31746 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31747 __set_errno.
31748 * malloc/hooks.c: Likewise.
31749
31750 [BZ #11929]
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
31761 GLRO(dl_pagesize).
31762
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.
31766
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.
31771
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.
31809
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
31813 USE_IN_LIBIO.
31814 * Makeconfig: Adjust for dropped configure option. All features are
31815 now mandatory.
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.
31887
31888 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31889
31890 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31891
31892 2011-07-03 Andreas Jaeger <aj@suse.de>
31893
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.
31897
31898 2010-05-12 Petr Baudis <pasky@suse.cz>
31899
31900 [BZ #11589]
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.
31907
31908 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31909
31910 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31911 instead of 0.
31912 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
31913 instead of 0.
31914 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31915 Patch in part by Pavel Roskin <proski@gnu.org>.
31916
31917 [BZ #13138]
31918 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31919 realloc.
31920 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31921 Free memory block if necessary.
31922
31923 [BZ #12847]
31924 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31925 be NULL. Don't lock in this case.
31926
31927 2011-09-09 Roland McGrath <roland@hack.frob.com>
31928
31929 * elf/elf.h (ELFOSABI_GNU): New macro.
31930 (ELFOSABI_LINUX): Define to that.
31931
31932 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31933
31934 * string/strncat.c (strncat): Undef the symbol in case it has been
31935 defined in bits/string.h.
31936
31937 2011-09-09 Ulrich Drepper <drepper@gmail.com>
31938
31939 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
31940
31941 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
31942 link map.
31943
31944 2011-08-17 Andreas Jaeger <aj@suse.de>
31945
31946 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
31947
31948 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
31949 Ian Lance Taylor <iant@google.com>
31950
31951 * math/libm-test.inc (lround_test): New testcase.
31952 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
31953
31954 2011-09-08 Ulrich Drepper <drepper@gmail.com>
31955
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.
31967
31968 [BZ #13118]
31969 * posix/Makefile (bug-regex32-ENV): Define.
31970 Patch by John Stanley <jpsinthemix@verizon.net>.
31971
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
31979 FD_ISSET.
31980 * debug/fdelt_chk.c: New file.
31981
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.
31986
31987 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31988
31989 * string/Makefile (strop-tests): Add memcmp.
31990 * string/test-wmemcmp.c: New file.
31991 * string/test-memcmp.c: Add wmemcmp support.
31992
31993 2011-09-08 Roland McGrath <roland@hack.frob.com>
31994
31995 [BZ #13153]
31996 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
31997 2011-07-19 change.
31998
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.
32002
32003 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32004
32005 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32006
32007 2011-09-08 Andreas Schwab <schwab@redhat.com>
32008
32009 * elf/dl-load.c (lose): Check for non-null L.
32010
32011 2011-09-07 Ulrich Drepper <drepper@gmail.com>
32012
32013 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32014
32015 * elf/dl-libc.c (dlerror_run): Pass back error code from
32016 dl_catch_error.
32017
32018 [BZ #13123]
32019 * elf/dl-load.c (lose): Free l_origin if it is valid.
32020
32021 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32022 names.
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>.
32029
32030 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32031
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.
32042
32043 2011-08-15 Alan Modra <amodra@gmail.com>
32044
32045 [BZ #13092]
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
32051 __mcount_internal.
32052 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32053 __mcount_internal with usual JUMPTARGET. Remove useless nop.
32054
32055 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
32056
32057 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32058 for finite and infinity parameters.
32059
32060 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32061
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.
32065
32066 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
32067
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.
32071
32072 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
32073
32074 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32075 AVX check.
32076
32077 2011-09-07 Andreas Schwab <schwab@redhat.com>
32078
32079 [BZ #13144]
32080 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32081 last change.
32082
32083 2011-09-07 Ulrich Drepper <drepper@gmail.com>
32084
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
32089 clock_gettime.
32090
32091 2011-09-06 Ulrich Drepper <drepper@gmail.com>
32092
32093 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32094 Forgot to demangle the pointer.
32095
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.
32105
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
32112 call.
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.
32116
32117 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32118 gettimeofday vsyscall, just use time.
32119
32120 2011-09-06 Andreas Schwab <schwab@redhat.com>
32121
32122 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32123 <errno.h>.
32124
32125 2011-09-06 Ulrich Drepper <drepper@gmail.com>
32126
32127 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32128 syscall on x86-64.
32129 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32130 syscall.
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.
32134
32135 2011-09-05 Ulrich Drepper <drepper@gmail.com>
32136
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.
32140
32141 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32142
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.
32150
32151 2011-09-05 Ulrich Drepper <drepper@gmail.com>
32152
32153 [BZ #13134]
32154 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32155 before glibc 2.15.
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.
32167
32168 [BZ #13150]
32169 * posix/glob.h: Remove gcc 1.x support.
32170
32171 [BZ #13068]
32172 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32173
32174 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32175
32176 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32177 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32178 strrchr-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.
32185
32186 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32187
32188 * sysdeps/x86_64/wcscmp.S: New file.
32189
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.
32196
32197 2011-09-05 David S. Miller <davem@davemloft.net>
32198
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.
32205
32206 2011-09-05 Ulrich Drepper <drepper@gmail.com>
32207
32208 * po/ja.po: Update from translation team.
32209
32210 [BZ #13144]
32211 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32212 kernel in 64-bit binaries.
32213
32214 2011-09-01 David S. Miller <davem@davemloft.net>
32215
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
32222 entries.
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.
32229
32230 2011-08-31 David S. Miller <davem@davemloft.net>
32231
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
32249 i386.
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.
32256
32257 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32258 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32259
32260 2011-08-30 Andreas Schwab <schwab@redhat.com>
32261
32262 * elf/rtld.c (dl_main): Relocate objects in dependency order.
32263
32264 2011-08-29 Jiri Olsa <jolsa@redhat.com>
32265
32266 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32267 directive.
32268
32269 2011-08-24 David S. Miller <davem@davemloft.net>
32270
32271 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32272
32273 2011-08-24 Andreas Schwab <schwab@redhat.com>
32274
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.
32281
32282 * elf/dl-close.c (_dl_close_worker): Reset private search list if
32283 it wasn't used.
32284
32285 2011-08-23 David S. Miller <davem@davemloft.net>
32286
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.
32292
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.
32296
32297 2011-08-23 Andreas Schwab <schwab@redhat.com>
32298
32299 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32300 backslash.
32301
32302 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
32303
32304 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32305 protection macro.
32306 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32307 and <dl-machine.h>.
32308 (Elf64_FuncDesc): Remove.
32309
32310 2011-08-22 David S. Miller <davem@davemloft.net>
32311
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.
32316
32317 2011-08-16 Andreas Schwab <schwab@redhat.com>
32318
32319 [BZ #11724]
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.
32323
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.
32331
32332 2011-08-22 Andreas Schwab <schwab@redhat.com>
32333
32334 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32335
32336 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32337 dependencies back to end of function.
32338
32339 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32340 $(elfobjdir)/ld.so.
32341
32342 2011-08-21 Ulrich Drepper <drepper@gmail.com>
32343
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
32352 attribute_hidden.
32353 (_libc_vdso_platform_setup): Remove initialization of
32354 __vdso_gettimeofday and __vdso_time.
32355
32356 2011-08-20 Ulrich Drepper <drepper@gmail.com>
32357
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
32361 getc_unlocked.
32362
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.
32367
32368 [BZ #13114]
32369 * stdio-common/Makefile (tests): Add bug24.
32370 * stdio-common/bug24.c: New file.
32371
32372 2011-08-19 Andreas Jaeger <aj@suse.de>
32373
32374 [BZ #13114]
32375 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32376 non-existant file when using close-on-exec mode.
32377
32378 2011-08-20 Ulrich Drepper <drepper@gmail.com>
32379
32380 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32381 the very first instruction.
32382
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>.
32388
32389 2011-08-19 Andreas Schwab <schwab@redhat.com>
32390
32391 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32392 expectations for long double.
32393
32394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32395 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32396
32397 2011-08-14 David S. Miller <davem@davemloft.net>
32398
32399 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32400 artificual limit depends upon the system page size.
32401
32402 2011-08-17 Ulrich Drepper <drepper@gmail.com>
32403
32404 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32405 * resolv/Makefile: Define CFLAGS-libresolv.
32406
32407 2011-08-17 Andreas Schwab <schwab@redhat.com>
32408
32409 * nss/makedb.c (compute_tables): Make variables used in nested
32410 function static.
32411
32412 2011-08-17 Ulrich Drepper <drepper@gmail.com>
32413
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.
32417
32418 * elf/pldd.c (main): Attach to all threads in the process.
32419 Rewrite /proc handling to use *at functions.
32420
32421 2011-08-16 Ulrich Drepper <drepper@gmail.com>
32422
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.
32429
32430 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32431 string for the scope number.
32432
32433 2011-08-14 Ulrich Drepper <drepper@gmail.com>
32434
32435 * nscd/servicescache.c (cache_addserv): Make sure written is always
32436 initialized.
32437
32438 2011-08-14 Roland McGrath <roland@hack.frob.com>
32439
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.
32444
32445 * string/strncat.c (STRNCAT): Use prototype definition.
32446
32447 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32448 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32449 -Iprograms here.
32450 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32451 (localedef-modules): Add localedef.
32452 (locale-modules): Add locale.
32453
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.
32457
32458 2011-08-14 David S. Miller <davem@davemloft.net>
32459
32460 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32461 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32462
32463 2011-08-13 Ulrich Drepper <drepper@gmail.com>
32464
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.
32472
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.
32476
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.
32481
32482 2011-08-12 Ulrich Drepper <drepper@gmail.com>
32483
32484 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32485 was a dependency or dynamically loaded.
32486
32487 2011-08-11 Ulrich Drepper <drepper@gmail.com>
32488
32489 * intl/l10nflist.c: Allow architecture-specific pop function.
32490 * sysdeps/x86_64/l10nflist.c: New file.
32491
32492 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32493 classification.
32494
32495 2011-08-10 Andreas Schwab <schwab@redhat.com>
32496
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.
32502
32503 2011-08-10 David S. Miller <davem@davemloft.net>
32504
32505 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32506 enum.
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.
32510
32511 2011-08-09 Ulrich Drepper <drepper@gmail.com>
32512
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
32516 GLIBC_2.15.
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
32524 using scandirat.
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.
32533
32534 2011-08-08 Ulrich Drepper <drepper@gmail.com>
32535
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.
32541
32542 2011-08-04 Ulrich Drepper <drepper@gmail.com>
32543
32544 * string/test-string.h (IMPL): Use __STRING to expand name and then
32545 stringify it.
32546
32547 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32548 of cleanups.
32549
32550 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32551
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.
32558
32559 2011-07-22 Andreas Schwab <schwab@redhat.com>
32560
32561 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32562 line.
32563
32564 2011-07-26 Andreas Schwab <schwab@redhat.com>
32565
32566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32567 encoding to ACE if AI_IDN.
32568
32569 2011-08-01 Jakub Jelinek <jakub@redhat.com>
32570
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.
32573
32574 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32575
32576 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32577 Fix overflow bug in strncat.
32578 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32579
32580 * string/test-strncat.c: Update.
32581 Add new tests for checking overflow bugs.
32582
32583 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32584
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.
32594
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.
32599
32600 2011-07-25 Andreas Schwab <schwab@redhat.com>
32601
32602 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32603 __n bigger than INT_MAX+1.
32604 (__strncmp_g): Likewise.
32605
32606 2011-07-23 Ulrich Drepper <drepper@gmail.com>
32607
32608 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32609 * libio/stido.h: Likewise.
32610
32611 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32612 (AF_NFC): Define.
32613 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32614 (AF_NFC): Define.
32615
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.
32621
32622 [BZ #13021]
32623 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32624 installed.
32625
32626 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32627 typo.
32628 (_dl_x86_64_save_sse): Likewise.
32629
32630 2011-07-22 Ulrich Drepper <drepper@gmail.com>
32631
32632 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32633 OSXSAVE.
32634 (_dl_x86_64_save_sse): Likewise.
32635
32636 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32637
32638 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32639
32640 2011-07-21 Andreas Schwab <schwab@redhat.com>
32641
32642 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32643 change.
32644 (_dl_x86_64_save_sse): Use correct AVX check.
32645
32646 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32647
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.
32651
32652 2011-07-21 Ulrich Drepper <drepper@gmail.com>
32653
32654 * string/tester.c (test_strcat): Add tests for different alignments
32655 of source and destination.
32656 (test_strncat): Likewise.
32657
32658 2011-07-20 Ulrich Drepper <drepper@gmail.com>
32659
32660 [BZ #12852]
32661 * posix/glob.c (glob): Check passed in values before using them in
32662 expressions to avoid some overflows.
32663 (glob_in_dir): Likewise.
32664
32665 [BZ #13007]
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
32668 new hardware.
32669 * elf/tst-audit4.c: Add same checks here.
32670 * elf/tst-audit6.c: Likewise.
32671
32672 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
32673
32674 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32675
32676 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32677
32678 2011-07-20 Ulrich Drepper <drepper@gmail.com>
32679
32680 * po/cs.po: Update from translation team.
32681 * po/bg.po: Likewise.
32682
32683 2011-07-12 Marek Polacek <mpolacek@redhat.com>
32684
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.
32688
32689 2011-07-20 Marek Polacek <mpolacek@redhat.com>
32690
32691 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32692
32693 2011-07-20 Andreas Schwab <schwab@redhat.com>
32694
32695 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32696 strlen results.
32697
32698 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32699
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.
32706
32707 2011-07-14 Marek Polacek <mpolacek@redhat.com>
32708
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.
32713
32714 2011-07-15 Marek Polacek <mpolacek@redhat.com>
32715
32716 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32717 "aux_cache->nlibs < 0".
32718
32719 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32720 in the reload-count case.
32721
32722 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32723
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
32744 and i7.
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.
32750
32751 2011-07-19 Ulrich Drepper <drepper@gmail.com>
32752
32753 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32754 buffer64.
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
32762 buffer32.
32763 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32764 casting of buffer.
32765
32766 2011-07-19 Andreas Schwab <schwab@redhat.com>
32767
32768 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32769
32770 2011-07-19 Ulrich Drepper <drepper@gmail.com>
32771
32772 * nscd/nscd.c (termination_handler): Don't do anything for a database
32773 if it has not yet been initialized.
32774
32775 2011-07-18 Ulrich Drepper <drepper@gmail.com>
32776
32777 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32778
32779 2011-07-15 Marek Polacek <mpolacek@redhat.com>
32780
32781 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32782
32783 2011-07-18 Ulrich Drepper <drepper@gmail.com>
32784
32785 * po/nl.po: Update from translation team.
32786 * po/sv.po: Likewise.
32787
32788 2011-07-16 Roland McGrath <roland@hack.frob.com>
32789
32790 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32791 now disallowed by GCC.
32792
32793 * configure.in (use-default-link): Default to yes if a test -shared
32794 link meets our qualifications.
32795 * configure: Regenerated.
32796
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.
32803
32804 2011-07-14 Roland McGrath <roland@hack.frob.com>
32805
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.
32809
32810 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32811 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32812
32813 * configure.in (-z relro check): Adjust test code to add a large
32814 writable data section after it.
32815 * configure: Regenerated.
32816
32817 2011-07-11 Roland McGrath <roland@hack.frob.com>
32818
32819 * configure.in (-z relro check): Fix test code to make the variable
32820 truly const.
32821 * configure: Regenerated.
32822
32823 2011-07-11 Ulrich Drepper <drepper@gmail.com>
32824
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
32845 files instead.
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.
32862
32863 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32864
32865 2011-07-10 Roland McGrath <roland@hack.frob.com>
32866
32867 * csu/elf-init.c (__libc_csu_init): Comment typo.
32868
32869 2011-07-09 Ulrich Drepper <drepper@gmail.com>
32870
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.
32876
32877 2011-07-09 Roland McGrath <roland@hack.frob.com>
32878
32879 * configure.in (.ctors/.dtors header and trailer check):
32880 Use an empirical test on a built program.
32881 * configure: Regenerated.
32882
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.
32886
32887 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32888 Update tests that use readelf to use $READELF instead.
32889 * configure: Regenerated.
32890
32891 2011-07-08 Ulrich Drepper <drepper@gmail.com>
32892
32893 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32894 if the result is not used.
32895
32896 2011-07-05 Andreas Jaeger <aj@suse.de>
32897
32898 [BZ#9696]
32899 * stdlib/tst-strtod.c: Add testcase.
32900
32901 2011-07-07 Ulrich Drepper <drepper@gmail.com>
32902
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
32906 the new function.
32907 (__pathconf): Pass file to __statfs_link_max.
32908 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32909 __statfs_link_max.
32910 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32911 __statfs_link_max.
32912
32913 [BZ #12868]
32914 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32915 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32916 Handle Lustre.
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>.
32920
32921 2011-07-05 Andreas Jaeger <aj@suse.de>
32922
32923 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32924
32925 2011-07-06 Marek Polacek <mpolacek@redhat.com>
32926
32927 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32928 `status' variable.
32929 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32930 Likewise.
32931
32932 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32933
32934 * Makefile (strop-tests): Add strncat.
32935 * string/test-strncat.c: New file.
32936
32937 2011-06-30 Marek Polacek <mpolacek@redhat.com>
32938
32939 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
32940
32941 2011-06-21 Andreas Jaeger <aj@suse.de>
32942
32943 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
32944 Copy rule from iconvdata/Makefile.
32945
32946 2011-07-06 Ulrich Drepper <drepper@gmail.com>
32947
32948 [BZ #12922]
32949 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
32950 but no long options are defined, just return 'W'.
32951
32952 2011-06-22 Marek Polacek <mpolacek@redhat.com>
32953
32954 [BZ #9696]
32955 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
32956
32957 2011-07-06 Ulrich Drepper <drepper@gmail.com>
32958
32959 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
32960 netgroups to read.
32961 (innetgr): Likewise.
32962
32963 2011-07-05 Roland McGrath <roland@hack.frob.com>
32964
32965 * config.make.in (install_root): Default to $(DESTDIR).
32966
32967 2011-07-05 Ulrich Drepper <drepper@gmail.com>
32968
32969 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
32970
32971 2011-07-02 Roland McGrath <roland@hack.frob.com>
32972
32973 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
32974
32975 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
32976 containing directory rather than embedding absolute directory names.
32977
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.
32981
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.
32986
32987 * config.make.in (OBJCOPY): New variable.
32988 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
32989 * configure: Regenerated.
32990
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.
32996
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.
33003
33004 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33005 DT_FLAGS/DT_FLAGS_1 with zero flags.
33006
33007 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33008 linker script munging.
33009
33010 2011-07-02 Ulrich Drepper <drepper@gmail.com>
33011
33012 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33013 as 128-bit value.
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
33018 as 64-bit value.
33019 * crypt/sha256.c (SWAP64): Define.
33020 (sha256_process_block): Perform total addition using 64-bit if
33021 possible.
33022 (__sha256_finish_ctx): Likewise.
33023
33024 2011-07-01 Ulrich Drepper <drepper@gmail.com>
33025
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.
33032
33033 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
33034
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
33040
33041 2011-07-01 Andreas Schwab <schwab@redhat.com>
33042
33043 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33044 domain only when needed.
33045
33046 2011-06-30 Andreas Schwab <schwab@redhat.com>
33047
33048 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33049 is always restored.
33050
33051 2011-06-29 Ulrich Drepper <drepper@gmail.com>
33052
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.
33056
33057 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
33058
33059 * sysdeps/generic/dl-irel.h: fix protection against multiple
33060 inclusions.
33061 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33062
33063 2011-06-28 Ulrich Drepper <drepper@gmail.com>
33064
33065 [BZ #12935]
33066 * malloc/memusage.sh: Fix quoting in message.
33067 * debug/xtrace.sh: Likewise.
33068
33069 * configure.in: Remove support for --experimental-malloc option, make
33070 it the default.
33071 * config.make.in: Likewise.
33072 * malloc/Makefile: Likewise.
33073
33074 2011-06-27 Andreas Schwab <schwab@redhat.com>
33075
33076 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33077 two-byte characters.
33078
33079 2011-06-27 Roland McGrath <roland@hack.frob.com>
33080
33081 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33082 AC_CACHE_CHECK invocation.
33083 * configure: Regenerated.
33084
33085 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33086
33087 2011-06-27 Ulrich Drepper <drepper@gmail.com>
33088
33089 [BZ #12350]
33090 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
33091 bit from old_res_options.
33092
33093 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33094
33095 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33096 value type for setfct.
33097
33098 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
33099
33100 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33101 __gettimeofday instead of gettimeofday.
33102
33103 2011-06-26 Ulrich Drepper <drepper@gmail.com>
33104
33105 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33106
33107 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
33108
33109 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33110
33111 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33112 info.
33113
33114 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33115
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.
33130
33131 2011-06-24 Ulrich Drepper <drepper@gmail.com>
33132
33133 [BZ #12874]
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.
33137
33138 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33139
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
33157 processors.
33158 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33159 Define.
33160 (index_Fast_Unaligned_Load): Define.
33161 (HAS_FAST_UNALIGNED_LOAD): Define.
33162
33163 2011-06-23 Marek Polacek <mpolacek@redhat.com>
33164
33165 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33166
33167 2011-06-22 Ulrich Drepper <drepper@gmail.com>
33168
33169 [BZ #12907]
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>.
33173
33174 2011-06-22 Andreas Schwab <schwab@redhat.com>
33175
33176 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33177
33178 2011-06-22 Ulrich Drepper <drepper@gmail.com>
33179
33180 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33181 /sys/devices/system/cpu/online if it is usable.
33182
33183 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33184 reading the information from the /proc filesystem to once a second.
33185
33186 2011-06-21 Andreas Jaeger <aj@suse.de>
33187
33188 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33189 NULL after inclusion of kernel headers.
33190
33191 2011-06-21 Ulrich Drepper <drepper@gmail.com>
33192
33193 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33194 calls to internal_setent.
33195
33196 [BZ #12885]
33197 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33198 addresses using gethostbyname4_r ignore IPv4 addresses.
33199
33200 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33201 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
33202
33203 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33204
33205 2011-06-20 David S. Miller <davem@davemloft.net>
33206
33207 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33208 inclusions.
33209 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33210
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.
33218
33219 * elf/dl-runtime.c: Use elf_ifunc_invoke.
33220 * elf/dl-sym.c: Likewise.
33221
33222 2011-06-15 Ulrich Drepper <drepper@gmail.com>
33223
33224 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
33225 need to dereference resplen2.
33226
33227 2011-06-14 Andreas Schwab <schwab@redhat.com>
33228
33229 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33230
33231 2011-06-15 Ulrich Drepper <drepper@gmail.com>
33232
33233 * Makeconfig: Define vardbdir and inst_vardbdir.
33234 * nss/Makefile: Add rules to install db-Makefile.
33235
33236 * nss/nss_db/db-XXX.c: Cleanup.
33237
33238 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33239 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33240 GLIBC_PRIVATE.
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
33244 get*ent calls.
33245 * nss/nss_db/db-initgroups.c: New file.
33246
33247 * nss/getent.c: Add support for initgroups lookups through getgrouplist
33248 interface.
33249
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.
33254
33255 * nss/makedb.c (compute_tables): Check result of multiple hash table
33256 sizes to minimize maximum chain length.
33257
33258 2011-06-14 Ulrich Drepper <drepper@gmail.com>
33259
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
33264 entries better.
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
33268 here from...
33269 * nss/makedb.c: ...here.
33270 Improve database format to be smaller and require less memory at
33271 runtime.
33272 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
33273 db anymore.
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.
33289
33290 2011-06-02 Ulrich Drepper <drepper@gmail.com>
33291
33292 * nss/makedb.c: Rewritten to not use database library.
33293 * nss/Makefile: Update to build new makedb program.
33294
33295 2011-06-14 Andreas Jaeger <aj@suse.de>
33296
33297 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33298 memset declaration.
33299
33300 2011-06-10 Andreas Schwab <schwab@redhat.com>
33301
33302 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33303 tmpbuf.
33304
33305 2011-06-10 Roland McGrath <roland@hack.frob.com>
33306
33307 * Makerules (shlib.lds): Fail if the linker script comes out empty.
33308 * elf/Makefile ($(objpfx)ld.so): Likewise.
33309
33310 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33311 Don't list ld.so twice in dependencies.
33312
33313 * posix/bug-regex31.c: Include <stdlib.h>.
33314
33315 * nscd/hstcache.c (cache_addhst): Remove unused variable.
33316
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.
33320
33321 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33322 nonmembers" output to use the right array.
33323
33324 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33325
33326 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
33327
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.
33332
33333 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33334 variable definition inside #if's controlling its use.
33335
33336 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33337
33338 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33339
33340 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33341
33342 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33343 unreachable code.
33344
33345 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33346
33347 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33348 * configure: Regenerated.
33349
33350 * Makerules: Revert last change.
33351 * elf/Makefile: Likewise.
33352
33353 2011-06-09 Roland McGrath <roland@hack.frob.com>
33354
33355 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33356 * elf/Makefile ($(objpfx)librtld.os): Likewise.
33357 (reloc-link): Likewise.
33358
33359 2011-06-09 Ulrich Drepper <drepper@gmail.com>
33360
33361 * elf/Makefile: Add rules to build pldd.
33362 * elf/pldd.c: New file.
33363 * elf/pldd-xx.c: New file.
33364
33365 2011-06-07 Ulrich Drepper <drepper@gmail.com>
33366
33367 * version.h: Update for 2.15 development version.
33368
33369 2011-06-07 David S. Miller <davem@davemloft.net>
33370
33371 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33372 ifuncs.
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):
33381 Likewise.
33382
33383 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33384
33385 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
33386
33387 2011-06-06 Roland McGrath <roland@hack.frob.com>
33388
33389 [BZ #12849]
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.
33395 (texis): Use it.
33396 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33397
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.
33402
33403 2011-06-04 Jakub Jelinek <jakub@redhat.com>
33404
33405 [BZ #12841]
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.
33409
33410 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
33411
33412 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33413 Assume Intel Core i3/i5/i7 processor if AVX is available.
33414
33415 2011-05-31 Ulrich Drepper <drepper@gmail.com>
33416
33417 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33418 typo.
33419
33420 2011-05-31 Andreas Schwab <schwab@redhat.com>
33421
33422 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33423 memory. Use alloca_account. Fix memory leak when retrying.
33424
33425 2011-05-31 Ulrich Drepper <drepper@gmail.com>
33426
33427 * version.h (RELEASE): Bump for 2.14 release.
33428 * include/features.h (__GLIBC_MINOR__): Bump to 14.
33429
33430 * config.make.in (RANLIB): Remove entry.
33431
33432 2011-05-30 Ulrich Drepper <drepper@gmail.com>
33433
33434 * po/Makefile (po-sed-cmd): Add ksh to extensions.
33435 (libc.pot): Work around missing support for .ksh extension in xgettext.
33436
33437 [BZ #12684]
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.
33441
33442 [BZ #12454]
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.
33447
33448 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33449
33450 2011-05-29 Ulrich Drepper <drepper@gmail.com>
33451
33452 [BZ #12350]
33453 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33454 bit from old_res_options.
33455 (gaih_inet): Likewise.
33456
33457 [BZ #11099]
33458 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
33459 as signed.
33460
33461 * resolv/res_init.c (res_setoptions): Make the code more compact.
33462
33463 [BZ #11558]
33464 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33465 set RES_USEVC.
33466
33467 [BZ #11634]
33468 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33469
33470 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33471
33472 [BZ #11781]
33473 * malloc/malloc.h: Declare malloc hook variables as volatile.
33474
33475 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33476 in last patch.
33477
33478 [BZ #11799]
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.
33484
33485 2011-05-28 Ulrich Drepper <drepper@gmail.com>
33486
33487 [BZ #12811]
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
33494 buffer.
33495 Patches mostly by Emil Wojak <emil@wojak.eu>.
33496 * posix/bug-regex32.c: New file.
33497 * posix/Makefile (tests): Add bug-regex32.
33498
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.
33502
33503 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33504
33505 * debug/xtrace.sh: Unify messages.
33506 * malloc/memusage.sh: Likewise.
33507
33508 [BZ #12813]
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
33512 __vdso_time.
33513
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.
33521
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.
33525
33526 2011-05-27 Ulrich Drepper <drepper@gmail.com>
33527
33528 [BZ #12813]
33529 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33530 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33531 available.
33532 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33533 __vdso_getcpu.
33534
33535 [BZ #12814]
33536 * iconvdata/Makefile (tests): Add bug-iconv9.
33537 * iconvdata/bug-iconv9.c: New file.
33538
33539 2011-05-27 Andreas Schwab <schwab@redhat.com>
33540
33541 [BZ #12814]
33542 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33543
33544 2011-05-25 Jakub Jelinek <jakub@redhat.com>
33545
33546 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33547 (struct user_regs_struct): Change intcs field back to cs.
33548
33549 2011-05-25 Ulrich Drepper <drepper@gmail.com>
33550
33551 * po/ja.po: Update from translation team.
33552
33553 2011-05-23 Ulrich Drepper <drepper@gmail.com>
33554
33555 [BZ #12795]
33556 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33557 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33558
33559 2011-05-20 Andreas Schwab <schwab@redhat.com>
33560
33561 * stdlib/longlong.h: Update from GCC.
33562
33563 2011-05-23 Andreas Schwab <schwab@redhat.com>
33564
33565 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33566 parameter name.
33567 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33568 Add parameter name.
33569 (__sysconf): Pass it down.
33570
33571 2011-05-22 Ulrich Drepper <drepper@gmail.com>
33572
33573 [BZ #12671]
33574 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33575 some situations.
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.
33580
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
33583 pltexit.
33584
33585 2011-05-21 Ulrich Drepper <drepper@gmail.com>
33586
33587 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33588 and CLOCK_BOOTTIME_ALARM.
33589
33590 [BZ #12782]
33591 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33592 is returned.
33593
33594 * string/_strerror.c (__strerror_r): Print negative errors as signed
33595 numbers.
33596
33597 [BZ #12777]
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.
33601
33602 * configure.in: Fix typo in redirection and correct removal of test
33603 files in two cases.
33604
33605 [BZ #12788]
33606 * locale/setlocale.c (new_composite_name): Fix test to check for
33607 identical name of all categories.
33608
33609 [BZ #12792]
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
33615 error flag.
33616
33617 2011-05-20 Ulrich Drepper <drepper@gmail.com>
33618
33619 [BZ #11869]
33620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33621 alloca.
33622 * include/alloca.h (extend_alloca_account): Define.
33623
33624 [BZ #11857]
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>.
33629
33630 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33631
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.
33635
33636 2011-05-19 Andreas Schwab <schwab@redhat.com>
33637
33638 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33639
33640 2011-05-19 Ulrich Drepper <drepper@gmail.com>
33641
33642 * libio/freopen.c (freopen): Use __dup2, not dup2.
33643 * libio/freopen64.c (freopen64): Likewise.
33644
33645 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33646
33647 [BZ #12775]
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.
33652
33653 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33654
33655 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33656
33657 2011-05-17 Ulrich Drepper <drepper@gmail.com>
33658
33659 [BZ #11837]
33660 * iconvdata/gb18030.c: Update to GB18020-2005.
33661
33662 2011-05-16 Ulrich Drepper <drepper@gmail.com>
33663
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>.
33667
33668 [BZ #11892]
33669 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33670 on the stack.
33671
33672 [BZ #11895]
33673 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33674 through underflows.
33675
33676 [BZ #12766]
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
33679 mode.
33680
33681 [BZ #11697]
33682 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33683
33684 [BZ #11820]
33685 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33686 (struct user_fpregs_struct): Avoid __uint*_t types.
33687
33688 [BZ #6420]
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.
33697
33698 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33699 used and couldn't be at all thread-safe.
33700
33701 2011-05-15 Ulrich Drepper <drepper@gmail.com>
33702
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.
33718
33719 [BZ #7101]
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.
33724
33725 [BZ #10138]
33726 * scripts/config.guess: Update from autoconf-2.68.
33727 * scripts/config.sub: Likewise.
33728
33729 [BZ #10157]
33730 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33731 tests into ...
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.
33735
33736 [BZ #10149]
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.
33740
33741 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33742 Use non-cancelable interfaces.
33743
33744 [BZ #9809]
33745 * locale/iso-639.def: Add entry for Sorani.
33746
33747 [BZ #11901]
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
33753 mmap.
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
33759 mmap.
33760 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33761
33762 2011-05-14 Ulrich Drepper <drepper@gmail.com>
33763
33764 [BZ #11952]
33765 [BZ #12453]
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>.
33774
33775 [BZ #12083]
33776 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33777 correctly.
33778
33779 [BZ #12601]
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.
33784
33785 [BZ #12626]
33786 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33787 buf2 definition.
33788
33789 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33790
33791 [BZ #12432]
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.
33797
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.
33801
33802 2011-05-11 Andreas Schwab <schwab@redhat.com>
33803
33804 * Makeconfig (+link-pie): Indent.
33805 * Rules (binaries-pie): Define if $(have-fpie) and
33806 $(build-shared).
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.
33816
33817 2011-05-13 Ulrich Drepper <drepper@gmail.com>
33818
33819 * libio/tst_putwc.c: Fix error messages.
33820
33821 [BZ #12724]
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.
33826
33827 2011-05-12 Ulrich Drepper <drepper@gmail.com>
33828
33829 [BZ #12511]
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>.
33839
33840 2011-05-11 Ulrich Drepper <drepper@gmail.com>
33841
33842 [BZ #12052]
33843 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33844
33845 [BZ #12625]
33846 * misc/mntent_r.c (addmntent): Flush the stream after the output
33847
33848 [BZ #12393]
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.
33857
33858 2011-05-10 Ulrich Drepper <drepper@gmail.com>
33859
33860 [BZ #11257]
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.
33867
33868 2011-05-09 Ulrich Drepper <drepper@gmail.com>
33869
33870 [BZ #11532]
33871 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33872 and CP774 modules.
33873 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33874 and CP774 modules.
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.
33891
33892 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33893 END CHARMAP line.
33894 * iconvdata/gen-8bit-gap.sh: Likewise.
33895 * iconvdata/gen-8bit.sh: Likewise.
33896
33897 * locale/iso-639.def: Add ary entry.
33898
33899 [BZ #11258]
33900 * locale/C-translit.h.in: Add U20A1 transliteration.
33901
33902 [BZ #12178]
33903 * locale/iso-639.def: Add wae entry.
33904 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33905
33906 [BZ #12545]
33907 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33908 for n.
33909
33910 [BZ #12711]
33911 * locale/C-translit.h.in: Add entry for U20B9.
33912 Patch by pravin.d.s@gmail.com.
33913
33914 2011-05-08 Ulrich Drepper <drepper@gmail.com>
33915
33916 [BZ #12713]
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.
33933
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
33937 __alloc_dir.
33938 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33939 from fdopendir if O_CLOEXEC is already set.
33940
33941 2011-03-15 Alan Modra <amodra@gmail.com>
33942
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.
33948
33949 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
33950
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.
33954
33955 2011-05-07 Ulrich Drepper <drepper@gmail.com>
33956
33957 [BZ #12734]
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.
33964
33965 2011-05-07 Petr Baudis <pasky@suse.cz>
33966 Ulrich Drepper <drepper@gmail.com>
33967
33968 [BZ #12393]
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.
33974
33975 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
33976
33977 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
33978 __BEGIN/__END_DECLS.
33979
33980 2011-05-06 Ulrich Drepper <drepper@gmail.com>
33981
33982 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
33983 NSS_STATUS_NOTFOUND if no record was found.
33984
33985 2011-05-05 Andreas Schwab <schwab@redhat.com>
33986
33987 * sunrpc/Makefile (headers): Add rpc/netdb.h.
33988 (headers-not-in-tirpc): Remove rpc/netdb.h
33989 * resolv/netdb.h: Revert last change.
33990
33991 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
33992
33993 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
33994 circular dependency between libgcc.a and libc.a.
33995
33996 2011-05-05 Andreas Schwab <schwab@redhat.com>
33997
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.
34003
34004 2011-05-03 Andreas Schwab <schwab@redhat.com>
34005
34006 * elf/ldconfig.c (add_dir): Don't crash on empty path.
34007
34008 2011-04-28 Maciej Babinski <mbabinski@google.com>
34009
34010 [BZ #12714]
34011 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34012 gethostbyname4_r when IPv6 results are possible.
34013
34014 2011-05-02 Ulrich Drepper <drepper@gmail.com>
34015
34016 [BZ #12723]
34017 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34018 _PC_PIPE_BUF handling.
34019
34020 2011-04-30 Bruno Haible <bruno@clisp.org>
34021
34022 [BZ #12717]
34023 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34024 * resolv/netdb.h (getnameinfo): Change type of flags parameter
34025 to 'int'.
34026 * inet/getnameinfo.c (getnameinfo): Likewise.
34027
34028 2011-04-29 Ulrich Drepper <drepper@gmail.com>
34029
34030 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34031 to groups setting in database lookup.
34032 * nss/nsswitch.conf: Add initgroups entry.
34033
34034 2011-04-22 Ulrich Drepper <drepper@gmail.com>
34035
34036 [BZ #12685]
34037 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34038 mode string.
34039 Patch by Eric Blake <eblake@redhat.com>.
34040
34041 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
34042
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.
34049
34050 2011-04-21 Ulrich Drepper <drepper@gmail.com>
34051
34052 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34053 problem in reallocation in last patch.
34054
34055 2011-04-20 Ulrich Drepper <drepper@gmail.com>
34056
34057 * sunrpc/Makefile: Move inclusion of Rules.
34058
34059 2011-04-19 Ulrich Drepper <drepper@gmail.com>
34060
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.
34065
34066 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
34067
34068 * elf/elf.h (R_ARM_IRELATIVE): Define.
34069
34070 2011-04-19 Ulrich Drepper <drepper@gmail.com>
34071
34072 * po/ru.po: Update from translation team.
34073
34074 2011-04-17 Ulrich Drepper <drepper@gmail.com>
34075
34076 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34077 dependencies.
34078
34079 2011-02-06 Mike Frysinger <vapier@gentoo.org>
34080
34081 [BZ #12653]
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.
34087
34088 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
34089
34090 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34091 differing bytes.
34092 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34093 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34094 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34095
34096 2011-04-17 Ulrich Drepper <drepper@gmail.com>
34097
34098 [BZ #12420]
34099 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34100 storing it.
34101 * stdlib/bug-getcontext.c: New file.
34102 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34103
34104 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34105
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.
34110
34111 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34112
34113 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34114 between environment variables and auxiliary vector.
34115
34116 2011-04-16 Ulrich Drepper <drepper@gmail.com>
34117
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.
34189
34190 2011-04-10 Ulrich Drepper <drepper@gmail.com>
34191
34192 [BZ #12650]
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.
34201
34202 2011-03-14 Andreas Schwab <schwab@redhat.com>
34203
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
34211 with zero is_path.
34212
34213 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
34214
34215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34216 Make cancelable.
34217
34218 2011-04-09 Ulrich Drepper <drepper@gmail.com>
34219
34220 [BZ #12655]
34221 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34222 Patch by Filipe David Manana <fdmanana@apache.org>.
34223
34224 2011-04-07 Andreas Schwab <schwab@redhat.com>
34225
34226 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34227 Maintain aligned stack.
34228 (CHECK_RSP): Remove unused macro.
34229
34230 2011-04-03 Ulrich Drepper <drepper@gmail.com>
34231
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.
34234
34235 2011-04-02 Ulrich Drepper <drepper@gmail.com>
34236
34237 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34238
34239 * include/features.h: Mention __USE_XOPEN2K8 in comment.
34240
34241 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
34242
34243 [BZ #12518]
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.
34253
34254 2011-04-01 Ulrich Drepper <drepper@gmail.com>
34255
34256 [BZ #12631]
34257 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34258
34259 2011-03-30 Andreas Schwab <schwab@redhat.com>
34260
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.
34265
34266 2011-04-01 Andreas Schwab <schwab@redhat.com>
34267
34268 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34269 open_by_handle_at.
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.
34277
34278 2011-04-01 Ulrich Drepper <drepper@gmail.com>
34279
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.
34287
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.
34305
34306 2011-04-01 Andreas Schwab <schwab@redhat.com>
34307
34308 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34309 bits/timex.h.
34310
34311 2011-04-01 Ulrich Drepper <drepper@gmail.com>
34312
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.
34321
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
34333 open_by_handle.
34334
34335 * io/fcntl.h (AT_EMPTY_PATH): Define.
34336
34337 2011-03-30 Ulrich Drepper <drepper@gmail.com>
34338
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
34342 to...
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):
34346 Export.
34347
34348 2011-03-22 Ulrich Drepper <drepper@gmail.com>
34349
34350 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34351 round counter.
34352 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34353
34354 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
34355
34356 [BZ #12597]
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.
34361
34362 2011-03-20 Ulrich Drepper <drepper@gmail.com>
34363
34364 [BZ #12587]
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.
34368
34369 2011-03-18 Ulrich Drepper <drepper@gmail.com>
34370
34371 [BZ #12583]
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>.
34375
34376 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
34377
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,...).
34381
34382 2011-03-10 Jakub Jelinek <jakub@redhat.com>
34383
34384 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34385
34386 2011-03-10 Ulrich Drepper <drepper@gmail.com>
34387
34388 [BZ #12510]
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
34391 used variable.
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.
34399
34400 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34401
34402 2011-03-10 Mike Frysinger <vapier@gentoo.org>
34403
34404 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34405 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
34406 to _start.
34407
34408 2011-03-06 Ulrich Drepper <drepper@gmail.com>
34409
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.
34412
34413 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34414 Ulrich Drepper <drepper@gmail.com>
34415
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.
34419
34420 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34421
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.
34426
34427 2011-03-04 Ulrich Drepper <drepper@gmail.com>
34428
34429 * libio/fmemopen.c (fmemopen): Optimize a bit.
34430
34431 2011-03-03 Andreas Schwab <schwab@redhat.com>
34432
34433 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34434
34435 2011-03-03 Roland McGrath <roland@redhat.com>
34436
34437 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34438
34439 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
34440
34441 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
34442 __bzero_ultra1 instead of __memset_ultra1.
34443
34444 2011-02-23 Andreas Schwab <schwab@redhat.com>
34445 Ulrich Drepper <drepper@gmail.com>
34446
34447 [BZ #12509]
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
34453 list.
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.
34461
34462 2011-02-17 Andreas Schwab <schwab@redhat.com>
34463
34464 [BZ #12454]
34465 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34466 dependencies are missing.
34467
34468 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34469
34470 Fix __if_freereq crash: Unlike the generic version which uses free,
34471 Hurd needs munmap.
34472 * sysdeps/mach/hurd/ifreq.h: New file.
34473
34474 2011-01-27 Petr Baudis <pasky@suse.cz>
34475 Ulrich Drepper <drepper@gmail.com>
34476
34477 [BZ 12445]#
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.
34482
34483 2010-09-28 Andreas Schwab <schwab@redhat.com>
34484 Ulrich Drepper <drepper@gmail.com>
34485
34486 [BZ #12489]
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.
34490
34491 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34492 Glauber de Oliveira Costa <glommer@gmail.com>
34493
34494 * elf/elf.h: Add new ARM TLS relocs.
34495
34496 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34497
34498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34499 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34500 cast from r3.
34501 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34502 'tests' variable.
34503 * sysdeps/wordsize-64/tst-writev.c: New file.
34504
34505 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34506
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
34510 resolved.
34511
34512 2011-02-15 Ulrich Drepper <drepper@gmail.com>
34513
34514 [BZ #12469]
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.
34520
34521 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34522
34523 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34524 protection macro.
34525 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34526 inclusion protection macro.
34527
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.
34531
34532 2011-02-11 Jakub Jelinek <jakub@redhat.com>
34533
34534 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34535 arginfo fn returning -1.
34536
34537 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34538 and thousands string is zero terminated.
34539
34540 2011-02-03 Andreas Schwab <schwab@redhat.com>
34541
34542 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34543 sysdeps/unix/sysv/linux/bits/socket.h.
34544
34545 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34546
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.
34553
34554 2011-02-05 Ulrich Drepper <drepper@gmail.com>
34555
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.
34584
34585 2011-02-04 Roland McGrath <roland@redhat.com>
34586
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.
34592
34593 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34594
34595 * posix/fnmatch_loop.c: Add some consts.
34596
34597 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34598
34599 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34600
34601 [BZ #12460]
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.
34612
34613 2011-02-02 Ulrich Drepper <drepper@gmail.com>
34614
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>.
34618
34619 2011-02-02 Andreas Schwab <schwab@redhat.com>
34620
34621 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34622 of errno.
34623
34624 2011-01-19 Ulrich Drepper <drepper@gmail.com>
34625
34626 [BZ #11724]
34627 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34628 of constructors.
34629 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34630 of destructors.
34631 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34632
34633 [BZ #11724]
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>.
34651
34652 2010-10-01 Andreas Schwab <schwab@redhat.com>
34653
34654 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34655 decoding ACE if AI_CANONIDN.
34656
34657 2011-01-18 Ulrich Drepper <drepper@gmail.com>
34658
34659 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34660
34661 2011-01-17 Ulrich Drepper <drepper@gmail.com>
34662
34663 * version.h (RELEASE): Bump for 2.13 release.
34664 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34665
34666 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34667
34668 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34669 MADV_NOHUGEPAGE.
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.
34676
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.
34693
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.
34697
34698 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34699
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.
34711
34712 * configure.in: Don't override --enable-multi-arch.
34713
34714 2011-01-15 Ulrich Drepper <drepper@gmail.com>
34715
34716 [BZ #6812]
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
34720 failed.
34721
34722 2011-01-14 Ulrich Drepper <drepper@gmail.com>
34723
34724 [BZ #10563]
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.
34728
34729 [BZ #12378]
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.
34737
34738 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34739
34740 * elf/Makefile (check-execstack): Revert last change. Depend on
34741 check-execstack.h.
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.
34748
34749 2011-01-13 Ulrich Drepper <drepper@gmail.com>
34750
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.
34756
34757 [BZ #12397]
34758 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34759 syscall.
34760
34761 [BZ #10484]
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.
34765
34766 2011-01-12 Ulrich Drepper <drepper@gmail.com>
34767
34768 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34769 loader is ld.so.
34770
34771 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34772
34773 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34774 alignment for SSE2.
34775
34776 2011-01-12 Ulrich Drepper <drepper@gmail.com>
34777
34778 [BZ #12394]
34779 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34780 characters. When rounding increased number of integer digits recompute
34781 number of groups.
34782 * stdio-common/tst-grouping.c: New file.
34783 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34784
34785 2011-01-09 Ulrich Drepper <drepper@gmail.com>
34786
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.
34789
34790 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34791 void.
34792 * bits/select.h: Likewise.
34793
34794 2011-01-08 Ulrich Drepper <drepper@gmail.com>
34795
34796 * po/ja.po: Update from translation team.
34797
34798 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
34799
34800 [BZ #11155]
34801 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34802 implementation just like for lxstat, fxstatat, et al.
34803
34804 2010-12-27 Jim Meyering <meyering@redhat.com>
34805
34806 [BZ #12348]
34807 * posix/regexec.c (build_trtable): Return failure indication upon
34808 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34809
34810 2010-12-25 Ulrich Drepper <drepper@gmail.com>
34811
34812 [BZ #12201]
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.
34817
34818 [BZ #12207]
34819 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34820
34821 [BZ #12204]
34822 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34823 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34824
34825 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34826
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.
34839
34840 2010-12-24 Ulrich Drepper <drepper@gmail.com>
34841
34842 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34843 always use the slow path.
34844
34845 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34846
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.
34866
34867 2010-12-19 Ulrich Drepper <drepper@gmail.com>
34868
34869 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34870 accurately.
34871 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34872 GETDENTS_64BIT_ALIGNED.
34873
34874 2010-12-14 Ulrich Drepper <dreper@gmail.com>
34875
34876 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
34877
34878 2010-12-10 Andreas Schwab <schwab@redhat.com>
34879
34880 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34881 _GNU_SOURCE.
34882
34883 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34884 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34885 Remove __restrict.
34886 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34887 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34888
34889 2010-12-09 Ulrich Drepper <drepper@gmail.com>
34890
34891 [BZ #11655]
34892 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34893 are initialized.
34894
34895 2010-12-09 Jakub Jelinek <jakub@redhat.com>
34896
34897 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34898
34899 2010-12-03 Ulrich Drepper <drepper@gmail.com>
34900
34901 * po/it.po: Update from translation team.
34902
34903 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34904
34905 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34906 unused codes.
34907
34908 2010-11-30 Ulrich Drepper <drepper@gmail.com>
34909
34910 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34911
34912 2010-11-24 Andreas Schwab <schwab@redhat.com>
34913
34914 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34915 specially.
34916 (gaih_getanswer_slice): Likewise.
34917
34918 2010-10-20 Jakub Jelinek <jakub@redhat.com>
34919
34920 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34921
34922 2010-05-31 Petr Baudis <pasky@suse.cz>
34923
34924 [BZ #11149]
34925 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34926 silently even in the chroot mode.
34927
34928 2010-11-22 Ulrich Drepper <drepper@gmail.com>
34929
34930 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34931 last patch a bit. Pretty printing
34932
34933 2010-05-31 Petr Baudis <pasky@suse.cz>
34934
34935 [BZ #10085]
34936 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34937 initialization of skip_initgroups_dyn.
34938
34939 2010-11-19 Ulrich Drepper <drepper@gmail.com>
34940
34941 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
34942 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34943
34944 2010-11-16 Ulrich Drepper <drepper@gmail.com>
34945
34946 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
34947
34948 2010-11-11 Andreas Schwab <schwab@redhat.com>
34949
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.
34956
34957 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
34958
34959 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34960 Support Intel processor model 6 and model 0x2c.
34961
34962 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
34963
34964 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
34965 signed comparison.
34966
34967 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
34968
34969 [BZ #12205]
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.
34976
34977 2010-11-08 Ulrich Drepper <drepper@gmail.com>
34978
34979 [BZ #12194]
34980 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
34981 * sysdeps/x86_64/bits/byteswap.h: Likewise.
34982
34983 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
34984
34985 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
34986 IFUNC support.
34987 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
34988 memset-x86-64.
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):
34997 Define.
34998 (index_Prefer_SSE_for_memop): Define.
34999 (HAS_PREFER_SSE_FOR_MEMOP): Define.
35000
35001 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
35002
35003 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35004 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35005
35006 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
35007
35008 [BZ #12191]
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.
35013
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.
35024
35025 2010-11-03 Ulrich Drepper <drepper@gmail.com>
35026
35027 [BZ #12167]
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>.
35032
35033 2010-10-28 Erich Ritz <erichritz@gmail.com>
35034
35035 * math/math.h (isinf): Fix typo in comment.
35036
35037 2010-11-01 Ulrich Drepper <drepper@gmail.com>
35038
35039 * po/da.po: Update from translation team.
35040
35041 2010-10-26 Ulrich Drepper <drepper@gmail.com>
35042
35043 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35044 is added to the list.
35045
35046 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35047 Ulrich Drepper <drepper@gmail.com>
35048
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.
35057
35058 2010-10-25 Ulrich Drepper <drepper@gmail.com>
35059
35060 [BZ #12159]
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>.
35064
35065 2010-10-24 Ulrich Drepper <drepper@gmail.com>
35066
35067 [BZ #12140]
35068 * malloc/malloc.c (_int_free): Fill correct number of bytes when
35069 perturbing.
35070
35071 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
35072
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
35078 submachine.
35079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35080
35081 2010-10-22 Andreas Schwab <schwab@redhat.com>
35082
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.
35095
35096 2010-09-09 Andreas Schwab <schwab@redhat.com>
35097
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.
35102
35103 2010-10-18 Andreas Schwab <schwab@redhat.com>
35104
35105 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35106 _dl_map_object do it.
35107
35108 2010-10-19 Ulrich Drepper <drepper@gmail.com>
35109
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.
35115
35116 * bits/mathdef.h: Update copyright year.
35117 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35118
35119 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
35120
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
35126 multiply/add.
35127 (FP_FAST_FMAF): Likewise.
35128
35129 2010-10-15 Jakub Jelinek <jakub@redhat.com>
35130
35131 [BZ #3268]
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.
35143
35144 2010-10-16 Jakub Jelinek <jakub@redhat.com>
35145
35146 [BZ #3268]
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.
35151
35152 2010-10-14 Jakub Jelinek <jakub@redhat.com>
35153
35154 [BZ #3268]
35155 * math/libm-test.inc (fma_test): Add some more tests.
35156 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35157 correctly.
35158
35159 2010-10-15 Andreas Schwab <schwab@redhat.com>
35160
35161 * scripts/data/localplt-s390-linux-gnu.data: New file.
35162 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35163
35164 2010-10-13 Jakub Jelinek <jakub@redhat.com>
35165
35166 [BZ #3268]
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
35169 instead of dbl-64.
35170 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35171 inlines.
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.
35182
35183 2010-10-12 Jakub Jelinek <jakub@redhat.com>
35184
35185 [BZ #3268]
35186 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35187 fma tests.
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.
35195
35196 2010-10-12 Ulrich Drepper <drepper@redhat.com>
35197
35198 [BZ #12078]
35199 * posix/regcomp.c (parse_branch): One more memory leak plugged.
35200 * posix/bug-regex31.input: Add test case.
35201
35202 2010-10-11 Ulrich Drepper <drepper@gmail.com>
35203
35204 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35205 * posix/bug-regex31.input: New file.
35206
35207 [BZ #12078]
35208 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35209 (parse_sub_exp): Fix last change, use postorder.
35210
35211 * posix/bug-regex31.c: New file.
35212 * posix/Makefile: Add rules to build and run bug-regex31.
35213
35214 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35215
35216 [BZ #12078]
35217 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35218
35219 [BZ #12108]
35220 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35221 to have entries in sys_siglist.
35222
35223 [BZ #12093]
35224 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35225 be NULL.
35226
35227 2010-10-07 Jakub Jelinek <jakub@redhat.com>
35228
35229 [BZ #3268]
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.
35251
35252 2010-10-11 Ulrich Drepper <drepper@gmail.com>
35253
35254 [BZ #12107]
35255 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35256 newline.
35257
35258 2010-10-06 Ulrich Drepper <drepper@gmail.com>
35259
35260 * string/bug-strstr1.c: New file.
35261 * string/Makefile: Add rules to build and run bug-strstr1.
35262
35263 2010-10-05 Eric Blake <eblake@redhat.com>
35264
35265 [BZ #12092]
35266 * string/str-two-way.h (two_way_long_needle): Always clear memory
35267 when skipping input due to the shift table.
35268
35269 2010-10-03 Ulrich Drepper <drepper@gmail.com>
35270
35271 [BZ #12005]
35272 * malloc/mcheck.c: Handle large requests.
35273
35274 [BZ #12077]
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.
35279
35280 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35281
35282 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35283 __set_fpscr.
35284
35285 2010-09-30 Andreas Jaeger <aj@suse.de>
35286
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):
35292 Likewise.
35293
35294 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
35295
35296 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35297 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35298
35299 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35300
35301 [BZ #12067]
35302 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35303 trying to locate the ELF header.
35304
35305 2010-09-27 Andreas Schwab <schwab@redhat.com>
35306
35307 [BZ #11611]
35308 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35309 Mask out sign-bit copies when constructing f_fsid.
35310
35311 2010-09-24 Petr Baudis <pasky@suse.cz>
35312
35313 * debug/stack_chk_fail_local.c: Add missing licence exception.
35314 * debug/warning-nop.c: Likewise.
35315
35316 2010-09-15 Joseph Myers <joseph@codesourcery.com>
35317
35318 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35319 implementing getdents64 using getdents syscall, set d_type if
35320 __ASSUME_GETDENTS32_D_TYPE.
35321
35322 2010-09-16 Andreas Schwab <schwab@redhat.com>
35323
35324 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35325 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35326
35327 2010-09-21 Ulrich Drepper <drepper@redhat.com>
35328
35329 [BZ #12037]
35330 * posix/unistd.h: Undo change of feature selection for ftruncate from
35331 2010-01-11.
35332
35333 2010-09-20 Ulrich Drepper <drepper@redhat.com>
35334
35335 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
35336 detection.
35337
35338 2010-09-20 Andreas Schwab <schwab@redhat.com>
35339
35340 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35341 fanotify_mark.
35342 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35343
35344 2010-09-14 Andreas Schwab <schwab@redhat.com>
35345
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.
35349
35350 2010-09-13 Andreas Schwab <schwab@redhat.com>
35351 Ulrich Drepper <drepper@redhat.com>
35352
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)
35358 here anymore.
35359
35360 2010-09-14 Ulrich Drepper <drepper@redhat.com>
35361
35362 * resolv/res_init.c (__res_vinit): Count the default server we added.
35363
35364 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
35365 Ulrich Drepper <drepper@redhat.com>
35366
35367 [BZ #11968]
35368 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35369 (____longjmp_chk): Use %ebx for saving value across system call.
35370 Add unwind info.
35371
35372 2010-09-06 Andreas Schwab <schwab@redhat.com>
35373
35374 * manual/Makefile: Don't mix pattern rules with normal rules.
35375
35376 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
35377
35378 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35379 operation.
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):
35385 Likewise.
35386
35387 2010-09-04 Ulrich Drepper <drepper@redhat.com>
35388
35389 [BZ #11979]
35390 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35391 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35392
35393 2010-09-02 Ulrich Drepper <drepper@redhat.com>
35394
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.
35402
35403 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
35404
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.
35414
35415 2010-08-31 Mike Frysinger <vapier@gentoo.org>
35416
35417 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35418 (epoll_create1): Declare.
35419
35420 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35421
35422 2010-08-31 Andreas Schwab <schwab@redhat.com>
35423
35424 [BZ #7066]
35425 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35426 shifting retval into place.
35427
35428 2010-09-01 Ulrich Drepper <drepper@redhat.com>
35429
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.
35441
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.
35448
35449 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
35450
35451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35452 fanotify_mark.
35453
35454 2010-08-27 Roland McGrath <roland@redhat.com>
35455
35456 * sysdeps/i386/i686/multiarch/Makefile
35457 (CFLAGS-varshift.c): New variable.
35458
35459 2010-08-27 Ulrich Drepper <drepper@redhat.com>
35460
35461 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35462 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35463
35464 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35465
35466 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35467
35468 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35469
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.
35478
35479 2010-08-25 Roland McGrath <roland@redhat.com>
35480
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.
35487
35488 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35489
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.
35502
35503 2010-08-25 Ulrich Drepper <drepper@redhat.com>
35504
35505 [BZ #10851]
35506 * resolv/res_init.c (__res_vinit): When no server address at all
35507 is given default to loopback.
35508
35509 2010-08-24 Roland McGrath <roland@redhat.com>
35510
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.
35517
35518 * sunrpc/rpc_parse.h: Avoid nested comment.
35519
35520 2010-08-24 Richard Henderson <rth@redhat.com>
35521 Ulrich Drepper <drepper@redhat.com>
35522 H.J. Lu <hongjiu.lu@intel.com>
35523
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.
35536
35537 2010-08-21 Mike Frysinger <vapier@gentoo.org>
35538
35539 * configure.in: Move assembler checks to before sysdep dir checking.
35540
35541 2010-08-20 Petr Baudis <pasky@suse.cz>
35542
35543 * LICENSES: Sync the sunrpc license.
35544
35545 2010-08-19 Ulrich Drepper <drepper@redhat.com>
35546
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.
35639
35640 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35641 handling.
35642
35643 2010-08-19 Andreas Schwab <schwab@redhat.com>
35644
35645 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35646
35647 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
35648
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.
35663
35664 2010-07-26 Anton Blanchard <anton@samba.org>
35665
35666 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35667 * malloc/arena.c (heap_trim): Likewise.
35668
35669 2010-08-16 Ulrich Drepper <drepper@redhat.com>
35670
35671 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35672 here. Not...
35673 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35674 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35675
35676 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35677
35678 * sysdeps/i386/elf/Makefile: New file.
35679
35680 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35681
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.
35686
35687 2010-08-15 Ulrich Drepper <drepper@redhat.com>
35688
35689 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35690 of strncasecmp_l.
35691 * sysdeps/multiarch/strcmp.S: Likewise.
35692
35693 2010-08-14 Ulrich Drepper <drepper@redhat.com>
35694
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.
35708
35709 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35710 warning.
35711
35712 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35713 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35714
35715 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35716
35717 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35718
35719 2010-08-12 Ulrich Drepper <drepper@redhat.com>
35720
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.
35724
35725 2010-05-01 Alan Modra <amodra@gmail.com>
35726
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
35734 save location.
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
35760 __syscall_error.
35761
35762 2010-08-12 Andreas Schwab <schwab@redhat.com>
35763
35764 [BZ #11904]
35765 * locale/programs/locale.c (print_assignment): New function.
35766 (show_locale_vars): Use it.
35767
35768 2010-08-11 Ulrich Drepper <drepper@redhat.com>
35769
35770 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35771 field.
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.
35782
35783 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35784
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.
35793
35794 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35795 Add prlimit.
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
35799 prlimit64.
35800 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35801 syscall.
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
35807 add prlimit alias.
35808 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35809
35810 [BZ #11903]
35811 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35812 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35813
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.
35818
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.
35829
35830 * nss/nss_files/files-parse.c: Whitespace fixes.
35831
35832 2010-08-09 Ulrich Drepper <drepper@redhat.com>
35833
35834 [BZ #11883]
35835 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35836 * posix/fnmatch_loop.c: Likewise.
35837
35838 2010-07-17 Andi Kleen <ak@linux.intel.com>
35839
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.
35844
35845 2010-08-06 Ulrich Drepper <drepper@redhat.com>
35846
35847 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35848 Also fail if tpwd after pwuid call is NULL.
35849
35850 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35851
35852 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35853 when converting to ms.
35854
35855 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35856
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.
35861
35862 2010-07-31 Ulrich Drepper <drepper@redhat.com>
35863
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
35867 strcasecmp.
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.
35871
35872 2010-07-30 Ulrich Drepper <drepper@redhat.com>
35873
35874 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35875
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.
35886
35887 * string/test-strcasestr.c: Test both ends of the range of characters.
35888 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35889
35890 2010-07-29 Roland McGrath <roland@redhat.com>
35891
35892 [BZ #11856]
35893 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35894
35895 2010-07-27 Ulrich Drepper <drepper@redhat.com>
35896
35897 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35898 for ld.so.
35899
35900 2010-07-27 Andreas Schwab <schwab@redhat.com>
35901
35902 * manual/memory.texi (Malloc Tunable Parameters): Document
35903 M_PERTURB.
35904
35905 2010-07-26 Roland McGrath <roland@redhat.com>
35906
35907 [BZ #11840]
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@.
35912
35913 2010-07-26 Ulrich Drepper <drepper@redhat.com>
35914
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.
35919
35920 * sysdeps/x86_64/strnlen.S: New file.
35921
35922 2010-07-24 Ulrich Drepper <drepper@redhat.com>
35923
35924 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35925 lower-latency instructions.
35926
35927 2010-07-23 Ulrich Drepper <drepper@redhat.com>
35928
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.
35934
35935 2010-07-21 Andreas Schwab <schwab@redhat.com>
35936
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.
35943
35944 2010-07-20 Roland McGrath <roland@redhat.com>
35945
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.
35950
35951 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
35952
35953 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
35954
35955 2010-07-16 Ulrich Drepper <drepper@redhat.com>
35956
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.
35964
35965 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
35966
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.
35971
35972 2010-07-09 Ulrich Drepper <drepper@redhat.com>
35973
35974 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
35975 fcntl.
35976
35977 2010-07-06 Andreas Schwab <schwab@redhat.com>
35978
35979 [BZ #11577]
35980 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
35981 dl_signal_cerror.
35982
35983 2010-07-06 Ulrich Drepper <drepper@redhat.com>
35984
35985 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
35986 _PC_PIPE_BUF using F_GETPIPE_SZ.
35987
35988 2010-07-05 Roland McGrath <roland@redhat.com>
35989
35990 * manual/arith.texi (Rounding Functions): Fix rint description
35991 implicit in round description.
35992
35993 2010-07-02 Ulrich Drepper <drepper@redhat.com>
35994
35995 * elf/Makefile: Fix linking for a few tests to make recent linker
35996 happy.
35997
35998 2010-06-30 Andreas Schwab <schwab@redhat.com>
35999
36000 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36001 $(common-objpfx)libc_nonshared.a.
36002
36003 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
36004
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.
36053
36054 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
36055
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.
36062 (END_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):
36080 Define.
36081 (index_Fast_Copy_Backward): Define.
36082 (HAS_ARCH_FEATURE): Define.
36083 (HAS_FAST_REP_STRING): Define.
36084 (HAS_FAST_COPY_BACKWARD): Define.
36085
36086 2010-06-21 Andreas Schwab <schwab@redhat.com>
36087
36088 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36089 Restore proper fallback handling.
36090
36091 2010-06-19 Ulrich Drepper <drepper@redhat.com>
36092
36093 [BZ #11701]
36094 * posix/group_member.c (__group_member): Correct checking loop.
36095
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.
36102
36103 2010-06-07 Andreas Schwab <schwab@redhat.com>
36104
36105 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36106 libc_nonshared.a from targets in modules-names.
36107
36108 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
36109
36110 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36111 requires it.
36112
36113 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
36114
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.
36119
36120 2010-06-02 Andreas Schwab <schwab@redhat.com>
36121
36122 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36123
36124 2010-06-14 Ulrich Drepper <drepper@redhat.com>
36125
36126 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36127 and F_GETPIPE_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
36134
36135 2010-06-14 Roland McGrath <roland@redhat.com>
36136
36137 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36138
36139 2010-06-07 Jakub Jelinek <jakub@redhat.com>
36140
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.
36145
36146 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36147
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
36151 in AT_FLAGS.
36152 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36153 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36154
36155 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
36156
36157 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36158
36159 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36160
36161 [BZ #11640]
36162 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36163 Properly check family and model.
36164
36165 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36166
36167 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36168
36169 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
36170
36171 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36172
36173 2010-05-21 Ulrich Drepper <drepper@redhat.com>
36174
36175 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36176 symbol reference.
36177
36178 2010-05-19 Andreas Schwab <schwab@redhat.com>
36179
36180 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36181 symbol reference.
36182
36183 2010-05-21 Andreas Schwab <schwab@redhat.com>
36184
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.
36191
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.
36195
36196 2010-05-20 Andreas Schwab <schwab@redhat.com>
36197
36198 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36199
36200 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
36201
36202 POWER7 optimizations.
36203 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36204 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36205
36206 2010-05-19 Ulrich Drepper <drepper@redhat.com>
36207
36208 * version.h: Update for 2.13 development version.
36209
36210 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
36211
36212 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36213 exceptions. Return 0.
36214
36215 2010-05-07 Roland McGrath <roland@redhat.com>
36216
36217 * elf/ldconfig.c (main): Add a const.
36218
36219 2010-05-06 Ulrich Drepper <drepper@redhat.com>
36220
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.
36225
36226 * malloc/malloc.c (_int_free): Possible race in the most recently
36227 added check. Only act on the data if no current modification
36228 happened.
36229
36230 See ChangeLog.17 for earlier changes.