]> sourceware.org Git - glibc.git/blame - ChangeLog
PowerPC: multiarch memchr for PowerPC32
[glibc.git] / ChangeLog
CommitLineData
1c62e6d9
AZ
12013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * string/memchr.c (__memchr): Using macro to redefine symbol name.
4 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
5 file.
6 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
7 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8 multiarch memchr for PPC32.
9 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
10 multiarch objects.
11 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
12 (__libc_ifunc_impl_list): Likewise.
13
87da8bdb
AZ
142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15
16 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
17 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18 file.
19 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20 file.
21 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
22 file: multiarch mempcpy for PPC32.
23 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
24 multiarch objects.
25 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
26 (__libc_ifunc_impl_list): Likewise.
27
20ed4714
AZ
282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29
30 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
31 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
32 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
33 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
34 multiarch bzero for PPC32.
35 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
36 file.
37 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
38 file.
39 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
40 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
41 file: multiarch memset for PPC32.
42 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
43 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
44 memset multiarch objects.
45 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46 (__libc_ifunc_impl_list): Likewise.
47
ab3e3a46
AZ
482013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49
50 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
51 file.
52 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
53 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
54 memcmp for PPC32.
55 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
56 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
57 multiarch objects.
58 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59 (__libc_ifunc_impl_list): Likewise.
60
930de6f0
AZ
612013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
62
63 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
64 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
65 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
66 file.
67 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
68 file.
69 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
70 file.
71 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
72 multiarch memcpy for PPC32.
73 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
74 multiarch objects.
75 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
76 (__libc_ifunc_impl_list): Likewise.
77
4c628e00
AZ
782013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79
80 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
81 support multiarch for POWER/PPC32.
82 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
83 Likewise.
84 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
85 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
86 Implies file to make multiarch folder appers before the fpu and
87 default folder for power4 configuration.
88
f4479220
SP
892013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
90
91 * scripts/bench.pl: Append volatile keyword to type.
92
8517800f
KK
932013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
94
95 * sysdeps/sh/sotruss-lib.c: New file.
96 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
97
180138f1
AZ
982013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
99
100 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
101
bbf37bdc
JM
1022013-12-05 Joseph Myers <joseph@codesourcery.com>
103
e47cc4e0
JM
104 [BZ #6810]
105 * math/w_tgamma.c: Include <errno.h>.
106 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
107 * math/w_tgammaf.c: Include <errno.h>.
108 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
109 * math/w_tgammal.c: Include <errno.h>.
110 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
111 * math/auto-libm-test-in: Do not allow missing errno on tgamma
112 underflow. Add more tgamma tests.
113 * math/auto-libm-test-out: Regenerated.
114 * sysdeps/i386/fpu/libm-test-ulps: Update.
115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
116
bbf37bdc
JM
117 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
118 sin, sinh, tan, tanh, tgamma, y0 and y1.
119 * math/auto-libm-test-out: Regenerated.
120 * math/libm-test.inc (TEST_COND_x86_64): New macro.
121 (TEST_COND_x86): Likewise.
122 (M_E2l): Remove macro.
123 (M_E3l): Likewise.
124 (M_2_SQRT_PIl): Likewise.
125 (M_SQRT_PIl): Likewise.
126 (M_1_DIV_El): Likewise.
127 (log_test_data): Use AUTO_TESTS_f_f.
128 (log10_test_data): Likewise.
129 (log1p_test_data): Likewise.
130 (log2_test_data): Likewise.
131 (sin_test_data): Likewise.
132 (sin_tonearest_test_data): Likewise.
133 (sin_towardzero_test_data): Likewise.
134 (sin_downward_test_data): Likewise.
135 (sin_upward_test_data): Likewise.
136 (sinh_test_data): Likewise.
137 (sinh_tonearest_test_data): Likewise.
138 (sinh_towardzero_test_data): Likewise.
139 (sinh_downward_test_data): Likewise.
140 (sinh_upward_test_data): Likewise.
141 (tan_test_data): Likewise.
142 (tan_tonearest_test_data): Likewise.
143 (tan_towardzero_test_data): Likewise.
144 (tan_downward_test_data): Likewise.
145 (tan_upward_test_data): Likewise.
146 (tanh_test_data): Likewise.
147 (tgamma_test_data): Likewise.
148 (y0_test_data): Likewise.
149 (y1_test_data): Likewise.
150 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
151 (special_real_inputs): Add pi/4.
152 * sysdeps/i386/fpu/libm-test-ulps: Update.
153 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
154
eb5ad6b9
AZ
1552013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
156
157 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
158 "longjmp_target" static probes.
159 (__longjmp): Rename to __longjmp_symbol.
160 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
161 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
162 on which longjmp to generate.
163 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
164 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
165 probe.
166 (__sigsetjmp): Rename to __sigsetjmp_symbol.
167 (__sigjmp_save): Rename to __sigjmp_save_symbol.
168 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
169 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
170 and __sigjmp_save_symbol based on which sigsetjmp to generated.
171 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
173 __longjmp_symbol based on which __longjmp to generate.
174 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
175 probe.
176 (setjmp): Rename to setjmp_symbol.
177 (__sigsetjmp): Rename to __sigsetjmp_symbol.
178 (_setjmp): Rename to _setjmp_symbol.
179 (__sigsetjmp): Rename to __sigsetjmp_symbol.
180 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
181 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
182 which setjmp to generate.
183 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
184 "longjmp_target" static probes.
185
d136c6dc
SP
1862013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
187
9298ecba
SP
188 * benchtests/README: Add note about output arguments.
189 * benchtests/bench-sincos.c: Remove file.
190 * benchtests/sincos-inputs: New file.
191 * scripts/bench.pl: Identify output arguments and define
192 static variables for them.
193
232983e9
SP
194 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
195
d136c6dc
SP
196 [BZ #15941]
197 * Makefile (INSTALL): Add install-plain.texi as the primary
198 dependency.
199 * manual/install-plain.texi: New file.
200 * manual/install.texi: Include node directive only for
201 non-plaintext output.
202
699ff837
JM
2032013-12-04 Joseph Myers <joseph@codesourcery.com>
204
ab07cea8
JM
205 * stdlib/longlong.h: Update from GCC.
206
699ff837
JM
207 [BZ #6807]
208 [BZ #15901]
209 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
210 * math/w_j0f.c (y0f): Likewise.
211 * math/w_j0l.c (__y0l): Likewise.
212 * math/w_j1.c (y1): Likewise.
213 * math/w_j1f.c (y1f): Likewise.
214 * math/w_j1l.c (__y1l): Likewise
215 * math/w_jn.c (yn): Likewise.
216 * math/w_jnf.c (ynf): Likewise.
217 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
218 Bessel function pole errors in _POSIX_ mode. Use NAN as return
219 value for Bessel function domain errors outside _SVID_ mode.
220 Adjust sign of return value for yn (negative integer, 0).
221 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
222 by zero in return for negative x and set sign appropriately for
223 negative n.
224 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
225 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
226 * math/libm-test.inc (y0_test_data): Add more tests and adjust
227 expectations in error cases.
228 (y1_test_data): Likewise.
229 (yn_test_data): Likewise.
230 * sysdeps/i386/fpu/libm-test-ulps: Update.
231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
232
5b118558
UW
2332013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
234
235 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
236 "64" to "64-v1". Add "64-v2".
237 (abi-64-options): Rename to ...
238 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
239 (abi-64-condition): Rename to ...
240 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
241 (abi-64-ld-soname): Rename to ...
242 (abi-64-v1-ld-soname): ... this.
243 (abi-64-v2-options): Define.
244 (abi-64-v2-condition): Likewise.
245 (abi-64-v2-ld-soname): Likewise.
246 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
247 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
251
61cd8fe4
UW
2522013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
253 Alan Modra <amodra@gmail.com>
254
255 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
256 New versions for use with the ELFv2 ABI.
257 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
258 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
259 declaration.
260 (struct La_ppc64v2_retval): Likewise.
261 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
262 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
263 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
264 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
265 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
266 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
267 Do not save or restore CR.
268 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
269 (_dl_profile_resolve): Do no save or restore CR. Support extended
270 return values for ELFv2 ABI. Fix location of FPR return registers.
271 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
272 updated values for _CALL_ELF == 2.
273 (La_regs, La_retval, int_retval): Likewise.
274
8b8a692c
UW
2752013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
276
277 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
278 (FRAME_MIN_SIZE_PARM): Likewise.
279 (FRAME_BACKCHAIN): Likewise.
280 (FRAME_CR_SAVE): Likewise.
281 (FRAME_LR_SAVE): Likewise.
282 (FRAME_TOC_SAVE): Likewise.
283 (FRAME_PARM_SAVE): Likewise.
284 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
285 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
286 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
287 (call_mcount_parm_offset): New macro.
288 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
289 (PROF): Use symbolic stack frame offsets.
290 (TAIL_CALL_SYSCALL_ERROR): Likewise.
291 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
292 Redefine in terms of FRAME_MIN_SIZE.
293 (_dl_runtime_resolve): Use symbolic stack frame offsets.
294 (_dl_profile_resolve): Likewise. Update comment.
295 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
296 symbols stack frame offsets.
297 (__sigsetjmp): Likewise.
298 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
299 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
300 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
301 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
302
303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
304 (FRAME_BACKCHAIN): Remove.
305 (FRAME_CR_SAVE): Likewise.
306 (FRAME_LR_SAVE): Likewise.
307 (FRAME_COMPILER_DW): Likewise.
308 (FRAME_LINKER_DW): Likewise.
309 (FRAME_TOC_SAVE): Likewise.
310 (FRAME_PARM_SAVE): Likewise.
311 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
312 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
313 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
315 (CHECK_SP): Use symbolic stack frame offsets.
316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
317 zone" instead of caller's parameter save area for temp storage.
318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
319 Likewise. Also, use symbolic stack frame offsets.
320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
321 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
322 our own stack frame instead of the caller's.
323 (__socket): Use symbolic stack frame offsets.
324
122b66de
UW
3252013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
326 Alan Modra <amodra@gmail.com>
327
328 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
329 Define.
330 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
331 PPC64_LOCAL_ENTRY_OFFSET): Define.
332 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
333 New function.
334 (elf_machine_fixup_plt): Call it.
335 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
336 reloc arguments.
337 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
338 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
339 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
340 r2 before calling target.
341
696caf1d
UW
3422013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
343 Alan Modra <amodra@gmail.com>
344
345 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
346 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
347 versions of macros to support ELFv2 ABI.
348 (LOCALENTRY): New macro.
349 (ENTRY, EALIGN): Use it.
350 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
351 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
352 fall through into ENTRY entry point.
353 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
354 Only define if _CALL_ELF != 2.
355
356 (elf_machine_matches_host): Verify ABI version matches.
357 (RTLD_START): Use LOCALENTRY.
358 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
359 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
360 (PLT_ENTRY_WORDS): New macro.
361 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
362 (elf_machine_runtime_setup): Support ELFv2 ABI.
363 (elf_machine_fixup_plt): Likewise.
364 (elf_machine_plt_conflict): Likewise.
365 (resolve_ifunc): Likewise.
366 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
367 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
368 Likewise.
369 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
370 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
371 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
372 (makecontext): Support ELFv2 ABI.
373 * elf/elf.h (EF_PPC64_ABI): Define.
374
d31beafa
UW
3752013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
376
377 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
378 New assembler macro.
379 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
380 [ASSEMBLER] (ENTRY): ... but instead here ...
381 [ASSEMBLER] (EALIGN): ... and here.
382 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
383 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
384 [!ASSEMBLER] (ENTRY_2): Use it.
385 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
386 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
387 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
388 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
389 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
391 Use PPC64_LOAD_FUNCPTR.
392
b525166b
UW
3932013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
394
395 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
396
7ec07d9a
AM
3972013-12-04 Alan Modra <amodra@gmail.com>
398
399 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
400 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
401 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
402 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
403
404 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
405 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
406 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
407 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
408 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
409 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
410
5162e7dd
UW
4112013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
412
413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
414 (__makecontext): Fix incorrect CFI when backtracing out of
415 context created via makecontext.
416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
417 (__setcontext): Fix incorrect CFI during switch to new context.
418 (__novec_setcontext): Likewise.
419
19e3372b
OB
4202013-12-04 Ondřej Bílka <neleai@seznam.cz>
421
422 [BZ #4772]
423 * time/strptime_l.c (__strptime_internal): Allow modifiers
424 in strptime.
425 * time/tst-strptime.c (day_tests): Add testcase.
426
427
ecaf142d
SP
4282013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
429
430 * scripts/bench.pl: Skip over blank lines.
431
fbf964ae
PE
4322013-12-04 Paul Eggert <eggert@cs.ucla.edu>
433
434 [BZ #926]
435 * manual/time.texi (Calendar Time): Clarify what timezone functions
436 use.
437
fa60a674
AZ
4382013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
439
440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
441
d674f0ef
OB
4422013-12-04 Ondřej Bílka <neleai@seznam.cz>
443
444 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
445 implementation.
446 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
447 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
448 * debug/memset_chk.c (__memset_chk): Likewise.
449 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
450 * debug/strncpy_chk.c: Likewise.
451
17dea188
JM
4522013-12-03 Joseph Myers <joseph@codesourcery.com>
453
749008ff
JM
454 [BZ #15268]
455 [BZ #15425]
456 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
457 (__ieee754_exp): For possibly underflowing results, check size of
458 result and force underflow exception if required.
459 * math/auto-libm-test-in: Add more tests of exp.
460 * math/auto-libm-test-out: Regenerated.
461 * sysdeps/i386/fpu/libm-test-ulps: Update.
462 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
463
17dea188
JM
464 [BZ #16283]
465 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
466 * math/w_exp2f.c (__exp2f): Likewise.
467 * math/w_exp2l.c (__exp2l): Likewise.
468 * math/auto-libm-test-in: Do not allow missing errno on exp2
469 underflow.
470 * math/auto-libm-test-out: Regenerated.
471
b20de2c3
OB
4722013-12-03 Ondřej Bílka <neleai@seznam.cz>
473
474 [BZ #16274]
475 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
476 handle filename validation.
477 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
478 (do_open): Delete.
479
d8e2dbe3
JM
4802013-12-03 Joseph Myers <joseph@codesourcery.com>
481
34e16df5
JM
482 [BZ #6786]
483 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
484 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
485 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
486 <float.h>.
487 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
488 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
489 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
490 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
491 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
492 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
493 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
494 * math/auto-libm-test-in: Don't allow missing errno from erfc.
495 Add more erfc tests.
496 * math/auto-libm-test-out: Regenerated.
497 * sysdeps/i386/fpu/libm-test-ulps: Update.
498 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
499
d8e2dbe3
JM
500 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
501 exp2, expm1, j0 and j1.
502 * math/auto-libm-test-out: Regenerated.
503 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
504 (erfc_test_data): Likewise.
505 (exp_test_data): Likewise.
506 (exp_tonearest_test_data): Likewise.
507 (exp_towardzero_test_data): Likewise.
508 (exp_downward_test_data): Likewise.
509 (exp_upward_test_data): Likewise.
510 (exp10_test_data): Likewise.
511 (exp2_test_data): Likewise.
512 (expm1_test_data): Likewise.
513 (j0_test_data): Likewise.
514 (j1_test_data): Likewise.
515 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
516 (input_flag_type): Add flag_xfail_rounding.
517 (input_flags): Add xfail-rounding.
518 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
519 (output_for_one_input_case): Handle flag_xfail_rounding.
520 * sysdeps/i386/fpu/libm-test-ulps: Update.
521 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
522
18d14251
AJ
5232013-12-03 Aurelien Jarno <aurelien@aurel32.net>
524
3d2e6075 525 [BZ #16289]
18d14251
AJ
526 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
527 division by 0.
528
520d437b
SP
5292013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
530
531 [BZ #16195]
532 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
533 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
534 (STAP_PROBE0): New macro.
535 (STAP_PROBE1): Likewise.
536 (STAP_PROBE2): Likewise.
537 (STAP_PROBE3): Likewise.
538 (STAP_PROBE4): Likewise.
539
416e0145
OB
5402013-12-02 Ondřej Bílka <neleai@seznam.cz>
541
542 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
543
9d17796a
SE
5442013-12-02 Steve Ellcey <sellcey@mips.com>
545
546 * benchtests/Makefile (bench): Add sqrt.
547 (LDLIBS-bench-sqrt): New.
548 * benchtests/sqrt-input: New.
549
f524d6a8
PS
5502013-12-02 Pavel Simerda <psimerda@redhat.com>
551
639a0ef8
PS
552 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
553 (GAIH_EAI): Likewise.
554 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
555 (gaih_inet): Likewise.
556 (getaddrinfo): Don't use GAIH_EAI.
557
f524d6a8
PS
558 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
559 (struct gaih): Remove definition.
560
df3aedaf
SP
5612013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
562
563 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
564 Use HERRNOP directly.
565
1ab19dec
AZ
5662013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
567
b42ad38d 568 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 569
176b0c79
JM
5702013-11-30 Joseph Myers <joseph@codesourcery.com>
571
572 * math/gen-auto-libm-tests.c (test_functions): Add more
573 single-argument functions.
574 (special_fill_pi_2): New function.
575 (special_fill_minus_pi_2): Likewise.
576 (special_fill_pi_6): Likewise.
577 (special_fill_minus_pi_6): Likewise.
578 (special_fill_pi_3): Likewise.
579 (special_fill_2pi_3): Likewise.
580 (special_fill_e): Likewise.
581 (special_fill_1_e): Likewise.
582 (special_fill_e_minus_1): Likewise.
583 (special_real_inputs): Add more special inputs.
584 (output_for_one_input_case): Do not require ERANGE on underflow to
585 zero if round-to-nearest result does not underflow to zero, unless
586 exact results required.
587 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
588 atan, atanh, cbrt, cos and cosh.
589 * math/auto-libm-test-out: Regenerated.
590 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
591 (acos_tonearest_test_data): Likewise.
592 (acos_towardzero_test_data): Likewise.
593 (acos_downward_test_data): Likewise.
594 (acos_upward_test_data): Likewise.
595 (acosh_test_data): Likewise.
596 (asin_test_data): Likewise.
597 (asin_tonearest_test_data): Likewise.
598 (asin_towardzero_test_data): Likewise.
599 (asin_upward_test_data): Likewise.
600 (asinh_test_data): Likewise.
601 (atan_test_data): Likewise.
602 (atanh_test_data): Likewise.
603 (cbrt_test_data): Likewise.
604 (cos_test_data): Likewise.
605 (cos_tonearest_test_data): Likewise.
606 (cos_towardzero_test_data): Likewise.
607 (cos_downward_test_data): Likewise.
608 (cos_upward_test_data): Likewise.
609 (cosh_test_data): Likewise.
610 (cosh_tonearest_test_data): Likewise.
611 (cosh_towardzero_test_data): Likewise.
612 (cosh_downward_test_data): Likewise.
613 (cosh_upward_test_data): Likewise.
614 * sysdeps/i386/fpu/libm-test-ulps: Update.
615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
616
ffb536d0
JM
6172013-11-29 Joseph Myers <joseph@codesourcery.com>
618
2a77a467
JM
619 [BZ #6787]
620 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
621 * math/w_exp10f.c (__exp10f): Likewise.
622 * math/w_exp10l.c (__exp10l): Likewise.
623 * math/libm-test.inc (exp10_test_data): Add more tests and expect
624 errno settings in existing tests.
625
ea3bc4e8
JM
626 [BZ #14032]
627 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
628 precision control set to double precision.
629 * sysdeps/i386/fpu/w_sqrt.c: New file.
630 * math/auto-libm-test-in: Add more tests.
631 * math/auto-libm-test-out: Update.
632
0712c9d8
JM
633 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
634 (sqrt_test_tonearest): New function.
635 (sqrt_towardzero_test_data): New variable.
636 (sqrt_test_towardzero): New function.
637 (sqrt_downward_test_data): New variable.
638 (sqrt_test_downward): New function.
639 (sqrt_upward_test_data): New variable.
640 (sqrt_test_upward): New function.
641 (main): Call the new functions.
642
ffb536d0
JM
643 * math/gen-auto-libm-tests.c: New file.
644 * math/auto-libm-test-in: Likewise.
645 * math/auto-libm-test-out: New generated file.
646 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
647 variables.
648 (%beautify): Add generated representations of zero.
649 (top level): Set $auto_input and call parse_auto_input.
650 (beautify): Remove trailing "f" from hex float constants.
651 (parse_args): Handle XFAIL_TEST.
652 (convert_condition): New function.
653 (or_value): Likewise.
654 (or_cond_value): Likewise.
655 (generate_testfile): Handle AUTO_TESTS_* lines.
656 (parse_auto_input): New function.
657 * math/libm-test.inc (XFAIL_TEST): New macro.
658 (ERRNO_UNCHANGED): Update value.
659 (ERRNO_EDOM): Likewise.
660 (ERRNO_ERANGE): Likewise.
661 (IGNORE_RESULT): Likewise.
662 (TEST_COND_flt_32): New macro.
663 (TEST_COND_dbl_64): Likewise.
664 (TEST_COND_ldbl_96_intel): Likewise.
665 (TEST_COND_ldbl_96_m68k): Likewise.
666 (TEST_COND_ldbl_128): Likewise.
667 (TEST_COND_ldbl_128ibm): Likewise.
668 (TEST_COND_long32): Likewise.
669 (TEST_COND_long64): Likewise.
670 (TEST_COND_before_rounding): Likewise.
671 (TEST_COND_after_rounding): Likewise.
672 (enable_test): Handle XFAIL_TEST flag.
673 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
674 with finite results.
675 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
676 auto-libm-test-out.
677
acd98a8e
AK
6782013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
679 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
680
681 [BZ #16214]
682 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
683 __tls_get_addr_internal instead of __tls_get_offset in order to
684 avoid GOT pointer dependency. Make rtld export
685 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
686 __tls_get_addr since we are a __tls_get_offset platform.
687 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
688 GOT pointer being set up before.
689 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
690
3c1c46a6
JM
6912013-11-28 Joseph Myers <joseph@codesourcery.com>
692
7475aef5
JM
693 * manual/math.texi (Errors in Math Functions): Document accuracy
694 goals.
695
8bca7cd8
JM
696 [BZ #15004]
697 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
698 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
699 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
700 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
701 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
702 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
703 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
704 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
705 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
706 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
707 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
708 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
709 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
710 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
711 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
712 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
713
91a1f3fe
JM
714 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
715 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
716 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
717 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
718 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
719 Likewise.
720 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
721 Likewise.
722 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
723 Likewise.
724 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
725 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
726 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
727 atomic-feupdateenv and flt-rounds.
728 * sysdeps/powerpc/nofpu/Versions (libc): Add
729 __atomic_feholdexcept, __atomic_feclearexcept,
730 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
731 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
732 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
733 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
734 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
735 here.
736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
737 Update.
738
c5df7609
JM
739 * manual/arith.texi (FP Exceptions): Document that exceptions may
740 not be raised when matherr is used.
741 (Math Error Reporting): Document overflow in directed rounding
742 modes. Document that errno may not be set when finite values are
743 returned on overflow. Document intent to set errno on underflow
744 only for underflow to zero.
745
3c1c46a6
JM
746 [BZ #16271]
747 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
748 round-to-nearest then adjust result for other rounding modes.
749 * include/fenv.h (fegetround): Use libm_hidden_proto.
750 * math/fegetround.c (fegetround): Use libm_hidden_def.
751 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
752 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
753 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
754 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
755 Likewise.
756 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
757 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
758 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
759 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
760
5a4c6d53
SP
7612013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
762
763 [BZ #16077]
764 * nss/Versions (libnss_files): Add
765 _nss_files_gethostbyname3_r.
766 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
767 New function.
768 (HOST_DB_LOOKUP): Remove macro.
769 (_nss_files_gethostbyname_r): Implement function without the
770 HOST_DB_LOOKUP macro.
771 (_nss_files_gethostbyname2_r): Likewise.
772
897b98ba
OB
7732013-11-28 Ondřej Bílka <neleai@seznam.cz>
774
775 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
776
6f476861
UB
7772013-11-26 Uros Bizjak <ubizjak@gmail.com>
778
779 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
780 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
781 warning.
782
bd12ab55
AZ
7832013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
784
785 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
786 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
787 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
788 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
789 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
790 __fe_nomask_env_priv and attribute_hidden.
791 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
792 (libc_feupdateenv_test_ppc): Likewise.
793 (libc_feresetround_ppc): Likewise.
794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
795 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
796 compat_symbol macro.
797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
798 (__fe_nomask_env): Likewise.
799 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
800
52bb6543
OB
8012013-11-26 Ondřej Bílka <neleai@seznam.cz>
802
803 * string/Makefile: Remove ifunc tests.
804 * string/test-string.h: Define TEST_IFUNC.
805 * string/test-bcopy-ifunc.c: Remove.
806 * string/test-bzero-ifunc.c: Likewise.
807 * string/test-memccpy-ifunc.c: Likewise.
808 * string/test-memchr-ifunc.c: Likewise.
809 * string/test-memcmp-ifunc.c: Likewise.
810 * string/test-memcpy-ifunc.c: Likewise.
811 * string/test-memmem-ifunc.c: Likewise.
812 * string/test-memmove-ifunc.c: Likewise.
813 * string/test-mempcpy-ifunc.c: Likewise.
814 * string/test-memrchr-ifunc.c: Likewise.
815 * string/test-memset-ifunc.c: Likewise.
816 * string/test-rawmemchr-ifunc.c: Likewise.
817 * string/test-stpcpy-ifunc.c: Likewise.
818 * string/test-stpncpy-ifunc.c: Likewise.
819 * string/test-strcasecmp-ifunc.c: Likewise.
820 * string/test-strcasestr-ifunc.c: Likewise.
821 * string/test-strcat-ifunc.c: Likewise.
822 * string/test-strchr-ifunc.c: Likewise.
823 * string/test-strchrnul-ifunc.c: Likewise.
824 * string/test-strcmp-ifunc.c: Likewise.
825 * string/test-strcpy-ifunc.c: Likewise.
826 * string/test-strcspn-ifunc.c: Likewise.
827 * string/test-strlen-ifunc.c: Likewise.
828 * string/test-strncasecmp-ifunc.c: Likewise.
829 * string/test-strncat-ifunc.c: Likewise.
830 * string/test-strncmp-ifunc.c: Likewise.
831 * string/test-strncpy-ifunc.c: Likewise.
832 * string/test-strnlen-ifunc.c: Likewise.
833 * string/test-strpbrk-ifunc.c: Likewise.
834 * string/test-strrchr-ifunc.c: Likewise.
835 * string/test-strspn-ifunc.c: Likewise.
836 * string/test-strstr-ifunc.c: Likewise.
837
ab260039 8382013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
839
840 * benchtests/Makefile: Remove ifunc tests.
841 * benchtests/bench-string.h: Define TEST_IFUNC.
842 * benchtests/bench-bcopy-ifunc.c: Remove.
843 * benchtests/bench-bzero-ifunc.c: Likewise.
844 * benchtests/bench-memccpy-ifunc.c: Likewise.
845 * benchtests/bench-memchr-ifunc.c: Likewise.
846 * benchtests/bench-memcmp-ifunc.c: Likewise.
847 * benchtests/bench-memcpy-ifunc.c: Likewise.
848 * benchtests/bench-memmem-ifunc.c: Likewise.
849 * benchtests/bench-memmove-ifunc.c: Likewise.
850 * benchtests/bench-mempcpy-ifunc.c: Likewise.
851 * benchtests/bench-memrchr-ifunc.c: Likewise.
852 * benchtests/bench-memset-ifunc.c: Likewise.
853 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
854 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
855 * benchtests/bench-stpcpy-ifunc.c: Likewise.
856 * benchtests/bench-stpncpy-ifunc.c: Likewise.
857 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
858 * benchtests/bench-strcasestr-ifunc.c: Likewise.
859 * benchtests/bench-strcat-ifunc.c: Likewise.
860 * benchtests/bench-strchr-ifunc.c: Likewise.
861 * benchtests/bench-strchrnul-ifunc.c: Likewise.
862 * benchtests/bench-strcmp-ifunc.c: Likewise.
863 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
864 * benchtests/bench-strcpy-ifunc.c: Likewise.
865 * benchtests/bench-strcspn-ifunc.c: Likewise.
866 * benchtests/bench-strlen-ifunc.c: Likewise.
867 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
868 * benchtests/bench-strncat-ifunc.c: Likewise.
869 * benchtests/bench-strncmp-ifunc.c: Likewise.
870 * benchtests/bench-strncpy-ifunc.c: Likewise.
871 * benchtests/bench-strnlen-ifunc.c: Likewise.
872 * benchtests/bench-strpbrk-ifunc.c: Likewise.
873 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 874 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
875 * benchtests/bench-strspn-ifunc.c: Likewise.
876 * benchtests/bench-strstr-ifunc.c: Likewise.
877
8782013-11-26 Ondřej Bílka <neleai@seznam.cz>
879
ab260039
OB
880 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
881
d1d9eaf4 8822013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 883
d1d9eaf4
OB
884 * resolv/netdb.h: Use __glibc_reserved instead __unused.
885 * rt/aio.h: Likewise.
886 * sysdeps/gnu/bits/utmp.h: Likewise.
887 * sysdeps/gnu/bits/utmpx.h: Likewise.
888 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
889 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
890 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
891 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
892 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
893 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
894 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
895 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
896 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
897 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
898 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
899 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
900 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
902 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
903 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
904 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
905 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
906 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
907 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
908 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
909 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
910 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
911 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
912 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
913 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
914 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
915 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
916 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
917 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
918 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
919 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
920 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
921 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
922 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
923 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
924 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
925 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
926 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
927 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
928 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
929 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
930
a7624ed9
CD
9312013-11-25 Carlos O'Donell <carlos@redhat.com>
932
933 [BZ #16245]
934 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
935 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
936
63cfe52b
JM
9372013-11-25 Joseph Myers <joseph@codesourcery.com>
938
939 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
940 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
941 Likewise.
942
41e8926a
AZ
9432013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
944
945 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
946 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
947 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
948 (__fesetround): Remove define.
949 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
950 rounding and exceptions handling.
951 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
952 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
953 (__fe_nomask_env): Likewise.
954 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
955 __fegetround instead of fegetround.
956 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
957 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
958
6851bd4d
RM
9592013-11-21 Roland McGrath <roland@hack.frob.com>
960
070906ff
RM
961 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
962 it's there.
963
6851bd4d
RM
964 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
965
84ae135d
MI
9662013-11-21 Meador Inge <meadori@codesourcery.com>
967
968 [BZ #11157]
969 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
970 (encrypt_r): Likewise.
971 * malloc/obstack.h (obstack_free): Likewise.
972 * posix/unistd.h (encrypt): Likewise.
973
daf75146
GM
9742013-11-21 Guy Martin <gmsoft@tuxicoman.be>
975
976 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
977 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
978 DL_CALL_DT_FINI() that call the functions directly.
979 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
980 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
981 * elf/dl-fini.c: Likewise.
982
10ad46bc
OB
9832013-11-20 Ondřej Bílka <neleai@seznam.cz>
984
985 * malloc/hooks.c (memalign_check): Add alignment rounding.
986 * malloc/malloc.c (_mid_memalign): New function.
987 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
988 Implement by calling _mid_memalign.
989 * manual/probes.texi (Memory Allocation Probes): Remove
990 memory_valloc_retry and memory_pvalloc_retry.
991
f3fd2628
SP
9922013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
993
4712799f
SP
994 * locale/programs/locarchive.c (open_archive): Add const
995 qualifier to ARCHIVEFNAME and copy default fname to
996 DEFAULT_FNAME.
997
0417b20f
SP
998 [BZ #15601]
999 * libio/tst-widetext.input: Rename Oriya to Odia.
1000 * locale/iso-639.def: Likewise.
1001
f3fd2628
SP
1002 * manual/probes.texi (Mathematical Function Probes): Add
1003 documentation for sin, cos, asin and acos probes.
1004 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1005 (__sin32): Add slowasin probe.
1006 (__cos32): Add slowacos probe.
1007 (__mpsin): Add slowsin probe.
1008 (__mpcos): Add slowcos probe.
1009
73c1ce4f
JM
10102013-11-19 Joseph Myers <joseph@codesourcery.com>
1011
1012 [BZ #15483]
1013 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1014 thread-local __sim_exceptions_thread and global
1015 __sim_exceptions_global.
1016 (__sim_disabled_exceptions): Change to thread-local
1017 __sim_disabled_exceptions_thread and global
1018 __sim_disabled_exceptions_global.
1019 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1020 and global __sim_round_mode_global.
1021 (__simulate_exceptions): Use thread-local floating-point state and
1022 set global state from it as needed.
1023 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1024 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1025 __sim_round_mode_thread.
1026 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1027 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1028 and global __sim_exceptions_global.
1029 (__sim_disabled_exceptions): Change to thread-local
1030 __sim_disabled_exceptions_thread and global
1031 __sim_disabled_exceptions_global.
1032 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1033 and global __sim_round_mode_global.
1034 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1035 (SIM_SET_GLOBAL): Likewise.
1036 * sysdeps/powerpc/soft-fp/sfp-machine.h
1037 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1038 __sim_round_mode_thread.
1039 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1040 __sim_disabled_exceptions_thread.
1041 (__sim_exceptions): Change to __sim_exceptions_thread.
1042 (__sim_disabled_exceptions): Change to
1043 __sim_disabled_exceptions_thread.
1044 (__sim_round_mode): Change to __sim_round_mode_thread.
1045 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1046 thread-local floating-point state and set global state from it as
1047 needed.
1048 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1049 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1050 (__sim_disabled_exceptions): Remove extern declaration.
1051 (feenableexcept): Use thread-local floating-point state and set
1052 global state from it as needed.
1053 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1054 extern declaration.
1055 (__sim_disabled_exceptions): Likewise.
1056 (__sim_round_mode): Likewise.
1057 (__fegetenv): Use thread-local floating-point state.
1058 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1059 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1060 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1061 floating-point state and set global state from it as needed.
1062 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1063 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1064 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1065 Likewise.
1066 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1067 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1068 Likewise.
1069 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1070 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1071 Use __sim_round_mode_thread.
1072 * math/test-fenv-tls.c: New file.
1073 * math/Makefile (tests): Add test-fenv-tls.
1074 ($(objpfx)test-fenv-tls): Depend on
1075 $(common-objpfx)nptl/libpthread.so.
1076
b5449b12
AS
10772013-11-19 Andreas Schwab <schwab@suse.de>
1078
1079 * locale/programs/locale.c (show_info): Decode wordarray elements.
1080 * locale/categories.def (LC_MONETARY): Add element for
1081 _NL_MONETARY_CRNCYSTR.
1082 * locale/C-monetary.c (conversion_rate): New variable.
1083 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1084 element.
1085
e186536b
CM
10862013-11-18 Chris Metcalf <cmetcalf@tilera.com>
1087
1088 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1089 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1090
5c349950
PP
10912013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1092
1093 * elf/Makefile (tst-auxv): New test.
1094 * elf/tst-auxv.c: New
1095 * elf/rtld.c (dl_main): Adjust AT_EXECFN
1096
699df45b
JM
10972013-11-18 Joseph Myers <joseph@codesourcery.com>
1098
1099 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1100 (hidden_proto): Caller changed.
1101 (hidden_tls_proto): New macro.
1102 (libc_hidden_tls_proto): Likewise.
1103 (rtld_hidden_tls_proto): Likewise.
1104 (libm_hidden_tls_proto): Likewise.
1105 (libresolv_hidden_tls_proto): Likewise.
1106 (librt_hidden_tls_proto): Likewise.
1107 (libdl_hidden_tls_proto): Likewise.
1108 (libnss_files_hidden_tls_proto): Likewise.
1109 (libnsl_hidden_tls_proto): Likewise.
1110 (libnss_nisplus_hidden_tls_proto): Likewise.
1111 (libutil_hidden_tls_proto): Likewise.
1112
b7589107
OB
11132013-11-18 Ondřej Bílka <neleai@seznam.cz>
1114
1115 [BZ #10253]
1116 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1117 (decompose_rpath): Defer expansion to fillin_rpath.
1118 (_dl_init_paths): Pass linkmap to fillin_rpath.
1119
250c23bd
RS
11202013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1121
1122 * benchtests/Makefile: Add strsep.
1123 * benchtests/bench-strsep.c: New file: strsep benchtest.
1124 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1125
a7931fcf
AS
11262013-11-18 Andreas Schwab <schwab@suse.de>
1127
1128 * locale/programs/locale.c (show_info) [case byte]: Check for
1129 '\377' instead of '\177'.
1130 * locale/C-monetary.c (not_available): Always use "\377".
1131 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1132 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
1133 detect unavailable sign_posn locale elements.
1134 * locale/localeconv.c (__localeconv): For grouping and
1135 mon_grouping handle "\177" and "\377" like no grouping.
1136 (INT_ELEM): New macro. Use it to set all numeric members.
1137 * locale/programs/ld-monetary.c (monetary_read)
1138 <tok_mon_grouping>: Normalize single -1 to the empty string.
1139 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1140 Likewise.
1141
728dab0e
OB
11422013-11-07 Ondřej Bílka <neleai@seznam.cz>
1143
1144 [BZ #16055]
1145 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1146 when we match (nil).
1147 * stdio-common/tst-sscanf.c (struct test): Add testcase.
1148
66294491
JM
11492013-11-16 Joseph Myers <joseph@codesourcery.com>
1150
ce665817
JM
1151 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1152 (NO_TEST_INLINE): Update value.
1153 (ERRNO_UNCHANGED): Likewise.
1154 (ERRNO_EDOM): Likewise.
1155 (ERRNO_ERANGE): Likewise.
1156 (IGNORE_RESULT): Likewise.
1157 (check_float_internal): Check signs of NaN results if
1158 TEST_NAN_SIGN used.
1159 (check_complex): Pass TEST_NAN_SIGN flag through to second
1160 check_float_internal call.
1161 (copysign_test_data): Add tests with quiet NaNs as second
1162 argument. Use TEST_NAN_SIGN.
1163 (fabs_test_data): Add test of negative quiet NaN argument. Use
1164 TEST_NAN_SIGN.
1165 (signbit_test_data): Add tests of quiet NaN argument.
1166 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1167
ee1466a9
JM
1168 * math/gen-libm-test.pl (show_exceptions): Take extra argument
1169 $ignore_result.
1170 (parse_args): Handle function results specified as IGNORE.
1171 * math/libm-test.inc (IGNORE_RESULT): New macro.
1172 (check_float_internal): Do not check numerical result if flag
1173 IGNORE_RESULT set.
1174 (check_complex): Pass through IGNORE_RESULT to second
1175 check_float_internal call.
1176 (check_int): Do not check numerical result if flag IGNORE_RESULT
1177 set.
1178 (check_long): Likewise.
1179 (check_bool): Likewise.
1180 (check_longlong): Likewise.
1181 (lrint_test_data): Add tests of infinite and NaN arguments.
1182 (lrint_tonearest_test_data): Likewise.
1183 (lrint_towardzero_test_data): Likewise.
1184 (lrint_downward_test_data): Likewise.
1185 (lrint_upward_test_data): Likewise.
1186 (llrint_test_data): Likewise.
1187 (llrint_tonearest_test_data): Likewise.
1188 (llrint_towardzero_test_data): Likewise.
1189 (llrint_downward_test_data): Likewise.
1190 (llrint_upward_test_data): Likewise.
1191 (lround_test_data): Likewise.
1192 (llround_test_data): Likewise.
1193
14407b7e
JM
1194 * math/libm-test.inc (NO_TEST_INLINE): New macro.
1195 (ERRNO_UNCHANGED): Update value.
1196 (ERRNO_EDOM): Likewise.
1197 (ERRNO_ERANGE): Likewise.
1198 (NO_TEST_INLINE_FLOAT): New macro.
1199 (NO_TEST_INLINE_DOUBLE): Likewise.
1200 (enable_test): New function.
1201 (RUN_TEST_f_f): Check enable_test before running test.
1202 (RUN_TEST_2_f): Likewise.
1203 (RUN_TEST_fff_f): Likewise.
1204 (RUN_TEST_c_f): Likewise.
1205 (RUN_TEST_f_f1): Likewise.
1206 (RUN_TEST_fF_f1): Likewise.
1207 (RUN_TEST_fI_f1): Likewise.
1208 (RUN_TEST_ffI_f1): Likewise.
1209 (RUN_TEST_c_c): Likewise.
1210 (RUN_TEST_cc_c): Likewise.
1211 (RUN_TEST_f_i): Likewise.
1212 (RUN_TEST_f_i_tg): Likewise.
1213 (RUN_TEST_ff_i_tg): Likewise.
1214 (RUN_TEST_f_b): Likewise.
1215 (RUN_TEST_f_b_tg): Likewise.
1216 (RUN_TEST_f_l): Likewise.
1217 (RUN_TEST_f_L): Likewise.
1218 (RUN_TEST_fFF_11): Likewise.
1219 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1220 conditionals.
1221 (cosh_test_data): Likewise.
1222 (exp_test_data): Likewise.
1223 (expm1_test_data): Likewise.
1224 (hypot_test_data): Likewise.
1225 (pow_test_data): Likewise.
1226 (sinh_test_data): Likewise.
1227 (tanh_test_data): Likewise.
1228 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1229 flags argument.
1230
ca07f197
JM
1231 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1232 tests with quiet NaN input and output.
1233 (acosh_test_data): Likewise.
1234 (asin_test_data): Likewise.
1235 (asinh_test_data): Likewise.
1236 (atan_test_data): Likewise.
1237 (atanh_test_data): Likewise.
1238 (atan2_test_data): Likewise.
1239 (cbrt_test_data): Likewise.
1240 (cos_test_data): Likewise.
1241 (cosh_test_data): Likewise.
1242 (erf_test_data): Likewise.
1243 (erfc_test_data): Likewise.
1244 (exp_test_data): Likewise.
1245 (exp10_test_data): Likewise.
1246 (exp2_test_data): Likewise.
1247 (expm1_test_data): Likewise.
1248 (hypot_test_data): Likewise.
1249 (j0_test_data): Likewise.
1250 (j1_test_data): Likewise.
1251 (jn_test_data): Likewise.
1252 (lgamma_test_data): Likewise.
1253 (log_test_data): Likewise.
1254 (log10_test_data): Likewise.
1255 (log1p_test_data): Likewise.
1256 (log2_test_data): Likewise.
1257 (pow_test_data): Likewise.
1258 (scalb_test_data): Likewise.
1259 (sin_test_data): Likewise.
1260 (sincos_test_data): Likewise.
1261 (sinh_test_data): Likewise.
1262 (tan_test_data): Likewise.
1263 (tanh_test_data): Likewise.
1264 (tgamma_test_data): Likewise.
1265 (y0_test_data): Likewise.
1266 (y1_test_data): Likewise.
1267 (yn_test_data): Likewise.
1268
66294491
JM
1269 [BZ #16167]
1270 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1271 argument being NaN and avoid computations with second argument in
1272 that case.
1273 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1274 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1275 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1276
1820b143
CL
12772013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
1278
1279 * locale/iso-639.def: Add Chitwani Tharu (the).
1280
714bd261
AS
12812013-11-14 Andreas Schwab <schwab@suse.de>
1282
1283 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1284 word instead of empty string.
1285
7ab44563
AZ
12862013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1287
1288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1289 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1291 (__fe_nomask_env): Likewise.
1292
e8470ea2
SE
12932013-11-13 Steve Ellcey <sellcey@mips.com>
1294
1295 * benchtests/bench-timing.h: Include time.h.
1296
17c1d9f0
L
12972013-11-13 H.J. Lu <hongjiu.lu@intel.com>
1298
1299 [BZ #15997]
1300 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1301 to 3.4.0 for x32.
1302 * sysdeps/unix/sysv/linux/configure: Regenerated.
1303
9310c284
JM
13042013-11-13 Joseph Myers <joseph@codesourcery.com>
1305
1306 [BZ #16151]
1307 * stdlib/strtod_l.c (round_and_return): Do not consider
1308 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1309 exponent one less than half the least subnormal exponent.
1310 * stdlib/test-strtod-round-data: Add more tests.
1311 * stdlib/tst-strtod-round.c (tests): Regenerated.
1312
7a2ad8cf
AZ
13132013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1314
1315 [BZ #14143]
1316 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1317 (__fe_mask_env): Likewise.
1318 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1319 libm_hidden_proto and add function prototype.
1320 (__fe_mask_env): Add function prototype.
1321 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1322 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1324 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1326 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1327
50727aa7
MS
13282013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1329
b2f386c1 1330 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
1331 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1332
a615be46
MS
13332013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1334
1335 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1336 of htab_find_slot().
1337
7ddace62
DM
13382013-11-11 David S. Miller <davem@davemloft.net>
1339
1340 [BZ #16150]
1341 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1342 symbol in the non-vis3 case in static builds.
1343 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1344 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1345 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1346 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1347
9182aa67
JK
13482013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1349
1350 [BZ #387]
1351 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1352 it is empty.
1353
450a2e2d
AZ
13542013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1355
b2f386c1
SP
1356 * benchtests/Makefile: Add bench-strtod.
1357 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 1358
8ec3f656
AS
13592013-11-11 Andreas Schwab <schwab@suse.de>
1360
1361 [BZ #16153]
1362 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1363 terminating NUL in key length.
1364
76a9b998
AZ
13652013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1366
1367 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1368 Add artificial ODP entry for vDSO symbol for PPC64.
1369 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
1370 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1371
e4368156
OB
13722013-11-07 Ondřej Bílka <neleai@seznam.cz>
1373
1374 [BZ #15374]
1375 * nss/getent.c (services_keys): Recognize services starting with digit.
1376
8d6bb57c
DM
13772013-11-06 David S. Miller <davem@davemloft.net>
1378
1379 [BZ #15985]
1380 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1381 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1382
e256c421
WN
13832013-11-06 Will Newton <will.newton@linaro.org>
1384
1385 * manual/memory.texi (Malloc Examples): Remove register
1386 keyword from examples.
1387
f6e12daa 13882013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 1389
f6e12daa 1390 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 1391
9d880655
AS
13922013-11-04 Joseph Myers <joseph@codesourcery.com>
1393
1394 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
1395 depending on [__GCC_IEC_559 > 0].
1396 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1397 depending on [__GCC_IEC_559_COMPLEX > 0].
1398
ae129d3c
CL
13992013-11-03 Chris Leonard <cjl@sugarlabs.org>
1400
1401 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1402 to iso-639.def.
1403
4a15c2a4 14042013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
1405
1406 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1407
8b35e35d
OB
14082013-11-01 Ondřej Bílka <neleai@seznam.cz>
1409
1410 [BZ #16112]
1411 * malloc/malloc (malloc_info): Do not handle first bin as
1412 special case.
1413
1d70fd6c
CL
14142013-11-01 Chris Leonard <cjl@sugarlabs.org>
1415
1416 * locale/iso-639.def: Add Central Nahuatl (nhn).
1417
8c5c2600
BH
14182013-11-01 Bruno Haible <bruno@clisp.org>
1419
1420 [BZ #7003]
1421 * manual/math.texi (BSD Random): Specify range upper bound as
1422 in POSIX.
1423
da5579c2
CL
14242013-10-31 Chris Leonard <cjl@sugarlabs.org>
1425
1426 * locale/iso-639.def: Add Meadow Mari (mhr).
1427
5d30d853
OB
14282013-10-31 Ondřej Bílka <neleai@seznam.cz>
1429
1430 [BZ #14752], [BZ #15763]
1431 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1432 Validate name.
1433 * rt/tst_shm.c: Add test for escaping directory.
1434
a4966c61
AS
14352013-10-31 Andreas Schwab <schwab@suse.de>
1436
8a43e768 1437 [BZ #15917]
a4966c61
AS
1438 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1439 followed by 'x' as part of digit sequence.
1440 * stdio-common/tst-sscanf.c (double_tests2): New tests.
1441
28d708c4
MAP
14422013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1443
1444 [BZ #16037]
1445 * configure.ac: allow GNU Make 4.0 and greater.
1446 * configure: Regenerated.
1447
a56ee40b
WN
14482013-10-30 Will Newton <will.newton@linaro.org>
1449
1450 [BZ #16038]
1451 * malloc/hooks.c (memalign_check): Limit alignment to the
1452 maximum representable power of two.
1453 * malloc/malloc.c (__libc_memalign): Likewise.
1454 * malloc/tst-memalign.c (do_test): Add test for very
1455 large alignment values.
1456 * malloc/tst-posix_memalign.c (do_test): Likewise.
1457
c6e4925d
OB
14582013-10-30 Ondřej Bílka <neleai@seznam.cz>
1459
1460 [BZ #11087]
1461 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1462 (munmap_chunk): Likewise.
1463 (mremap_chunk): Likewise.
1464
14652013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 1466
8a43e768 1467 [BZ #15799]
bbea82f7
OB
1468 * stdlib/div.c (div): Remove obsolete code.
1469 * stdlib/ldiv.c (ldiv): Likewise.
1470 * stdlib/lldiv.c (lldiv): Likewise.
1471
977f4b31
SP
14722013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1473
1474 [BZ #16071]
1475 * nss/nss_files/files-XXX.c (get_contents_ret): New
1476 enumerator.
1477 (get_contents): New function.
1478 (internal_getent): Use it. Expand size of LINEBUFLEN.
1479
cb8a6dbd
MF
14802013-10-30 Mike Frysinger <vapier@gentoo.org>
1481
1482 * configure.in: Moved to ...
1483 * configure.ac: ... here. Change reference to configure.in
1484 to configure.ac.
1485 * sysdeps/arm/preconfigure.ac: ... here.
1486 configure.in to configure.ac.
1487 * sysdeps/gnu/configure.in: Moved to ...
1488 * sysdeps/gnu/configure.ac: ... here.
1489 * sysdeps/i386/configure.in: Moved to ...
1490 * sysdeps/i386/configure.ac: ... here.
1491 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1492 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1493 * sysdeps/mach/configure.in: Moved to ...
1494 * sysdeps/mach/configure.ac: ... here.
1495 * sysdeps/mach/hurd/configure.in: Moved to ...
1496 * sysdeps/mach/hurd/configure.ac: ... here.
1497 * sysdeps/powerpc/configure.in: Moved to ...
1498 * sysdeps/powerpc/configure.ac: ... here.
1499 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1500 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1501 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1502 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1503 * sysdeps/s390/s390-32/configure.in: Moved to ...
1504 * sysdeps/s390/s390-32/configure.ac: ... here.
1505 * sysdeps/s390/s390-64/configure.in: Moved to ...
1506 * sysdeps/s390/s390-64/configure.ac: ... here.
1507 * sysdeps/sh/configure.in: Moved to ...
1508 * sysdeps/sh/configure.ac: ... here.
1509 * sysdeps/sparc/configure.in: Moved to ...
1510 * sysdeps/sparc/configure.ac: ... here.
1511 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1512 * sysdeps/unix/sysv/linux/configure.ac: ... here.
1513 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1514 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1515 * sysdeps/x86_64/configure.in: Moved to ...
1516 * sysdeps/x86_64/configure.ac: ... here.
1517 * sysdeps/x86_64/preconfigure.in: Moved to ...
1518 * sysdeps/x86_64/preconfigure.ac: ... here.
1519 * aclocal.m4: Change reference to configure.in to configure.ac.
1520 * config.h.in: Likewise.
1521 * manual/install.texi: Likewise.
1522 * manual/maint.texi: Likewise.
1523 * Makefile: Likewise.
1524 * malloc/Makefile: Likewise.
1525 * nscd/Makefile: Likewise.
1526 * Makeconfig: Change reference to configure.in and
1527 preconfigure.in to configure.ac and preconfigure.ac
1528 respectively.
1529 * INSTALL: Regenerated.
1530 * configure: Likewise.
1531 * sysdeps/gnu/configure: Likewise.
1532 * sysdeps/i386/configure: Likewise.
1533 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1534 * sysdeps/mach/configure: Likewise.
1535 * sysdeps/mach/hurd/configure: Likewise.
1536 * sysdeps/powerpc/configure: Likewise.
1537 * sysdeps/powerpc/powerpc32/configure: Likewise.
1538 * sysdeps/powerpc/powerpc64/configure: Likewise.
1539 * sysdeps/s390/s390-32/configure: Likewise.
1540 * sysdeps/s390/s390-64/configure: Likewise.
1541 * sysdeps/sh/configure: Likewise.
1542 * sysdeps/sparc/configure: Likewise.
1543 * sysdeps/unix/sysv/linux/configure: Likewise.
1544 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1545 * sysdeps/x86_64/configure: Likewise.
1546 * sysdeps/x86_64/preconfigure: Likewise.
1547
36a4953a
AS
15482013-10-29 Andreas Schwab <schwab@suse.de>
1549
1550 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1551
c79a1204
SP
15522013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1553
dfa1b402
SP
1554 * benchtests/pow-inputs: Add new inputs.
1555
54f73d9c
SP
1556 * benchtests/exp-inputs: Add new inputs.
1557
c79a1204
SP
1558 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1559 conditional check for return value.
1560 (__cos32): Likewise.
1561
67beb545 15622013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
1563
1564 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1565 to provide a boost for large inputs with word alignment.
1566 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1567 implementation based on optimized PPC64 strcpy.
1568 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1569 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1570 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1571 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1572
151659f6
OB
15732013-10-25 Ondřej Bílka <neleai@seznam.cz>
1574
482a077e 1575 [BZ #2801]
151659f6
OB
1576 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1577
10b0f26b
OB
15782013-10-25 Ondřej Bílka <neleai@seznam.cz>
1579
1580 [BZ #14876]
1581 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1582 * time/tst-strptime.c (day_tests): Add testcase.
1583
ca42d35e
OB
15842013-10-25 Ondřej Bílka <neleai@seznam.cz>
1585
482a077e 1586 [BZ #14029]
ca42d35e
OB
1587 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1588
52e6d801
FB
15892013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1590
1591 [BZ #16074]
1592 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1593 MAP_FAILED on error.
1594
7cbcdb36
SP
15952013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1596
1597 [BZ #16072]
1598 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1599 heap for large requests.
1600
894f3f10
AM
16012013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1602
1603 [BZ #9954]
1604 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1605 result if the result has no associated interface.
1606 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1607 interface for all 127.X.Y.Z addresses.
1608
b85545a6
CL
16092013-10-24 Chris Leonard <cjl@sugarlabs.org>
1610
1611 * locale/iso-639.def: Add Ligurian (lij)
1612
d1f23d46
OB
16132013-10-21 Ondřej Bílka <neleai@seznam.cz>
1614
1615 [BZ #15825]
1616 * sunrpc/rpc_main.c: Document rpcgen -5.
1617
4db5b08f
MS
16182013-10-19 Michael Stahl <mstahl@redhat.com>
1619
1620 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1621
a471e96a
OB
16222013-10-19 Ondřej Bílka <neleai@seznam.cz>
1623
d1f23d46 1624 [BZ #10278]
a471e96a
OB
1625 * posix/glob.c: Match only directories when trailing slash is present.
1626 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1627 (main): Add testcase.
1628
45c30c61
OB
16292013-10-19 Ondřej Bílka <neleai@seznam.cz>
1630
1631 [BZ #15670]
1632 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1633
484c12fb
CD
16342013-10-18 Carlos O'Donell <carlos@redhat.com>
1635
3d7dc513
CD
1636 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1637 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1638 AUTH_DES and cindex for FIPS 140-2.
1639 (DES Encryption): Add cindex FIPS 46-3.
1640
484c12fb
CD
1641 * locale/locarchive.h (struct locarhandle): Add fname.
1642 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1643 if an optional argument was specified to --list-archive,
1644 otherwise NULL.
1645 * locale/programs/locarchive.c (show_archive_content): Take new
1646 argument fname and pass it via ah.fname to open_archive.
1647 * locale/programs/localedef.h: Update decl.
1648 (open_archive): If AH->fname is non-null, open that file
1649 rather than the default file name, and don't ignore ENOENT.
1650 (create_archive): Set AH.fname to NULL.
1651 (delete_locales_from_archive): Likewise.
1652 (add_locales_to_archive): Likewise.
1653 * locale/programs/locfile.c (write_all_categories): Likewise.
1654
3c8325fb
JM
16552013-10-18 Joseph Myers <joseph@codesourcery.com>
1656 Aldy Hernandez <aldyh@redhat.com>
1657
1658 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1659 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1660 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1661 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1662 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1663 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1664 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1665 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1666 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1667 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1668 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1669 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1670 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1671 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1672 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1673 Likewise.
1674 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1675 Likewise.
1676 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1677 Likewise.
1678 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1679 Likewise.
1680 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1681 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1682 Likewise.
1683 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1684 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1685 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1686 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1687 Likewise.
1688 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1689 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1690 * sysdeps/powerpc/preconfigure: Likewise.
1691 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1692 Likewise.
1693 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1694 Replace contents of file by #include of <fenv_libc.h>.
1695 * sysdeps/powerpc/soft-fp/sfp-machine.h
1696 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1697 and <sys/prctl.h>.
1698 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1699 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1700 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1701 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1702 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1703 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1704 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1705 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1706 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1707 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1708 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1709 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1711 Allow copysignl PLT reference to be missing.
1712
5abe0682
RS
17132013-10-18 Richard Sandiford <richard@codesourcery.com>
1714 Joseph Myers <joseph@codesourcery.com
1715
1716 [BZ #15948]
1717 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1718 single character.
1719 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1720
c7738d08
SP
17212013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1722
1723 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1724 * elf/tst-tls1.c: Likewise.
1725 * elf/tst-tls10.h: Likewise.
1726 * elf/tst-tls14.c: Likewise.
1727 * elf/tst-tls2.c: Likewise.
1728 * elf/tst-tls3.c: Likewise.
1729 * elf/tst-tls4.c: Likewise.
1730 * elf/tst-tls5.c: Likewise.
1731 * elf/tst-tls6.c: Likewise.
1732 * elf/tst-tls7.c: Likewise.
1733 * elf/tst-tls8.c: Likewise.
1734 * elf/tst-tls9.c: Likewise.
1735 * elf/tst-tlsmod1.c: Likewise.
1736 * elf/tst-tlsmod13.c: Likewise.
1737 * elf/tst-tlsmod13a.c: Likewise.
1738 * elf/tst-tlsmod14a.c: Likewise.
1739 * elf/tst-tlsmod16a.c: Likewise.
1740 * elf/tst-tlsmod16b.c: Likewise.
1741 * elf/tst-tlsmod2.c: Likewise.
1742 * elf/tst-tlsmod3.c: Likewise.
1743 * elf/tst-tlsmod4.c: Likewise.
1744 * elf/tst-tlsmod5.c: Likewise.
1745 * elf/tst-tlsmod6.c: Likewise.
1746
0bfcf2c7
OB
17472013-10-18 Ondřej Bílka <neleai@seznam.cz>
1748
1749 [BZ #12486]
1750 * malloc/malloc.c: remove checks for statistics.
1751
264aad1e
OB
17522013-10-17 Ondřej Bílka <neleai@seznam.cz>
1753
1754 [BZ #15277]
1755 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1756 * inet/tst-network.c: Add testcase.
1757
b957ced8
AS
17582013-10-17 Andreas Schwab <schwab@suse.de>
1759
1760 [BZ #15218]
1761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1762 to determine canonical name.
1763
c5d5d574
OB
17642013-10-17 Ondřej Bílka <neleai@seznam.cz>
1765
1766 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1767 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1768 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1769 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1770 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1771 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1772 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1773 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1774 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1775 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1776 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1777 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1778 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1779 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1780 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1781 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1782 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1783 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1784 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1785 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1786 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1787 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1788 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1789 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1790 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1791 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1792 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1793 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1794 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1795 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1796 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1797 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1798 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1799 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1800 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1801 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1802 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1803 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1804 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1805 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1806 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1807 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1808 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1809 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1810 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1811 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1812 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1813 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1814 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1815 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1816 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1817 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1818 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1819 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1820 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1821 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1822 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1823 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1824
e5c2c2d0
JM
18252013-10-17 Joseph Myers <joseph@codesourcery.com>
1826
1827 [BZ #16041]
1828 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1829 make result into a quiet NaN.
1830
51ca9e29
JM
18312013-10-16 Joseph Myers <joseph@codesourcery.com>
1832
1833 * soft-fp/adddf3.c: Fix horizontal whitespace.
1834 * soft-fp/addsf3.c: Likewise.
1835 * soft-fp/addtf3.c: Likewise.
1836 * soft-fp/divdf3.c: Likewise.
1837 * soft-fp/divsf3.c: Likewise.
1838 * soft-fp/divtf3.c: Likewise.
1839 * soft-fp/double.h: Likewise.
1840 * soft-fp/eqdf2.c: Likewise.
1841 * soft-fp/eqsf2.c: Likewise.
1842 * soft-fp/eqtf2.c: Likewise.
1843 * soft-fp/extenddftf2.c: Likewise.
1844 * soft-fp/extended.h: Likewise.
1845 * soft-fp/extendsfdf2.c: Likewise.
1846 * soft-fp/extendsftf2.c: Likewise.
1847 * soft-fp/extendxftf2.c: Likewise.
1848 * soft-fp/fixdfdi.c: Likewise.
1849 * soft-fp/fixdfsi.c: Likewise.
1850 * soft-fp/fixdfti.c: Likewise.
1851 * soft-fp/fixsfdi.c: Likewise.
1852 * soft-fp/fixsfsi.c: Likewise.
1853 * soft-fp/fixsfti.c: Likewise.
1854 * soft-fp/fixtfdi.c: Likewise.
1855 * soft-fp/fixtfsi.c: Likewise.
1856 * soft-fp/fixtfti.c: Likewise.
1857 * soft-fp/fixunsdfdi.c: Likewise.
1858 * soft-fp/fixunsdfsi.c: Likewise.
1859 * soft-fp/fixunsdfti.c: Likewise.
1860 * soft-fp/fixunssfdi.c: Likewise.
1861 * soft-fp/fixunssfsi.c: Likewise.
1862 * soft-fp/fixunssfti.c: Likewise.
1863 * soft-fp/fixunstfdi.c: Likewise.
1864 * soft-fp/fixunstfsi.c: Likewise.
1865 * soft-fp/fixunstfti.c: Likewise.
1866 * soft-fp/floatdidf.c: Likewise.
1867 * soft-fp/floatdisf.c: Likewise.
1868 * soft-fp/floatditf.c: Likewise.
1869 * soft-fp/floatsidf.c: Likewise.
1870 * soft-fp/floatsisf.c: Likewise.
1871 * soft-fp/floatsitf.c: Likewise.
1872 * soft-fp/floattidf.c: Likewise.
1873 * soft-fp/floattisf.c: Likewise.
1874 * soft-fp/floattitf.c: Likewise.
1875 * soft-fp/floatundidf.c: Likewise.
1876 * soft-fp/floatundisf.c: Likewise.
1877 * soft-fp/floatunditf.c: Likewise.
1878 * soft-fp/floatunsidf.c: Likewise.
1879 * soft-fp/floatunsisf.c: Likewise.
1880 * soft-fp/floatunsitf.c: Likewise.
1881 * soft-fp/floatuntidf.c: Likewise.
1882 * soft-fp/floatuntisf.c: Likewise.
1883 * soft-fp/floatuntitf.c: Likewise.
1884 * soft-fp/fmadf4.c: Likewise.
1885 * soft-fp/fmasf4.c: Likewise.
1886 * soft-fp/fmatf4.c: Likewise.
1887 * soft-fp/gedf2.c: Likewise.
1888 * soft-fp/gesf2.c: Likewise.
1889 * soft-fp/getf2.c: Likewise.
1890 * soft-fp/ledf2.c: Likewise.
1891 * soft-fp/lesf2.c: Likewise.
1892 * soft-fp/letf2.c: Likewise.
1893 * soft-fp/muldf3.c: Likewise.
1894 * soft-fp/mulsf3.c: Likewise.
1895 * soft-fp/multf3.c: Likewise.
1896 * soft-fp/negdf2.c: Likewise.
1897 * soft-fp/negsf2.c: Likewise.
1898 * soft-fp/negtf2.c: Likewise.
1899 * soft-fp/op-1.h: Likewise.
1900 * soft-fp/op-2.h: Likewise.
1901 * soft-fp/op-4.h: Likewise.
1902 * soft-fp/op-8.h: Likewise.
1903 * soft-fp/op-common.h: Likewise.
1904 * soft-fp/quad.h: Likewise.
1905 * soft-fp/single.h: Likewise.
1906 * soft-fp/soft-fp.h: Likewise.
1907 * soft-fp/sqrtdf2.c: Likewise.
1908 * soft-fp/sqrtsf2.c: Likewise.
1909 * soft-fp/sqrttf2.c: Likewise.
1910 * soft-fp/subdf3.c: Likewise.
1911 * soft-fp/subsf3.c: Likewise.
1912 * soft-fp/subtf3.c: Likewise.
1913 * soft-fp/truncdfsf2.c: Likewise.
1914 * soft-fp/trunctfdf2.c: Likewise.
1915 * soft-fp/trunctfsf2.c: Likewise.
1916 * soft-fp/trunctfxf2.c: Likewise.
1917 * soft-fp/unorddf2.c: Likewise.
1918 * soft-fp/unordsf2.c: Likewise.
1919 * soft-fp/unordtf2.c: Likewise.
1920
9ebb0332
JM
19212013-10-15 Joseph Myers <joseph@codesourcery.com>
1922
1923 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1924 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1925
4b1a6d8b
OB
19262013-10-15 Ondřej Bílka <neleai@seznam.cz>
1927
1928 * elf/dl-libc.c: Clear initfini list after freeing.
1929
1e145589
JM
19302013-10-14 Joseph Myers <joseph@codesourcery.com>
1931
1932 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1933 * soft-fp/addsf3.c: Likewise.
1934 * soft-fp/addtf3.c: Likewise.
1935 * soft-fp/divdf3.c: Likewise.
1936 * soft-fp/divsf3.c: Likewise.
1937 * soft-fp/divtf3.c: Likewise.
1938 * soft-fp/double.h: Likewise.
1939 * soft-fp/eqdf2.c: Likewise.
1940 * soft-fp/eqsf2.c: Likewise.
1941 * soft-fp/eqtf2.c: Likewise.
1942 * soft-fp/extenddftf2.c: Likewise.
1943 * soft-fp/extended.h: Likewise.
1944 * soft-fp/extendsfdf2.c: Likewise.
1945 * soft-fp/extendsftf2.c: Likewise.
1946 * soft-fp/extendxftf2.c: Likewise.
1947 * soft-fp/fixdfdi.c: Likewise.
1948 * soft-fp/fixdfsi.c: Likewise.
1949 * soft-fp/fixdfti.c: Likewise.
1950 * soft-fp/fixsfdi.c: Likewise.
1951 * soft-fp/fixsfsi.c: Likewise.
1952 * soft-fp/fixsfti.c: Likewise.
1953 * soft-fp/fixtfdi.c: Likewise.
1954 * soft-fp/fixtfsi.c: Likewise.
1955 * soft-fp/fixtfti.c: Likewise.
1956 * soft-fp/fixunsdfdi.c: Likewise.
1957 * soft-fp/fixunsdfsi.c: Likewise.
1958 * soft-fp/fixunsdfti.c: Likewise.
1959 * soft-fp/fixunssfdi.c: Likewise.
1960 * soft-fp/fixunssfsi.c: Likewise.
1961 * soft-fp/fixunssfti.c: Likewise.
1962 * soft-fp/fixunstfdi.c: Likewise.
1963 * soft-fp/fixunstfsi.c: Likewise.
1964 * soft-fp/fixunstfti.c: Likewise.
1965 * soft-fp/floatdidf.c: Likewise.
1966 * soft-fp/floatdisf.c: Likewise.
1967 * soft-fp/floatditf.c: Likewise.
1968 * soft-fp/floatsidf.c: Likewise.
1969 * soft-fp/floatsisf.c: Likewise.
1970 * soft-fp/floatsitf.c: Likewise.
1971 * soft-fp/floattidf.c: Likewise.
1972 * soft-fp/floattisf.c: Likewise.
1973 * soft-fp/floattitf.c: Likewise.
1974 * soft-fp/floatundidf.c: Likewise.
1975 * soft-fp/floatundisf.c: Likewise.
1976 * soft-fp/floatunsidf.c: Likewise.
1977 * soft-fp/floatunsisf.c: Likewise.
1978 * soft-fp/floatuntidf.c: Likewise.
1979 * soft-fp/floatuntisf.c: Likewise.
1980 * soft-fp/floatuntitf.c: Likewise.
1981 * soft-fp/fmadf4.c: Likewise.
1982 * soft-fp/fmasf4.c: Likewise.
1983 * soft-fp/fmatf4.c: Likewise.
1984 * soft-fp/gedf2.c: Likewise.
1985 * soft-fp/gesf2.c: Likewise.
1986 * soft-fp/getf2.c: Likewise.
1987 * soft-fp/ledf2.c: Likewise.
1988 * soft-fp/lesf2.c: Likewise.
1989 * soft-fp/letf2.c: Likewise.
1990 * soft-fp/muldf3.c: Likewise.
1991 * soft-fp/mulsf3.c: Likewise.
1992 * soft-fp/multf3.c: Likewise.
1993 * soft-fp/negdf2.c: Likewise.
1994 * soft-fp/negsf2.c: Likewise.
1995 * soft-fp/negtf2.c: Likewise.
1996 * soft-fp/op-1.h: Likewise.
1997 * soft-fp/op-2.h: Likewise.
1998 * soft-fp/op-4.h: Likewise.
1999 * soft-fp/op-8.h: Likewise.
2000 * soft-fp/op-common.h: Likewise.
2001 * soft-fp/quad.h: Likewise.
2002 * soft-fp/single.h: Likewise.
2003 * soft-fp/soft-fp.h: Likewise.
2004 * soft-fp/sqrtdf2.c: Likewise.
2005 * soft-fp/sqrtsf2.c: Likewise.
2006 * soft-fp/sqrttf2.c: Likewise.
2007 * soft-fp/subdf3.c: Likewise.
2008 * soft-fp/subsf3.c: Likewise.
2009 * soft-fp/subtf3.c: Likewise.
2010 * soft-fp/truncdfsf2.c: Likewise.
2011 * soft-fp/trunctfdf2.c: Likewise.
2012 * soft-fp/trunctfsf2.c: Likewise.
2013 * soft-fp/trunctfxf2.c: Likewise.
2014 * soft-fp/unorddf2.c: Likewise.
2015 * soft-fp/unordsf2.c: Likewise.
2016 * soft-fp/unordtf2.c: Likewise.
2017
17c48a60
OB
20182013-10-14 Ondřej Bílka <neleai@seznam.cz>
2019
2020 [BZ #15672]
2021 * misc/error.c (error_tail): Fix possible buffer overflow.
2022
cabba934
OB
20232013-10-14 Aurelien Jarno <aurelien@aurel32.net>
2024
2025 [BZ #13028]
2026 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2027 address.
2028
94bf958a
PM
20292013-10-14 P. J. McDermott <pj@pehjota.net>
2030
2031 [BZ #832]
2032 * elf/ldd.bash.in (try_trace): New function. Delete previous code
2033 testing pipefail option.
2034
71b4dea7
JM
20352013-10-12 Joseph Myers <joseph@codesourcery.com>
2036
2037 * soft-fp/double.h: Indent preprocessor directives inside #if.
2038 * soft-fp/extended.h: Likewise.
2039 * soft-fp/op-2.h: Likewise.
2040 * soft-fp/op-4.h: Likewise.
2041 * soft-fp/op-common.h: Likewise.
2042 * soft-fp/quad.h: Likewise.
2043 * soft-fp/single.h: Likewise.
2044 * soft-fp/soft-fp.h: Likewise.
2045
55602758
YC
20462013-10-12 Yuri Chornoivan <yurchor@ukr.net>
2047
2048 * iconv/iconv_prog.c: Fix typos.
2049 * stdio-common/psiginfo-data.h: Likewise.
2050
9cd83302
RT
20512013-10-12 Reuben Thomas <rrt@sc3d.org>
2052
2053 [BZ #15764]
2054 * locale/setlocale.c: Fix typo.
2055
99fd9f47
JM
20562013-10-12 Joseph Myers <joseph@codesourcery.com>
2057
b7ea74f0
JM
2058 [BZ #16036]
2059 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2060 signaling NaN arguments.
2061 * soft-fp/unordsf2.c (__unordsf2): Likewise.
2062 * soft-fp/unordtf2.c (__unordtf2): Likewise.
2063
8a509447
JM
2064 [BZ #14910]
2065 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2066 unordered operands.
2067 * soft-fp/gesf2.c (__gesf2): Likewise.
2068 * soft-fp/getf2.c (__getf2): Likewise.
2069 * soft-fp/ledf2.c (__ledf2): Likewise.
2070 * soft-fp/lesf2.c (__lesf2): Likewise.
2071 * soft-fp/letf2.c (__letf2): Likewise.
2072
98998e9f
JM
2073 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2074 * soft-fp/eqsf2.c (__eqsf2): Likewise.
2075 * soft-fp/eqtf2.c (__eqtf2): Likewise.
2076 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2077 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2078 * soft-fp/fixdfti.c (__fixdfti): Likewise.
2079 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2080 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2081 * soft-fp/fixsfti.c (__fixsfti): Likewise.
2082 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2083 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2084 * soft-fp/fixtfti.c (__fixtfti): Likewise.
2085 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2086 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2087 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2088 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2089 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2090 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2091 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2092 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2093 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2094 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2095 * soft-fp/floatdisf.c (__floatdisf): Likewise.
2096 * soft-fp/floatsisf.c (__floatsisf): Likewise.
2097 * soft-fp/floattidf.c (__floattidf): Likewise.
2098 * soft-fp/floattisf.c (__floattisf): Likewise.
2099 * soft-fp/floattitf.c (__floattitf): Likewise.
2100 * soft-fp/floatundidf.c (__floatundidf): Likewise.
2101 * soft-fp/floatundisf.c (__floatundisf): Likewise.
2102 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2103 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2104 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2105 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2106 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2107 * soft-fp/gesf2.c (__gesf2): Likewise.
2108 * soft-fp/getf2.c (__getf2): Likewise.
2109 * soft-fp/ledf2.c (__ledf2): Likewise.
2110 * soft-fp/lesf2.c (__lesf2): Likewise.
2111 * soft-fp/letf2.c (__letf2): Likewise.
2112
8edc4a11
JM
2113 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2114 Undefine and redefine.
2115 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2116 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2117 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2118 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2119 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2120 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2121 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2122 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2123 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2124 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2125 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2126 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2127 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2128 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2129 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2130
8399acaf
JM
2131 [BZ #16032]
2132 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2133 without decrementing exponent if mantissa >= that for the
2134 denominator, not >.
2135 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2136 denominator, not >. Decrement exponent in < case instead of
2137 incrementing in >= case.
2138 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2139 without decrementing exponent if mantissa >= that for the
2140 denominator, not >.
2141
99fd9f47
JM
2142 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2143 computing saturated result for unsigned overflow.
2144
10e1cf6b
SP
21452013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2146 Jeff Law <law@redhat.com>
2147
2148 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2149 (atan2Mp): Add systemtap probe marker.
2150 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2151 (__ieee754_log): Add systemtap probe marker.
2152 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2153 (atanMp): Add systemtap probe marker.
2154 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2155 (tanMp): Add systemtap probe marker.
2156 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2157 (__slowexp): Add systemtap probe marker.
2158 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2159 (__slowpow): Add systemtap probe marker.
2160 * manual/probes.texi: Document probes.
2161
3d110c7c
EB
21622013-10-11 Eric Biggers <ebiggers3@gmail.com>
2163
2164 [BZ #15362]
2165 * libio/fileops.c (_IO_new_file_write): Return count of bytes
2166 written.
2167 (_IO_new_file_xsputn): Don't return EOF if nothing has been
2168 written.
2169 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2170 written to buffer but not flushed.
2171 * libio/iofwrite_u.c: Likewise.
2172 * libio/iopadn.c: Return bytes returned even if EOF was
2173 encountered.
2174 * libio/iowpadn.c: Likewise.
2175 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2176 if _IO_padn does not write the whole buffer.
2177 [!COMPILE_WPRINTF] (PAD): Likewise.
2178
75b4202a
DM
21792013-10-10 David S. Miller <davem@davemloft.net>
2180
2181 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2182 directory block.
2183
6c6352e6
JM
21842013-10-10 Joseph Myers <joseph@codesourcery.com>
2185
33b853c3
JM
2186 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
2187 instead of FSF address.
2188 * soft-fp/fixdfti.c: Likewise.
2189 * soft-fp/fixsfti.c: Likewise.
2190 * soft-fp/fixtfti.c: Likewise.
2191 * soft-fp/fixunsdfti.c: Likewise.
2192 * soft-fp/fixunssfti.c: Likewise.
2193 * soft-fp/fixunstfti.c: Likewise.
2194 * soft-fp/floattidf.c: Likewise.
2195 * soft-fp/floattisf.c: Likewise.
2196 * soft-fp/floattitf.c: Likewise.
2197 * soft-fp/floatuntidf.c: Likewise.
2198 * soft-fp/floatuntisf.c: Likewise.
2199 * soft-fp/floatuntitf.c: Likewise.
2200 * soft-fp/trunctfxf2.c: Likewise.
2201
6c6352e6
JM
2202 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
2203 * soft-fp/fixdfti.c: Likewise.
2204 * soft-fp/fixsfti.c: Likewise.
2205 * soft-fp/fixtfti.c: Likewise.
2206 * soft-fp/fixunsdfti.c: Likewise.
2207 * soft-fp/fixunssfti.c: Likewise.
2208 * soft-fp/fixunstfti.c: Likewise.
2209 * soft-fp/floattidf.c: Likewise.
2210 * soft-fp/floattisf.c: Likewise.
2211 * soft-fp/floattitf.c: Likewise.
2212 * soft-fp/floatuntidf.c: Likewise.
2213 * soft-fp/floatuntisf.c: Likewise.
2214 * soft-fp/floatuntitf.c: Likewise.
2215 * soft-fp/trunctfxf2.c: Likewise.
2216
3bf78b71
DM
22172013-10-10 David S. Miller <davem@davemloft.net>
2218
2219 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2220
6f10289e
JM
22212013-10-10 Joseph Myers <joseph@codsourcery.com>
2222
bd878fc0
JM
2223 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2224 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2225 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2226 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2227 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2228 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2229 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2230
6f10289e
JM
2231 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2232 for NaNs before doing comparisons on argument.
2233 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2234 Likewise.
2235
321e2684
WN
22362013-10-10 Will Newton <will.newton@linaro.org>
2237
2238 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2239 passed to _int_memalign does not overflow.
2240
40fefba1
TR
22412013-10-10 Torvald Riegel <triegel@redhat.com>
2242
2243 * scripts/bench.pl: Add include-sources directive.
2244 * benchtests/README: Update documentation.
2245
2ae21ed2
JM
22462013-10-10 Joseph Myers <joseph@codesourcery.com>
2247
dcc2dd3f
JM
2248 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2249 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2250 instead of FP_INIT_ROUNDMODE.
2251 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2252 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2253
2ae21ed2
JM
2254 [BZ #16034]
2255 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
2256 copy class of input value.
2257 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
2258 not handle exceptions.
2259 * soft-fp/negsf2.c (__negsf2): Likewise.
2260 * soft-fp/negtf2.c (__negtf2): Likewise.
2261 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2262
cb8f9562
JM
22632013-10-09 Joseph Myers <joseph@codesourcery.com>
2264
2265 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2266 semicolon. From Linux kernel.
2267
5b60c59d
AB
22682013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
2269
2270 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2271
b86835ca
YC
22722013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2273
2274 [BZ #156]
2275 * manual/socket.texi: Added statement about buffer
2276 for gethostbyname2_r.
2277
e7044ea7
OB
22782013-10-08 Ondřej Bílka <neleai@seznam.cz>
2279
2280 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2281 Use .p2align directive instead, throughout.
2282 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2283 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2284 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2285 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2286 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2287 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2288 * sysdeps/x86_64/strchr.S: Likewise.
2289 * sysdeps/x86_64/strrchr.S: Likewise.
2290
09544cbc
SP
22912013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2292
88576635
SP
2293 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2294
e7b2d1dd
SP
2295 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2296
09544cbc
SP
2297 * sysdeps/generic/math_private.h (__mpsin1): Remove
2298 declaration.
2299 (__mpcos1): Likewise.
2300 (__mpsin): New argument __range_reduce.
2301 (__mpcos): Likewise.
2302 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2303 (slow): Use __mpsin and __mpcos.
2304 (slow1): Likewise.
2305 (slow2): Likewise.
2306 (sloww): Likewise.
2307 (sloww1): Likewise.
2308 (sloww2): Likewise.
2309 (bsloww): Likewise.
2310 (bsloww1): Likewise.
2311 (bsloww2): Likewise.
2312 (cslow2): Likewise.
2313 (csloww): Likewise.
2314 (csloww1): Likewise.
2315 (csloww2): Likewise.
2316 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2317 range_reduce. Merge in __mpsin1.
2318 (__mpcos): Likewise.
2319 (__mpsin1): Remove.
2320 (__mpcos1): Likewise.
2321
7602d070
JM
23222013-10-07 Joseph Myers <joseph@codesourcery.com>
2323
2324 * locale/loadlocale.c (_nl_intern_locale_data): Use
2325 LOCFILE_ALIGNED_P.
2326 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2327 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2328 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2329 obstack data is appropriately aligned.
2330 (obstack_int32_grow_fast): Likewise.
2331 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2332 * locale/programs/locfile.c (add_locale_uint32): Likewise.
2333 (add_locale_uint32_array): Likewise.
2334
a357259b
SP
23352013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2336
2337 * benchtests/Makefile: Remove ARGLIST and RET variables.
2338 ($(objpfx)bench-%.c): Pass only function name to the script.
2339 * benchtests/README: Update documentation.
2340 * benchtests/acos-inputs: Add new directives.
2341 * benchtests/acosh-inputs: Likewise.
2342 * benchtests/asin-inputs: Likewise.
2343 * benchtests/asinh-inputs: Likewise.
2344 * benchtests/atan-inputs: Likewise.
2345 * benchtests/atanh-inputs: Likewise.
2346 * benchtests/cos-inputs: Likewise.
2347 * benchtests/cosh-inputs: Likewise.
2348 * benchtests/exp-inputs: Likewise.
2349 * benchtests/log-inputs: Likewise.
2350 * benchtests/pow-inputs: Likewise.
2351 * benchtests/rint-inputs: Likewise.
2352 * benchtests/sin-inputs: Likewise.
2353 * benchtests/sinh-inputs: Likewise.
2354 * benchtests/tan-inputs: Likewise.
2355 * benchtests/tanh-inputs: Likewise.
2356 * scripts/bench.pl: Add support for new directives.
2357
9ec1b13d
AM
23582013-10-07 Alan Modra <amodra@gmail.com>
2359
2360 * README: Fix careless merge.
2361
8b7d57cd
AM
23622013-10-05 Alan Modra <amodra@gmail.com>
2363
2364 * NEWS: Mention powerpc64le support and bugs fixed.
2365 * README: Both big-endian and little-endian powerpc64 supported.
2366
7b7bab13
ST
23672013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2368
2369 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
2370 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
2371 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
2372 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
2373
d39baad1
RA
23742013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
2375
2376 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2377 match prototype.
2378
cd78f7e7
JM
23792013-10-04 Joseph Myers <joseph@codesourcery.com>
2380
29d73d86
JM
2381 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
2382 Move -mhard-float appending from
2383 ports/sysdeps/powerpc/powerpc32/Makefile.
2384 [$(with-fp) = yes] (ASFLAGS): Likewise.
2385 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
2386 * sysdeps/powerpc/nofpu: Move directory from
2387 ports/sysdeps/powerpc/nofpu.
2388 * sysdeps/powerpc/soft-fp: Move directory from
2389 ports/sysdeps/powerpc/soft-fp.
2390 * sysdeps/powerpc/powerpc32/405: Move directory from
2391 ports/sysdeps/powerpc/powerpc32/405.
2392 * sysdeps/powerpc/powerpc32/440: Move directory from
2393 ports/sysdeps/powerpc/powerpc32/440.
2394 * sysdeps/powerpc/powerpc32/464: Move directory from
2395 ports/sysdeps/powerpc/powerpc32/464.
2396 * sysdeps/powerpc/powerpc32/476: Move directory from
2397 ports/sysdeps/powerpc/powerpc32/476.
2398 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2399 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2400 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2401 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2402 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2403 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2405 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2406 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2407 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2408 * README: Update for powerpc-*-linux-gnu software floating point
2409 support in libc.
2410
e246b347
JM
2411 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2412 case to powerpc/powerpc32*.
2413 * sysdeps/unix/sysv/linux/configure: Regenerated.
2414
89c2003e
JM
2415 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2416 (_FPU_MASK_OM): Define as 0x04.
2417 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2418 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2419 0x00c10080.
2420 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2421 0x0000003c.
2422 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2423
cd78f7e7
JM
2424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2425 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2426 getcontext_e500.
2427 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2428 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2429 setcontext_e500.
2430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2431 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2432 and setcontext_e500.
2433
c755294d
CL
24342013-10-04 Chris Leonard <cjl@sugarlabs,.org>
2435
2436 * locale/iso-3166.def: Update iso-1366.def and related occurrences
2437
e16d221c
SP
24382013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2439
2440 * manual/threads.texi (Default Thread Attributes): Fix typo.
2441
215c7d43
WN
24422013-10-04 Will Newton <will.newton@linaro.org>
2443
2444 * malloc/Makefile: Add tst-memalign.
2445 * malloc/tst-memalign.c: New file.
2446
27d0461b
WN
2447 * malloc/tst-posix_memalign.c: Add comments.
2448 (do_test): Add comments and call free on all potentially
2449 allocated pointers. Add space after cast.
2450
1bc92709
WN
2451 * malloc/tst-pvalloc.c: Add comments.
2452 (do_test): Add comments and call free on all potentially
2453 allocated pointers. Remove duplicate check for NULL pointer.
2454 Add space after cast.
2455
66a9be9d
WN
2456 * malloc/tst-valloc.c: Add comments.
2457 (do_test): Add comments and call free on all potentially
2458 allocated pointers. Remove duplicate check for NULL pointer.
2459 Add space after cast.
2460
4cb81307
AM
24612013-10-04 Alan Modra <amodra@gmail.com>
2462
2463 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2464 Use stdint types in rather than __attribute__((mode())).
2465 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2466
f8e3e9f3
AM
24672013-10-04 Alan Modra <amodra@gmail.com>
2468
2469 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2470 Correct handling of unaligned relocs for little-endian.
2471 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2472
8f9ebb08
AM
24732013-10-04 Alan Modra <amodra@gmail.com>
2474
2475 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2476 * configure: Regenerate.
2477 * nptl/shlib-versions: Powerpc*le starts at 2.18.
2478 * shlib-versions: Likewise.
2479
0edf96c2
AM
24802013-10-04 Alan Modra <amodra@gmail.com>
2481
2482 * string/tester.c (test_memrchr): Increment reported test cycle.
2483
e0f7a380
AM
24842013-10-04 Alan Modra <amodra@gmail.com>
2485
2486 * string/test-memcpy.c (do_one_test): When reporting errors, print
2487 string address and don't overrun end of string.
2488
466b0393
AM
24892013-10-04 Alan Modra <amodra@gmail.com>
2490
2491 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2492 insrdi. Make better use of reg selection to speed exit slightly.
2493 Schedule entry path a little better. Remove useless "are we done"
2494 checks on entry to main loop. Handle wrapping around zero address.
2495 Correct main loop count. Handle single left-over word from main
2496 loop inline rather than by using loop_small. Remove extra word
2497 case in loop_small caused by wrong loop count. Add little-endian
2498 support.
2499 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2500 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
2501 cache hint.
2502 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2503 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2504 support. Avoid rlwimi.
2505 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2506
3be87c77
AM
25072013-10-04 Alan Modra <amodra@gmail.com>
2508
2509 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 2510 insrdi. Formatting.
3be87c77
AM
2511 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2512 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2513 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2514 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2515 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2516 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2517
759cfef3
AM
25182013-10-04 Alan Modra <amodra@gmail.com>
2519
2520 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2521 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2522 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2523 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2524 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2525 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2526 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2527 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2528 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2529 use of regs. Use power7 mtocrf. Tidy function tails.
2530
fe6e95d7
AM
25312013-10-04 Alan Modra <amodra@gmail.com>
2532
2533 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2534 Formatting. Consistently use rXXX register defines or rN defines.
2535 Use early exit labels that avoid restoring unused non-volatile regs.
2536 Make cr field use more consistent with rWORDn compares. Rename
2537 regs used as shift registers for unaligned loop, using rN defines
2538 for short lifetime/multiple use regs.
2539 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2540 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2541 addi 1,1,64 to pop stack frame. Simplify return value code.
2542 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2543
664318c3
AM
25442013-10-04 Alan Modra <amodra@gmail.com>
2545
2546 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2547 support. Correct typos, formatting. Optimize tail. Use insrdi
2548 rather than rlwimi.
2549 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2550 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2551 little-endian support. Correct typos.
2552 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2553 rather than rlwimi.
2554 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2555 in loop and entry code to keep "and." results.
2556 (strchr): Add little-endian support. Comment. Move cntlzd
2557 earlier in tail.
2558 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2559
43b84013
AM
25602013-10-04 Alan Modra <amodra@gmail.com>
2561
2562 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2563 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2564 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2565 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2566
8a7413f9
AM
25672013-10-04 Alan Modra <amodra@gmail.com>
2568
2569 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2570 (rTMP): Define as r11.
2571 (strcmp): Add little-endian support. Optimise tail.
2572 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2573 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2574 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2575 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2576 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2577 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2578 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2579
33ee81de
AM
25802013-10-04 Alan Modra <amodra@gmail.com>
2581
2582 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2583 little-endian support. Remove unnecessary "are we done" tests.
2584 Handle "s" wrapping around zero and extremely large "size".
2585 Correct main loop count. Handle single left-over word from main
2586 loop inline rather than by using small_loop. Correct comments.
2587 Delete "zero" tail, use "end_max" instead.
2588 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2589
db9b4570
AM
25902013-10-04 Alan Modra <amodra@gmail.com>
2591
2592 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2593 support. Don't branch over align.
2594 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2595 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2596 support. Rearrange tmp reg use to suit. Comment.
2597 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2598
f7c399cf
AM
25992013-10-04 Alan Modra <amodra@gmail.com>
2600
2601 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2602
0b2c2ace
AM
26032013-10-04 Alan Modra <amodra@gmail.com>
2604
2605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2606 conditional form of branch and link when obtaining pc.
2607 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2608
02f04a6c
AM
26092013-10-04 Alan Modra <amodra@gmail.com>
2610
2611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2612 HIWORD/LOWORD.
2613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2615
9b874b2f
AM
26162013-10-04 Alan Modra <amodra@gmail.com>
2617
2618 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2619 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2620 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2621 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2622 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2623 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2624 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2625 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2626 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2627 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2628
be1e5d31
AB
26292013-10-04 Anton Blanchard <anton@au1.ibm.com>
2630 Alistair Popple <alistair@ozlabs.au.ibm.com>
2631 Alan Modra <amodra@gmail.com>
2632
2633 [BZ #15723]
2634 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2635 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2636 _dl_hwcap access for little-endian.
2637 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2638 destroy vmx regs when saving unaligned.
2639 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2640 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2641 destroy vmx regs when saving unaligned.
2642
fef13a78
AM
26432013-10-04 Alan Modra <amodra@gmail.com>
2644
2645 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2646 Don't use a union to pack hi/low value.
2647
76a66d51
AB
26482013-10-04 Anton Blanchard <anton@au1.ibm.com>
2649
2650 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2651 for little-endian.
2652 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2653 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2654 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2655 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2656 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2657
6a31fe7f
AM
26582013-10-04 Alan Modra <amodra@gmail.com>
2659
2660 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2661 constants to usual value for .cst8 section, and remove redundant
2662 high address load.
2663 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2664 constant for 0x1p52. Load little-endian words of double from
2665 correct stack offsets.
2666
7b88401f
AM
26672013-10-04 Alan Modra <amodra@gmail.com>
2668
2669 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2670 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2671 words of double from correct stack offsets.
2672 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2673 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2674 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2675 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2676 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2677 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2678 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2679 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2680 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2681 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2682 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2683 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2684 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2685 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2686 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2687 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2688 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2689
9c008155
AM
26902013-10-04 Alan Modra <amodra@gmail.com>
2691
2692 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2693 64-bit int/double union.
2694 (_FPU_SETCW): Likewise.
2695 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2696 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2697
da13146d
AM
26982013-10-04 Alan Modra <amodra@gmail.com>
2699
2700 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2701 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2702
603e8410
AM
27032013-10-04 Alan Modra <amodra@gmail.com>
2704
2705 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2706 use vector int constants.
2707 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2708
4a28b3ca
AB
27092013-10-04 Anton Blanchard <anton@au1.ibm.com>
2710
2711 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2712 array with long long.
2713 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2714 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2715 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2716 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2717 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2718 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2719 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2720 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2721 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2722 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2723 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2724 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2725 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2726
2ca85d2b
AB
27272013-10-04 Anton Blanchard <anton@au1.ibm.com>
2728
2729 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2730 (__signbit): Likewise. Correct for little-endian.
2731 (__signbitl): Call __signbit.
2732 (lrint): Correct for little-endian.
2733 (lrintf): Call lrint.
2734
62a728ae
AM
27352013-10-04 Alan Modra <amodra@gmail.com>
2736
2737 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2738 union 32-bit int array member with 64-bit int array.
2739 (t515, tm256): Double rather than long double.
2740 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2741
32c301df
AM
27422013-10-04 Alan Modra <amodra@gmail.com>
2743
2744 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2745 Delete.
2746 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2747 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2748 version of math_ldbl.h.
2749
650ef4bd
AM
27502013-10-04 Alan Modra <amodra@gmail.com>
2751
2752 [BZ #15734], [BZ #15735]
2753 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2754 all uses of ieee875 long double macros and unions. Simplify test
2755 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2756 ldbl_extract_mantissa value for ix,iy exponents. Properly
2757 normalize after ldbl_extract_mantissa, and don't add hidden bit
2758 already handled. Don't treat low word of ieee854 mantissa like
2759 low word of IBM long double and mask off bit when testing for
2760 zero.
2761 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2762 all uses of ieee875 long double macros and unions. Simplify tests
2763 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2764 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2765 two1022, instead use their values. Recognise that tests for large
2766 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2767 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2768 Rewrite all uses of ieee875 long double macros and unions. Simplify
2769 test for 0.0L and nan. Correct negation.
2770 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2771 ieee875 long double macros and unions. Correct output for large
2772 magnitude x. Correct absolute value calculation.
2773 (__erfcl): Likewise.
2774 * math/libm-test.inc: Add tests for errors discovered in IBM long
2775 double versions of fmodl, remainderl, erfl and erfcl.
2776
765714ca
AM
27772013-10-04 Alan Modra <amodra@gmail.com>
2778
2779 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2780 all uses of ieee854 long double macros and unions. Simplify tests
2781 for long doubles that are fully specified by the high double.
2782 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2783 Likewise.
2784 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2785 Remove dead code too.
2786 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2787 (__ieee754_ynl): Likewise.
2788 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2789 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2790 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2791 Remove dead code too.
2792 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2793 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2794 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2795 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2796 Simplify.
2797 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2798 Simplify.
2799 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2800 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2801 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2802 Comment on variable precision.
2803 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2804 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2805 Likewise.
2806 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2807 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2808 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2809 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2810 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2811
4ebd120c
AM
28122013-10-04 Alan Modra <amodra@gmail.com>
2813
2814 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2815 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2816 all uses of ieee854 long double macros and unions.
2817 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2818 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2819 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2820 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2821 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2822 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2823 Likewise.
2824 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2825 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2826 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2827 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2828 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2829 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2830 Simplify sign and nan test too.
2831 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2832 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2833 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2834 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2835 Likewise.
2836 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2837 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2838 Likewise.
2839 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2840 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2841 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2842 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2843 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2844 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2845
1b6adf88
AM
28462013-10-04 Alan Modra <amodra@gmail.com>
2847
2848 * stdio-common/printf_size.c (__printf_size): Don't use
2849 union ieee854_long_double in fpnum union.
2850 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2851 signbit macro to retrieve sign from long double.
2852 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2853 retrieve sign from long double.
2854 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2855 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2856 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2857 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2858 * math/test-misc.c (main): Don't use union ieee854_long_double.
2859
4cf69995
AM
28602013-10-04 Alan Modra <amodra@gmail.com>
2861
2862 [BZ #15680]
2863 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2864 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2865 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2866 calculation. Remove unnecessary test for denormal exponent.
2867 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2868 Correct handling of denormals. Avoid undefined shift behaviour.
2869 Correct normalisation of low mantissa when low double is denormal.
2870 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2871 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
2872 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2873 Correct normalisation of low mantissa. Test for overflow of high
2874 mantissa and normalise.
2875 (ldbl_nearbyint): Use more readable constant for two52.
2876 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2877 (__mpn_construct_long_double): Fix test for overflow of high
2878 mantissa and correct normalisation. Avoid undefined shift.
2879
9605ca6c
AM
28802013-10-04 Alan Modra <amodra@gmail.com>
2881
2882 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2883 (union ibm_extended_long_double): Define as an array of ieee754_double.
2884 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2885 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2886 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2887 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2888 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2889 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2890 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2891 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2892 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2893 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2894 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2895
975569d0
JM
28962013-10-03 Joseph Myers <joseph@codesourcery.com>
2897
d3d23756
JM
2898 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2899 page size instead of calling getpagesize.
2900
975569d0
JM
2901 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2902 (LOCFILE_ALIGN_MASK): Likewise.
2903 (LOCFILE_ALIGN_UP): Likewise.
2904 (LOCFILE_ALIGNED_P): Likewise.
2905 * locale/programs/ld-collate.c (collate_output): Use the new
2906 macros instead of __alignof__ (int32_t).
2907 * locale/weight.h (findidx): Likewise.
2908
b1fe1f2b
OB
29092013-10-03 Ondřej Bílka <neleai@seznam.cz>
2910
2911 [BZ #431]
2912 * manual/string.texi: Fix strncat and wcsncat.
2913
5f855e35
BM
29142013-10-03 Brooks Moses <bmoses@google.com>
2915
2916 [BZ #15915]
2917 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2918 * Makerules: ...here, and adjust associated comments.
2919
3cef6009
WN
29202013-10-02 Will Newton <will.newton@linaro.org>
2921
2922 * malloc/Makefile: Add tst-pvalloc.
2923 * malloc/tst-pvalloc.c: New file.
2924
7815420b
WN
29252013-10-02 Will Newton <will.newton@linaro.org>
2926
2927 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2928 improve test coverage.
2929
4868b204
WN
29302013-10-02 Will Newton <will.newton@linaro.org>
2931
2932 * malloc/Makefile: Add tst-posix_memalign.
2933 * malloc/tst-posix_memalign.c: New file.
2934
29c793b3
EB
29352013-10-01 Eric Blake <eblake@redhat.com>
2936
2937 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2938 Use __THROWNL rather than __THROW on static functions.
2939
fd967522
PM
29402013-09-30 Petr Machata <pmachata@redhat.com>
2941
2942 * elf/elf.h (R_AARCH64_ABS16): New macro.
2943 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2944 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2945 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2946 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2947 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2948 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2949 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2950 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2951 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2952 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2953 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2954 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2955 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2956 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2957 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2958 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2959 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2960 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2961 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2962 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2963 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2964 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2965 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2966 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2967 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2968 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2969 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2970 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2971 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2972 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2973 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
2974 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
2975 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
2976 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
2977 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
2978 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
2979 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
2980 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
2981 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
2982 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
2983 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
2984 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
2985 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
2986 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
2987 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
2988 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
2989 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
2990 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
2991 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
2992 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
2993 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
2994 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
2995 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
2996 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
2997 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
2998 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
2999 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3000 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3001 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3002 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3003 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3004 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3005 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3006 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3007 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3008 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3009 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3010 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3011 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3012 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3013 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3014 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3015 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3016 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3017 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3018 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3019 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3020 (R_AARCH64_TLSDESC_LDR): Likewise.
3021 (R_AARCH64_TLSDESC_ADD): Likewise.
3022 (R_AARCH64_TLSDESC_CALL): Likewise.
3023
b2179107
AS
30242013-09-30 Andreas Schwab <schwab@suse.de>
3025
3026 [BZ #15048]
3027 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3028 the nss database lookup.
3029 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3030 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3031
47f28d0a
MF
30322013-09-28 Mike Frysinger <vapier@gentoo.org>
3033
3034 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3035
30362013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
3037
3038 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3039 ${Bash-specific parameter/pattern/string} parameter expansion.
3040 * sysdeps/unix/make-syscalls.sh: Likewise.
3041
f4518a17
KK
30422013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3043
3044 * sysdeps/sh/stackguard-macros.h: New file.
3045
dc1a95c7
OB
30462013-09-26 Ondřej Bílka <neleai@seznam.cz>
3047
3048 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3049 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3050 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3051 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3052 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3053 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3054
5ebbff8f
AZ
30552013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3056
3057 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3058 Fix thread ID register.
3059
4fd2cf9f
JM
30602013-09-25 Joseph Myers <joseph@codesourcery.com>
3061
3062 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3063 [POSIX || UNIX98]: Require rather than permitting all symbols from
3064 <time.h>.
3065 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3066 element of struct sched_param.
3067 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3068 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3069 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3070 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3071 constant.
3072
12c22bc4
OL
30732013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
3074
3075 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3076 argument calculation.
3077
a03d8ea7
JM
30782013-09-24 Joseph Myers <joseph@codesourcery.com>
3079
3080 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3081 Expect macro.
3082 [POSIX] (pthread_attr_t): Do not require type.
3083 [POSIX] (pthread_cond_t): Likewise.
3084 [POSIX] (pthread_condattr_t): Likewise.
3085 [POSIX] (pthread_key_t): Likewise.
3086 [POSIX] (pthread_mutex_t): Likewise.
3087 [POSIX] (pthread_mutexattr_t): Likewise.
3088 [POSIX] (pthread_once_t): Likewise.
3089 [POSIX] (pthread_t): Likewise.
3090 [POSIX-based standards] (pthread_atfork): Expect function.
3091
6055173a
JM
30922013-09-24 Joseph Myers <joseph@codesourcery.com>
3093 Richard Sandiford <richard@codesourcery.com>
3094
3095 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3096 (swap_endianness_p): New extern variable.
3097 (set_big_endian): New inline function.
3098 (maybe_swap_uint32): Likewise.
3099 (maybe_swap_uint32_array): Likewise.
3100 (maybe_swap_uint32_obstack): Likewise.
3101 * locale/programs/locfile.c: Include <stdbool.h>.
3102 (swap_endianness_p): New variable.
3103 (add_locale_uint32): Call maybe_swap_uint32.
3104 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3105 (write_locale_data): Call maybe_swap_uint32_array.
3106 * locale/programs/ld-collate.c (obstack_int32_grow): Call
3107 maybe_swap_uint32.
3108 (obstack_int32_grow_fast): Likewise.
3109 (output_weightwc): Call maybe_swap_uint32_obstack.
3110 (collate_output): Likewise.
3111 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3112 (OPT_LITTLE_ENDIAN): Likewise.
3113 (options): Add --little-endian and --big-endian options.
3114 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3115 * locale/programs/locarchive.c: Include "locfile.h".
3116 (GET): New macro.
3117 (SET): Likewise.
3118 (INC): Likewise.
3119 (create_archive): Use the new macros to access fields of
3120 structures directly mapped from or written to locale archives.
3121 (oldlocrecentcmp): Likewise.
3122 (enlarge_archive): Likewise.
3123 (insert_name): Likewise.
3124 (add_alias): Likewise.
3125 (add_locale): Likewise.
3126 (delete_locales_from_archive): Likewise.
3127 (show_archive_content): Likewise.
3128 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
3129 locale data.
3130
39bf0bb4
RM
31312013-09-24 Roland McGrath <roland@hack.frob.com>
3132
3133 * manual/freemanuals.texi: Updated from (newly) canonical copy at
3134 http://www.gnu.org/doc/freemanuals.texi.
3135 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3136
f02eed10
WN
31372013-09-24 Will Newton <will.newton@linaro.org>
3138
3139 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3140 macro.
3141
a3a6c312
JM
31422013-09-23 Joseph Myers <joseph@codesourcery.com>
3143
3144 * locale/hashval.h (compute_hashval): Interpret bytes of key as
3145 unsigned char.
3146
107375ac
MR
31472013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
3148
3149 * manual/threads.texi (POSIX Threads): Fix a typo.
3150
141f3a77
SP
31512013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3152
303e567a
SP
3153 [BZ #14547]
3154 * string/tst-strcoll-overflow.c: New test case.
3155 * string/Makefile (xtests): Add tst-strcoll-overflow.
3156 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3157 cache if string sizes may cause integer overflow.
3158
141f3a77
SP
3159 [BZ #14547]
3160 * string/strcoll_l.c (coll_seq): New members rule, idx,
3161 save_idx and back_us.
3162 (get_next_seq_nocache): New function.
3163 (do_compare_nocache): New function.
3164 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3165 when malloc fails.
3166
c61b4d41
CD
31672013-09-23 Carlos O'Donell <carlos@redhat.com>
3168
0b1f8e35
CD
3169 [BZ #15754]
3170 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3171 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3172 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3173
c61b4d41
CD
3174 [BZ #15754]
3175 * elf/Makefile (tests): Add tst-ptrguard1.
3176 (tests-static): Add tst-ptrguard1-static.
3177 (tst-ptrguard1-ARGS): Define.
3178 (tst-ptrguard1-static-ARGS): Define.
3179 * elf/tst-ptrguard1.c: New file.
3180 * elf/tst-ptrguard1-static.c: New file.
3181 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3182 * sysdeps/i386/stackguard-macros.h: Likewise.
3183 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3184 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3185 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3186 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3187 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3188 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3189
31902013-09-23 Hector Marco <hecmargi@upv.es>
3191 Ismael Ripoll <iripoll@disca.upv.es>
3192 Carlos O'Donell <carlos@redhat.com>
3193
3194 [BZ #15754]
3195 * sysdeps/generic/stackguard-macros.h: Define
3196 __pointer_chk_guard_local and POINTER_CHK_GUARD.
3197 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3198 Define __pointer_chk_guard_local.
3199 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3200 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3201
f5f4e7b4
VV
32022013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3203
3204 [BZ #15859]
3205 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3206
5bb43a43
AS
32072013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3208
3209 * include/string.h (__ffs): Declare as hidden.
3210 * string/ffs.c (__ffs): Define as hidden.
3211 * sysdeps/i386/ffs.c (__ffs): Likewise.
3212 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3213 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3214 * sysdeps/s390/ffs.c (__ffs): Likewise.
3215 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3216
3ea5be54
AO
32172013-09-20 Alexandre Oliva <aoliva@redhat.com>
3218
ffb89e53
AO
3219 * NEWS: Mention malloc probes.
3220
322dea08
AO
3221 * malloc/arena.c (new_heap): New memory_heap_new probe.
3222 (grow_heap): New memory_heap_more probe.
3223 (shrink_heap): New memory_heap_less probe.
3224 (heap_trim): New memory_heap_free probe.
3225 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3226 (systrim): New memory_sbrk_less probe.
3227 * manual/probes.texi: Document them.
3228
655673f3
AO
3229 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3230 * manual/probes.texi: Document it.
3231
35fed6f1
AO
3232 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3233 (__libc_realloc): Add memory_realloc_retry probe.
3234 (__libc_memalign): Add memory_memalign_retry probe.
3235 (__libc_valloc): Add memory_valloc_retry probe.
3236 (__libc_pvalloc): Add memory_pvalloc_retry probe.
3237 (__libc_calloc): Add memory_calloc_retry probe.
3238 * manual/probes.texi: Document them.
3239
6999d38c
AO
3240 * malloc/arena.c (get_free_list): Add probe
3241 memory_arena_reuse_free_list.
3242 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3243 and memory_arena_reuse.
3244 (arena_get2) [!PER_THREAD]: Likewise.
3245 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3246 memory_arena_reuse_realloc.
3247 * manual/probes.texi: Document them.
3248
0653427f
AO
3249 * malloc/malloc.c (__libc_free): Add
3250 memory_mallopt_free_dyn_thresholds probe.
3251 (__libc_mallopt): Add multiple memory_mallopt probes.
3252 * manual/probes.texi: Document them.
3253
3ea5be54
AO
3254 * malloc/malloc.c: Include stap-probe.h.
3255 (__libc_mallopt): Add memory_mallopt probe.
3256 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3257 * manual/probes.texi: New.
3258 * manual/Makefile (chapters): Add probes.
3259 * manual/threads.texi: Set next node.
3260
e35696c3 32612013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 3262
e35696c3
CL
3263 [BZ #15963, #13985]
3264 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3265 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3266 Add `Chinese' to `nan' entry name.
3267
4aafb73c
SP
32682013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3269
3270 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3271 (POLYNOMIAL): Likewise.
3272 (TAYLOR_SINCOS): Likewise.
3273 (TAYLOR_SLOW): Likewise.
3274 (__sin): Use TAYLOR_SINCOS.
3275 (__cos): Likewise.
3276 (slow): Use TAYLOR_SLOW.
3277 (sloww): Likewise.
3278 (bsloww): Likewise.
3279 (csloww): Likewise.
3280
d84f25c7
LD
32812013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3282
3283 * stdlib/strtod_l.c: Fix buffer overrun.
3284
5eea0404
SP
32852013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3286
7849ff93
SP
3287 * benchtests/Makefile (bench): Add sincos.
3288 * benchtests/bench-sincos.c: New file.
3289
cfa3c886
SP
3290 * math/libm-test.inc (cos_test_data): New test inputs.
3291 (sin_test_data): Likewise.
3292
b348e1e3
SP
3293 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3294 macro.
3295 (__sin): Use it.
3296 (__cos): Likewise.
3297 (slow1): Likewise.
3298 (slow2): Likewise.
3299 (sloww1): Likewise.
3300 (sloww2): Likewise.
3301 (bsloww1): Likewise.
3302 (bsloww2): Likewise.
3303 (cslow2): Likewise.
3304 (csloww1): Likewise.
3305 (csloww2): Likewise.
3306
6cce25f8
SP
3307 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3308 function.
3309 (__sin): Use it.
3310 (__cos): Likewise.
3311
5eea0404
SP
3312 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3313 gotos.
3314 (__cos): Likewise.
3315
9c21573c
MR
33162013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
3317
3318 * config.h.in (HAVE_MIPS_NAN2008): New macro.
3319 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3320 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3321 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3322 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3323 * elf/cache.c (print_entry): Handle the new cache flags.
3324
24d22e65
JM
33252013-09-18 Joseph Myers <joseph@codesourcery.com>
3326 Aldy Hernandez <aldyh@redhat.com>
3327
3328 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3329 Change condition to [_SOFT_FLOAT].
3330 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3331 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3332 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3333 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3334 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3335 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3336 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3337 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3338 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3339 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3340 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3341 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3342 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3343 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3344 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3345 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3346 declaration.
3347
d13ef066
JM
33482013-09-18 Joseph Myers <joseph@codesourcery.com>
3349
2e071de0
JM
3350 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3351 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3352 (__longjmp): Use LOAD_GP to load saved GPRs.
3353 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3354 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3355 (__sigsetjmp): Use SAVE_GP to save GPRs.
3356
d13ef066
JM
3357 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3358 Do not append -msoft-float.
3359 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3360
97a0650b
SP
33612013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3362
3363 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3364
11ca09e9
JM
33652013-09-17 Joseph Myers <joseph@codesourcery.com>
3366
3367 [BZ #15966]
3368 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
3369 (_FPU_GETCW): Use initial "__" on variable and field names but not
3370 on macro parameter name.
3371 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
3372 parentheses around reference to macro parameter.
3373
08ffcf34
RS
33742013-09-13 Richard Sandiford <richard@codesourcery.com>
3375
3376 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3377 prototype.
3378 (ctype_startup): Use uint32_t in cast and sizeof for
3379 ctype->charnames.
3380
ae7080d3
JL
33812013-09-11 Jia Liu <proljc@gmail.com>
3382
3383 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3384 __daddr_t_defined.
3385 [__FreeBSD__]: Likewise.
3386
5905e7b3
OB
33872013-09-11 Ondřej Bílka <neleai@seznam.cz>
3388
3389 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3390 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
3391 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
3392 (strchr): Remove __strchr_sse42 ifunc selection.
3393 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
3394 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
3395
b987c776
WN
33962013-09-11 Will Newton <will.newton@linaro.org>
3397
3398 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3399 parameter to RES. Remove hardcoded 1000 value.
3400 * benchtests/bench-skeleton.c (main): Pass RES parameter
3401 to TIMING_INIT and multiply result by 1000.
3402
ddf985af
AZ
34032013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3404
3405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3406
ffdd3181
AS
34072013-09-11 Andreas Schwab <schwab@suse.de>
3408
3409 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3410 if not defined.
3411 (O_TMPFILE) [__USE_GNU]: Define.
3412 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3413 Define.
3414
b73ed247
WN
34152013-09-11 Will Newton <will.newton@linaro.org>
3416
3417 [BZ #15857]
3418 * malloc/malloc.c (__libc_memalign): Check the value of bytes
3419 does not overflow.
3420
55e17aad
WN
34212013-09-11 Will Newton <will.newton@linaro.org>
3422
3423 [BZ #15856]
3424 * malloc/malloc.c (__libc_valloc): Check the value of bytes
3425 does not overflow.
3426
1159a193
WN
34272013-09-11 Will Newton <will.newton@linaro.org>
3428
3429 [BZ #15855]
3430 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3431 does not overflow.
3432
5905e7b3 34332013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
3434
3435 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3436 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3437 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3438 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3439 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3440
cdfc721b
AM
34412013-09-10 Allan McRae <allan@archlinux.org>
3442
aa04af00
AM
3443 [BZ #15748]
3444 * manual/arith.texi (Parsing of Floats): Clarify
3445 cross-reference.
3446
cdfc721b
AM
3447 [BZ #15849]
3448 * manual/install.texi (Running make install): Mention
3449 --enable-pt-chown.
3450 * INSTALL: Regenerated.
3451
95e7cf29
MR
34522013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3453
3454 * csu/init-first.c (_init): Remove the !SHARED condition around
3455 FPU control word initialization.
3456 * elf/dl-support.c (_dl_fpu_control): New variable.
3457 (_dl_aux_init) <AT_FPUCW>: Initialize it.
3458 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3459 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3460 * math/test-fpucw-static.c: New file.
3461 * math/test-fpucw-ieee.c: New file.
3462 * math/test-fpucw-ieee-static.c: New file.
3463 * math/Makefile (tests): Add `test-fpucw-ieee' and
3464 `$(tests-static)'.
3465 (tests-static): New variable.
3466 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3467 dependency to...
3468 [($(build-shared),yes)]
3469 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3470 ... this.
3471 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3472 New dependency.
3473
83e43bf0
AM
34742013-09-09 Allan McRae <allan@archlinux.org>
3475
a9f5ce09
AM
3476 [BZ #15939]
3477 * manual/string.texi (Collation Functions): Fix typo in
3478 strcoll example.
3479 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3480
34829bc2
AM
3481 [BZ #15893]
3482 * stdlib/isomac.c (get_null_defines): Fix memory leak.
3483
3932737d
AM
3484 [BZ #15892]
3485 * libio/memstream.c (open_memstream): Fix memory leak.
3486 * libio/wmemstream.c (open_wmemstream): Likewise.
3487
83e43bf0
AM
3488 [BZ #15895]
3489 * nscd/netgroupcache.c: Fix nesting of ifdefs.
3490
0c66b8e9
WN
34912013-09-09 Will Newton <will.newton@linaro.org>
3492
3493 * malloc/Makefile: Add tst-realloc to tests.
3494 * malloc/tst-realloc.c: New file.
3495
f6b00fd1
AM
34962013-09-09 Allan McRae <allan@archlinux.org>
3497
3498 [BZ #15844]
3499 * COPYING: Update from GNU website to fix FSF address.
3500 * COPYING.LIB: Likewise.
3501
eec55e16
DM
35022013-09-06 David S. Miller <davem@davemloft.net>
3503
3504 * po/zh_TW.po: Update Chinese (traditional) translation from
3505 translation project.
3506
1ecbb381
RS
35072013-09-06 Richard Sandiford <richard@codesourcery.com>
3508 Joseph Myers <joseph@codesourcery.com>
3509
3510 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3511 "localeinfo.h".
3512 (obstack_chunk_alloc): New macro.
3513 (obstack_chunk_free): Likewise.
3514 (record_offset): New function.
3515 (init_locale_data): Likewise.
3516 (align_locale_data): Likewise.
3517 (add_locale_empty): Likewise.
3518 (add_locale_raw_data): Likewise.
3519 (add_locale_raw_obstack): Likewise.
3520 (add_locale_string): Likewise.
3521 (add_locale_wstring): Likewise.
3522 (add_locale_uint32): Likewise.
3523 (add_locale_uint32_array): Likewise.
3524 (add_locale_char): Likewise.
3525 (start_locale_structure): Likewise.
3526 (end_locale_structure): Likewise.
3527 (start_locale_prelude): Likewise.
3528 (end_locale_prelude): Likewise.
3529 (write_locale_data): Take locale_file structure rather than an
3530 iovec.
3531 * locale/programs/locfile.h: Include "obstack.h".
3532 (struct locale_file): Change to store locale file contents instead
3533 of header.
3534 (init_locale_data): New prototype.
3535 (align_locale_data): Likewise.
3536 (add_locale_empty): Likewise.
3537 (add_locale_raw_data): Likewise.
3538 (add_locale_raw_obstack): Likewise.
3539 (add_locale_string): Likewise.
3540 (add_locale_wstring): Likewise.
3541 (add_locale_uint32): Likewise.
3542 (add_locale_uint32_array): Likewise.
3543 (add_locale_char): Likewise.
3544 (start_locale_structure): Likewise.
3545 (end_locale_structure): Likewise.
3546 (start_locale_prelude): Likewise.
3547 (end_locale_prelude): Likewise.
3548 (write_locale_data): Update prototype.
3549 * locale/programs/3level.h (struct TABLE): Remove result field.
3550 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3551 Use new locale_file interface.
3552 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3553 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3554 * locale/programs/ld-address.c (address_output): Use new
3555 locale_file interface.
3556 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3557 NO_ADD_LOCALE.
3558 (collate_finish): Don't call collseq_table_finalize.
3559 (collate_output): Use new locale_file interface.
3560 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3561 in file.
3562 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3563 (TABLE): Move defines earlier in file.
3564 (ELEMENT): Likewise.
3565 (DEFAULT): Likewise.
3566 (wctrans_table_add): Move macro and inline function earlier in
3567 file.
3568 (struct wctype_table): Move type earlier in file.
3569 (add_locale_wctype_table): New static prototype.
3570 (struct locale_ctype_t): Use logical types instead of struct iovec
3571 pointers for members.
3572 (ctype_output): Use new locale_file interface.
3573 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3574 new locale_file interface.
3575 (allocate_arrays): Update for use of new locale_file interface.
3576 * locale/programs/ld-identification.c (identification_output): Use
3577 new locale_file interface.
3578 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3579 * locale/programs/ld-messages.c (messages_output): Likewise.
3580 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3581 * locale/programs/ld-name.c (name_output): Likewise.
3582 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3583 * locale/programs/ld-paper.c (paper_output): Likewise.
3584 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3585 * locale/programs/ld-time.c (time_output): Likewise.
3586
e029e2e5
AZ
35872013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3588
3589 * benchtests/Makefile: Add memrchr benchmark.
3590 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3591 benchmark as memrchr.
3592 * benchtests/bench-memrchr-ifunc.c: New file.
3593 * benchtests/bench-memrchr.c: New file.
3594
bbf6e8e4
WN
35952013-09-06 Will Newton <will.newton@linaro.org>
3596
3597 * benchtests/Makefile (string-bench): Add memcpy.
3598
6c82a2f8
CD
35992013-09-05 Carlos O'Donell <carlos@redhat.com>
3600 Cong Wang <amwang@redhat.com>
3601
3602 * sysdeps/unix/sysv/linux/bits/in.h
3603 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3604 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3605 before __USE_KERNEL_IPV6_DEFS uses.
3606 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3607 IPPROTO_BEETPH.
3608 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3609 sockaddr_in6, or ipv6_mreq.
3610
5430fc65
AZ
36112013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3612
3613 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3614 memory access for final bytes in some large inputs.
3615 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3616
4660856c
AZ
36172013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3618
3619 * string/test-memrchr.c: New file.
3620 * string/test-memrchr-ifunc.c: New file.
3621 * string/Makefile: Add new memrchr testcase.
3622
bb8ea713
MF
36232013-09-05 Mike Frysinger <vapier@gentoo.org>
3624
3625 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3626 fanotify_init returns EPERM.
3627
b92a20b5
JM
36282013-09-04 Joseph Myers <joseph@codesourcery.com>
3629
3630 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3631 errors.
3632 (top level): Treat second token from macro or constant entries for
3633 allowed headers as allowed.
3634 * include/complex.h: Condition internal declarations on
3635 [!_ISOMAC].
3636 * include/fenv.h: Condition include of <stdbool.h> and internal
3637 declarations on [!_ISOMAC].
7447ccd9
CL
3638
36392013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3640
3e181dda 3641 [BZ #15923]
7447ccd9
CL
3642 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3643
3f2e46a4
JM
36442013-09-04 Joseph Myers <joseph@codesourcery.com>
3645
3646 * configure.in (--enable-versioning): Remove configure option.
3647 (libc_cv_asm_symver_directive): Remove configure test.
3648 (libc_cv_ld_version_script_option): Likewise.
3649 (VERSIONING): Remove variable and AC_SUBST.
3650 (DO_VERSIONING): Remove AC_DEFINE.
3651 * configure: Regenerated.
3652 * config.h.in (DO_VERSIONING): Remove macro.
3653 * Makerules [$(versioning) = yes]: Change conditionals to
3654 [$(build-shared) = yes].
3655 * config.make.in (versioning): Remove variable.
3656 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3657 [$(build-shared) = yes].
3658 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3659 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3660 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3661 [$(build-shared) = yes].
3662 * extra-lib.mk [$(versioning) = yes]: Likewise.
3663 * hurd/Makefile [$(versioning) = yes]: Likewise.
3664 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3665 [SHARED].
3666 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3667 [SHARED].
3668 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3669 [SHARED && !NO_HIDDEN].
3670 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3671 [SHARED].
3672 [SHARED && DO_VERSIONING]: Likewise..
3673 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3674 [$(build-shared) = yes].
3675 * manual/install.texi (--disable-versioning): Remove
3676 documentation.
3677 * INSTALL: Regenerated.
3678 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3679 to [SHARED].
3680 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3681 [$(build-shared) = yes].
3682 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3683 * sysdeps/i386/i686/multiarch/strstr-c.c
3684 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3685 [SHARED && !NO_HIDDEN].
3686 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3687 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3688 * sysdeps/powerpc/powerpc32/dl-machine.c
3689 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3690 * sysdeps/powerpc/powerpc32/sysdep.h
3691 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3692 to [SHARED && PIC && !NO_HIDDEN].
3693 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3694 conditional to [SHARED].
3695
44558701
WN
36962013-09-04 Will Newton <will.newton@linaro.org>
3697
3698 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3699 * benchtests/bench-string.h: Include bench-timing.h instead
3700 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3701 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3702 call to HP_TIMING_DIFF_INIT.
3703 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3704 instead of hp-timing.h macros.
3705 * benchtests/bench-memchr.c: Likewise.
3706 * benchtests/bench-memcmp.c: Likewise.
3707 * benchtests/bench-memcpy.c: Likewise.
3708 * benchtests/bench-memmem.c: Likewise.
3709 * benchtests/bench-memmove.c: Likewise.
3710 * benchtests/bench-memset.c: Likewise.
3711 * benchtests/bench-rawmemchr.c: Likewise.
3712 * benchtests/bench-strcasecmp.c: Likewise.
3713 * benchtests/bench-strcasestr.c: Likewise.
3714 * benchtests/bench-strcat.c: Likewise.
3715 * benchtests/bench-strchr.c: Likewise.
3716 * benchtests/bench-strcmp.c: Likewise.
3717 * benchtests/bench-strcpy.c: Likewise.
3718 * benchtests/bench-strcpy_chk.c: Likewise.
3719 * benchtests/bench-strlen.c: Likewise.
3720 * benchtests/bench-strncasecmp.c: Likewise.
3721 * benchtests/bench-strncat.c: Likewise.
3722 * benchtests/bench-strncmp.c: Likewise.
3723 * benchtests/bench-strncpy.c: Likewise.
3724 * benchtests/bench-strnlen.c: Likewise.
3725 * benchtests/bench-strpbrk.c: Likewise.
3726 * benchtests/bench-strrchr.c: Likewise.
3727 * benchtests/bench-strspn.c: Likewise.
3728 * benchtests/bench-strstr.c: Likewise.
3729
cae16d66
WN
37302013-09-04 Will Newton <will.newton@linaro.org>
3731
3732 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3733
ffa3cd7f
JM
37342013-09-03 Joseph Myers <joseph@codesourcery.com>
3735
3736 [BZ #15427]
3737 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3738 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3739 * math/libm-test.inc (lgamma_test_data): Add more tests.
3740 * sysdeps/i386/fpu/libm-test-ulps: Update.
3741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3742
8f02859f
OB
37432013-09-03 Ondřej Bílka <neleai@seznam.cz>
3744
3745 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3746 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3747 Add ifunc.
3748 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3749 Add strcmp-sse2-unaligned
3750 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3751
18d43716
MF
37522013-09-02 Mike Frysinger <vapier@gentoo.org>
3753
3754 * Versions.def (libc): Add GLIBC_2.19.
3755
ac444012
MF
37562013-09-02 Mike Frysinger <vapier@gentoo.org>
3757
3758 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3759 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3760
b7835e32
JM
37612013-09-02 Joseph Myers <joseph@codesourcery.com>
3762
3763 [BZ #14155]
3764 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3765 intermediate calculations in recurrence.
3766 (__ieee754_ynf): Likewise.
3767 * math/libm-test.inc (jn_test_data): Do not allow spurious
3768 underflow exception. Add more tests.
3769 (yn_test_data): Add more tests.
3770 * sysdeps/i386/fpu/libm-test-ulps: Update.
3771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3772
8220f4f0
OB
37732013-09-02 Ondřej Bílka <neleai@seznam.cz>
3774
3775 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3776
f24a6d08
OB
37772013-08-30 Ondřej Bílka <neleai@seznam.cz>
3778
3779 * csu/init-first.c: Fix then/than typos.
3780 * locale/programs/ld-collate.c: Likewise.
3781 * locale/programs/linereader.h: Likewise.
3782 * manual/charset.texi: Likewise.
3783 * manual/filesys.texi: Likewise.
3784 * manual/stdio.texi: Likewise.
3785 * manual/string.texi: Likewise.
3786 * stdlib/fmtmsg.c: Likewise.
3787 * sysdeps/i386/stpncpy.S: Likewise.
3788 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3789 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3790 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3791 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3792
382466e0
OB
37932013-08-30 Ondřej Bílka <neleai@seznam.cz>
3794
3795 * elf/dl-open.c: Fix typos.
3796 * iconvdata/gbbig5.c: Likewise.
3797 * iconvdata/iso-2022-jp.c: Likewise.
3798 * iconv/gconv_int.h: Likewise.
3799 * iconv/loop.c: Likewise.
3800 * nis/rpcsvc/nis.h: Likewise.
3801 * resolv/ns_name.c: Likewise.
3802 * stdio-common/vfscanf.c: Likewise.
3803 * streams/stropts.h: Likewise.
3804 * sunrpc/rpc_thread.c: Likewise.
3805 * sysdeps/i386/strpbrk.S: Likewise.
3806 * sysdeps/ieee754/k_standard.c: Likewise.
3807 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3808 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3809 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3810 * sysdeps/mach/hurd/profil.c: Likewise.
3811 * sysdeps/s390/dl-procinfo.h: Likewise.
3812 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3813 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3814 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3815 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3816 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3817
0186c6e9
OB
38182013-08-30 Ondřej Bílka <neleai@seznam.cz>
3819
3820 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3821 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3822
d4e16af1
OB
38232013-08-29 Ondřej Bílka <neleai@seznam.cz>
3824
3825 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3826 aix specific files.
3827 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3828 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3829 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3830 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3831 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3832 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3833 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3834 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3835
88335980
TS
38362013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3837 Roland McGrath <roland@hack.frob.com>
3838
3839 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3840 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3841
ed479b02
ST
38422013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3843
3844 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3845 __executable_start symbol instead of _start.
3846
f1cc4c86
TS
38472013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3848
d821f07c
TS
3849 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3850 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3851 Move macros to...
3852 * sysdeps/gnu/ldsodefs.h: ... this new file.
3853
c54290cf
TS
3854 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3855 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3856 instead of ELFOSABI_LINUX.
3857
0007fc9b 3858 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
3859 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3860 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3861 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3862 Likewise.
3863 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3864 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3865 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3866 Likewise.
3867 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3868 (ibm_extended_long_double): Add ieee_nan member.
3869 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3870 (do_test): New function.
3871
f1cc4c86
TS
3872 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3873 TEST_TRUNC.
3874 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3875 functions, renamed from truncdfsf_test, trunctfsf_test,
3876 trunctfdf_test.
3877 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3878 functions.
3879 (do_test): Run all these.
3880
6f65e668
OB
38812013-08-29 Ondřej Bílka <neleai@seznam.cz>
3882
3883 * argp/argp-help.c: Fix typos.
3884 * argp/argp-parse.c: Likewise.
3885 * debug/backtracesyms.c: Likewise.
3886 * elf/elf.h: Likewise.
3887 * malloc/malloc.c: Likewise.
3888 * nis/nis_print.c: Likewise.
3889 * resolv/res_comp.c: Likewise.
3890 * stdlib/stdlib.h: Likewise.
3891 * sunrpc/clnt_tcp.c: Likewise.
3892 * sunrpc/clnt_udp.c: Likewise.
3893 * sunrpc/clnt_unix.c: Likewise.
3894 * sysdeps/unix/bsd/ptsname.c: Likewise.
3895 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3896 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
3897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3898 Likewise.
3899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3900 Likewise.
3901 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3902 Likewise.
6f65e668
OB
3903 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3904
3a309239
SP
39052013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3906
3907 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3908 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3909
3b813b29
MF
39102013-08-27 Mike Frysinger <vapier@gentoo.org>
3911
3912 [BZ #15897]
3913 * dlfcn/Makefile (tests): Add bug-dl-leaf.
3914 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3915 ($(objpfx)bug-dl-leaf): New rule.
3916 ($(objpfx)bug-dl-leaf.so): Likewise.
3917 ($(objpfx)bug-dl-leaf.out): Likewise.
3918 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3919 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3920 * dlfcn/bug-dl-leaf.c: New test.
3921 * dlfcn/bug-dl-leaf-lib.c: Likewise.
3922 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3923 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3924 (dlclose): Likewise.
3925 (dlmopen): Likewise.
3926
8cc3269f
RM
39272013-08-27 Roland McGrath <roland@hack.frob.com>
3928
7f9d0034
RM
3929 * include/netdb.h [!_ISOMAC]:
3930 Don't include <tls.h>.
3931 (h_errno, __libc_h_errno): Move declaration and macros out of
3932 [_LIBC_REENTRANT].
3933
fb431262
RM
3934 * include/resolv.h [_RESOLV_H_]:
3935 Don't include <tls.h>.
3936 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3937 * resolv/res_libc.c: Don't include <tls.h>.
3938 (_res): Use __attribute__ ((nocommon)) in place of
3939 __attribute__ ((section (".bss"))).
3940
bd81123a
RM
3941 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3942 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3943
c4e42566
RM
3944 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3945
f890a59b
RM
3946 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3947 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3948
3949 * resolv/res_mkquery.c: Include <sys/time.h>.
3950
5d1f0a09
RM
3951 * inet/ifreq.c: Moved to ...
3952 * sysdeps/unix/ifreq.c: ... here.
3953 * inet/ifreq.c: New file, true stub version.
3954
6fcf28b3
RM
3955 * socket/sa_len.c: New file.
3956 * socket/Makefile (aux): Add it.
3957 * sysdeps/unix/sysv/linux/Makefile
3958 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3959 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3960 and #include <socket/sa_len.c>.
3961 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3962 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3963
e041fb8b
RM
3964 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3965 * bits/socket.h: ... here.
3966
8cc3269f
RM
3967 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3968 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3969 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3970
5d228a43
AS
39712013-08-27 Andreas Schwab <schwab@suse.de>
3972
45b8accc
AS
3973 [BZ #15736]
3974 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
3975 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
3976 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
3977 * string/test-strcasecmp.c (test_main): Run tests in several
3978 locales.
3979 * string/test-strncasecmp.c (test_main): Likewise.
3980
5d228a43
AS
3981 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
3982 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
3983 to __strcasecmp_nonascii and __strncasecmp_nonascii.
3984 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
3985 (__strncasecmp_ssse3) [PIC]: Likewise.
3986
59d112a4
RM
39872013-08-26 Roland McGrath <roland@hack.frob.com>
3988
53234cc3
RM
3989 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
3990
59d112a4
RM
3991 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
3992 instead of explicitly declaring xdecrypt.
3993 * nis/nss_nis/nis-publickey.c: Likewise.
3994
595aba70
SP
39952013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
3996
3997 [BZ #15890]
3998 * nscd/aicache.c: Include res_hconf.h.
3999 (addhstaiX): Initialize res_hconf.
4000
ffabd393
AS
40012013-08-26 Andreas Schwab <schwab@suse.de>
4002
4003 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4004 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4005
e0a69f5c
SP
40062013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4007
4008 * nscd/aicache.c (addhstaiX): Fix indentation.
4009
8c12f01d
MF
40102013-08-25 Mike Frysinger <vapier@gentoo.org>
4011
4012 * configure.ac: Quote $build_pt_chown test.
4013 * configure: Regenerated.
4014
8fe89494
JM
40152013-08-23 Joseph Myers <joseph@codesourcery.com>
4016
4017 [BZ #15532]
4018 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4019 * math/s_cexpf.c (__cexpf): Likewise.
4020 * math/s_cexpl.c (__cexpl): Likewise.
4021 * math/libm-test.inc (cexp_test_data): Correct expected return
4022 value for NaN + i0. Add another test.
4023
75b181d6
DM
40242013-08-22 David S. Miller <davem@davemloft.net>
4025
4026 * po/ca.po: Update Catalan translation from translation project.
936241e4 4027 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 4028
acd06bb1
JM
40292013-08-21 Joseph Myers <joseph@codesourcery.com>
4030
4031 [BZ #15797]
4032 * math/s_fdim.c (__fdim): Check for infinite arguments if result
4033 is infinite, not alongside NaN test.
4034 * math/s_fdimf.c (__fdimf): Likewise.
4035 * math/s_fdiml.c (__fdiml): Likewise.
4036 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
4037 errno is unchanged.
4038
c0c3f78a
OB
40392013-08-21 Ondřej Bílka <neleai@seznam.cz>
4040
4041 * argp/argp-help.c: Fix typos.
4042 * crypt/speeds.c: Likewise.
4043 * csu/check_fds.c: Likewise.
4044 * elf/dl-load.c: Likewise.
4045 * elf/dl-open.c: Likewise.
4046 * elf/reldep3.c: Likewise.
4047 * elf/reldep.c: Likewise.
4048 * elf/sprof.c: Likewise.
4049 * iconv/iconv_charmap.c: Likewise.
4050 * iconv/skeleton.c: Likewise.
4051 * iconv/strtab.c: Likewise.
4052 * io/lockf64.c: Likewise.
4053 * libio/libioP.h: Likewise.
4054 * resolv/gai_notify.c: Likewise.
4055 * resolv/ns_name.c: Likewise.
4056 * resolv/ns_samedomain.c: Likewise.
4057 * resolv/res_send.c: Likewise.
4058 * stdlib/random.c: Likewise.
4059 * sunrpc/rpc/xdr.h: Likewise.
4060 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4061 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4062 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4063 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4064 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4065 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4066 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4067 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4068 * sysdeps/mach/hurd/check_fds.c: Likewise.
4069 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4070 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4071 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4072 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4073 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4074 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4075 * sysdeps/pthread/aio_notify.c: Likewise.
4076 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4077 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4078 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4079 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4080 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4081
46ed1038
LD
40822013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4083
4084 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4085 version if bit_Slow_SSE4_2 is set.
4086 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4087 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4088
d400dcac
AZ
40892013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4090
4091 [BZ #15867]
4092 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4093 trampoline stack frame information.
4094 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4095 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4096 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4097 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4098 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4099 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4100 (_libc_vdso_platform_setup): Initialize the signal trampolines.
4101 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4102 sa_flags value.
4103 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4104 interrupting a syscall and set with option SA_SIGINFO.
4105
42c8fdd8
JM
41062013-08-20 Joseph Myers <joseph@codesourcery.com>
4107
c980f2f4
JM
4108 [BZ #15531]
4109 * math/s_cproj.c (__cproj): Only return an infinity if one part of
4110 argument is infinite.
4111 * math/s_cprojf.c (__cprojf): Likewise.
4112 * math/s_cprojl.c (__cprojl): Likewise.
4113 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4114 * math/libm-test.inc (cproj_test_data): Add more tests.
4115
0716c4fc
JM
4116 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4117
42c8fdd8
JM
4118 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4119 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4120 size. Use __ffs to determine corresponding shift.
4121
b31469d0
JM
41222013-08-20 Joseph Myers <joseph@codesourcery.com>
4123 Roland McGrath <roland@hack.frob.com>
4124
4125 * Makefile (INSTALL): Remove trailing blank lines from output of
4126 makeinfo.
4127
4e39af6e
AK
41282013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4129
4130 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4131 Align 32 bit compat elf_greg to 8 bytes.
4132
f315524e
AA
41332013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4134
4135 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4136
1326ba1a
SP
41372013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4138
4139 * string/strcoll_l.c (coll_seq): New structure.
4140 (get_next_seq_cached): New function.
4141 (get_next_seq): New function.
4142 (do_compare): New function.
4143 (STRCOLL): Use GNU style definition. Simplify implementation
4144 by using get_next_seq, get_next_seq_cached and do_compare.
4145
91ce4085
FW
41462013-08-16 Florian Weimer <fweimer@redhat.com>
4147
4148 [BZ #14699]
4149 CVE-2013-4237
4150 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4151 member.
4152 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4153 member.
4154 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4155 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4156 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
4157 conditional.
4158 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4159 GETDENTS_64BIT_ALIGNED.
4160 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4161 * manual/filesys.texi (Reading/Closing Directory): Document
4162 ENAMETOOLONG return value of readdir_r. Recommend readdir more
4163 strongly.
4164 * manual/conf.texi (Limits for Files): Add portability note to
4165 NAME_MAX, PATH_MAX.
4166 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4167
ca0a6bc4
AS
41682013-08-13 Andreas Schwab <schwab@suse.de>
4169
4170 [BZ #15749]
4171 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4172 of fabs.
4173 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4174 LDBL_MAX_EXP >= 16384]: Add tests for it.
4175
6c1fd795
DM
41762013-08-12 David S. Miller <davem@davemloft.net>
4177
4178 * version.h (RELEASE): Set to "development".
4179 (VERSION): Set to "2.18.90".
4180 * NEWS: Add 2.19 section.
4181
31ad488d
DM
41822013-08-03 David S. Miller <davem@davemloft.net>
4183
4184 * po/ko.po: Update Korean translation from translation project.
4185
db24e684
DM
41862013-08-01 David S. Miller <davem@davemloft.net>
4187
4188 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
4189 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4190 Bilka.
4191
f723285b
DM
41922013-07-30 David S. Miller <davem@davemloft.net>
4193
4194 * po/fr.po: Update French translation from translation project.
4195
3cbc52db
DM
41962013-07-28 David S. Miller <davem@davemloft.net>
4197
30bbc0cc
DM
4198 * po/cs.po: Update Czech translation from translation project.
4199
3cbc52db
DM
4200 * po/sv.po: Update Swedish translation from translation project.
4201
d492e6d0
DM
42022013-07-27 David S. Miller <davem@davemloft.net>
4203
f1a7f492
DM
4204 * po/eo.po: Update Esperanto translation from translation project.
4205
90e62a4a
DM
4206 * po/vi.po: Update Vietnamese translation from translation project.
4207
d492e6d0
DM
4208 * po/de.po: Update German translation from translation project.
4209
d4baa62d
DM
42102013-07-26 David S. Miller <davem@davemloft.net>
4211
641aa7b4
DM
4212 * po/bg.po: Update Bulgarian translation from translation project.
4213
d4baa62d
DM
4214 * po/nl.po: Update Dutch translation from translation project.
4215 * po/pl.po: Update Polish translation from translation project.
4216 * po/ru.po: Update Russian translation from translation project.
4217
61a9dcb9
DM
42182013-07-24 David S. Miller <davem@davemloft.net>
4219
4220 * po/libc.pot: Update.
4221
7b1f8b58
AZ
42222013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4223
4224 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4225 variable page size.
4226 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4227 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4228 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4229
a8fc7a03
AK
42302013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4231
4232 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4233
e4608715
CD
42342013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4235 Andreas Schwab <schwab@suse.de>
4236 Roland McGrath <roland@hack.frob.com>
4237 Joseph Myers <joseph@codesourcery.com>
4238 Carlos O'Donell <carlos@redhat.com>
4239
4240 [BZ #15755]
4241 * config.h.in: Define HAVE_PT_CHOWN.
4242 * config.make.in (build-pt-chown): New variable.
4243 * configure.in (--enable-pt_chown): New configure option.
4244 * configure: Regenerate.
4245 * login/Makefile: Include Makeconfig. Build pt_chown only if
4246 build-pt-chown is enabled.
4247 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4248 pt_chown to fix pty ownership.
4249 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4250 CLOSE_ALL_FDS.
4251 * manual/install.texi (Configuring and compiling): Mention
4252 --enable-pt_chown. Add @findex for grantpt.
4253 * INSTALL: Regenerate.
4254
da2d62df
DM
42552013-07-20 David S. Miller <davem@davemloft.net>
4256
4257 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4258 difference between 32-bit and 64-bit.
4259
d7e06450
CD
42602013-07-15 Carlos O'Donell <carlos@redhat.com>
4261
4262 [BZ #15711]
4263 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4264 Avoid system header dependency with -ffreestanding.
4265 ($(objpfx)bits/syscall%d): Likewise.
4266
f959cfd7
DM
42672013-07-13 David S. Miller <davem@davemloft.net>
4268
4269 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4270 underflows from atanl/atan2l due to bug 15319.
4271 (casinh_test_data): Likewise.
4272
c61f8513
DM
42732013-07-07 David S. Miller <davem@davemloft.net>
4274
4275 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4276
72c90ed0
JA
42772013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
4278
4279 * sysdeps/i386/fpu/libm-test-ulps: Update.
4280 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4281
52dfbe13
SP
42822013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4283
4284 * configure.in (--enable-lock-elision): Fix message text.
4285 * INSTALL: Regenerate.
4286 * configure: Regenerate.
4287
3f169543
AZ
42882013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4289
4290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4291
521c6785
AJ
42922013-07-03 Andreas Jaeger <aj@suse.de>
4293
4294 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4295 define.
4296 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4297 (ptrace_peeksiginfo_args): Add.
4298 (__ptrace_peeksiginfo_flags): Add.
4299 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4300 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4301 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4302
d2cc15cb
AM
43032013-07-03 Allan McRae <allan@archlinux.org>
4304
4305 * sysdeps/i386/fpu/libm-test-ulps: Update.
4306
3aaeeca7
DM
43072013-07-02 David S. Miller <davem@davemloft.net>
4308
4309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4310
5314ed1a
MT
43112013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
4312
4313 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4314
67338156
JM
43152013-07-02 Joseph Myers <joseph@codesourcery.com>
4316
4317 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4318 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4319
1717da59
AK
43202013-07-02 Andi Kleen <ak@linux.intel.com>
4321
4322 * config.h.in (ENABLE_LOCK_ELISION): Add.
4323 * configure.in (--enable-lock-elision): Add option.
4324 * manual/install.texi: Document --enable lock elision.
4325 * configure: Regenerate
4326 * INSTALL: Regenerate.
4327
1c81621c
L
43282013-07-02 H.J. Lu <hongjiu.lu@intel.com>
4329
4330 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4331 SSE4.2 strcasecmp for libc.a.
4332 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4333
77f01ab5
JM
43342013-07-02 Joseph Myers <joseph@codesourcery.com>
4335
4336 [BZ #13304]
4337 * soft-fp/op-common.h (_FP_FMA): New macro.
4338 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4339 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
4340 (_FP_MUL_MEAT_1_imm): ... here.
4341 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
4342 (_FP_MUL_MEAT_1_wide): ... here.
4343 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
4344 (_FP_MUL_MEAT_1_hard): ... here.
4345 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4346 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
4347 (_FP_MUL_MEAT_2_wide): ... here.
4348 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
4349 (_FP_MUL_MEAT_2_wide_3mul): ... here.
4350 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
4351 (_FP_MUL_MEAT_2_gmp): ... here.
4352 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4353 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
4354 (_FP_MUL_MEAT_4_wide): ... here.
4355 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
4356 (_FP_MUL_MEAT_4_gmp): ... here.
4357 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4358 (_FP_WFRACBITS_DW_S): Likewise.
4359 (_FP_WFRACXBITS_DW_S): Likewise.
4360 (_FP_HIGHBIT_DW_S): Likewise.
4361 (FP_FMA_S): Likewise.
4362 (_FP_FRAC_HIGH_DW_S): Likewise.
4363 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4364 (_FP_WFRACBITS_DW_D): Likewise.
4365 (_FP_WFRACXBITS_DW_D): Likewise.
4366 (_FP_HIGHBIT_DW_D): Likewise.
4367 (FP_FMA_D): Likewise.
4368 (_FP_FRAC_HIGH_DW_D): Likewise.
4369 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
4370 (_FP_WFRACBITS_DW_E): Likewise.
4371 (_FP_WFRACXBITS_DW_E): Likewise.
4372 (_FP_HIGHBIT_DW_E): Likewise.
4373 (FP_FMA_E): Likewise.
4374 (_FP_FRAC_HIGH_DW_E): Likewise.
4375 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
4376 (_FP_WFRACBITS_DW_Q): Likewise.
4377 (_FP_WFRACXBITS_DW_Q): Likewise.
4378 (_FP_HIGHBIT_DW_Q): Likewise.
4379 (FP_FMA_Q): Likewise.
4380 (_FP_FRAC_HIGH_DW_Q): Likewise.
4381 * soft-fp/fmasf4.c: New file.
4382 * soft-fp/fmadf4.c: Likewise.
4383 * soft-fp/fmatf4.c: Likewise.
4384
6308fd9a
LD
43852013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4386
4387 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4388 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
4389 Silvermont.
4390 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
4391 macro.
4392 (index_Slow_SSE4_2): Likewise.
4393 (index_Prefer_PMINUB_for_stringop): Likewise.
4394 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
4395 bit_Slow_SSE4_2 is set.
4396 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4397 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4398
89cd9569
RA
43992013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4400
4401 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4402 rtld_global._dl_hwcap2.
4403 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4404 POWER8.
4405 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4406 POWER8 feature descriptions defined in _dl_hwcap2.
4407 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4408 string handling for POWER8 feature bits.
4409 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4410 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4411 _dl_powerpc_cap_flags.
4412 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4413 * sysdeps/powerpc/rtld-global-offsets.sym
4414 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4415 _dl_hwcap2 in the rtld_global_ro structure.
4416
1ae8bfe0
RA
44172013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4418
4419 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4420 hardware capabilities in support of AT_HWCAP2.
4421 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4422 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4423 GLRO(dl_hwcap2).
4424 (_dl_show_auxv): Add support for calling _dl_procinfo to display
4425 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
4426 explicitly the unknown a_type display mechanism is used.
4427 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4428 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4429 struct member.
4430 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4431 to macro prototype for AT_HWCAP2 support.
4432 * sysdeps/i386/dl-procinfo.h: Likewise.
4433 * sysdeps/s390/dl-procinfo.h: Likewise.
4434 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4435 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
4436 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
4437 return -1 for unknown a_type display fallback.
4438 * sysdeps/sparc/dl-procinfo.h: Likewise.
4439 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4440 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4441
8fbec010
JM
44422013-06-28 Joseph Myers <joseph@codesourcery.com>
4443
4444 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4445 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4446
0432680e
PY
44472013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
4448
4449 [BZ #12492]
4450 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4451 mprotect making __stack_prot writable.
4452
ce61a2ad
NF
44532013-06-28 Nathan Froyd <froydnj@codesourcery.com>
4454 Joseph Myers <joseph@codesourcery.com>
4455
4456 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4457 as being properly aligned.
4458
f91f1c0f
MR
44592013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
4460
3d0f5d0c
MR
4461 * dlfcn/modstatic5.c: New file.
4462 * dlfcn/tststatic5.c: New file.
4463 * dlfcn/Makefile (tests): Add tststatic5.
4464 (tests-static): Likewise.
4465 (modules-names): Add modstatic5.
4466 (tststatic5-ENV): New variable.
4467 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4468
f91f1c0f
MR
4469 [BZ #15022]
4470 * elf/dl-support.c (_dl_main_map): New variable.
4471 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4472 (_dl_nns, _dl_load_adds): Set to 1.
4473 (_dl_initial_searchlist): Refer to _dl_main_map.
4474 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4475 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4476 call to _dl_get_origin.
4477 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4478 around call_map.
4479 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4480 * dlfcn/modstatic3.c: New file.
4481 * dlfcn/tststatic3.c: New file.
4482 * dlfcn/tststatic4.c: New file.
4483 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4484 (tests-static): Likewise.
4485 (modules-names): Add modstatic3.
4486 (tststatic3-ENV, tststatic4-ENV): New variables.
4487 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4488 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4489
cbe7d24b
JM
44902013-06-26 Joseph Myers <joseph@codesourcery.com>
4491
4492 * configure.in (CC): Require GCC version 4.4 or later.
4493 * configure: Regenerated.
4494 * manual/install.texi (Tools for Compilation): Update GCC version
4495 requirement.
4496 * INSTALL: Regenerated.
4497
11b8a0e1
LD
44982013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4499
4500 [BZ #15674]
bb5bb87c
L
4501 * string/test-memcmp.c (check2): New.
4502 (main): Call check2.
4503
11b8a0e1
LD
4504 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4505
b0037103
MR
45062013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
4507
4508 [BZ #15022]
4509 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4510 over to...
4511 (dl_open_worker) [!SHARED]: ... here.
4512
c18c701d
RA
45132013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4514
4515 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4516
1d17fa5f
RH
45172013-06-25 Richard Henderson <rth@redhat.com>
4518
4519 * locale/programs/locarchive.c: Include <libc-internal.h>
4520
8fcb833a
JM
45212013-06-25 Joseph Myers <joseph@codesourcery.com>
4522
4523 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4524 trailing whitespace removed.
4525
17db6e8d
MF
45262013-06-24 Mike Frysinger <vapier@gentoo.org>
4527
4528 [BZ #10283]
17db6e8d
MF
4529 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4530 * locale/programs/locarchive.c: Include libc-mmap.h.
4531 (prepare_address_space): Take two new outputs (the mmap base and len).
4532 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4533 values.
4534 (create_archive): Declare new mmap base and len values for
4535 prepare_address_space, and store the result in ah.
4536 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4537 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4538 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4539 Declare new mmap base and len values for
4540 prepare_address_space, and store the result in new_ah.
4541 (open_archive): Declare new mmap base and len values for
4542 prepare_address_space, and store the result in ah.
4543 (close_archive): If ah->mmap_base is not NULL, use that and
4544 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4545 * sysdeps/generic/libc-mmap.h: New file.
4546
d605071e
MF
45472013-06-24 Mike Frysinger <vapier@gentoo.org>
4548
4549 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4550 (ALIGN_UP): Likewise.
4551 (PTR_ALIGN_DOWN): Likewise.
4552 (PTR_ALIGN_UP): Likewise.
4553
2f063a6e
RA
45542013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4555
4556 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4557 entry mapped to PPC_PLATFORM_POWER8.
4558 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4559 POWER8.
4560 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4561 (_dl_string_platform): Add case for exporting platform position for
4562 POWER8.
4563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4564 search path to sysdeps/powerpc/powerpc32/power8 directory.
4565 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4566 search path to sysdeps/powerpc/powerpc64/power8 directory.
4567 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4568 power7 directories.
4569 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4570 power7 directories.
4571
a31ee4b3
SP
45722013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4573
a74ca98f
SP
4574 * INSTALL: Regenerate.
4575
a31ee4b3
SP
4576 * nscd/connections.c (nscd_init): Fix comment.
4577
695c378f
JM
45782013-06-22 Joseph Myers <joseph@codesourcery.com>
4579
d8412221
JM
4580 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4581
695c378f
JM
4582 [BZ #15667]
4583 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4584 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4585
d1d54715
MR
45862013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4587
4588 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4589 DL_DST_REQ_STATIC.
4590 (DL_DST_REQ_STATIC): Remove macro.
4591
8fdda7af
JM
45922013-06-21 Joseph Myers <joseph@codesourcery.com>
4593
4594 [BZ #7006]
4595 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4596 with a shift of 0 bits.
4597
f3bc5e5a
MR
45982013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4599
4600 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4601 $(tststatic-ENV).
4602
be09e8c9
KK
46032013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4604
4605 [BZ #15655]
4606 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4607
85c2e611
AZ
46082013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4609
4610 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4611 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4612 accepts -fno-tree-loop-distribute-patterns.
4613 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4614 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4615 recursive call.
4616 * string/memset.c (memset): Likewise.
4617 * string/test-memmove.c (simple_memmove): Disable loop transformation
4618 to library calls.
4619 * string/test-memset.c (simple_memset): Likewise.
4620 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4621 * benchtests/bench-memset.c (simple_memset): Likewise.
4622 * configure: Regenerated.
4623
c91e0825
JM
46242013-06-20 Joseph Myers <joseph@codesourcery.com>
4625
b8c792af
JM
4626 * math/test-misc.c (main): Ignore fesetround failure when failures
4627 of subsequent rounding tests would be ignored.
4628
c91e0825
JM
4629 [BZ #15654]
4630 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4631 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4632 * math/fegetenv.c (__fegetenv): Return 0.
4633 * math/fegetexcept.c (fegetexcept): Return 0.
4634 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4635 FE_TONEAREST.
4636 * math/feholdexcpt.c (feholdexcept): Return 0.
4637 * math/fesetenv.c (__fesetenv): Return 0.
4638 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4639 argument FE_TONEAREST.
4640 * math/feupdateenv.c (__feupdateenv): Return 0.
4641 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4642
bfcacbde
RM
46432013-06-18 Roland McGrath <roland@hack.frob.com>
4644
4645 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4646 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4647 ($(objpfx)rtld-%.os rules): Use them.
4648
e55a9b25
AZ
46492013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4650
4651 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4652 fields.
4653
346d65b3
RM
46542013-06-17 Roland McGrath <roland@hack.frob.com>
4655
12086fb4
RM
4656 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4657 length of target pattern, then descending length of dependency pattern.
4658 * configure.in (AWK): Require gawk 3.1.2 or newer.
4659 * manual/install.texi (Tools for Compilation): Say that we do.
4660 * configure: Regenerated.
4661
346d65b3
RM
4662 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4663 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4664 * scripts/sysd-rules.awk: ... this new script.
4665 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4666 than a glob-style pattern.
4667
1a846317
JM
46682013-06-17 Joseph Myers <joseph@codesourcery.com>
4669
4670 * math/test-misc.c (main): Do not treat incorrectly rounded
4671 conversions as failure unless ROUNDING_TESTS passes.
4672
8fc75e6f
JM
46732013-06-15 Joseph Myers <joseph@codesourcery.com>
4674
3711a167
JM
4675 [BZ #15631]
4676 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4677 restore exception state around main square root computation, then
4678 check for inexactness explicitly.
4679
8fc75e6f
JM
4680 * math/libm-test.inc (fma_test_data): Add another test.
4681
61dd6208
SP
46822013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4683
adf23d2c
SP
4684 * manual/threads.texi (Non-POSIX Extensions): New document
4685 node. Document pthread_getattr_default_np and
4686 pthread_setattr_default_np.
4687
61dd6208
SP
4688 * Versions.def (libpthread): Add GLIBC_2.18.
4689 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4691 Likewise.
4692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4693 Likewise.
4694 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4695 Likewise.
4696 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4697 Likewise.
4698 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4699 Likewise.
4700 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4701 Likewise.
4702 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4703 Likewise.
4704 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4705 Likewise.
4706 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4707 Likewise.
4708
d086fc7b
LD
47092013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4710
4711 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4712 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4713
747ef469
SP
47142013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4715 H.J. Lu <hjl.tools@gmail.com>
4716
4717 [BZ #15627]
4718 * sysdeps/x86_64/rtld-memset.c: Remove file.
4719 * sysdeps/x86_64/rtld-memset.S: New file.
4720
1b2feed2
JM
47212013-06-14 Joseph Myers <joseph@codesourcery.com>
4722
4723 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4724 (test_in_one_mode): Take arguments for whether the rounding mode
4725 is supported for each floating-point type.
4726 (do_test): Pass new arguments to test_in_one_mode using
4727 ROUNDING_TESTS.
4728
a58ad3f8
RM
47292013-06-13 Roland McGrath <roland@hack.frob.com>
4730
4731 * posix/tst-waitid.c (do_test): Distinguish different instances of
4732 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4733 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4734 before entering the kernel for waitpid.
4735
c204ab28
SP
47362013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4737
4738 * NEWS: Fix note on clock function precision. Text by Roland
4739 McGrath.
4740
f4a29fba
RM
47412013-06-13 Roland McGrath <roland@hack.frob.com>
4742
4743 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4744 it into place only when and if the sanity check passes.
4745
1f24b9ad
JM
47462013-06-13 Joseph Myers <joseph@codesourcery.com>
4747
4748 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4749 output for whether conversion result is exact. Take argument
4750 indicating whether type is IBM long double.
4751 (round_for_all): Change need_exact field to ibm_ld.
4752 * stdlib/tst-strtod-round.c (struct exactness): New type.
4753 (struct test): Change bool ld_ok field to struct exactness exact.
4754 (TEST): Update all definitions for change to field.
4755 (tests): Regenerate array contents.
4756 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4757 field value. Check for IBM long double here.
4758 (do_test): Update calls to test_in_one_mode.
4759
58206c68
SP
47602013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4761
4762 [BZ #12515]
4763 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4764 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4765
2d6f4c5b 47662013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
4767
4768 [BZ #15605]
4769 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4770 generated by the compiler on loop optimizations.
4771 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4772 general definitions.
4773
94f2c076
JM
47742013-06-12 Joseph Myers <joseph@codesourcery.com>
4775
4776 * math/bug-nextafter.c: Include <math-tests.h>.
4777 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4778 the relevant type.
4779 * math/bug-nexttoward.c: Include <math-tests.h>.
4780 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4781 the relevant type.
4782 * math/test-misc.c: Include <math-tests.h>.
4783 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4784 the relevant type.
4785
e0e50a0a
AJ
47862013-06-12 Andreas Jaeger <aj@suse.de>
4787
4788 * po/ia.po: Update Interlingua translation from translation
4789 project.
4790
25061094
SP
47912013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4792
4793 * include/fenv.h: Include stdbool.h.
4794 (struct rm_ctx): New structure.
4795 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4796 Define macro.
4797 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4798 (SET_RESTORE_ROUNDF): Likewise.
4799 (SET_RESTORE_ROUNDL): Likewise.
4800 (SET_RESTORE_ROUND_NOEX): Likewise.
4801 (SET_RESTORE_ROUND_NOEXF): Likewise.
4802 (SET_RESTORE_ROUND_NOEXL): Likewise.
4803 (SET_RESTORE_ROUND_53BIT): Likewise.
4804 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4805 (libc_feresetround_noexf_ctx): Likewise.
4806 (libc_feresetround_noexl_ctx): Likewise.
4807 (libc_feholdsetround_53bit_ctx): Likewise.
4808 (libc_feresetround_53bit_ctx): Likewise.
4809 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4810 (libc_feholdexcept_setround_sse_ctx): New function.
4811 (libc_fesetenv_sse_ctx): Likewise.
4812 (libc_feupdateenv_sse_ctx): Likewise.
4813 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4814 (libc_feholdexcept_setround_387_ctx): Likewise.
4815 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4816 (libc_feholdsetround_387_prec_ctx): Likewise.
4817 (libc_feholdsetround_387_ctx): Likewise.
4818 (libc_feholdsetround_387_53bit_ctx): Likewise.
4819 (libc_feholdsetround_sse_ctx): Likewise.
4820 (libc_feresetround_sse_ctx): Likewise.
4821 (libc_feresetround_387_ctx): Likewise.
4822 (libc_feupdateenv_387_ctx): Likewise.
4823 (libc_feholdexcept_setroundf_ctx): Define macro.
4824 (libc_fesetenvf_ctx): Likewise.
4825 (libc_feupdateenvf_ctx): Likewise.
4826 (libc_feholdsetroundf_ctx): Likewise.
4827 (libc_feresetroundf_ctx): Likewise.
4828 (libc_feholdexcept_setround_ctx): Likewise.
4829 (libc_fesetenv_ctx): Likewise.
4830 (libc_feupdateenv_ctx): Likewise.
4831 (libc_feholdsetround_ctx): Likewise.
4832 (libc_feresetround_ctx): Likewise.
4833 (libc_feholdexcept_setroundl_ctx): Likewise.
4834 (libc_feupdateenvl_ctx): Likewise.
4835 (libc_feholdsetroundl_ctx): Likewise.
4836 (libc_feresetroundl_ctx): Likewise.
4837 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4838 (libc_feresetround_53bit_ctx): Likewise.
4839
59b30555
SP
48402013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4841
4842 * locale/iso-639.def: Convert to UTF-8.
4843
f1d73d30
JM
48442013-06-11 Joseph Myers <joseph@codesourcery.com>
4845
4846 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4847 (EXCEPTION_TESTS_double): Likewise.
4848 (EXCEPTION_TESTS_long_double): Likewise.
4849 (EXCEPTION_TESTS): Likewise.
4850 * math/libm-test.inc (test_exceptions): Only test exceptions if
4851 EXCEPTION_TESTS (FLOAT).
4852
94aca5e7
SP
48532013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4854
4855 * benchtests/Makefile (string-bench): Add strcpy_chk and
4856 stpcpy_chk.
4857 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4858 * benchtests/bench-stpcpy_chk.c: New file.
4859 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4860 * benchtests/bench-strcpy_chk.c: New file.
4861 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4862 code.
4863 (do_test): Likewise.
4864
fac0c5f2
RA
48652013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4866
4867 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4868 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4869 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4870 with tabs where appropriate.
4871 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4872 dl-procinfo.h.
4873 [PPC_PLATFORM_PPC440]: Likewise.
4874 [PPC_PLATFORM_PPC464]: Likewise.
4875 [PPC_PLATFORM_PPC476]: Likewise.
4876 (_dl_string_platform): Add support for detecting ppc405, ppc440,
4877 ppc464, and ppc476 platform strings merging from ports/
4878 dl-procinfo.h.
4879
f22bc486
AS
48802013-06-11 Andreas Schwab <schwab@suse.de>
4881
4882 [BZ #14991]
4883 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4884 (from_ucs4_idx): Regenerate.
4885 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4886 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4887 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4888 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4889 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4890 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4891 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4892 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4893 from FROM_LOOP and TO_LOOP specific macros.
4894 (BODY): Handle combining characters.
4895 * iconvdata/BIG5HKSCS.irreversible: Update.
4896 * iconvdata/BIG5HKSCS.precomposed: New file.
4897 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4898 characters.
4899 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4900
c1f75dc3
SP
49012013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4902
4eacded2
SP
4903 * include/sys/time.h: Fix indentation and add copyright header.
4904
fec799f8
SP
4905 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4906 (do_test): Likewise.
4907 * string/test-memchr.c (do_one_test): Likewise.
4908 (do_test): Likewise.
4909 * string/test-memcmp.c (do_one_test): Likewise.
4910 (do_test): Likewise.
4911 * string/test-memcpy.c (do_one_test): Likewise.
4912 (do_test): Likewise.
4913 * string/test-memmem.c (do_one_test): Likewise.
4914 (do_test): Likewise.
4915 (do_random_tests): Likewise.
4916 * string/test-memmove.c (do_one_test): Likewise.
4917 (do_test): Likewise.
4918 * string/test-memset.c (do_one_test): Likewise.
4919 (do_test): Likewise.
4920 * string/test-rawmemchr.c (do_one_test): Likewise.
4921 (do_test): Likewise.
4922 * string/test-strcasecmp.c (do_one_test): Likewise.
4923 (do_test): Likewise.
4924 * string/test-strcasestr.c (do_one_test): Likewise.
4925 (do_test): Likewise.
4926 * string/test-strcat.c (do_one_test): Likewise.
4927 (do_test): Likewise.
4928 * string/test-strchr.c (do_one_test): Likewise.
4929 (do_test): Likewise.
4930 * string/test-strcmp.c (do_one_test): Likewise.
4931 (do_test): Likewise.
4932 * string/test-strcpy.c (do_one_test): Likewise.
4933 (do_test): Likewise.
4934 * string/test-string.h: Likewise.
4935 (test_init): Likewise.
4936 * string/test-strlen.c (do_one_test): Likewise.
4937 (do_test): Likewise.
4938 * string/test-strncasecmp.c (do_one_test): Likewise.
4939 (do_test): Likewise.
4940 * string/test-strncat.c (do_one_test): Likewise.
4941 (do_test): Likewise.
4942 * string/test-strncmp.c (do_one_test): Likewise.
4943 (do_test_limit): Likewise.
4944 (do_test): Likewise.
4945 * string/test-strncpy.c (do_one_test): Likewise.
4946 (do_test): Likewise.
4947 * string/test-strnlen.c (do_one_test): Likewise.
4948 (do_test): Likewise.
4949 * string/test-strpbrk.c (do_one_test): Likewise.
4950 (do_test): Likewise.
4951 * string/test-strrchr.c (do_one_test): Likewise.
4952 (do_test): Likewise.
4953 * string/test-strspn.c (do_one_test): Likewise.
4954 (do_test): Likewise.
4955 * string/test-strstr.c (do_one_test): Likewise.
4956 (do_test): Likewise.
4957
97020474
SP
4958 * benchtests/Makefile (string-bench): Add string benchmarks.
4959 * benchtests/bench-bcopy-ifunc.c: New file.
4960 * benchtests/bench-bcopy.c: New file.
4961 * benchtests/bench-bzero-ifunc.c: New file.
4962 * benchtests/bench-bzero.c: New file.
4963 * benchtests/bench-memccpy-ifunc.c: New file.
4964 * benchtests/bench-memccpy.c: New file.
4965 * benchtests/bench-memchr-ifunc.c: New file.
4966 * benchtests/bench-memchr.c: New file.
4967 * benchtests/bench-memcmp-ifunc.c: New file.
4968 * benchtests/bench-memcmp.c: New file.
4969 * benchtests/bench-memmem-ifunc.c: New file.
4970 * benchtests/bench-memmem.c: New file.
4971 * benchtests/bench-memmove-ifunc.c: New file.
4972 * benchtests/bench-memmove.c: New file.
4973 * benchtests/bench-mempcpy-ifunc.c: New file.
4974 * benchtests/bench-mempcpy.c: New file.
4975 * benchtests/bench-memset-ifunc.c: New file.
4976 * benchtests/bench-memset.c: New file.
4977 * benchtests/bench-rawmemchr-ifunc.c: New file.
4978 * benchtests/bench-rawmemchr.c: New file.
4979 * benchtests/bench-stpcpy-ifunc.c: New file.
4980 * benchtests/bench-stpcpy.c: New file.
4981 * benchtests/bench-stpncpy-ifunc.c: New file.
4982 * benchtests/bench-stpncpy.c: New file.
4983 * benchtests/bench-strcasecmp-ifunc.c: New file.
4984 * benchtests/bench-strcasecmp.c: New file.
4985 * benchtests/bench-strcasestr-ifunc.c: New file.
4986 * benchtests/bench-strcasestr.c: New file.
4987 * benchtests/bench-strcat-ifunc.c: New file.
4988 * benchtests/bench-strcat.c: New file.
4989 * benchtests/bench-strchr-ifunc.c: New file.
4990 * benchtests/bench-strchr.c: New file.
4991 * benchtests/bench-strchrnul-ifunc.c: New file.
4992 * benchtests/bench-strchrnul.c: New file.
4993 * benchtests/bench-strcmp-ifunc.c: New file.
4994 * benchtests/bench-strcmp.c: New file.
4995 * benchtests/bench-strcpy-ifunc.c: New file.
4996 * benchtests/bench-strcpy.c: New file.
4997 * benchtests/bench-strcspn-ifunc.c: New file.
4998 * benchtests/bench-strcspn.c: New file.
4999 * benchtests/bench-strlen-ifunc.c: New file.
5000 * benchtests/bench-strlen.c: New file.
5001 * benchtests/bench-strncasecmp-ifunc.c: New file.
5002 * benchtests/bench-strncasecmp.c: New file.
5003 * benchtests/bench-strncat-ifunc.c: New file.
5004 * benchtests/bench-strncat.c: New file.
5005 * benchtests/bench-strncmp-ifunc.c: New file.
5006 * benchtests/bench-strncmp.c: New file.
5007 * benchtests/bench-strncpy-ifunc.c: New file.
5008 * benchtests/bench-strncpy.c: New file.
5009 * benchtests/bench-strnlen-ifunc.c: New file.
5010 * benchtests/bench-strnlen.c: New file.
5011 * benchtests/bench-strpbrk-ifunc.c: New file.
5012 * benchtests/bench-strpbrk.c: New file.
5013 * benchtests/bench-strrchr-ifunc.c: New file.
5014 * benchtests/bench-strrchr.c: New file.
5015 * benchtests/bench-strspn-ifunc.c: New file.
5016 * benchtests/bench-strspn.c: New file.
5017 * benchtests/bench-strstr-ifunc.c: New file.
5018 * benchtests/bench-strstr.c: New file.
5019
c1f75dc3
SP
5020 * benchtests/Makefile: Disable parallel execution of targets.
5021 (string-bench): Add memcpy.
5022 (benchset): New variable to store a list of benchmark sets.
5023 (bench-func): Renamed from bench.
5024 (bench-set): New target.
5025 (bench): Depend on bench-func and bench-set.
5026 * benchtests/README: Add section on benchmark sets.
5027 * benchtests/bench-memcpy-ifunc.c: New file.
5028 * benchtests/bench-memcpy.c: New file.
5029 * benchtests/bench-string.h: New file.
5030
50fd745b
AS
50312013-06-11 Andreas Schwab <schwab@suse.de>
5032
5033 [BZ #15577]
5034 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5035 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5036 values in the triple.
5037 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5038 terminator in the group key.
5039
3ee7e9fe
AJ
50402013-06-11 Andreas Jaeger <aj@suse.de>
5041
5042 * po/zh_TW.po: Update Chinese (traditional) translation from
5043 translation project.
5044
89fb6835
SP
50452013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5046
5047 * include/time.h (__clock_gettime): Add libc_hidden_proto.
5048 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5049 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
5050 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5051 (clock_getcpuclockid): Likewise.
5052 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5053 Add weak_alias and libc_hidden_def.
5054 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5055 * rt/clock_gettime.c (clock_gettime): Rename to
5056 __clock_gettime. Add weak_alias and libc_hidden_def.
5057 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5058 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5059 __clock_nanosleep. Add weak_alias and libc_hidden_def.
5060 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5061 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5062 Likewise.
5063 * rt/clock_settime.c (clock_settime): Rename to
5064 __clock_settime. Add weak_alias and libc_hidden_def.
5065 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5066
0efa6f8b
JM
50672013-06-10 Joseph Myers <joseph@codesourcery.com>
5068
b8c61b4b
JM
5069 * mach/err_boot.sub: Remove trailing whitespace.
5070 * mach/err_ipc.sub: Likewise.
5071 * mach/err_mach.sub: Likewise.
5072
0efa6f8b
JM
5073 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5074 (ROUNDING_TESTS_double): Likewise.
5075 (ROUNDING_TESTS_long_double): Likewise.
5076 (ROUNDING_TESTS): Likewise.
5077 * math/libm-test.inc: Include <math-tests.h>.
5078 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5079 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5080 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5081 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5082
50b818bf
SP
50832013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5084
5085 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5086 of assigning.
5087
60d2f8f3
JM
50882013-06-08 Joseph Myers <joseph@codesourcery.com>
5089
4902d2c3
JM
5090 * sysdeps/gnu/errlist.awk: Do not generate space at end of
5091 otherwise empty TRANS lines.
5092 * sysdeps/gnu/errlist.c: Regenerated.
5093
60d2f8f3
JM
5094 * catgets/gencat.c (error_print): Use (void) in function
5095 definition.
5096 * crypt/crypt_util.c (__init_des): Likewise.
5097 * crypt/speeds.c (Stop): Likewise.
5098 (main): Likewise.
5099 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5100 * inet/ruserpass.c (token): Likewise.
5101 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5102 * intl/localealias.c (extend_alias_table): Likewise.
5103 * intl/plural-exp.c (init_germanic_plural): Likewise.
5104 * libio/fcloseall.c (__fcloseall): Likewise.
5105 * libio/genops.c (_IO_flush_all): Likewise.
5106 (_IO_flush_all_linebuffered): Likewise.
5107 (_IO_cleanup): Likewise.
5108 (_IO_iter_begin): Likewise.
5109 (_IO_iter_end): Likewise.
5110 (_IO_list_lock): Likewise.
5111 (_IO_list_unlock): Likewise.
5112 (_IO_list_resetlock): Likewise.
5113 * libio/getchar.c (getchar): Likewise.
5114 * libio/getchar_u.c (getchar_unlocked): Likewise.
5115 * libio/getwchar.c (getwchar): Likewise.
5116 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5117 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5118 * login/getpt.c (__getpt): Likewise.
5119 * login/tst-utmp.c (main): Likewise.
5120 * malloc/hooks.c (__malloc_check_init): Likewise.
5121 * malloc/malloc.c (__malloc_stats): Likewise.
5122 * malloc/mtrace.c (tr_break): Likewise.
5123 (mtrace): Likewise.
5124 (muntrace): Likewise.
5125 * misc/fstab.c (endfsent): Likewise.
5126 * misc/getclktck.c (__getclktck): Likewise.
5127 * misc/getdtsz.c (__getdtablesize): Likewise.
5128 * misc/gethostid.c (gethostid): Likewise.
5129 * misc/getpagesize.c (__getpagesize): Likewise.
5130 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5131 (__get_nprocs): Likewise.
5132 (__get_phys_pages): Likewise.
5133 (__get_avphys_pages): Likewise.
5134 * misc/getttyent.c (getttyent): Likewise.
5135 (setttyent): Likewise.
5136 (endttyent): Likewise.
5137 * misc/getusershell.c (getusershell): Likewise.
5138 (endusershell): Likewise.
5139 (setusershell): Likewise.
5140 (initshells): Likewise.
5141 * misc/hsearch.c (__hdestroy): Likewise.
5142 * misc/sync.c (sync): Likewise.
5143 * misc/syslog.c (closelog_internal): Likewise.
5144 (closelog): Likewise.
5145 * misc/ttyslot.c (ttyslot): Likewise.
5146 * misc/vhangup.c (vhangup): Likewise.
5147 * posix/fork.c (__fork): Likewise.
5148 * posix/getegid.c (__getegid): Likewise.
5149 * posix/geteuid.c (__geteuid): Likewise.
5150 * posix/getgid.c (__getgid): Likewise.
5151 * posix/getpid.c (__getpid): Likewise.
5152 * posix/getppid.c (__getppid): Likewise.
5153 * posix/getuid.c (__getuid): Likewise.
5154 * posix/pause.c (pause): Likewise.
5155 * posix/setpgrp.c (setpgrp): Likewise.
5156 * posix/setsid.c (__setsid): Likewise.
5157 * posix/test-vfork.c (noop): Likewise.
5158 * resolv/gethnamaddr.c (_endhtent): Likewise.
5159 (_gethtent): Likewise.
5160 (ht_endhostent): Likewise.
5161 (gethostent): Likewise.
5162 (dns_service): Likewise.
5163 * stdlib/drand48.c (drand48): Likewise.
5164 * stdlib/lrand48.c (lrand48): Likewise.
5165 * stdlib/mrand48.c (mrand48): Likewise.
5166 * stdlib/rand.c (rand): Likewise.
5167 * stdlib/random.c (__random): Likewise.
5168 * stdlib/setenv.c (clearenv): Likewise.
5169 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5170 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5171 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5172 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5173 (__get_nprocs): Likewise.
5174 (__get_phys_pages): Likewise.
5175 (__get_avphys_pages): Likewise.
5176 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5177 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5178 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5179 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5180 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5181 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5182 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5183 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5184 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5185 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5186 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5187 * sysdeps/mach/hurd/sync.c (sync): Likewise.
5188 * sysdeps/posix/clock.c (clock): Likewise.
5189 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5190 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5191 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5192 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5193 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5194 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5195 (__get_nprocs_conf): Likewise.
5196 (__get_phys_pages): Likewise.
5197 (__get_avphys_pages): Likewise.
5198 * time/clock.c (clock): Likewise.
5199 * time/tzset.c (__tzname_max): Likewise.
5200
2e09a79a
JM
52012013-06-07 Joseph Myers <joseph@codesourcery.com>
5202
5203 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5204 (__bswap_32): Do not use "register".
5205 * crypt/crypt.c (_ufc_doit_r): Likewise.
5206 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5207 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5208 * gmon/gmon.c (__monstartup): Likewise.
5209 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5210 * hurd/hurdmalloc.c (more_memory): Likewise.
5211 (malloc): Likewise.
5212 (free): Likewise.
5213 (realloc): Likewise.
5214 (malloc_fork_prepare): Likewise.
5215 (malloc_fork_parent): Likewise.
5216 (malloc_fork_child): Likewise.
5217 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5218 (_svcauth_des): Likewise.
5219 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5220 * inet/inet_net.c (inet_network): Likewise.
5221 * inet/inet_netof.c (inet_netof): Likewise.
5222 * inet/rcmd.c (__validuser2_sa): Likewise.
5223 * io/fts.c (fts_open): Likewise.
5224 (fts_load): Likewise.
5225 (fts_close): Likewise.
5226 (fts_read): Likewise.
5227 (fts_children): Likewise.
5228 (fts_build): Likewise.
5229 (fts_stat): Likewise.
5230 (fts_sort): Likewise.
5231 (fts_alloc): Likewise.
5232 (fts_lfree): Likewise.
5233 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5234 (_IO_file_xsgetn): Likewise.
5235 (_IO_file_xsgetn_mmap): Likewise.
5236 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5237 (_IO_cookie_write): Likewise.
5238 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5239 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5240 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5241 * malloc/obstack.c (_obstack_begin): Likewise.
5242 (_obstack_begin_1): Likewise.
5243 (_obstack_newchunk): Likewise.
5244 (_obstack_allocated_p): Likewise.
5245 (obstack_free): Likewise.
5246 (_obstack_memory_used): Likewise.
5247 * misc/getttyent.c (getttynam): Likewise.
5248 (getttyent): Likewise.
5249 (skip): Likewise.
5250 (value): Likewise.
5251 * misc/getusershell.c (initshells): Likewise.
5252 * misc/syslog.c (__vsyslog_chk): Likewise.
5253 * misc/ttyslot.c (ttyslot): Likewise.
5254 * nis/nis_hash.c (__nis_hash): Likewise.
5255 * posix/fnmatch_loop.c (FCT): Likewise.
5256 * posix/getconf.c (print_all): Likewise.
5257 (main): Likewise.
5258 * posix/getopt.c (exchange): Likewise.
5259 * posix/glob.c (globfree): Likewise.
5260 (prefix_array): Likewise.
5261 (__glob_pattern_type): Likewise.
5262 * resolv/arpa/nameser.h (NS_GET16): Likewise.
5263 (NS_GET32): Likewise.
5264 (NS_PUT16): Likewise.
5265 (NS_PUT32): Likewise.
5266 * resolv/gethnamaddr.c (getanswer): Likewise.
5267 (gethostbyname2): Likewise.
5268 (gethostbyaddr): Likewise.
5269 (_gethtent): Likewise.
5270 (_gethtbyname2): Likewise.
5271 (_gethtbyaddr): Likewise.
5272 * resolv/ns_print.c (dst_s_get_int16): Likewise.
5273 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5274 * resolv/res_init.c (__res_vinit): Likewise.
5275 (net_mask): Likewise.
5276 * resolv/res_mkquery.c (outchar): Likewise.
5277 (PRINT): Likewise.
5278 * stdio-common/printf_fp.c (outchar): Likewise.
5279 (PRINT): Likewise.
5280 * stdio-common/printf_fphex.c (outchar): Likewise.
5281 (PRINT): Likewise.
5282 * stdio-common/printf_size.c (outchar): Likewise.
5283 (PRINT): Likewise.
5284 * stdio-common/test_rdwr.c (main): Likewise.
5285 * stdio-common/tfformat.c (matches): Likewise.
5286 * stdio-common/vfprintf.c (outchar): Likewise.
5287 (printf_unknown): Likewise.
5288 (buffered_vfprintf): Likewise.
5289 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5290 * stdio-common/xbug.c (AppendToBuffer): Likewise.
5291 (ReadFile): Likewise.
5292 * stdlib/qsort.c (SWAP): Likewise.
5293 (_quicksort): Likewise.
5294 * stdlib/setenv.c (__add_to_environ): Likewise.
5295 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5296 * stdlib/strtol_l.c (__strtol_l): Likewise.
5297 * stdlib/tst-strtod.c (main): Likewise.
5298 * stdlib/tst-strtol.c (main): Likewise.
5299 * stdlib/tst-strtoll.c (main): Likewise.
5300 * string/bits/string2.h (__strcmp_cc): Likewise.
5301 (__strcmp_cg): Likewise.
5302 (__strcspn_c1): Likewise.
5303 (__strcspn_c2): Likewise.
5304 (__strcspn_c3): Likewise.
5305 (__strspn_c1): Likewise.
5306 (__strspn_c2): Likewise.
5307 (__strspn_c3): Likewise.
5308 (__strsep_1c): Likewise.
5309 (__strsep_2c): Likewise.
5310 (__strsep_3c): Likewise.
5311 * string/memccpy.c (__memccpy): Likewise.
5312 * string/stpcpy.c (__stpcpy): Likewise.
5313 * string/strcmp.c (strcmp): Likewise.
5314 * string/strrchr.c (strrchr): Likewise.
5315 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5316 Likewise.
5317 * sysdeps/mach/hurd/getcwd.c
5318 (_hurd_canonicalize_directory_name_internal): Likewise.
5319 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5320 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5321 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5322 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5323 Likewise, in both definitions.
5324 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5325 definitions.
5326 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5327 64] (__bswap_64): Likewise.
5328 * time/test_time.c (main): Likewise.
5329 * time/tzfile.c (__tzfile_read): Likewise.
5330 (__tzfile_compute): Likewise.
5331 * time/tzset.c (__tzset_parse_tz): Likewise.
5332 (tzset_internal): Likewise.
5333 (compute_change): Likewise.
5334 * wcsmbs/wcscat.c (__wcscat): Likewise.
5335 * wcsmbs/wcschr.c (wcschr): Likewise.
5336 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5337 * wcsmbs/wcscspn.c (wcscspn): Likewise.
5338 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5339 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5340 * wcsmbs/wcsspn.c (wcsspn): Likewise.
5341 * wcsmbs/wcsstr.c (wcsstr): Likewise.
5342 * wcsmbs/wmemchr.c (wmemchr): Likewise.
5343 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5344 * wcsmbs/wmemset.c (wmemset): Likewise.
5345
9e54314b
JM
53462013-06-06 Joseph Myers <joseph@codesourcery.com>
5347
5348 * scripts/config.guess: Update to version 2013-05-16.
5349 * scripts/config.sub: Update to version 2013-04-24.
5350 * scripts/install-sh: Update to version 2011-11-20.07.
5351 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5352 * scripts/move-if-change: Update to version 2012-01-06 07:23.
5353
350635a5
OB
53542013-06-06 Ondřej Bílka <neleai@seznam.cz>
5355
5356 * debug/fgetws_u_chk.c: Fix leading whitespaces.
5357 * elf/sln.c: Likewise.
5358 * hurd/hurd/ioctl.h: Likewise.
5359 * hurd/hurdmalloc.c: Likewise.
5360 * hurd/xattr.c: Likewise.
5361 * include/shlib-compat.h: Likewise.
5362 * inet/ruserpass.c: Likewise.
5363 * libio/iofgets_u.c: Likewise.
5364 * libio/iofgetws_u.c: Likewise.
5365 * locale/programs/ld-identification.c: Likewise.
5366 * locale/programs/ld-time.c: Likewise.
5367 * mach/msg-destroy.c: Likewise.
5368 * nss/nss_files/files-netgrp.c: Likewise.
5369 * resolv/res_data.c: Likewise.
5370 * soft-fp/op-1.h: Likewise.
5371 * soft-fp/op-2.h: Likewise.
5372 * soft-fp/op-4.h: Likewise.
5373 * soft-fp/op-common.h: Likewise.
5374 * stdio-common/printf_fphex.c: Likewise.
5375 * stdlib/strtod_l.c: Likewise.
5376 * sunrpc/rpc/clnt.h: Likewise.
5377 * sysdeps/generic/framestate.c: Likewise.
5378 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5379 * sysdeps/i386/bsd-setjmp.S: Likewise.
5380 * sysdeps/i386/__longjmp.S: Likewise.
5381 * sysdeps/i386/setjmp.S: Likewise.
5382 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5383 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5384 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5385 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5386 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5387 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5388 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5389 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5390 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5391 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5392 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5393 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5394 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5395 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5396 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5397 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5398 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5399 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5400 * sysdeps/ieee754/support.c: Likewise.
5401 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5402 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5403 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5404 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5405 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5406 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5407 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5408 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5409 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5410 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5411 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5412 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5413 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5414 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5415 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5416 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5417 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5419
44a988af
OB
54202013-06-05 Ondřej Bílka <neleai@seznam.cz>
5421
25506f09 5422 * posix/transbug.c: Remove executable mode.
44a988af 5423
9c84384c
JM
54242013-06-05 Joseph Myers <joseph@codesourcery.com>
5425
5426 * crypt/speeds.c: Remove trailing whitespace.
5427 * dlfcn/default.c: Likewise.
5428 * elf/ifuncdep2.c: Likewise.
5429 * elf/ifuncmain1.c: Likewise.
5430 * elf/ifuncmain1vis.c: Likewise.
5431 * elf/testobj.h: Likewise.
5432 * elf/tst-stackguard1.c: Likewise.
5433 * gmon/sys/gmon.h: Likewise.
5434 * hurd/hurdmsg.c: Likewise.
5435 * hurd/new-fd.c: Likewise.
5436 * hurd/ports-get.c: Likewise.
5437 * iconvdata/ibm1008_420.c: Likewise.
5438 * inet/tst-getni1.c: Likewise.
5439 * inet/tst-getni2.c: Likewise.
5440 * libio/ioungetc.c: Likewise.
5441 * libio/wfiledoalloc.c: Likewise.
5442 * manual/libm-err-tab.pl: Likewise.
5443 * math/w_dremf.c: Likewise.
5444 * misc/ftruncate.c: Likewise.
5445 * posix/bug-glob2.c: Likewise.
5446 * posix/tst-pcre.c: Likewise.
5447 * posix/wait4.c: Likewise.
5448 * resolv/README: Likewise.
5449 * resolv/res_debug.h: Likewise.
5450 * resolv/tst-inet_ntop.c: Likewise.
5451 * setjmp/bug269-setjmp.c: Likewise.
5452 * soft-fp/extended.h: Likewise.
5453 * soft-fp/op-1.h: Likewise.
5454 * soft-fp/op-2.h: Likewise.
5455 * soft-fp/op-4.h: Likewise.
5456 * soft-fp/op-8.h: Likewise.
5457 * soft-fp/testit.c: Likewise.
5458 * stdio-common/bug16.c: Likewise.
5459 * stdlib/random.c: Likewise.
5460 * sunrpc/rpcsvc/rquota.x: Likewise.
5461 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5462 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5463 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5464 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5465 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5466 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5467 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5468 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5469 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5470 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5471 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5472 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5473 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5474 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5475 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5476 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5477 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5478 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5479 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5480 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5481 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5482 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5483 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5484 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5485 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5486 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5487 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5488 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5489 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5490 * sysdeps/ieee754/s_lib_version.c: Likewise.
5491 * sysdeps/mach/hurd/check_fds.c: Likewise.
5492 * sysdeps/mach/hurd/getsockname.c: Likewise.
5493 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5494 * sysdeps/mach/hurd/recvfrom.c: Likewise.
5495 * sysdeps/powerpc/bits/link.h: Likewise.
5496 * sysdeps/powerpc/dl-procinfo.c: Likewise.
5497 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5498 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5499 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5500 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5501 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5502 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5503 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5504 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5505 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5506 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5507 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5508 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5509 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5510 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5511 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5512 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5513 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5514 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5515 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5516 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5517 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5518 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5519 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5520 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5521 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5522 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5523 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5524 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5525 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5526 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5527 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5528 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5529 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5530 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5531 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5532 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5533 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5534 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5535 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5536 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5537 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5538 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5539 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5540 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5541 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5542 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5543 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5544 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5545 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5546 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5547 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5548 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5549 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5550 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5551 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5552 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5553 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5554 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5555 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5556 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5557 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5558 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5559 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5560 * sysdeps/powerpc/sysdep.h: Likewise.
5561 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5562 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5563 * sysdeps/sh/dl-trampoline.S: Likewise.
5564 * sysdeps/sh/memset.S: Likewise.
5565 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5566 * sysdeps/sh/strlen.S: Likewise.
5567 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5568 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5569 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5570 * sysdeps/sparc/sparc32/rem.S: Likewise.
5571 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5572 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5573 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5574 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5575 * sysdeps/sparc/sparc32/urem.S: Likewise.
5576 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5577 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5578 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5579 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5580 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5581 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5582 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5583 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5584 * sysdeps/unix/bsd/times.c: Likewise.
5585 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5586 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5590 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5591 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5592 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5593 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5594 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5595 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5596 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5597 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5598 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5599 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5600 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5601 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5602 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5603 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5604 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5605 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5606 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5607 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5608 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5609 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5610 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5611 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5612 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5613 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5614 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5615 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5616 * sysdeps/x86_64/strcspn.S: Likewise.
5617
869378a5
RA
56182013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5619
5620 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5621 generated file. Regenerate properly from gen-translit.pl.
5622 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5623 locale/C-translit.h.
5624
840e2943
AS
56252013-06-05 Andreas Schwab <schwab@suse.de>
5626
5627 [BZ #15100]
5628 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5629 week as 6 instead of -1.
5630 * time/tst-strptime.c (day_tests): Add test case.
5631
4c60cb0c
SP
56322013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5633
5634 * sysdeps/generic/math_private.h
5635 (libc_feholdexcept_setround_53bit): Replace with
5636 libc_feholdsetround_53bit.
5637 (libc_feupdateenv_53bit): Replace with
5638 libc_feresetround_53bit.
5639 (SET_RESTORE_ROUND_53BIT): Adjust.
5640
d180203e
SP
56412013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5642
96df079a
SP
5643 * string/test-strchrnul.c: Add copyright header.
5644
d180203e
SP
5645 * posix/tst-getaddrinfo4.c: Increase test timeout.
5646
8b0ccb2d
CD
56472013-06-03 Carlos O'Donell <carlos@redhat.com>
5648
5649 [BZ #15536]
5650 * math/libm-test.inc (MAX_EXP): Remove
5651 (MIN_EXP): Define.
5652 (ulp): Use MIN_EXP - MANT_DIG.
5653 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5654
3b3c4d40
CD
56552013-05-31 Carlos O'Donell <carlos@redhat.com>
5656
5657 * po/be.po: Revert last change.
5658 * po/zh_CN.po: Likewise.
5659 * po/header.pot: Likewise.
5660
fab7ce3f
JM
56612013-05-31 Joseph Myers <joseph@codesourcery.com>
5662
5663 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5664 link-libc-deps to empty as target-specific variable.
5665 * Makerules (link-libc-args): New variable.
5666 (libc-for-link): Likewise.
5667 (link-libc-deps): Likewise.
5668 (lib%.so): Depend on $(link-libc-deps). Link with
5669 $(link-libc-args).
5670 (build-module): Link with $(link-libc-args).
5671 (build-module-asneeded): Likewise.
5672 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5673 list of objects.
5674 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5675 target-specific variable.
5676 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5677 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5678 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5679 libc.
5680 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5681 libc and ld.so.
5682 ($(objpfx)libpcprofile.so): Likewise.
5683 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5684 libc_nonshared.a.
5685 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5686 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5687 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5688 $(link-libc-deps).
5689 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5690 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5691 * login/Makefile ($(objpfx)libutil.so): Likewise.
5692 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5693 * math/Makefile ($(objpfx)libm.so): Likewise.
5694 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5695 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5696 variable instead of depending directly on libc.
5697 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5698 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5699 $(link-libc-deps).
5700 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5701 libc.
5702 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5703 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5704 ($(objpfx)libanl.so): Likewise.
5705 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5706 ld.so.
5707 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5708 $(link-libc-deps).
5709 * sysdeps/i386/fpu/Makefile: Remove file.
5710 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5711 ($(objpfx)libm.so): Remove dependency on ld.so.
5712
eca5920c
PF
57132013-05-30 Patsy Franklin <pfrankli@redhat.com>
5714
5715 [BZ # 15553]
5716 * nis/yp_xdr.c (XDRMAXNAME): Define.
5717 (XDRMAXRECORD): Define.
5718 (xdr_domainname): Use XDRMAXNAME.
5719 (xdr_mapname): Likewise.
5720 (xdr_peername): Likewise.
5721 (xdr_keydat): Use XDRMAXRECORD.
5722 (xdr_valdat): Likewise.
5723
57242013-05-30 Jeff Law <law@redhat.com>
96945714
JL
5725
5726 [BZ #14256]
5727 * manual/errno.texi (ESTALE): Update to account for more than
5728 just NFS file systems.
5729 * sysdeps/gnu/errlist.c: Regenerated.
5730
b9375348
SP
57312013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5732
5733 [BZ #15465]
5734 * elf/Makefile (tests): Add tst-null-argv.
5735 (modules-names): Add tst-null-argv-lib.
5736 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5737 (tst-null-argv-ENV): Set environment for tst-null-argv.
5738 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5739 (RTLD_PROGNAME): New macro.
5740 * elf/tst-null-argv.c: New test case.
5741 * elf/tst-null-argv-lib.c: Library for test case.
5742 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5743 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5744 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5745 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5746 * elf/dl-init.c (call_init): Likewise.
5747 (_dl_init): Likewise.
5748 * elf/dl-load.c (print_search_path): Likewise.
5749 (_dl_map_object): Likewise.
5750 * elf/dl-lookup.c (do_lookup_x): Likewise.
5751 (add_dependency): Likewise.
5752 (_dl_lookup_symbol_x): Likewise.
5753 (_dl_debug_bindings): Likewise.
5754 * elf/dl-open.c (_dl_show_scope): Likewise.
5755 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5756 * elf/dl-version.c (match_symbol): Likewise.
5757 (_dl_check_map_versions): Likewise.
5758 * elf/rtld.c (dl_main): Likewise.
5759 (print_unresolved): Use RTLD_PROGNAME.
5760 (print_missing_version): Likewise.
5761 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5762 (elf_machine_rela): Likewise.
5763 * sysdeps/powerpc/powerpc32/dl-machine.c
5764 (__process_machine_rela): Likewise.
5765 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5766 Likewise.
5767 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5768 Likewise.
5769 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5770 Likewise.
5771 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5772 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5773 Likewise.
5774 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5775 Likewise.
5776 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5777
8a9f20c8
CD
57782013-05-28 Carlos O'Donell <carlos@redhat.com>
5779
5780 * po/be.po: Add descriptive title.
5781 * po/zh_CN.po: Likewise.
5782 * po/header.pot: Likewise.
5783
0e60d68e
MF
57842013-05-28 Mike Frysinger <vapier@gentoo.org>
5785
5786 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5787 error message.
5788 (enlarge_archive): Likewise.
5789
56b672e9
BN
57902013-05-28 Ben North <ben@redfrontdoor.org>
5791
5792 * manual/arith.texi (frexp): It is the magnitude of the return
5793 value which lies in [0.5, 1), not the return value itself.
5794
5e056687
AZ
57952013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5796
5797 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5798
2b66ef5d
TS
57992013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5800
528c2405
TS
5801 * stdio-common/bug26.c (main): Correct fscanf template.
5802
07b4c13d
TS
5803 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5804 declare _dl_skip_args.
5805
ec9dd97c
TS
5806 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5807 Don't declare.
5808
2b66ef5d
TS
5809 * manual/platform.texi: Add missing @end deftypefun.
5810
4f8dfe27
JM
58112013-05-24 Joseph Myers <joseph@codesourcery.com>
5812
0323d086
JM
5813 [BZ #15529]
5814 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5815 bit of mantissa of 2^16382.
5816 * math/libm-test.inc (hypot_test_data): Add more tests.
5817
dd4259b9
JM
5818 * math/libm-test.inc: Add drem and pow10 to list of tested
5819 functions.
5820 (pow10_test): New function.
5821 (drem_test): Likewise.
5822 (drem_test_tonearest): Likewise.
5823 (drem_test_towardzero): Likewise.
5824 (drem_test_downward): Likewise.
5825 (drem_test_upward): Likewise.
5826 (main): Call the new functions.
5827
4f8dfe27
JM
5828 * math/libm-test.inc (finite_test_data): Remove.
5829 (finite_test): Run tests from isfinite_test_data.
5830 (gamma_test_data): Remove.
5831 (gamma_test): Run tests from lgamma_test_data.
5832 * sysdeps/i386/fpu/libm-test-ulps: Update.
5833 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5834
d116b7c4
AZ
58352013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5836
5837 * manual/platform.texi: Add PowerPC PPR function set documentation.
5838 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5839 implementation.
5840
e96e3767
CD
58412013-05-24 Carlos O'Donell <carlos@redhat.com>
5842
5843 * math/libm-test.inc (MAX_EXP): Define.
5844 (ULPDIFF): Define.
5845 (ulp): New function.
5846 (check_float_internal): Use ULPDIFF.
5847 (cpow_test): Disable failing test.
5848 (check_ulp): Test ulp() implemetnation.
5849 (main): Call check_ulp before starting tests.
5850
b679a606
JM
58512013-05-24 Joseph Myers <joseph@codesourcery.com>
5852
e8bdba36
JM
5853 * math/gen-libm-test.pl (generate_testfile): Do not handle
5854 START_DATA and END_DATA.
5855 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5856 END_DATA.
5857 (acos_tonearest_test_data): Likewise.
5858 (acos_towardzero_test_data): Likewise.
5859 (acos_downward_test_data): Likewise.
5860 (acos_upward_test_data): Likewise.
5861 (acosh_test_data): Likewise.
5862 (asin_test_data): Likewise.
5863 (asin_tonearest_test_data): Likewise.
5864 (asin_towardzero_test_data): Likewise.
5865 (asin_downward_test_data): Likewise.
5866 (asin_upward_test_data): Likewise.
5867 (asinh_test_data): Likewise.
5868 (atan_test_data): Likewise.
5869 (atanh_test_data): Likewise.
5870 (atan2_test_data): Likewise.
5871 (cabs_test_data): Likewise.
5872 (cacos_test_data): Likewise.
5873 (cacosh_test_data): Likewise.
5874 (carg_test_data): Likewise.
5875 (casin_test_data): Likewise.
5876 (casinh_test_data): Likewise.
5877 (catan_test_data): Likewise.
5878 (catanh_test_data): Likewise.
5879 (cbrt_test_data): Likewise.
5880 (ccos_test_data): Likewise.
5881 (ccosh_test_data): Likewise.
5882 (ceil_test_data): Likewise.
5883 (cexp_test_data): Likewise.
5884 (cimag_test_data): Likewise.
5885 (clog_test_data): Likewise.
5886 (clog10_test_data): Likewise.
5887 (conj_test_data): Likewise.
5888 (copysign_test_data): Likewise.
5889 (cos_test_data): Likewise.
5890 (cos_tonearest_test_data): Likewise.
5891 (cos_towardzero_test_data): Likewise.
5892 (cos_downward_test_data): Likewise.
5893 (cos_upward_test_data): Likewise.
5894 (cosh_test_data): Likewise.
5895 (cosh_tonearest_test_data): Likewise.
5896 (cosh_towardzero_test_data): Likewise.
5897 (cosh_downward_test_data): Likewise.
5898 (cosh_upward_test_data): Likewise.
5899 (cpow_test_data): Likewise.
5900 (cproj_test_data): Likewise.
5901 (creal_test_data): Likewise.
5902 (csin_test_data): Likewise.
5903 (csinh_test_data): Likewise.
5904 (csqrt_test_data): Likewise.
5905 (ctan_test_data): Likewise.
5906 (ctan_tonearest_test_data): Likewise.
5907 (ctan_towardzero_test_data): Likewise.
5908 (ctan_downward_test_data): Likewise.
5909 (ctan_upward_test_data): Likewise.
5910 (ctanh_test_data): Likewise.
5911 (ctanh_tonearest_test_data): Likewise.
5912 (ctanh_towardzero_test_data): Likewise.
5913 (ctanh_downward_test_data): Likewise.
5914 (ctanh_upward_test_data): Likewise.
5915 (erf_test_data): Likewise.
5916 (erfc_test_data): Likewise.
5917 (exp_test_data): Likewise.
5918 (exp_tonearest_test_data): Likewise.
5919 (exp_towardzero_test_data): Likewise.
5920 (exp_downward_test_data): Likewise.
5921 (exp_upward_test_data): Likewise.
5922 (exp10_test_data): Likewise.
5923 (exp2_test_data): Likewise.
5924 (expm1_test_data): Likewise.
5925 (fabs_test_data): Likewise.
5926 (fdim_test_data): Likewise.
5927 (finite_test_data): Likewise.
5928 (floor_test_data): Likewise.
5929 (fma_test_data): Likewise.
5930 (fma_towardzero_test_data): Likewise.
5931 (fma_downward_test_data): Likewise.
5932 (fma_upward_test_data): Likewise.
5933 (fmax_test_data): Likewise.
5934 (fmin_test_data): Likewise.
5935 (fmod_test_data): Likewise.
5936 (fpclassify_test_data): Likewise.
5937 (frexp_test_data): Likewise.
5938 (gamma_test_data): Likewise.
5939 (hypot_test_data): Likewise.
5940 (ilogb_test_data): Likewise.
5941 (isfinite_test_data): Likewise.
5942 (isgreater_test_data): Likewise.
5943 (isgreaterequal_test_data): Likewise.
5944 (isinf_test_data): Likewise.
5945 (isless_test_data): Likewise.
5946 (islessequal_test_data): Likewise.
5947 (islessgreater_test_data): Likewise.
5948 (isnan_test_data): Likewise.
5949 (isnormal_test_data): Likewise.
5950 (issignaling_test_data): Likewise.
5951 (isunordered_test_data): Likewise.
5952 (j0_test_data): Likewise.
5953 (j1_test_data): Likewise.
5954 (jn_test_data): Likewise.
5955 (ldexp_test_data): Likewise.
5956 (lgamma_test_data): Likewise.
5957 (lrint_test_data): Likewise.
5958 (lrint_tonearest_test_data): Likewise.
5959 (lrint_towardzero_test_data): Likewise.
5960 (lrint_downward_test_data): Likewise.
5961 (lrint_upward_test_data): Likewise.
5962 (llrint_test_data): Likewise.
5963 (llrint_tonearest_test_data): Likewise.
5964 (llrint_towardzero_test_data): Likewise.
5965 (llrint_downward_test_data): Likewise.
5966 (llrint_upward_test_data): Likewise.
5967 (log_test_data): Likewise.
5968 (log10_test_data): Likewise.
5969 (log1p_test_data): Likewise.
5970 (log2_test_data): Likewise.
5971 (logb_test_data): Likewise.
5972 (logb_downward_test_data): Likewise.
5973 (lround_test_data): Likewise.
5974 (llround_test_data): Likewise.
5975 (modf_test_data): Likewise.
5976 (nearbyint_test_data): Likewise.
5977 (nextafter_test_data): Likewise.
5978 (nexttoward_test_data): Likewise.
5979 (pow_test_data): Likewise.
5980 (pow_tonearest_test_data): Likewise.
5981 (pow_towardzero_test_data): Likewise.
5982 (pow_downward_test_data): Likewise.
5983 (pow_upward_test_data): Likewise.
5984 (remainder_test_data): Likewise.
5985 (remainder_tonearest_test_data): Likewise.
5986 (remainder_towardzero_test_data): Likewise.
5987 (remainder_downward_test_data): Likewise.
5988 (remainder_upward_test_data): Likewise.
5989 (remquo_test_data): Likewise.
5990 (rint_test_data): Likewise.
5991 (rint_tonearest_test_data): Likewise.
5992 (rint_towardzero_test_data): Likewise.
5993 (rint_downward_test_data): Likewise.
5994 (rint_upward_test_data): Likewise.
5995 (round_test_data): Likewise.
5996 (scalb_test_data): Likewise.
5997 (scalbn_test_data): Likewise.
5998 (scalbln_test_data): Likewise.
5999 (signbit_test_data): Likewise.
6000 (sin_test_data): Likewise.
6001 (sin_tonearest_test_data): Likewise.
6002 (sin_towardzero_test_data): Likewise.
6003 (sin_downward_test_data): Likewise.
6004 (sin_upward_test_data): Likewise.
6005 (sincos_test_data): Likewise.
6006 (sinh_test_data): Likewise.
6007 (sinh_tonearest_test_data): Likewise.
6008 (sinh_towardzero_test_data): Likewise.
6009 (sinh_downward_test_data): Likewise.
6010 (sinh_upward_test_data): Likewise.
6011 (sqrt_test_data): Likewise.
6012 (tan_test_data): Likewise.
6013 (tan_tonearest_test_data): Likewise.
6014 (tan_towardzero_test_data): Likewise.
6015 (tan_downward_test_data): Likewise.
6016 (tan_upward_test_data): Likewise.
6017 (tanh_test_data): Likewise.
6018 (tgamma_test_data): Likewise.
6019 (trunc_test_data): Likewise.
6020 (y0_test_data): Likewise.
6021 (y1_test_data): Likewise.
6022 (yn_test_data): Likewise.
6023 (significand_test_data): Likewise.
6024
b679a606
JM
6025 * math/gen-libm-test.pl (@functions): Remove variable.
6026 (generate_testfile): Don't handle START and END lines.
6027 * math/libm-test.inc (START): New macro.
6028 (END): Likewise.
6029 (END_COMPLEX): Likewise.
6030 (acos_test): Use END macro without arguments.
6031 (acos_test_tonearest): Likewise.
6032 (acos_test_towardzero): Likewise.
6033 (acos_test_downward): Likewise.
6034 (acos_test_upward): Likewise.
6035 (acosh_test): Likewise.
6036 (asin_test): Likewise.
6037 (asin_test_tonearest): Likewise.
6038 (asin_test_towardzero): Likewise.
6039 (asin_test_downward): Likewise.
6040 (asin_test_upward): Likewise.
6041 (asinh_test): Likewise.
6042 (atan_test): Likewise.
6043 (atanh_test): Likewise.
6044 (atan2_test): Likewise.
6045 (cabs_test): Likewise.
6046 (cacos_test): Use END_COMPLEX macro without arguments.
6047 (cacosh_test): Likewise.
6048 (carg_test): Use END macro without arguments.
6049 (casin_test): Use END_COMPLEX macro without arguments.
6050 (casinh_test): Likewise.
6051 (catan_test): Likewise.
6052 (catanh_test): Likewise.
6053 (cbrt_test): Use END macro without arguments.
6054 (ccos_test): Use END_COMPLEX macro without arguments.
6055 (ccosh_test): Likewise.
6056 (ceil_test): Use END macro without arguments.
6057 (cexp_test): Use END_COMPLEX macro without arguments.
6058 (cimag_test): Use END macro without arguments.
6059 (clog_test): Use END_COMPLEX macro without arguments.
6060 (clog10_test): Likewise.
6061 (conj_test): Likewise.
6062 (copysign_test): Use END macro without arguments.
6063 (cos_test): Likewise.
6064 (cos_test_tonearest): Likewise.
6065 (cos_test_towardzero): Likewise.
6066 (cos_test_downward): Likewise.
6067 (cos_test_upward): Likewise.
6068 (cosh_test): Likewise.
6069 (cosh_test_tonearest): Likewise.
6070 (cosh_test_towardzero): Likewise.
6071 (cosh_test_downward): Likewise.
6072 (cosh_test_upward): Likewise.
6073 (cpow_test): Use END_COMPLEX macro without arguments.
6074 (cproj_test): Likewise.
6075 (creal_test): Use END macro without arguments.
6076 (csin_test): Use END_COMPLEX macro without arguments.
6077 (csinh_test): Likewise.
6078 (csqrt_test): Likewise.
6079 (ctan_test): Likewise.
6080 (ctan_test_tonearest): Likewise.
6081 (ctan_test_towardzero): Likewise.
6082 (ctan_test_downward): Likewise.
6083 (ctan_test_upward): Likewise.
6084 (ctanh_test): Likewise.
6085 (ctanh_test_tonearest): Likewise.
6086 (ctanh_test_towardzero): Likewise.
6087 (ctanh_test_downward): Likewise.
6088 (ctanh_test_upward): Likewise.
6089 (erf_test): Use END macro without arguments.
6090 (erfc_test): Likewise.
6091 (exp_test): Likewise.
6092 (exp_test_tonearest): Likewise.
6093 (exp_test_towardzero): Likewise.
6094 (exp_test_downward): Likewise.
6095 (exp_test_upward): Likewise.
6096 (exp10_test): Likewise.
6097 (exp2_test): Likewise.
6098 (expm1_test): Likewise.
6099 (fabs_test): Likewise.
6100 (fdim_test): Likewise.
6101 (finite_test): Likewise.
6102 (floor_test): Likewise.
6103 (fma_test): Likewise.
6104 (fma_test_towardzero): Likewise.
6105 (fma_test_downward): Likewise.
6106 (fma_test_upward): Likewise.
6107 (fmax_test): Likewise.
6108 (fmin_test): Likewise.
6109 (fmod_test): Likewise.
6110 (fpclassify_test): Likewise.
6111 (frexp_test): Likewise.
6112 (gamma_test): Likewise.
6113 (hypot_test): Likewise.
6114 (ilogb_test): Likewise.
6115 (isfinite_test): Likewise.
6116 (isgreater_test): Likewise.
6117 (isgreaterequal_test): Likewise.
6118 (isinf_test): Likewise.
6119 (isless_test): Likewise.
6120 (islessequal_test): Likewise.
6121 (islessgreater_test): Likewise.
6122 (isnan_test): Likewise.
6123 (isnormal_test): Likewise.
6124 (issignaling_test): Likewise.
6125 (isunordered_test): Likewise.
6126 (j0_test): Likewise.
6127 (j1_test): Likewise.
6128 (jn_test): Likewise.
6129 (ldexp_test): Likewise.
6130 (lgamma_test): Likewise.
6131 (lrint_test): Likewise.
6132 (lrint_test_tonearest): Likewise.
6133 (lrint_test_towardzero): Likewise.
6134 (lrint_test_downward): Likewise.
6135 (lrint_test_upward): Likewise.
6136 (llrint_test): Likewise.
6137 (llrint_test_tonearest): Likewise.
6138 (llrint_test_towardzero): Likewise.
6139 (llrint_test_downward): Likewise.
6140 (llrint_test_upward): Likewise.
6141 (log_test): Likewise.
6142 (log10_test): Likewise.
6143 (log1p_test): Likewise.
6144 (log2_test): Likewise.
6145 (logb_test): Likewise.
6146 (logb_test_downward): Likewise.
6147 (lround_test): Likewise.
6148 (llround_test): Likewise.
6149 (modf_test): Likewise.
6150 (nearbyint_test): Likewise.
6151 (nextafter_test): Likewise.
6152 (nexttoward_test): Likewise.
6153 (pow_test): Likewise.
6154 (pow_test_tonearest): Likewise.
6155 (pow_test_towardzero): Likewise.
6156 (pow_test_downward): Likewise.
6157 (pow_test_upward): Likewise.
6158 (remainder_test): Likewise.
6159 (remainder_test_tonearest): Likewise.
6160 (remainder_test_towardzero): Likewise.
6161 (remainder_test_downward): Likewise.
6162 (remainder_test_upward): Likewise.
6163 (remquo_test): Likewise.
6164 (rint_test): Likewise.
6165 (rint_test_tonearest): Likewise.
6166 (rint_test_towardzero): Likewise.
6167 (rint_test_downward): Likewise.
6168 (rint_test_upward): Likewise.
6169 (round_test): Likewise.
6170 (scalb_test): Likewise.
6171 (scalbn_test): Likewise.
6172 (scalbln_test): Likewise.
6173 (signbit_test): Likewise.
6174 (sin_test): Likewise.
6175 (sin_test_tonearest): Likewise.
6176 (sin_test_towardzero): Likewise.
6177 (sin_test_downward): Likewise.
6178 (sin_test_upward): Likewise.
6179 (sincos_test): Likewise.
6180 (sinh_test): Likewise.
6181 (sinh_test_tonearest): Likewise.
6182 (sinh_test_towardzero): Likewise.
6183 (sinh_test_downward): Likewise.
6184 (sinh_test_upward): Likewise.
6185 (sqrt_test): Likewise.
6186 (tan_test): Likewise.
6187 (tan_test_tonearest): Likewise.
6188 (tan_test_towardzero): Likewise.
6189 (tan_test_downward): Likewise.
6190 (tan_test_upward): Likewise.
6191 (tanh_test): Likewise.
6192 (tgamma_test): Likewise.
6193 (trunc_test): Likewise.
6194 (y0_test): Likewise.
6195 (y1_test): Likewise.
6196 (yn_test): Likewise.
6197 (significand_test): Likewise.
6198
bae143d2
OB
61992013-05-24 Ondřej Bílka <neleai@seznam.cz>
6200
6201 [BZ #15381]
6202 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6203
9323d39b
EM
62042013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6205
d4ea44a0 6206 [BZ #14894]
9323d39b
EM
6207 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6208 __ppc_mdoio and __ppc_mdoom.
6209 * manual/platform.texi: Document new functions __ppc_yield,
6210 __ppc_mdoio and __ppc_mdoom.
6211
13e23af7
CD
62122013-05-22 Carlos O'Donell <carlos@redhat.com>
6213
6214 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6215 (main): Mention "tls" pseudo-hwcap is legacy.
6216 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6217
351fe550
JM
62182013-05-22 Joseph Myers <joseph@codesourcery.com>
6219
6220 * math/gen-libm-test.pl (parse_args): Output only string of
6221 arguments as text for test name, not full call or descriptions of
6222 tests for extra outputs.
6223 (generate_testfile): Do not pass function name to parse_args.
6224 Generate this_func variable from START.
6225 * math/libm-test.inc (struct test_f_f_data): Rename test_name
6226 field to arg_str.
6227 (struct test_ff_f_data): Likewise.
6228 (test_ff_f_data_nexttoward): Likewise.
6229 (struct test_fi_f_data): Likewise.
6230 (struct test_fl_f_data): Likewise.
6231 (struct test_if_f_data): Likewise.
6232 (struct test_fff_f_data): Likewise.
6233 (struct test_c_f_data): Likewise.
6234 (struct test_f_f1_data): Likewise. Remove field extra_name.
6235 (struct test_fF_f1_data): Likewise.
6236 (struct test_ffI_f1_data): Likewise.
6237 (struct test_c_c_data): Rename test_name field to arg_str.
6238 (struct test_cc_c_data): Likewise.
6239 (struct test_f_i_data): Likewise.
6240 (struct test_ff_i_data): Likewise.
6241 (struct test_f_l_data): Likewise.
6242 (struct test_f_L_data): Likewise.
6243 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
6244 and extra2_name.
6245 (COMMON_TEST_SETUP): New macro.
6246 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6247 (COMMON_TEST_CLEANUP): Likewise.
6248 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6249 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
6250 macros.
6251 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6252 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
6253 macros.
6254 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6255 (RUN_TEST_fff_f): Take argument string. Call new setup and
6256 cleanup macros.
6257 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6258 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
6259 macros.
6260 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6261 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
6262 macros.
6263 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6264 (RUN_TEST_fF_f1): Take argument string. Call new setup and
6265 cleanup macros.
6266 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6267 (RUN_TEST_fI_f1): Take argument string. Call new setup and
6268 cleanup macros.
6269 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6270 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
6271 cleanup macros.
6272 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6273 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
6274 macros.
6275 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6276 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
6277 macros.
6278 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6279 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
6280 macros.
6281 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6282 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
6283 cleanup macros.
6284 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6285 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
6286 cleanup macros.
6287 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6288 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
6289 macros.
6290 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6291 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
6292 cleanup macros.
6293 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6294 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
6295 macros.
6296 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6297 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
6298 macros.
6299 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6300 (RUN_TEST_fFF_11): Take argument string. Call new setup and
6301 cleanup macros.
6302 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6303
85118d4d
EBM
63042013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6305
6306 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6307 to _sifields.sigfault.
6308 (si_addr_lsb): Define new macro.
6309 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6310 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6311 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6312
7a44c18f
CD
63132013-05-03 Carlos O'Donell <carlos at redhat.com>
6314
6315 [BZ #15441]
6316 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6317 returns -1.
6318 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6319 null return -1.
6320 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6321 loading the domain.
6322
b50a7181
JM
63232013-05-22 Joseph Myers <joseph@codesourcery.com>
6324
6325 * math/gen-libm-test.pl (parse_args): Do not include expected
6326 result in test name.
6327 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6328 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6329 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6330 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6331 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6332 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6333
051063c8
SP
63342013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6335
3ce9e010
SP
6336 * benchtests/Makefile: Sort function entries.
6337
051063c8
SP
6338 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6339 tanh, asinh, acosh, atanh.
6340 * benchtests/acos-inputs: New file.
6341 * benchtests/acosh-inputs: New file.
6342 * benchtests/asin-inputs: New file.
6343 * benchtests/asinh-inputs: New file.
6344 * benchtests/atanh-inputs: New file.
6345 * benchtests/cosh-inputs: New file.
6346 * benchtests/log-inputs: New file.
6347 * benchtests/sinh-inputs: New file.
6348 * benchtests/tanh-inputs: New file.
6349
47c22455
DL
63502013-05-21 Dmitry V. Levin <ldv@altlinux.org>
6351
6352 [BZ #15339]
6353 * posix/tst-getaddrinfo4.c: New test.
6354 * posix/Makefile (tests): Add it.
6355
3d04f5db
SP
63562013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6357
6358 [BZ #15339]
6359 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6360 when no services were used.
6361 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6362 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6363
d5dd6189
AS
63642013-05-21 Andreas Schwab <schwab@suse.de>
6365
6366 [BZ #15014]
6367 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6368 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6369 successful.
6370 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
6371 redundant variable declarations and reallocation of buffer when
6372 parsing as IPv6 address. Always set NSS status when called from
6373 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
6374 buffer too small. Correct computation of needed size.
6375 * nss/Makefile (tests): Add test-digits-dots.
6376 * nss/test-digits-dots.c: New test.
6377
fef94eab
SP
63782013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6379
6380 * benchtests/Makefile: Remove instructions for adding
6381 benchmark tests.
6382 * benchtests/README: New file to explain how to execute and
6383 enhance the benchmark tests.
6384
e39adf43
AS
63852013-05-21 Andreas Schwab <schwab@suse.de>
6386
6387 [BZ #15493]
6388 * setjmp/Makefile (tests): Add tst-sigsetjmp.
6389 * setjmp/tst-sigsetjmp.c: New test.
6390
b2b671b6
OB
63912013-05-20 Ondřej Bílka <neleai@seznam.cz>
6392
6393 * sysdeps/x86_64/memset.S (memset): New implementation.
6394 (__bzero): Likewise.
6395 (__memset_tail): New function.
6396
2d48b41c
OB
63972013-05-20 Ondřej Bílka <neleai@seznam.cz>
6398
6399 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6400 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6401 __memcpy_sse2_unaligned ifunc selection.
6402 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6403 Add memcpy-sse2-unaligned.S.
6404 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6405 Add: __memcpy_sse2_unaligned.
6406
f16cc3eb
JM
64072013-05-19 Joseph Myers <joseph@codesourcery.com>
6408
3e694268
JM
6409 [BZ #15490]
6410 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6411 math_force_eval before restoring floating-point envrionment.
6412 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6413 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6414 Likewise.
6415 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6416 <math_private.h>.
6417 (__nearbyintl): Use math_force_eval before restoring
6418 floating-point environment.
6419 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6420
db62a907
JM
6421 * math/gen-libm-test.pl (special_functions): Remove.
6422 (parse_args): Don't handle TEST_extra. Handle functions with no
6423 return value.
6424 * math/libm-test.inc (struct test_sincos_data): Replace with
6425 struct test_fFF_11_data.
6426 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6427 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6428 (sincos_test_data): Change element type to struct
6429 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
6430 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6431 RUN_TEST_LOOP_sincos.
6432 * math/README.libm-test: Don't mention special handling of
6433 individual functions.
6434 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6435 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6436 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6437 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6438 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6440
f16cc3eb
JM
6441 * math/gen-libm-test.pl (get_variable): Remove function.
6442 (parse_args): Don't show pointer parameters to call in test
6443 names. Use "extra output N" in test names for extra outputs
6444 rather than naming variables.
6445
3779b5b6
JM
64462013-05-18 Joseph Myers <joseph@codesourcery.com>
6447
2ee094ff
JM
6448 [BZ #15488]
6449 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6450 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6451 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6452 double tests.
6453 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6454 disable.
6455 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6456 check_long_double.
6457
3779b5b6
JM
6458 * math/gen-libm-test.pl (@tests): Remove variable.
6459 ($count): Likewise.
6460 (new_test): Remove function.
6461 (show_exceptions): New function.
6462 (special_functions): Use show_exceptions instead of new_test.
6463 (parse_args): Likewise.
6464 (generate_testfile): Pass only function name in generated call to
6465 print_max_error or print_complex_max_error.
6466 (get_ulps): Do not handle complex tests specially.
6467 (output_test): Rename to ...
6468 (get_all_ulps_for_test): ... this. Return a string rather than
6469 printing to a file. Require ulps to be present.
6470 (output_ulps): Generate arrays rather than #defines.
6471 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6472 (struct ulp_data): New type.
6473 (BUILD_COMPLEX_ULP): Remove macro.
6474 (compare_ulp_data): New function.
6475 (find_ulps): Likewise.
6476 (find_test_ulps): Likewise.
6477 (find_function_ulps): Likewise.
6478 (find_complex_function_ulps): Likewise.
6479 (print_max_error): Determine allowed ulps using
6480 find_function_ulps.
6481 (print_complex_max_error): Determine allowed ulps using
6482 find_complex_function_ulps.
6483 (check_float_internal): Determine max ulps using find_test_ulps.
6484 (check_float): Do not take max_ulp parameter. Update call to
6485 check_float_internal.
6486 (check_complex): Likewise.
6487 (check_int): Do not take max_ulp parameter.
6488 (check_long): Likewise.
6489 (check_bool): Likewise.
6490 (check_longlong): Likewise.
6491 (struct test_f_f_data): Remove max_ulp field.
6492 (struct test_ff_f_data): Likewise.
6493 (struct test_ff_f_data_nexttoward): Likewise.
6494 (struct test_fi_f_data): Likewise.
6495 (struct test_fl_f_data): Likewise.
6496 (struct test_if_f_data): Likewise.
6497 (struct test_fff_f_data): Likewise.
6498 (struct test_c_f_data): Likewise.
6499 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6500 (struct test_fF_f1_data): Likewise.
6501 (struct test_ffI_f1_data): Likewise.
6502 (struct test_c_c_data): Remove max_ulp field.
6503 (struct test_cc_c_data): Likewise.
6504 (struct test_f_i_data): Likewise.
6505 (struct test_ff_i_data): Likewise.
6506 (struct test_f_l_data): Likewise.
6507 (struct test_f_L_data): Likewise.
6508 (struct test_sincos_data): Likewise.
6509 (RUN_TEST_f_f): Do not handle ulps.
6510 (RUN_TEST_LOOP_f_f): Likewise.
6511 (RUN_TEST_2_f): Likewise.
6512 (RUN_TEST_LOOP_2_f): Likewise.
6513 (RUN_TEST_fff_f): Likewise.
6514 (RUN_TEST_LOOP_fff_f): Likewise.
6515 (RUN_TEST_c_f): Likewise.
6516 (RUN_TEST_LOOP_c_f): Likewise.
6517 (RUN_TEST_f_f1): Likewise.
6518 (RUN_TEST_LOOP_f_f1): Likewise.
6519 (RUN_TEST_fF_f1): Likewise.
6520 (RUN_TEST_LOOP_fF_f1): Likewise.
6521 (RUN_TEST_fI_f1): Likewise.
6522 (RUN_TEST_LOOP_fI_f1): Likewise.
6523 (RUN_TEST_ffI_f1): Likewise.
6524 (RUN_TEST_LOOP_ffI_f1): Likewise.
6525 (RUN_TEST_c_c): Likewise.
6526 (RUN_TEST_LOOP_c_c): Likewise.
6527 (RUN_TEST_cc_c): Likewise.
6528 (RUN_TEST_LOOP_cc_c): Likewise.
6529 (RUN_TEST_f_i): Likewise.
6530 (RUN_TEST_LOOP_f_i): Likewise.
6531 (RUN_TEST_f_i_tg): Likewise.
6532 (RUN_TEST_LOOP_f_i_tg): Likewise.
6533 (RUN_TEST_ff_i_tg): Likewise.
6534 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6535 (RUN_TEST_f_b): Likewise.
6536 (RUN_TEST_LOOP_f_b): Likewise.
6537 (RUN_TEST_f_b_tg): Likewise.
6538 (RUN_TEST_LOOP_f_b_tg): Likewise.
6539 (RUN_TEST_f_l): Likewise.
6540 (RUN_TEST_LOOP_f_l): Likewise.
6541 (RUN_TEST_f_L): Likewise.
6542 (RUN_TEST_LOOP_f_L): Likewise.
6543 (RUN_TEST_sincos): Likewise.
6544 (RUN_TEST_LOOP_sincos): Likewise.
6545
8269107f
JM
65462013-05-17 Joseph Myers <joseph@codesourcery.com>
6547
bb38759d
JM
6548 [BZ #15480]
6549 [BZ #15485]
6550 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6551 main case of finite arguments, set rounding mode to FE_TONEAREST
6552 and discard exceptions.
6553 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6554 exceptions.
6555 (remainder_tonearest_test_data): New variable.
6556 (remainder_test_tonearest): New function.
6557 (remainder_towardzero_test_data): New variable.
6558 (remainder_test_towardzero): New function.
6559 (remainder_downward_test_data): New variable.
6560 (remainder_test_downward): New function.
6561 (remainder_upward_test_data): New variable.
6562 (remainder_test_upward): New function.
6563 (main): Call the new test functions.
6564
a00bdcf0
JM
6565 * math/libm-test.inc (struct test_f_f1_data): Remove field
6566 extra_init.
6567 (struct test_fF_f1_data): Likewise.
6568 (struct test_ffI_f1_data): Likewise.
6569 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6570 based on value of EXTRA_EXPECTED.
6571 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6572 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6573 EXTRA_VAR based on value of EXTRA_EXPECTED.
6574 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6575 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6576 EXTRA_VAR based on value of EXTRA_EXPECTED.
6577 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6578 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6579 EXTRA_VAR based on value of EXTRA_EXPECTED.
6580 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6581 * math/gen-libm-test.pl (parse_args): Don't output initializers
6582 for extra output values.
6583
de407f79
JM
6584 * math/libm-test.inc (check_int): Expect result to be exactly
6585 equal to expected value and do not handle ulps.
6586 (check_long): Likewise.
6587 (check_longlong): Likewise.
6588
8269107f
JM
6589 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6590 exceptions.
6591 (cimag_test_data): Likewise.
6592 (conj_test_data): Likewise.
6593 (copysign_test_data): Likewise.
6594 (cproj_test_data): Likewise.
6595 (creal_test_data): Likewise.
6596 (fabs_test_data): Likewise.
6597 (fdim_test_data): Likewise.
6598 (finite_test_data): Likewise.
6599 (floor_test_data): Likewise.
6600 (fmax_test_data): Likewise.
6601 (fmin_test_data): Likewise.
6602 (fmod_test_data): Likewise.
6603 (fpclassify_test_data): Likewise.
6604 (frexp_test_data): Likewise.
6605 (ilogb_test_data): Likewise.
6606 (isfinite_test_data): Likewise.
6607 (isgreater_test_data): Likewise.
6608 (isgreaterequal_test_data): Likewise.
6609 (isinf_test_data): Likewise.
6610 (isless_test_data): Likewise.
6611 (islessequal_test_data): Likewise.
6612 (islessgreater_test_data): Likewise.
6613 (isnan_test_data): Likewise.
6614 (isnormal_test_data): Likewise.
6615 (issignaling_test_data): Likewise.
6616 (isunordered_test_data): Likewise.
6617 (ldexp_test_data): Likewise.
6618 (lrint_test_data): Likewise.
6619 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6620 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6621 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6622 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6623 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6624 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6625 test input.
6626 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6627 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6628 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6629 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6630 that test input.
6631 (lrint_downward_test_data): Test for "inexact" exceptions.
6632 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6633 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6634 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6635 test input.
6636 (lrint_upward_test_data): Test for "inexact" exceptions.
6637 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6638 test input.
6639 (llrint_test_data): Test for "inexact" exceptions.
6640 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6641 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6642 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6643 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6644 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6645 (llrint_downward_test_data): Test for "inexact" exceptions.
6646 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6647 (llrint_upward_test_data): Test for "inexact" exceptions.
6648 (logb_test_data): Likewise.
6649 (logb_downward_test_data): Likewise.
6650 (nextafter_test_data): Likewise.
6651 (nexttoward_test_data): Likewise.
6652 (remainder_test_data): Likewise.
6653 (remquo_test_data): Likewise.
6654 (scalbn_test_data): Likewise.
6655 (scalbln_test_data): Likewise.
6656 (signbit_test_data): Likewise.
6657 (sqrt_test_data): Likewise.
6658 (significand_test_data): Likewise.
6659
48a18de1
SP
66602013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6661
6662 [BZ #15424]
6663 * benchtests/bench-modf.c (struct args): Mark arg0 as
6664 volatile.
6665 * scripts/bench.pl: Mark members of struct args as volatile.
6666
13d3b41a
AZ
66672013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6668
68191c1d 6669 [BZ # 15497]
13d3b41a
AZ
6670 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6671 negative infinity on POWER6 or lower.
6672 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6673
2848b105
MR
66742013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6675
6676 [BZ #15442]
6677 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6678 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6679 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6680 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6681 (_FP_SETQNAN): New macro.
6682 (_FP_SETQNAN_SEMIRAW): Likewise.
6683 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6684 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6685 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6686 (FP_EXTEND): Use _FP_FRAC_SNANP.
6687 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6688 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6689 into account.
6690 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6691 New macro.
6692 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6693 Likewise.
6694
323e5cb7
JM
66952013-05-16 Joseph Myers <joseph@codesourcery.com>
6696
c58b274f
JM
6697 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6698 with DIVIDE_BY_ZERO_EXCEPTION.
6699 (gamma_test_data): Likewise.
6700 (lgamma_test_data): Likewise.
6701 (log_test_data): Likewise.
6702 (log10_test_data): Likewise.
6703 (log2_test_data): Likewise.
6704 (tgamma_test_data): Likewise.
6705
0ab34904
JM
6706 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6707 (acos_test_tonearest): Likewise.
6708 (acos_test_towardzero): Likewise.
6709 (acos_test_downward): Likewise.
6710 (acos_test_upward): Likewise.
6711 (acosh_test): Likewise.
6712 (asin_test): Likewise.
6713 (asin_test_tonearest): Likewise.
6714 (asin_test_towardzero): Likewise.
6715 (asin_test_downward): Likewise.
6716 (asin_test_upward): Likewise.
6717 (asinh_test): Likewise.
6718 (atan_test): Likewise.
6719 (atanh_test): Likewise.
6720 (atan2_test): Likewise.
6721 (cabs_test): Likewise.
6722 (cacos_test): Likewise.
6723 (cacosh_test): Likewise.
6724 (casin_test): Likewise.
6725 (casinh_test): Likewise.
6726 (catan_test): Likewise.
6727 (catanh_test): Likewise.
6728 (cbrt_test): Likewise.
6729 (ccos_test): Likewise.
6730 (ccosh_test): Likewise.
6731 (cexp_test): Likewise.
6732 (clog_test): Likewise.
6733 (clog10_test): Likewise.
6734 (cos_test): Likewise.
6735 (cos_test_tonearest): Likewise.
6736 (cos_test_towardzero): Likewise.
6737 (cos_test_downward): Likewise.
6738 (cos_test_upward): Likewise.
6739 (cosh_test): Likewise.
6740 (cosh_test_tonearest): Likewise.
6741 (cosh_test_towardzero): Likewise.
6742 (cosh_test_downward): Likewise.
6743 (cosh_test_upward): Likewise.
6744 (cpow_test): Likewise.
6745 (csin_test): Likewise.
6746 (csinh_test): Likewise.
6747 (csqrt_test): Likewise.
6748 (ctan_test): Likewise.
6749 (ctan_test_tonearest): Likewise.
6750 (ctan_test_towardzero): Likewise.
6751 (ctan_test_downward): Likewise.
6752 (ctan_test_upward): Likewise.
6753 (ctanh_test): Likewise.
6754 (ctanh_test_tonearest): Likewise.
6755 (ctanh_test_towardzero): Likewise.
6756 (ctanh_test_downward): Likewise.
6757 (ctanh_test_upward): Likewise.
6758 (erf_test): Likewise.
6759 (erfc_test): Likewise.
6760 (exp_test): Likewise.
6761 (exp_test_tonearest): Likewise.
6762 (exp_test_towardzero): Likewise.
6763 (exp_test_downward): Likewise.
6764 (exp_test_upward): Likewise.
6765 (exp10_test): Likewise.
6766 (exp2_test): Likewise.
6767 (expm1_test): Likewise.
6768 (fmod_test): Likewise.
6769 (gamma_test): Likewise.
6770 (hypot_test): Likewise.
6771 (j0_test): Likewise.
6772 (j1_test): Likewise.
6773 (jn_test): Likewise.
6774 (lgamma_test): Likewise.
6775 (log_test): Likewise.
6776 (log10_test): Likewise.
6777 (log1p_test): Likewise.
6778 (log2_test): Likewise.
6779 (logb_test_downward): Likewise.
6780 (pow_test): Likewise.
6781 (pow_test_tonearest): Likewise.
6782 (pow_test_towardzero): Likewise.
6783 (pow_test_downward): Likewise.
6784 (pow_test_upward): Likewise.
6785 (remainder_test): Likewise.
6786 (remquo_test): Likewise.
6787 (sin_test): Likewise.
6788 (sin_test_tonearest): Likewise.
6789 (sin_test_towardzero): Likewise.
6790 (sin_test_downward): Likewise.
6791 (sin_test_upward): Likewise.
6792 (sincos_test): Likewise.
6793 (sinh_test): Likewise.
6794 (sinh_test_tonearest): Likewise.
6795 (sinh_test_towardzero): Likewise.
6796 (sinh_test_downward): Likewise.
6797 (sinh_test_upward): Likewise.
6798 (sqrt_test): Likewise.
6799 (tan_test): Likewise.
6800 (tan_test_tonearest): Likewise.
6801 (tan_test_towardzero): Likewise.
6802 (tan_test_downward): Likewise.
6803 (tan_test_upward): Likewise.
6804 (tanh_test): Likewise.
6805 (tgamma_test): Likewise.
6806 (y0_test): Likewise.
6807 (y1_test): Likewise.
6808 (yn_test): Likewise.
6809
323e5cb7
JM
6810 * math/gen-libm-test.pl (adjust_arg): Remove function.
6811 (special_function): Remove argument $in_func. Only handle
6812 generating output for tables of tests, not inside functions.
6813 (parse_args): Likewise.
6814 (generate_testfile): Remove variable $in_func. Update call to
6815 parse_args.
6816 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6817 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6818 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6819 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6820 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6821 (MAX_VALUE_INIT): Rename macro to max_value.
6822 (MIN_VALUE_INIT): Rename macro to min_value.
6823 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6824 (plus_zero): Remove variable.
6825 (minus_zero): Likewise.
6826 (plus_infty): Likewise.
6827 (minus_infty): Likewise.
6828 (qnan_value): Likewise.
6829 (max_value): Likewise.
6830 (min_value): Likewise.
6831 (min_subnorm_value): Likewise.
6832
e054f494
RA
68332013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6834
6835 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6836 uint64_t or uint32_t usage.
6837 * crypt/sha256-block.c: Likewise.
6838 * crypt/sha256-crypt.c: Likewise.
6839 * crypt/sha256.c: Likewise.
6840 * crypt/sha512-block.c: Likewise.
6841 * crypt/sha512-crypt.c: Likewise.
6842 * crypt/sha512.c: Likewise.
6843 * debug/backtrace-tst.c: Likewise.
6844 * debug/pcprofiledump.c: Likewise.
6845 * elf/cache.c: Likewise.
6846 * elf/dl-cache.c: Likewise.
6847 * elf/dl-misc.c: Likewise.
6848 * elf/dl-profile.c: Likewise.
6849 * elf/dl-support.c: Likewise.
6850 * elf/ldconfig.c: Likewise.
6851 * elf/sprof.c: Likewise.
6852 * iconv/dummy-repertoire.c: Likewise.
6853 * iconv/iconv_charmap.c: Likewise.
6854 * iconv/skeleton.c: Likewise.
6855 * iconvdata/8bit-generic.c: Likewise.
6856 * iconvdata/cp737.h: Likewise.
6857 * iconvdata/cp775.h: Likewise.
6858 * iconvdata/ibm1008.h: Likewise.
6859 * iconvdata/ibm1025.h: Likewise.
6860 * iconvdata/ibm1046.h: Likewise.
6861 * iconvdata/ibm1097.h: Likewise.
6862 * iconvdata/ibm1112.h: Likewise.
6863 * iconvdata/ibm1122.h: Likewise.
6864 * iconvdata/ibm1123.h: Likewise.
6865 * iconvdata/ibm1124.h: Likewise.
6866 * iconvdata/ibm1129.h: Likewise.
6867 * iconvdata/ibm1130.h: Likewise.
6868 * iconvdata/ibm1132.h: Likewise.
6869 * iconvdata/ibm1133.h: Likewise.
6870 * iconvdata/ibm1137.h: Likewise.
6871 * iconvdata/ibm1140.h: Likewise.
6872 * iconvdata/ibm1141.h: Likewise.
6873 * iconvdata/ibm1142.h: Likewise.
6874 * iconvdata/ibm1143.h: Likewise.
6875 * iconvdata/ibm1144.h: Likewise.
6876 * iconvdata/ibm1145.h: Likewise.
6877 * iconvdata/ibm1146.h: Likewise.
6878 * iconvdata/ibm1147.h: Likewise.
6879 * iconvdata/ibm1148.h: Likewise.
6880 * iconvdata/ibm1149.h: Likewise.
6881 * iconvdata/ibm1153.h: Likewise.
6882 * iconvdata/ibm1154.h: Likewise.
6883 * iconvdata/ibm1155.h: Likewise.
6884 * iconvdata/ibm1156.h: Likewise.
6885 * iconvdata/ibm1157.h: Likewise.
6886 * iconvdata/ibm1158.h: Likewise.
6887 * iconvdata/ibm1160.h: Likewise.
6888 * iconvdata/ibm1161.h: Likewise.
6889 * iconvdata/ibm1162.h: Likewise.
6890 * iconvdata/ibm1163.h: Likewise.
6891 * iconvdata/ibm1164.h: Likewise.
6892 * iconvdata/ibm1166.h: Likewise.
6893 * iconvdata/ibm1167.h: Likewise.
6894 * iconvdata/ibm12712.h: Likewise.
6895 * iconvdata/ibm1390.h: Likewise.
6896 * iconvdata/ibm1399.h: Likewise.
6897 * iconvdata/ibm16804.h: Likewise.
6898 * iconvdata/ibm4517.h: Likewise.
6899 * iconvdata/ibm4899.h: Likewise.
6900 * iconvdata/ibm4909.h: Likewise.
6901 * iconvdata/ibm4971.h: Likewise.
6902 * iconvdata/ibm5347.h: Likewise.
6903 * iconvdata/ibm803.h: Likewise.
6904 * iconvdata/ibm856.h: Likewise.
6905 * iconvdata/ibm901.h: Likewise.
6906 * iconvdata/ibm902.h: Likewise.
6907 * iconvdata/ibm9030.h: Likewise.
6908 * iconvdata/ibm9066.h: Likewise.
6909 * iconvdata/ibm921.h: Likewise.
6910 * iconvdata/ibm922.h: Likewise.
6911 * iconvdata/ibm9448.h: Likewise.
6912 * iconvdata/isiri-3342.h: Likewise.
6913 * iconvdata/jis0201.h: Likewise.
6914 * include/link.h: Likewise.
6915 * include/netdb.h: Likewise.
6916 * inet/check_native.c: Likewise.
6917 * inet/check_pf.c: Likewise.
6918 * inet/getipv4sourcefilter.c: Likewise.
6919 * inet/getnameinfo.c: Likewise.
6920 * inet/getsourcefilter.c: Likewise.
6921 * inet/htonl.c: Likewise.
6922 * inet/setipv4sourcefilter.c: Likewise.
6923 * inet/setsourcefilter.c: Likewise.
6924 * inet/test-inet6_opt.c: Likewise.
6925 * inet/tst-network.c: Likewise.
6926 * locale/C-collate.c: Likewise.
6927 * locale/C-ctype.c: Likewise.
6928 * locale/C-time.c: Likewise.
6929 * locale/C-translit.h: Likewise.
6930 * locale/loadarchive.c: Likewise.
6931 * locale/programs/3level.h: Likewise.
6932 * locale/programs/charmap.c: Likewise.
6933 * locale/programs/charmap.h: Likewise.
6934 * locale/programs/ld-address.c: Likewise.
6935 * locale/programs/ld-collate.c: Likewise.
6936 * locale/programs/ld-ctype.c: Likewise.
6937 * locale/programs/ld-identification.c: Likewise.
6938 * locale/programs/ld-measurement.c: Likewise.
6939 * locale/programs/ld-messages.c: Likewise.
6940 * locale/programs/ld-monetary.c: Likewise.
6941 * locale/programs/ld-name.c: Likewise.
6942 * locale/programs/ld-numeric.c: Likewise.
6943 * locale/programs/ld-paper.c: Likewise.
6944 * locale/programs/ld-telephone.c: Likewise.
6945 * locale/programs/ld-time.c: Likewise.
6946 * locale/programs/linereader.c: Likewise.
6947 * locale/programs/locale.c: Likewise.
6948 * locale/programs/locarchive.c: Likewise.
6949 * locale/programs/locfile.h: Likewise.
6950 * locale/programs/repertoire.c: Likewise.
6951 * locale/programs/simple-hash.c: Likewise.
6952 * locale/programs/simple-hash.h: Likewise.
6953 * malloc/memusage.c: Likewise.
6954 * malloc/memusagestat.c: Likewise.
6955 * nis/nis_defaults.c: Likewise.
6956 * nis/nis_hash.c: Likewise.
6957 * nis/nis_print.c: Likewise.
6958 * nis/nis_xdr.c: Likewise.
6959 * nscd/connections.c: Likewise.
6960 * nscd/hstcache.c: Likewise.
6961 * nscd/nscd_gethst_r.c: Likewise.
6962 * nscd/nscd_getserv_r.c: Likewise.
6963 * nscd/nscd_helper.c: Likewise.
6964 * nscd/servicescache.c: Likewise.
6965 * nss/makedb.c: Likewise.
6966 * nss/nss_db/db-XXX.c: Likewise.
6967 * nss/nss_db/db-initgroups.c: Likewise.
6968 * nss/nss_db/db-netgrp.c: Likewise.
6969 * nss/nss_files/files-network.c: Likewise.
6970 * nss/nss_files/files-parse.c: Likewise.
6971 * posix/bug-regex5.c: Likewise.
6972 * posix/fnmatch_loop.c: Likewise.
6973 * posix/regcomp.c: Likewise.
6974 * posix/regexec.c: Likewise.
6975 * posix/tst-rfc3484-2.c: Likewise.
6976 * posix/tst-rfc3484-3.c: Likewise.
6977 * posix/tst-rfc3484.c: Likewise.
6978 * resolv/nss_dns/dns-canon.c: Likewise.
6979 * resolv/nss_dns/dns-network.c: Likewise.
6980 * resolv/res_init.c: Likewise.
6981 * resolv/res_mkquery.c: Likewise.
6982 * resolv/tst-aton.c: Likewise.
6983 * stdlib/cxa_atexit.c: Likewise.
6984 * stdlib/cxa_finalize.c: Likewise.
6985 * stdlib/gen-fpioconst.c: Likewise.
6986 * stdlib/strtol_l.c: Likewise.
6987 * string/tst-endian.c: Likewise.
6988 * sunrpc/auth_des.c: Likewise.
6989 * sunrpc/clnt_udp.c: Likewise.
6990 * sunrpc/rtime.c: Likewise.
6991 * sunrpc/svcauth_des.c: Likewise.
6992 * sunrpc/xdr.c: Likewise.
6993 * sunrpc/xdr_intXX_t.c: Likewise.
6994 * sunrpc/xdr_rec.c: Likewise.
6995 * sysdeps/generic/ldconfig.h: Likewise.
6996 * sysdeps/generic/ldsodefs.h: Likewise.
6997 * sysdeps/generic/memusage.h: Likewise.
6998 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
6999 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7000 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7001 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7002 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7003 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7004 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7005 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7006 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7007 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7008 * sysdeps/posix/getaddrinfo.c: Likewise.
7009 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7010 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7011 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7012 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7013 * sysdeps/powerpc/test-gettimebase.c: Likewise.
7014 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7015 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7016 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7017 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7018 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7019 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7020 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7021 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7022 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7023 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7024 * sysdeps/x86_64/dl-tls.h: Likewise.
7025 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7026 * time/alt_digit.c: Likewise.
7027 * time/era.c: Likewise.
7028 * wcsmbs/tst-c16c32-1.c: Likewise.
7029
8c75f674
JM
70302013-05-16 Joseph Myers <joseph@codesourcery.com>
7031
7032 * math/libm-test.inc (struct test_sincos_data): New type.
7033 (RUN_TEST_LOOP_sincos): New macro.
7034 (sincos_test_data): New variable.
7035 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7036
e6e49e59
RH
70372013-05-16 Richard Henderson <rth@redhat.com>
7038
7039 * math/atest-exp2.c (LIMB64): New macro.
7040 (CONSTSZ): New macro.
7041 (mp_exp1, mp_exp_m1, mp_log2): New variables.
7042 (hexdig): Move ...
7043 (print_mpn_fp): ... to function scope.
7044 (read_mpn_hex): Remove.
7045 (get_log2): Remove.
7046 (exp2_mpn): Use mp_log2.
7047 (main): Use mp_exp1.
7048
15c7c18d
JM
70492013-05-16 Joseph Myers <joseph@codesourcery.com>
7050
105a07df
JM
7051 * math/libm-test.inc: Remove comment about not testing "inexact"
7052 exceptions.
7053 (INEXACT_EXCEPTION): New macro.
7054 (NO_INEXACT_EXCEPTION): Likewise.
7055 (INVALID_EXCEPTION_OK): Update value.
7056 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7057 (OVERFLOW_EXCEPTION_OK): Likewise.
7058 (UNDERFLOW_EXCEPTION_OK): Likewise.
7059 (IGNORE_ZERO_INF_SIGN): Likewise.
7060 (ERRNO_UNCHANGED): Likewise.
7061 (ERRNO_EDOM): Likewise.
7062 (ERRNO_ERANGE): Likewise.
7063 (test_exceptions): Handle testing "inexact" exceptions.
7064 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7065 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7066 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7067 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7068 INEXACT_EXCEPTION.
7069 (rint_towardzero_test_data): Likewise.
7070 (rint_downward_test_data): Likewise.
7071 (rint_upward_test_data): Likewise.
7072
e9eee333
JM
7073 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7074 with OVERFLOW_EXCEPTION.
7075 (exp10_test_data): Likewise.
7076 (exp2_test_data): Likewise.
7077 (expm1_test_data): Likewise.
7078 (lgamma_test_data): Likewise.
7079 (pow_test_data): Likewise.
7080 (tgamma_test_data): Likewise.
7081 (yn_test_data): Remove duplicate test of overflow.
7082
1c38ff73
JM
7083 * math/libm-test.inc (struct test_cc_c_data): New type.
7084 (RUN_TEST_LOOP_cc_c): New macro.
7085 (cpow_test_data): New variable.
7086 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7087
15c7c18d
JM
7088 * math/libm-test.inc (struct test_f_L_data): New type.
7089 (RUN_TEST_LOOP_f_L): New macro.
7090 (llrint_test_data): New variable.
7091 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7092 (llrint_tonearest_test_data): New variable.
7093 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7094 (llrint_towardzero_test_data): New variable.
7095 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7096 (llrint_downward_test_data): New variable.
7097 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7098 (llrint_upward_test_data): New variable.
7099 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7100 (llround_test_data): New variable.
7101 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7102
f137ff13
PC
71032013-05-13 Peter Collingbourne <pcc@google.com>
7104
7105 * math/atest-exp2.c (get_log2): Remove const attribute.
7106
3608cb24
JM
71072013-05-15 Joseph Myers <joseph@codesourcery.com>
7108
7109 * math/libm-test.inc (struct test_f_l_data): New type.
7110 (RUN_TEST_LOOP_f_l): New macro.
7111 (lrint_test_data): New variable.
7112 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7113 (lrint_tonearest_test_data): New variable.
7114 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7115 (lrint_towardzero_test_data): New variable.
7116 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7117 (lrint_downward_test_data): New variable.
7118 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7119 (lrint_upward_test_data): New variable.
7120 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7121 (lround_test_data): New variable.
7122 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7123
39b1f617
PC
71242013-05-15 Peter Collingbourne <pcc@google.com>
7125
1deff3dc
PC
7126 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7127 (EXTRACT_WORDS64) Use where appropriate.
7128 (INSERT_WORDS64) Likewise.
7129
791f3ba0
PC
7130 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7131 constraints with x constraints.
7132 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7133
39b1f617
PC
7134 * malloc/obstack.c (_obstack_compat): Add initializer.
7135
12fba011
EM
71362013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
7137
7138 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7139 si_trapno and add si_addr_lsb to _sifields.sigfault.
7140 (si_trapno): Remove macro.
7141 (si_addr_lsb): Define new macro.
7142 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7143
d369f531
JM
71442013-05-15 Joseph Myers <joseph@codesourcery.com>
7145
b861c6c4
JM
7146 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7147 instead of TEST_f_l.
7148 (llrint_test_tonearest): Likewise.
7149 (llrint_test_towardzero): Likewise.
7150 (llrint_test_downward): Likewise.
7151 (llrint_test_upward): Likewise.
7152 (llround_test): Likewise.
7153
7abeee12
JM
7154 * math/libm-test.inc (struct test_f_i_data): Add comment.
7155 (RUN_TEST_LOOP_f_b): New macro.
7156 (RUN_TEST_LOOP_f_b_tg): Likewise.
7157 (finite_test_data): New variable.
7158 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7159 (isfinite_test_data): New variable.
7160 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7161 (isinf_test_data): New variable.
7162 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7163 (isnan_test_data): New variable.
7164 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7165 (isnormal_test_data): New variable.
7166 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7167 (issignaling_test_data): New variable.
7168 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7169 (signbit_test_data): New variable.
7170 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7171
cbe8c4d3
JM
7172 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7173 with INVALID_EXCEPTION.
7174 (acosh_test_data): Likewise.
7175 (asin_test_data): Likewise.
7176 (atanh_test_data): Likewise.
7177 (fmod_test_data): Likewise.
7178 (log_test_data): Likewise.
7179 (log10_test_data): Likewise.
7180 (log2_test_data): Likewise.
7181 (pow_test_data): Likewise.
7182 (sqrt_test_data): Likewise.
7183 (y0_test_data): Likewise.
7184 (y1_test_data): Likewise.
7185 (yn_test_data): Likewise.
7186
5575c0e5
JM
7187 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7188 function contents.
7189
d369f531
JM
7190 * math/libm-test.inc (struct test_ff_i_data): New type.
7191 (RUN_TEST_LOOP_ff_i_tg): New macro.
7192 (isgreater_test_data): New variable.
7193 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7194 (isgreaterequal_test_data): New variable.
7195 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7196 (isless_test_data): New variable.
7197 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7198 (islessequal_test_data): New variable.
7199 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7200 (islessgreater_test_data): New variable.
7201 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7202 (isunordered_test_data): New variable.
7203 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7204
781fd748
DM
72052013-05-14 David S. Miller <davem@davemloft.net>
7206
7207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7208
87aa21df
JM
72092013-05-14 Joseph Myers <joseph@codesourcery.com>
7210
5e908270
JM
7211 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7212
f71172e5
JM
7213 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7214 extra_test to int.
7215 (struct test_f_i_data): Change type of max_ulp to int.
7216
8cfa635a
JM
7217 * math/libm-test.inc (test_ffI_f1_data): New type.
7218 (RUN_TEST_LOOP_ffI_f1): New macro.
7219 (remquo_test_data): New variable.
7220 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7221
2bcb36b2
JM
7222 * setjmp/tst-setjmp-fp.c: New file.
7223 * setjmp/Makefile (tests): Add tst-setjmp-fp.
7224 (link-libm): New variable.
7225 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7226
acbd839a
JM
7227 * math/libm-test.inc (struct test_f_i_data): New type.
7228 (RUN_TEST_LOOP_f_i): New macro.
7229 (RUN_TEST_LOOP_f_i_tg): Likewise.
7230 (fpclassify_test_data): New variable.
7231 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7232 (ilogb_test_data): New variable.
7233 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7234
e414d745
JM
7235 * math/libm-test.inc (scalbln_test): Correct function name in END
7236 call.
7237
d9c2a0fd
JM
7238 * math/libm-test.inc (struct test_f_f1_data): Add comment.
7239 (RUN_TEST_LOOP_fI_f1): New macro.
7240 (frexp_test_data): New variable.
7241 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7242
9dc9095d
JM
7243 * math/libm-test.inc (struct test_fF_f1_data): New type.
7244 (RUN_TEST_LOOP_fF_f1): New macro.
7245 (modf_test_data): New variable.
7246 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7247
87aa21df
JM
7248 * math/libm-test.inc (struct test_f_f1_data): New type.
7249 (RUN_TEST_LOOP_f_f1): New macro.
7250 (gamma_test_data): New variable.
7251 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7252 (lgamma_test_data): New variable.
7253 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7254
141af660
CD
72552013-05-13 Carlos O'Donell <carlos@redhat.com>
7256
7257 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7258 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7259 (main): Comment "tls" pseudo-hwcap.
7260
6d33265c
JM
72612013-05-13 Joseph Myers <joseph@codesourcery.com>
7262
68fc074c
JM
7263 * math/libm-test.inc (struct test_fl_f_data): New type.
7264 (RUN_TEST_LOOP_fl_f): New variable.
7265 (scalbln_test_data): New variable.
7266 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7267
243216e1
JM
7268 * math/libm-test.inc (struct test_fi_f_data): New type.
7269 (RUN_TEST_LOOP_fi_f): New macro.
7270 (ldexp_test_data): New variable.
7271 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7272 (scalbn_test_data): New variable.
7273 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7274
6a1992e2
JM
7275 * math/libm-test.inc (struct test_c_f_data): New type.
7276 (RUN_TEST_LOOP_c_f): New macro.
7277 (cabs_test_data): New variable.
7278 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7279 (carg_test_data): New variable.
7280 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7281 (cimag_test_data): New variable.
7282 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7283 (creal_test_data): New variable.
7284 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7285
0e400df5
JM
7286 * math/libm-test.inc (struct test_if_f_data): New type.
7287 (RUN_TEST_LOOP_if_f): New macro.
7288 (jn_test_data): New variable.
7289 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7290 (yn_test_data): New variable.
7291 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7292
6d33265c
JM
7293 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7294
f98ece5f
AZ
72952013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7296
7297 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7298 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7299
0f7d347b
SP
73002013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7301
43fe811b
SP
7302 * benchtests/Makefile (CPPFLAGS-nonlib): Add
7303 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7304 (bench-deps): Add bench-timing.h.
7305 * benchtests-bench-skeleton.c: Include bench-timing.h.
7306 (main): Use TIMING_* macros instead of clock_gettime.
7307 * benchtests/bench-timing.h: New file.
7308
0f7d347b
SP
7309 [BZ #14582]
7310 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7311 Renamed from _LIB_VERSION.
7312 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7313
601a3a5f
JM
73142013-05-12 Joseph Myers <joseph@codesourcery.com>
7315
4f184d30
JM
7316 * math/libm-test.inc (struct test_fff_f_data): New type.
7317 (RUN_TEST_LOOP_fff_f): New macro.
7318 (fma_test_data): New variable.
7319 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7320 (fma_towardzero_test_data): New variable.
7321 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7322 (fma_downward_test_data): New variable.
7323 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7324 (fma_upward_test_data): New variable.
7325 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7326
08198877
JM
7327 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7328 (struct test_c_c_data): New type.
7329 (RUN_TEST_LOOP_c_c): New macro.
7330 (cacos_test_data): New variable.
7331 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7332 (cacosh_test_data): New variable.
7333 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7334 (casin_test_data): New variable.
7335 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7336 (casinh_test_data): New variable.
7337 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7338 (catan_test_data): New variable.
7339 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7340 (catanh_test_data): New variable.
7341 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7342 (ccos_test_data): New variable.
7343 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7344 (ccosh_test_data): New variable.
7345 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7346 (cexp_test_data): New variable.
7347 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7348 (clog_test_data): New variable.
7349 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7350 (clog10_test_data): New variable.
7351 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7352 (conj_test_data): New variable.
7353 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7354 (cproj_test_data): New variable.
7355 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7356 (csin_test_data): New variable.
7357 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7358 (csinh_test_data): New variable.
7359 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7360 (csqrt_test_data): New variable.
7361 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7362 (ctan_test_data): New variable.
7363 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7364 (ctan_tonearest_test_data): New variable.
7365 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7366 (ctan_towardzero_test_data): New variable.
7367 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7368 (ctan_downward_test_data): New variable.
7369 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7370 (ctan_upward_test_data): New variable.
7371 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7372 (ctanh_test_data): New variable.
7373 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
7374 (ctanh_tonearest_test_data): New variable.
7375 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7376 (ctanh_towardzero_test_data): New variable.
7377 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7378 (ctanh_downward_test_data): New variable.
7379 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7380 (ctanh_upward_test_data): New variable.
7381 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7382 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
7383 of BUILD_COMPLEX.
7384
601a3a5f
JM
7385 * math/libm-test.inc (struct test_ff_f_data): New type.
7386 (struct test_ff_f_data_nexttoward): Likewise.
7387 (RUN_TEST_LOOP_2_f): New macro.
7388 (RUN_TEST_LOOP_ff_f): Likewise.
7389 (atan2_test_data): New variable.
7390 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
7391 (copysign_test_data): New variable.
7392 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
7393 (fdim_test_data): New variable.
7394 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
7395 (fmax_test_data): New variable.
7396 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7397 (fmin_test_data): New variable.
7398 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7399 (fmod_test_data): New variable.
7400 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7401 (hypot_test_data): New variable.
7402 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7403 (nextafter_test_data): New variable.
7404 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7405 (nexttoward_test_data): New variable.
7406 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7407 (pow_test_data): New variable.
7408 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7409 (pow_tonearest_test_data): New variable.
7410 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7411 (pow_towardzero_test_data): New variable.
7412 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7413 (pow_downward_test_data): New variable.
7414 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7415 (pow_upward_test_data): New variable.
7416 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7417 (remainder_test_data): New variable.
7418 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7419 (scalb_test_data): New variable.
7420 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7421 * sysdeps/i386/fpu/libm-test-ulps: Update.
7422
74c57478
JM
74232013-05-11 Joseph Myers <joseph@codesourcery.com>
7424
8329e4da
JM
7425 * math/libm-test.inc (fma_test): Use max_value instead of local
7426 variable fltmax.
7427 (nextafter_test): Likewise.
7428
74c57478
JM
7429 * math/libm-test.inc (acos_towardzero_test_data): New variable.
7430 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7431 (acos_downward_test_data): New variable.
7432 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7433 (acos_upward_test_data): New variable.
7434 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7435 (acosh_test_data): New variable.
7436 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7437 (asin_test_data): New variable.
7438 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7439 (asin_tonearest_test_data): New variable.
7440 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7441 (asin_towardzero_test_data): New variable.
7442 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7443 (asin_downward_test_data): New variable.
7444 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7445 (asin_upward_test_data): New variable.
7446 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7447 (asinh_test_data): New variable.
7448 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7449 (atan_test_data): New variable.
7450 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7451 (atanh_test_data): New variable.
7452 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7453 (cbrt_test_data): New variable.
7454 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7455 (ceil_test_data): New variable.
7456 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7457 (cos_test_data): New variable.
7458 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7459 (cos_tonearest_test_data): New variable.
7460 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7461 (cos_towardzero_test_data): New variable.
7462 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7463 (cos_downward_test_data): New variable.
7464 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7465 (cos_upward_test_data): New variable.
7466 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7467 (cosh_test_data): New variable.
7468 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7469 (cosh_tonearest_test_data): New variable.
7470 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7471 (cosh_towardzero_test_data): New variable.
7472 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7473 (cosh_downward_test_data): New variable.
7474 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7475 (cosh_upward_test_data): New variable.
7476 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7477 (erf_test_data): New variable.
7478 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7479 (erfc_test_data): New variable.
7480 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7481 (exp_test_data): New variable.
7482 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7483 (exp_tonearest_test_data): New variable.
7484 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7485 (exp_towardzero_test_data): New variable.
7486 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7487 (exp_downward_test_data): New variable.
7488 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7489 (exp_upward_test_data): New variable.
7490 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7491 (exp10_test_data): New variable.
7492 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7493 (exp2_test_data): New variable.
7494 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7495 (expm1_test_data): New variable.
7496 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7497 (fabs_test_data): New variable.
7498 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7499 (floor_test_data): New variable.
7500 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7501 (j0_test_data): New variable.
7502 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7503 (j1_test_data): New variable.
7504 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7505 (log_test_data): New variable.
7506 (log_test): Run tests with RUN_TEST_LOOP_f_f.
7507 (log10_test_data): New variable.
7508 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7509 (log1p_test_data): New variable.
7510 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7511 (log2_test_data): New variable.
7512 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7513 (logb_test_data): New variable.
7514 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7515 (logb_downward_test_data): New variable.
7516 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7517 (nearbyint_test_data): New variable.
7518 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7519 (rint_test_data): New variable.
7520 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7521 (rint_tonearest_test_data): New variable.
7522 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7523 (rint_towardzero_test_data): New variable.
7524 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7525 (rint_downward_test_data): New variable.
7526 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7527 (rint_upward_test_data): New variable.
7528 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7529 (round_test_data): New variable.
7530 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7531 (sin_test_data): New variable.
7532 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7533 (sin_tonearest_test_data): New variable.
7534 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7535 (sin_towardzero_test_data): New variable.
7536 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7537 (sin_downward_test_data): New variable.
7538 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7539 (sin_upward_test_data): New variable.
7540 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7541 (sinh_test_data): New variable.
7542 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7543 (sinh_tonearest_test_data): New variable.
7544 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7545 (sinh_towardzero_test_data): New variable.
7546 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7547 (sinh_downward_test_data): New variable.
7548 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7549 (sinh_upward_test_data): New variable.
7550 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7551 (sqrt_test_data): New variable.
7552 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7553 (tan_test_data): New variable.
7554 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7555 (tan_tonearest_test_data): New variable.
7556 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7557 (tan_towardzero_test_data): New variable.
7558 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7559 (tan_downward_test_data): New variable.
7560 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7561 (tan_upward_test_data): New variable.
7562 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7563 (tanh_test_data): New variable.
7564 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7565 (tgamma_test_data): New variable.
7566 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7567 (trunc_test_data): New variable.
7568 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7569 (y0_test_data): New variable.
7570 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7571 (y1_test_data): New variable.
7572 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7573 (significand_test_data): New variable.
7574 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7575
7187d844
CG
75762013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7577
7578 [BZ #12387]
7579 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7580
f63fae73
PT
75812013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7582
7583 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7584
8a67a4b3
AJ
75852013-05-10 Andreas Jaeger <aj@suse.de>
7586
7587 [BZ #15448]
7588 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7589 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7590
51df539d
JM
75912013-05-10 Joseph Myers <joseph@codesourcery.com>
7592
7593 * math/gen-libm-test.pl (adjust_arg): New function.
7594 (special_functions): Handle generating output in both functions
7595 and arrays.
7596 (parse_args): Likewise.
7597 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7598 $in_func argument to parse_args.
7599 * math/libm-test.inc (struct test_f_f_data): New type.
7600 (IF_ROUND_INIT_): New macro.
7601 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7602 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7603 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7604 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7605 (ROUND_RESTORE_): Likewise.
7606 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7607 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7608 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7609 (ROUND_RESTORE_FE_UPWARD): Likewise.
7610 (RUN_TEST_LOOP_f_f): New macro.
7611 (acos_test_data): New variable.
7612 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7613 (acos_tonearest_test_data): New variable.
7614 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7615
5c637fe5
SP
76162013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7617
7618 * benchtests/bench-skeleton.c (startup): Fix coding style.
7619
ab2b9461
JM
76202013-05-10 Joseph Myers <joseph@codesourcery.com>
7621
7622 [BZ #6809]
7623 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7624 negative infinity argument.
7625 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7626 negative infinity argument.
7627 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7628 negative infinity argument.
7629 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7630 domain errors.
7631
4c0fe6fe
FW
76322013-05-10 Florian Weimer <fweimer@redhat.com>
7633
7634 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7635 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7636 * iconv/iconv_prog.c (main): Likewise.
7637 * locale/programs/charmap-dir.c (charmap_readdir)
7638 (fopen_uncompressed): Likewise.
7639 * locale/programs/locfile.c (siblings_uncached)
7640 (write_locale_data): Use lstat64 instead of lstat.
7641 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7642 stat.
7643
a3375d29
AJ
76442013-05-10 Andreas Jaeger <aj@suse.de>
7645
7646 [BZ #15395]
7647 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7648 localization.
7649 Include <locale.h>.
7650
36129722
CD
76512013-05-09 Carlos O'Donell <carlos@redhat.com>
7652
7653 * elf/dl-close.c (_dl_close_worker): Add comments.
7654
faa7f811
JM
76552013-05-09 Joseph Myers <joseph@codesourcery.com>
7656
ed41ffef
JM
7657 [BZ #15359]
7658 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7659 high part of pi/2.
7660 (__ieee754_rem_pio2l): Update comments.
7661
d0213cd0
JM
7662 [BZ #15429]
7663 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7664 high part of pi/2.
7665 (__ieee754_rem_pio2l): Update comments.
7666
0d3e777a
JM
7667 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7668 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7669
24f56066
JM
7670 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7671 M_PI_4l.
7672
faa7f811
JM
7673 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7674 (M_PI_34_LOG10El): Likewise.
7675 (M_PI2_LOG10El): Likewise.
7676 (M_PI4_LOG10El): Likewise.
7677 (M_PI_LOG10El): Likewise.
7678
e9a5e0fd
AZ
76792013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7680
7681 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7682
d8cd06db
JM
76832013-05-08 Joseph Myers <joseph@codesourcery.com>
7684
a0d9f9d7
JM
7685 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7686 (MINUS_ZERO_INIT): Likewise.
7687 (PLUS_INFTY_INIT): Likewise.
7688 (MINUS_INFTY_INIT): Likewise.
7689 (QNAN_VALUE_INIT): Likewise.
7690 (MAX_VALUE_INIT): Likewise.
7691 (MIN_VALUE_INIT): Likewise.
7692 (MIN_SUBNORM_VALUE_INIT): Likewise.
7693 (plus_zero): Initialize with PLUS_ZERO_INIT.
7694 (minus_zero): Initialize with MINUS_ZERO_INIT.
7695 (plus_infty): Initialize with PLUS_INFTY_INIT.
7696 (minus_infty): Initialize with MINUS_INFTY_INIT.
7697 (qnan_value): Initialize with QNAN_VALUE_INIT.
7698 (max_value): Initialize with MAX_VALUE_INIT.
7699 (min_value): Initialize with MIN_VALUE_INIT.
7700 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7701
ae08db3b
JM
7702 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7703 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7704 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7705 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7706
f44bf14a
JM
7707 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7708 (RUN_TEST_2_f): Likewise.
7709 (RUN_TEST_ff_f): Likewise.
7710 (RUN_TEST_fi_f): Likewise.
7711 (RUN_TEST_fl_f): Likewise.
7712 (RUN_TEST_fff_f): Likewise.
7713 (RUN_TEST_c_f): Likewise.
7714 (RUN_TEST_f_f1): Likewise.
7715 (RUN_TEST_fF_f1): Likewise.
7716 (RUN_TEST_fI_f1): Likewise.
7717 (RUN_TEST_ffI_f1): Likewise.
7718 (RUN_TEST_c_c): Likewise.
7719 (RUN_TEST_cc_c): Likewise.
7720 (RUN_TEST_f_i): Likewise.
7721 (RUN_TEST_f_i_tg): Likewise.
7722 (RUN_TEST_ff_i_tg): Likewise.
7723 (RUN_TEST_f_b): Likewise.
7724 (RUN_TEST_f_b_tg): Likewise.
7725 (RUN_TEST_f_l): Likewise.
7726 (RUN_TEST_f_L): Likewise.
7727 (RUN_TEST_sincos): Likewise.
7728 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7729 whether to show exceptions. Do not include ");\n" in return
7730 value.
7731 (special_functions): Output call to RUN_TEST_sincos instead of
7732 check_float calls. Update calls to new_test.
7733 (parse_args): Output call to single RUN_TEST_* macro instead of
7734 check_* calls and other assignments. Update calls to new_test.
7735
d8cd06db
JM
7736 [BZ #2546]
7737 [BZ #2560]
7738 [BZ #5159]
7739 [BZ #15426]
7740 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7741 input to result for tgamma overflow.
7742 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7743 (gamma_coeff): New variable.
7744 (NCOEFF): New macro.
7745 (gamma_positive): New function.
7746 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7747 underflow here. Use gamma_positive instead of exp (lgamma) for
7748 other arguments.
7749 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7750 (gamma_coeff): New variable.
7751 (NCOEFF): New macro.
7752 (gammaf_positive): New function.
7753 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7754 underflow here. Use gamma_positive instead of exp (lgamma) for
7755 other arguments.
7756 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7757 (gamma_coeff): New variable.
7758 (NCOEFF): New macro.
7759 (gammal_positive): New function.
7760 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7761 underflow here. Use gamma_positive instead of exp (lgamma) for
7762 other arguments.
7763 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7764 (gamma_coeff): New variable.
7765 (NCOEFF): New macro.
7766 (gammal_positive): New function.
7767 (__ieee754_gammal_r): Handle positive infinity, overflow and
7768 underflow here. Handle NaN the same as positive infinity. Remove
7769 check x < 0xffffffff for negative integers. Use gamma_positive
7770 instead of exp (lgamma) for other arguments.
7771 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7772 (gamma_coeff): New variable.
7773 (NCOEFF): New macro.
7774 (gammal_positive): New function.
7775 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7776 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7777 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7778 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7779 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7780 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7781 * sysdeps/generic/math_private.h (__gamma_productf): New
7782 prototype.
7783 (__gamma_product): Likewise.
7784 (__gamma_productl): Likewise.
7785 * math/Makefile (libm-calls): Add gamma_product.
7786 * math/libm-test.inc (tgamma_test): Add more tests.
7787 * sysdeps/i386/fpu/libm-test-ulps: Update.
7788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7789
bb7cf681
OB
77902013-05-08 Ondřej Bílka <neleai@seznam.cz>
7791
7792 * benchtests/bench-skeleton.c (main): Preheat CPU.
7793
ba853947
AJ
77942013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7795
7796 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7797
8347c74c
RM
77982013-05-07 Roland McGrath <roland@hack.frob.com>
7799
7800 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7801 and _dl_skip_args_internal.
7802
e8dd4791
CD
78032013-05-07 Carlos O'Donell <carlos@redhat.com>
7804
7805 * manual/message.texi (Message Translation): Talk about users.
7806 Message to key mapping impacts design.
7807
c7405830
RM
78082013-05-06 Roland McGrath <roland@hack.frob.com>
7809
a9173057
RM
7810 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7811
976e2f03
RM
7812 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7813
9723ffc5
RM
7814 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7815 * sysdeps/wordsize-64/glob64.c: ... here.
7816
962e6658
RM
7817 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7818 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7819 New macros.
7820
ee586a6d
RM
7821 * debug/getlogin_r_chk.c: Moved to ...
7822 * login/getlogin_r_chk.c: ... here.
7823 * debug/Makefile (routines): Move getlogin_r_chk to ...
7824 * login/Makefile (routines): ... here.
7825 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7826 * login/Versions (libc: GLIBC_2.4): ... here.
7827
355f9165
RM
7828 * io/poll.c (__poll): Renamed from poll.
7829 Add libc_hidden_def.
7830 (poll): Define as weak alias.
7831
bd9ffde6
RM
7832 * debug/ptsname_r_chk.c: Moved to ...
7833 * login/ptsname_r_chk.c: ... here.
7834 * debug/Makefile (routines): Move ptsname_r_chk to ...
7835 * login/Makefile (routines): ... here.
7836 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7837 * login/Versions (libc: GLIBC_2.4): ... here.
7838
8fb16a04
RM
7839 * posix/getlogin.c: Moved to ...
7840 * login/getlogin.c: ... here.
7841 * posix/getlogin_r.c: Moved to ...
7842 * login/getlogin_r.c: ... here.
7843 * posix/getlogin_r.c: Moved to ...
7844 * login/getlogin_r.c: ... here.
7845 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7846 * login/Makefile (routines): ... here.
7847 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7848 * login/Versions (libc: GLIBC_2.0): ... here.
7849
b99b892f
RM
7850 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7851 (setrlimit): Define as weak alias.
7852
c7405830
RM
7853 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7854 Call __ names for open, ftruncate, and close.
7855 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7856 (truncate): Define as weak alias.
7857
5bf96de5
JM
78582013-05-06 Joseph Myers <joseph@codesourcery.com>
7859
9ea3513c
JM
7860 * math/gen-libm-test.pl (parse_args): Initialize x before each
7861 test of frexp, modf and remquo.
7862
5bf96de5
JM
7863 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7864 test signgam value.
7865
16e616a7
AZ
78662013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7867
7868 [BZ #15418]
7869 [BZ #15419]
7870 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7871 internal tests.
7872 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7873
d5e82754
RM
78742013-05-06 Roland McGrath <roland@hack.frob.com>
7875
7876 * elf/dl-writev.h: New file.
7877 * elf/dl-misc.c: Include it.
7878 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7879 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7880
a7548d41
JM
78812013-05-04 Joseph Myers <joseph@codesourcery.com>
7882
b7dab1e4
JM
7883 * math/libm-test.inc (noXFails): Remove variable.
7884 (noXPasses): Likewise.
7885 (BUILD_COMPLEX_INT): Remove macro.
7886 (print_screen): Remove xfail argument.
7887 (print_screen_max_error): Likewise.
7888 (update_stats): Likewise.
7889 (print_max_error): Likewise. Update calls to other affected
7890 functions.
7891 (print_complex_max_error): Likewise.
7892 (test_single_exception): Update calls to print_screen.
7893 (test_single_errno): Likewise.
7894 (check_float_internal): Remove xfail argument. Update calls to
7895 other affected functions.
7896 (check_float): Likewise.
7897 (check_complex): Likewise.
7898 (check_int): Likewise.
7899 (check_long): Likewise.
7900 (check_bool): Likewise.
7901 (check_longlong): Likewise.
7902 (main): Don't print noXFails and noXPasses.
7903 * math/gen-libm-test.pl (top level): Don't mention expected
7904 failure handling in comment.
7905 (new_test): Don't handle expected failures.
7906 (parse_args): Don't mention expected failure handling in comment.
7907 (generate_testfile): Don't handle expected failures.
7908 (parse_ulps): Likewise.
7909 (print_ulps_file): Likewise.
7910 (get_failure): Remove function.
7911 (output_test): Don't handle expected failures.
7912 * make/README.libm-test: Don't mention expected failure handling.
7913
a7548d41
JM
7914 * math/libm-test.inc (plus_zero): Make const. Add initializer.
7915 (minus_zero): Likewise.
7916 (plus_infty): Likewise.
7917 (minus_infty): Likewise.
7918 (qnan_value): Likewise.
7919 (max_value): Likewise.
7920 (min_value): Likewise.
7921 (min_subnorm_value): Likewise.
7922 (initialize): Do not initialize those variables dynamically.
7923
60bfd54c
RM
79242013-05-03 Roland McGrath <roland@hack.frob.com>
7925
cc0e6ed8
RM
7926 * io/open.c (__open_2): Moved to ...
7927 * io/open_2.c: ... this new file.
7928 * io/open64.c (__open64_2): Moved to ...
7929 * io/open64_2.c: ... this new file.
7930 * io/openat.c (__openat_2): Moved to ...
7931 * io/openat_2.c: ... this new file.
7932 * io/openat64.c (__openat64_2): Moved to ...
7933 * io/openat64_2.c: ... this new file.
7934 * io/Makefile (routines): Add them.
7935 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7936 * sysdeps/unix/sysv/linux/open_2.c: File removed.
7937 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7938 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7939 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7940 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7941 (__openat64): Add hidden_ver.
7942 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7943 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7944
60bfd54c
RM
7945 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7946 Separately conditionalize setting of GLRO(dl_sysinfo) so
7947 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7948 as well, but the actual setting is only under [NEED_DL_SYSINFO].
7949
83e7640f
AZ
79502013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7951
7952 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7953 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7954 definition.
7955 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7956 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7957 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7958 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7959 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7960
d5dc2af3
JM
79612013-05-03 Joseph Myers <joseph@codesourcery.com>
7962
c31a5b1e
JM
7963 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7964 test signgam value.
7965
d5dc2af3
JM
7966 * math/libm-test.inc (hypot_test): Do not use
7967 IGNORE_ZERO_INF_SIGN.
7968
164fd39d
AJ
79692013-05-03 Andreas Jaeger <aj@suse.de>
7970
7971 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7972 Linux 3.9.
7973 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
7974 (PF_MAX): Adjust for VSOCK change.
7975
8237f48c
AZ
79762013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7977
7978 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7979
9df02941
CD
79802013-05-02 Carlos O'Donell <carlos@redhat.com>
7981
7982 [BZ #15264]
7983 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
7984 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
7985 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
7986
d422395e
DM
79872013-05-02 David S. Miller <davem@davemloft.net>
7988
7989 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7990
a07c5731
OB
79912013-05-01 Ondřej Bílka <neleai@seznam.cz>
7992
7993 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
7994
1324e37f
RM
79952013-05-01 Roland McGrath <roland@hack.frob.com>
7996
7997 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
7998
0695940b
RS
79992013-05-01 Richard Smith <richard@metafoo.co.uk>
8000
bb5f27ad 8001 [BZ #14952]
0695940b
RS
8002 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8003 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8004 Use __attribute__ ((__gnu_inline__)).
8005 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8006 Don't use __attribute__ ((__gnu_inline__)).
8007
10de07f5
JM
80082013-05-01 Joseph Myers <joseph@codesourcery.com>
8009
8010 [BZ #15423]
8011 * math/s_catan.c (__catan): Handle small real or imaginary part of
8012 input specially to avoid spurious underflow.
8013 * math/s_catanf.c (__catanf): Likewise.
8014 * math/s_catanh.c (__catanh): Likewise.
8015 * math/s_catanhf.c (__catanhf): Likewise.
8016 * math/s_catanhl.c (__catanhl): Likewise.
8017 * math/s_catanl.c (__catanl): Likewise.
8018 * math/libm-test.inc (catan_test): Add more tests.
8019 (catanh_test): Likewise.
8020 * sysdeps/i386/fpu/libm-test-ulps: Update.
8021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8022
cb4d5414
AZ
80232013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8024
8025 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8026
caf84319
JM
80272013-04-30 Joseph Myers <joseph@codesourcery.com>
8028
8029 [BZ #15416]
8030 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8031 accurately for denominator in atan2.
8032 * math/s_catanf.c (__catanf): Likewise.
8033 * math/s_catanh.c (__catanh): Likewise.
8034 * math/s_catanhf.c (__catanhf): Likewise.
8035 * math/s_catanhl.c (__catanhl): Likewise.
8036 * math/s_catanl.c (__catanl): Likewise.
8037 * math/libm-test.inc (catan_test): Add more tests.
8038 (catanh_test): Likewise.
8039 * sysdeps/i386/fpu/libm-test-ulps: Update.
8040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8041
d569c6ee
SP
80422013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8043
6dbe713d
SP
8044 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8045
f0ee064b
SP
8046 * benchtests/Makefile (bench): Remove slow benchmarks.
8047 * benchtests/atan-inputs: Add slow benchmark inputs.
8048 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8049 (BENCH_FUNC): Accept variant offset.
8050 (VARIANT): Define.
8051 * benchtests/bench-skeleton.c (main): Run benchmark for each
8052 variant.
8053 * benchtests/cos-inputs: Add slow benchmark inputs.
8054 * benchtests/exp-inputs: Likewise.
8055 * benchtests/pow-inputs: Likewise.
8056 * benchtests/sin-inputs: Likewise.
8057 * benchtests/slowatan-inputs: Remove.
8058 * benchtests/slowatan.c: Remove.
8059 * benchtests/slowcos-inputs: Remove.
8060 * benchtests/slowcos.c: Remove.
8061 * benchtests/slowexp-inputs: Remove.
8062 * benchtests/slowexp.c: Remove.
8063 * benchtests/slowpow-inputs: Remove.
8064 * benchtests/slowpow.c: Remove.
8065 * benchtests/slowsin-inputs: Remove.
8066 * benchtests/slowsin.c: Remove.
8067 * benchtests/slowtan-inputs: Remove.
8068 * benchtests/slowtan.c: Remove.
8069 * benchtests/tan-inputs: Add slow benchmark inputs.
8070 * scripts/bench.pl: Parse comments and directives.
8071
d569c6ee
SP
8072 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
8073 in CPPFLAGS.
8074 ($(objpfx)bench-%.c): Remove *-ITER.
8075 * benchtests/bench-modf.c: Remove definition of ITER.
8076 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8077 (main): Loop for DURATION seconds instead of fixed number of
8078 iterations.
8079 * scripts/bench.pl: Don't expect iterations in parameters.
8080
a6a242fe
RM
80812013-04-29 Roland McGrath <roland@hack.frob.com>
8082
8083 * io/fchdir.c (__fchdir): Renamed from fchdir.
8084 (fchdir): Define as weak alias.
8085
f2da7793
JM
80862013-04-29 Joseph Myers <joseph@codesourcery.com>
8087
8088 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8089 (ERRNO_EDOM): Likewise.
8090 (ERRNO_ERANGE): Likewise.
8091 (noErrnoTests): New variable.
8092 (init_max_error): Set errno to 0.
8093 (test_single_errno): New function.
8094 (test_errno): Likewise.
8095 (check_float_internal): Call test_errno. Set errno to 0.
8096 (check_complex): Refer to errno tests in comment.
8097 (check_int): Call test_errno. Set errno to 0.
8098 (check_long): Likewise.
8099 (check_bool): Likewise.
8100 (check_longlong): Likewise.
8101 (cos_test): Use ERRNO_* flags for errno tests instead of
8102 check_int.
8103 (expm1_test): Likewise.
8104 (fmod_test): Likewise.
8105 (ilogb_test): Likewise.
8106 (lgamma_test): Likewise.
8107 (pow_test): Likewise.
8108 (remainder_test): Likewise.
8109 (sin_test): Likewise.
8110 (tan_test): Likewise.
8111 (yn_test): Likewise.
8112 (initialize): Set errno to 0.
8113 (main): Print number of errno tests.
8114 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8115
b1a36ceb
AJ
81162013-04-29 Andreas Jaeger <aj@suse.de>
8117
c3ed8088
AJ
8118 [BZ #15084]
8119 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8120 and RES_USEVC.
8121
f1a24198
AJ
8122 [BZ #15085]
8123 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8124 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8125 unimplemented.
8126
9ce3b2cb
AJ
8127 [BZ #15380]
8128 * stdlib/random.c (__initstate): Return NULL if
8129 __initstate fails.
8130
f1a24198 8131 [BZ #15086]
b1a36ceb
AJ
8132 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8133 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8134 RES_SNGLKUPREOP.
8135
7e7b6f36
AZ
81362013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8137
8138 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8139
4d14f449
JM
81402013-04-29 Joseph Myers <joseph@codesourcery.com>
8141
8142 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8143 of individual tests.
8144 (casin_test): Likewise.
8145 (casinh_test): Likewise.
8146
5b4217d7
JM
81472013-04-27 Joseph Myers <joseph@codesourcery.com>
8148
8149 [BZ #15409]
8150 * math/s_catan.c (__catan): Handle arguments with large real or
8151 imaginary part separately without squaring.
8152 * math/s_catanf.c (__catanf): Likewise.
8153 * math/s_catanh.c (__catanh): Likewise.
8154 * math/s_catanhf.c (__catanhf): Likewise.
8155 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8156 and redefine.
8157 (__catanhl): Handle arguments with large real or imaginary part
8158 separately without squaring.
8159 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8160 and redefine.
8161 (__catanl): Handle arguments with large real or imaginary part
8162 separately without squaring.
8163 * math/libm-test.inc (catan_test): Add more tests.
8164 (catanh_test): Likewise.
8165 * sysdeps/i386/fpu/libm-test-ulps: Update.
8166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8167
4220c3ef
AJ
81682013-04-27 Andreas Jaeger <aj@suse.de>
8169
8170 [BZ #15007]
8171 * stdlib/stdlib.h: Update guards for qecvt.
8172 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8173 <stdlib.h>.
8174
4721b2d1
AM
81752013-04-27 Allan McRae <allan@archlinux.org>
8176
8177 * sysdeps/i386/fpu/libm-test-ulps: Update.
8178
f0302940
JM
81792013-04-26 Joseph Myers <joseph@codesourcery.com>
8180
9457fd95
JM
8181 [BZ #15406]
8182 * math/s_catan.c: Include <float.h>.
8183 (__catan): Ensure underflow exception occurs for underflowed
8184 result.
8185 * math/s_catanf.c: Include <float.h>.
8186 (__catanf): Ensure underflow exception occurs for underflowed
8187 result.
8188 * math/s_catanh.c: Include <float.h>.
8189 (__catanh): Ensure underflow exception occurs for underflowed
8190 result.
8191 * math/s_catanhf.c: Include <float.h>.
8192 (__catanhf): Ensure underflow exception occurs for underflowed
8193 result.
8194 * math/s_catanhl.c: Include <float.h>.
8195 (__catanhl): Ensure underflow exception occurs for underflowed
8196 result.
8197 * math/s_catanl.c: Include <float.h>.
8198 (__catanl): Ensure underflow exception occurs for underflowed
8199 result.
8200 * math/libm-test.inc (catan_test): Add more tests.
8201 (catanh_test): Likewise.
8202
f0302940
JM
8203 [BZ #15405]
8204 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8205 underflowed result.
8206 * math/s_ccoshf.c (__ccoshf): Likewise.
8207 * math/s_ccoshl.c (__ccoshl): Likewise.
8208 * math/s_csin.c (__csin): Likewise.
8209 * math/s_csinf.c (__csinf): Likewise.
8210 * math/s_csinh.c (__csinh): Likewise.
8211 * math/s_csinhf.c (__csinhf): Likewise.
8212 * math/s_csinhl.c (__csinhl): Likewise.
8213 * math/s_csinl.c (__csinl): Likewise.
8214 * math/libm-test.inc (ccos_test): Add more tests.
8215 (ccosh_test): Likewise.
8216 (csin_test): Likewise.
8217 (csinh_test): Likewise.
8218
aa630f59
AZ
82192013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8220
8221 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8222 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8223 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8224 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8225 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8226 powerpc/power5+/fpu folders.
8227 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8228
8229
1b835983
MT
82302013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8231
8232 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8233
73709b26
JM
82342013-04-25 Joseph Myers <joseph@codesourcery.com>
8235
8236 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8237 additions to variable.
8238 [$(config-machine) = x86_64] (modules-names): Likewise.
8239 ($(objpfx)tst-audit3): Remove dependency.
8240 ($(objpfx)tst-audit3.out): Likewise.
8241 ($(objpfx)tst-audit4): Likewise.
8242 ($(objpfx)tst-audit4.out): Likewise.
8243 ($(objpfx)tst-audit5): Likewise.
8244 ($(objpfx)tst-audit5.out): Likewise.
8245 ($(objpfx)tst-audit6): Likewise.
8246 ($(objpfx)tst-audit6.out): Likewise.
8247 ($(objpfx)tst-audit7): Likewise.
8248 ($(objpfx)tst-audit7.out): Likewise.
8249 (tst-audit3-ENV): Remove variable.
8250 (tst-audit4-ENV): Likewise.
8251 (tst-audit5-ENV): Likewise.
8252 (tst-audit6-ENV): Likewise.
8253 (tst-audit7-ENV): Likewise.
8254 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8255 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8256 addition to variable.
8257 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8258 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8259 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8260 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8261 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8262 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8263 tst-audit3, tst-audit4 and tst-audit5.
8264 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8265 tst-audit6 and tst-audit7.
8266 [$(subdir) = elf] (modules-names): Add audit modules for those
8267 tests.
8268 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8269 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8270 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8271 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8272 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8273 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8274 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8275 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8276 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8277 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8278 [$(subdir) = elf] (tst-audit3-ENV): New variable.
8279 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8280 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8281 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8282 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8283 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8284 Likewise.
8285 [$(subdir) = elf && $(config-cflags-avx) = yes]
8286 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8287 [$(subdir) = elf && $(config-cflags-avx) = yes]
8288 (CFLAGS-tst-auditmod4a.c): Likewise.
8289 [$(subdir) = elf && $(config-cflags-avx) = yes]
8290 (CFLAGS-tst-auditmod4b.c): Likewise.
8291 [$(subdir) = elf && $(config-cflags-avx) = yes]
8292 (CFLAGS-tst-auditmod6b.c): Likewise.
8293 [$(subdir) = elf && $(config-cflags-avx) = yes]
8294 (CFLAGS-tst-auditmod6c.c): Likewise.
8295 [$(subdir) = elf && $(config-cflags-avx) = yes]
8296 (CFLAGS-tst-auditmod7b.c): Likewise.
8297 * elf/tst-audit3.c: Move to ...
8298 * sysdeps/x86_64/tst-audit3.c: ... here.
8299 * elf/tst-audit4.c: Move to ...
8300 * sysdeps/x86_64/tst-audit4.c: ... here.
8301 * elf/tst-audit5.c: Move to ...
8302 * sysdeps/x86_64/tst-audit5.c: ... here.
8303 * elf/tst-audit6.c: Move to ...
8304 * sysdeps/x86_64/tst-audit6.c: ... here.
8305 * elf/tst-audit7.c: Move to ...
8306 * sysdeps/x86_64/tst-audit7.c: ... here.
8307 * elf/tst-auditmod3a.c: Move to ...
8308 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8309 * elf/tst-auditmod3b.c: Move to ...
8310 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8311 * elf/tst-auditmod4a.c: Move to ...
8312 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8313 * elf/tst-auditmod4b.c: Move to ...
8314 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8315 * elf/tst-auditmod5a.c: Move to ...
8316 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8317 * elf/tst-auditmod5b.c: Move to ...
8318 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8319 * elf/tst-auditmod6a.c: Move to ...
8320 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8321 * elf/tst-auditmod6b.c: Move to ...
8322 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8323 * elf/tst-auditmod6c.c: Move to ...
8324 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8325 * elf/tst-auditmod7a.c: Move to ...
8326 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8327 * elf/tst-auditmod7b.c: Move to ...
8328 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8329
1ef74943
PP
83302013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8331
8332 [BZ #15366]
8333 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8334 define unconditionally.
8335 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8336 define unconditionally.
8337 (INT8_C, INT16_C, etc.): Likewise.
8338
93fd48c5
MR
83392013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
8340
ae9552cf
MR
8341 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8342 __ehdr_start with hidden visibility.
8343
93fd48c5
MR
8344 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8345
418601aa
CD
83462013-04-24 Carlos O'Donell <carlos@redhat.com>
8347
8348 * math/libm-test.inc (cos_test): Use accurate hex constants.
8349 (sincost_test): Likewise.
8350
2f38fbfe
JM
83512013-04-24 Joseph Myers <joseph@codesourcery.com>
8352
5e221800
JM
8353 * math/libm-test.inc (catan_test): Add more tests.
8354 (catanh_test): Likewise.
8355
77f143fd
JM
8356 * math/s_catanf.c (__catanf): Use suffixed floating-point
8357 constants.
8358 * math/s_catanhf.c (__catanhf): Likewise.
8359 * math/s_catanhl.c (__catanhl): Likewise.
8360 * math/s_catanl.c (__catanl): Likewise.
8361
2f38fbfe
JM
8362 [BZ #15394]
8363 * math/s_catan.c (__catan): Calculate imaginary part of result
8364 with log1p not log unless computing log of number close to 0.
8365 * math/s_catanf.c (__catanf): Likewise.
8366 * math/s_catanl.c (__catanl): Likewise.
8367 * math/s_catanh.c (__catanh): Calculate real part of result with
8368 log1p not log unless computing log of number close to 0.
8369 * math/s_catanhf.c (__catanhf): Likewise.
8370 * math/s_catanhl.c (__catanhl): Likewise.
8371 * math/libm-test.inc (catan_test): Add more tests.
8372 (catanh_test): Likewise.
8373 * sysdeps/i386/fpu/libm-test-ulps: Update.
8374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8375
45d69176
SP
83762013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8377
8378 * benchtests/Makefile: Mention files in which fast and slow
8379 paths of math functions are implemented.
8380
87f51853
RM
83812013-04-23 Roland McGrath <roland@hack.frob.com>
8382
8383 * sysdeps/posix/timespec_get.c: New file.
8384
3c026539
AZ
83852013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8386
8387 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8388 POWER.
8389 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
8390 for POWER.
8391 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8392 powerpc/power5/fpu folders.
8393 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
8394 * benchtests/Makefile: Add modf testcase.
8395 * benchtests/bench-modf.c: New file: Benchmark test for mo
8396
ff491d14
SP
83972013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8398
8399 [BZ #14888]
8400 * time/Makefile (tests): Add tst-strptime-whitespace.
8401 * time/strptime_l.c (get_number): Use ISSPACE.
8402 (__strptime_internal): Likewise.
8403 * time/tst-strptime-whitespace.c: New test case.
8404
7ed3f4e8
AS
84052013-04-23 Andreas Schwab <schwab@linux-m68k.org>
8406
8407 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8408 member.
8409 (_nss_files_init): Set it here.
8410
5c95f7b6
HC
84112013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
8412
8413 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8414 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8415 unsigned.
8416
d34c9158
JBG
84172013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
8418
8419 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8420
2169712d
SP
84212013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8422
8423 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8424 size just once.
8425
29c5de99
DM
84262013-04-21 David S. Miller <davem@davemloft.net>
8427
8428 * po/ru.po: Update Russion translation from translation project.
8429
ccdad15d
AC
84302013-04-17 Adam Conrad <adconrad@0c3.net>
8431
8432 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8433 and setfsgid.
8434
0f122b8d
CD
84352013-04-17 Carlos O'Donell <carlos@redhat.com>
8436
5c5b07da 8437 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 8438 * configure: Regenerate.
5c5b07da 8439 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
8440 Add example to error message.
8441 * sysdeps/i386/configure: Regenerate.
8442
037714dd
SP
84432013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8444
8445 * benchtests/Makefile (bench): Add cos, tan, slowcos and
8446 slowtan.
8447 * benchtests/cos-inputs: New file.
8448 * benchtests/slowcos-inputs: New file.
8449 * benchtests/slowcos.c: New file.
8450 * benchtests/slowtan-inputs: New file.
8451 * benchtests/slowtan.c: New file.
8452 * benchtests/tan-inputs: New file.
8453
e913141d
RM
84542013-04-16 Roland McGrath <roland@hack.frob.com>
8455
8456 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8457 considered kosher.
8458
a2964074
SP
84592013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8460
4856bcd2
SP
8461 * benchtests/Makefile: Include cppflags-iterator.mk to add
8462 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8463
a2964074
SP
8464 * Makefile.in (bench-clean): New target.
8465 * benchtests/Makefile (bench-clean): Likewise.
8466
9fbf9aca
DH
84672013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
8468
8469 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8470
207d1e2a
TS
84712013-04-15 Thomas Schwinge <thomas@codesourcery.com>
8472
8473 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8474
306dfba9
AS
84752013-04-15 Andreas Schwab <schwab@suse.de>
8476
8477 * nscd/grpcache.c (cache_addgr): Properly check for short write.
8478 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8479 * nscd/pwdcache.c (cache_addpw): Likewise.
8480 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
8481 more than recsize.
8482
206a6699
SP
84832013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8484
8485 * benchtests/Makefile (bench): Write all output to
8486 bench-out.tmp together.
8487
0582f6b3
AS
84882013-04-15 Andreas Schwab <schwab@suse.de>
8489
8490 * nscd/nscd.c (main): Don't fork again after closing files.
8491
acb4325f
SP
84922013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8493
5cb26d0a
SP
8494 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8495
acb4325f
SP
8496 * benchtests/Rules (bench-deps): Collect dependencies into a
8497 single variable. Add Makefile to dependencies.
8498 ($(objpfx)bench-%.c): Depend on bench-deps.
8499
47792506
RM
85002013-04-12 Roland McGrath <roland@hack.frob.com>
8501 Xavier Roche <roche+kml2@exalead.com>
8502
8503 [BZ #15361]
8504 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8505 just that it's a file descriptor.
8506 * manual/llio.texi (Synchronizing AIO Operations): Update description
8507 for EBADF error from aio_fsync.
8508
8fc1bee5
SP
85092013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8510
8511 * Rules (bench): Move target definition...
8512 * benchtests/Makefile: ... here.
8513
aba5e333
CD
85142013-04-11 Carlos O'Donell <carlos@redhat.com>
8515
8516 * math/libm-test.inc (cos_test): Fix PI/2 test.
8517 (sincos_test): Likewise.
8518 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8519 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8520
273cdee8
AS
85212013-04-11 Andreas Schwab <schwab@suse.de>
8522
6ecec3b6
AS
8523 [BZ #13988]
8524 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8525 accept exponent character only when digits were seen.
8526 * stdio-common/Makefile (tests): Add bug26.
8527 * stdio-common/bug26.c: New file.
8528
273cdee8
AS
8529 [BZ #14293]
8530 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8531 non-freeable.
8532
8da491f5
SP
85332013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8534
01dc6df9
SP
8535 * Makeconfig (rtld-prefix): Define built linker prefix.
8536 * Rules (run-bench): Use it.
8537 * math/Makefile (run-regen-ulps): Likewise.
8538
8da491f5
SP
8539 * Rules (bench): Remove eval.
8540
abe7f530
SP
85412013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8542 Roland McGrath <roland@hack.frob.com>
8543 Ondrej Bilka <neleai@seznam.cz>
8544
8545 [BZ #15346]
8546 * time/getdate.c: Include ctype.h and alloca.h.
8547 (__getdate_r): Trim leading and trailing spaces of input.
8548 * time/tst-getdate.c (tests): Add tests with leading and
8549 trailing spaces.
8550
61c23e62
RM
85512013-04-08 Roland McGrath <roland@hack.frob.com>
8552
8553 [BZ #14280]
8554 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8555 when computing value.
8556
7208a313
CD
85572013-04-06 Carlos O'Donell <carlos@redhat.com>
8558
085b2d41
CD
8559 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8560 Use testrun.sh to run libm tests.
8561
7208a313
CD
8562 [BZ #15309]
8563 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8564
872c0acd
MM
85652013-04-06 Marko Myllynen <myllynen@redhat.com>
8566
8567 [BZ #15264]
8568 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8569
26510bdd
CD
85702013-04-06 Carlos O'Donell <carlos@redhat.com>
8571
8572 * Makefile.in (regen-ulps): New target.
8573 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8574 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8575 [ifneq (no,$(PERL)] (regen-ulps): New target.
8576 [ifeq (no,$(PERL)] (regen-ulps): New target.
8577 * math/libm-test.inc (ulps_file_name): Define.
8578 (output_dir): New variable.
8579 (options): Add "output-dir" option.
8580 (parse_opt): Handle 'o' case.
8581 (main): If output_dir is non-NULL use it as a prefix
8582 otherwise use "".
8583 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8584
a01f19c8
CD
85852013-04-06 Carlos O'Donell <carlos@redhat.com>
8586
8587 [BZ #10060, #10062]
8588 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8589 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8590 fail configure if __sync_val_compare_and_swap is not inlined.
8591 * sysdeps/i386/configure: Regenerate.
8592 * configure.in: Build for i686 when configured for i386.
8593 * configure: Regenerate.
8594 * README: Remove i386 reference.
8595
b7a329a5
CD
85962013-04-06 Carlos O'Donell <carlos@redhat.com>
8597
8598 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8599 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8600
bf0f50df
TS
86012013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8602
ee091edf
TS
8603 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8604 (lmsnanval): New variables.
8605 (F): Add conversion tests.
8606 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8607 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8608
a8b792d6
TS
8609 * stdio-common/tstdiomisc.c (F): Properly collect individual
8610 tests' results.
8611
a1cbf437
TS
8612 [BZ #14686, #15336]
8613 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8614 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8615 Instead, use input NaN values or generate a qNaN by arithmetic
8616 operation. Also fix bugs to comply with the standard.
8617 * math/libm-test.inc (remainder_test): Add more tests.
8618
8b43a0c9
TS
8619 [BZ #15335, #15342]
8620 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8621 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8622 input NaN values or generate a qNaN by arithmetic operation.
8623
d91da4ce
TS
8624 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8625 unreachable code.
8626
bf0f50df
TS
8627 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8628 definitions.
8629
05e166c8
JM
86302013-04-03 Joseph Myers <joseph@codesourcery.com>
8631
8632 [BZ #14478]
8633 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8634 underflowed result.
8635 * math/s_cexpf.c (__cexpf): Likewise.
8636 * math/s_cexpl.c (__cexpl): Likewise.
8637 * math/libm-test.inc (cexp_test): Add more tests.
8638
1cef1b19
AS
86392013-04-03 Andreas Schwab <schwab@suse.de>
8640
8641 [BZ #15330]
8642 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8643 order arrays from heap if bigger than alloca cutoff.
8644
74d87055
TS
86452013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8646
8647 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8648 (SNAN_TESTS_double): Refer to GCC PR56831.
8649 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8650 GCC PR56828.
8651
d755bba4
SP
86522013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8653
90d5d5bb
SP
8654 * Rules (bench): Move bench.out after the run is complete.
8655
73e0cd5d
SP
8656 * Rules (bench): Echo currently running benchmark.
8657
64aabd4b
SP
8658 * benchtests/Makefile (bench): Add atan and slowatan.
8659 * benchtests/atan-inputs: New file.
8660 * benchtests/slowatan-inputs: New file.
8661 * benchtests/slowatan.c: New file.
8662
c871eccd
SP
8663 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8664 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8665 its value.
8666
d755bba4
SP
8667 [BZ #15305]
8668 * sysdeps/unix/sysv/linux/kernel-features.h
8669 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8670 __ASSUME_XFS_RESTRICTED_CHOWN.
8671 * sysdeps/unix/sysv/linux/pathconf.c
8672 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8673 Save and restore errno.
8674
52ce4860
JM
86752013-04-02 Joseph Myers <joseph@codesourcery.com>
8676
8677 [BZ #15327]
8678 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8679 arguments using __kernel_casinh.
8680 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8681 arguments using __kernel_casinhf.
8682 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8683 arguments using __kernel_casinhl.
8684 * math/libm-test.inc (cacosh_test): Add more tests.
8685 * sysdeps/i386/fpu/libm-test-ulps: Update.
8686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8687
81f311c2
SP
86882013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8689
e7906a47
SP
8690 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8691 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8692
92e3664b
SP
8693 * bench/Makefile (bench): Add sin and slowsin.
8694 * benchtests/sin-inputs: New file.
8695 * benchtests/slowsin-inputs: New file.
8696 * benchtests/slowsin.c: New file.
8697
81f311c2
SP
8698 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8699 (bench): Add slowexp and slowpow.
8700 (exp-ITER): Increase iterations.
8701 (pow-ITER): Likewise.
8702 * benchtests/exp-inputs: Change input.
8703 * benchtests/pow-inputs: Likewise.
8704 * benchtests/slowexp-inputs: New file.
8705 * benchtests/slowexp.c: New file.
8706 * benchtests/slowpow-inputs: New file.
8707 * benchtests/slowpow.c: New file.
8708
ab0f1aa9
AZ
87092013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8710
8711 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8712 instructions.
8713 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8714 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8715 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8716 * benchtests/Makefile: Add rint benchtest.
8717 * benchtests/rint-inputs: Input for rint benchtest.
8718
57267616
TS
87192013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8720
8721 * Versions.def (libm): Add GLIBC_2.18.
8722 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8723 hidden libm prototypes.
8724 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8725 * math/Makefile (libm-calls): Add s_issignaling.
8726 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8727 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8728 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8729 declaration.
8730 * math/math.h [__USE_GNU] (issignaling): New macro.
8731 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8732 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8733 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8734 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8735 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8736 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8737 * manual/arith.texi (issignaling): New section.
8738 * manual/libm-err-tab.pl (@all_functions): Update comment.
8739 * math/gen-libm-test.pl (parse_args): Apply special handling for
8740 issignaling.
8741 * math/libm-test.inc (print_float, issignaling_test): New
8742 functions.
8743 (check_float_internal): Add issignaling checks.
8744 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8745 default definition.
8746 * sysdeps/powerpc/math-tests.h: New file.
8747 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8748 tests.
8749 * math/test-snan.c (TEST_FUNC): Likewise.
8750
6142896d
DM
87512013-03-30 David S. Miller <davem@davemloft.net>
8752
8753 * po/de.po: Update from translation team.
8754
ccc8cadf
JM
87552013-03-30 Joseph Myers <joseph@codesourcery.com>
8756
8757 [BZ #10357]
8758 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8759 imaginary part less than 1.0 and real part less than 0.5
8760 specially.
8761 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8762 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8763 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8764 (cacos_test): Add more tests.
8765 (casin_test): Likewise.
8766 (casinh_test): Likewise.
8767 * sysdeps/i386/fpu/libm-test-ulps: Update.
8768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8769
0f6a8d4b
SP
87702013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8771
0d1029de
SP
8772 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8773 ONE with its value.
8774
c2d94018
SP
8775 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8776 (__pow_mp): Replace ONE and MONE with their values.
8777 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8778 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8779 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8780 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8781 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8782 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8783
27ec37f1
SP
8784 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8785
a64d7e0e
SP
8786 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8787 (__pow_mp): Replace ZERO and MZERO with their values.
8788 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8789 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8790 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8791 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8792 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8793 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8794 (__sqr): Likewise.
8795
d26dd3eb
SP
8796 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8797
0f6a8d4b
SP
8798 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8799
e57b0c61
RM
88002013-03-28 Roland McGrath <roland@hack.frob.com>
8801
8802 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8803 Declare with __attribute__ ((weak)).
8804 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8805 Call __call_tls_dtors only if it's not NULL.
8806
356b3480
RM
88072013-03-28 Roland McGrath <roland@hack.frob.com>
8808
288f7d79
RM
8809 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8810 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8811 magic __ehdr_start linker symbol if it's defined.
8812 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8813 them up here if it was already done.
8814
dc0a0263
RM
8815 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8816 (_dl_aux_init): Use const in cast when setting it.
8817 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8818 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8819 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8820
3d3436ae
RM
8821 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8822 Declare them here.
8823 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8824 * csu/libc-tls.c: Nor here.
8825 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8826
356b3480
RM
8827 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8828 (__libc_message): Never call vsyslog.
8829
b0f1246a
AM
88302013-03-28 Alan Modra <amodra@gmail.com>
8831
8832 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8833 Define as empty.
8834 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8835 Likewise.
8836
fbbe2b9a
AZ
88372013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8838
8839 [BZ #15214]
8840 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8841 underflow.
8842 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8843
1728ab37
SP
88442013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8845
7a86be6e
SP
8846 [BZ #15304]
8847 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8848 Don't add gid passed as argument.
8849
1728ab37
SP
8850 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8851
3a7182a1
JM
88522013-03-27 Joseph Myers <joseph@codesourcery.com>
8853
8854 [BZ #15307]
8855 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8856 imaginary part between 1.0 and 1.5 and real part less than 0.5
8857 specially.
8858 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8859 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8860 * math/libm-test.inc (cacos_test): Add more tests.
8861 (casin_test): Likewise.
8862 (casinh_test): Likewise.
8863 * sysdeps/i386/fpu/libm-test-ulps: Update.
8864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8865
6f2e90e7
SP
88662013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8867
5739f705
SP
8868 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8869 constants.
8870 (norm): Likewise.
8871 (denorm): Likewise.
8872 (__dbl_mp): Likewise.
8873 (add_magnitudes): Likewise.
8874 (sub_magnitudes): Likewise.
8875 (__add): Likewise.
8876 (__sub): Likewise.
8877 (__mul): Likewise.
8878 (__sqr): Likewise.
8879 (__inv): Likewise.
8880 (__dvd): Likewise.
8881
e375e83d
SP
8882 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8883 commented code.
8884 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8885 (__dubcos): Likewise.
8886 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8887 (__ieee754_acos): Likewise.
8888 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8889 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8890 (__exp1): Likewise.
8891 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8892 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8893 (log1): Likewise.
8894 (my_log2): Likewise.
8895 (checkint): Likewise.
8896 * sysdeps/ieee754/dbl-64/e_remainder.c
8897 (__ieee754_remainder): Likewise.
8898 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8899 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8900 (bsloww): Likewise.
8901 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8902
6f2e90e7
SP
8903 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8904 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8905 MANTISSA_STORE_T to store computations on mantissa. Use
8906 macros for rounding and division.
8907 (denorm): Likewise.
8908 (__dbl_mp): Likewise.
8909 (add_magnitudes): Likewise.
8910 (sub_magnitudes): Likewise.
8911 (__mul): Likewise.
8912 (__sqr): Likewise.
8913 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8914 powers of two in terms of TWOPOW macro.
8915 (mp_no): Make type of mantissa as MANTISSA_T.
8916 [!RADIXI]: Define RADIXI.
8917 [!TWO52]: Define TWO52.
8918 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8919
fce14d4e
AZ
89202013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8921
8922 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8923 llroundl symbol when building for PPC32.
8924
9ad027fb
MW
89252013-03-24 Mark H Weaver <mhw@netris.org>
8926
8927 * manual/arith.texi (Normalization Functions): Fix prototypes for
8928 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8929
e42a38dd
AZ
89302013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8931
8932 [BZ #13889]
8933 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8934 high value to check if expl overflow.
8935 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8936 to check for underflow and overflow.
8937 * math/libm-test.inc: Add exp test.
8938
2e0fb521
DL
89392013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8940
8941 [BZ #11120]
8942 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8943 with NOT_IN_libc.
8944
b5784d95
AZ
89452013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8946
8947 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8948 symbol.
8949
5aa4a1a1
TS
89502013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8951
bdef0be7
TS
8952 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8953 wrap blocks consisting of several statements.
8954
5aa4a1a1
TS
8955 * sysdeps/generic/math-tests.h: New file.
8956 * sysdeps/i386/fpu/math-tests.h: Likewise.
8957 * math/test-snan.c: Include it.
8958 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8959
98c48fe5
JM
89602013-03-21 Joseph Myers <joseph@codesourcery.com>
8961
8962 [BZ #15285]
8963 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8964 (__ieee754_j0l): Do not improve calculations using cos of twice
8965 input for inputs above LDBL_MAX / 2.0L.
8966 (__ieee754_y0l): Likewise.
8967 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8968 (__ieee754_j1l): Do not improve calculations using cos of twice
8969 input for inputs above LDBL_MAX / 2.0L.
8970 (__ieee754_y1l): Likewise.
8971 * math/libm-test.inc (j0_test): Add another test.
8972 (j1_test): Likewise.
8973 (y0_test): Likewise.
8974 (y1_test): Likewise.
8975 * sysdeps/i386/fpu/libm-test-ulps: Update.
8976
3775a8bc
SP
89772013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8978
8979 * Rules ($(objpfx)bench-%.c): Include code from a C source
8980 file.
8981
0a1b2ae6
JM
89822013-03-21 Joseph Myers <joseph@codesourcery.com>
8983
8984 [BZ #15287]
8985 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8986 imaginary part 1.0 and real part less than 0.5 specially.
8987 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8988 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8989 * math/libm-test.inc (cacos_test): Add more tests.
8990 (casin_test): Likewise.
8991 (casinh_test): Likewise.
8992 * sysdeps/i386/fpu/libm-test-ulps: Update.
8993 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8994
b33d4ce4
SP
89952013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
8996
8997 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
8998 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
8999
bef0b507
JM
90002013-03-20 Joseph Myers <joseph@codesourcery.com>
9001
9002 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9003 * config.make.in (config-cflags-sse4): Remove variable.
9004 (config-cflags-avx): Likewise.
9005 (config-cflags-sse2avx): Likewise.
9006 (config-cflags-novzeroupper): Likewise.
9007 (config-asflags-i686): Likewise.
9008 (have-mfma4): Likewise.
9009 (have-as-vis3): Likewise.
9010 (MIG): Likewise.
9011 * configure.in (MIG): Do not AC_SUBST.
9012 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9013 (libc_cv_cc_sse4): Do not AC_SUBST.
9014 (libc_cv_cc_avx): Likewise.
9015 (libc_cv_cc_sse2avx): Likewise.
9016 (libc_cv_cc_novzeroupper): Likewise.
9017 (libc_cv_cc_fma4): Likewise.
9018 (libc_cv_as_i686): Likewise.
9019 (libc_cv_sparc_as_vis3): Likewise.
9020 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9021 LIBC_CONFIG_VAR.
9022 (config-asflags-i686): Likewise.
9023 (config-cflags-avx): Likewise.
9024 (config-cflags-sse2avx): Likewise.
9025 (have-mfma4): Likewise.
9026 (config-cflags-novzeroupper): Likewise.
9027 * sysdeps/mach/configure.in (MIG): Likewise.
9028 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9029 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9030 LIBC_CONFIG_VAR.
9031 (config-cflags-avx): Likewise.
9032 (config-cflags-sse2avx): Likewise.
9033 (have-mfma4): Likewise.
9034 (config-cflags-novzeroupper): Likewise.
9035 * configure: Regenerated.
9036 * sysdeps/i386/configure: Likewise.
9037 * sysdeps/mach/configure: Likewise.
9038 * sysdeps/sparc/configure: Likewise.
9039 * sysdeps/x86_64/configure: Likewise.
9040
912cc4b3
RM
90412013-03-20 Roland McGrath <roland@hack.frob.com>
9042
9043 [BZ #14812]
9044 * locale/programs/localedef.c (options): Put N_ translation marker
9045 on argument names, not just descriptions.
9046
04eed2b0
MS
90472013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9048
9049 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9050
a065ceff
OB
90512013-03-20 Ondřej Bílka <neleai@seznam.cz>
9052
9bb2a810 9053 [BZ #14176]
a065ceff
OB
9054 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9055
a600e5ce
RM
90562013-03-19 Roland McGrath <roland@hack.frob.com>
9057
9058 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9059 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9060 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9061 [!BEFORE_ABORT] (before_abort): New function.
9062 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9063 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9064 (writev_for_fatal): New function.
9065 (WRITEV_FOR_FATAL): New macro; call that.
9066 (backtrace_and_maps): New function.
9067 (BEFORE_ABORT): New macro; call that.
9068 (struct str_list): Type removed.
9069 (__libc_message, __libc_fatal): Functions removed.
9070 Include <sysdeps/posix/libc_fatal.c> instead.
9071
6b18bea6
JM
90722013-03-19 Joseph Myers <joseph@codesourcery.com>
9073
9074 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9075 constants.
9076 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9077 double constants.
9078
aaa8cb4b
AS
90792013-03-19 Andreas Schwab <schwab@suse.de>
9080
44673770
AS
9081 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9082 * sysdeps/gnu/configure: Regenerate.
9083
aaa8cb4b
AS
9084 * configure.in: Substitute libc_cv_rtlddir.
9085 * configure: Regenerate.
9086 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9087 * Makeconfig (rtlddir, inst_rtlddir): New variables.
9088 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9089 * elf/Makefile (install-others, CFLAGS-interp.c)
9090 (ldso_install, common-ldd-rewrite): Likewise.
9091 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9092 $(inst_slibdir)/$(rtld-installed-name).
9093 * scripts/rellns-sh: Add -p option.
9094 * Makerules (make-shlib-link): Use rellns-sh to get relative name
9095 for source.
9096
d3cfc668
SP
90972013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9098
9099 * manual/nptl.texi: Renamed to ...
9100 * manual/threads.texi: ... this.
9101 * manual/Makefile (chapters): Update.
9102
0e2b9cdd
RM
91032013-03-18 Roland McGrath <roland@hack.frob.com>
9104
9105 [BZ #14812]
9106 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9107 on argument names, not just descriptions.
0e2b9cdd
RM
9108 * malloc/memusagestat.c (options): Likewise.
9109 * nss/getent.c (options): Likewise.
63270c24
RM
9110
91112013-03-18 Benno Schulenberg <bensberg@justemail.net>
9112
9113 [BZ #14812]
9114 * iconv/iconv_prog.c (options): Put N_ translation marker
9115 on argument names, not just descriptions.
9116 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 9117
b2e1393c
OB
91182013-03-18 Ondrej Bilka <neleai@seznam.cz>
9119
9120 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9121 implementation which is faster on all x86_64 architectures.
9122 Tested on AMD, Intel Nehalem, SNB, IVB.
9123 * sysdeps/x86_64/strnlen.S: Likewise.
9124
9125 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9126 Remove all multiarch strlen and strnlen versions.
9127 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9128 Remove strlen and strnlen related parts.
9129
9130 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9131 Inline strlen part.
9132 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9133
9134 * sysdeps/x86_64/multiarch/strlen.S: Remove.
9135 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9136 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9137 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9138 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9139 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9140
ec4ff04d
CD
91412013-03-17 Carlos O'Donell <carlos@redhat.com>
9142
9143 * manual/memory.texi (Malloc Tunable Parameters):
9144 Sort parameters alphabetically. Add comments for missing entries.
9145
cd18e90a
DM
91462013-03-17 David S. Miller <davem@davemloft.net>
9147
9148 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9149
2a185d32
JM
91502013-03-16 Joseph Myers <joseph@codesourcery.com>
9151
d2f9799e
JM
9152 [BZ #15283]
9153 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9154 for arguments at most half maximum finite value.
9155 * math/libm-test.inc (j0_test): Add more tests.
9156 (j1_test): Likewise.
9157 (y0_test): Likewise.
9158 (y1_test): Likewise.
9159 * sysdeps/i386/fpu/libm-test-ulps: Update.
9160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9161
2a185d32
JM
9162 [BZ #14155]
9163 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9164 1 / x and functions P and Q for arguments above 0x1p256L.
9165 (__ieee754_y0l): Likewise.
9166 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9167 (__ieee754_y1l): Likewise.
9168 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9169 (j1_test): Likewise.
9170 (y0_test): Likewise.
9171 (y1_test): Likewise.
9172
6cbec759
TS
91732013-03-16 Thomas Schwinge <thomas@codesourcery.com>
9174
9175 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9176 variable.
9177
bc16e260
RM
91782013-03-15 Roland McGrath <roland@hack.frob.com>
9179
aefc9b8c
RM
9180 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9181 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9182 zero since it's initialized to EXEC_PAGESIZE.
9183
bc16e260
RM
9184 * sysdeps/unix/sysv/linux/ldsodefs.h
9185 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9186 * sysdeps/generic/ldsodefs.h: ... here.
9187
a57da955
TS
91882013-03-15 Thomas Schwinge <thomas@codesourcery.com>
9189
af00a34d
TS
9190 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9191
495ded2c
TS
9192 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9193 math/test-snan.c.
9194 * math/test-snan.c: Renamed from
9195 sysdeps/powerpc/fpu/test-powerpc-snan.c.
9196 * math/Makefile (tests): Add test-snan.
9197 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9198 test-powerpc-snan.
9199
777b0332
TS
9200 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9201 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9202 functions.
9203 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9204 __builtin_nan family of functions.
9205 * math/libm-test.inc (initialize): Initialize qnan_value with
9206 __builtin_nan family of functions.
9207 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9208 Remove variables.
9209 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9210 Remove functions.
9211 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9212 storage class. Initialize qNaN_var and sNaN_var with
9213 __builtin_nan and __builtin_nans families of functions,
9214 respectively.
9215
64d063b8
TS
9216 * math/libm-test.inc (acosh_test): Also test with qNaN input.
9217 (sqrt_test): Remove duplicate test with qNaN input.
9218 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9219 (round_test, signbit_test, significand_test): Note missing +/-Inf
9220 as well as qNaN tests.
9221
67e971f1
TS
9222 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9223 qNaN_var. Fix a few strings, too.
9224 * math/libm-test.inc (nan_value): Rename to qnan_value.
9225 * math/gen-libm-test.pl (%beautify): Adjust to that.
9226 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9227 * math/test-misc.c (main): Likewise.
9228 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9229 to __qnan_bytes, and __qnan_union, respectively.
9230 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9231 Likewise.
9232 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9233 and lqnanval, respectively.
9234 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9235 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9236 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9237 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9238
64487e12
TS
9239 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9240 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9241 doubles.
9242
e015e27b
TS
9243 * math/test-misc.c (main): Fix copy'n'pastos.
9244 * misc/tst-efgcvt.c (special): Likewise.
9245
a57da955
TS
9246 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9247 Remove declarations.
9248
1e380345
SP
92492013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9250
9251 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9252 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9253 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9254 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9255
ef26eece
AZ
92562013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9257
9258 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9259 macro to return vdso values correctly in IFUNC implementations.
9260 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9261 Optimization by using IFUNC.
9262
8cfdb7e0
SP
92632013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9264 Richard Henderson <rth@redhat.com>
9265 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9266
9267 * Makefile.in (bench): New target.
9268 * NEWS: Mention the benchmark framework.
9269 * Rules (bench): Likewise.
9270 (binaries-bench): Generate binaries for functions to
9271 benchmark.
9272 * benchtests/Makefile: New makefile for benchmark tests.
9273 * benchtests/bench-skeleton.c: New skeleton file for benchmark
9274 programs.
9275 * benchtests/exp-inputs: New input file for EXP function.
9276 * benchtests/pow-inputs: New input file for POW function.
9277 * scripts/bench.pl: New script to generate source files for
9278 benchmark programs.
9279
bcda9880
SP
92802013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9281
d22ca8cd
SP
9282 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9283 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9284 computations on mantissa. Use macros for rounding and
9285 division.
9286 (denorm): Likewise.
9287 (__dbl_mp): Likewise.
9288 (add_magnitudes): Likewise.
9289 (sub_magnitudes): Likewise.
9290 (__mul): Likewise.
9291 (__sqr): Likewise.
9292 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9293 powers of two in terms of TWOPOW macro.
9294 (mp_no): Make type of mantissa as MANTISSA_T.
9295 [!RADIXI]: Define RADIXI.
9296 [!TWO52]: Define TWO52.
9297 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9298
bcda9880
SP
9299 * manual/nptl.texi (cindex): Modify threads to pthreads.
9300
06d5adfb
JM
93012013-03-15 Joseph Myers <joseph@codesourcery.com>
9302
9303 * sysdeps/x86_64/preconfigure: Regenerated.
9304
41c7328e
JM
93052013-03-14 Joseph Myers <joseph@codesourcery.com>
9306
9307 [BZ #14155]
9308 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9309 0x1p28 and above.
9310 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9311 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9312 0x1p28 and above.
9313 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9314 * math/libm-test.inc (j0_test): Do not allow one spurious
9315 underflow exception.
9316 (y1_test): Likewise.
9317
e25cfa60
SP
93182013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9319
0409959c
SP
9320 * manual/Makefile (chapters): Add nptl.
9321 * manual/debug.texi (Debugging Support): Add link to Threads
9322 chapter.
9323 * manual/nptl.texi: New file.
9324
e25cfa60
SP
9325 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9326
58a1335e
PB
93272013-03-14 Petr Baudis <pasky@ucw.cz>
9328
9329 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9330 for non-NULL pointer before the memory validity test. Pointed
9331 out by Holger Brunck <holger.brunck@keymile.com>.
9332
9dc7c64f
AS
93332013-03-13 Andreas Schwab <schwab@suse.de>
9334
9335 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9336 instead of .os.
9337
54206aa6
JM
93382013-03-13 Joseph Myers <joseph@codesourcery.com>
9339
9340 * timezone/zic.c: Update from tzcode 2013b.
9341
e98cdb38
CD
93422013-03-12 Carlos O'Donell <carlos@redhat.com>
9343
9344 * manual/install.texi (Configuring and compiling):
9345 Mention i686 and i586.
9346 * INSTALL: Regenerate.
9347
9967e003
RM
93482013-03-12 Roland McGrath <roland@hack.frob.com>
9349
9350 * sysdeps/init_array/elf-init.c: New file.
9351 * csu/elf-init.c
9352 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9353 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9354
9355 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9356 __gmon_start__ as global, but as static with a .preinit_array pointer.
9357 * sysdeps/init_array/gmon-start.c: New file. Use that.
9358 * sysdeps/init_array/crti.S: New file, empty except for comments.
9359 * sysdeps/init_array/crtn.S: Likewise.
9360
e6b5a293 93612013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
9362
9363 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9364 definining bcopy.
80f844c9
OB
9365 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9366 Remove Prefer_SSE_for_memop.
9367 * sysdeps/x86_64/multiarch/init-arch.h: Remove
9368 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9369 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
9370 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9371 memset-x86-64.
80f844c9 9372 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 9373 Remove bzero, memset ifunc support.
80f844c9
OB
9374 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
9375 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
9376 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9377 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9378
fb6b0fcb
AS
93792013-03-11 Andreas Schwab <schwab@suse.de>
9380
9381 [BZ #15234]
9382 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9383 by SHLIB_COMPAT.
9384 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9385 (GLIBC_2.16): Remove pthread_atfork.
9386
3e6bd4b1
PP
93872013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9388
9389 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
9390 (ptestcases.h): Likewise.
9391
222d7f00
RM
93922013-03-08 Roland McGrath <roland@hack.frob.com>
9393
9394 * Makeconfig ($(common-objpfx)config.status): Depend on
9395 sysdeps/*/preconfigure{,.in} too.
9396
1ba4f030
JM
93972013-03-08 Joseph Myers <joseph@codesourcery.com>
9398
a222d91a
JM
9399 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9400 (__free_hook): Use void * instead of __malloc_ptr_t.
9401 (__malloc_hook): Likewise.
9402 (__realloc_hook): Likewise.
9403 (__memalign_hook): Likewise.
9404 (__after_morecore_hook): Likewise.
9405 * malloc/arena.c (save_malloc_hook): Likewise.
9406 (save_free_hook): Likewise.
9407 * malloc/hooks.c (malloc_hook_ini): Likewise.
9408 (realloc_hook_ini): Likewise.
9409 (memalign_hook_ini): Likewise.
9410 * malloc/malloc.c (malloc_hook_ini): Likewise.
9411 (realloc_hook_ini): Likewise.
9412 (memalign_hook_ini): Likewise.
9413 (__free_hook): Likewise.
9414 (__malloc_hook): Likewise.
9415 (__realloc_hook): Likewise.
9416 (__memalign_hook): Likewise.
9417 (__libc_malloc): Likewise.
9418 (__libc_free): Likewise.
9419 (__libc_realloc): Likewise.
9420 (__libc_memalign): Likewise.
9421 (__libc_valloc): Likewise.
9422 (__libc_pvalloc): Likewise.
9423 (__libc_calloc): Likewise.
9424 (__posix_memalign): Likewise.
9425 * malloc/morecore.c (__sbrk): Likewise.
9426 (__default_morecore): Likewise.
9427
5cc45e10
JM
9428 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9429
dd54b864
JM
9430 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9431 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9432 __malloc_ptrdiff_t.
9433
1ba4f030
JM
9434 * malloc/malloc.h (__malloc_size_t): Remove macro.
9435 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9436 __malloc_size_t.
9437 (old_memalign_hook): Likewise.
9438 (old_realloc_hook): Likewise.
9439 (struct hdr): Likewise.
9440 (flood): Likewise.
9441 (mallochook): Likewise.
9442 (memalignhook): Likewise.
9443 (reallochook): Likewise.
9444 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9445 (tr_old_realloc_hook): Likewise.
9446 (tr_old_memalign_hook): Likewise.
9447 (tr_mallochook): Likewise.
9448 (tr_reallochook): Likewise.
9449 (tr_memalignhook): Likewise.
9450
edf66e57
AZ
94512013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9452
9453 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9454 default_ldbl_pack and using as default implementation.
9455 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9456 implementation.
9457 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9458 redundant definition.
9459 (ldbl_insert_mantissa): Likewise.
9460 (ldbl_canonicalize): Likewise.
9461 (ldbl_nearbyint): Likewise.
9462 (ldbl_pack): Rename to ldbl_pack_ppc.
9463 (ldbl_unpack): Rename to ldbl_unpack_ppc.
9464 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9465 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9466
6d9145d8
SP
94672013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9468
9469 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9470 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9471 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9472 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9473 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9474 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9475 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9476 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9477
4dd4e157
AJ
94782013-03-07 Andreas Jaeger <aj@suse.de>
9479
9480 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9481 bits/mman-linux.h.
9482
adbb8027
SP
94832013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9484
ce544b5b
SP
9485 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9486 Include mpa.h and declare __MPEXP.
9487 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9488 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9489 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9490 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9491 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9492 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9493 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9494
4cc149fd
SP
9495 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9496 (__slowpow): Use long double EXPL and LOGL functions to
9497 compute POW.
9498 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9499 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9500 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9501 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9502 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9503 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9504
e6ebd4a7
SP
9505 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9506 intermediate variable to calculate exponent.
9507 (__sqr): Likewise.
9508 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9509 Likewise.
9510 (__sqr): Likewise.
9511
82a9811d
SP
9512 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9513 [!NO__SQR]: Define __sqr.
9514 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9515 and NO__SQR. Remove all code except __mul and __sqr. Include
9516 sysdeps/ieee754/dbl-64/mpa.c.
9517 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9518
adbb8027
SP
9519 [BZ #12723]
9520 * posix/Makefile (tests): Add tst-pathconf.
9521 * posix/tst-pathconf.c: New test case.
9522 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9523 _PC_PIPE_BUF.
9524 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9525
39120df9
PF
95262013-03-06 Patsy Franklin <pfrankli@redhat.com>
9527
9528 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9529
67525cb8
AJ
95302013-03-06 Andreas Jaeger <aj@suse.de>
9531
664a9ce4
AJ
9532 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9533 definition via __MAP_ANONYMOUS.
9534
8e39047d
AJ
9535 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9536 it's not part of Linux headers.
9537
67525cb8
AJ
9538 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9539 (MAP_HUGE_MASK): Define.
9540
9541 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9542 Define.
9543 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9544 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9545 Define.
9546 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9547 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9548 Define.
9549 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9550 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9551 Define.
9552 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9553
9554 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9555 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9556 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9557 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9558 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9559 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9560
9561 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9562 Handle f2fs.
9563
9564 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9565 Handle f2fs and efivarfs.
9566
9567 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9568 f2fs.
9569
9570 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9571 (EFIVARFS_MAGIC): Add.
9572 (F2FS_LINK_MAX): Add.
9573
e1b42695
PP
95742013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9575
9576 * stdio-common/vfprintf.c: Replace __builtin_expect with
9577 __glibc_unlikely.
9578
2d67d91a
JM
95792013-03-06 Joseph Myers <joseph@codesourcery.com>
9580
9581 [BZ #13550]
9582 * sysdeps/generic/bp-sym.h: Remove file.
9583 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9584 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9585 <bp-sym.h> and <bp-asm.h>.
9586 (__longjmp): Don't use BP_SYM.
9587 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9588 and <bp-asm.h>.
9589 (memcpy): Don't use BP_SYM.
9590 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9591 <bp-sym.h> and <bp-asm.h>.
9592 (memcpy): Don't use BP_SYM.
9593 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9594 <bp-asm.h>.
9595 (memcpy): Don't use BP_SYM.
9596 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9597 <bp-asm.h>.
9598 (memset): Don't use BP_SYM.
9599 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9600 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9601 (__bzero): Don't use BP_SYM.
9602 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9603 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9604 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9605 <bp-sym.h> and <bp-asm.h>.
9606 (memcmp): Don't use BP_SYM. Remove comment about bounded
9607 pointers.
9608 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9609 <bp-sym.h> and <bp-asm.h>.
9610 (memcpy): Don't use BP_SYM.
9611 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9612 <bp-sym.h> and <bp-asm.h>.
9613 (memset): Don't use BP_SYM.
9614 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9615 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9616 (__bzero): Don't use BP_SYM.
9617 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9618 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9619 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9620 <bp-sym.h> and <bp-asm.h>.
9621 (strncmp): Don't use BP_SYM. Remove comment about bounded
9622 pointers.
9623 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9624 <bp-sym.h> and <bp-asm.h>.
9625 (memcpy): Don't use BP_SYM.
9626 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9627 <bp-sym.h> and <bp-asm.h>.
9628 (memset): Don't use BP_SYM.
9629 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9630 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9631 (__bzero): Don't use BP_SYM.
9632 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9633 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9634 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9635 <bp-sym.h> and <bp-asm.h>.
9636 (__memchr): Don't use BP_SYM.
9637 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9638 <bp-sym.h> and <bp-asm.h>.
9639 (memcmp): Don't use BP_SYM. Remove comment about bounded
9640 pointers.
9641 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9642 <bp-sym.h> and <bp-asm.h>.
9643 (memcpy): Don't use BP_SYM.
9644 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9645 <bp-sym.h> and <bp-asm.h>.
9646 (__mempcpy): Don't use BP_SYM.
9647 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9648 <bp-sym.h> and <bp-asm.h>.
9649 (__memrchr): Don't use BP_SYM.
9650 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9651 <bp-sym.h> and <bp-asm.h>.
9652 (memset): Don't use BP_SYM.
9653 (__bzero): Likewise.
9654 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9655 <bp-sym.h> and <bp-asm.h>.
9656 (__rawmemchr): Don't use BP_SYM.
9657 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9658 <bp-sym.h> and <bp-asm.h>.
9659 (__STRCMP): Don't use BP_SYM.
9660 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9661 <bp-sym.h> and <bp-asm.h>.
9662 (strchr): Don't use BP_SYM.
9663 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9664 <bp-sym.h> and <bp-asm.h>.
9665 (__strchrnul): Don't use BP_SYM.
9666 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9667 <bp-sym.h> and <bp-asm.h>.
9668 (strlen): Don't use BP_SYM.
9669 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9670 <bp-sym.h> and <bp-asm.h>.
9671 (strncmp): Don't use BP_SYM. Remove comment about bounded
9672 pointers.
9673 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9674 <bp-sym.h> and <bp-asm.h>.
9675 (__strnlen): Don't use BP_SYM.
9676 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9677 <bp-sym.h> and <bp-asm.h>.
9678 (__GI__setjmp): Don't use BP_SYM.
9679 (_setjmp): Likewise.
9680 (__sigsetjmp): Likewise.
9681 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9682 (L(start_addresses)): Don't use BP_SYM.
9683 (_start): Likewise.
9684 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9685 <bp-asm.h>.
9686 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9687 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9688 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9689 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9690 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9691 <bp-asm.h>.
9692 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9693 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9694 about bounded pointers.
9695 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9696 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9697 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9698 <bp-asm.h>.
9699 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9700 about bounded pointers. Remove GKM FIXME comments.
9701 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9702 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9703 <bp-asm.h>.
9704 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9705 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9706 Remove GKM FIXME comments.
9707 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9708 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9709 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9710 <bp-asm.h>.
9711 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9712 about bounded pointers. Remove GKM FIXME comment.
9713 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9714 and <bp-asm.h>.
9715 (strncmp): Don't use BP_SYM. Remove comment about bounded
9716 pointers.
9717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9718 <bp-sym.h> and <bp-asm.h>.
9719 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9721 <bp-sym.h> and <bp-asm.h>.
9722 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9723 comment.
9724
cdcf361f
PP
97252013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9726
9727 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9728 call free(NULL).
9729
3c4a2b15
DM
97302013-03-05 David S. Miller <davem@davemloft.net>
9731
9732 * po/es.po: Update from translation team.
9733
cdcf361f 97342013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
9735
9736 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9737 <bits/mman-linux.h>.
9738 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9739 is fine.
9740 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9741 <bits/mman-linux.h> to end of file.
9742 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9743 is fine.
9744 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9745 <bits/mman-linux.h> to end of file.
9746 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9747 is fine.
9748 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9749 <bits/mman-linux.h> to end of file.
9750
9751 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9752 (MCL_CURRENT, MCL_FUTURE): Define here.
9753
5f67c04f
AK
97542013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9755
8a4473cc 9756 [BZ #15232]
5f67c04f
AK
9757 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9758 attribute_hidden.
9759 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9760
c3e94a95
AK
97612013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9762
9763 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9764 fourth parameter needed for rt_sigprocmask syscall.
9765 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9766 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9767 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9768 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9769 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9770 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9771
cfb6382a
JM
97722013-03-04 Joseph Myers <joseph@codesourcery.com>
9773
9774 [BZ #13550]
9775 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9776 comment about bounded pointers.
9777 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9778 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9779
539d8e01
AJ
97802013-03-04 Andreas Jaeger <aj@suse.de>
9781
9782 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9783 common definitions.
9784
9785 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9786 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9787 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9788 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9789 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
9790 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9791
2e167a70 97922013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
9793
9794 [BZ #15055]
9795 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9796 __ieee754_sqrl instead of __sqrl.
9797
68508633
JM
97982013-03-01 Joseph Myers <joseph@codesourcery.com>
9799
9800 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9801 * sysdeps/powerpc/fpu_control.h: ... here.
9802 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9803 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9804 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9805 * sysdeps/powerpc/bits/mathinline.h: ... here.
9806
7775448e
RM
98072013-03-01 Roland McGrath <roland@hack.frob.com>
9808
9809 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9810 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9811 to just [NEED_DL_SYSINFO_DSO].
9812 * elf/dl-support.c: Likewise.
9813 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9814 * elf/rtld.c (dl_main): Likewise.
9815 * elf/setup-vdso.h (setup_vdso): Likewise.
9816 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9817 * sysdeps/unix/sysv/linux/dl-sysdep.c
9818 (_dl_discover_osversion): Likewise.
9819
4e9b5995
CD
98202013-03-01 Carlos O'Donell <carlos@redhat.com>
9821
9822 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9823 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9824
e23872c8
SP
98252013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9826
e5c74c63
SP
9827 * NEWS: Mention libm performance improvements and non-x86 PI
9828 futex support.
9829
e23872c8
SP
9830 * csu/libc-start.c (__pthread_initialize_minimal): Change
9831 function arguments.
9832 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9833
b5510883
JM
98342013-02-28 Joseph Myers <joseph@codesourcery.com>
9835
9836 [BZ #13550]
9837 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9838 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9839 <bp-sym.h> and <bp-asm.h>.
9840 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9841 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9842 and <bp-asm.h>.
9843 (memcpy): Don't use BP_SYM.
9844 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9845 <bp-asm.h>.
9846 (__mpn_add_n): Don't use BP_SYM.
9847 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9848 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9849 and <bp-asm.h>.
9850 (__mpn_addmul_1): Don't use BP_SYM.
9851 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9852 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9853 <bp-sym.h>.
9854 (_setjmp): Don't use BP_SYM.
9855 (__novmx_setjmp): Likewise.
9856 (__GI__setjmp): Likewise.
9857 (__vmx_setjmp): Likewise.
9858 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9859 <bp-sym.h>.
9860 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9861 (__bzero): Don't use BP_SYM.
9862 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9863 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9864 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9865 <bp-sym.h> and <bp-asm.h>.
9866 (memcpy): Don't use BP_SYM.
9867 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9868 <bp-sym.h> and <bp-asm.h>.
9869 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9870 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9871 <bp-sym.h> and <bp-asm.h>.
9872 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9873 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9874 <bp-asm.h>.
9875 (__mpn_lshift): Don't use BP_SYM.
9876 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9877 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9878 <bp-asm.h>.
9879 (memset): Don't use BP_SYM.
9880 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9881 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9882 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9883 <bp-asm.h>.
9884 (__mpn_mul_1): Don't use BP_SYM.
9885 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9886 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9887 <bp-sym.h> and <bp-asm.h>.
9888 (memcmp): Don't use BP_SYM.
9889 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9890 <bp-sym.h> and <bp-asm.h>.
9891 (memcpy): Don't use BP_SYM.
9892 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9893 <bp-sym.h> and <bp-asm.h>.
9894 (memset): Don't use BP_SYM.
9895 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9896 <bp-sym.h> and <bp-asm.h>.
9897 (strncmp): Don't use BP_SYM.
9898 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9899 <bp-sym.h> and <bp-asm.h>.
9900 (memcpy): Don't use BP_SYM.
9901 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9902 <bp-sym.h> and <bp-asm.h>.
9903 (memset): Don't use BP_SYM.
9904 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9905 <bp-sym.h> and <bp-asm.h>.
9906 (__memchr): Don't use BP_SYM.
9907 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9908 <bp-sym.h> and <bp-asm.h>.
9909 (memcmp): Don't use BP_SYM.
9910 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9911 <bp-sym.h> and <bp-asm.h>.
9912 (memcpy): Don't use BP_SYM.
9913 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9914 <bp-sym.h> and <bp-asm.h>.
9915 (__mempcpy): Don't use BP_SYM.
9916 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9917 <bp-sym.h> and <bp-asm.h>.
9918 (__memrchr): Don't use BP_SYM.
9919 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9920 <bp-sym.h> and <bp-asm.h>.
9921 (memset): Don't use BP_SYM.
9922 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9923 <bp-sym.h> and <bp-asm.h>.
9924 (__rawmemchr): Don't use BP_SYM.
9925 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9926 <bp-sym.h> and <bp-asm.h>.
9927 (__STRCMP): Don't use BP_SYM.
9928 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9929 <bp-sym.h> and <bp-asm.h>.
9930 (strchr): Don't use BP_SYM.
9931 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9932 <bp-sym.h> and <bp-asm.h>.
9933 (__strchrnul): Don't use BP_SYM.
9934 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9935 <bp-sym.h> and <bp-asm.h>.
9936 (strlen): Don't use BP_SYM.
9937 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9938 <bp-sym.h> and <bp-asm.h>.
9939 (strncmp): Don't use BP_SYM.
9940 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9941 <bp-sym.h> and <bp-asm.h>.
9942 (__strnlen): Don't use BP_SYM.
9943 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9944 <bp-asm.h>.
9945 (__mpn_rshift): Don't use BP_SYM.
9946 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9947 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9948 <bp-sym.h> and <bp-asm.h>.
9949 (__sigsetjmp): Don't use BP_SYM.
9950 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9951 (L(start_addresses)): Don't use BP_SYM.
9952 (_start): Likewise.
9953 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9954 <bp-asm.h>.
9955 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9956 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9957 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9958 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9959 <bp-asm.h>.
9960 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9961 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9962 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9963 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9964 <bp-asm.h>.
9965 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9966 comments.
9967 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9968 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9969 <bp-asm.h>.
9970 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9971 FIXME comments.
9972 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9973 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9974 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
9975 <bp-asm.h>.
9976 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9977 comment.
9978 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
9979 and <bp-asm.h>.
9980 (strncmp): Don't use BP_SYM,
9981 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
9982 <bp-asm.h>.
9983 (__mpn_sub_n): Don't use BP_SYM.
9984 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
9985 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
9986 and <bp-asm.h>.
9987 (__mpn_submul_1): Don't use BP_SYM.
9988 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
9990 <bp-sym.h> and <bp-asm.h>.
9991 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
9993 <bp-sym.h> and <bp-asm.h>.
9994 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9995 comment.
9996
8d19fe64
SP
99972013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9998
9999 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10000 Use ZK to minimize writes to Z.
10001 (sub_magnitudes): Simplify code a bit.
10002 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10003 Use ZK to minimize writes to Z.
10004 (sub_magnitudes): Simplify code a bit.
10005
85bd816a
RM
100062013-02-27 Roland McGrath <roland@hack.frob.com>
10007
10008 * csu/gmon-start.c: Add special exception to license text.
10009
b5977bf2
RH
100102013-02-27 Richard Henderson <rth@redhat.com>
10011
10012 * scripts/config.guess: Update from config.git.
10013 * scripts/config.sub: Likewise.
10014
11d6e2f2
SP
100152013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10016
09c14ed2
SP
10017 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10018
a688864e
SP
10019 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10020
6295157a
SP
10021 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10022
b8de2202
SP
10023 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10024
11d6e2f2
SP
10025 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10026
7e80ddb8
RM
100272013-02-26 Roland McGrath <roland@hack.frob.com>
10028
10029 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10030 [$(build-shared = yes].
7e80ddb8 10031
7da6d9ed
SP
100322013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10033
45f05884
SP
10034 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10035 (__mul): Reduce iterations for calculating mantissa.
10036
2236d359
SP
10037 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10038 MPTWO.
10039 (__mpranred): Likewise.
10040
7da6d9ed
SP
10041 [BZ #15160]
10042 * malloc/memusagestat.c (main): Draw graphs for heap and stack
10043 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10044
b7688c42
PE
100452013-02-26 Paul Eggert <eggert@cs.ucla.edu>
10046
10047 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10048 Define __attribute__.
10049
53a5c423
SP
100502013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10051
10052 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10053 unused.
10054 * posix/regex_internal.h (__attribute): Remove.
10055 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10056 (re_string_context_at): Likewise.
10057 (bitset_not): Use __attribute__ and mark function as possibly
10058 unused.
10059 (bitset_merge): Likewise.
10060 (bitset_mask): Likewise.
10061 (re_string_char_size_at): Likewise.
10062 (re_string_wchar_at): Likewise.
10063 (re_string_elem_size_at): Likewise.
10064
60f5a8b5
SP
100652013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10066
2a983a2e
SP
10067 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10068 code.
10069 (cc32): Likewise.
10070
e69804d1
SP
10071 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10072 (__acr): Likewise.
10073 (__cpy): Likewise.
10074 (norm): Likewise.
10075 (denorm): Likewise.
10076 (__dbl_mp): Likewise.
10077 (add_magnitudes): Likewise.
10078 (sub_magnitudes): Likewise.
10079 (__mul): Likewise.
10080 (__inv): Likewise.
10081
2f22a1e8
SP
10082 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10083 style.
10084
8930ddc7
SP
10085 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10086 style.
10087
dc60cb11
SP
10088 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10089 code.
10090
60f5a8b5
SP
10091 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10092 up changes with default code.
10093 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10094 Likewise.
10095
b4d1fd33
AM
100962013-02-24 Allan McRae <allan@archlinux.org>
10097
faf6f8bc
AM
10098 * manual/socket.texi (The Internet Namespace): Order menu items
10099 to match that in the file.
10100
b4d1fd33
AM
10101 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10102 node listing of the info page menu.
10103
2366713d
JM
101042013-02-21 Joseph Myers <joseph@codesourcery.com>
10105
10106 [BZ #13550]
10107 * sysdeps/i386/bp-asm.h: Remove file.
10108 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10109 (PARMS): Do not use macros from bp-asm.h.
10110 (S1): Likewise.
10111 (S2): Likewise.
10112 (SIZE): Likewise.
10113 (__mpn_add_n): Do not use BP_SYM
10114 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10115 "bp-asm.h".
10116 (PARMS): Do not use macros from bp-asm.h.
10117 (S1): Likewise.
10118 (SIZE): Likewise.
10119 (__mpn_addmul_1): Do not use BP_SYM
10120 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10121 "bp-asm.h".
10122 (PARMS): Do not use macros from bp-asm.h.
10123 (SIGMSK): Likewise.
10124 (_setjmp): Likewise. Do not use BP_SYM.
10125 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10126 "bp-asm.h".
10127 (PARMS): Do not use macros from bp-asm.h.
10128 (SIGMSK): Likewise.
10129 (setjmp): Likewise. Do not use BP_SYM.
10130 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10131 "bp-asm.h".
10132 (PARMS): Do not use macros from bp-asm.h.
10133 (__frexp): Do not use BP_SYM.
10134 (frexp): Likewise.
10135 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10136 "bp-asm.h".
10137 (PARMS): Do not use macros from bp-asm.h.
10138 (__frexpf): Do not use BP_SYM.
10139 (frexpf): Likewise.
10140 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10141 "bp-asm.h".
10142 (PARMS): Do not use macros from bp-asm.h.
10143 (__frexpl): Do not use BP_SYM.
10144 (frexpl): Likewise.
10145 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10146 "bp-asm.h".
10147 (PARMS): Do not use macros from bp-asm.h.
10148 (__remquo): Do not use BP_SYM.
10149 (remquo): Likewise.
10150 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10151 "bp-asm.h".
10152 (PARMS): Do not use macros from bp-asm.h.
10153 (__remquof): Do not use BP_SYM.
10154 (remquof): Likewise.
10155 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10156 "bp-asm.h".
10157 (PARMS): Do not use macros from bp-asm.h.
10158 (__remquol): Do not use BP_SYM.
10159 (remquol): Likewise.
10160 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10161 "bp-asm.h".
10162 (PARMS): Do not use macros from bp-asm.h.
10163 (DEST): Likewise.
10164 (SRC): Likewise.
10165 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
10166 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10167 "bp-asm.h".
10168 (PARMS): Do not use macros from bp-asm.h.
10169 (strlen): Do not use BP_SYM.
10170 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10171 "bp-asm.h".
10172 (PARMS): Do not use macros from bp-asm.h.
10173 (S1): Likewise.
10174 (S2): Likewise.
10175 (SIZE): Likewise.
10176 (__mpn_add_n): Do not use BP_SYM.
10177 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10178 "bp-asm.h".
10179 (PARMS): Do not use macros from bp-asm.h.
10180 (S1): Likewise.
10181 (SIZE): Likewise.
10182 (__mpn_addmul_1): Do not use BP_SYM.
10183 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10184 weak_alias.
10185 (bzero): Likewise.
10186 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10187 "bp-asm.h".
10188 (PARMS): Do not use macros from bp-asm.h.
10189 (S): Likewise.
10190 (SIZE): Likewise.
10191 (__mpn_lshift): Do not use BP_SYM.
10192 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10193 "bp-asm.h".
10194 (PARMS): Do not use macros from bp-asm.h.
10195 (DEST): Likewise.
10196 (SRC): Likewise.
10197 (LEN): Likewise.
10198 (memcpy): Likewise. Do not use BP_SYM.
10199 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10200 libc_hidden_def and weak_alias.
10201 (mempcpy): Do not use BP_SYM in weak_alias.
10202 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10203 "bp-asm.h".
10204 (PARMS): Do not use macros from bp-asm.h.
10205 (DEST): Likewise.
10206 (LEN): Likewise.
10207 [!BZERO_P] (CHR): Likewise.
10208 (memset): Likewise. Do not use BP_SYM.
10209 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10210 "bp-asm.h".
10211 (PARMS): Do not use macros from bp-asm.h.
10212 (S1): Likewise.
10213 (SIZE): Likewise.
10214 (__mpn_mul_1): Do not use BP_SYM.
10215 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10216 "bp-asm.h".
10217 (PARMS): Do not use macros from bp-asm.h.
10218 (S): Likewise.
10219 (SIZE): Likewise.
10220 (__mpn_rshift): Do not use BP_SYM.
10221 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10222 "bp-asm.h".
10223 (PARMS): Do not use macros from bp-asm.h.
10224 (STR): Likewise.
10225 (CHR): Likewise.
10226 (strchr): Likewise. Do not use BP_SYM.
10227 (index): Do not use BP_SYM in weak_alias.
10228 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10229 "bp-asm.h".
10230 (PARMS): Do not use macros from bp-asm.h.
10231 (DEST): Likewise.
10232 (SRC): Likewise.
10233 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
10234 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10235 "bp-asm.h".
10236 (PARMS): Do not use macros from bp-asm.h.
10237 (strlen): Do not use BP_SYM.
10238 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10239 "bp-asm.h".
10240 (PARMS): Do not use macros from bp-asm.h.
10241 (S1): Likewise.
10242 (S2): Likewise.
10243 (SIZE): Likewise.
10244 (__mpn_sub_n): Do not use BP_SYM.
10245 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10246 "bp-asm.h".
10247 (PARMS): Do not use macros from bp-asm.h.
10248 (S1): Likewise.
10249 (SIZE): Likewise.
10250 (__mpn_submul_1): Do not use BP_SYM.
10251 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10252 "bp-asm.h".
10253 (PARMS): Do not use macros from bp-asm.h.
10254 (S1): Likewise.
10255 (S2): Likewise.
10256 (SIZE): Likewise.
10257 (__mpn_add_n): Do not use BP_SYM.
10258 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10259 weak_alias.
10260 (bzero): Likewise.
10261 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10262 "bp-asm.h".
10263 (PARMS): Do not use macros from bp-asm.h.
10264 (BLK2): Likewise.
10265 (LEN): Likewise.
10266 (memcmp): Do not use BP_SYM.
10267 (bcmp): Do not use BP_SYM in weak_alias.
10268 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10269 "bp-asm.h".
10270 (PARMS): Do not use macros from bp-asm.h.
10271 (DEST): Likewise.
10272 (SRC): Likewise.
10273 (LEN): Likewise.
10274 (memcpy): Likewise. Do not use BP_SYM.
10275 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10276 "bp-asm.h".
10277 (PARMS): Do not use macros from bp-asm.h.
10278 (DEST): Likewise.
10279 (SRC): Likewise.
10280 (LEN): Likewise.
10281 (memmove): Likewise. Do not use BP_SYM.
10282 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10283 "bp-asm.h".
10284 (PARMS): Do not use macros from bp-asm.h.
10285 (DEST): Likewise.
10286 (SRC): Likewise.
10287 (LEN): Likewise.
10288 (__mempcpy): Likewise. Do not use BP_SYM.
10289 (mempcpy): Do not use BP_SYM in weak_alias.
10290 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10291 "bp-asm.h".
10292 (PARMS): Do not use macros from bp-asm.h.
10293 (DEST): Likewise.
10294 (LEN): Likewise.
10295 [!BZERO_P] (CHR): Likewise.
10296 (memset): Likewise. Do not use BP_SYM.
10297 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10298 "bp-asm.h".
10299 (PARMS): Do not use macros from bp-asm.h.
10300 (STR2): Likewise.
10301 (strcmp): Do not use BP_SYM.
10302 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10303 "bp-asm.h".
10304 (PARMS): Do not use macros from bp-asm.h.
10305 (STR): Likewise.
10306 (DELIM): Likewise.
10307 [USE_AS_STRTOK_R] (SAVE): Likewise.
10308 (FUNCTION): Likewise. Do not use BP_SYM.
10309 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10310 aliases.
10311 (strtok_r): Likewise.
10312 (__GI___strtok_r): Likewise.
10313 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10314 (PARMS): Do not use macros from bp-asm.h.
10315 (S): Likewise.
10316 (SIZE): Likewise.
10317 (__mpn_lshift): Do not use BP_SYM.
10318 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10319 (PARMS): Do not use macros from bp-asm.h.
10320 (STR): Likewise.
10321 (CHR): Likewise.
10322 (__memchr): Do not use BP_SYM.
10323 (memchr): Do not use BP_SYM in weak_alias.
10324 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10325 (PARMS): Do not use macros from bp-asm.h.
10326 (BLK2): Likewise.
10327 (LEN): Likewise.
10328 (memcmp): Do not use BP_SYM.
10329 (bcmp): Do not use BP_SYM in weak_alias.
10330 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10331 (PARMS): Do not use macros from bp-asm.h.
10332 (S1): Likewise.
10333 (SIZE): Likewise.
10334 (__mpn_mul_1): Do not use BP_SYM.
10335 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10336 "bp-asm.h".
10337 (PARMS): Do not use macros from bp-asm.h.
10338 (STR): Likewise.
10339 (CHR): Likewise.
10340 (__rawmemchr): Do not use BP_SYM.
10341 (rawmemchr): Do not use BP_SYM in weak_alias.
10342 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10343 (PARMS): Do not use macros from bp-asm.h.
10344 (S): Likewise.
10345 (SIZE): Likewise.
10346 (__mpn_rshift): Do not use BP_SYM.
10347 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10348 (PARMS): Do not use macros from bp-asm.h.
10349 (SIGMSK): Likewise.
10350 (__sigsetjmp): Likewise. Do not use BP_SYM.
10351 * sysdeps/i386/start.S: Do not include "bp-sym.h".
10352 (_start): Do not use BP_SYM.
10353 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10354 (PARMS): Do not use macros from bp-asm.h.
10355 (DEST): Likewise.
10356 (SRC): Likewise.
10357 (__stpcpy): Likewise. Do not use BP_SYM.
10358 (stpcpy): Do not use BP_SYM in weak_alias.
10359 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10360 "bp-asm.h".
10361 (PARMS): Do not use macros from bp-asm.h.
10362 (DEST): Likewise.
10363 (SRC): Likewise.
10364 (LEN): Likewise.
10365 (__stpncpy): Likewise. Do not use BP_SYM.
10366 (stpncpy): Do not use BP_SYM in weak_alias.
10367 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10368 (PARMS): Do not use macros from bp-asm.h.
10369 (STR): Likewise.
10370 (CHR): Likewise.
10371 (strchr): Likewise. Do not use BP_SYM.
10372 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10373 "bp-asm.h".
10374 (PARMS): Do not use macros from bp-asm.h.
10375 (STR): Likewise.
10376 (CHR): Likewise.
10377 (__strchrnul): Likewise. Do not use BP_SYM.
10378 (strchrnul): Do not use BP_SYM in weak_alias.
10379 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
10380 "bp-asm.h".
10381 (PARMS): Do not use macros from bp-asm.h.
10382 (STOP): Likewise.
10383 (strcspn): Do not use BP_SYM.
10384 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10385 "bp-asm.h".
10386 (PARMS): Do not use macros from bp-asm.h.
10387 (STR): Likewise.
10388 (STOP): Likewise.
10389 (strpbrk): Likewise. Do not use BP_SYM.
10390 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
10391 "bp-asm.h".
10392 (PARMS): Do not use macros from bp-asm.h.
10393 (STR): Likewise.
10394 (CHR): Likewise.
10395 (strrchr): Likewise. Do not use BP_SYM.
10396 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10397 (PARMS): Do not use macros from bp-asm.h.
10398 (SKIP): Likewise.
10399 (strspn): Do not use BP_SYM.
10400 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10401 (PARMS): Do not use macros from bp-asm.h.
10402 (STR): Likewise.
10403 (DELIM): Likewise.
10404 (SAVE): Likewise.
10405 (FUNCTION): Likewise. Do not use BP_SYM.
10406 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10407 aliases.
10408 (strtok_r): Likewise.
10409 (__GI___strtok_r): Likewise.
10410 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10411 (PARMS): Do not use macros from bp-asm.h.
10412 (S1): Likewise.
10413 (S2): Likewise.
10414 (SIZE): Likewise.
10415 (__mpn_sub_n): Do not use BP_SYM.
10416 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10417 "bp-asm.h".
10418 (PARMS): Do not use macros from bp-asm.h.
10419 (S1): Likewise.
10420 (SIZE): Likewise.
10421 (__mpn_submul_1): Do not use BP_SYM.
10422 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10423 <bp-sym.h>.
10424 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10425 and <bp-asm.h>.
10426 (PARMS): Do not use macros from bp-asm.h.
10427 (FLAGS): Likewise.
10428 (PTID): Likewise.
10429 (TLS): Likewise.
10430 (CTID): Likewise.
10431 (__clone): Do not use BP_SYM.
10432 (clone): Do not use BP_SYM in weak_alias.
10433 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10434 and <bp-asm.h>.
10435 (PARMS): Do not use macros from bp-asm.h.
10436 (LEN): Likewise.
10437 (__mmap64): Do not use BP_SYM.
10438 (mmap64): Do not use BP_SYM in weak_alias.
10439 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10440 <bp-sym.h> and <bp-asm.h>.
10441 (PARMS): Do not use macros from bp-asm.h.
10442 (__posix_fadvise64_l64): Do not use BP_SYM.
10443 * sysdeps/unix/sysv/linux/i386/semtimedop.S
10444 (PARMS): Do not use macros from bp-asm.h.
10445 (NSOPS): Likewise.
10446 (semtimedop): Do not use BP_SYM.
10447 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10448 and <bp-asm.h>.
10449
582a3cff
AM
104502013-02-21 Allan McRae <allan@archlinux.org>
10451
10452 * manual/message.texi (Charset conversion in gettext):
10453 Move @end statement to beginning of line.
10454
bab8a695
SP
104552013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10456
80945231
SP
10457 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10458 static.
10459 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10460 Likewise.
10461
bab8a695
SP
10462 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10463 (denorm): Likewise.
10464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10466
e21d7aa7
AK
104672013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10468
10469 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10470 tail-call to the resolved function if pltexit isn't needed.
10471
4c7a4263
SP
104722013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10473
10474 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10475 or Y being zero as being unlikely.
10476 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10477 Likewise.
10478
41f49342
CD
104792013-02-20 Carlos O'Donell <carlos@redhat.com>
10480
10481 * manual/nss.texi (System Databases and Name Service Switch):
10482 Remove frobnicate @pxref.
10483
50022a93
TS
104842013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10485
10486 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10487 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10488
08cbd996
PM
104892013-02-20 Petr Machata <pmachata@redhat.com>
10490
10491 * elf/elf.h (R_ARM_TARGET1): New macro.
10492 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10493 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10494 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10495 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10496 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10497 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10498 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10499 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10500 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10501 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10502 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10503 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10504 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10505 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10506 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10507 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10508 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10509 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10510 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10511 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10512 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10513 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10514 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10515 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10516 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10517 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10518 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10519 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10520 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10521 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10522 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10523 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10524 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10525 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10526 (R_ARM_THM_GOT_BREL12): Likewise.
10527 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10528 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10529 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10530 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10531 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10532 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10533 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10534 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10535 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10536
c7b275d6
TS
105372013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10538
10539 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10540 __attribute_used__ to __attribute__ ((unused)).
10541
20cd7fb3
SP
105422013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10543
10544 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10545 powerpc mpa.c.
10546 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10547 comment formatting.
10548 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10549
92945b52
JM
105502013-02-19 Joseph Myers <joseph@codesourcery.com>
10551
10552 [BZ #13550]
10553 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10554 Remove macro.
10555 (ENTER): Remove both macro definitions.
10556 (LEAVE): Likewise.
10557 (CHECK_BOUNDS_LOW): Likewise.
10558 (CHECK_BOUNDS_HIGH): Likewise.
10559 (CHECK_BOUNDS_BOTH): Likewise.
10560 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10561 (RETURN_BOUNDED_POINTER): Likewise.
10562 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10563 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10564 (POP_ERRNO_LOCATION_RETURN): Likewise.
10565 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10566 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10567 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10568 macros.
10569 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10570 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10571 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10572 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10573 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10574 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10575 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10576 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10577 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10578 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10579 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10580 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10581 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10582 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10583 removed macros.
10584 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10585 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10586 macros.
10587 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10588 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10589 * sysdeps/i386/i586/memset.S (memset): Likewise.
10590 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10591 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10592 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10593 macros.
10594 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10595 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10596 Change uses of L(2) to L(out).
10597 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10598 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10599 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10600 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10601 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10602 removed macros.
10603 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10604 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10605 macros.
10606 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10607 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10608 (RETURN): Do not use macro LEAVE.
10609 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10610 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10611 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10612 * sysdeps/i386/i686/memset.S (memset): Likewise.
10613 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10614 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10615 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10616 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10617 Likewise.
10618 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10619 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10620 L(1_2) and L(1_3) into L(1).
10621 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10622 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10623 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10624 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10625 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10626 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10627 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10628 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10629 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10630 macros.
10631 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10632 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10633 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10634 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10635 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10636 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10637 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10638 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10639 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10640 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10641 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10642 * sysdeps/i386/strspn.S (strspn): Likewise.
10643 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10644 conditional code.
10645 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10646 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10647 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10648 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10649 L(1_3) into L(1_1).
10650 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10651 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10652 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10653 macros.
10654 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10655
2389741a
JJ
106562013-02-19 Jakub Jelinek <jakub@redhat.com>
10657
10658 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10659 macro.
10660
2016b3cd
SP
106612013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10662
e4f22324
SP
10663 * math/atest-exp.c (exp_mpn): Remove ROUND.
10664 * math/atest-exp2.c (exp_mpn): Likewise.
10665 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10666
2016b3cd
SP
10667 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10668 * stdlib/tst-tls-atexit-lib.c: Likewise.
10669 * stdlib/tst-tls-atexit.c: Likewise.
10670
4be9b544
MF
106712013-02-18 Mike Frysinger <vapier@gentoo.org>
10672
10673 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10674 and __attribute_alloc_size__.
10675
2f62b9ee
MF
106762013-02-18 Mike Frysinger <vapier@gentoo.org>
10677
10678 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10679 __attribute_alloc_size__.
10680 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10681 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10682
6ff444c4
MF
106832013-02-18 Mike Frysinger <vapier@gentoo.org>
10684
10685 * include/programs/xmalloc.h: New file.
10686 * catgets/gencat.c: Include it.
10687 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10688 * elf/pldd.c: Likewise.
10689 * iconv/iconv_charmap.c: Likewise.
10690 * iconv/iconvconfig.c: Likewise.
10691 * iconv/strtab.c: Likewise.
10692 * locale/programs/locale.c: Likewise.
10693 * locale/programs/localedef.h: Likewise.
10694 * locale/programs/simple-hash.c: Likewise.
10695 * nscd/nscd.h: Likewise.
10696 * nss/makedb.c: Likewise.
10697 * sysdeps/generic/ldconfig.h: Likewise.
10698
be179c8a
SP
106992013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10700
ba384f6e
SP
10701 * Versions.def: Add GLIBC_2.18.
10702 * include/link.h (struct link_map): New member l_tls_dtor_count.
10703 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10704 (__call_tls_dtors): Likewise.
10705 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10706 __cxa_thread_atexit_impl.
10707 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10708 Likewise.
10709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10710 Likewise.
10711 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10712 Likewise.
10713 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10714 Likewise.
10715 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10716 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10717 Likewise.
10718 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10719 Likewise.
10720 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10722 Likewise.
10723 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10724 (tests): Add test case tst-tls-atexit.
10725 (modules-names): Add shared library for tst-tls-atexit.
85891aca 10726 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
10727 (GLIBC_PRIVATE): Add __call_tls_dtors.
10728 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10729 for libstdc++.
10730 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10731 * stdlib/tst-tls-atexit.c: New test case.
10732 * stdlib/tst-tls-atexit-lib.c: New test case.
10733
ffaa74cf 10734 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 10735
be179c8a
SP
10736 * elf/Versions (ld): Add _dl_find_dso_for_object.
10737 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10738 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10739 (dl_open_worker): Use _dl_find_dso_for_object.
10740 * elf/dl-sym.c (do_sym): Likewise.
10741 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10742
f78b5caa
AK
107432013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10744
10745 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10746 Syntactic changes only.
10747 (_dl_runtime_profile): Do a tail-call to the resolved function.
10748
29691210
JM
107492013-02-17 Joseph Myers <joseph@codesourcery.com>
10750
10751 [BZ #13550]
10752 * sysdeps/x86_64/bp-asm.h: Remove file.
10753 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10754 <bp-sym.h> and <bp-asm.h>.
10755 (__clone): Do not use BP_SYM.
10756 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10757 <bp-sym.h> and <bp-asm.h>.
10758 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10759 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10760 "bp-asm.h".
10761 (_setjmp): Do not use BP_SYM.
10762 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10763 "bp-asm.h".
10764 (setjmp): Do not use BP_SYM.
10765 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10766 libc_hidden_def.
10767 (mempcpy): Do not use BP_SYM in weak_alias.
10768 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10769 "bp-asm.h".
10770 (strchr): Do not use BP_SYM.
10771 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10772 "bp-asm.h".
10773 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10774 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10775 (_start): Do not use BP_SYM.
10776 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10777 "bp-asm.h".
10778 (strcat): Do not use BP_SYM.
10779 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10780 "bp-asm.h".
10781 (STRCMP): Do not use BP_SYM.
10782 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10783 "bp-asm.h".
10784 (STRCPY): Do not use BP_SYM.
10785 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10786 "bp-asm.h".
10787 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10788 "bp-asm.h".
10789 (FUNCTION): Do not use BP_SYM.
10790 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10791 weak_alias.
10792 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10793
f238fd19
AJ
107942013-02-17 Andreas Jaeger <aj@suse.de>
10795
10796 * time/Versions: Sort entries.
10797 * string/Versions: Likewise.
10798 * resolv/Versions: Likewise.
10799 * posix/Versions: Likewise.
10800 * iconv/Versions: Likewise.
10801 * elf/Versions: Likewise.
10802 * wcsmbs/Versions: Likewise.
10803
bd07f23c 108042013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 10805
22af19f9
SP
10806 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10807 loop termination condition.
10808
4709fe76
SP
10809 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10810 variable to calculate EZ.
10811 (__sqr): Likewise.
2d0e0f29
SP
10812
10813 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10814 the lower precision input.
10815
daaa7713
JM
108162013-02-15 Joseph Myers <joseph@codesourcery.com>
10817
10818 [BZ #13550]
10819 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10820 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10821 (run-via-rtld-prefix): Do not handle %-bp tests.
10822 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10823 (all-object-suffixes): Remove .ob.
10824 (bppfx): Remove variable.
10825 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10826 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10827 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10828 [$(build-bounded) = yes] (libtype.ob): Likewise.
10829 * Makerules (elide-routines.ob): Remove variable.
10830 (do-tests-clean): Do not handle *-bp.out.
10831 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10832 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10833 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10834 (tests): Do not include $(tests-bp.out).
10835 (xtests): Do not include $(xtests-bp.out).
10836 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10837 [$(build-bounded) = yes] ($(addprefix
10838 $(objpfx),$(binaries-bounded))): Remove rule.
10839 ($(objpfx)%-bp.out): Remove rule.
10840 * config.make.in (build-bounded): Remove variable.
10841 * crypt/Makefile [$(build-bounded) = yes]
10842 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10843 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10844 append to variable.
10845 [$(build-bounded) = yes] (install-lib): Likewise.
10846 [$(build-bounded) = yes] (generated): Likewise.
10847 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10848 Remove rule.
10849 * intl/Makefile [$(build-bounded) = yes]
10850 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10851 * math/Makefile [$(build-bounded) = yes]
10852 ($(tests:%=$(objpfx)%-bp): Likewise.
10853 * misc/Makefile [$(build-bounded) = yes]
10854 ($(objpfx)tst-tsearch-bp): Likewise.
10855 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10856 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10857 Remove dependency.
10858 * string/Makefile (o-objects.ob): Remove variable.
10859 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10860 (CFLAGS-.ob): Remove variable.
10861 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10862 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10863 both definitions of variable.
10864 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10865 (ASFLAGS-.ob): Remove variable.
10866
e97ed6dd
JM
108672013-02-14 Joseph Myers <joseph@codesourcery.com>
10868
2bdd4ca6
JM
10869 [BZ #13550]
10870 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10871 Remove __BOUNDED_POINTERS__ from condition.
10872 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10873 * string/bits/string2.h [!__NO_STRING_INLINES &&
10874 !__BOUNDED_POINTERS__]: Likewise.
10875 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10876 Likewise.
10877 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10878 Remove conditional code.
10879 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10880 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10881 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10882 condition.
10883
e97ed6dd
JM
10884 [BZ #13550]
10885 * csu/libc-start.c: Do not include <bp-sym.h>.
10886 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10887 * elf/dl-open.c: Do not include <bp-sym.h>.
10888 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10889 * math/fegetenv.c: Do not include <bp-sym.h>.
10890 (fegetenv): Do not use BP_SYM in versioned symbols.
10891 * nptl/sysdeps/pthread/bits/libc-lockP.h
10892 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10893 <bp-sym.h>.
10894 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10895 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10896 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10897 (__pthread_mutex_destroy): Likewise.
10898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10899 (__pthread_mutex_lock): Likewise.
10900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10901 (__pthread_mutex_trylock): Likewise.
10902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10903 (__pthread_mutex_unlock): Likewise.
10904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10905 (__pthread_mutexattr_init): Likewise.
10906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10907 (__pthread_mutexattr_destroy): Likewise.
10908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10909 (__pthread_mutexattr_settype): Likewise.
10910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10911 (__pthread_rwlock_init): Likewise.
10912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10913 (__pthread_rwlock_destroy): Likewise.
10914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10915 (__pthread_rwlock_rdlock): Likewise.
10916 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10917 (__pthread_rwlock_tryrdlock): Likewise.
10918 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10919 (__pthread_rwlock_wrlock): Likewise.
10920 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10921 (__pthread_rwlock_trywrlock): Likewise.
10922 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10923 (__pthread_rwlock_unlock): Likewise.
10924 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10925 (__pthread_key_create): Likewise.
10926 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10927 (__pthread_setspecific): Likewise.
10928 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10929 (__pthread_getspecific): Likewise.
10930 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10931 Likewise.
10932 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10933 (_pthread_cleanup_push_defer): Likewise.
10934 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10935 (_pthread_cleanup_pop_restore): Likewise.
10936 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10937 (pthread_setcancelstate): Likewise.
10938 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10939 <bp-sym.h>.
10940 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10941 (memchr): Do not use BP_SYM in weak_alias.
10942 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10943 (fegetenv): Do not use BP_SYM in versioned symbols.
10944 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10945 (fesetenv): Do not use BP_SYM in versioned symbols.
10946 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10947 (feupdateenv): Do not use BP_SYM in versioned symbols.
10948 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10949 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10950 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10951 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10952 (open64): Do not use BP_SYM in weak_alias.
10953 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10954 (fegetenv): Do not use BP_SYM in versioned symbols.
10955 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10956 (fesetenv): Do not use BP_SYM in versioned symbols.
10957 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10958 (feupdateenv): Do not use BP_SYM in versioned symbols.
10959 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10960 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10961 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10962 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10963 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10964 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10965 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10966 <bp-sym.h>.
10967 (__libc_start_main): Do not use BP_SYM.
10968
d6752ccd
SP
109692013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10970
cb57ce60
SP
10971 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10972 redundant return line.
10973 (norm): Likewise.
10974 (denorm): Likewise.
10975 (dbl_mp): Likewise.
10976 (sub_magnitudes): Likewise.
10977 (__add): Likewise.
10978 (__sub): Likewise.
10979 (__mul): Likewise.
10980 (__inv): Likewise.
10981 (__dvd): Likewise.
10982 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
10983 (norm): Likewise.
10984 (denorm): Likewise.
10985 (dbl_mp): Likewise.
10986 (sub_magnitudes): Likewise.
10987 (__add): Likewise.
10988 (__sub): Likewise.
10989 (__mul): Likewise.
10990 (__inv): Likewise.
10991 (__dvd): Likewise.
10992
f414520d
SP
10993 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
10994 instead of __mul.
10995 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
10996 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
10997 (cc32): Likewise.
10998
d6752ccd
SP
10999 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11000 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11001 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11002 of __mul for squares.
11003 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11004 function
11005 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11006 Likewise.
11007 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11008 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11009
70d9946a
JM
110102013-02-13 Joseph Myers <joseph@codesourcery.com>
11011
11012 [BZ #13550]
11013 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11014 code.
11015 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11016 prototype or function definition. Rename ubp_* variables and
11017 parameters. Remove argv definitions conditional on
11018 [__BOUNDED_POINTERS__].
11019 * debug/backtrace.c (__backtrace): Do not use __unbounded.
11020 * elf/dl-runtime.c (_dl_fixup): Likewise.
11021 * include/set-hooks.h (RUN_HOOK): Likewise.
11022 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11023 definition.
11024 * string/strcpy.c (strcpy): Do not use __unbounded.
11025 * sysdeps/generic/frame.h (struct layout): Likewise.
11026 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11027 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11028 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11029 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11030 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11031 (__backtrace): Likewise.
11032 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11033 use __ptrvalue.
11034 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11035 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11036 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11037 Likewise.
11038 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11039 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11040 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11041 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11042 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11043 Do not use __unbounded.
11044 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11045 Rename __unboundedrlimits parameter to rlimits in prototype.
11046 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11047 Do not use __unbounded.
11048 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11049 not use __ptrvalue.
11050 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11051 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11052 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11053 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11054 __ptrvalue or __unbounded.
11055 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11056 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11057 use __unbounded.
11058 (__new_msgctl): Do not use __ptrvalue.
11059 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11060 __unbounded.
11061 (__libc_msgrcv): Do not use __ptrvalue.
11062 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11063 startup_info): Do not use __unbounded.
11064 (__libc_start_main): Likewise. Rename ubp_* variables and
11065 parameters. Remove argv definitions conditional on
11066 [__BOUNDED_POINTERS__].
11067 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11068 __ptrvalue.
11069 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11070 use __unbounded.
11071 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11072 or __ptrvalue.
11073 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11074 use __unbounded.
11075 (__new_shmctl): Do not use __ptrvalue.
11076 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11077 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11078 Likewise.
11079 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11080 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11081 (__libc_sigaction): Likewise.
11082 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11083 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11084 Likewise.
11085 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11086
cc7834d6
OB
110872013-02-13 Ondřej Bílka <neleai@seznam.cz>
11088
ffb1ec7b 11089 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
11090
11091 * string/mempcpy.c: Implement by calling memcpy.
11092
bdf02814
SP
110932013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11094
c2af38aa
SP
11095 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11096
4e92d59e
SP
11097 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11098 evaluation.
11099
909279a5
SP
11100 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11101 values in the mantissa.
11102
bdf02814
SP
11103 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11104 minimize writes to Z.
11105 (sub_magnitudes): Simplify code a bit.
11106
cd525923
RM
111072013-02-12 Roland McGrath <roland@hack.frob.com>
11108
11109 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11110 from the message. The linker prefixes all warnings with that already.
11111
7e2f0d2d
AS
111122013-02-12 Andreas Schwab <schwab@suse.de>
11113
a445af0b
AS
11114 [BZ #15078]
11115 * posix/regexec.c (extend_buffers): Add parameter min_len.
11116 (check_matching): Pass minimum needed length.
11117 (clean_state_log_if_needed): Likewise.
11118 (get_subexp): Likewise.
11119 * posix/Makefile (tests): Add bug-regex34.
11120 (bug-regex34-ENV): Define.
11121 * posix/bug-regex34.c: New file.
11122
7e2f0d2d
AS
11123 [BZ #11561]
11124 * posix/regcomp.c (parse_bracket_exp): When looking up collating
11125 elements compare against the byte sequence of it, not its name.
11126 * posix/Makefile (tests): Add bug-regex35.
11127 (bug-regex35-ENV): Define.
11128 * posix/bug-regex35.c: New file.
11129
a175b684
TV
111302013-02-11 Tom de Vries <tom@codesourcery.com>
11131
11132 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
11133 comment.
11134 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11135 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11136 (CHECK_EOL): Add undef.
11137
310998fe 111382013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
11139
11140 * bits/stdlib-bsearch.h: New file.
11141 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 11142 * stdlib/stdlib.h: Likewise.
41eda41d 11143
8ded91fb
RM
111442013-02-11 Roland McGrath <roland@hack.frob.com>
11145
11146 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11147 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11148 declaration.
11149 * manual/search.texi (Array Search Function): Add missing const in
11150 lfind prototype.
11151 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11152 declaration to use rlim_t.
11153 (Basic Scheduling Functions): Remove erroneous const from
11154 sched_getparam prototype. Remove erroneous * from
11155 sched_get_priority_max and sched_get_priority_min prototypes.
11156 (Resource Usage): Fix summary @comment on vtimes to refer to
11157 sys/vtimes.h rather than vtimes.h.
11158 Add missing *s in vtimes prototype.
11159 (Limits on Resources): Fix ulimit prototype to return long int.
11160 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11161 prototypes to use long int rather than double.
11162 (BSD Random): Fix initstate and setstate to use char *, not void *.
11163 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11164 prototype to make second argument 'struct aiocb64 *const[]'.
11165 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11166 (Status of AIO Operations): Remove erroneous const in aio_return and
11167 aio_return64 prototypes.
11168 (Synchronizing I/O): Fix sync prototype to return void.
11169 * manual/startup.texi (Suboptions): Remove an erroneous const in
11170 getsubopt prototype.
11171 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11172 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11173 use size_t rather than int.
11174 (Scanning All Users): Likewise for getpwent_r.
11175 (Setting Groups): Add missing const to setgroups prototype.
11176 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11177 * manual/socket.texi (Host Names): Fix gethostbyaddr and
11178 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11179 'const void *' rather than 'const char *'.
11180 (Host Address Functions): Likewise for inet_ntop.
11181 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11182 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11183 ssize_t for return value.
11184 (Sending Data): Likewise for send, sendto, sendmsg.
11185 (Socket Option Functions): Add a missing const in setsockopt prototype.
11186 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11187 use wchar_t for the argument.
11188 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11189 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11190 take no arguments.
11191 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11192 double/float/long double for second argument.
11193 Fix return types of significand, significandf, significandl.
11194 * manual/filesys.texi (Setting Permissions): Use mode_t for second
11195 argument in fchmod prototype.
11196 (File Owner): Use uid_t and gid_t in fchown prototype.
11197 (File Times): Add const to utimes, futimes, and lutimes prototypes.
11198 (Making Special Files): Use mode_t and dev_t in mknod prototype.
11199 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11200 use 'const struct dirent **' as argument types to CMP function pointer
11201 argument.
11202 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11203 (File Times): Fix summary magic @comment for struct utimbuf and utime
11204 to refer to utime.h, not time.h.
11205 * manual/string.texi (Argz Functions): Add missing const in
11206 argz_extract and argz_next prototypes.
11207 (Finding Tokens in a String): Likewise for basename.
11208 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11209 (Copying and Concatenation): Fix typo in wmemmove prototype.
11210 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11211 (Signal Stack): Remove erroneous const in sigstack prototype.
11212 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11213 prototype.
11214 (Simple Calendar Time): Likewise for stime.
11215 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11216 prototype.
11217 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11218 say sys/sysctl.h instead.
11219 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11220 and vsyslog prototypes.
11221
fe77fe6d
TV
112222013-02-11 Tom de Vries <tom@codesourcery.com>
11223
11224 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11225 Remove.
11226
3a09b620
RM
112272013-02-11 Roland McGrath <roland@hack.frob.com>
11228
11229 * misc/sys/mman.h: Fix typo in mremap comment.
11230
550a0b89
RM
112312013-02-08 Roland McGrath <roland@hack.frob.com>
11232
11233 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11234 the '\0' terminator.
11235
a2da1673
JM
112362013-02-08 Joseph Myers <joseph@codesourcery.com>
11237
11238 [BZ #13550]
11239 * debug/segfault.c: Don't include <bp-checks.h>.
11240 * sysdeps/generic/bp-checks.h: Remove file.
11241 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11242 (__GETDENTS): Don't use CHECK_N.
11243 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11244 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11245 (__getgroups): Don't use CHECK_N.
11246 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11247 (setgroups): Don't use CHECK_N.
11248 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11249 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11250 (__libc_msgrcv): Don't use CHECK_N.
11251 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11252 (__libc_msgsnd): Don't use CHECK_N.
11253 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11254 <bp-checks.h>.
11255 (__libc_pread): Don't use CHECK_N.
11256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11257 include <bp-checks.h>.
11258 (__libc_pread64): Don't use CHECK_N.
11259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11260 include <bp-checks.h>.
11261 (__libc_pwrite): Don't use CHECK_N.
11262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11263 include <bp-checks.h>.
11264 (__libc_pwrite64): Don't use CHECK_N.
11265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11266 <bp-checks.h>.
11267 (__libc_pread): Don't use CHECK_N.
11268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11269 include <bp-checks.h>.
11270 (__libc_pread64): Don't use CHECK_N.
11271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11272 include <bp-checks.h>.
11273 (__libc_pwrite): Don't use CHECK_N.
11274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11275 include <bp-checks.h>.
11276 (__libc_pwrite64): Don't use CHECK_N.
11277 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11278 (do_pread): Don't use CHECK_N.
11279 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11280 (do_pread64): Don't use CHECK_N.
11281 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11282 (do_pwrite): Don't use CHECK_N.
11283 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11284 (do_pwrite64): Don't use CHECK_N.
11285 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11286 (__libc_readv): Don't use CHECK_N.
11287 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11288 (semop): Don't use CHECK_N.
11289 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11290 <bp-checks.h>.
11291 (semtimedop): Don't use CHECK_N.
11292 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11293 (__libc_pread): Don't use CHECK_N.
11294 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11295 <bp-checks.h>.
11296 (__libc_pread64): Don't use CHECK_N.
11297 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11298 <bp-checks.h>.
11299 (__libc_pwrite): Don't use CHECK_N.
11300 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11301 <bp-checks.h>.
11302 (__libc_pwrite64): Don't use CHECK_N.
11303 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11304 <bp-checks.h>.
11305 (__libc_msgrcv): Don't use CHECK_N.
11306 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11307 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
11308 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11309 (__libc_writev): Don't use CHECK_N.
11310
b84660a8
RM
113112013-02-08 Roland McGrath <roland@hack.frob.com>
11312
7f3e75f8
RM
11313 * string/strcpy.c: Removed unused variable.
11314
b84660a8
RM
11315 * Makeconfig (+sysdep-includes): Define with := rather than =.
11316 Use an existing include/ subdir of each sysdeps dir before it.
11317
471514d3
CD
113182013-02-08 Carlos O'Donell <carlos@redhat.com>
11319
11320 * nscd/connection.c (register_traced_file): Comment function.
11321 [HAVE_INOTIFY] (union __inev): Define.
11322 [HAVE_INOTIFY] (inotify_check_files): New function.
11323 [HAVE_INOTIFY] (clear_db_cache): Likewise.
11324 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11325 clear_db_cache.
11326 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11327
b2d3c3be
CD
113282013-02-08 Carlos O'Donell <carlos@redhat.com>
11329
11330 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11331 loaded if not already and that a failure is permanent.
11332
b39949d2
CD
113332013-02-08 Carlos O'Donell <carlos@redhat.com>
11334
ddacd1db 11335 [BZ #15006]
b39949d2
CD
11336 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11337 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11338
b2c9eff4
JM
113392013-02-08 Joseph Myers <joseph@codesourcery.com>
11340
f3aae3f3
JM
11341 [BZ #13550]
11342 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11343 (CHECK_1_NULL_OK): Likewise.
11344 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11345 (__fxstat): Do not use CHECK_1.
11346 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11347 <bp-checks.h>.
11348 (___fxstat64): Do not use CHECK_1.
11349 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11350 <bp-checks.h>.
11351 (__fxstatat): Do not use CHECK_1.
11352 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11353 <bp-checks.h>.
11354 (__fxstatat64): Do not use CHECK_1.
11355 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11356 <bp-checks.h>.
11357 (__fxstat): Do not use CHECK_1.
11358 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11359 <bp-checks.h>.
11360 (__fxstatat): Do not use CHECK_1.
11361 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11362 <bp-checks.h>.
11363 (__getresgid): Do not use CHECK_1.
11364 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11365 <bp-checks.h>.
11366 (__getresuid): Do not use CHECK_1.
11367 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11368 <bp-checks.h>.
11369 (__lxstat): Do not use CHECK_1.
11370 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11371 <bp-checks.h>.
11372 (__old_msgctl): Do not use CHECK_1.
11373 (__new_msgctl): Likewise.
11374 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11375 <bp-checks.h>.
11376 (__new_setrlimit): Do not use CHECK_1.
11377 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11378 <bp-checks.h>.
11379 (__old_shmctl): Do not use CHECK_1.
11380 (__new_shmctl): Likewise.
11381 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11382 <bp-checks.h>.
11383 (__xstat): Do not use CHECK_1.
11384 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
11385 (__lxstat): Do not use CHECK_1.
11386 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
11387 <bp-checks.h>.
11388 (___lxstat64): Do not use CHECK_1.
11389 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
11390 (__old_msgctl): Do not use CHECK_1.
11391 (__new_msgctl): Likewise.
11392 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
11393 <bp-checks.h>.
11394 (__gettimeofday): Do not use CHECK_1.
11395 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11396 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11397 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11398 <bp-checks.h>.
11399 (__gettimeofday): Do not use CHECK_1.
11400 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11401 (__old_shmctl): Do not use CHECK_1_NULL_OK.
11402 (__new_shmctl): Do not use CHECK_1.
11403 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11404 <bp-checks.h>.
11405 (do_sigtimedwait): Do not use CHECK_1.
11406 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11407 <bp-checks.h>.
11408 (do_sigwaitinfo): Do not use CHECK_1.
11409 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11410 <bp-checks.h>.
11411 (msgctl): Do not use CHECK_1.
11412 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11413 <bp-checks.h>.
11414 (shmctl): Do not use CHECK_1.
11415 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11416 (ustat): Do not use CHECK_1.
11417 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11418 <bp-checks.h>.
11419 (__fxstat): Do not use CHECK_1.
11420 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11421 <bp-checks.h>.
11422 (__fxstatat): Do not use CHECK_1.
11423 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11424 <bp-checks.h>.
11425 (__lxstat): Do not use CHECK_1.
11426 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11427 <bp-checks.h>.
11428 (__xstat): Do not use CHECK_1.
11429 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11430 (__xstat): Do not use CHECK_1.
11431 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11432 (___xstat64): Do not use CHECK_1.
11433
b2c9eff4
JM
11434 [BZ #13550]
11435 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11436 definitions.
11437 (CHECK_BOUNDS_HIGH): Likewise.
11438 * string/strcpy.c: Do not include <bp-checks.h>.
11439 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11440
f1d70dad
RM
114412013-02-07 Roland McGrath <roland@hack.frob.com>
11442
11443 * nscd/nscd-client.h (__nscd_drop_map_ref):
11444 Add __attribute__ ((unused)).
11445 * nis/nss-nisplus.h (niserr2nss): Likewise.
11446
11447 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11448 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11449
11450 * csu/libc-tls.c (init_static_tls, init_slotinfo):
11451 Remove inline keyword.
11452 * include/rounding-mode.h (round_away): Likewise.
11453 * libio/wfileops.c (adjust_wide_data): Likewise.
11454 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11455 (__m128i_strloadu_tolower): Likewise.
11456 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11457 (__m128i_strloadu_tolower): Likewise.
11458 * time/mktime.c (ydhms_diff): Likewise.
11459 * locale/elem-hash.h (elem_hash): Likewise.
11460 * locale/setlocale.c (setdata): Likewise.
11461 * posix/regex_internal.h (re_string_char_size_at): Likewise.
11462 (re_string_wchar_at): Likewise.
11463 (bitset_not, bitset_merge, bitset_mask): Likewise.
11464 [!(__GNUC__ > 3)] (inline): Remove macro.
11465 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11466 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11467 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11468 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11469 * string/memcmp.c (memcmp_bytes): Likewise.
11470 * locale/programs/locarchive.c (compute_hashval): Likewise.
11471 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11472 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11473 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11474 * nss/getent.c (print_rpc, print_protocols): Likewise.
11475 (print_passwd, print_group, print_aliases): Likewise.
11476 * nis/nss-nisplus.h (niserr2nss): Likewise.
11477 * nscd/connections.c (restart_p): Likewise.
11478 Change return type to bool.
11479
eab55bfb
RM
114802013-02-05 Roland McGrath <roland@hack.frob.com>
11481
7bd642f5
RM
11482 * Makeconfig (all-Depend-files): Add existing
11483 $(sorted-subdirs:=/Depend) files.
11484 (all-subdirs): Remove nss.
11485 * sysdeps/unix/inet/Subdirs: Add it here instead.
11486 * hesiod/Depend: New file.
11487
573c29b2
RM
11488 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11489 instead of calling alloca.
11490
b2e25af0
RM
11491 * io/lseek.c (__lseek): Rename to __libc_lseek.
11492 Define __lseek as an alias.
11493
eab55bfb
RM
11494 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11495
9a0d1941
CD
114962013-02-04 Carlos O'Donell <carlos@redhat.com>
11497
11498 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11499 else clause and remove check for non-standard endianness.
11500
b83bbec4
DM
115012013-02-04 David S. Miller <davem@davemloft.net>
11502
11503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11504
6277fdab
JM
115052013-02-04 Joseph Myers <joseph@codesourcery.com>
11506
11507 [BZ #13550]
11508 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11509 (__ubp_memchr): Remove prototype.
11510 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11511 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11512 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11513 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11514 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11515 Remove alias.
11516 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11517 (__ubp_memchr): Likewise.
11518 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11519 (__ubp_memchr): Likewise.
11520 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11521 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11522 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11523 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11524 CHECK_STRING.
11525 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11526 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11527 (__getcwd): Do not use CHECK_STRING.
11528 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11529 <bp-checks.h>.
11530 (__real_chown): Do not use CHECK_STRING.
11531 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11532 <bp-checks.h>.
11533 (fchownat): Do not use CHECK_STRING.
11534 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11535 CHECK_STRING.
11536 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11537 <bp-checks.h>.
11538 (__lchown): Do not use CHECK_STRING.
11539 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11540 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11541 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11542 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11543 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11544 include <bp-checks.h>.
11545 (truncate64): Do not use CHECK_STRING.
11546 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11547 <bp-checks.h>.
11548 (__real_chown): Do not use CHECK_STRING.
11549 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11550 <bp-checks.h>.
11551 (__lchown): Do not use CHECK_STRING.
11552 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11553 <bp-checks.h>.
11554 (__chown): Do not use CHECK_STRING.
11555 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11556 <bp-checks.h>.
11557 (truncate64): Do not use CHECK_STRING.
11558 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11559 Likewise.
11560 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11561 (__xmknod): Do not use CHECK_STRING.
11562 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11563 <bp-checks.h>.
11564 (__xmknodat): Do not use CHECK_STRING.
11565 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11566 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11567
903ae060
AS
115682013-02-04 Andreas Schwab <schwab@suse.de>
11569
11570 [BZ #14142]
11571 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11572 * include/netdb.h: Likewise for h_errno.
11573 * elf/tst-stackguard1.c: Include <tls.h>.
11574
542f9466
JK
115752013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11576
11577 * elf/link.h (struct link_map): Extend the l_addr comment.
11578 * include/link.h (struct link_map): Likewise.
11579
e782a927
JM
115802013-02-01 Joseph Myers <joseph@codesourcery.com>
11581
11582 [BZ #13550]
11583 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11584 (BOUNDED_1): Remove macro.
11585 * debug/backtrace.c: Don't include <bp-checks.h>.
11586 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11587 (__backtrace): Likewise.
11588 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11589 <bp-checks.h>.
11590 (__backtrace): Don't use BOUNDED_1.
11591 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11592 <bp-checks.h>.
11593 (__backtrace): Don't use BOUNDED_1.
11594 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11595 (__backtrace): Don't use BOUNDED_1.
11596 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11597 (shmat): Don't use BOUNDED_N.
11598
8cf28c5e
JM
115992013-01-31 Joseph Myers <joseph@codesourcery.com>
11600
3a7ac8a0
JM
11601 [BZ #13550]
11602 * sysdeps/generic/bp-start.h: Remove file.
11603 * csu/libc-start.c: Don't include <bp-start.h>.
11604 (LIBC_START_MAIN): Set up __environ directly instead of using
11605 INIT_ARGV_and_ENVIRON.
11606 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11607 <bp-start.h>.
11608
f3499f95
JM
11609 [BZ #13550]
11610 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11611 definitions.
11612 (CHECK_FCNTL): Likewise.
11613 (CHECK_N_PAGES): Likewise.
11614
32a45bea
JM
11615 [BZ #13550]
11616 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11617 definitions.
11618 (CHECK_SIGSET_NULL_OK): Likewise.
11619 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11620 <bp-checks.h>.
11621 (sigpending): Don't use CHECK_SIGSET.
11622 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11623 <bp-checks.h>.
11624 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11625 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11626 <bp-checks.h>.
11627 (do_sigsuspend): Don't use CHECK_SIGSET.
11628 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11629 use CHECK_SIGSET.
11630 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11631 (do_sigwait): Don't use CHECK_SIGSET.
11632 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11633 use CHECK_SIGSET.
11634 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11635 include <bp-checks.h>.
11636 (sigpending): Don't use CHECK_SIGSET.
11637 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11638 include <bp-checks.h>.
11639 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11640 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11641 <bp-checks.h>.
11642 (sigpending): Don't use CHECK_SIGSET.
11643 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11644 <bp-checks.h>.
11645 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11646
2e8a5c8c
JM
11647 [BZ #13550]
11648 * sysdeps/generic/bp-semctl.h: Remove file.
11649 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11650 <bp-checks.h> and <bp-semctl.h>.
11651 (__old_semctl): Don't use CHECK_SEMCTL.
11652 (__new_semctl): Likewise.
11653 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11654 and <bp-semctl.h>.
11655 (__old_semctl): Don't use CHECK_SEMCTL.
11656 (__new_semctl): Likewise.
11657 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11658 <bp-checks.h> and <bp-semctl.h>.
11659 (__old_semctl): Don't use CHECK_SEMCTL.
11660 (__new_semctl): Likewise.
11661 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11662 <bp-checks.h> and <bp-semctl.h>.
11663 (semctl): Don't use CHECK_SEMCTL.
11664
c2d54929
JM
11665 [BZ #13550]
11666 * Makerules (elide-bp-thunks): Remove variable.
11667 (elide-routines.oS): Don't use $(elide-bp-thunks).
11668 (elide-routines.os): Likewise.
11669 (elide-routines.o): Likewise.
11670 (elide-routines.op): Likewise.
11671 (elide-routines.og): Likewise.
11672 (objects): Don't use $(bp-thunks).
11673 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11674 include.
11675 (common-generated): Do not add s-proto-bp.d.
11676 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11677 (int): Likewise.
11678 (typ): Likewise.
11679 Do not generate makefile rules for bounded-pointer thunks.
11680 * sysdeps/generic/bp-thunks.h: Remove file.
11681 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11682 * sysdeps/unix/s-proto-bp.S: Likewise.
11683
8cf28c5e
JM
11684 [BZ #15062]
11685 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11686 parts of result separately when argument is not close to line from
11687 -i to i and one part of argument is small.
11688 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11689 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11690 * math/libm-test.inc (cacos_test): Add more tests.
11691 (casin_test): Likewise.
11692 (casinh_test): Likewise.
11693 * sysdeps/i386/fpu/libm-test-ulps: Update.
11694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11695
c4e33b8d
DM
116962013-01-31 David S. Miller <davem@davemloft.net>
11697
11698 * po/de.po: Update from translation team.
11699
3b60b421
MK
117002013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11701
11702 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11703
bb931195
TS
117042013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11705
b5a5da23
TS
11706 * configure.in (_AC_PROG_CC_C89): New definition.
11707 * configure: Regenerate.
11708
bb931195
TS
11709 * configure.in (AC_PROG_CPP): New definition.
11710 * configure: Regenerate.
11711
8c53a12c
JM
117122013-01-23 Joseph Myers <joseph@codesourcery.com>
11713
11714 * debug/tst-backtrace.h: New file.
11715 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11716 (ret): Remove variable.
11717 (x): Likewise.
11718 (FAIL): Remove macro.
11719 (NO_INLINE): Likewise.
11720 (fn1): Use match function instead of strstr.
11721 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11722 (ret): Remove variable.
11723 (x): Likewise.
11724 (FAIL): Remove macro.
11725 (NO_INLINE): Likewise.
11726 (fn): Use match function instead of strstr.
11727 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11728 (ret): Remove variable.
11729 (x): Likewise.
11730 (FAIL): Remove macro.
11731 (NO_INLINE): Likewise.
11732 (handle_signal): Use match function instead of strstr.
11733 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11734 (ret): Remove variable.
11735 (x): Likewise.
11736 (FAIL): Remove macro.
11737 (NO_INLINE): Likewise.
11738 (handle_signal): Use match function instead of strstr.
11739
4858fa2a
RM
117402013-01-23 Roland McGrath <roland@hack.frob.com>
11741
11742 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11743
bae8e7f5
DM
117442013-01-23 David S. Miller <davem@davemloft.net>
11745
11746 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11747 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11748 argument of CAS if possible.
11749 * sysdeps/sparc/sparc64/bits/atomic.h
11750 (__arch_compare_and_exchange_val_32_acq): Likewise.
11751 (__arch_compare_and_exchange_val_64_acq): Likewise.
11752
9cbbc4ae
PT
117532013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11754
11755 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11756 * sysdeps/posix/ulimit.c: ... this.
92a601b8 11757 Include <limits.h>.
67b3f58c 11758 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 11759
5655a0b5
AC
117602013-01-23 Adam Conrad <adconrad@0c3.net>
11761
11762 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11763 (LDFLAGS-tst-array5): Likewise.
11764
052aff95
JM
117652013-01-23 Joseph Myers <joseph@codesourcery.com>
11766
11767 [BZ #15036]
11768 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11769 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11770 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11771 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11772
7c1e01aa
DM
117732013-01-21 David S. Miller <davem@davemloft.net>
11774
11775 * sysdeps/sparc/backtrace.c: New file.
11776 * sysdeps/sparc/sparc32/backtrace.h: New file.
11777 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11778 * sysdeps/sparc/sparc64/backtrace.h: New file.
11779 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11780 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11781 -funwind-tables.
11782
ab087e0a
AS
117832013-01-21 Andreas Schwab <schwab@suse.de>
11784
11785 [BZ #15020]
11786 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11787 closed its stdout.
11788
ed689c2f
AS
117892013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11790
11791 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11792 "mpa2.h".
11793 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11794
31d470ac
JM
117952013-01-18 Joseph Myers <joseph@codesourcery.com>
11796 Mark Mitchell <mark@codesourcery.com>
11797 Tom de Vries <tom@codesourcery.com>
11798 Paul Pluzhnikov <ppluzhnikov@google.com>
11799
11800 * debug/tst-backtrace2.c: New file.
11801 * debug/tst-backtrace3.c: Likewise.
11802 * debug/tst-backtrace4.c: Likewise.
11803 * debug/tst-backtrace5.c: Likewise.
11804 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11805 (CFLAGS-tst-backtrace3.c): Likewise.
11806 (CFLAGS-tst-backtrace4.c): Likewise.
11807 (CFLAGS-tst-backtrace5.c): Likewise.
11808 (LDFLAGS-tst-backtrace2): Likewise.
11809 (LDFLAGS-tst-backtrace3): Likewise.
11810 (LDFLAGS-tst-backtrace4): Likewise.
11811 (LDFLAGS-tst-backtrace5): Likewise.
11812 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11813 tst-backtrace4 and tst-backtrace5.
11814
90567f30 118152013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
11816 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11817
11818 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11819 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11820 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11821 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11822 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11823 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11824 "+r" and remove output regs list as redundant. Add explicit inline
11825 asm to specify register of return val to work around compiler codegen
11826 bug. Remove (int) cast on return value. Add return type parameter to
11827 use in macro so that this macro does not truncate return value for
11828 64-bit values.
11829 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11830 pass to INTERNAL_VSYSCALL_NCS.
11831 (INLINE_VSYSCALL): Add 'long int' as return type to
11832 INTERNAL_VSYSCALL_NCS macro invocation.
11833 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11834 INTERNAL_VSYSCALL_NCS macro invocation.
11835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11836
d3b9ea61
SP
118372013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11838
0b57daeb
SP
11839 [BZ #14496]
11840 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11841 Fix application of SIMD FP exception mask.
11842
caa99d06
SP
11843 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11844 mp_no from a power of two.
11845 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11846 __mpexp_twomm1. Use __pow_mp.
11847
d3b9ea61
SP
11848 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11849 multiplication.
11850
1dbaee3c
DM
118512013-01-17 David S. Miller <davem@davemloft.net>
11852
11853 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11854
728d7b43
JM
118552013-01-17 Joseph Myers <joseph@codesourcery.com>
11856
11857 [BZ #15023]
11858 * include/complex.h: Condition contents on [!_COMPLEX_H].
11859 (__kernel_casinhf): New prototype.
11860 (__kernel_casinh): Likewise.
11861 (__kernel_casinhl): Likewise.
11862 * math/Makefile (libm_calls): Add k_casinh.
11863 * math/k_casinh.c: New file.
11864 * math/k_casinhf.c: Likewise.
11865 * math/k_casinhl.c: Likewise.
11866 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11867 finite nonzero arguments.
11868 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11869 finite nonzero arguments.
11870 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11871 finite nonzero arguments.
11872 * math/s_casinh.c: Do not include <float.h>.
11873 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11874 * math/s_casinhf.c: Do not include <float.h>.
11875 (__casinhf): Move code for finite nonzero arguments to
11876 k_casinhf.c.
11877 * math/s_casinhl.c: Do not include <float.h>.
11878 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11879 redefine.
11880 (__casinhl): Move code for finite nonzero arguments to
11881 k_casinhl.c.
11882 * math/libm-test.inc (cacos_test): Add more tests.
11883 * sysdeps/i386/fpu/libm-test-ulps: Update.
11884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11885
2a26ef3a
PT
118862013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11887
11888 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11889 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11890 [!HAVE_MREMAP]: Remove [defined linux] case.
11891 * malloc/arena.c: Do not include <malloc-sysdep.h>.
11892
a897655d
SP
118932013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11894
11895 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11896
881ebe89 118972013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
11898
11899 * elf/elf.h (R_386_SIZE32): New relocation.
11900 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11901 R_386_SIZE32.
11902 (elf_machine_rela): Likewise.
11903 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11904 R_X86_64_SIZE64 and R_X86_64_SIZE32.
11905
59981e9b
JM
119062013-01-17 Joseph Myers <joseph@codesourcery.com>
11907
11908 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11909 (FP_FAST_FMA): Do not define.
11910 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11911 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11912 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11913 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11914 !_SOFT_FLOAT]: Likewise.
11915 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11916 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11917 value.
11918 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11919 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11920 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11921 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11922 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11923 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11924 file.
11925
cfa8054f
AS
119262013-01-16 Andreas Schwab <schwab@suse.de>
11927
11928 [BZ #14327]
11929 * include/stdlib.h (__mktemp): Add declaration.
11930 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11931 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11932
dd930cc5
SP
119332013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11934
881ebe89
SP
11935 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11936 definitions.
11937 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11938 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11939 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11940 definitions here.
11941 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11942 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11943 definitions.
11944 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11945 and ONE.
11946 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11947 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11948 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11949 definitions.
11950 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11951 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11952 definitions.
11953 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 11954
dd930cc5
SP
11955 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11956
c19a9f89
DM
119572013-01-15 David S. Miller <davem@davemloft.net>
11958
1aa61767
DM
11959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11960 trunc{,f} to libm-sysdep_routes.
11961 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11963 file.
11964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11966 file.
11967 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11968 file.
11969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11970 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11971 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11972 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11973 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
11974 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
11975 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
11976 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
11977
c42d5e98
DM
11978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11979 nearbyint{,f} to libm-sysdep_routes.
11980 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11981 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
11982 New file.
11983 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
11984 file.
11985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
11986 New file.
11987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
11988 file.
11989 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
11990 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
11991 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
11992 file.
11993 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
11994 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
11995 file.
11996 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
11997 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
11998 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
11999
c19a9f89
DM
12000 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12001 libc_feholdexcept and libc_fesetenv.
12002
357679d2
MF
120032013-01-15 Mike Frysinger <vapier@gentoo.org>
12004
12005 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12006
65a82e3d
DM
120072013-01-14 David S. Miller <davem@davemloft.net>
12008
8b954ab9
DM
12009 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12010 (SPARC_ASM_VIS2_IFUNC): Likewise.
12011 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12012 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12013 use of 'siam' instruction.
12014 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12015 Likewise.
12016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12017 Likewise.
12018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12019 Likewise.
12020 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12021 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12022 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12023 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12025 file.
12026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12027 file.
12028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12029 file.
12030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12031 file.
12032 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12033 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12034 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12035 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12037 new VIS2 routines.
12038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12041 Likewise.
12042 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12043 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12044 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12045 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12047 routines to libm-sysdep_routines.
12048 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12049
65a82e3d
DM
12050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12051 fdim/fdimf to libm-sysdep_routines.
12052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12053 file.
12054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12056 file.
12057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12060 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12061 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12062 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12063 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12064
e34ab705
SP
120652013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12066
2a91b573
SP
12067 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12068 to optimize copies.
12069
1066a534
SP
12070 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12071 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12072 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12073
e34ab705
SP
12074 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12075 local variable MPTWO.
12076 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12077 Likewise.
12078
aba5e596
MF
120792013-01-13 Mike Frysinger <vapier@gentoo.org>
12080
12081 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12082 GLOB_NOESCAPE.
12083
e557e9e5
MF
120842013-01-13 Mike Frysinger <vapier@gentoo.org>
12085
12086 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12087
0428cec9
MF
120882013-01-13 Mike Frysinger <vapier@gentoo.org>
12089
12090 * manual/pattern.texi (glob_t): Document gl_flags.
12091 (glob64_t): Likewise.
12092
8794a964
DM
120932013-01-11 David S. Miller <davem@davemloft.net>
12094
66438c3f
RM
12095 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12096 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12097 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
12098 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12099 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12100 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12101 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12102 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12103 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12104 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12105 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12106 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12107 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12108
4ae4244d
DM
12109 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12110 sparc V9 rather than using V8 code.
12111 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12112 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12113
8794a964
DM
12114 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12115 Move to...
12116 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12117 Here.
12118
6270516e
RM
121192013-01-11 Roland McGrath <roland@hack.frob.com>
12120
12121 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12122 not in the main loop.
12123 * configure: Regenerated.
12124
6a57d931
JM
121252013-01-11 Joseph Myers <joseph@codesourcery.com>
12126
12127 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12128 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12129 to just #else.
12130 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
12131 [!__GLIBC_HAVE_LONG_LONG] case.
12132 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12133 condition to just #else.
12134 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12135 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12136 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12137 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12138 unconditional.
12139 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12140 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12141 #elif condition to just #else.
12142 * sysdeps/unix/sysv/linux/sys/sysmacros.h
12143 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12144 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12145 #elif condition to just #else.
12146
0e8529e9
SE
121472013-01-11 Steve Ellcey <sellcey@mips.com>
12148
12149 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12150 (EF_MIPS_ARCH_64): Fix value.
12151 (EF_MIPS_ARCH_32R2): New.
12152 (EF_MIPS_ARCH_64R2): New.
12153
740b3dbe
L
121542013-01-11 H.J. Lu <hongjiu.lu@intel.com>
12155
12156 * Makeconfig (+link-pie-before-libc): New.
12157 (+link-pie-after-libc): Likewise.
12158 (+link-pie-tests): Likewise.
12159 (+link-pie): Rewritten.
12160 (link-before-libc): Remove $(config-LDFLAGS).
12161 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12162 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12163 (config-LDFLAGS): Renamed to ...
12164 (rtld-LDFLAGS): This.
12165 (rtld-tests-LDFLAGS): New macro.
12166 (link-libc-rpath-link): Likewise.
12167 (link-libc-tests-rpath-link): Likewise.
12168 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12169 (link-libc): Prepand $(link-libc-rpath-link).
12170 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12171 (test-program-prefix): New macro.
12172 (test-via-rtld-prefix): Likewise.
12173 (test-program-cmd): Likewise.
12174 (host-test-program-cmd): Likewise.
12175 * Makefile ($(common-objpfx)testrun.sh): Replace
12176 $(run-program-prefix) with $(test-program-prefix).
12177 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12178 $(rtld-LDFLAGS).
12179 ($(common-objpfx)shlib.lds): Likewise.
12180 (build-module-helper): Likewise.
12181 ($(common-objpfx)format.lds): Likewise.
12182 * Rules (binaries-pie-tests): New.
12183 (binaries-pie-notests): Likewise.
12184 (binaries-pie): Rewritten.
12185 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12186 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12187 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12188 (make-test-out): Replace $(host-built-program-cmd) with
12189 $(host-test-program-cmd).
12190 * config.make.in (build-hardcoded-path-in-tests): New variable.
12191 * configure.in (--enable-hardcoded-path-in-tests): New configure
12192 option.
12193 (hardcoded_path_in_tests): New AC_SUBST.
12194 * configure: Regenerated.
12195 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12196 $(built-program-cmd) with $(test-program-cmd).
12197 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12198 (test_program_cmd): This.
12199 * elf/Makefile ($(objpfx)order.out): Run test with
12200 $(test-program-prefix).
12201 ($(objpfx)order2.out): Likewise.
12202 ($(objpfx)tst-initorder.out): Likewise.
12203 ($(objpfx)tst-initorder2.out): Likewise.
12204 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12205 $(test-program-cmd).
12206 ($(objpfx)tst-array1-static.out): Likewise.
12207 ($(objpfx)tst-array2.out): Likewise.
12208 ($(objpfx)tst-array3.out): Likewise.
12209 ($(objpfx)tst-array4.out): Likewise.
12210 ($(objpfx)tst-array5.out): Likewise.
12211 ($(objpfx)tst-array5-static.out): Likewise.
12212 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12213 $(test-program-cmd).
12214 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12215 $(run-program-prefix) with $(test-program-prefix).
12216 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12217 (test_program_prefix): This.
12218 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12219 $(run-program-prefix) with $(test-program-prefix).
12220 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12221 (test_program_prefix): This.
12222 * iconvdata/tst-tables.sh: Likewise.
12223 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12224 $(run-program-prefix) with $(test-program-prefix).
12225 ($(objpfx)tst-translit.out): Likewise.
12226 ($(objpfx)tst-gettext2.out): Likewise.
12227 ($(objpfx)tst-gettext4.out): Likewise.
12228 ($(objpfx)tst-gettext6.out): Likewise.
12229 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12230 (test_program_prefix): This.
12231 * intl/tst-gettext2.sh: Likewise.
12232 * intl/tst-gettext4.sh Likewise.
12233 * intl/tst-gettext6.sh: Likewise.
12234 * intl/tst-translit.sh: Likewise.
12235 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12236 with $(test-program-cmd).
12237 * libio/Makefile ($(objpfx)test-freopen.out): Replace
12238 $(run-program-prefix) with $(test-program-prefix).
12239 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12240 (test_program_prefix): This.
12241 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12242 $(run-program-prefix) with $(test-program-prefix).
12243 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12244 (test_program_prefix): This.
12245 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12246 * posix/Makefile ($(objpfx)globtest.out): Replace
12247 $(run-via-rtld-prefix) and $(test-wrapper) with
12248 $(test-program-prefix) and $(test-via-rtld-prefix).
12249 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12250 $(test-program-prefix).
12251 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12252 $(host-test-program-cmd).
12253 (tst-spawn-ARGS): Likewise.
12254 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12255 $(test-program-prefix).
12256 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12257 (test_via_rtld_prefix): This.
12258 (test_wrapper): Renamed to ...
12259 (test_program_prefix): This.
12260 (run_program_prefix): Replaced by test_program_prefix.
12261 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12262 (test_program_prefix): This.
12263 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12264 with $(host-test-program-cmd).
12265 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12266 $(run-program-prefix) with $(test-program-prefix).
12267 ($(objpfx)tst-printf.out): Likewise.
12268 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12269 $(test-program-cmd).
12270 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12271 (test_program_prefix): This.
12272 * stdio-common/tst-unbputc.sh: Likewise.
12273 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12274 $(run-program-prefix) with $(test-program-prefix).
12275 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12276 (test_program_prefix): This.
12277 * string/Makefile ($(objpfx)tst-svc.out): Replace
12278 $(built-program-cmd) with $(test-program-cmd).
12279
c6fe55cf
AJ
122802013-01-11 Andreas Jaeger <aj@suse.de>
12281
12282 [BZ #15003]
12283 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12284 value. Sync with Linux 3.7.
12285
9e6919c8
DM
122862013-01-10 David S. Miller <davem@davemloft.net>
12287
12288 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12289 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12290 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12291
1c9f1a02
RM
122922013-01-10 Roland McGrath <roland@hack.frob.com>
12293
12294 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12295 never set.
12296 * configure: Regenerated.
12297
b9de2dde
DM
122982013-01-10 David S. Miller <davem@davemloft.net>
12299
12300 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12301 sparc V9 rather than using V8 code.
12302 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12303 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12304
e7f68ef4
RM
123052013-01-10 Roland McGrath <roland@hack.frob.com>
12306
12307 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12308 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12309 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12310 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12311 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12312 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12313 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12314 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12315 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12316 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12317 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12318 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12319 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12320 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12321 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12322 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12323 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12324 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12325 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12326 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12327 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12328 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12329 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12330 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12331 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12332 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12333 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12334
5a47cc9c
DM
123352013-01-10 David S. Miller <davem@davemloft.net>
12336
12337 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12338
4cf8f209
L
123392013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12340
12341 * posix/Makefile (tests-static): New variable.
12342 (tests): Add $(tests-static).
12343 (tst-exec-static-ARGS): New variable.
12344 (tst-spawn-static-ARGS): Likewise.
12345 * posix/tst-exec-static.c: New file.
12346 * posix/tst-spawn-static.c: Likewise.
12347 * posix/tst-exec.c: Support run directly.
12348 * posix/tst-spawn.c: Likewise.
12349
fed0faa1
JM
123502013-01-10 Joseph Myers <joseph@codesourcery.com>
12351
828beb13
JM
12352 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12353 long.
12354 * math/bits/mathcalls.h (llrint): Likewise.
12355 (llround): Likewise.
12356 * stdlib/stdlib.h (struct drand48_data): Likewise.
12357 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12358 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12359 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12360 Likewise.
12361 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12362 Likewise.
12363 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12364 (elf_greg_t): Likewise.
12365 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12366 (__jmp_buf): Likewise.
12367 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
12368 definitions.
12369 (llrint): Likewise, for all definitions.
12370 (llrintl): Likewise.
12371
fed0faa1
JM
12372 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
12373 Remove [__GNUC__] condition.
12374 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
12375 condition to just [__USE_ISOC99].
12376 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
12377
1a20cb20
L
123782013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12379
12380 [BZ #14200]
12381 * sysdeps/unix/sysv/linux/x86/bits/environments.h
12382 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12383 defined.
12384 (_POSIX_V6_ILP32_OFF32): Likewise.
12385 (_XBS5_ILP32_OFF32): Likewise.
12386 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
12387 (__ILP32_OFFBIG_LDFLAGS): Likewise.
12388
751b85f7
SP
123892013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12390
7490eb81
SP
12391 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12392
751b85f7
SP
12393 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
12394 doubles __mpexp_twomm1. Adjust usage.
12395 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12396 Remove.
12397
988197f0
AS
123982013-01-10 Andreas Schwab <schwab@suse.de>
12399
12400 [BZ #14964]
12401 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12402 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12403
e83d7298
DM
124042013-01-09 David S. Miller <davem@davemloft.net>
12405
034ed64b 12406 [BZ #15003]
e83d7298
DM
12407 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12408 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12409 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12410 TCP_FASTOPEN): Define.
12411 (tcp_repair_opt): New structure.
12412 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12413 enum values.
12414 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12415 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12416 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12417 (tcp_cookie_transactions): New structure.
12418
d5e0b9bd
AB
124192013-01-09 Anton Blanchard <anton@samba.org>
12420
12421 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12422 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12423 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12424 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12425
0c07e3ea
JM
124262013-01-09 Joseph Myers <joseph@codesourcery.com>
12427
12428 * include/features.h (__USE_ANSI): Remove.
12429
232f7002
RM
124302013-01-09 Roland McGrath <roland@hack.frob.com>
12431
ad98e30c
RM
12432 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12433
232f7002
RM
12434 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12435
950c99ca
SP
124362013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12437
b5792741
SP
12438 * sysdeps/s390/fpu/libm-test-ulps: Update.
12439
47cf2278
SP
12440 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12441
950c99ca
SP
12442 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12443 (__acr): Likewise.
12444 (__cpy): Likewise.
12445 (norm): Likewise.
12446 (denorm): Likewise.
12447 (__mp_dbl): Likewise.
12448 (__dbl_mp): Likewise.
12449 (add_magnitudes): Likewise.
12450 (sub_magnitudes): Likewise.
12451 (__add): Likewise.
12452 (__sub): Likewise.
12453 (__mul): Likewise.
12454 (__inv): Likewise.
12455 (__dvd): Likewise.
12456 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12457 (__acr): Likewise.
12458 (__cpy): Likewise.
12459 (norm): Likewise.
12460 (denorm): Likewise.
12461 (__mp_dbl): Likewise.
12462 (__dbl_mp): Likewise.
12463 (add_magnitudes): Likewise.
12464 (sub_magnitudes): Likewise.
12465 (__add): Likewise.
12466 (__sub): Likewise.
12467 (__mul): Likewise.
12468 (__inv): Likewise.
12469 (__dvd): Likewise.
12470 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12471 (__acr): Likewise.
12472 (__cpy): Likewise.
12473 (norm): Likewise.
12474 (denorm): Likewise.
12475 (__mp_dbl): Likewise.
12476 (__dbl_mp): Likewise.
12477 (add_magnitudes): Likewise.
12478 (sub_magnitudes): Likewise.
12479 (__add): Likewise.
12480 (__sub): Likewise.
12481 (__mul): Likewise.
12482 (__inv): Likewise.
12483 (__dvd): Likewise.
12484
eede9df9
JM
124852013-01-08 Joseph Myers <joseph@codesourcery.com>
12486
12487 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12488 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12489 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12490 2 && __USE_EXTERN_INLINES]: Likewise.
12491
c40ea3d9
AJ
124922013-01-08 Andreas Jaeger <aj@suse.de>
12493
12494 [BZ# 14985]
12495 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12496 Remove.
12497 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12498 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12499
2ccdea26
AB
125002013-01-07 Anton Blanchard <anton@samba.org>
12501
12502 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12503 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12504 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12505 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12506 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12507 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12508 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12509 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12510 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12511 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12512 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12513 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12514 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12515 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12516 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12517 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12518 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12519 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12520 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12521 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12522 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12523 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12524 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12525 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12526 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12527 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12528 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12529 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12530 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12531 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12532 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12533 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12534 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12535 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12536 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12537 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12538 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12539 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12540 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12541 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12542 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12543 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12544 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12545
a9708fed
JM
125462013-01-07 Joseph Myers <joseph@codesourcery.com>
12547
375607b9
JM
12548 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12549 (__MALLOC_PMT): Likewise.
12550 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12551 [__GNUC__], only on [_LIBC].
12552 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12553 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12554 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12555 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12556 forward declaration.
12557 (realloc_hook_ini): Likewise.
12558 (memalign_hook_ini): Likewise.
12559 (__libc_memalign): Do not use __MALLOC_PMT in variable
12560 declaration.
12561 (__libc_valloc): Likewise.
12562 (__libc_pvalloc): Likewise.
12563 (__libc_calloc): Likewise.
12564 (__posix_memalign): Likewise.
12565
a9708fed
JM
12566 [BZ #14996]
12567 * math/s_casinh.c: Include <float.h>.
12568 (__casinh): Do not do computation with squaring and square root
12569 for large arguments.
12570 * math/s_casinhf.c: Include <float.h>.
12571 (__casinhf): Do not do computation with squaring and square root
12572 for large arguments.
12573 * math/s_casinhl.c: Include <float.h>.
12574 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12575 (__casinhl): Do not do computation with squaring and square root
12576 for large arguments.
12577 * math/libm-test.inc (casin_test): Add more tests.
12578 (casinh_test): Likewise.
12579 * sysdeps/i386/fpu/libm-test-ulps: Update.
12580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12581
afec409a
L
125822013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12583
12584 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12585 (__x86_64_raw_data_cache_size): Likewise.
12586 (__x86_64_data_cache_size_half): Likewise.
12587 (__x86_64_raw_data_cache_size_half): Likewise.
12588 (__x86_64_shared_cache_size): Likewise.
12589 (__x86_64_raw_shared_cache_size): Likewise.
12590 (__x86_64_shared_cache_size_half): Likewise.
12591 (__x86_64_raw_shared_cache_size_half): Likewise.
12592 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12593 to ...
12594 (__x86_data_cache_size): This.
12595 (__x86_64_raw_data_cache_size): Renamed to ...
12596 (__x86_raw_data_cache_size): This.
12597 (__x86_64_data_cache_size_half): Renamed to ...
12598 (__x86_data_cache_size_half): This.
12599 (__x86_64_raw_data_cache_size_half): Renamed to ...
12600 (__x86_raw_data_cache_size_half): This.
12601 (__x86_64_shared_cache_size): Renamed to ...
12602 (__x86_shared_cache_size): This.
12603 (__x86_64_raw_shared_cache_size): Renamed to ...
12604 (__x86_raw_shared_cache_size): This.
12605 (__x86_64_shared_cache_size_half): Renamed to ...
12606 (__x86_shared_cache_size_half): This.
12607 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12608 (__x86_raw_shared_cache_size_half): This.
12609 * sysdeps/x86_64/memcpy.S: Updated.
12610 * sysdeps/x86_64/memset.S: Likewise.
12611 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12612 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12613 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12614
0b3986d0
DM
126152013-01-04 David S. Miller <davem@davemloft.net>
12616
12617 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12618
e47686e9
AS
126192013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12620
d643bac1
AS
12621 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12622 1 to avoid redefinition warning.
12623 (__USE_GNU): Don't define.
12624 (init_signaling_nan): Protoize.
12625
e47686e9
AS
12626 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12627
b18decba
SP
126282013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12629
fffb407f
SP
12630 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12631 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12632 (__cpymn): Likewise.
12633 (norm): Remove commented code.
12634 (denorm): Likewise.
12635 (__mp_dbl): Likewise.
12636 (__inv): Likewise.
12637 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12638 (__cpymn): Likewise.
12639 (norm): Remove commented code.
12640 (denorm): Likewise.
12641 (__mp_dbl): Likewise.
12642 (__inv): Likewise.
12643
b18decba
SP
12644 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12645 mp_no value for 1.0 and 2.0.
12646 (norm): Use RADIXI instead of radixi.d.
12647 (denorm): Likewise.
12648 (__mul): Use 0.0 instead of zero.d.
12649 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12650 mp_no value for 1.0 and 2.0.
12651 (norm): Use RADIXI instead of radixi.d.
12652 (denorm): Likewise.
12653 (__mul): Use 0.0 instead of zero.d.
12654
cdc1c96f
JM
126552013-01-04 Joseph Myers <joseph@codesourcery.com>
12656
12657 [BZ #14994]
12658 * math/s_casinh.c (__casinh): Reduce finite argument to first
12659 quadrant then set signs of results at the end.
12660 * math/s_casinhf.c (__casinhf): Likewise.
12661 * math/s_casinhl.c (__casinhl): Likewise.
12662 * math/libm-test.inc (casin_test): Add more tests.
12663 (casinh_test): Likewise.
12664 * sysdeps/i386/fpu/libm-test-ulps: Update.
12665 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12666
302913e1
SP
126672013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12668
6420d207
SP
12669 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12670
a9e48ab4
SP
12671 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12672
b7837264
SP
12673 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12674 declarations.
12675 (denorm): Likewise.
12676 (__mp_dbl): Likewise.
12677 (__inv): Likewise.
12678
f8af25d2
SP
12679 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12680 and adjust the header comment.
12681
302913e1
SP
12682 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12683 variable name from declaration.
12684
5d7dd1ca
L
126852013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12686
12687 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12688 Initialize COMMON_CPUID_INDEX_7 element.
12689 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12690 (CPUID_RTM): Likewise.
12691 (HAS_RTM): Likewise.
12692 (COMMON_CPUID_INDEX_7): New enum.
12693
2f5f40f4
AS
126942013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12695
12696 [BZ #14981]
12697 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12698 size is zero, record memory as freed.
12699
4056f4a0
AJ
127002013-01-03 Andreas Jaeger <aj@suse.de>
12701
12702 * po/ia.po: Add new Interlingua translation.
12703
ab15736f 127042012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
12705
12706 * locale/programs/localedef.c: Fix description of '--posix' flag.
12707
568035b7
JM
127082013-01-02 Joseph Myers <joseph@codesourcery.com>
12709
e6898b8d
JM
12710 * NEWS: Update dates in second copyright notice.
12711 * README: Update copyright dates in example.
12712 * manual/libc.texinfo: Update copyright dates.
12713 * scripts/test-installation.pl: Update copyright date in --version
12714 output.
12715
0e2f9562
JM
12716 * hurd/ctty-input.c: Fix copyright notice formatting.
12717 * hurd/ctty-output.c: Likewise.
12718 * hurd/dtable.c: Likewise.
12719 * hurd/hurd-raise.c: Likewise.
12720 * hurd/hurdprio.c: Likewise.
12721 * hurd/msgportdemux.c: Likewise.
12722 * misc/sys/file.h: Likewise.
12723 * misc/sys/ioctl.h: Likewise.
12724 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12725 * sysdeps/mach/hurd/chdir.c: Likewise.
12726 * sysdeps/mach/hurd/fchdir.c: Likewise.
12727 * sysdeps/mach/hurd/rename.c: Likewise.
12728 * sysdeps/mach/hurd/rmdir.c: Likewise.
12729 * sysdeps/mach/hurd/seekdir.c: Likewise.
12730 * sysdeps/mach/hurd/setsid.c: Likewise.
12731 * sysdeps/posix/wait3.c: Likewise.
12732
568035b7
JM
12733 * All files with FSF copyright notices: Update copyright dates
12734 using scripts/update-copyrights.
12735 * intl/plural.c: Regenerated.
12736 * locale/programs/charmap-kw.h: Likewise.
12737 * locale/programs/locfile-kw.h: Likewise.
12738
da08f647
SP
127392013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12740
0f5477af
SP
12741 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12742 four values.
12743
44e0d4c2
SP
12744 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12745 calculation loop and add branch prediction.
12746
4d55b4e5
SP
12747 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12748 check access beyond bounds of m1np.
12749
da08f647
SP
12750 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12751 MPTWO.
12752 (__inv): Remove local variable MPTWO to use the global
12753 constant.
12754 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12755 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12756 variable MPTWO.
12757 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12758 MP3HALFS static const.
12759
8e051029
DM
127602013-01-01 David S. Miller <davem@davemloft.net>
12761
12762 * po/ca.po: Update from translation team.
12763
f4cf5f2d
JM
127642013-01-01 Joseph Myers <joseph@codesourcery.com>
12765
12766 * scripts/update-copyrights: New file.
12767 * Makeconfig: Reformat copyright notice.
12768 * ctype/ctype.h: Likewise.
12769 * debug/swprintf_chk.c: Likewise.
12770 * elf/dl-cache.c: Likewise.
12771 * elf/dl-debug.c: Likewise.
12772 * elf/dl-object.c: Likewise.
12773 * grp/initgroups.c: Likewise.
12774 * hurd/Makefile: Likewise.
12775 * hurd/hurd/signal.h: Likewise.
12776 * hurd/hurdfault.c: Likewise.
12777 * hurd/hurdioctl.c: Likewise.
12778 * hurd/hurdlookup.c: Likewise.
12779 * hurd/intr-msg.c: Likewise.
12780 * iconv/gconv_open.c: Likewise.
12781 * libio/swprintf.c: Likewise.
12782 * locale/lc-ctype.c: Likewise.
12783 * locale/nl_langinfo.c: Likewise.
12784 * mach/Machrules: Likewise.
12785 * mach/Makefile: Likewise.
12786 * malloc/obstack.h: Likewise.
12787 * manual/Makefile: Likewise.
12788 * manual/tsort.awk: Likewise.
12789 * misc/bits/stab.def: Likewise.
12790 * nis/nis_print_group_entry.c: Likewise.
12791 * nis/nis_table.c: Likewise.
12792 * nis/nss_compat/compat-pwd.c: Likewise.
12793 * nis/nss_compat/compat-spwd.c: Likewise.
12794 * po/Makefile: Likewise.
12795 * posix/fnmatch.c: Likewise.
12796 * posix/regex.h: Likewise.
12797 * resolv/Makefile: Likewise.
12798 * resolv/nss_dns/dns-network.c: Likewise.
12799 * resolv/res_hconf.c: Likewise.
12800 * scripts/gen-sorted.awk: Likewise.
12801 * soft-fp/soft-fp.h: Likewise.
12802 * stdio-common/printf.h: Likewise.
12803 * stdlib/monetary.h: Likewise.
12804 * stdlib/random.c: Likewise.
12805 * stdlib/random_r.c: Likewise.
12806 * sysdeps/generic/Makefile: Likewise.
12807 * sysdeps/gnu/Makefile: Likewise.
12808 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12809 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12810 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12811 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12812 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12813 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12814 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12815 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12816 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12817 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12818 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12819 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12820 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12821 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12822 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12823 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12824 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12825 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12826 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12827 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12828 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12829 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12830 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12831 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12832 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12833 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12834 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12835 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12836 * sysdeps/mach/hurd/errnos.awk: Likewise.
12837 * sysdeps/mach/hurd/fork.c: Likewise.
12838 * sysdeps/mach/hurd/getcwd.c: Likewise.
12839 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12840 * sysdeps/mach/hurd/mmap.c: Likewise.
12841 * sysdeps/mach/hurd/utimes.c: Likewise.
12842 * sysdeps/mach/hurd/xmknod.c: Likewise.
12843 * sysdeps/posix/profil.c: Likewise.
12844 * sysdeps/posix/readdir_r.c: Likewise.
12845 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12846 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12847 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12848 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12849 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12850 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12851 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12852 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12853 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12854 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12855 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12856 * sysdeps/pthread/lio_listio.c: Likewise.
12857 * sysdeps/sparc/dl-procinfo.h: Likewise.
12858 * sysdeps/unix/i386/sysdep.S: Likewise.
12859 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12860 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12861 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12862 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12863 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12864 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12865 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12866 * sysdeps/unix/sysv/linux/speed.c: Likewise.
12867 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12868 * sysdeps/wordsize-32/divdi3.c: Likewise.
12869 * time/sys/time.h: Likewise.
12870 * wcsmbs/Makefile: Likewise.
12871
0549fbba
DM
128722013-01-01 David S. Miller <davem@davemloft.net>
12873
a141f1a7
DM
12874 * po/fr.po: Update from translation team.
12875
0549fbba
DM
12876 * catgets/gencat.c: Update copyright year.
12877 * csu/version.c: Likewise.
12878 * debug/catchsegv.sh: Likewise.
12879 * debug/pcprofiledump.c: Likewise.
12880 * debug/xtrace.sh: Likewise.
12881 * elf/ldconfig.c: Likewise.
12882 * elf/ldd.bash.in: Likewise.
12883 * elf/pldd.c: Likewise.
12884 * elf/sotruss.ksh: Likewise.
12885 * elf/sprof.c: Likewise.
12886 * iconv/iconv_prog.c: Likewise.
12887 * iconv/iconvconfig.c: Likewise.
12888 * locale/programs/locale.c: Likewise.
12889 * locale/programs/localedef.c: Likewise.
12890 * login/programs/pt_chown.c: Likewise.
12891 * malloc/memusage.sh: Likewise.
12892 * malloc/memusagestat.c: Likewise.
12893 * malloc/mtrace.pl: Likewise.
12894 * nscd/nscd.c: Likewise.
12895 * nss/getent.c: Likewise.
12896 * nss/makedb.c: Likewise.
12897 * posix/getconf.c: Likewise.
12898
18ea052c
SP
128992012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12900
12901 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12902 numbers.
12903
9c89fca6
MF
129042012-12-30 Mike Frysinger <vapier@gentoo.org>
12905
12906 * math/bits/mathcalls.h (modf): Use __nonnull.
12907
085ec079
SP
129082012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12909
12910 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12911 (split): Use macro CN instead of the bare value.
12912 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12913 could be used.
12914 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12915 instead of the bare value.
12916 (power1): Likewise.
12917
6d9f97e1
SP
129182012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12919
d63f73be
SP
12920 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12921 __ATAN_TWOM.
12922 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12923
6d9f97e1
SP
12924 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12925 their values.
12926 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12927 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12928 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12929 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12930
4c4febf5
AJ
129312012-12-28 Andreas Jaeger <aj@suse.de>
12932
af5843ef
AJ
12933 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12934 values are from Linux 3.7.
12935
4c4febf5
AJ
12936 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12937 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12938
99136f82
SP
129392012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12940
2f216c3c 12941 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
12942 TRUE case.
12943
99136f82
SP
12944 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12945 (norm): Likewise.
12946 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12947 variables with preprocessor constants.
12948 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12949 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12950 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12951
7fffbdff
BH
129522012-12-27 Bruno Haible <bruno@clisp.org>
12953
12954 [BZ #14317]
12955 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12956 only if needed.
12957
b76eb5f0
SP
129582012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12959
31a7fe5c
SP
12960 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12961 and use variable directly.
12962 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12963
b76eb5f0
SP
12964 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12965 MPONE.
12966 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12967 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12968 variable MPONE.
12969 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12970 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12971 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12972 include directive. Remove local variable MPONE.
12973 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
12974 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
12975 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
12976
2c8bfe7d
DM
129772012-12-25 David S. Miller <davem@davemloft.net>
12978
12979 * version.h (RELEASE): Set to "development".
12980 (VERSION): Set to "2.17.90".
12981 * NEWS: Add 2.18 section.
12982
147d03b0
DM
129832012-12-21 David S. Miller <davem@davemloft.net>
12984
12985 * po/hr.po: Update from translation team.
12986
a8ebb2b9
AK
129872012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12988
12989 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
12990
95b4f1b6
SE
129912012-12-19 Steve Ellcey <sellcey@mips.com>
12992
b2d94007 12993 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 12994
cedb2a90
MS
129952012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
12996
12997 * manual/contrib.texi (Contributors): Spelling correction.
12998
bbf527d6
DM
129992012-12-15 David S. Miller <davem@davemloft.net>
13000
13001 * po/ru.po: Update from translation team.
13002
bc38c906
DM
130032012-12-13 David S. Miller <davem@davemloft.net>
13004
85429b1a
DM
13005 * NEWS: Mention IFUNC testsuite enhancements.
13006
d283e353
DM
13007 * po/pl.po: Update from translation team.
13008 * po/bg.po: Likewise.
13009
bc38c906
DM
13010 * manual/contrib.texi (Contributors): Update entries for Hongjiu
13011 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
13012
a181b0d7
DM
130132012-12-11 David S. Miller <davem@davemloft.net>
13014
4641d57e
DM
13015 * po/sv.po: Update from translation team.
13016
f7bc6495
DM
13017 * po/vi.po: Update from translation team.
13018
6fc9048f
DM
13019 * po/cs.po: Update from translation team.
13020
a181b0d7
DM
13021 * po/de.po: Update from translation team.
13022 * po/eo.po: Likewise.
13023 * po/nl.po: Likewise.
13024
f70bfe80
SP
130252012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13026
3c8b4190
SP
13027 [BZ #14246]
13028 * manual/argp.texi (Argp Helper Functions): Move node to follow
13029 Argp Parsing State.
13030
f70bfe80
SP
13031 [BZ #14872]
13032 * manual/conf.texi (Limits on File System Capacity): Mention if
13033 terminating null is included in the max size.
13034
188f0adf
AJ
130352012-12-10 Andreas Jaeger <aj@suse.de>
13036
13037 * po/cs.po: Update from translation team.
13038
56e7d3ad
SP
130392012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13040
13041 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13042 void pointer and cast to uintptr_t.
13043 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13044 path.
13045 * sysdeps/s390/s390-64/memcpy.S: Likewise.
13046 * sysdeps/s390/s390-64/memset.S: Likewise.
13047
76f2d2ea 130482012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
13049
13050 [BZ #14833]
13051 * menual/message.texi (Message Translation): Fix typos.
13052 (Helper programs for gettext): Likewise.
13053
67cbf9a2
AS
130542012-12-07 Andreas Schwab <schwab@linux-m68k.org>
13055
13056 [BZ #14898]
13057 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13058 Change to -1.
13059
682d0e9a
DM
130602012-12-07 David S. Miller <davem@davemloft.net>
13061
13062 * po/libc.pot: Update.
13063
573cd484
RH
130642012-12-07 Richard Henderson <rth@redhat.com>
13065
7e9da188 13066 [BZ #10114]
573cd484
RH
13067 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13068 normal/normal case to before the switch.
13069 (_FP_DIV): Likewise.
13070
e933a943
MF
130712012-12-06 Carlos O'Donell <carlos@systemhalted.org>
13072 Mike Frysinger <vapier@gentoo.org>
13073
13074 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13075 check for __NR_fadvise64_64.
13076
82123268
CM
130772012-12-06 Chris Metcalf <cmetcalf@tilera.com>
13078
13079 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13080 0, not just to plain "0" as a statement.
13081 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13082 with cw.
13083
d9814526
JM
130842012-12-06 Joseph Myers <joseph@codesourcery.com>
13085
13086 * NEWS: Use sourceware.org in Bugzilla URL.
13087
7728c574
SP
130882012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13089
f16946dd
SP
13090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13091 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13092
5704bbcb
SP
13093 * stdio-common/tst-put-error.c (do_test): Add newline to the
13094 padded test to ensure flush.
13095
17aa0516
JL
130962012-12-05 Jeff Law <law@redhat.com>
13097
13098 * sunrpc/etc.rpc (fedfs_admin): Add entry.
13099
363313b5
JM
131002012-12-05 Joseph Myers <joseph@codesourcery.com>
13101
effbd42a
JM
13102 * README: Don't refer to ports add-on as distributed separately.
13103 Mention AArch64 in list of systems supported in the ports add-on.
13104
87600365
JM
13105 * LICENSES: Add more non-FSF copyright and license notices.
13106
a0d7066a
JM
13107 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13108 ((unused)).
13109
66ca5a5b
JM
13110 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13111
363313b5
JM
13112 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13113 10000 as width of padded output.
13114
b37984ad
JM
131152012-12-04 Joseph Myers <joseph@codesourcery.com>
13116
9003570a
JM
13117 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13118
b37984ad
JM
13119 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13120 variable LX with __attribute__ ((unused)).
13121 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13122 Likewise.
13123 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13124 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13125 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13126 with __attribute__ ((unused)).
13127
c8df52ec
DM
131282012-12-04 David S. Miller <davem@abraco.davemloft.net>
13129
13130 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13131
b3b099af
JM
131322012-12-04 Joseph Myers <joseph@codesourcery.com>
13133
c33aa6e3
JM
13134 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13135 (CFLAGS-nldbl-acos.c): New variable.
13136 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13137 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13138 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13139 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13140 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13141 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13142 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13143 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13144 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13145 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13146 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13147 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13148 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13149 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13150 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13151 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13152 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13153 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13154 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13155 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13156 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13157 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13158 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13159 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13160 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13161 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13162 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13163 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13164 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13165 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13166 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13167 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13168 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13169 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13170 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13171 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13172 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13173 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13174 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13175 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13176 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13177 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13178 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13179 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13180 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13181 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13182 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13183 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13184 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13185 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13186 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13187 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13188 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13189 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13190 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13191 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13192 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13193 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13194 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13195 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13196 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13197 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13198 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13199 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13200 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13201 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13202 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13203 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13204 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13205 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13206 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13207 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13208 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13209 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13210 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13211 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13212 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13213 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13214 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13215 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13216 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13217 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13218 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13219 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13220 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13221 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13222 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13223 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13224 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13225 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13226 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13227 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13228 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13229 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13230 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13231 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13232 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13233
20f0018d
JM
13234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13235 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13236
b3b099af
JM
13237 [BZ #14914]
13238 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13239 whole low double instead of just low 47 bits when splitting values
13240 into two parts.
13241
029264d1
AM
132422012-12-03 Allan McRae <allan@archlinux.org>
13243
13244 * manual/stdio.texi (Predefined Printf Handlers): Remove
13245 @hsep and @vsep usage.
13246
c9d6789e
MF
132472012-12-03 Mike Frysinger <vapier@gentoo.org>
13248
13249 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13250 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13251
4b7634a5
JL
132522012-12-03 Jeff Law <law@redhat.com>
13253
13254 * time/sys/time.h (settimeofday): Do not mark TV argument
13255 as __nonnull.
13256
eb6cbd24
MF
132572012-12-01 Mike Frysinger <vapier@gentoo.org>
13258
13259 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13260 when currently writing and seek to current position when not.
13261 * libio/Makefile (tests): Remove bug-fclose1.
13262 * libio/bug-fclose1.c: Delete.
13263
f638872a
JM
132642012-12-01 Joseph Myers <joseph@codesourcery.com>
13265
13266 * manual/arith.texi (feenableexcept): Fix typo.
13267 (fedisableexcept): Likewise.
13268
48085d14
RM
132692012-11-30 Roland McGrath <roland@hack.frob.com>
13270
13271 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13272 second, differently-typed declaration, rather than a cast.
13273
1a538b9f
SP
132742012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13275
13276 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13277 * include/rpc/svc.h: ... here.
13278
d07f2ff1 132792012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
13280
13281 [BZ #13013]
13282 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13283 depending n and resplen2 to catch cases where answer
13284 equals answerp2.
13285
c93ec1f0
CD
132862012-11-29 Carlos O'Donell <carlos@systemhalted.org>
13287
13288 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13289 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13290
37db69de
MF
132912012-11-29 Mike Frysinger <vapier@gentoo.org>
13292
13293 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13294
e10c4e4f
RM
132952012-11-29 Roland McGrath <roland@hack.frob.com>
13296
13297 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13298
2af1b328
JL
132992012-11-28 Jeff Law <law@redhat.com>
13300
13301 [BZ #13761]
13302 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13303 dataset_temporary. Track alloca usage into alloca_used.
13304 If dataset is large allocate and release it via malloc/free.
13305
111db5b1
FW
133062012-06-04 Florian Weimer <fweimer@redhat.com>
13307
f06cc227 13308 [BZ #14197]
111db5b1
FW
13309 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13310
dd694abd
DM
133112012-11-28 David S. Miller <davem@davemloft.net>
13312
13313 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13314
9984dd01
JM
133152012-11-28 Joseph Myers <joseph@codesourcery.com>
13316
13317 [BZ #14803]
13318 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13319 of pi/2 rounded to nearest to 64 bits.
13320 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13321 nearest to 64 bits.
13322 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13323 bits.
13324
14bc93a9
JL
133252012-11-28 Jeff Law <law@redhat.com>
13326 Martin Osvald <mosvald@redhat.com>
13327
13328 [BZ #14889]
13329 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13330 * sunrpc/svc.c: Include time.h.
13331 (__svc_accept_failed): New function.
13332 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13333 any reason other than EINTR, call __svc_accept_failed.
13334 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13335 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13336
e3c6aa3a
AS
133372012-11-28 Andreas Schwab <schwab@suse.de>
13338
13339 * scripts/abilist.awk: Also handle indirect functions in .opd
13340 section.
13341
1bead169
JM
133422012-11-28 Joseph Myers <joseph@codesourcery.com>
13343
13344 [BZ #13881]
13345 * sysdeps/x86/fpu/powl_helper.c: New file.
13346 * sysdeps/x86/fpu/Makefile: Likewise.
13347 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13348 (p3): New object.
13349 (__ieee754_powl): Use __powl_helper for finite arguments except
13350 integer exponents below 8.
13351 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13352 (p3): New object.
13353 (__ieee754_powl): Use __powl_helper for finite arguments except
13354 integer exponents below 8.
13355 * math/libm-test.inc (pow_test): Add more tests and enable some
13356 previously disabled tests.
13357 * sysdeps/i386/fpu/libm-test-ulps: Update.
13358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13359
0817d63d
SP
133602012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13361 Carlos O'Donell <carlos_odonell@mentor.com>
13362
13363 * nss/makedb.c (is_prime): Assert that input is odd and greater
13364 than 4. Note that fact in a comment too.
13365 (next_prime): Add 4 to input.
13366
de2fd463
SP
133672012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13368
13369 [BZ #11741]
13370 * libio/Makefile (tests): Add test case tst-fwrite-error.
13371 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13372 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13373 * libio/tst-fwrite-error.c: New test case.
13374
c515fb51
L
133752012-11-26 H.J. Lu <hongjiu.lu@intel.com>
13376
13377 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
13378 before casting to void *.
13379 * include/libc-internal.h (__pointer_type): New macro.
13380 (__integer_if_pointer_type_sub): Likewise.
13381 (__integer_if_pointer_type): Likewise.
13382 (cast_to_integer): Likewise.
13383 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
13384 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
13385 before casting to atomic64_t.
13386 (atomic_exchange_acq): Likewise.
13387 (__arch_exchange_and_add_body): Likewise.
13388 (__arch_add_body): Likewise.
13389 (atomic_add_negative): Likewise.
13390 (atomic_add_zero): Likewise.
13391
4cf77aa9
JM
133922012-11-26 Joseph Myers <joseph@codesourcery.com>
13393
13394 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
13395 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13396 (add_fdes): Likewise.
13397 (linear_search_fdes): Likewise.
13398 (binary_search_unencoded_fdes): Likewise.
13399
d260b3b4
AS
134002012-11-26 Andreas Schwab <schwab@linux-m68k.org>
13401
13402 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13403
67060746
AC
134042012-11-24 Adam Conrad <adconrad@0c3.net>
13405
13406 * configure.in: Autodetect C++ header directories.
13407 * configure: Regenerated.
13408
800938a1
MF
134092012-11-23 Mike Frysinger <vapier@gentoo.org>
13410
13411 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13412
4e6e34e6
AS
134132012-11-23 Andreas Schwab <schwab@linux-m68k.org>
13414
13415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13416
7c7feb47
JM
134172012-11-22 Joseph Myers <joseph@codesourcery.com>
13418
7184dcdf
JM
13419 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13420 LDBL_MANT_DIG == 106]: Disable some tests.
13421 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13422 Likewise.
13423 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13424 Likewise.
13425
0a42601f
JM
13426 [BZ #14871]
13427 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13428 input for small inputs. Return +/- pi/2 for large inputs.
13429 * math/libm-test.inc (atan_test): Add more tests.
13430
79c9b9fe
JM
13431 * sysdeps/generic/unwind-dw2-fde-glibc.c
13432 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13433 __attribute__ ((unused)).
13434
c60d3bf2
JM
13435 [BZ #14645]
13436 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13437 x * y if x and y are nonzero and z is zero.
13438
ef1e0867
JM
13439 [BZ #14811]
13440 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13441 nonzero exponents with absolute value below 0x1p-117 to +/-
13442 0x1p-117.
13443
1468ded3
JM
13444 [BZ #14869]
13445 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13446 up arguments below 2**-450, not just those below 2**-500.
13447 * math/libm-test.inc (hypot_test): Add another test.
13448
8e27e3cc
JM
13449 [BZ #14868]
13450 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13451 Return a+b for ratio over 2**120, not 2**60.
13452 * math/libm-test.inc (hypot_test): Add another test.
13453
c9c0279b
JM
13454 * math/libm-test.inc (clog_test): Use
13455 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13456 (clog10_test): Likewise.
13457
7c7feb47
JM
13458 [BZ #6778]
13459 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13460
fff1530e
AS
134612012-11-22 Andreas Schwab <schwab@suse.de>
13462
13463 * sysdeps/i386/fpu/libm-test-ulps: Update.
13464
94558d30
PT
134652012-11-22 Pino Toscano <toscano.pino@tiscali.it>
13466
13467 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13468 printf output with newline.
13469
7e1be741
L
134702012-11-21 H.J. Lu <hongjiu.lu@intel.com>
13471
6bfea974
L
13472 [BZ #14865]
13473 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13474 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13475 -z nodlopen, -z initfirst and -z execstack support.
13476 * configure: Regenerated.
13477
7e1be741
L
13478 * elf/elf.h (DF_1_NODIRECT): New macro.
13479 (DF_1_IGNMULDEF): Likewise.
13480 (DF_1_NOKSYMS): Likewise.
13481 (DF_1_NOHDR): Likewise.
13482 (DF_1_EDITED): Likewise.
13483 (DF_1_NORELOC): Likewise.
13484 (DF_1_SYMINTPOSE): Likewise.
13485 (DF_1_GLOBAUDIT): Likewise.
13486 (DF_1_SINGLETON): Likewise.
13487 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13488 DT_1_SUPPORTED_MASK bits.
13489 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13490
105ce2ce
CD
134912012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
13492
13493 * sysdeps/unix/make-syscalls.sh: Document prefixes.
13494
123be9de
TS
134952012-11-20 Thomas Schwinge <thomas@codesourcery.com>
13496
d072f3f7
TS
13497 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13498 macro.
13499
123be9de
TS
13500 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13501 (sendmmsg): Move declarations...
13502 * socket/sys/socket.h: ... here.
13503 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13504 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13505 include it from...
13506 * socket/recvmmsg.c: ... this new file.
13507 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13508 (sendmmsg): Rename to __sendmmsg, create weak alias and make
13509 definition of __sendmmsg hidden.
13510 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13511 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13512 Move ENOSYS stub into and include it from...
13513 * socket/sendmmsg.c: ... this new file.
13514 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13515 (sysdep_routines): Move recvmmsg and sendmmsg...
13516 * socket/Makefile (routines): ... here.
13517 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13518 (GLIBC_PRIVATE): Add __sendmmsg.
13519 * include/sys/socket.h (__sendmmsg): Add declarations.
13520 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13521 sendmmsg.
13522
cf9a5d18
JM
135232012-11-20 Joseph Myers <joseph@codesourcery.com>
13524
13525 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13526 variable I1 with __attribute__ ((unused)).
13527 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13528
ecd4caf9
JM
135292012-11-19 Joseph Myers <joseph@codesourcery.com>
13530
be14d48f
JM
13531 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13532 DUMMY variables with __attribute__ ((unused)).
13533
ecd4caf9
JM
13534 * bits/byteswap.h: Include <bits/types.h>.
13535 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13536
986cab95
PT
135372012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13538
13539 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13540 string_t. Do not manually set errno.
13541 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13542 length with __strnlen. Make sure to both set errno and return it on
13543 failure.
13544
6d33cc9d
DM
135452012-11-19 David S. Miller <davem@davemloft.net>
13546
13547 With help from Joseph Myers.
13548 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13549 very large arguments properly.
13550 * math/libm-test.inc (atan_test): New tests.
13551 (atan2_test): New tests.
13552 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13553 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13554
ee663277
JM
135552012-11-19 Joseph Myers <joseph@codesourcery.com>
13556
877f2d8e
JM
13557 [BZ #14856]
13558 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13559 Define to 3.
13560
116fc08a
JM
13561 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13562 [POSIX] (EADDRNOTAVAIL): Likewise.
13563 [POSIX] (EAFNOSUPPORT): Likewise.
13564 [POSIX] (EALREADY): Likewise.
13565 [POSIX] (ECONNABORTED): Likewise.
13566 [POSIX] (ECONNREFUSED): Likewise.
13567 [POSIX] (ECONNRESET): Likewise.
13568 [POSIX] (EDESTADDRREQ): Likewise.
13569 [POSIX] (EDQUOT): Likewise.
13570 [POSIX] (EHOSTUNREACH): Likewise.
13571 [POSIX] (EIDRM): Likewise.
13572 [POSIX] (EISCONN): Likewise.
13573 [POSIX] (ELOOP): Likewise.
13574 [POSIX] (EMULTIHOP): Likewise.
13575 [POSIX] (ENETDOWN): Likewise.
13576 [POSIX] (ENETUNREACH): Likewise.
13577 [POSIX] (ENOBUFS): Likewise.
13578 [POSIX] (ENODATA): Likewise.
13579 [POSIX] (ENOLINK): Likewise.
13580 [POSIX] (ENOMSG): Likewise.
13581 [POSIX] (ENOPROTOOPT): Likewise.
13582 [POSIX] (ENOSR): Likewise.
13583 [POSIX] (ENOSTR): Likewise.
13584 [POSIX] (ENOTCONN): Likewise.
13585 [POSIX] (ENOTSOCK): Likewise.
13586 [POSIX] (EOPNOTSUPP): Likewise.
13587 [POSIX] (EOVERFLOW): Likewise.
13588 [POSIX] (EPROTO): Likewise.
13589 [POSIX] (EPROTONOSUPPORT): Likewise.
13590 [POSIX] (EPROTOTYPE): Likewise.
13591 [POSIX] (ESTALE): Likewise.
13592 [POSIX] (ETIME): Likewise.
13593 [POSIX] (ETXTBSY): Likewise.
13594 [POSIX] (EWOULDBLOCK): Likewise.
13595 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13596 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13597 [POSIX] (SEEK_CUR): Likewise.
13598 [POSIX] (SEEK_END): Likewise.
13599 [POSIX || UNIX98] (mode_t): Do not require.
13600 [POSIX] (off_t): Likewise.
13601 [POSIX] (pid_t): Likewise.
13602 [POSIX] (sys/stat.h): Do not allow header.
13603 [POSIX] (unistd.h): Likewise.
13604 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13605 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13606 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13607 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13608 require.
13609 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13610 sigevent): Specify elements.
13611 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13612 entry.
13613 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13614 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13615
a483863f
JM
13616 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13617 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13618 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13619 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13620 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13621 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13622 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13623 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13624 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13625 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13626 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13627 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13628 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13629 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13630 Likewise.
13631 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13632 Likewise.
13633 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13634 Likewise.
13635 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13636 Likewise.
13637 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13638 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13639 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13640 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13641 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13642 Specify lower bound on value.
13643 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13644 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13645 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13646 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13647 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13648 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13649 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13650 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13651 value.
13652 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13653 as optional.
13654 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13655 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13656 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13657 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13658 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13659 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13660 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13661 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13662 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13663 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13664 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13665 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13666 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13667 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13668 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13669 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13670 entry.
13671 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13672 optional.
13673 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13674 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13675 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13676 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13677 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13678 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13679 Likewise.
13680 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13681 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13682 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13683 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13684 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13685 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13686 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13687 as optional.
13688 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13689 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13690 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13691 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13692 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13693 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13694 specify as optional.
13695 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13696 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13697 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13698 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13699 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13700 [XPG3] (NL_LANGMAX): Likewise.
13701 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13702 [POSIX || XPG3] (NL_NMAX): Likewise.
13703 [POSIX || XPG3] (NL_SETMAX): Likewise.
13704 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13705 [XPG3] (NZERO): Likewise.
13706 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13707 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13708 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13709 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13710 (REG_ERANGE): Expect.
13711 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13712 optional-constant.
13713 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13714 Use (void) in prototype.
13715 [POSIX] (*_t): Allow.
13716 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13717 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13718 (WRDE_BADVAL): Expect.
13719
5ba924e3
JM
13720 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13721 expect.
13722 [XPG3 || XPG4] (O_RSYNC): Likewise.
13723 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13724 Likewise.
13725 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13726 [XPG3 || XPG4] (sigqueue): Likewise.
13727 [XPG3 || XPG4] (sigtimedwait): Likewise.
13728 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13729 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13730 [XPG3 || XPG4] (vsnprintf): Likewise.
13731 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13732 Likewise.
13733 [XPG3 || XPG4] (blksize_t): Likewise.
13734 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13735 Likewise.
13736 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13737 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13738 [XPG3 || XPG4] (struct itimerspec): Likewise.
13739 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13740 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13741 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13742 [XPG3 || XPG4] (clockid_t): Likewise.
13743 [XPG3 || XPG4] (timer_t): Likewise.
13744 [XPG3 || XPG4] (clock_getres): Likewise.
13745 [XPG3 || XPG4] (clock_gettime): Likewise.
13746 [XPG3 || XPG4] (clock_settime): Likewise.
13747 [XPG3 || XPG4] (nanosleep): Likewise.
13748 [XPG3 || XPG4] (timer_create): Likewise.
13749 [XPG3 || XPG4] (timer_delete): Likewise.
13750 [XPG3 || XPG4] (timer_gettime): Likewise.
13751 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13752 [XPG3 || XPG4] (timer_settime): Likewise.
13753 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13754 [XPG3 || XPG4] (getlogin_r): Likewise.
13755 [XPG3 || XPG4] (pread): Likewise.
13756 [XPG3 || XPG4] (pthread_atfork): Likewise.
13757 [XPG3 || XPG4] (pwrite): Likewise.
13758
ee663277
JM
13759 [BZ #14835]
13760 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13761 <bits/siginfo.h>.
13762
942caa16
PT
137632012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13764
e19af380
PT
13765 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13766 finalizing MALLSTREAM.
13767
942caa16
PT
13768 * sysdeps/mach/hurd/syncfs.c: New file.
13769
cfde9b46
SP
137702012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13771
13772 [BZ #14719]
13773 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13774 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13775 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13776 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13777 (_nss_dns_gethostbyname4_r): Likewise.
13778 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13779 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13780
f6da27e5
PH
137812012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13782
13783 [BZ #13763]
13784 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13785
6665d4a2
SM
137862012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13787
1f51ee92
SM
13788 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13789 * elf/cache.c (print_entry): Print ",AArch64" for
13790 FLAG_AARCH64_LIB64
13791
6665d4a2
SM
13792 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13793 * elf/cache.c (print_entry): Print ",hard-float" for
13794 FLAG_ARM_LIBHF.
13795
05b227bd
DM
137962012-11-18 David S. Miller <davem@davemloft.net>
13797
13798 With help from Joseph Myers.
13799 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13800 cutoff to 2**-13.
13801 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13802 cutoff to 2**-25.
13803 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13804 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13805 small.
13806 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13807 * math/libm-test.inc (y0_test): New tests.
13808 (y1_test): New tests.
13809 * sysdeps/i386/fpu/libm-test-ulps: Update.
13810 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13812
786b0b67
AS
138132012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13814
13815 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13816 64-bit targets.
13817 * configure: Regenerated.
13818
8e18b86d
DM
138192012-11-17 David S. Miller <davem@davemloft.net>
13820
13821 [BZ #14811]
13822 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13823 nonzero exponents with absolute value below 0x1p-128 to +/-
13824 0x1p-128.
13825
531f1ae0
JM
138262012-11-17 Joseph Myers <joseph@codesourcery.com>
13827
12df29e2
JM
13828 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13829
150dc1a0
JM
13830 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13831
531f1ae0
JM
13832 * posix/getconf-speclist.c: New file.
13833 * posix/posix-envs.def: Likewise.
13834 * posix/confstr.c (START_ENV_GROUP): New macro.
13835 (END_ENV_GROUP): Likewise.
13836 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13837 (KNOWN_PRESENT_ENV_STRING): Likewise.
13838 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13839 (UNKNOWN_ENVIRONMENT): Likewise.
13840 (confstr): Include posix-envs.def instead of handling
13841 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13842 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13843 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13844 (END_ENV_GROUP): Likewise.
13845 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13846 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13847 (UNKNOWN_ENVIRONMENT): Likewise.
13848 (__sysconf): Include posix-envs.def instead of handling associated
13849 cases directly here.
13850 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13851 preprocessing getconf-speclist.c rather than running getconf or
13852 generating empty file.
13853
a93f9cbc
PT
138542012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13855
13856 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13857
d64d9f87
AL
138582012-11-16 Andrej Lajovic <natrij@gmail.com>
13859
13860 [BZ #14672]
13861 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13862
447885eb
DM
138632012-11-16 David S. Miller <davem@davemloft.net>
13864
13865 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13866 smaller than LDBL_EPSILON/2.0L, just return xm1.
13867
bcbf9830
L
138682012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13869
13870 * elf/tst-array1.c (init): Set constructor priority to 1000.
13871 (fini): Set destructor priority to 1000.
13872 * elf/tst-array2dep.c: Likewise.
13873
2b766585
SP
138742012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13875
13876 [BZ #11741]
13877 * libio/fileops.c (_IO_new_file_write): Correctly return error.
13878 (_IO_new_file_xsputn): Also return EOF if none of the input
13879 data was written when overflow failed.
13880 * libio/iopadn.c (_IO_padn): Likewise.
13881 * libio/iowpadn.c (_IO_wpadn): Likewise.
13882 * stdio-common/tst-put-error.c: Add copyright notice.
13883 (do_test): Add case for printing padded string.
13884 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13885 _IO_padn returned error.
13886 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13887 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13888 return EOF.
13889
b1848fde
SP
138902012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13891
13892 * libio/libioP.h: Add comment note that the references to C++
13893 bits are now obsolete.
13894
2fd89785
MS
138952012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13896
13897 * math/libm-test.inc (check_complex): Use asprintf.
13898
e3ea5409
JM
138992012-11-14 Joseph Myers <joseph@codesourcery.com>
13900
13901 * debug/pcprofiledump.c (print_version): Update copyright year.
13902 * malloc/memusagestat.c (print_version): Likewise.
13903
2e64d265
L
139042012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13905
13906 [BZ #14831]
13907 * elf/Makefile (tests): Add tst-audit8.
13908 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13909 ($(objpfx)tst-audit8.out): New target.
13910 (tst-audit8-ENV): New variable.
13911 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13912 audit if l_reloc_result is NULL.
13913 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13914 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13915 * elf/tst-audit8.c: New file.
13916
c485e4d2
MS
139172012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13918
13919 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13920 * misc/Makefile (CFLAGS-select.c): Define.
13921 * posix/Makefile (CFLAGS-pause.c): Define.
13922
3a0d900a
DM
139232012-11-13 David S. Miller <davem@davemloft.net>
13924
13925 * crypt/Makefile: Move test targets after toplevel Rules
13926 inclusion. Grab any necessary sysdep routines when linking.
13927 * crypt/md5.c (md5_process_block): Remove define, we will always
13928 name it __md5_process_block.
13929 (md5_finish_ctx): Update md5_process_block call.
13930 (md5_stream): Likewise.
13931 (md5_process_bytes): Likewise.
13932 (md5_process_block): Rename to __md5_process_block and move to ...
13933 * crypt/md5-block.c: ... here.
13934 * crypt/sha256.c (sha256_process_block): Move to ...
13935 * crypt/sha256-block.c: ... here.
13936 * crypt/sha512.c (sha512_process_block): Move to ...
13937 * crypt/sha512-block.c: ... here.
13938 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13939 path.
13940 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13941 * sysdeps/sparc/sparc64/multiarch/Makefile
13942 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13943 crypt subdir.
13944 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13945 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13946 multiarch changes.
13947 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13948 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13949 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13950 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13951 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13952 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13953 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13954 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13955 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13956 file.
13957 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13958 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13959 file.
13960 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13961
8ca89318
JM
139622012-11-13 Joseph Myers <joseph@codesourcery.com>
13963
e27d476a
JM
13964 * timezone/tzselect.ksh: Update from tzcode git revision
13965 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13966 * timezone/zdump.c: Likewise.
13967 * timezone/zic.c: Likewise.
13968 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13969 in TZVERSION setting, not $(PKGVERSION).
13970 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13971 REPORT_BUGS_TO settings.
13972
8ca89318
JM
13973 [BZ #14838]
13974 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
13975 macro.
13976
47594329
MS
139772012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13978
13979 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
13980 detection to immediately after _FP_ROUND().
13981 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
13982 bits are 0.
13983
640ac3f1
DM
139842012-11-11 David S. Miller <davem@davemloft.net>
13985
13986 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
13987 inttypes.h
13988 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
13989 __close rather than their public counterparts.
13990
3d2577bb
JM
139912012-11-10 Joseph Myers <joseph@codesourcery.com>
13992
13993 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
13994 file.
13995 [UNIX98] (sem_timedwait): Do not expect.
13996 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
13997 [XPG4 || UNIX98] (sockatmark): Do not expect.
13998 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
13999 (clock_getcpuclockid): Do not expect.
14000 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14001 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14002 Do not expect.
14003 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14004 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14005 [UNIX98] (vwscanf): Likewise.
14006 [UNIX98] (vswscanf): Likewise.
14007
fb1ae1ee
JM
140082012-11-09 Joseph Myers <joseph@codesourcery.com>
14009
9ec6f8bd
JM
14010 * timezone/version.h: Remove file.
14011 * timezone/README: Do not refer to version.h.
14012 * timezone/Makefile ($(objpfx)zic.o): New dependency on
14013 $(objpfx)version.h.
14014 ($(objpfx)zdump.o): Likewise.
c3f81911 14015 ($(objpfx)version.h): New target.
9ec6f8bd 14016
0aa8f8a1
JM
14017 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14018 2012i.
14019 * timezone/README: Don't mention modification to tzselect.ksh.
14020 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14021 work on unmodified tzselect.ksh. Substitute version numbers in
14022 tzselect.ksh.
14023
4e87147f
JM
14024 * Makefile (format-me): Remove.
14025 (INSTALL): Adjust indentation. Use commands directly instead of
14026 using $(format-me).
14027
8b748aed
JM
14028 * aclocal.m4 (ACX_PKGVERSION): New macro.
14029 (ACX_BUGURL): Likewise.
14030 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14031 (PKGVERSION): New AC_DEFINE_UNQUOTED.
14032 (REPORT_BUGS_TO): Likewise.
14033 * configure: Regenerated.
14034 * config.h.in (PKGVERSION): New macro.
14035 (REPORT_BUGS_TO): Likewise.
14036 * config.make.in (PKGVERSION): New variable.
14037 (PKGVERSION_TEXI): Likewise.
14038 (REPORT_BUGS_TO): Likewise.
14039 (REPORT_BUGS_TEXI): Likewise.
14040 * Makefile (format-me): Use -I$(common-objpfx)manual.
14041 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14042 ($(common-objpfx)manual/%): New target.
14043 (manual/%): Remove target.
14044 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14045 (print_version): Use PKGVERSION.
14046 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14047 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14048 and REPORT_BUGS_TO.
14049 ($(objpfx)xtrace): Likewise.
14050 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14051 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14052 (print_version): Use PKGVERSION.
14053 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14054 (do_version): Use PKGVERSION.
14055 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14056 REPORT_BUGS_TO.
14057 (common-ldd-rewrite): Likewise.
14058 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14059 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14060 (print_version): Use PKGVERSION.
14061 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14062 * elf/pldd.c (argp_program_bug_address): Remove variable.
14063 (more_help): New function.
14064 (argp): Use more_help.
14065 (print_version): Use PKGVERSION.
14066 * elf/sln.c (main): Use PKGVERSION.
14067 (usage): Use REPORT_BUGS_TO.
14068 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14069 (top level): Use PKGVERSION.
14070 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14071 (print_version): Use PKGVERSION.
14072 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14073 (print_version): Use PKGVERSION.
14074 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14075 (print_version): Use PKGVERSION.
14076 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14077 (print_version): Use PKGVERSION.
14078 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14079 (print_version): Use PKGVERSION.
14080 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14081 (print_version): Use PKGVERSION.
14082 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14083 and BUGURL.
14084 ($(objpfx)memusage): Likewise.
14085 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14086 (do_version): Use PKGVERSION.
14087 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14088 (print_version): Use PKGVERSION.
14089 * malloc/mtrace.pl ($PACKAGE): Remove variable.
14090 ($PKGVERSION): New variable.
14091 ($REPORT_BUGS_TO): Likewise.
14092 (usage): Use $REPORT_BUGS_TO.
14093 (top level): Use $PKGVERSION.
14094 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14095 ($(objpfx)pkgvers.texi): New rule.
14096 ($(objpfx)stamp-pkgvers): Likewise.
14097 * manual/install.texi: Include pkgvers.texi.
14098 (--with-pkgversion): Document new configure option.
14099 (--with-bugurl): Likewise.
14100 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14101 than necessarily for this particular distribution. Use
14102 REPORT_BUGS_TO for where to report bugs.
14103 * INSTALL: Regenerated.
14104 * manual/libc.texinfo: Include pkgvers.texi.
14105 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14106 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14107 (print_version): Use PKGVERSION.
14108 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14109 (print_version): Use PKGVERSION.
14110 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14111 (print_version): Use PKGVERSION.
14112 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14113 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14114 macro.
14115 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14116 (print_version): Use PKGVERSION.
14117 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14118 (print_version): Use PKGVERSION.
14119 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14120 and PKGVERSION.
14121
92e4b6a9
JM
14122 * timezone/checktab.awk: Update from tzcode 2012i.
14123 * timezone/ialloc.c: Likewise.
14124 * timezone/private.h: Likewise.
14125 * timezone/scheck.c: Likewise.
14126 * timezone/tzfile.h: Likewise.
14127 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14128 (TZVERSION): Hardcode tzcode version number.
14129 * timezone/zdump.c: Update from tzcode 2012i.
14130 * timezone/zic.c: Likewise.
14131 * timezone/version.h: New file.
14132 * timezone/README: Describe version.h. Update upstream location.
14133
9bde902c
JM
14134 [BZ #14824]
14135 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14136 (mktemp): Enable declaration.
14137 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14138 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14139 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14140 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14141 Likewise.
14142 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14143 Likewise.
14144 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14145 Likewise.
14146 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14147 Likewise.
14148 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14149 Likewise.
14150 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14151 Likewise.
14152
fb1ae1ee
JM
14153 [BZ #14821]
14154 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14155 offset in buffer as u_int32_t not u_long. Consistently use memcpy
14156 for copies of such integer values.
14157 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14158 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14159
2c1adbcb
AJ
141602012-11-09 Andreas Jaeger <aj@suse.de>
14161
14162 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14163 definitions and declarations that are provided by
14164 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14165
d0f8457e
AK
141662012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14167
3a235abb 14168 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
14169 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14170 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14171 definition.
14172
57241e26
MS
141732012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14174
14175 * elf/elf.h: Update comment before AArch64 relocations.
14176
60e8270d
DM
141772012-11-07 David S. Miller <davem@davemloft.net>
14178
14179 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14180 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14181 (__start_context): Declare.
14182 (__makecontext_ret): Delete.
14183 (__makecontext): Hook up __start_context instead of
14184 __makecontext_ret.
14185 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14186 (sysdep_routines): Add __start_context when in stdlib.
14187
0fbb0fbc
JM
141882012-11-07 Joseph Myers <joseph@codesourcery.com>
14189
14190 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14191 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14192 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
14193 hardcoded "nm".
14194 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
14195 (READELF): New variable. Use it instead of hardcoded "readelf".
14196
eb48db7e
L
141972012-11-07 H.J. Lu <hongjiu.lu@intel.com>
14198
14199 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14200 * sysdeps/x86/Makefile: Here.
14201 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14202 * sysdeps/x86/tst-xmmymm.sh: This.
14203
05bcf62a
JM
142042012-11-07 Joseph Myers <joseph@codesourcery.com>
14205
c4b6cf53
JM
14206 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14207 expectations.
14208 [UNIX98] (pthread_barrier_t): Do not expect.
14209 [UNIX98] (pthread_barrierattr_t): Likewise.
14210 [UNIX98] (pthread_spinlock_t): Likewise.
14211 [UNIX98] (pthread_barrier_destroy): Likewise.
14212 [UNIX98] (pthread_barrier_init): Likewise.
14213 [UNIX98] (pthread_barrier_wait): Likewise.
14214 [UNIX98] (pthread_barrierattr_destroy): Likewise.
14215 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14216 [UNIX98] (pthread_barrierattr_init): Likewise.
14217 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14218 [UNIX98] (pthread_getcpuclockid): Likewise.
14219 [UNIX98] (pthread_mutex_timedlock): Likewise.
14220 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14221 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14222 [UNIX98] (pthread_sigmask): Likewise.
14223 [UNIX98] (pthread_spin_destroy): Likewise.
14224 [UNIX98] (pthread_spin_init): Likewise.
14225 [UNIX98] (pthread_spin_lock): Likewise.
14226 [UNIX98] (pthread_spin_trylock): Likewise.
14227 [UNIX98] (pthread_spin_unlock): Likewise.
14228 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14229 Do not expect.
14230 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14231 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14232 [XPG3 || XPG4] (pthread_cond_t): Likewise.
14233 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14234 [XPG3 || XPG4] (pthread_key_t): Likewise.
14235 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14236 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14237 [XPG3 || XPG4] (pthread_once_t): Likewise.
14238 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14239 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14240 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14241 [XPG3 || XPG4] (pthread_t): Likewise.
14242
cbe6e120
JM
14243 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14244 not expect.
14245 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14246
1b126443
JM
14247 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14248 Change function return type to int.
14249
b961a573
JM
14250 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14251 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14252 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14253 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14254 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14255 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14256 [!POSIX] (posix_madvise): Likewise.
14257 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14258 && !UNIX98].
14259 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14260 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14261 (mode_t): Likewise.
14262 (posix_mem_offset): Likewise.
14263 (posix_typed_mem_get_info): Likewise.
14264 (posix_typed_mem_open): Likewise.
14265
9e188909
JM
14266 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14267 Change condition to [XOPEN2K8].
14268
05bcf62a
JM
14269 * conform/conformtest.pl: Preprocess allow-header data with -x c
14270 instead of from stdin.
14271 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14272 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14273 [C99-based standards] (cerfc): Likewise.
14274 [C99-based standards] (cexp2): Likewise.
14275 [C99-based standards] (cexpm1): Likewise.
14276 [C99-based standards] (clog10): Likewise.
14277 [C99-based standards] (clog1p): Likewise.
14278 [C99-based standards] (clog2): Likewise.
14279 [C99-based standards] (clgamma): Likewise.
14280 [C99-based standards] (ctgamma): Likewise.
14281 [C99-based standards] (cerff): Likewise.
14282 [C99-based standards] (cerfcf): Likewise.
14283 [C99-based standards] (cexp2f): Likewise.
14284 [C99-based standards] (cexpm1f): Likewise.
14285 [C99-based standards] (clog10f): Likewise.
14286 [C99-based standards] (clog1pf): Likewise.
14287 [C99-based standards] (clog2f): Likewise.
14288 [C99-based standards] (clgammaf): Likewise.
14289 [C99-based standards] (ctgammaf): Likewise.
14290 [C99-based standards] (cerfl): Likewise.
14291 [C99-based standards] (cerfcl): Likewise.
14292 [C99-based standards] (cexp2l): Likewise.
14293 [C99-based standards] (cexpm1l): Likewise.
14294 [C99-based standards] (clog10l): Likewise.
14295 [C99-based standards] (clog1pl): Likewise.
14296 [C99-based standards] (clog2l): Likewise.
14297 [C99-based standards] (clgammal): Likewise.
14298 [C99-based standards] (ctgammal): Likewise.
14299 * conform/data/inttypes.h-data [C99-based standards]: Include
14300 stdint.h-data. Remove all expectations for stdint.h contents.
14301 [C99-based standards] (PRI*): Do not allow.
14302 [C99-based standards] (SCN*): Likewise.
14303 [C99-based standards] (*_t): Likewise.
14304 [C99-based-standards] (PRId8): Expect macro.
14305 [C99-based-standards] (PRIi8): Likewise.
14306 [C99-based-standards] (PRIo8): Likewise.
14307 [C99-based-standards] (PRIu8): Likewise.
14308 [C99-based-standards] (PRIx8): Likewise.
14309 [C99-based-standards] (PRIX8): Likewise.
14310 [C99-based-standards] (SCNd8): Likewise.
14311 [C99-based-standards] (SCNi8): Likewise.
14312 [C99-based-standards] (SCNo8): Likewise.
14313 [C99-based-standards] (SCNu8): Likewise.
14314 [C99-based-standards] (SCNx8): Likewise.
14315 [C99-based-standards] (PRIdLEAST8): Likewise.
14316 [C99-based-standards] (PRIiLEAST8): Likewise.
14317 [C99-based-standards] (PRIoLEAST8): Likewise.
14318 [C99-based-standards] (PRIuLEAST8): Likewise.
14319 [C99-based-standards] (PRIxLEAST8): Likewise.
14320 [C99-based-standards] (PRIXLEAST8): Likewise.
14321 [C99-based-standards] (SCNdLEAST8): Likewise.
14322 [C99-based-standards] (SCNiLEAST8): Likewise.
14323 [C99-based-standards] (SCNoLEAST8): Likewise.
14324 [C99-based-standards] (SCNuLEAST8): Likewise.
14325 [C99-based-standards] (SCNxLEAST8): Likewise.
14326 [C99-based-standards] (PRIdFAST8): Likewise.
14327 [C99-based-standards] (PRIiFAST8): Likewise.
14328 [C99-based-standards] (PRIoFAST8): Likewise.
14329 [C99-based-standards] (PRIuFAST8): Likewise.
14330 [C99-based-standards] (PRIxFAST8): Likewise.
14331 [C99-based-standards] (PRIXFAST8): Likewise.
14332 [C99-based-standards] (SCNdFAST8): Likewise.
14333 [C99-based-standards] (SCNiFAST8): Likewise.
14334 [C99-based-standards] (SCNoFAST8): Likewise.
14335 [C99-based-standards] (SCNuFAST8): Likewise.
14336 [C99-based-standards] (SCNxFAST8): Likewise.
14337 [C99-based-standards] (PRId16): Likewise.
14338 [C99-based-standards] (PRIi16): Likewise.
14339 [C99-based-standards] (PRIo16): Likewise.
14340 [C99-based-standards] (PRIu16): Likewise.
14341 [C99-based-standards] (PRIx16): Likewise.
14342 [C99-based-standards] (PRIX16): Likewise.
14343 [C99-based-standards] (SCNd16): Likewise.
14344 [C99-based-standards] (SCNi16): Likewise.
14345 [C99-based-standards] (SCNo16): Likewise.
14346 [C99-based-standards] (SCNu16): Likewise.
14347 [C99-based-standards] (SCNx16): Likewise.
14348 [C99-based-standards] (PRIdLEAST16): Likewise.
14349 [C99-based-standards] (PRIiLEAST16): Likewise.
14350 [C99-based-standards] (PRIoLEAST16): Likewise.
14351 [C99-based-standards] (PRIuLEAST16): Likewise.
14352 [C99-based-standards] (PRIxLEAST16): Likewise.
14353 [C99-based-standards] (PRIXLEAST16): Likewise.
14354 [C99-based-standards] (SCNdLEAST16): Likewise.
14355 [C99-based-standards] (SCNiLEAST16): Likewise.
14356 [C99-based-standards] (SCNoLEAST16): Likewise.
14357 [C99-based-standards] (SCNuLEAST16): Likewise.
14358 [C99-based-standards] (SCNxLEAST16): Likewise.
14359 [C99-based-standards] (PRIdFAST16): Likewise.
14360 [C99-based-standards] (PRIiFAST16): Likewise.
14361 [C99-based-standards] (PRIoFAST16): Likewise.
14362 [C99-based-standards] (PRIuFAST16): Likewise.
14363 [C99-based-standards] (PRIxFAST16): Likewise.
14364 [C99-based-standards] (PRIXFAST16): Likewise.
14365 [C99-based-standards] (SCNdFAST16): Likewise.
14366 [C99-based-standards] (SCNiFAST16): Likewise.
14367 [C99-based-standards] (SCNoFAST16): Likewise.
14368 [C99-based-standards] (SCNuFAST16): Likewise.
14369 [C99-based-standards] (SCNxFAST16): Likewise.
14370 [C99-based-standards] (PRId32): Likewise.
14371 [C99-based-standards] (PRIi32): Likewise.
14372 [C99-based-standards] (PRIo32): Likewise.
14373 [C99-based-standards] (PRIu32): Likewise.
14374 [C99-based-standards] (PRIx32): Likewise.
14375 [C99-based-standards] (PRIX32): Likewise.
14376 [C99-based-standards] (SCNd32): Likewise.
14377 [C99-based-standards] (SCNi32): Likewise.
14378 [C99-based-standards] (SCNo32): Likewise.
14379 [C99-based-standards] (SCNu32): Likewise.
14380 [C99-based-standards] (SCNx32): Likewise.
14381 [C99-based-standards] (PRIdLEAST32): Likewise.
14382 [C99-based-standards] (PRIiLEAST32): Likewise.
14383 [C99-based-standards] (PRIoLEAST32): Likewise.
14384 [C99-based-standards] (PRIuLEAST32): Likewise.
14385 [C99-based-standards] (PRIxLEAST32): Likewise.
14386 [C99-based-standards] (PRIXLEAST32): Likewise.
14387 [C99-based-standards] (SCNdLEAST32): Likewise.
14388 [C99-based-standards] (SCNiLEAST32): Likewise.
14389 [C99-based-standards] (SCNoLEAST32): Likewise.
14390 [C99-based-standards] (SCNuLEAST32): Likewise.
14391 [C99-based-standards] (SCNxLEAST32): Likewise.
14392 [C99-based-standards] (PRIdFAST32): Likewise.
14393 [C99-based-standards] (PRIiFAST32): Likewise.
14394 [C99-based-standards] (PRIoFAST32): Likewise.
14395 [C99-based-standards] (PRIuFAST32): Likewise.
14396 [C99-based-standards] (PRIxFAST32): Likewise.
14397 [C99-based-standards] (PRIXFAST32): Likewise.
14398 [C99-based-standards] (SCNdFAST32): Likewise.
14399 [C99-based-standards] (SCNiFAST32): Likewise.
14400 [C99-based-standards] (SCNoFAST32): Likewise.
14401 [C99-based-standards] (SCNuFAST32): Likewise.
14402 [C99-based-standards] (SCNxFAST32): Likewise.
14403 [C99-based-standards] (PRId64): Likewise.
14404 [C99-based-standards] (PRIi64): Likewise.
14405 [C99-based-standards] (PRIo64): Likewise.
14406 [C99-based-standards] (PRIu64): Likewise.
14407 [C99-based-standards] (PRIx64): Likewise.
14408 [C99-based-standards] (PRIX64): Likewise.
14409 [C99-based-standards] (SCNd64): Likewise.
14410 [C99-based-standards] (SCNi64): Likewise.
14411 [C99-based-standards] (SCNo64): Likewise.
14412 [C99-based-standards] (SCNu64): Likewise.
14413 [C99-based-standards] (SCNx64): Likewise.
14414 [C99-based-standards] (PRIdLEAST64): Likewise.
14415 [C99-based-standards] (PRIiLEAST64): Likewise.
14416 [C99-based-standards] (PRIoLEAST64): Likewise.
14417 [C99-based-standards] (PRIuLEAST64): Likewise.
14418 [C99-based-standards] (PRIxLEAST64): Likewise.
14419 [C99-based-standards] (PRIXLEAST64): Likewise.
14420 [C99-based-standards] (SCNdLEAST64): Likewise.
14421 [C99-based-standards] (SCNiLEAST64): Likewise.
14422 [C99-based-standards] (SCNoLEAST64): Likewise.
14423 [C99-based-standards] (SCNuLEAST64): Likewise.
14424 [C99-based-standards] (SCNxLEAST64): Likewise.
14425 [C99-based-standards] (PRIdFAST64): Likewise.
14426 [C99-based-standards] (PRIiFAST64): Likewise.
14427 [C99-based-standards] (PRIoFAST64): Likewise.
14428 [C99-based-standards] (PRIuFAST64): Likewise.
14429 [C99-based-standards] (PRIxFAST64): Likewise.
14430 [C99-based-standards] (PRIXFAST64): Likewise.
14431 [C99-based-standards] (SCNdFAST64): Likewise.
14432 [C99-based-standards] (SCNiFAST64): Likewise.
14433 [C99-based-standards] (SCNoFAST64): Likewise.
14434 [C99-based-standards] (SCNuFAST64): Likewise.
14435 [C99-based-standards] (SCNxFAST64): Likewise.
14436 [C99-based-standards] (PRIdMAX): Likewise.
14437 [C99-based-standards] (PRIiMAX): Likewise.
14438 [C99-based-standards] (PRIoMAX): Likewise.
14439 [C99-based-standards] (PRIuMAX): Likewise.
14440 [C99-based-standards] (PRIxMAX): Likewise.
14441 [C99-based-standards] (PRIXMAX): Likewise.
14442 [C99-based-standards] (SCNdMAX): Likewise.
14443 [C99-based-standards] (SCNiMAX): Likewise.
14444 [C99-based-standards] (SCNoMAX): Likewise.
14445 [C99-based-standards] (SCNuMAX): Likewise.
14446 [C99-based-standards] (SCNxMAX): Likewise.
14447 [C99-based-standards] (PRIdPTR): Likewise.
14448 [C99-based-standards] (PRIiPTR): Likewise.
14449 [C99-based-standards] (PRIoPTR): Likewise.
14450 [C99-based-standards] (PRIuPTR): Likewise.
14451 [C99-based-standards] (PRIxPTR): Likewise.
14452 [C99-based-standards] (PRIXPTR): Likewise.
14453 [C99-based-standards] (SCNdPTR): Likewise.
14454 [C99-based-standards] (SCNiPTR): Likewise.
14455 [C99-based-standards] (SCNoPTR): Likewise.
14456 [C99-based-standards] (SCNuPTR): Likewise.
14457 [C99-based-standards] (SCNxPTR): Likewise.
14458 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14459 allow.
14460 * conform/data/stdint.h-data: Update comments to clarify
14461 requirements.
14462 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
14463 type.
14464 [C99-based standards] (INT8_MAX): Likewise.
14465 [C99-based standards] (INT16_MIN): Likewise.
14466 [C99-based standards] (INT16_MAX): Likewise.
14467 [C99-based standards] (INT32_MIN): Likewise.
14468 [C99-based standards] (INT32_MAX): Likewise.
14469 [C99-based standards] (INT64_MIN): Likewise.
14470 [C99-based standards] (INT64_MAX): Likewise.
14471 [C99-based standards] (UINT8_MAX): Likewise.
14472 [C99-based standards] (UINT16_MAX): Likewise.
14473 [C99-based standards] (UINT32_MAX): Likewise.
14474 [C99-based standards] (UINT64_MAX): Likewise.
14475 [C99-based standards] (INT_LEAST8_MIN): Likewise.
14476 [C99-based standards] (INT_LEAST8_MAX): Likewise.
14477 [C99-based standards] (INT_LEAST16_MIN): Likewise.
14478 [C99-based standards] (INT_LEAST16_MAX): Likewise.
14479 [C99-based standards] (INT_LEAST32_MIN): Likewise.
14480 [C99-based standards] (INT_LEAST32_MAX): Likewise.
14481 [C99-based standards] (INT_LEAST64_MIN): Likewise.
14482 [C99-based standards] (INT_LEAST64_MAX): Likewise.
14483 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14484 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14485 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14486 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14487 [C99-based standards] (INT_FAST8_MIN): Likewise.
14488 [C99-based standards] (INT_FAST8_MAX): Likewise.
14489 [C99-based standards] (INT_FAST16_MIN): Likewise.
14490 [C99-based standards] (INT_FAST16_MAX): Likewise.
14491 [C99-based standards] (INT_FAST32_MIN): Likewise.
14492 [C99-based standards] (INT_FAST32_MAX): Likewise.
14493 [C99-based standards] (INT_FAST64_MIN): Likewise.
14494 [C99-based standards] (INT_FAST64_MAX): Likewise.
14495 [C99-based standards] (UINT_FAST8_MAX): Likewise.
14496 [C99-based standards] (UINT_FAST16_MAX): Likewise.
14497 [C99-based standards] (UINT_FAST32_MAX): Likewise.
14498 [C99-based standards] (UINT_FAST64_MAX): Likewise.
14499 [C99-based standards] (INTPTR_MIN): Likewise.
14500 [C99-based standards] (INTPTR_MAX): Likewise.
14501 [C99-based standards] (UINTPTR_MAX): Likewise.
14502 [C99-based standards] (INTMAX_MIN): Likewise.
14503 [C99-based standards] (INTMAX_MAX): Likewise.
14504 [C99-based standards] (UINTMAX_MAX): Likewise.
14505 [C99-based standards] (PTRDIFF_MIN): Likewise.
14506 [C99-based standards] (PTRDIFF_MAX): Likewise.
14507 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14508 [C99-based standards] (SIZE_MAX): Likewise.
14509 [C99-based standards] (WCHAR_MAX): Likewise.
14510 [C99-based standards] (WINT_MAX): Likewise.
14511 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
14512 constraint on value.
14513 [C99-based standards] (WCHAR_MIN): Likewise.
14514 [C99-based standards] (WINT_MIN): Likewise.
14515 [C99-based standards] (*_t): Allow.
14516 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14517 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14518 Include math.h-data and complex.h-data. Remove all expectations
14519 of math.h and complex.h contents.
14520 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14521 at end of line.
14522 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14523 (struct tm): Expect tag.
14524 [C99-based-standards] (wcstof): Expect function.
14525 [C99-based-standards] (wcstold): Likewise.
14526 [C99-based-standards] (wcstoll): Likewise.
14527 [C99-based-standards] (wcstoull): Likewise.
14528 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14529 macro-int-constant. Specify type.
14530 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14531 constraint on value.
14532 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14533 Specify type.
14534 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14535 Specify value.
14536 [ISO C standards]: Do not allow headers.
14537 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14538 wcs[abcdefghijklmnopqrstuvwxyz]*.
14539 [ISO C standards] (*_t): Do not allow.
14540 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14541 Expect function.
14542 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14543 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14544 Specify type.
14545 [ISO C standards]: Do not allow headers.
14546 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14547 is[abcdefghijklmnopqrstuvwxyz]*.
14548 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14549 to[abcdefghijklmnopqrstuvwxyz]*.
14550 [ISO C standards] (*_t): Do not allow.
14551 * conform/data/stdalign.h-data: New file.
14552 * conform/data/stdbool.h-data: Likewise.
14553 * conform/data/stdnoreturn.h-data: Likewise.
14554
7514feb8
RM
145552012-11-07 Roland McGrath <roland@hack.frob.com>
14556
14557 [BZ #14815]
14558 * manual/filesys.texi (Directory Entries): Typo fix.
14559 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14560
19b2ecfc
MS
145612012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14562
14563 * elf/elf.h (EM_AARCH64): New macro.
14564 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14565 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14566 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14567 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14568 (R_AARCH64_TLSDESC): Likewise.
14569 (NT_ARM_TLS): Likewise.
14570 (NT_ARM_HW_BREAK): Likewise.
14571 (NT_ARM_HW_WATCH): Likewise.
14572
60e235ee
JM
145732012-11-07 Joseph Myers <joseph@codesourcery.com>
14574
14575 [BZ #14811]
14576 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14577 (__ieee754_powl): Saturate nonzero exponents with absolute value
14578 below 0x1p-79 to +/- 0x1p-79.
14579 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14580 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14581 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14582 nonzero exponents with absolute value below 0x1p-32 to +/-
14583 0x1p-32.
14584 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14585 (__ieee754_powl): Saturate nonzero exponents with absolute value
14586 below 0x1p-79 to +/- 0x1p-79.
14587 * math/libm-test.inc (pow_test): Add more tests.
14588
0ab234b7
AK
145892012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14590
14591 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14592 _dl_s390_cap_flags with kernel. Increase string length.
14593 (_dl_s390_platforms): Add z196 and zEC12.
14594
45832f74
JM
145952012-11-07 Joseph Myers <joseph@codesourcery.com>
14596
14597 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14598 Change XOPEN21K to XOPEN2K.
14599
19218757
MK
146002012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14601
14602 * string/memmove.c: Use memcpy when possible.
14603
c5f45721
AJ
146042012-11-06 Andreas Jaeger <aj@suse.de>
14605
14606 * po/eo.po: Update from translation team.
14607
82477c28
JM
146082012-11-06 Joseph Myers <joseph@codesourcery.com>
14609
14610 [BZ #14793]
14611 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14612 exponent and small x and y exponents, scale x or y up. Increase
14613 by 2 the exponent used in scaling up.
14614 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14615 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14616 * math/libm-test.inc (fma_test): Add more tests.
14617 (fma_test_towardzero): Likewise.
14618 (fma_test_downward): Likewise.
14619 (fma_test_upward): Likewise.
14620
99252c8c
JM
146212012-11-05 Joseph Myers <joseph@codesourcery.com>
14622
acfa885f
JM
14623 [BZ #14805]
14624 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14625 fenv_t *.
14626
99252c8c
JM
14627 [BZ #14801]
14628 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14629 namespace for names of struct fields.
14630 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14631 fenv_t fields.
14632 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14633 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14634
d6d98dea
ST
146352012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14636
14637 [BZ #3665]
14638 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14639
e10bb107
TS
146402012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14641
14642 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14643 PTR_DEMANGLE.
14644
14645 [BZ #5246]
14646 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14647 PTR_DEMANGLE.
14648
a0c2940d
JM
146492012-11-04 Joseph Myers <joseph@codesourcery.com>
14650
14651 [BZ #14797]
14652 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14653 definitely overflow as x * y not x * y + z.
14654 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14655 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14656 * math/libm-test.inc (fma_test): Add more tests.
14657 (fma_test_towardzero): Likewise.
14658 (fma_test_downward): Likewise.
14659 (fma_test_upward): Likewise.
14660
b830319d
TS
146612012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14662
14663 [BZ #157]
14664
14665 * include/stub-tag.h: Remove file.
14666 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14667 '#include' of it.
14668 * manual/maint.texi (Porting): Don't reference it.
14669 * Makerules ($(objpfx)stubs): Likewise.
14670 * dirent/closedir.c: Don't include <stub-tag.h>.
14671 * dirent/dirfd.c: Likewise.
14672 * dirent/fdopendir.c: Likewise.
14673 * dirent/getdents.c: Likewise.
14674 * dirent/getdents64.c: Likewise.
14675 * dirent/opendir.c: Likewise.
14676 * dirent/readdir.c: Likewise.
14677 * dirent/readdir64.c: Likewise.
14678 * dirent/readdir64_r.c: Likewise.
14679 * dirent/readdir_r.c: Likewise.
14680 * dirent/rewinddir.c: Likewise.
14681 * dirent/seekdir.c: Likewise.
14682 * dirent/telldir.c: Likewise.
14683 * gmon/profil.c: Likewise.
14684 * grp/setgroups.c: Likewise.
14685 * inet/if_index.c: Likewise.
14686 * io/access.c: Likewise.
14687 * io/chdir.c: Likewise.
14688 * io/chmod.c: Likewise.
14689 * io/chown.c: Likewise.
14690 * io/close.c: Likewise.
14691 * io/dup.c: Likewise.
14692 * io/dup2.c: Likewise.
14693 * io/dup3.c: Likewise.
14694 * io/euidaccess.c: Likewise.
14695 * io/faccessat.c: Likewise.
14696 * io/fchdir.c: Likewise.
14697 * io/fchmod.c: Likewise.
14698 * io/fchmodat.c: Likewise.
14699 * io/fchown.c: Likewise.
14700 * io/fchownat.c: Likewise.
14701 * io/fcntl.c: Likewise.
14702 * io/flock.c: Likewise.
14703 * io/fstatfs.c: Likewise.
14704 * io/fstatfs64.c: Likewise.
14705 * io/fstatvfs.c: Likewise.
14706 * io/fstatvfs64.c: Likewise.
14707 * io/futimens.c: Likewise.
14708 * io/fxstat.c: Likewise.
14709 * io/fxstat64.c: Likewise.
14710 * io/fxstatat.c: Likewise.
14711 * io/fxstatat64.c: Likewise.
14712 * io/getcwd.c: Likewise.
14713 * io/isatty.c: Likewise.
14714 * io/lchmod.c: Likewise.
14715 * io/lchown.c: Likewise.
14716 * io/link.c: Likewise.
14717 * io/linkat.c: Likewise.
14718 * io/lseek.c: Likewise.
14719 * io/lseek64.c: Likewise.
14720 * io/lxstat64.c: Likewise.
14721 * io/mkdir.c: Likewise.
14722 * io/mkdirat.c: Likewise.
14723 * io/mkfifo.c: Likewise.
14724 * io/mkfifoat.c: Likewise.
14725 * io/open.c: Likewise.
14726 * io/open64.c: Likewise.
14727 * io/openat.c: Likewise.
14728 * io/openat64.c: Likewise.
14729 * io/pipe.c: Likewise.
14730 * io/pipe2.c: Likewise.
14731 * io/poll.c: Likewise.
14732 * io/posix_fadvise.c: Likewise.
14733 * io/posix_fadvise64.c: Likewise.
14734 * io/posix_fallocate.c: Likewise.
14735 * io/posix_fallocate64.c: Likewise.
14736 * io/read.c: Likewise.
14737 * io/readlink.c: Likewise.
14738 * io/readlinkat.c: Likewise.
14739 * io/rmdir.c: Likewise.
14740 * io/sendfile.c: Likewise.
14741 * io/sendfile64.c: Likewise.
14742 * io/statfs.c: Likewise.
14743 * io/statfs64.c: Likewise.
14744 * io/statvfs.c: Likewise.
14745 * io/statvfs64.c: Likewise.
14746 * io/symlink.c: Likewise.
14747 * io/symlinkat.c: Likewise.
14748 * io/ttyname.c: Likewise.
14749 * io/ttyname_r.c: Likewise.
14750 * io/umask.c: Likewise.
14751 * io/unlink.c: Likewise.
14752 * io/unlinkat.c: Likewise.
14753 * io/utime.c: Likewise.
14754 * io/utimensat.c: Likewise.
14755 * io/write.c: Likewise.
14756 * io/xmknod.c: Likewise.
14757 * io/xmknodat.c: Likewise.
14758 * io/xstat.c: Likewise.
14759 * io/xstat64.c: Likewise.
14760 * login/getpt.c: Likewise.
14761 * login/grantpt.c: Likewise.
14762 * login/unlockpt.c: Likewise.
14763 * math/e_acoshl.c: Likewise.
14764 * math/e_acosl.c: Likewise.
14765 * math/e_asinl.c: Likewise.
14766 * math/e_atan2l.c: Likewise.
14767 * math/e_atanhl.c: Likewise.
14768 * math/e_coshl.c: Likewise.
14769 * math/e_expl.c: Likewise.
14770 * math/e_fmodl.c: Likewise.
14771 * math/e_gammal_r.c: Likewise.
14772 * math/e_hypotl.c: Likewise.
14773 * math/e_j0l.c: Likewise.
14774 * math/e_j1l.c: Likewise.
14775 * math/e_jnl.c: Likewise.
14776 * math/e_lgammal_r.c: Likewise.
14777 * math/e_log10l.c: Likewise.
14778 * math/e_log2l.c: Likewise.
14779 * math/e_logl.c: Likewise.
14780 * math/e_powl.c: Likewise.
14781 * math/e_rem_pio2l.c: Likewise.
14782 * math/e_sinhl.c: Likewise.
14783 * math/e_sqrtl.c: Likewise.
14784 * math/fclrexcpt.c: Likewise.
14785 * math/fedisblxcpt.c: Likewise.
14786 * math/feenablxcpt.c: Likewise.
14787 * math/fegetenv.c: Likewise.
14788 * math/fegetexcept.c: Likewise.
14789 * math/fegetround.c: Likewise.
14790 * math/feholdexcpt.c: Likewise.
14791 * math/fesetenv.c: Likewise.
14792 * math/fesetround.c: Likewise.
14793 * math/feupdateenv.c: Likewise.
14794 * math/fgetexcptflg.c: Likewise.
14795 * math/fraiseexcpt.c: Likewise.
14796 * math/fsetexcptflg.c: Likewise.
14797 * math/ftestexcept.c: Likewise.
14798 * math/k_cosl.c: Likewise.
14799 * math/k_rem_pio2l.c: Likewise.
14800 * math/k_sinl.c: Likewise.
14801 * math/k_tanl.c: Likewise.
14802 * math/s_asinhl.c: Likewise.
14803 * math/s_atanl.c: Likewise.
14804 * math/s_cbrtl.c: Likewise.
14805 * math/s_erfl.c: Likewise.
14806 * math/s_expm1l.c: Likewise.
14807 * math/s_log1pl.c: Likewise.
14808 * math/s_tanhl.c: Likewise.
14809 * misc/acct.c: Likewise.
14810 * misc/brk.c: Likewise.
14811 * misc/chflags.c: Likewise.
14812 * misc/chroot.c: Likewise.
14813 * misc/fchflags.c: Likewise.
14814 * misc/fgetxattr.c: Likewise.
14815 * misc/flistxattr.c: Likewise.
14816 * misc/fremovexattr.c: Likewise.
14817 * misc/fsetxattr.c: Likewise.
14818 * misc/fsync.c: Likewise.
14819 * misc/ftruncate.c: Likewise.
14820 * misc/futimes.c: Likewise.
14821 * misc/futimesat.c: Likewise.
14822 * misc/getdomain.c: Likewise.
14823 * misc/getdtsz.c: Likewise.
14824 * misc/gethostid.c: Likewise.
14825 * misc/gethostname.c: Likewise.
14826 * misc/getloadavg.c: Likewise.
14827 * misc/getpagesize.c: Likewise.
14828 * misc/getsysstats.c: Likewise.
14829 * misc/getxattr.c: Likewise.
14830 * misc/gtty.c: Likewise.
14831 * misc/ioctl.c: Likewise.
14832 * misc/lgetxattr.c: Likewise.
14833 * misc/listxattr.c: Likewise.
14834 * misc/llistxattr.c: Likewise.
14835 * misc/lremovexattr.c: Likewise.
14836 * misc/lsetxattr.c: Likewise.
14837 * misc/lutimes.c: Likewise.
14838 * misc/madvise.c: Likewise.
14839 * misc/mincore.c: Likewise.
14840 * misc/mlock.c: Likewise.
14841 * misc/mlockall.c: Likewise.
14842 * misc/mmap.c: Likewise.
14843 * misc/mprotect.c: Likewise.
14844 * misc/msync.c: Likewise.
14845 * misc/munlock.c: Likewise.
14846 * misc/munlockall.c: Likewise.
14847 * misc/munmap.c: Likewise.
14848 * misc/preadv.c: Likewise.
14849 * misc/preadv64.c: Likewise.
14850 * misc/ptrace.c: Likewise.
14851 * misc/pwritev.c: Likewise.
14852 * misc/pwritev64.c: Likewise.
14853 * misc/readv.c: Likewise.
14854 * misc/reboot.c: Likewise.
14855 * misc/remap_file_pages.c: Likewise.
14856 * misc/removexattr.c: Likewise.
14857 * misc/revoke.c: Likewise.
14858 * misc/select.c: Likewise.
14859 * misc/setdomain.c: Likewise.
14860 * misc/setegid.c: Likewise.
14861 * misc/seteuid.c: Likewise.
14862 * misc/sethostid.c: Likewise.
14863 * misc/sethostname.c: Likewise.
14864 * misc/setregid.c: Likewise.
14865 * misc/setreuid.c: Likewise.
14866 * misc/setxattr.c: Likewise.
14867 * misc/sstk.c: Likewise.
14868 * misc/stty.c: Likewise.
14869 * misc/swapoff.c: Likewise.
14870 * misc/swapon.c: Likewise.
14871 * misc/sync.c: Likewise.
14872 * misc/syncfs.c: Likewise.
14873 * misc/syscall.c: Likewise.
14874 * misc/truncate.c: Likewise.
14875 * misc/ualarm.c: Likewise.
14876 * misc/usleep.c: Likewise.
14877 * misc/ustat.c: Likewise.
14878 * misc/utimes.c: Likewise.
14879 * misc/vhangup.c: Likewise.
14880 * misc/writev.c: Likewise.
14881 * posix/_exit.c: Likewise.
14882 * posix/alarm.c: Likewise.
14883 * posix/execve.c: Likewise.
14884 * posix/fexecve.c: Likewise.
14885 * posix/fork.c: Likewise.
14886 * posix/fpathconf.c: Likewise.
14887 * posix/getaddrinfo.c: Likewise.
14888 * posix/getegid.c: Likewise.
14889 * posix/geteuid.c: Likewise.
14890 * posix/getgid.c: Likewise.
14891 * posix/getgroups.c: Likewise.
14892 * posix/getlogin.c: Likewise.
14893 * posix/getlogin_r.c: Likewise.
14894 * posix/getpgid.c: Likewise.
14895 * posix/getpid.c: Likewise.
14896 * posix/getppid.c: Likewise.
14897 * posix/getresgid.c: Likewise.
14898 * posix/getresuid.c: Likewise.
14899 * posix/getsid.c: Likewise.
14900 * posix/getuid.c: Likewise.
14901 * posix/glob64.c: Likewise.
14902 * posix/nanosleep.c: Likewise.
14903 * posix/pathconf.c: Likewise.
14904 * posix/pause.c: Likewise.
14905 * posix/posix_madvise.c: Likewise.
14906 * posix/pread.c: Likewise.
14907 * posix/pread64.c: Likewise.
14908 * posix/pwrite.c: Likewise.
14909 * posix/pwrite64.c: Likewise.
14910 * posix/sched_getaffinity.c: Likewise.
14911 * posix/sched_getp.c: Likewise.
14912 * posix/sched_gets.c: Likewise.
14913 * posix/sched_primax.c: Likewise.
14914 * posix/sched_primin.c: Likewise.
14915 * posix/sched_rr_gi.c: Likewise.
14916 * posix/sched_setaffinity.c: Likewise.
14917 * posix/sched_setp.c: Likewise.
14918 * posix/sched_sets.c: Likewise.
14919 * posix/sched_yield.c: Likewise.
14920 * posix/setgid.c: Likewise.
14921 * posix/setlogin.c: Likewise.
14922 * posix/setpgid.c: Likewise.
14923 * posix/setresgid.c: Likewise.
14924 * posix/setresuid.c: Likewise.
14925 * posix/setsid.c: Likewise.
14926 * posix/setuid.c: Likewise.
14927 * posix/sleep.c: Likewise.
14928 * posix/spawni.c: Likewise.
14929 * posix/sysconf.c: Likewise.
14930 * posix/times.c: Likewise.
14931 * posix/wait.c: Likewise.
14932 * posix/wait3.c: Likewise.
14933 * posix/wait4.c: Likewise.
14934 * posix/waitpid.c: Likewise.
14935 * resolv/gai_sigqueue.c: Likewise.
14936 * resource/getpriority.c: Likewise.
14937 * resource/getrlimit.c: Likewise.
14938 * resource/getrusage.c: Likewise.
14939 * resource/nice.c: Likewise.
14940 * resource/setpriority.c: Likewise.
14941 * resource/setrlimit.c: Likewise.
14942 * resource/ulimit.c: Likewise.
14943 * rt/aio_cancel.c: Likewise.
14944 * rt/aio_fsync.c: Likewise.
14945 * rt/aio_read.c: Likewise.
14946 * rt/aio_sigqueue.c: Likewise.
14947 * rt/aio_suspend.c: Likewise.
14948 * rt/aio_write.c: Likewise.
14949 * rt/clock_getres.c: Likewise.
14950 * rt/clock_gettime.c: Likewise.
14951 * rt/clock_nanosleep.c: Likewise.
14952 * rt/clock_settime.c: Likewise.
14953 * rt/lio_listio.c: Likewise.
14954 * rt/mq_close.c: Likewise.
14955 * rt/mq_getattr.c: Likewise.
14956 * rt/mq_notify.c: Likewise.
14957 * rt/mq_open.c: Likewise.
14958 * rt/mq_receive.c: Likewise.
14959 * rt/mq_send.c: Likewise.
14960 * rt/mq_setattr.c: Likewise.
14961 * rt/mq_timedreceive.c: Likewise.
14962 * rt/mq_timedsend.c: Likewise.
14963 * rt/mq_unlink.c: Likewise.
14964 * rt/shm_open.c: Likewise.
14965 * rt/shm_unlink.c: Likewise.
14966 * rt/timer_create.c: Likewise.
14967 * rt/timer_delete.c: Likewise.
14968 * rt/timer_getoverr.c: Likewise.
14969 * rt/timer_gettime.c: Likewise.
14970 * rt/timer_settime.c: Likewise.
14971 * setjmp/__longjmp.c: Likewise.
14972 * setjmp/setjmp.c: Likewise.
14973 * signal/kill.c: Likewise.
14974 * signal/killpg.c: Likewise.
14975 * signal/raise.c: Likewise.
14976 * signal/sigaction.c: Likewise.
14977 * signal/sigaltstack.c: Likewise.
14978 * signal/sigblock.c: Likewise.
14979 * signal/sigignore.c: Likewise.
14980 * signal/sigintr.c: Likewise.
14981 * signal/signal.c: Likewise.
14982 * signal/sigpause.c: Likewise.
14983 * signal/sigpending.c: Likewise.
14984 * signal/sigqueue.c: Likewise.
14985 * signal/sigreturn.c: Likewise.
14986 * signal/sigset.c: Likewise.
14987 * signal/sigsetmask.c: Likewise.
14988 * signal/sigstack.c: Likewise.
14989 * signal/sigsuspend.c: Likewise.
14990 * signal/sigtimedwait.c: Likewise.
14991 * signal/sigvec.c: Likewise.
14992 * signal/sigwait.c: Likewise.
14993 * signal/sigwaitinfo.c: Likewise.
14994 * signal/sysv_signal.c: Likewise.
14995 * socket/accept.c: Likewise.
14996 * socket/accept4.c: Likewise.
14997 * socket/bind.c: Likewise.
14998 * socket/connect.c: Likewise.
14999 * socket/getpeername.c: Likewise.
15000 * socket/getsockname.c: Likewise.
15001 * socket/getsockopt.c: Likewise.
15002 * socket/isfdtype.c: Likewise.
15003 * socket/listen.c: Likewise.
15004 * socket/recv.c: Likewise.
15005 * socket/recvfrom.c: Likewise.
15006 * socket/recvmsg.c: Likewise.
15007 * socket/send.c: Likewise.
15008 * socket/sendmsg.c: Likewise.
15009 * socket/sendto.c: Likewise.
15010 * socket/setsockopt.c: Likewise.
15011 * socket/shutdown.c: Likewise.
15012 * socket/sockatmark.c: Likewise.
15013 * socket/socket.c: Likewise.
15014 * socket/socketpair.c: Likewise.
15015 * stdio-common/ctermid.c: Likewise.
15016 * stdio-common/cuserid.c: Likewise.
15017 * stdio-common/remove.c: Likewise.
15018 * stdio-common/rename.c: Likewise.
15019 * stdio-common/renameat.c: Likewise.
15020 * stdio-common/tempname.c: Likewise.
15021 * stdlib/getcontext.c: Likewise.
15022 * stdlib/makecontext.c: Likewise.
15023 * stdlib/setcontext.c: Likewise.
15024 * stdlib/swapcontext.c: Likewise.
15025 * stdlib/system.c: Likewise.
15026 * streams/fattach.c: Likewise.
15027 * streams/fdetach.c: Likewise.
15028 * streams/getmsg.c: Likewise.
15029 * streams/getpmsg.c: Likewise.
15030 * streams/putmsg.c: Likewise.
15031 * streams/putpmsg.c: Likewise.
15032 * sysdeps/unix/bsd/getpt.c: Likewise.
15033 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15034 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15035 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15037 Likewise.
15038 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15039 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15040 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15041 * sysvipc/msgctl.c: Likewise.
15042 * sysvipc/msgget.c: Likewise.
15043 * sysvipc/msgrcv.c: Likewise.
15044 * sysvipc/msgsnd.c: Likewise.
15045 * sysvipc/semctl.c: Likewise.
15046 * sysvipc/semget.c: Likewise.
15047 * sysvipc/semop.c: Likewise.
15048 * sysvipc/semtimedop.c: Likewise.
15049 * sysvipc/shmat.c: Likewise.
15050 * sysvipc/shmctl.c: Likewise.
15051 * sysvipc/shmdt.c: Likewise.
15052 * sysvipc/shmget.c: Likewise.
15053 * termios/tcdrain.c: Likewise.
15054 * termios/tcflow.c: Likewise.
15055 * termios/tcflush.c: Likewise.
15056 * termios/tcgetattr.c: Likewise.
15057 * termios/tcgetpgrp.c: Likewise.
15058 * termios/tcsendbrk.c: Likewise.
15059 * termios/tcsetattr.c: Likewise.
15060 * termios/tcsetpgrp.c: Likewise.
15061 * time/adjtime.c: Likewise.
15062 * time/clock.c: Likewise.
15063 * time/getitimer.c: Likewise.
15064 * time/gettimeofday.c: Likewise.
15065 * time/setitimer.c: Likewise.
15066 * time/settimeofday.c: Likewise.
15067 * time/stime.c: Likewise.
15068 * time/time.c: Likewise.
15069
150702012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 15071
a20492cf
PT
15072 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15073 /usr/old/bin.
15074
72e182e3
PT
15075 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15076 instead of spaces.
15077 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15078
fbeafede
JM
150792012-11-03 Joseph Myers <joseph@codesourcery.com>
15080
5b5b04d6
JM
15081 [BZ #14796]
15082 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15083 FE_TONEAREST before applying Dekker multiplication and Knuth
15084 addition. Clear inexact exceptions and check for exact zero
15085 results afterwards.
15086 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15087 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15088 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15089 * math/libm-test.inc (fma_test): Add more tests.
15090 (fma_test_towardzero): Likewise.
15091 (fma_test_downward): Likewise.
15092 (fma_test_upward): Likewise.
15093 * sysdeps/generic/math_private.h (default_libc_fesetround): New
15094 function.
15095 (libc_fesetround): New macro.
15096 (libc_fesetroundf): Likewise.
15097 (libc_fesetroundl): Likewise.
15098 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15099 function.
15100 (libc_fesetround_387): Likewise.
15101 (libc_fesetroundf): New macro.
15102 (libc_fesetround): Likewise.
15103 (libc_fesetroundl): Likewise.
15104 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15105 function.
15106 (libc_fesetroundf): New macro.
15107 (libc_fesetround): Likewise.
15108 (libc_fesetroundl): Likewise.
15109 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15110 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15111 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15112 libm_hidden_ver.
15113 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15114 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15115 libm_hidden_def.
15116 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15117 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15118 libm_hidden_ver.
15119 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15120 libm_hidden_def.
15121
fbeafede
JM
15122 [BZ #3439]
15123 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15124 integer constant usable in #if and use that to give value to enum
15125 constant.
15126 (FE_DIVBYZERO): Likewise.
15127 (FE_UNDERFLOW): Likewise.
15128 (FE_OVERFLOW): Likewise.
15129 (FE_INVALID): Likewise.
15130 (FE_INVALID_SNAN): Likewise.
15131 (FE_INVALID_ISI): Likewise.
15132 (FE_INVALID_IDI): Likewise.
15133 (FE_INVALID_ZDZ): Likewise.
15134 (FE_INVALID_IMZ): Likewise.
15135 (FE_INVALID_COMPARE): Likewise.
15136 (FE_INVALID_SOFTWARE): Likewise.
15137 (FE_INVALID_SQRT): Likewise.
15138 (FE_INVALID_INTEGER_CONVERSION): Likewise.
15139 (FE_TONEAREST): Likewise.
15140 (FE_TOWARDZERO): Likewise.
15141 (FE_UPWARD): Likewise.
15142 (FE_DOWNWARD): Likewise.
15143 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15144 (FE_DIVBYZERO): Likewise.
15145 (FE_OVERFLOW): Likewise.
15146 (FE_UNDERFLOW): Likewise.
15147 (FE_INEXACT): Likewise.
15148 (FE_TONEAREST): Likewise.
15149 (FE_DOWNWARD): Likewise.
15150 (FE_UPWARD): Likewise.
15151 (FE_TOWARDZERO): Likewise.
15152 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15153 (FE_UNDERFLOW): Likewise.
15154 (FE_OVERFLOW): Likewise.
15155 (FE_DIVBYZERO): Likewise.
15156 (FE_INVALID): Likewise.
15157 (FE_TONEAREST): Likewise.
15158 (FE_TOWARDZERO): Likewise.
15159 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15160 (FE_OVERFLOW): Likewise.
15161 (FE_UNDERFLOW): Likewise.
15162 (FE_DIVBYZERO): Likewise.
15163 (FE_INEXACT): Likewise.
15164 (FE_TONEAREST): Likewise.
15165 (FE_TOWARDZERO): Likewise.
15166 (FE_UPWARD): Likewise.
15167 (FE_DOWNWARD): Likewise.
15168 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15169 (FE_DIVBYZERO): Likewise.
15170 (FE_OVERFLOW): Likewise.
15171 (FE_UNDERFLOW): Likewise.
15172 (FE_INEXACT): Likewise.
15173 (FE_TONEAREST): Likewise.
15174 (FE_DOWNWARD): Likewise.
15175 (FE_UPWARD): Likewise.
15176 (FE_TOWARDZERO): Likewise.
15177
105ca950
CM
151782012-11-02 Chris Metcalf <cmetcalf@tilera.com>
15179
15180 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15181
a542b389
AS
151822012-11-03 Andreas Schwab <schwab@linux-m68k.org>
15183
15184 * scripts/cross-test-ssh.sh (command): Use newlines to separate
15185 commands. Quote $PWD.
15186 (blacklist_exports): Don't use remove_newlines. Replace "declare
15187 -x" by "export".
15188 (remove_newlines): Remove.
15189
f62c8abc
L
151902012-11-02 H.J. Lu <hongjiu.lu@intel.com>
15191
15192 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15193 * stdlib/stdlib.h (atof): Moved to ...
15194 * include/bits/stdlib-float.h: Here. New file.
15195 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15196 * stdlib/bits/stdlib-float.h: New file.
15197 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15198 -mno-sse -mno-mmx.
15199 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15200 <xmmintrin.h>.
15201
0155d5b2
JM
152022012-11-02 Joseph Myers <joseph@codesourcery.com>
15203
a68d0680
JM
15204 * conform/conformtest.pl (@headers): Add fenv.h.
15205 * conform/data/fenv.h-data: New file.
15206 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15207 include of <math/fenv.h>.
15208
caf7f573
JM
15209 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15210 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15211 && !UNIX98]. Enables tests for XOPEN2K8.
15212 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15213 POSIX2008]: Likewise.
15214
6c073ad6
JM
15215 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15216 (struct rusage): Do not expect type or its members.
15217
0155d5b2
JM
15218 [BZ #3439]
15219 * math/math.h (FP_NAN): Define macro to integer constant usable in
15220 #if and use that to give value to enum constant.
15221 (FP_INFINITE): Likewise.
15222 (FP_ZERO): Likewise.
15223 (FP_SUBNORMAL): Likewise.
15224 (FP_NORMAL): Likewise.
15225
b5dcacb4
AS
152262012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15227
15228 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15229 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15230 arguments.
15231
f7934be8
RM
152322012-11-02 Roland McGrath <roland@hack.frob.com>
15233
15234 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15235 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15236 autoconf-time if not.
15237 * configure.in: Remove AC_PREREQ.
15238
d7d08bde
TMQMF
152392012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15240
15241 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15242 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15243 of the internal implementation.
15244
dcdae19a
JM
152452012-11-02 Joseph Myers <joseph@codesourcery.com>
15246
15247 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15248 except include of <misc/sys/syslog.h>.
15249
d6cffd3e
AS
152502012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15251
15252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15253 function returns with a NULL context exit with zero.
15254
b3563932
TMQMF
152552012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15256
15257 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15258
b288a93d
L
152592012-11-01 H.J. Lu <hongjiu.lu@intel.com>
15260
15261 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15262 (run_program_cmd): This.
15263 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15264 (tst_langinfo): New variable. Use it.
15265
a2421a68
SAS
152662012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
15267
15268 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15269 floating point opcodes.
15270
6f796e1b
TS
152712012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15272
7402596b
TS
15273 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15274 variable.
15275
d0d4f868
TS
15276 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15277
6f796e1b
TS
15278 * sysdeps/mach/hurd/powerpc: Remove directory.
15279 * sysdeps/mach/powerpc: Likewise.
15280
4da224a2
AS
152812012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15282
15283 * scripts/check-local-headers.sh: Ignore c++ headers.
15284
341dd673
TS
152852012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15286
15287 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15288 __libc_cleanup_region_start argument.
15289
473611b2
JM
152902012-11-01 Joseph Myers <joseph@codesourcery.com>
15291
15292 [BZ #14784]
15293 [BZ #14785]
15294 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15295 x * y using scaling, not as x * y + z.
15296 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15297 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15298 * math/libm-test.inc (fma_test): Add more tests.
15299 (fma_test_towardzero): Likewise.
15300 (fma_test_downward): Likewise.
15301 (fma_test_upward): Likewise.
15302
4078da3d
TS
153032012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15304
15305 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15306
903252aa
JM
153072012-10-31 Joseph Myers <joseph@codesourcery.com>
15308
15309 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15310 New variable.
15311
cbc818d0
TS
153122012-10-31 Thomas Schwinge <thomas@codesourcery.com>
15313
15314 * rt/tst-shm.c (worker): Correct checking for mmap failure.
15315
5a03cb1e
AS
153162012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15317
15318 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15319 Fix sort order.
15320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15321 Likewise.
15322
90aff2ff
TMQMF
153232012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15324
15325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15326 Fix the order of the list for glibc 2.17.
15327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15328 Likewise.
15329
1818fcb7
AS
153302012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15331
15332 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15333
ef82f4da
JM
153342012-10-31 Joseph Myers <joseph@codesourcery.com>
15335
16a0e2ec
JM
15336 [BZ #14610]
15337 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15338 for low part of x being zero before using __atanl (y).
15339 * math/libm-test.inc (atan2_test): Add another test.
15340
0eb69512
JM
15341 * manual/install.texi (Configuring and compiling): Document
15342 general use of test-wrapper and test-wrapper-env.
15343 * INSTALL: Regenerated.
15344
ef82f4da
JM
15345 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15346 (__fma): Do not extract and scale down low bits on after-rounding
15347 systems when result rounded to normal precision would have normal
15348 exponent.
15349 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15350 (__fmal): Do not extract and scale down low bits on after-rounding
15351 systems when result rounded to normal precision would have normal
15352 exponent.
15353 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15354 (__fmal): Do not extract and scale down low bits on after-rounding
15355 systems when result rounded to normal precision would have normal
15356 exponent.
15357 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15358 macro.
15359 (fma_test): Add more tests.
15360 (fma_test_towardzero): Likewise.
15361 (fma_test_downward): Likewise.
15362 (fma_test_upward): Likewise.
15363
954ef0d9
L
153642012-10-30 H.J. Lu <hongjiu.lu@intel.com>
15365
15366 * sysdeps/i386/tininess.h: Renamed to ...
15367 * sysdeps/x86/tininess.h: This.
15368 * sysdeps/x86_64/tininess.h: Removed.
15369
df61ffb2
JM
153702012-10-30 Joseph Myers <joseph@codesourcery.com>
15371
15372 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
15373 input. Use $(build-program-cmd).
15374 ($(objpfx)tst-array1-static.out): Likewise.
15375 ($(objpfx)tst-array2.out): Likewise.
15376 ($(objpfx)tst-array3.out): Likewise.
15377 ($(objpfx)tst-array4.out): Likewise.
15378 ($(objpfx)tst-array5.out): Likewise.
15379 ($(objpfx)tst-array5-static.out): Likewise.
15380
01767843
CM
153812012-10-30 Chris Metcalf <cmetcalf@tilera.com>
15382
47cc1490
CM
15383 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15384 if defined.
15385
01767843
CM
15386 * nss/nsswitch.h (nss_interface_function): Provide new
15387 macro for use with NSS functions.
15388 * grp/initgroups.c: Use new macro.
15389 * nss/getXXbyYY.c: Likewise.
15390 * nss/getXXbyYY_r.c: Likewise.
15391 * nss/getXXent.c: Likewise.
15392 * nss/getXXent_r.c: Likewise.
15393 * sysdeps/posix/getaddrinfo.c: Likewise.
15394
8321aa97
AJ
153952012-10-30 Andreas Jaeger <aj@suse.de>
15396
15397 * po/ru.po: Update Russion translation from translation project.
15398
2a27fd6d
JM
153992012-10-30 Joseph Myers <joseph@codesourcery.com>
15400
8627a232
JM
15401 [BZ #14152]
15402 [BZ #14783]
15403 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15404 result and shift together with sticky bit instead of replicating
15405 round-to-nearest rounding.
15406 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15407 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15408 * math/libm-test.inc (fma_test): Add more tests. Do not permit
15409 missing underflow exceptions.
15410 (fma_test_towardzero): Add more tests.
15411 (fma_test_downward): Likewise.
15412 (fma_test_upward): Likewise.
15413
2a27fd6d
JM
15414 [BZ #14047]
15415 * sysdeps/generic/tininess.h: New file.
15416 * sysdeps/i386/tininess.h: Likewise.
15417 * sysdeps/sh/tininess.h: Likewise.
15418 * sysdeps/x86_64/tininess.h: Likewise.
15419 * stdlib/tst-strtod-underflow.c: Likewise.
15420 * stdlib/tst-tininess.c: Likewise.
15421 * stdlib/strtod_l.c: Include <tininess.h>.
15422 (round_and_return): Do not set errno for exact underflow cases.
15423 Force an underflow exception when setting errno for underflow.
15424 Determine underflow based on rounding to normal precision if
15425 TININESS_AFTER_ROUNDING.
15426 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15427 ERANGE for exact underflow cases.
15428 * stdlib/Makefile (tests): Add tst-tininess and
15429 tst-strtod-underflow.
15430 ($(objpfx)tst-tininess): Use $(link-libm).
15431 ($(objpfx)tst-strtod-underflow): Likewise.
15432
e7170363
AJ
154332012-10-30 Andreas Jaeger <aj@suse.de>
15434
e5088dc6
AJ
15435 [BZ#14767]
15436 * elf/Makefile (tests): Remove conditional for have-initfini-array
15437 since this is now always required and the variable does not exist
15438 anymore.
15439 (tests-static): Likewise.
15440 (modules-names): Likewise.
15441
e7170363 15442 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
15443
15444 * elf/tst-array1.c (fini_array): Make writeable so that it can be
15445 merged with constructor/destructor.
15446 (init_array): Likewise.
15447 * elf/tst-array2dep.c (fini_array): Likewise.
15448 (init_array): Likewise.
15449
60457d8a
MF
154502012-10-29 Mike Frysinger <vapier@gentoo.org>
15451
15452 * manual/message.texi: Delete @cartouche tags.
15453
8bece752
PT
154542012-10-29 Pino Toscano <toscano.pino@tiscali.it>
15455
94ce799f
PT
15456 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15457 EOPNOTSUPP.
15458 * sysdeps/mach/hurd/fsync.c: Likewise.
15459
8bece752
PT
15460 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15461 [_POSIX_REALTIME_SIGNALS]: Change condition to
15462 [_POSIX_REALTIME_SIGNALS > 0].
15463
86ebe6b1
AJ
154642012-10-27 Andreas Jaeger <aj@suse.de>
15465
15466 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15467 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15468 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15469 [__WORDSIZE != 64]: Likewise.
15470
54399c08
L
154712012-10-26 H.J. Lu <hongjiu.lu@intel.com>
15472
15473 * iconvdata/tst-table.sh: Remove ${SHELL}.
15474 * iconvdata/tst-tables.sh: Likewise.
15475
e2211bed
DM
154762012-10-25 David S. Miller <davem@davemloft.net>
15477
15478 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15479 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15480 of strtoull.
15481
f303f97c
DM
15482 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15483 ifunc-impl-list.c
15484 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15485 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15486 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15487 file.
15488
1e9d84cd
RM
154892012-10-25 Roland McGrath <roland@hack.frob.com>
15490
15491 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15492 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15493 __getdirentries.
15494
df381762
JM
154952012-10-25 Joseph Myers <joseph@codesourcery.com>
15496 Jim Blandy <jimb@codesourcery.com>
15497
15498 * scripts/cross-test-ssh.sh: New file.
15499 * manual/install.texi (Configuring and compiling): Document use of
15500 cross-test-ssh.sh.
15501 * INSTALL: Regenerated.
15502
bff64913
PT
155032012-10-25 Pino Toscano <toscano.pino@tiscali.it>
15504
15505 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15506 EOPNOTSUPP.
15507
25fe8932
JM
155082012-10-25 Joseph Myers <joseph@codesourcery.com>
15509
15510 * Makeconfig (run-program-prefix): Fix comment.
15511
cc1290d0
JM
155122012-10-24 Joseph Myers <joseph@codesourcery.com>
15513 Jim Blandy <jimb@codesourcery.com>
15514
15515 * Makeconfig (test-wrapper): New variable,
15516 (test-wrapper-env): Likewise.
15517 [$(cross-compiling) = yes && $(test-wrapper) != ""]
15518 (run-built-tests): Define to yes.
15519 (run-program-prefix): Use $(test-wrapper).
15520 (built-program-cmd): Likewise.
15521 * Rules (make-test-out): Use $(test-wrapper-env) and
15522 $(host-built-program-cmd).
15523 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15524 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15525 tst-pathopt.sh.
15526 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15527 $(test-wrapper-env) to tst-rtld-load-self.sh.
15528 ($(objpfx)order2.out): Use $(test-wrapper).
15529 ($(objpfx)tst-initorder.out): Likewise.
15530 ($(objpfx)tst-initorder2.out): Likewise.
15531 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15532 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15533 (test_wrapper_env): New variable. Use it to run ld.so.
15534 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15535 Use it to run ld.so.
15536 (test_wrapper_env): Likewise.
15537 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15538 $(test-wrapper) to run-iconv-test.sh.
15539 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15540 (ICONV): Use $test_wrapper.
15541 * posix/Makefile ($(objpfx)globtest.out): Pass
15542 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15543 globtest.sh, not $(run-program-prefix).
15544 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15545 (test_wrapper): Likewise.
15546 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15547 set together with run_via_rtld_prefix.
15548 (run_program_prefix): Define in terms of test_wrapper and
15549 run_via_rtld_prefix.
15550
6e6249d0
RM
155512012-10-24 Roland McGrath <roland@hack.frob.com>
15552
15553 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15554 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15555 Targets removed.
15556
15557 [BZ #14743]
15558 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15559 Declare __clock_getres, __clock_gettime, __clock_settime,
15560 __clock_nanosleep, and __clock_getcpuclockid.
15561 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15562 Remove librt_hidden_def (clock_gettime).
15563 * sysdeps/unix/clock_gettime.c: Likewise.
15564 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15565 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15566 * rt/clock_getres.c: Define __clock_getres as an alias.
15567 * sysdeps/posix/clock_getres.c: Likewise.
15568 * rt/clock_settime.c: Define __clock_settime as an alias.
15569 * sysdeps/unix/clock_settime.c: Likewise.
15570 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15571 * sysdeps/unix/clock_nanosleep.c: Likewise.
15572 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15573 * rt/clock-compat.c: New file.
15574 * rt/Makefile (librt-routines): Add clock-compat and move
15575 $(clock-routines) to ...
15576 (routines): ... here, new variable.
15577 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15578 Don't add get_clockfreq here.
15579 * rt/Versions (libc: GLIBC_2.17): New version set.
15580 Add clock_* symbols here.
15581 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15582 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15583 (GLIBC_2.17): Add clock_* symbols.
15584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15585 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15586 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15587 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15588 Likewise.
15589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15590 Likewise.
15591 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15593 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15594 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15595 * NEWS: Mention the move.
15596
15597 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15598 Use __open, __read, __close rather than their public counterparts.
15599 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15600 (__get_clockfreq_via_cpuinfo): Likewise.
15601 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15602 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15603
15604 * config.h.in (HAVE_IFUNC): New #undef.
15605 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15606 was successful.
15607 * configure: Regenerated.
15608
0cae3f4b
MF
156092012-10-24 Mike Frysinger <vapier@gentoo.org>
15610
15611 * configure.in: Move READELF check to start of file.
15612 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15613 libc_cv_asm_gnu_indirect_function in the process.
15614 * configure: Regenerated.
15615
8175a253
MF
156162012-10-24 Mike Frysinger <vapier@gentoo.org>
15617
15618 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15619 send the output to /dev/null.
15620 (libc_cv_cc_with_libunwind): Likewise.
15621 (libc_cv_as_noexecstack): Likewise.
15622 * configure: Regenerate.
15623
0708a7d1
JM
156242012-10-24 Joseph Myers <joseph@codesourcery.com>
15625
10b40d85
JM
15626 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15627
0708a7d1
JM
15628 * posix/globtest.sh (TMPDIR): Do not set.
15629 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15630 (testout): Likewise.
15631
9fddec1a
AJ
156322012-10-24 Andreas Jaeger <aj@suse.de>
15633
3a8db22f
AJ
15634 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15635 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15636 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15637 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15638 posix_fadvise64, posix_fallocate64.
15639
9fddec1a
AJ
15640 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15641 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15642 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15643 Likewise.
15644 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15645 Likewise.
15646 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15647
15648 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15649 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15650 <bits/fcntl-linux.h>.
15651 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15652
15653 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15654 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15655 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15656 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15657 [__WORDSIZE != 64]: Likewise.
15658
ebfd1bbd
JM
156592012-10-23 Joseph Myers <joseph@codesourcery.com>
15660
03ac099f
JM
15661 * Makeconfig (run-built-tests): New variable.
15662 * Rules [$(cross-compiling) = yes]: Change condition to
15663 [$(run-built-tests) = no].
15664 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15665 to [$(run-built-tests) = yes].
15666 * elf/Makefile [$(cross-compiling) = no]: Likewise
15667 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15668 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15669 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15670 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15671 * io/Makefile [$(cross-compiling) = no]: Likewise.
15672 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15673 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15674 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15675 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15676 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15677 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15678 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15679 * string/Makefile [$(cross-compiling) = no]: Likewise.
15680
ebfd1bbd
JM
15681 * posix/Makefile ($(objpfx)globtest.out): Pass
15682 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15683 $(rtld-installed-name).
15684 * posix/globtest.sh (elf_objpfx): Remove variable.
15685 (rtld_installed_name): Likewise.
15686 (library_path): Likewise.
15687 (run_program_prefix): New variable. Use for running globtest
15688 binary.
15689
166bca24
JB
156902012-10-23 Jim Blandy <jimb@codesourcery.com>
15691 Joseph Myers <joseph@codesourcery.com>
15692
15693 * Makeconfig (host-built-program-cmd): New variable.
15694 * elf/Makefile (tst-stackguard1-ARGS): Use
15695 $(host-built-program-cmd).
15696 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15697 (tst-spawn-ARGS): Likewise.
15698 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15699
88866099
JM
157002012-10-23 Joseph Myers <joseph@codesourcery.com>
15701 Jim Blandy <jimb@codesourcery.com>
15702
15703 * Makeconfig (run-via-rtld-prefix): New variable.
15704 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15705 (built-program-cmd): Likewise.
15706
b4b4c296
AJ
157072012-10-22 Andreas Jaeger <aj@suse.de>
15708
15709 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15710 __O_RSYNC if it exists, otherwise to O_SYNC.
15711
6fb54a22
JB
157122012-10-22 Jim Blandy <jimb@codesourcery.com>
15713 Joseph Myers <joseph@codesourcery.com>
15714
15715 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15716 /dev/null.
15717 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15718 from /dev/null
15719 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15720 /dev/null.
15721
481b90b9
AJ
157222012-10-22 Andreas Jaeger <aj@suse.de>
15723
2a0e2669
AJ
15724 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15725 Define always.
15726 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15727
76e38f9a
AJ
15728 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15729 bits/fcntl-linux.h.
15730
7cd37b43
AJ
15731 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15732 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15733
481b90b9
AJ
15734 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15735 to __O_LARGEFILE.
15736 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15737 to __O_LARGEFILE.
15738
aba75984
JB
157392012-10-21 Jim Blandy <jimb@codesourcery.com>
15740 Joseph Myers <joseph@codesourcery.com>
15741
15742 * config.make.in (NM): New variable.
15743
88d4247f
AJ
157442012-10-21 Andreas Jaeger <aj@suse.de>
15745
15746 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15747 definitions and declarations that are provided by
15748 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15749
f2eed205
L
157502012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15751
15752 [BZ #14683]
15753 * elf/Makefile (tests-static): Add tst-leaks1-static.
15754 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15755 ($(objpfx)tst-leaks1-static): New rule.
15756 ($(objpfx)tst-leaks1-static-mem): Likewise.
15757 (tst-leaks1-static-ENV): New macro.
15758 * elf/dl-open.c (dl_open_worker): Check the main application
15759 only if SHARED is defined.
15760 * elf/tst-leaks1-static.c: New file.
15761
335e6931
AJ
157622012-10-20 Andreas Jaeger <aj@suse.de>
15763
15764 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15765 generic values for Linux.
15766 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15767 and declarations that are provided by <bits/fcntl-linux.h> and
15768 include <bits/fcntl-linux.h>.
15769 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15770 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15771
ac5c94d3
RM
157722012-10-20 Roland McGrath <roland@hack.frob.com>
15773
15774 * io/fcntl.h: Move include of <bits/types.h> to the top and
15775 include it unconditionally.
15776
de54b33a
L
157772012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15778
228cfb01
L
15779 * wcsmbs/Makefile (tests-ifunc): New variable.
15780 (tests): Add $(tests-ifunc).
15781 * wcsmbs/test-wcschr-ifunc.c: New file.
15782 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15783 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15784 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15785 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15786 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15787
69f07e5f
L
15788 * string/Makefile (tests-ifunc): New variable.
15789 (tests): Add $(tests-ifunc).
15790 * string/test-memccpy.c (TEST_NAME): New macro.
15791 * string/test-memchr.c (TEST_NAME): Likewise.
15792 * string/test-memcmp.c (TEST_NAME): Likewise.
15793 * string/test-memcpy.c (TEST_NAME): Likewise.
15794 * string/test-memmem.c (TEST_NAME): Likewise.
15795 * string/test-memmove.c (TEST_NAME): Likewise.
15796 * string/test-memset.c (TEST_NAME): Likewise.
15797 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15798 * string/test-stpcpy.c (TEST_NAME): Likewise.
15799 * string/test-stpncpy.c (TEST_NAME): Likewise.
15800 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15801 * string/test-strcasestr.c (TEST_NAME): Likewise.
15802 * string/test-strcat.c (TEST_NAME): Likewise.
15803 * string/test-strchr.c (TEST_NAME): Likewise.
15804 * string/test-strcmp.c(TEST_NAME): Likewise.
15805 * string/test-strcpy.c (TEST_NAME): Likewise.
15806 * string/test-strcspn.c (TEST_NAME): Likewise.
15807 * string/test-strlen.c (TEST_NAME): Likewise.
15808 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15809 * string/test-strncmp.c (TEST_NAME): Likewise.
15810 * string/test-strncpy.c (TEST_NAME): Likewise.
15811 * string/test-strnlen.c (TEST_NAME): Likewise.
15812 * string/test-strpbrk.c (TEST_NAME): Likewise.
15813 * string/test-strrchr.c (TEST_NAME): Likewise.
15814 * string/test-strspn.c (TEST_NAME): Likewise.
15815 * string/test-strstr.c (TEST_NAME): Likewise.
15816 * string/test-bcopy-ifunc.c: New file.
15817 * string/test-bzero-ifunc.c: Likewise.
15818 * string/test-memccpy-ifunc.c: Likewise.
15819 * string/test-memchr-ifunc.c: Likewise.
15820 * string/test-memcmp-ifunc.c: Likewise.
15821 * string/test-memcpy-ifunc.c: Likewise.
15822 * string/test-memmem-ifunc.c: Likewise.
15823 * string/test-memmove-ifunc.c: Likewise.
15824 * string/test-mempcpy-ifunc.c: Likewise.
15825 * string/test-memset-ifunc.c: Likewise.
15826 * string/test-rawmemchr-ifunc.c: Likewise.
15827 * string/test-stpcpy-ifunc.c: Likewise.
15828 * string/test-stpncpy-ifunc.c: Likewise.
15829 * string/test-strcasecmp-ifunc.c: Likewise.
15830 * string/test-strcasestr-ifunc.c: Likewise.
15831 * string/test-strcat-ifunc.c: Likewise.
15832 * string/test-strchr-ifunc.c: Likewise.
15833 * string/test-strchrnul-ifunc.c: Likewise.
15834 * string/test-strcmp-ifunc.c: Likewise.
15835 * string/test-strcpy-ifunc.c: Likewise.
15836 * string/test-strcspn-ifunc.c: Likewise.
15837 * string/test-strlen-ifunc.c: Likewise.
15838 * string/test-strncasecmp-ifunc.c: Likewise.
15839 * string/test-strncat-ifunc.c: Likewise.
15840 * string/test-strncmp-ifunc.c: Likewise.
15841 * string/test-strncpy-ifunc.c: Likewise.
15842 * string/test-strnlen-ifunc.c: Likewise.
15843 * string/test-strpbrk-ifunc.c: Likewise.
15844 * string/test-strrchr-ifunc.c: Likewise.
15845 * string/test-strspn-ifunc.c: Likewise.
15846 * string/test-strstr-ifunc.c: Likewise.
15847
de54b33a
L
15848 * debug/Makefile (tests-ifunc): New variable.
15849 (tests): Add $(tests-ifunc).
15850 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15851 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15852 * debug/test-stpcpy_chk-ifunc.c: New file.
15853 * debug/test-strcpy_chk-ifunc.c: Likewise.
15854
88481c16
SP
158552012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15856
15857 [BZ #13601]
15858 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15859 header is not read in.
15860
135948bd
JM
158612012-10-19 Joseph Myers <joseph@codesourcery.com>
15862
89f1c388
JM
15863 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
15864 script to $(SHELL) as $<. Pass $(common-objpfx) to script
15865 directly. Pass built executable to script as
15866 $(built-program-cmd).
15867 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
15868 $testprogram without using LD_LIBRARY_PATH and $ldso.
15869
e40a0d21
JM
15870 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15871 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15872 $(rtld-installed-name).
15873 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15874 (rtld_installed_name): Likewise.
15875 (library_path): Likewise.
15876 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
15877 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15878 $(run-program-prefix) to tst-tables.sh.
15879 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
15880 it to run tst-table-from and tst-table-to.
15881 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15882 Pass it to tst-table.sh.
15883 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15884 $(run-program-prefix) to tst-gettext.sh.
15885 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15886 tst-translit.sh.
15887 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15888 tst-gettext2.sh.
15889 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
15890 to run tst-gettext.
15891 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
15892 to run tst-gettext2.
15893 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
15894 to run tst-translit.
15895 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15896 $(run-program-prefix) to tst-mtrace.sh.
15897 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
15898 to run tst-mtrace.
15899 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15900 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15901 $(rtld-installed-name).
15902 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15903 (rtld_installed_name): Likewise.
15904 (run_program_prefix): New variable. Use it to run wordexp-test.
15905
728e272a
JM
15906 * Makeconfig (ARCH): Remove all definitions.
15907 (machine): Likewise.
15908 [ARCH]: Remove conditional code.
15909 [!objdir]: Give error.
15910 [!objdir] (objpfx): Remove.
15911 [!objdir] (common-objpfx): Likewise.
15912 [!objdir] (common-objdir): Likewise.
15913 * configure.in (config_makefile): Remove. Hardcode Makefile in
15914 AC_CONFIG_FILES call.
15915 * configure: Regenerated.
15916
d528cdcf
JM
15917 [BZ #13888]
15918 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15919 or TMPDIR.
15920 (testout): Likewise.
15921
135948bd
JM
15922 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15923 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15924 $(rtld-installed-name).
15925 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15926 (rtld_installed_name): Likwise.
15927 (runit): Remove function.
15928 (run_getconf): New variable, Use it for running getconf binary.
15929
38c78296
L
159302012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15931
15932 [BZ #14716]
15933 * string/test-memmem.c (check_result): New function.
15934 (do_one_test): Use it.
15935 (check1): New function.
15936 (test_main): Use it.
15937
d077f65f
MT
159382012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15939
15940 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15941
ced52c71
JM
159422012-10-18 Joseph Myers <joseph@codesourcery.com>
15943
15944 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15945 (_G_LSEEK64): Likewise.
15946 (_G_MMAP64): Likewise.
15947 (_G_FSTAT64): Likewise.
15948 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15949 (_G_LSEEK64): Likewise.
15950 (_G_MMAP64): Likewise.
15951 (_G_FSTAT64): Likewise.
15952 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15953 unconditional. Call __mmap64 directly.
15954 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15955 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
15956 __lseek64 directly.
15957 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15958 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15959 __mmap64 directly.
15960 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15961 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15962 __lseek64 directly.
15963 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15964 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15965 __lseek64 directly.
15966 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15967 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15968 __lseek64 directly.
15969 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15970 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15971 __fxstat64 directly.
15972 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15973 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
15974 unconditional.
15975 (freopen64) [!_G_OPEN64]: Remove conditional code.
15976 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
15977 unconditional.
15978 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
15979 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
15980 unconditional.
15981 (ftello64) [!_G_LSEEK64]: Remove conditional code.
15982 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
15983 unconditional.
15984 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15985 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
15986 unconditional.
15987 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
15988 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
15989 unconditional.
15990 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15991 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
15992 unconditional.
15993 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
15994 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
15995 unconditional.
15996 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
15997
b741de23
SP
159982012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
15999
16000 [BZ #12140]
16001 * manual/memory.texi (Malloc Tunable Parameters): Add note
16002 about free list pointers overwriting some perturb bytes.
16003 Wording suggested by Roland McGrath.
16004
f9b9d9c9
JM
160052012-10-17 Joseph Myers <joseph@codesourcery.com>
16006
16007 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16008 (lgamma_test): Likewise.
16009 (tgamma_test): Likewise.
16010
172a631a
FW
160112012-10-16 Florian Weimer <fweimer@redhat.com>
16012
16013 [BZ #14700]
16014 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16015 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16016
e9f37252
MK
160172012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
16018
16019 * NEWS: Mention BZ #14716.
16020 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16021 when removing AVAILABLE1_USES_J macro.
16022
d394eb74
L
160232012-10-12 H.J. Lu <hongjiu.lu@intel.com>
16024
16025 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16026 (__bswap_64): __uint64_t for unsigned 64-bit int.
16027
ca38dc17
AS
160282012-10-12 Andreas Schwab <schwab@linux-m68k.org>
16029
16030 * include/string.h (memmem): Declare libc hidden alias.
16031 * string/memmem.c (memmem): Define libc hidden alias.
16032 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16033 __read, __close instead of open, read, close.
16034
9a387d1f
L
160352012-10-11 H.J. Lu <hongjiu.lu@intel.com>
16036
ac49ecaf
L
16037 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16038 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16039 global and hidden.
16040 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16041 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16042 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16043 Likewise.
16044 (__rawmemchr_sse2): Likewise.
16045 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16046 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16047 (__strchr_sse2): Likewise.
16048 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16049 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16050 (__strcasecmp_sse2): Likewise.
16051 (__strncasecmp_sse2): Likewise.
16052 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16053 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16054 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16055 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16056 (__strrchr_sse2): Likewise.
16057 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16058 ifunc-impl-list.c.
16059 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16060 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16061 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16062 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16063 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16064 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16065 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16066 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16067 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16068 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16069 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16070 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16071 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16072 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16073 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16074 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16075 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16076 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16077 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16078 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16079 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16080 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16081 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16082 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16083 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16084 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16085 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16086 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16087 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16088 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16089
b090e8ea
L
16090 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16091 global and hidden.
16092 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16093 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16094 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16095 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16096 Likewise.
16097 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16098 Likewise.
16099 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16100 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16101 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16102 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16103 ifunc-impl-list.c.
16104 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16105 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16106 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16107 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16108 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16109 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16110 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16111 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16112 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16113 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16114 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16115 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16116 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16117 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16118 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16119 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16120 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16121 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16122 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16123 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16124 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16125 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16126 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16127 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16128 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16129 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16130 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16131 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16132 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16133 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16134 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16135 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16136 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16137 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16138 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16139 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16140 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16141 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16142 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16143 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16144 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16145
11dd4af6
L
16146 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16147 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16148 * include/ifunc-impl-list.h: New file.
16149 * misc/ifunc-impl-list.c: Likewise.
16150 * misc/Makefile (routines): Add ifunc-impl-list.
16151 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16152 * string/test-string.h: Include <ifunc-impl-list.h>.
16153 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16154 impl_array): New variables.
16155 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16156 are defined.
16157 (test_init): Call __libc_ifunc_impl_list to initialize
16158 func_list if TEST_IFUNC and TEST_NAME are defined.
16159
9a387d1f
L
16160 * string/Makefile (strop-tests): Add bcopy and bzero.
16161 * string/test-bcopy.c: New file.
16162 * string/test-bzero.c: Likewise.
16163 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16164 defined.
16165 * string/test-memset.c: Support bzero test if TEST_BZERO is
16166 defined.
16167 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16168 __libc_memmove.
16169 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16170 __libc_memset.
16171 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16172 of memset.
16173
472371b9
JM
161742012-10-10 Joseph Myers <joseph@codesourcery.com>
16175
1e4a9536
JM
16176 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16177 * configure: Regenerated.
16178
d173d12e
JM
16179 * Makeconfig (+link-static-before-libc): Don't include
16180 $(link-static-libc).
16181
472371b9
JM
16182 * libio/libio.h (_IO_pos_t): Remove.
16183
89a3ad0b
AO
161842012-10-10 Alexandre Oliva <aoliva@redhat.com>
16185
16186 * NEWS: Add note about FIPS mode. Wording suggested by Roland
16187 McGrath.
16188
e7451425
AO
161892012-10-10 Alexandre Oliva <aoliva@redhat.com>
16190
16191 * crypt/crypt-entry.c: Include fips-private.h.
16192 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16193 * crypt/md5c-test.c (main): Tolerate disabled MD5.
16194 * sysdeps/unix/sysv/linux/fips-private.h: New file.
16195 * sysdeps/generic/fips-private.h: New file, dummy fallback.
16196
4ba74a35
AO
161972012-10-10 Alexandre Oliva <aoliva@redhat.com>
16198
16199 * crypt/crypt-private.h: Include stdbool.h.
16200 (_ufc_setup_salt_r): Return bool.
16201 * crypt/crypt-entry.c: Include errno.h.
16202 (__crypt_r): Return NULL with EINVAL for bad salt.
16203 * crypt/crypt_util.c (bad_for_salt): New.
16204 (_ufc_setup_salt_r): Check that salt is long enough and within
16205 the specified alphabet.
16206 * crypt/badsalttest.c: New file.
16207 * crypt/Makefile (tests): Add it.
16208 ($(objpfx)badsalttest): New.
16209
f96f1242
MK
162102012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16211
16212 * NEWS: Add entry for BZ #14602.
16213
0e8e0c1c
JM
162142012-10-09 Joseph Myers <joseph@codesourcery.com>
16215
16216 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16217 type-generic.
16218 * math/libm-test.inc: Update comment listing what functions and
16219 macros are tested.
16220 (isgreater_test): New function.
16221 (isgreaterequal_test): Likewise.
16222 (isless_test): Likewise.
16223 (islessequal_test): Likewise.
16224 (islessgreater_test): Likewise.
16225 (isunordered_test): Likewise.
16226 (main): Call the new functions.
16227
273edc5e
RM
162282012-10-09 Roland McGrath <roland@hack.frob.com>
16229
b8493de0
RM
16230 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16231 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16232 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16233 * sysdeps/i386/configure: Regenerated.
16234 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16235 * sysdeps/mach/configure: Regenerated.
16236 * sysdeps/mach/hurd/configure: Regenerated.
16237 * sysdeps/powerpc/configure: Regenerated.
16238 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16239 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16240 * sysdeps/s390/s390-32/configure: Regenerated.
16241 * sysdeps/s390/s390-64/configure: Regenerated.
16242 * sysdeps/sh/configure: Regenerated.
16243 * sysdeps/sparc/configure: Regenerated.
16244 * sysdeps/unix/sysv/linux/configure: Regenerated.
16245 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16246 * sysdeps/x86_64/configure: Regenerated.
16247
273edc5e
RM
16248 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16249 defined. Don't check if MAP is NULL.
16250
c8450f70
JM
162512012-10-09 Joseph Myers <joseph@codesourcery.com>
16252
16253 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16254 (_G_stat64): Likewise.
16255 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16256 (_G_stat64): Likewise.
16257 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16258 instead of struct _G_stat64.
16259 * libio/fileops.c (mmap_remap_check): Likewise.
16260 (decide_maybe_mmap): Likewise.
16261 (_IO_new_file_seekoff): Likewise.
16262 (_IO_file_stat): Likewise.
16263 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16264 _G_off64_t.
16265 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16266 instead of struct _G_stat64.
16267 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16268
57e605ba
MK
162692012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
16270
16271 [BZ #14602]
16272 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16273 Replace with ...
16274 (CHECK_EOL): New macro.
16275 (two_way_short_needle): Check beginning of haystack for EOL. Use
16276 CHECK_EOL.
16277 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16278 Replace with CHECK_EOL.
16279 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16280 Replace with CHECK_EOL.
16281
ef1bb361
JM
162822012-10-08 Joseph Myers <joseph@codesourcery.com>
16283
16284 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16285 type-generic.
16286 * math/libm-test.inc: Update comment listing what functions and
16287 macros are tested.
16288 (finite_test): New function.
16289 (isinf_test): Likewise.
16290 (isnan_test): Likewise.
16291 (fpclassify_test): Test subnormal input.
16292 (isfinite_test): Likewise.
16293 (isnormal_test): Likewise.
16294 (main): Call the new functions.
16295
55f11534
JN
162962012-10-08 Jonathan Nieder <jrnieder@gmail.com>
16297
16298 [BZ #14660]
16299 * Makerules (%.dynsym): Force C locale when running
16300 $(OBJDUMP) --dynamic-syms.
16301
1ab29350
AS
163022012-10-08 Andreas Schwab <schwab@linux-m68k.org>
16303
16304 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16305 <stdint.h>.
16306
f1ecb7ef
DM
163072012-10-06 David S. Miller <davem@davemloft.net>
16308
16309 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16310 upper 32-bits of the length value in %o2 since we use branch-on-register
16311 tests which consider the entire 64-bit register.
16312
5d41d91a
L
163132012-10-06 H.J. Lu <hongjiu.lu@intel.com>
16314
16315 * string/test-strstr.c (check2): Add a test for page boundary.
16316
3baddb72
DM
163172012-10-05 David S. Miller <davem@davemloft.net>
16318
16319 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16320 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16321 file.
16322 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16323 sysdep_routines.
16324 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16325 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16326 and bzero when HWCAP_SPARC_CRYPTO is present.
16327
9cee5585
L
163282012-10-05 H.J. Lu <hongjiu.lu@intel.com>
16329
d7e0dab9
L
16330 [BZ #14602]
16331 * string/test-strstr.c (check2): New function.
16332 (test_main): Call check2.
16333
03759f47
L
16334 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16335 and bug-strchr1.
16336 * string/bug-strcasestr1.c (do_test): Moved to ...
16337 * string/test-strcasestr.c (check1): Here. New function.
16338 (do_one_test): Break out result checking code into ...
16339 (check_result): This. New function.
16340 (do_one_test): Call check_result.
16341 (test_main): Call check1.
16342 * string/bug-strchr1.c (do_test): Moved to ...
16343 * string/test-strchr.c (check1): Here. New function.
16344 (do_one_test): Break out result checking code into ...
16345 (check_result): This. New function.
16346 (do_one_test): Call check_result.
16347 (test_main): Call check1.
16348 * string/bug-strstr1.c (main): Moved to ...
046f153e 16349 * string/test-strstr.c (check1): Here. New function.
03759f47
L
16350 (do_one_test): Break out result checking code into ...
16351 (check_result): This. New function.
16352 (do_one_test): Call check_result.
16353 (test_main): Call check1.
16354 * string/bug-strcasestr1.c: Removed.
16355 * string/bug-strchr1.c: Likewise.
16356 * string/bug-strstr1.c: Likewise.
16357
53cea63e
L
16358 * elf/Makefile (dl-routines): Add hwcaps.
16359 * elf/dl-support.c (_dl_important_hwcaps): Removed.
16360 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16361 (_dl_important_hwcaps): Moved to ...
16362 * elf/dl-hwcaps.c: Here. New file.
16363 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16364
9cee5585 16365 [BZ #14557]
bb859b06
L
16366 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16367 if IS_IN_rtld isn't defined.
16368
9cee5585
L
16369 * elf/dl-support.c (_dl_sysinfo_map): New.
16370 Include "get-dynamic-info.h" and "setup-vdso.h".
16371 (_dl_non_dynamic_init): Call setup_vdso.
16372 * elf/dynamic-link.h: Don't include <assert.h>.
16373 (elf_get_dynamic_info): Moved to ...
16374 * elf/get-dynamic-info.h: Here. New file.
16375 * elf/dynamic-link.h: Include "get-dynamic-info.h".
16376 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
16377 * elf/setup-vdso.h: Here. New file.
16378 * elf/rtld.c: Include "setup-vdso.h".
16379 (dl_main): Call setup_vdso.
16380
23c31b76
JM
163812012-10-05 Joseph Myers <joseph@codesourcery.com>
16382
28234b07
JM
16383 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
16384 creal in comment listing functions tested. List finite, isinf,
16385 isnan, isless, islessequal, isgreater, isgreaterequal,
16386 islessgreater, isunordered, lgamma_r and pow10 as functions and
16387 macros not tested. Mention which functions not tested are aliases
16388 for other functions. Fix typo. Note that signs of NaNs are not
16389 tested.
16390
23c31b76
JM
16391 * scripts/config.guess: Update from config.git.
16392 * scripts/config.sub: Likewise.
16393
9043e228
RM
163942012-10-04 Roland McGrath <roland@hack.frob.com>
16395
16396 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16397 * misc/madvise.c (madvise): Renamed to __madvise.
16398 Make madvise a weak alias.
16399 * include/sys/mman.h: Declare __madvise.
16400 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16401 * sysdeps/unix/syscalls.list
16402 (madvise): Make __madvise the strong name, and madvise a weak alias.
16403 * sysdeps/unix/sysv/linux/syscalls.list
16404 (madvise, mmap): Remove redundant entries.
16405 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16406 * malloc/malloc.c (mtrim): Likewise.
16407 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16408
f57f8055
RM
164092012-10-03 Roland McGrath <roland@hack.frob.com>
16410
16411 * sysdeps/mach/hurd/dl-cache.c: File removed.
16412 * config.h.in (USE_LDCONFIG): New #undef.
16413 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16414 * configure: Regenerated.
16415 * elf/Makefile (dl-routines): Add dl-cache only under
16416 [$(use-ldconfig) = yes].
16417 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16418 cache on [USE_LDCONFIG].
16419 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16420 [USE_LDCONFIG].
16421 * elf/rtld.c (dl_main): Likewise.
16422
5bb0c10a
PT
164232012-10-03 Pino Toscano <toscano.pino@tiscali.it>
16424
16425 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16426 _SC_LEVEL4_CACHE_LINESIZE.
16427
010188c6
RM
164282012-10-03 Roland McGrath <roland@hack.frob.com>
16429
16430 * sysdeps/unix/bsd/confstr.h: File removed.
16431
b6c5ec07
AO
164322012-10-02 Alexandre Oliva <aoliva@redhat.com>
16433
16434 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16435 sys/sdt-config.h.
16436
408223d4
RM
164372012-10-02 Roland McGrath <roland@hack.frob.com>
16438
16439 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16440 Make 'mapoff' field ElfW(Off) rather than off_t.
16441
bb9510dc
DL
164422012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16443
fc997c6e
DL
16444 * nscd/Makefile: Remove nscd-cflags and all its users.
16445 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16446 (CFLAGS-nonlib): Add compiler flags for nscd modules.
16447
bb9510dc
DL
16448 [BZ #10631]
16449 * malloc.c (malloc_printerr): Clarify error message.
16450
05699367
L
164512012-10-02 H.J. Lu <hongjiu.lu@intel.com>
16452
16453 [BZ #14648]
16454 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16455 Set bit_FMA_Usable if FMA is supported.
16456 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16457 macro.
16458 (bit_FMA4_Usable): Updated.
16459 (index_FMA_Usable): New macro.
16460 (CPUID_FMA): Likewise
16461 (HAS_FMA): Defined with bit_FMA_Usable.
16462
51367701
RM
164632012-10-01 Roland McGrath <roland@hack.frob.com>
16464
16465 * bits/types.h (__swblk_t): Type removed.
16466 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16467 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16468 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16469 (__SWBLK_T_TYPE): Likewise.
16470 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16471 (__SWBLK_T_TYPE): Likewise.
16472 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16473 (__SWBLK_T_TYPE): Likewise.
16474 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16475 (__SWBLK_T_TYPE): Likewise.
16476
4d57bf63 164772012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 16478 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
16479
16480 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16481 (xdr_mapname): Use YPMAXMAP as maxsize.
16482 (xdr_peername): Use YPMAXPEER as maxsize.
16483 (xdr_keydat): Use YPAXRECORD as maxsize.
16484 (xdr_valdat): Use YPMAXRECORD as maxsize.
16485
93c65d43
RM
164862012-10-01 Roland McGrath <roland@hack.frob.com>
16487
497a03d6
RM
16488 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16489
93c65d43
RM
16490 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16491 * csu/init-first.c: ... here.
16492 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16493 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16494 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16495 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16496 * sysdeps/i386/init-first.c: File removed.
16497 * sysdeps/sh/init-first.c: File removed.
16498
bec749fd
JM
164992012-10-01 Joseph Myers <joseph@codesourcery.com>
16500
16501 [BZ #14645]
16502 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16503 if x * y might underflow to zero and z is zero.
16504 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16505 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16506 * math/libm-test.inc (min_subnorm_value): New variable.
16507 (fma_test): Add more tests.
16508 (fma_test_towardzero): Likewise.
16509 (fma_test_downward): Likewise
16510 (fma_test_upward): Likewise.
16511 (initialize): Set min_subnorm_value.
16512
8ec5b013
JM
165132012-09-29 Joseph Myers <joseph@codesourcery.com>
16514
16515 [BZ #14638]
16516 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16517 0 + 0.
16518 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16519 mode for addition resulting in exact zero.
16520 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16521 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16522 exact 0 + 0.
16523 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16524 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16525 * math/libm-test.inc (fma_test): Add more tests.
16526 (fma_test_towardzero): New function.
16527 (fma_test_downward): Likewise.
16528 (fma_test_upward): Likewise.
16529 (main): Call the new functions.
16530
b1fa802e
DM
165312012-09-28 David S. Miller <davem@davemloft.net>
16532
16533 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16534
d3b9fd9e
RM
165352012-09-28 Roland McGrath <roland@hack.frob.com>
16536
ea4d37b3
RM
16537 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16538 instead of SIGALRM.
16539
ac51c949
RM
16540 * sysdeps/gnu/_G_config.h: Moved to ...
16541 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16542 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16543 * sysdeps/generic/_G_config.h: ... here.
16544
28c195f7
RM
16545 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16546
848917f9
RM
16547 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16548
6bacf05b
RM
16549 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16550 Conditionalize target on [libnss_test1.so-version].
16551
91363dbb
RM
16552 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16553
cc87f7d8
RM
16554 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16555 (elfobjdir): Move out of conditionals.
16556
b1c608fe
RM
16557 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16558 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16559 (__nss_lookup_function): Conditionalize label remove_from_tree on
16560 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 16561
1d9a6d96
DM
165622012-09-28 David S. Miller <davem@davemloft.net>
16563
16564 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16565 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16566 file.
16567 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16568 sysdep_routines.
16569 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16570 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16571 when HWCAP_SPARC_CRYPTO is present.
16572
72581615
PT
165732012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16574
16575 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16576
715a900c
JL
165772012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16578
16579 [BZ #6530]
16580 * stdio-common/vfprintf.c (process_string_arg): Revert
16581 2000-07-22 change.
16582
165832011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16584
16585 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16586 for testcase.
16587 * stdio-common/tst-sprintf.c: Include <locale.h>
16588 (main): Test sprintf's handling of incomplete multibyte
16589 characters.
16590
9bac1d86
L
165912012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16592
16593 * elf/dl-runtime.c (VERSYMIDX): Removed.
16594 * elf/dl-version.c (VERSYMIDX): Likewise.
16595 * elf/do-rel.h (VERSYMIDX): Likewise.
16596 (VALIDX): Likewise.
16597 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16598 * elf/rtld.c (VALIDX): Likewise.
16599 (ADDRIDX): Likewise.
9bac1d86
L
16600 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16601 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16602 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
16603 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16604 (VALIDX): Likewise.
16605 (ADDRIDX): Likewise.
9bac1d86 16606
b31606c0
PT
166072012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16608
16609 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16610
11541177
JL
166112012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16612
16613 [BZ #11438]
16614 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16615 to global scope.
16616 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16617 addresses are in the same scope as 192.0.2/24.
16618 * posix/gai.conf: Document new scope table defaults.
16619
adb26fae
SP
166202012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16621
16622 [BZ #5298]
16623 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16624 for ftell. Compute offsets from write pointers instead.
16625 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16626
4573c6b0
SP
166272012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16628
16629 [BZ #14543]
16630 * libio/Makefile (tests): New test case tst-fseek.
16631 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16632 combination works in wide mode.
16633 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16634 state when the external buffer state changes.
16635
aa9bbfe6
DM
166362012-09-27 David S. Miller <davem@davemloft.net>
16637
16638 [BZ #14376]
16639 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16640 pass reloc->r_addend in as the 'high' argument to
16641 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16642
784421e7
DM
16643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16644
c39bc8b8
PT
166452012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16646
16647 * rt/tst-aio2.c: Include <pthread.h>.
16648 * rt/tst-aio3.c: Likewise.
16649
1ccc2399
SE
166502012-09-27 Steve Ellcey <sellcey@mips.com>
16651
16652 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16653
31ed4153
L
166542012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16655
25f5f885
L
16656 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16657 contents on [SHARED].
31ed4153 16658
b7bfe116
MP
166592012-09-26 Marek Polacek <polacek@redhat.com>
16660
16661 [BZ #14530]
16662 [BZ #13741]
16663 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16664 for C++ and GCC <4.3 as well as for non GCC compilers.
16665
43c4edba
MT
166662012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16667
16668 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16669
6a1bf82f
RM
166702012-09-25 Roland McGrath <roland@hack.frob.com>
16671
16672 * Makefile.in (all, install): Declare with .PHONY.
16673 Reported by Michael Hope <michael.hope@linaro.org>.
16674
8ad11b9a
TMQMF
166752012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16676
16677 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16678 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16679 system header.
16680 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16681 Likewise.
16682 (sydep_routines): Add the new and the internal functions.
16683 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16684 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16685 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16686 (GLIBC_2.17): Add the new function.
16687 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16688 (GLIBC_2.17): Likewise.
16689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16690 (GLIBC_2.17): Likewise.
16691 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16692 (GLIBC_2.17): Likewise.
16693 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16694
7e2fca8d
AM
166952012-09-25 Alan Modra <amodra@gmail.com>
16696
16697 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16698 Add release barrier before setting once_control to say
16699 initialisation is done. Add hints on lwarx. Use macro in
16700 place of isync.
16701 (clear_once_control): Add release barrier.
16702
b87c4b24
JM
167032012-09-25 Joseph Myers <joseph@codesourcery.com>
16704
d032e0d2
JM
16705 [BZ #13629]
16706 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16707 specially.
16708 * math/s_clog10.c (__clog10): Likewise.
16709 * math/s_clog10f.c (__clog10f): Likewise.
16710 * math/s_clog10l.c (__clog10l): Likewise.
16711 * math/s_clogf.c (__clogf): Likewise.
16712 * math/s_clogl.c (__clogl): Likewise.
16713 * math/Makefile (libm-calls): Add x2y2m1.
16714 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16715 (__x2y2m1): Likewise.
16716 (__x2y2m1l): Likewise.
16717 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16718 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16719 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16720 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16721 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16722 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16723 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16724 * sysdeps/i386/fpu/libm-test-ulps: Update.
16725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16726
b87c4b24
JM
16727 [BZ #14621]
16728 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16729 int as type of variable DEPTH.
16730 (glob): Use size_t instead of int as type of variables NEWCOUNT
16731 and OLD_PATHC.
16732
6d3bf199
LD
167332012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16734
22bf5c17
LD
16735 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16736 Add s_sincosf-sse2.
16737 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16738 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16739 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16740 macros for using routine as __sincosf_ia32.
16741 Use macro for function declaration and weak_alias.
16742 * sysdeps/i386/fpu/libm-test-ulps: Update.
16743
16744 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16745 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16746
16747 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
16748 subnormal argument.
16749 * math/s_cexpf.c (__cexpf): Likewise.
16750 * math/s_csinf.c (__csinf): Likewise.
16751 * math/s_csinhf.c (__csinhf): Likewise.
16752 * math/s_ctanf.c (__ctanf): Likewise.
16753 * math/s_ctanhf.c (__ctanhf): Likewise.
16754 * math/s_ccosh.c (__ccoshf): Likewise.
16755 * math/s_cexp.c (__cexpl): Likewise.
16756 * math/s_csin.c (__csin): Likewise.
16757 * math/s_csinh.c (__csinh): Likewise.
16758 * math/s_ctan.c (__ctan): Likewise.
16759 * math/s_ctanh.c (ctanh): Likewise.
16760 * math/s_ccoshl.c (__ccoshl): Likewise.
16761 * math/s_cexpl.c (__cexpl): Likewise.
16762 * math/s_csinl.c (__csinl): Likewise.
16763 * math/s_csinhl.c (__csinhl): Likewise.
16764 * math/s_ctanl.c (__ctanl): Likewise.
16765 * math/s_ctanhl.c (__ctanhl): Likewise.
16766
203e5603
JM
167672012-09-25 Joseph Myers <joseph@codesourcery.com>
16768
16769 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16770 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16771 (_IO_off_t): Define to __off_t, not _G_off_t.
16772 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16773 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16774 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16775 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16776 type of __dummy and __dummy2 fields.
16777 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16778 (_G_ssize_t): Likewise.
16779 (_G_off_t): Likewise.
16780 (_G_pid_t): Likewise.
16781 (_G_uid_t): Likewise.
16782 (_G_wchar_t): Likewise.
16783 (_G_wint_t): Likewise.
16784 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16785 (_G_ssize_t): Likewise.
16786 (_G_off_t): Likewise.
16787 (_G_pid_t): Likewise.
16788 (_G_uid_t): Likewise.
16789 (_G_wchar_t): Likewise.
16790 (_G_wint_t): Likewise.
16791 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16792 (_G_ssize_t): Likewise.
16793 (_G_off_t): Likewise.
16794 (_G_pid_t): Likewise.
16795 (_G_uid_t): Likewise.
16796 (_G_wchar_t): Likewise.
16797 (_G_wint_t): Likewise.
16798
9fab36eb
SP
167992012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16800
16801 * malloc/arena.c: Include malloc-sysdep.h.
16802 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16803 is sufficient to shrink the heap or an unmap is needed.
16804 * sysdeps/generic/malloc-sysdep.h: New file. Define
16805 new function check_may_shrink_heap.
16806 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16807 new function check_may_shrink_heap.
16808
2b4f00d1
SP
168092012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16810
16811 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16812 comments.
16813
9a9028b1
DL
168142012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16815
57c69bef
DL
16816 * catgets/test-gencat.sh: Add "set -e".
16817 * elf/tst-pathopt.sh: Likewise.
16818 * grp/tst_fgetgrent.sh: Likewise.
16819 * iconvdata/run-iconv-test.sh: Likewise.
16820 * intl/tst-gettext.sh: Likewise.
16821 * intl/tst-gettext2.sh: Likewise.
16822 * intl/tst-gettext4.sh: Likewise.
16823 * intl/tst-gettext6.sh: Likewise.
16824 * intl/tst-translit.sh: Likewise.
16825 * io/ftwtest-sh: Likewise.
16826 * libio/test-freopen.sh: Likewise.
16827 * malloc/tst-mtrace.sh: Likewise.
16828 * posix/globtest.sh: Likewise.
16829 * posix/tst-getconf.sh: Likewise.
16830 * posix/wordexp-tst.sh: Likewise.
16831 * stdio-common/tst-printf.sh: Likewise.
16832 * stdio-common/tst-unbputc.sh: Likewise.
16833 * stdlib/tst-fmtmsg.sh: Likewise.
16834 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16835 * catgets/Makefile: Do not specify -e option when running
16836 testsuite shell scripts.
16837 * elf/Makefile: Likewise.
16838 * grp/Makefile: Likewise.
16839 * iconvdata/Makefile: Likewise.
16840 * intl/Makefile: Likewise.
16841 * io/Makefile: Likewise.
16842 * libio/Makefile: Likewise.
16843 * malloc/Makefile: Likewise.
16844 * posix/Makefile: Likewise.
16845 * stdio-common/Makefile: Likewise.
16846 * stdlib/Makefile: Likewise.
16847 * sysdeps/x86_64/Makefile: Likewise.
16848
9a9028b1
DL
16849 * io/ftwtest-sh: Add copyright header.
16850 * posix/globtest.sh: Likewise.
16851 * posix/tst-getconf.sh: Likewise.
16852 * posix/wordexp-tst.sh: Likewise.
16853 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16854
ced6f16e
L
168552012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16856
94b32c39
L
16857 [BZ #13679]
16858 * Makeconfig (+link): Defined as $(+link-static) if
16859 $(build-shared) isn't yes.
16860 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16861 isn't yes.
16862 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16863
189e935b
L
16864 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16865
ced6f16e
L
16866 [BZ #14562]
16867 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16868 new chunk size with MALLOC_ALIGN_MASK.
16869
a9f8e53a
JM
168702012-09-24 Joseph Myers <joseph@codesourcery.com>
16871
16872 [BZ #5044]
16873 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16874 <rounding-mode.h>.
16875 (__printf_fphex): Determine rounding using get_rounding_mode and
16876 round_away.
16877 * stdio-common/tst-printf-round.c (struct hex_test): New
16878 structure.
16879 (hex_tests): New variable.
16880 (test_hex_in_one_mode): New function.
16881 (do_test): Also run tests for hex float output.
16882
43153109
JM
168832012-09-21 Joseph Myers <joseph@codesourcery.com>
16884
16885 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16886 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16887 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16888 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16889 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16890 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16891 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16892 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16893
8a26625d
JM
168942012-09-20 Joseph Myers <joseph@codesourcery.com>
16895
16896 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16897 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16898 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16899 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16900
f3fd569c
DL
169012012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16902
16903 [BZ #14579]
16904 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16905 mode only.
16906 * elf/tst-rtld-load-self.sh: New test.
16907 * elf/Makefile: Run it.
16908
63bbedd4
JM
169092012-09-18 Joseph Myers <joseph@codesourcery.com>
16910
16911 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16912 (tst-writev-ENV): Remove.
16913 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16914
626f8b6a
CM
169152012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16916
16917 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16918
b7aaa4d6
JM
169192012-09-17 Joseph Myers <joseph@codesourcery.com>
16920
16921 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16922 unconditional.
16923 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16924 Likewise.
16925 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16926 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16927 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16928 Likewise.
16929
65513990
L
169302012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16931
16932 [BZ #14587]
16933 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16934 * config.make.in (have-cpp-asm-debuginfo): Removed.
16935 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16936 * configure: Regenerated.
16937
784761be
JM
169382012-09-14 Joseph Myers <joseph@codesourcery.com>
16939
16940 [BZ #5044]
16941 * stdio-common/printf_fp.c: Include <stdbool.h> and
16942 <rounding-mode.h>.
16943 (___printf_fp): Determine rounding using get_rounding_mode and
16944 round_away.
16945 * stdio-common/tst-printf-round.c: New file.
16946 * stdio-common/Makefile (tests): Add tst-printf-round.
16947 (link-libm): New variable.
16948 ($(objpfx)tst-printf-round): Depend in $(link-libm).
16949
9503345f
L
169502012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16951
16952 [BZ #14576]
16953 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16954 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16955 Likewise.
16956 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16957 Likewise.
16958
ad35fc00
JM
169592012-09-13 Joseph Myers <joseph@codesourcery.com>
16960
16961 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16962 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16963 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16964 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16965
6c9b0f68
JM
169662012-09-12 Joseph Myers <joseph@codesourcery.com>
16967
16968 [BZ #14518]
16969 * include/rounding-mode.h: New file.
16970 * sysdeps/generic/get-rounding-mode.h: Likewise.
16971 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16972 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16973 (MAX_VALUE): New macro.
16974 (MIN_VALUE): Likewise.
16975 (overflow_value): New function.
16976 (underflow_value): Likewise.
16977 (round_and_return): Use overflow_value and underflow_value to
16978 determine return values in overflow and underflow cases. Use
16979 round_away to determine rounding depending on rounding mode.
16980 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
16981 determine return values in overflow and underflow cases.
16982 * stdlib/tst-strtod-round.c: Include <fenv.h>.
16983 (struct test_results): New structure.
16984 (struct test): Use struct test_results to store expected results
16985 for all rounding modes.
16986 (TEST): Include expected results for all rounding modes.
16987 (test_in_one_mode): New function.
16988 (do_test): Use test_in_one_mode to compute and check results.
16989 Check results for all rounding modes.
16990 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
16991 $(link-libm).
16992
19fcedd5
AM
169932012-12-09 Allan McRae <allan@archlinux.org>
16994
1e9d84cd 16995 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 16996
8bbfd2f1
JM
169972012-09-11 Joseph Myers <joseph@codesourcery.com>
16998
16999 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17000 (_G_int32_t): Likewise.
17001 (_G_uint16_t): Likewise.
17002 (_G_uint32_t): Likewise.
17003 (_G_HAVE_BOOL): Likewise.
17004 (_G_HAVE_ATEXIT): Likewise.
17005 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17006 (_G_HAVE_IO_FILE_OPEN): Likewise.
17007 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17008 (_G_int32_t): Likewise.
17009 (_G_uint16_t): Likewise.
17010 (_G_uint32_t): Likewise.
17011 (_G_HAVE_BOOL): Likewise.
17012 (_G_HAVE_ATEXIT): Likewise.
17013 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17014 (_G_HAVE_IO_FILE_OPEN): Likewise.
17015 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17016 (_G_int32_t): Likewise.
17017 (_G_uint16_t): Likewise.
17018 (_G_uint32_t): Likewise.
17019 (_G_HAVE_BOOL): Likewise.
17020 (_G_HAVE_ATEXIT): Likewise.
17021 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17022 (_G_HAVE_IO_FILE_OPEN): Likewise.
17023
b1dc5912
L
170242012-09-11 H.J. Lu <hongjiu.lu@intel.com>
17025
17026 * csu/libc-tls.c: Update copyright years.
17027
0e886ef9
JM
170282012-09-10 Joseph Myers <joseph@codesourcery.com>
17029
28361c5e
JM
17030 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17031 [!_G_USING_THUNKS]: Remove conditional code.
17032 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17033 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17034
0e886ef9
JM
17035 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17036 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17037 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17038 (_G_VTABLE_LABEL_PREFIX): Likewise.
17039 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17040 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17041 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17042 (_G_VTABLE_LABEL_PREFIX): Likewise.
17043 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17044 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17045 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17046 (_G_VTABLE_LABEL_PREFIX): Likewise.
17047 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17048
bcba7aa2
L
170492012-09-10 H.J. Lu <hongjiu.lu@intel.com>
17050
17051 * libio/Makefile: Include ../Makeconfig before tests.
17052 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17053 only if $(build-shared) is yes.
17054
06585ee8
L
17055 * iconv/gconv_db.c: Update copyright years.
17056
80ccd52c
LD
170572012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17058
17059 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17060 unwind info if defined PIC. Fix special cases description.
17061 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17062
17063 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17064 DP_HI_MASK entry.
17065 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17066
691bc9c1
L
170672012-09-07 H.J. Lu <hongjiu.lu@intel.com>
17068
3d9b46b3
L
17069 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17070
de2139a9
L
17071 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17072 is NULL.
17073
5ca78dd0
L
17074 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17075 (LDLIBS-tst-chk4): This.
17076 (LDFLAGS-tst-chk5): Renamed to ...
17077 (LDLIBS-tst-chk5): This.
17078 (LDFLAGS-tst-chk6): Renamed to ...
17079 (LDLIBS-tst-chk6): This.
17080 (LDFLAGS-tst-lfschk4): Renamed to ...
17081 (LDLIBS-tst-lfschk4): This.
17082 (LDFLAGS-tst-lfschk5): Renamed to ...
17083 (LDLIBS-tst-lfschk5): This.
17084 (LDFLAGS-tst-lfschk6): Renamed to ...
17085 (LDLIBS-tst-lfschk6): This.
17086
691bc9c1
L
17087 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17088 on $(common-objpfx)soversions.mk.
17089
65cafb1c
JM
170902012-09-07 Joseph Myers <joseph@codesourcery.com>
17091
17092 [BZ #10014]
17093 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17094 example host name.
17095
c78ab094
SP
170962012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17097
17098 * malloc/arena.c (arena_get_retry): New function that gets
17099 another arena for the caller to try its request on.
17100 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17101 current arena cannot fulfill the request.
17102 (__libc_memalign): Likewise.
17103 (__libc_memalign): Likewise.
17104 (__libc_pvalloc): Likewise.
17105 (__libc_calloc): Likewise.
17106
01f49f59
JT
171072012-09-05 John Tobey <john.tobey@gmail.com>
17108
17109 [BZ #13542]
17110 * manual/arith.texi (Operations on Complex): Fix description
17111 of carg branch cut.
17112
4c23fed5
JM
171132012-09-06 Joseph Myers <joseph@codesourcery.com>
17114
1d3c8572
JM
17115 [BZ #10014]
17116 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17117 host name.
17118
4c23fed5
JM
17119 [BZ #10038]
17120 * manual/memory.texi (Memory): Make order of menu items match
17121 order of sections.
17122
04570aaa
L
171232012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17124
17125 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17126 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
17127 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17128
b80af2f4
L
171292012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17130
17131 * csu/libc-tls.c (static_dtv): Renamed to ...
17132 (_dl_static_dtv): This. Make it global.
17133 (_dl_initial_dtv): Removed.
17134 (__libc_setup_tls): Updated.
17135 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17136 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17137 DL_INITIAL_DTV.
17138
2abe9f15
PM
171392012-09-06 Petr Machata <pmachata@redhat.com>
17140
17141 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17142 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17143 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17144 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17145
0948c3af
L
171462012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17147
17148 [BZ #14545]
17149 * csu/libc-tls.c (_dl_initial_dtv): New variable.
17150 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17151 freeing dtv[-1].
17152
a5055ad1
L
171532012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17154
17155 [BZ #14544]
17156 * Makeconfig (link-static-before-libc): Replace $(+prector)
17157 with $(+prectorT).
17158 (link-static-after-libc): Replace $(+postctor) with
17159 $(+postctorT).
17160 (link-bounded): Replace $(+prector)/$(+postctor) with
17161 $(+prectorT)/$(+postctorT).
17162 (+prectorT): New macro.
17163 (+postctorT): Likewise.
17164
ed8c2ecd
JM
171652012-09-06 Joseph Myers <joseph@codesourcery.com>
17166
17167 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17168 (round_str): Handle values above the maximum for IBM long double
17169 as inexact.
17170 * stdlib/tst-strtod-round.c (tests): Regenerated.
17171
14c996c8
AK
171722012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17173
17174 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17175 assembler flag.
17176 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17177 zarch_nohighgprs around the zarch optimized routines.
17178 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17179 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17180 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17181 for zarch.
17182
430d6ce6
DM
171832012-09-05 David S. Miller <davem@davemloft.net>
17184
17185 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17186
ff04dda4
DM
17187 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17188 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17189 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17190 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17191 entries.
17192
24d4e01b
AO
171932012-09-05 Alexandre Oliva <aoliva@redhat.com>
17194
17195 * malloc/arena.c: Fold copyright years.
17196 * malloc/mcheck.c, malloc/memusage.c: Likewise.
17197
61d58174
AO
171982012-09-05 Alexandre Oliva <aoliva@redhat.com>
17199
17200 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17201
20196a5e
AO
172022012-09-05 Alexandre Oliva <aoliva@redhat.com>
17203
17204 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17205
5c447383
AO
172062012-09-05 Alexandre Oliva <aoliva@redhat.com>
17207
17208 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17209 change internal state upon failure.
17210
fad64255
AO
172112012-09-05 Alexandre Oliva <aoliva@redhat.com>
17212
17213 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17214 * malloc/memusage.c (mmap): Likewise.
17215 (mmap64, mremap): Likewise. Adjust name in comment.
17216
1ffb8c90
SP
172172012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17218
17219 * libio/fileops.c: Fix typos in comments.
17220 * libio/oldfileops.c: Likewise.
17221 * libio/wfileops.c: Likewise.
17222
6ef9cc37
SP
172232012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17224
17225 [BZ #1349]
17226 * malloc/Makefile (tests): Add tst-malloc-usable test case.
17227 (tst-malloc-usable-ENV): Set environment for test case.
17228 * malloc/hooks.c (malloc_check_get_size): New function to get
17229 requested size.
17230 * malloc/malloc.c (musable): Use malloc_check_get_size.
17231 * malloc/tst-malloc-usable.c: New test case.
17232
4d038ae3
AS
172332012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17234
17235 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17236
c4e85184
AM
172372012-09-05 Allan McRae <allan@archlinux.org>
17238
b9dafc56 17239 [BZ #13966]
c4e85184
AM
17240 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17241 determine header location.
17242 * configure: Regenerated.
17243
e1343020
AS
172442012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17245
17246 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17247 float format.
17248 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
17249 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17250 format.
e1343020
AS
17251 (test): Regenerate.
17252
0a9f1987
DM
172532012-09-04 David S. Miller <davem@davemloft.net>
17254
17255 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17256 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17257 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17258
29237804
FW
172592012-09-04 Florian Weimer <fweimer@redhat.com>
17260
17261 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17262 failures.
17263
edb3cb88
FW
17264 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17265
60160d83
JM
172662012-09-04 Joseph Myers <joseph@codesourcery.com>
17267
17268 [BZ #9914]
17269 * libio/iogetdelim.c: Include <limits.h>.
17270 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17271 + len + 1 would overflow.
17272
bcd6c8dc
AJ
172732012-09-03 Andreas Jaeger <aj@suse.de>
17274
17275 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17276 * sysdeps/i386/fpu/libm-test-ulps: Update.
17277
4ffffbd2
LD
172782012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17279
17280 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17281 Add s_sinf-sse2, s_conf-sse2.
17282
17283 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17284 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17285 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17286 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17287
17288 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17289 for using routine as __sinf_ia32.
17290 Use macro for function declaration and weak_alias.
17291 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17292 for using routine as __cosf_ia32.
17293 Use macro for function declaration and weak_alias.
17294
17295 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17296 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17297
17298 * sysdeps/x86_64/fpu/s_sinf.S: New file.
17299 * sysdeps/x86_64/fpu/s_cosf.S: New file.
17300 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17301
17302 * math/libm-test.inc (cos_test): Add more test cases.
17303 (sin_test): Likewise.
17304 (sincos_test): Likewise.
17305
511fa286
AK
173062012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17307
17308 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17309 (IFUNC_RESOLVE): Make pointers to the specialized implementations
17310 hidden.
17311 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17312
5f30cfec
L
173132012-09-02 H.J. Lu <hongjiu.lu@intel.com>
17314
17315 [BZ #14538]
17316 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17317 first element of the GOT.
17318 (elf_machine_load_address): Return the difference between
17319 the runtime address of _DYNAMIC and elf_machine_dynamic ().
17320
0786794f
AM
173212012-09-01 Allan McRae <allan@archlinux.org>
17322
5f30cfec
L
17323 [BZ #13412]
17324 * configure.in (AWK): Require gawk version 3.0 or later.
17325 * configure: Regenerated.
0786794f 17326
26889eac
JM
173272012-09-01 Joseph Myers <joseph@codesourcery.com>
17328
17329 * sysdeps/unix/sysv/linux/kernel-features.h
17330 (__ASSUME_POSIX_CPU_TIMERS): Remove.
17331 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17332 [__NR_clock_getres]: Make code unconditional.
17333 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17334 (clock_getcpuclockid): Remove code left unreachable by removal of
17335 conditionals.
17336 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17337 code unconditional.
17338 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17339 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17340 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17341 Make code unconditional.
17342 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17343 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17344 * sysdeps/unix/sysv/linux/clock_settime.c
17345 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17346 conditional code.
17347 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17348 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17349
d22e28b0
L
173502012-08-29 H.J. Lu <hongjiu.lu@intel.com>
17351
17352 [BZ #14476]
17353 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17354 scripts/test-installation.pl.
17355
17356 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17357 and $ld_so_version if it is set.
17358
050af9c4
SP
173592012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17360
17361 [BZ #14516]
17362 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17363 failure if reading from procfs failed.
17364 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17365
ad845c0b
JM
173662012-08-27 Joseph Myers <joseph@codesourcery.com>
17367
17368 * sysdeps/unix/sysv/linux/kernel-features.h
17369 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
17370 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17371 Remove conditional code.
17372 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17373 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
17374 Remove conditional code.
17375 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17376 * sysdeps/unix/sysv/linux/i386/fxstat.c
17377 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17378 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17379 * sysdeps/unix/sysv/linux/i386/fxstatat.c
17380 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17381 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17382 * sysdeps/unix/sysv/linux/i386/lxstat.c
17383 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17384 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17385 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
17386 Remove conditional code.
17387 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17388 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17389 Remove conditional code.
17390 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17391 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
17392 <kernel-features.h>.
17393 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
17394 Remove.
17395 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17396 Remove conditional code.
17397 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17398 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17399 Remove conditional.
17400
5dbf56af
MF
174012012-08-27 Mike Frysinger <vapier@gentoo.org>
17402
17403 [BZ #5400]
17404 * NEWS: Add fixed bug number.
17405
d6e70f43
JM
174062012-08-27 Joseph Myers <joseph@codesourcery.com>
17407
7efb4737
JM
17408 [BZ #14519]
17409 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17410 underflowing exponent in case of negative sign.
17411 * stdlib/tst-strtod-round-data: Add more tests.
17412 * stdlib/tst-strtod-round.c (tests): Regenerated.
17413
af92131a
JM
17414 [BZ #3479]
17415 * stdlib/strtod_l.c (NDIG): Remove.
17416 (HEXNDIG): Likewise.
17417 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17418 smallest representable value.
17419 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17420 lie within an exact representation of 1/2 ulp of the result.
17421 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17422 unconditionally.
17423 (TENS_P9_IDX): Define unconditionally.
17424 (TENS_P9_SIZE): Likewise.
17425 (TENS_P10_IDX): Likewise.
17426 (TENS_P10_SIZE): Likewise.
17427 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17428 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17429 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17430 entries for 10^2^13 and 10^2^14.
17431 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17432 (TENS_P13_IDX): Define.
17433 (TENS_P13_SIZE): Likewise.
17434 (TENS_P14_IDX): Likewise.
17435 (TENS_P14_SIZE): Likewise.
17436 (_fpioconst_pow10): Change array size to
17437 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
17438 unconditional.
17439 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17440 1024]: Add entries for 10^2^13 and 10^2^14.
17441 [LAST_POW10 > _LAST_POW10]: Remove #error.
17442 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17443 (_fpioconst_pow10): Change array size to
17444 FPIOCONST_POW10_ARRAY_SIZE.
17445 * stdlib/gen-fpioconst.c: New file.
17446 * stdlib/gen-tst-strtod-round.c: Likewise.
17447 * stdlib/tst-strtod-round-data: Likewise.
17448 * stdlib/tst-strtod-round.c: Likewise.
17449 * stdlib/Makefile (tests): Add tst-strtod-round.
17450
d6e70f43
JM
17451 [BZ #14459]
17452 * stdlib/strtod_l.c: Include <stdint.h>.
17453 (NDEBUG): Do not define.
17454 (round_and_return): Change EXPONENT parameter to type intmax_t.
17455 Rearrange calculations to avoid internal overflow possibilities.
17456 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17457 Rearrange calculations to avoid internal overflow possibilities.
17458 Assert that number fits inside MPNSIZE limbs.
17459 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17460 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
17461 calculations and add assertions to avoid internal overflow
17462 possibilities. Add casts to avoid signed/unsigned operations.
17463 * stdlib/tst-strtod-overflow.c: New file.
17464 * stdlib/Makefile (tests): Add tst-strtod-overflow.
17465
1f529f7d
MP
174662012-08-25 Marek Polacek <polacek@redhat.com>
17467
17468 * time/time.h: Fix some typos in comments.
17469
59a629f1
RM
174702012-08-23 Roland McGrath <roland@hack.frob.com>
17471
17472 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17473 * posix/tst-rfc3484-2.c: Likewise.
17474 * posix/tst-rfc3484-3.c: Likewise.
17475
d3bafbc9
SM
174762012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
17477
17478 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17479 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17480
4efcc022
JM
174812012-08-23 Joseph Myers <joseph@codesourcery.com>
17482
17483 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17484 #include of fxstatat64.c.
17485
3cc3ef96
RM
174862012-08-22 Roland McGrath <roland@hack.frob.com>
17487
f04e2132
RM
17488 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17489 * shadow/getspent_r.c: Likewise.
17490 * shadow/getspnam.c: Likewise.
17491 * shadow/getspnam_r.c: Likewise.
17492 * gshadow/getsgent.c: Likewise.
17493 * gshadow/getsgent_r.c: Likewise.
17494 * gshadow/getsgnam.c: Likewise.
17495 * gshadow/getsgnam_r.c: Likewise.
17496 * inet/getnetbyad.c: Likewise.
17497 * inet/getnetbyad_r.c: Likewise.
17498 * inet/getnetbynm.c: Likewise.
17499 * inet/getnetbynm_r.c: Likewise.
17500 * inet/getnetent.c: Likewise.
17501 * inet/getnetent_r.c: Likewise.
17502 * inet/getproto.c: Likewise.
17503 * inet/getproto_r.c: Likewise.
17504 * inet/getprtent.c: Likewise.
17505 * inet/getprtent_r.c: Likewise.
17506 * inet/getprtname.c: Likewise.
17507 * inet/getprtname_r.c: Likewise.
17508 * inet/getrpcbyname.c: Likewise.
17509 * inet/getrpcbyname_r.c: Likewise.
17510 * inet/getrpcbynumber.c: Likewise.
17511 * inet/getrpcbynumber_r.c: Likewise.
17512 * inet/getrpcent.c: Likewise.
17513 * inet/getrpcent_r.c: Likewise.
17514 * inet/getaliasent.c: Likewise.
17515 * inet/getaliasent_r.c: Likewise.
17516 * inet/getaliasname.c: Likewise.
17517 * inet/getaliasname_r.c: Likewise.
17518 * nscd/getgrgid_r.c: Likewise.
17519 * nscd/getgrnam_r.c: Likewise.
17520 * nscd/gethstbyad_r.c: Likewise.
17521 * nscd/gethstbynm3_r.c: Likewise.
17522 * nscd/getpwnam_r.c: Likewise.
17523 * nscd/getpwuid_r.c: Likewise.
17524 * nscd/getsrvbynm_r.c: Likewise.
17525 * nscd/getsrvbypt_r.c: Likewise.
17526 * nscd/gai.c: Likewise.
17527
c53d909c
RM
17528 * configure.in (build_nscd): New substituted variable, set
17529 by --disable-build-nscd and defaults to $use_nscd.
17530 * configure: Regenerated.
17531 * config.make.in (build-nscd): New substituted variable.
17532 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17533 Change conditional to require [$(build-nscd) = yes] as well.
17534 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17535
3cc3ef96
RM
17536 [BZ# 13696]
17537 * configure.in (use_nscd): New substituted variable, set by
17538 --disable-nscd. If enabled, define USE_NSCD.
17539 * configure: Regenerated.
17540 * config.h.in: Add USE_NSCD.
17541 * config.make.in (use-nscd): New substituted variable.
17542 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17543 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17544 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17545 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17546 (CFLAGS-getgrnam_r.c): Likewise.
17547 (CFLAGS-initgroups.c): Likewise.
17548 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17549 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17550 Variables removed.
17551 * inet/getnetgrent_r.c
17552 (nscd_setnetgrent): New function, broken out of ...
17553 (setnetgrent): ... here. Call it.
17554 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17555 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17556 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17557 * nscd/Makefile (routines, aux): Move definitions after include of
17558 Makeconfig. Conditionalize on [$(use-nscd) != no].
17559 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17560 Conditionalize on [USE_NSCD].
17561 (is_nscd, nscd_init_cb): Likewise.
17562 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17563 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17564 * nss/nss_db/db-init.c: Likewise.
17565 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17566 [USE_NSCD].
17567 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17568 (make_request): Use it.
17569 (cache_valid_p): New function.
17570 (__check_pf): Use it.
17571 * NEWS: Add item for --disable-nscd.
17572
07e51550
DL
175732012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17574
17575 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17576 to support sed >= 4.2.1-20-ga9bf076.
17577 * configure: Regenerated.
17578
35a5b08b
RM
175792012-08-22 Roland McGrath <roland@hack.frob.com>
17580
17581 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17582 Conditionalize whole body on [IREL].
17583
8479f23a
JL
175842012-08-22 Jeff Law <law@redhat.com>
17585
17586 [BZ #14505]
17587 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17588 if the family is PF_UNSPEC.
17589
48da0b21
MF
175902012-08-22 Mike Frysinger <vapier@gentoo.org>
17591
17592 * Makerules (lib-version): Rename from V.
17593 (install-lib-nosubdir): Change V to lib-version.
17594
15d0da8c
WS
175952012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17596
17597 [BZ #14252]
17598 * powerpc32/power6/wcschr.c: New file.
17599 * powerpc32/power6/wcscpy.c: New file.
17600 * powerpc32/power6/wcsrchr.c: New file.
17601 * powerpc64/power6/wcschr.c: New file.
17602 * powerpc64/power6/wcscpy.c: New file.
17603 * powerpc64/power6/wcsrchr.c: New file.
17604
bcca0895
MK
176052012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17606
17607 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17608 (two_way_short_needle): Use it.
5a4aaa33
RM
17609 * string/strstr.c (AVAILABLE1_USES_J): Define.
17610 * string/strcasestr.c: Likewise.
99677e57
MK
17611
17612 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17613 array references.
17614 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17615
400726de
MK
17616 [BZ #11607]
17617 * NEWS: Add an entry.
17618 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17619 define their defaults.
17620 (two_way_short_needle): Detect end-of-string on-the-fly.
17621 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17622 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17623 * string/bug-strcasestr1.c: New test.
17624 * string/Makefile: Run it.
17625
20a71f2c
MK
176262012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17627
17628 [BZ #11607]
17629 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17630 the first character.
17631
21ad0558
RM
176322012-08-21 Roland McGrath <roland@hack.frob.com>
17633
17634 * csu/elf-init.c (__libc_csu_irel): Function removed.
17635 * csu/libc-start.c (apply_irel): New function.
17636 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17637
0e1d9911
JM
176382012-08-21 Joseph Myers <joseph@codesourcery.com>
17639
17640 * sysdeps/unix/sysv/linux/kernel-features.h
17641 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17642 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17643 <kernel-features.h>.
17644 [__NR_fadvise64_64]: Make code unconditional.
17645 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17646 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17647 !__NR_fadvise64_64)]: Likewise.
17648 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17649 !__NR_fadvise64_64))]: Likewise.
17650 [__NR_fadvise64]: Make code unconditional.
17651 [!__NR_fadvise64]: Remove conditional code.
17652 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17653 <kernel-features.h>.
17654 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17655 unconditional.
17656 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17657 conditional code.
17658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17659 not include <kernel-features.h>.
17660 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17661 unconditional.
17662 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17663 conditional code.
17664 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17665 include <kernel-features.h>.
17666 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17667 unconditional.
17668 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17669 conditional code.
17670
14a50c9d
WS
176712012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17672
17673 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17674 slight instruction rearrangements per scrollpipe analysis.
17675 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17676
c0f4faf0
RM
176772012-08-20 Roland McGrath <roland@hack.frob.com>
17678
696da859
RM
17679 * manual/syslog.texi (syslog; vsyslog, closelog):
17680 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17681 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17682
c0f4faf0
RM
17683 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17684 DSOCAPS to match condition on defining it.
17685
348363b2
JM
176862012-08-20 Joseph Myers <joseph@codesourcery.com>
17687
a35cbf28
JM
17688 * sysdeps/unix/sysv/linux/kernel-features.h
17689 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17691 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17692 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17693 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17694 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17695 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17697 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17698 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17699
445f7ecd
JM
17700 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17701 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17702
348363b2
JM
17703 * sysdeps/unix/sysv/linux/kernel-features.h
17704 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17705 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17706 unconditional.
17707 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17708 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17709 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17710 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17711 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17712 Make code unconditional.
17713 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17714 (__mmap64) [!__NR_mmap2]: Likewise.
17715 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17716 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17717 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17718 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17719 [__NR_mmap2]: Make code unconditional.
17720 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17721 (__mmap64) [!__NR_mmap2]: Likewise.
17722
bc5bc0e5
AK
177232012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17724
17725 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17726
88d506de
AJ
177272012-08-18 Andreas Jaeger <aj@suse.de>
17728
17729 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17730
493387d2
MF
177312012-08-18 Mike Frysinger <vapier@gentoo.org>
17732
17733 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17734 * include/unistd.h (__have_sock_cloexec): Likewise.
17735 (__have_pipe2): Likewise.
17736 (__have_dup3): Likewise.
17737
a277af22
MF
177382012-08-18 Mike Frysinger <vapier@gentoo.org>
17739
17740 [BZ #9685]
17741 * include/unistd.h (__have_pipe2): Change define into an extern int.
17742 (__have_dup3): Likewise.
17743 * socket/have_sock_cloexec.c: Include fcntl.h.
17744 (__have_pipe2): New variable.
17745 (__have_dup3): Likewise.
17746
fdab8fd3
MF
177472012-08-17 Mike Frysinger <vapier@gentoo.org>
17748
17749 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17750
31035e80
MP
177512012-08-17 Marek Polacek <polacek@redhat.com>
17752
17753 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17754 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17755
3bd9e993
RM
177562012-08-17 Roland McGrath <roland@hack.frob.com>
17757
c91c505f
RM
17758 * configure.in: Add AC_SUBST for sysheaders.
17759 * configure: Regenerated.
17760 * config.make.in (sysheaders): New substituted variable.
17761
7c6f9d53
RM
17762 * sysdeps/unix/mkfifo.c: Moved ...
17763 * sysdeps/posix/mkfifo.c: ... here.
17764 * sysdeps/unix/mkfifoat.c: Moved ...
17765 * sysdeps/posix/mkfifoat.c: ... here.
17766
17767 * sysdeps/unix/utime.c: Moved ...
17768 * sysdeps/posix/utime.c: ... here.
17769
17770 * sysdeps/unix/time.c: Moved ...
17771 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
17772 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17773 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
17774
17775 * sysdeps/unix/nice.c: Moved ...
17776 * sysdeps/posix/nice.c: ... here.
17777
17778 * sysdeps/unix/alarm.c: Moved ...
17779 * sysdeps/posix/alarm.c: ... here.
17780
3bd9e993
RM
17781 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17782
d1f09384
JL
177832012-08-17 Jeff Law <law@redhat.com>
17784
17785 * intl/Makefile (codeset_mo): New variable.
17786 ($(codeset_mo)): New target.
17787 (tst-codeset.out): Depend on that. Remove explicit rule.
17788 (tst-gettext3.out, tst-gettext5.out): Likewise.
17789 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17790 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17791 * intl/tst-codeset.sh: Remove.
17792 * intl/tst-gettext3.sh: Likewise.
17793 * intl/tst-gettext5.sh: Likewise.
17794
2ae1ae5c
RM
177952012-08-17 Roland McGrath <roland@hack.frob.com>
17796
c31fdb83
RM
17797 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17798 * sysdeps/unix/syscalls.list: ... here.
17799
a0844057
RM
17800 * sysdeps/posix/getaddrinfo.c
17801 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17802 (gaiconf_init, gaiconf_reload): Use them.
17803 [!_STATBUF_ST_NSEC]
17804 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17805 Define using time_t rather than struct timespec.
17806
750c1f2a
RM
17807 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17808 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17809 Macros removed.
17810 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17811 [!NO_THREADS].
17812 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17813 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17814 Likewise.
17815
2ae1ae5c
RM
17816 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17817 __libc_cleanup_push argument.
17818
e66a42f5
RM
17819 * bits/param.h: New file.
17820 * misc/sys/param.h: New file.
17821 * include/sys/param.h: New file.
17822 * misc/Makefile (headers): Add bits/param.h.
17823 * sysdeps/generic/sys/param.h: File removed.
17824 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17825 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17826 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 17827 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 17828
b7c08a66
RM
17829 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17830 last change.
17831
b2e1c562
RM
17832 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17833 [_IO_MTSAFE_IO].
17834 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17835 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17836 New macros.
17837
c75ccd4c
RM
17838 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17839 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17840 rather than -D_IO_MTSAFE_IO conditionally.
17841 * stdio-common/Makefile (CPPFLAGS): Likewise.
17842 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17843 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17844 Use $(libio-mtsafe).
17845 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17846 of -D_IO_MTSAFE_IO.
17847 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17848 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17849 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17850 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17851 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17852 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17853 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17854 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17855 (CFLAGS-fread_u_chk.c): Likewise.
17856 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17857 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17858 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17859 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17860 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17861 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17862 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17863 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17864 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17865
17866 * libio/Makefile: Test [$(libc-reentrant) = yes]
17867 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17868
17869 * Makeconfig
17870 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17871 * sysdeps/pthread/configure: File removed.
17872 * sysdeps/pthread/Makeconfig: New file.
17873 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17874 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17875
d9195db8
GB
178762012-08-16 Gary Benson <gbenson@redhat.com>
17877
17878 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17879 unmapping the first object in a namespace.
17880
86466cd9
RM
178812012-08-16 Roland McGrath <roland@hack.frob.com>
17882
17883 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17884 (__internal_setnetgrent): ... this. Add internal_function to
17885 definition. Add libc_hidden_def.
17886 (setnetgrent): Update caller.
17887 (internal_endnetgrent): Renamed to ...
17888 (__internal_endnetgrent): ... this. Add internal_function to
17889 definition. Add libc_hidden_def.
17890 (endnetgrent): Update caller.
17891 (internal_getnetgrent_r): Renamed to ...
17892 (__internal_getnetgrent_r): ... this. Add internal_function to
17893 definition. Add libc_hidden_def.
17894 (__getnetgrent_r): Update caller.
17895 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
17896
c3c8283c
JM
178972012-08-16 Joseph Myers <joseph@codesourcery.com>
17898
17899 * stdlib/longlong.h: Update from GCC.
17900
db1ee0a8
RM
179012012-08-16 Roland McGrath <roland@hack.frob.com>
17902
17903 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17904 on _QL, which is set by umul_ppmm but never used.
17905 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17906 variables, which are set by GMP macros but never used.
17907 * stdio-common/_itowa.c (_itowa): Likewise.
17908 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17909 * stdlib/mod_1.c (mpn_mod_1): Likewise.
17910
30f69637
CD
179112012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17912
17913 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17914 struct La_sh_regs is not constant.
17915 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17916 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17917 and struct La_sparc64_regs are not constant.
17918
93a78ac4
JM
179192012-08-16 Joseph Myers <joseph@codesourcery.com>
17920
17921 * sysdeps/unix/sysv/linux/kernel-features.h
17922 (__ASSUME_POSIX_TIMERS): Remove.
17923 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17924 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17925 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17926 Make code unconditional.
17927 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17928 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17929 Make code unconditional.
17930 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17931 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17932 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17933 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17934 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17935 Make code unconditional.
17936 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17937 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17938 (__libc_missing_posix_timers): Remove.
17939
dd924cd7
RM
179402012-08-15 Roland McGrath <roland@hack.frob.com>
17941
4b4f2771
RM
17942 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17943 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17944
601c888b
RM
17945 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17946
176790a7
RM
17947 * elf/dl-sym.c: Include <stdlib.h>.
17948
329bc018
RM
17949 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17950 constants, which avoids warnings in 32-bit builds.
17951
e04e272d
RM
17952 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17953 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17954
952bf94a
RM
17955 * misc/lseek.c: File moved to ...
17956 * io/lseek.c: ... here.
17957
7c99b50a
RM
17958 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17959
dd924cd7
RM
17960 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17961 shifting LEN more than 31 bits at once.
17962
b3f479a8
LD
179632012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17964
17965 [BZ #14195]
8c4ae0d4
RM
17966 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17967 segmentation fault for a case of two empty input strings.
b3f479a8
LD
17968 * string/test-strncasecmp.c (check1): Renamed to...
17969 (bz12205): ...this.
17970 (bz14195): Add new testcase for two empty input strings and N > 0.
17971 (test_main): Call new testcase, adapt for renamed function.
17972
9c55864e
AJ
179732012-08-15 Andreas Jaeger <aj@suse.de>
17974
17975 [BZ #14090]
17976 * crypt/md5test2.c: New test, based on test supplied by Serge
17977 Belyshev <belyshev@depni.sinp.msu.ru>.
17978 * crypt/Makefile (xtests): Add md5test-giant..
17979 * crypt/Makefile ($(objpfx)md5test-giant): Add.
17980
02dcb6c5
PE
179812012-08-15 Paul Eggert <eggert@cs.ucla.edu>
17982
17983 [BZ #14090]
17984 * crypt/md5.c (md5_process_block): Don't assume the buffer
17985 length is less than 2**32.
17986 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
17987 length is less than 2**64.
17988
a3f95dcc
RM
179892012-08-15 Roland McGrath <roland@hack.frob.com>
17990
be75d758
RM
17991 * string/str-two-way.h: Include <sys/param.h>.
17992 (MAX): Macro removed.
17993
7312ca90
RM
17994 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
17995 Move #define and #undef of memmove to just before and after
17996 including <string.h>.
17997
9a0a5486
RM
17998 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
17999 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18000 and after including <string.h>. Move declarations of
18001 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18002 to before #include "string/memmove.c".
18003
67cc348d
RM
18004 * include/dirent.h: Declare __getdirentries.
18005
a3f95dcc
RM
18006 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18007 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18008
ca98e171
MF
180092012-08-14 Mike Frysinger <vapier@gentoo.org>
18010
18011 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18012 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18013 * sysdeps/i386/configure: Regenerated.
18014 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18015 STABS_CURRENT_FILE, and STABS_FUN.
18016 (END): Remove call to STABS_FUN_END.
18017 (STABS_CURRENT_FILE1): Delete.
18018 (STABS_CURRENT_FILE): Likewise.
18019 (STABS_FUN): Likewise.
18020 (STABS_FUN_END): Likewise.
18021 (STABS_FUN2): Likewise.
18022 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18023 * sysdeps/x86_64/configure: Regenerated.
18024
5908bf46
RM
180252012-08-14 Roland McGrath <roland@hack.frob.com>
18026
18027 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 18028 * elf/dl-lookup.c: Likewise.
5908bf46 18029
f2c05b9e
JM
180302012-08-14 Joseph Myers <joseph@codesourcery.com>
18031
18032 * sysdeps/unix/sysv/linux/kernel-features.h
18033 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18034 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18035 unconditionally.
18036 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18037 unconditionally.
18038 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18039 condition on __ASSUME_CLONE_THREAD_FLAGS.
18040
e11f5155
AJ
180412012-08-14 Andreas Jaeger <aj@suse.de>
18042
18043 * sysdeps/i386/fpu/libm-test-ulps: Update.
18044
51a9ba86
MK
180452012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
18046
2fdd4f78
AJ
18047 * include/atomic.h (atomic_exchange_and_add): Split into ...
18048 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18049 New atomic macros.
51a9ba86 18050
ba6cba9e
MT
180512012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
18052
18053 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18054
42443a47
JL
180552012-08-13 Jeff Law <law@redhat.com>
18056
18057 * manual/stdio.texi (snprintf): Clarify handling of the trailing
18058 null byte in the output string.
18059
121dce05
JM
180602012-08-10 Joseph Myers <joseph@codesourcery.com>
18061
18062 * sysdeps/unix/sysv/linux/kernel-features.h
18063 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18064 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18065 (__ASSUME_ARG_MAX_STACK_BASED): Define.
18066 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18067 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18068 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
18069 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18070
bf51f568
JL
180712012-08-09 Jeff Law <law@redhat.com>
18072
18073 [BZ #13939]
18074 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18075 When avoid_arena is set, don't retry in the that arena. Pick the
18076 next one, whatever it might be.
18077 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18078 (arena_lock): Pass in new parameter to arena_get2.
18079 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18080 arena_get2.
18081 (__libc_malloc): Unify retrying after main arena failure with
18082 __libc_memalign version.
18083 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18084
f85fa270
L
180852012-08-09 H.J. Lu <hongjiu.lu@intel.com>
18086
18087 [BZ #14166]
18088 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18089 to __redirect_strstr.
18090 (__strstr_sse42): Use typeof __redirect_strstr.
18091 (__strstr_ia32): Likewise.
18092 (__libc_strstr): New prototype.
18093 (strstr): Renamed to ...
18094 (__libc_strstr): This.
18095 (strstr): New strong alias of __libc_strstr.
18096 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18097 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18098 __redirect_time.
18099 Include <time.h>.
18100 (__libc_time): New prototype.
18101 (time_ifunc): Replace time with __libc_time.
18102 (time): New strong alias and hidden definition of __libc_time.
18103 (__GI_time): Remove strong alias.
18104 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18105 Include <stddef.h>.
18106 (memmove): Redefined to __redirect_memmove.
18107 (__memmove_sse2): Use typeof __redirect_memmove.
18108 (__memmove_ssse3): Likewise.
18109 (__memmove_ssse3_back): Likewise.
18110 (__libc_memmove): New prototype.
18111 (memmove): Renamed to ...
18112 (__libc_memmove): This.
18113 (memmove): New strong alias of __libc_memmove.
18114
33b4a91e
MS
181152012-08-08 Mark Salter <msalter@redhat.com>
18116
18117 * elf/elf.h
18118 (R_MN10300_TLS_GD): Define.
18119 (R_MN10300_TLS_LD): Likewise.
18120 (R_MN10300_TLS_LDO): Likewise.
18121 (R_MN10300_TLS_GOTIE): Likewise.
18122 (R_MN10300_TLS_IE): Likewise.
18123 (R_MN10300_TLS_LE): Likewise.
18124 (R_MN10300_TLS_DTPMOD): Likewise.
18125 (R_MN10300_TLS_DTPOFF): Likewise.
18126 (R_MN10300_TLS_TPOFF): Likewise.
18127 (R_MN10300_SYM_DIFF): Likewise.
18128 (R_MN10300_ALIGN): Likewise.
18129 (R_MN10300_NUM): Update.
18130
b36137f1
JM
181312012-08-08 Joseph Myers <joseph@codesourcery.com>
18132
18133 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18134 Remove.
18135
cdd915fd
RM
181362012-08-08 Roland McGrath <roland@hack.frob.com>
18137
a2433aac
RM
18138 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18139
cdd915fd
RM
18140 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18141 sysdeps/unix -> sysdeps/posix move.
18142 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18143
bf9b740a
AM
181442012-08-07 Allan McRae <allan@archlinux.org>
18145
18146 [BZ #14303]
18147 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18148 (SUNOS_CPP): Likewise.
18149 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18150 not found.
18151 (open_input): Call CPP using execvp.
18152
93df14ee
JM
181532012-08-07 Joseph Myers <joseph@codesourcery.com>
18154
18155 * sysdeps/unix/sysv/linux/kernel-features.h
18156 (__ASSUME_PROT_GROWSUPDOWN): Remove.
18157 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18158 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18159 (__ASSUME_WAITID_SYSCALL): Likewise.
18160 * sysdeps/unix/sysv/linux/dl-execstack.c
18161 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18162 code unconditional.
18163 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18164 conditional code.
18165 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18166 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18167 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18168 code.
18169 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18170 unconditional.
18171 [__ASSUME_WAITID_SYSCALL]: Likewise.
18172 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18173
d34689de
RM
181742012-08-07 Roland McGrath <roland@hack.frob.com>
18175
a281decc
RM
18176 * sysdeps/unix/closedir.c: Renamed to ...
18177 * sysdeps/posix/closedir.c: ... here.
18178 * sysdeps/unix/dirfd.c: Renamed to ...
18179 * sysdeps/posix/dirfd.c: ... here.
18180 * sysdeps/unix/dirstream.h: Renamed to ...
18181 * sysdeps/posix/dirstream.h: ... here.
18182 * sysdeps/unix/fdopendir.c: Renamed to ...
18183 * sysdeps/posix/fdopendir.c: ... here.
18184 * sysdeps/unix/opendir.c: Renamed to ...
18185 * sysdeps/posix/opendir.c: ... here.
18186 * sysdeps/unix/readdir.c: Renamed to ...
18187 * sysdeps/posix/readdir.c: ... here.
18188 * sysdeps/unix/readdir_r.c: Renamed to ...
18189 * sysdeps/posix/readdir_r.c: ... here.
18190 * sysdeps/unix/rewinddir.c: Renamed to ...
18191 * sysdeps/posix/rewinddir.c: ... here.
18192 * sysdeps/unix/seekdir.c: Renamed to ...
18193 * sysdeps/posix/seekdir.c: ... here.
18194 * sysdeps/unix/telldir.c: Renamed to ...
18195 * sysdeps/posix/telldir.c: ... here.
18196 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18197 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18198 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18199 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18200
22895b47
RM
18201 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18202 * bits/fcntl.h: ... here.
18203
707a53b6
RM
18204 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18205 not 0.
18206 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18207 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18208 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18209 (struct flock): Move l_start, l_len to the beginning.
18210 Use __pid_t for l_pid.
18211 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18212 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18213 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18214 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18215 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18216 [__USE_LARGEFILE64] (struct flock64): New type.
18217 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18218
f0bd3e25
RM
18219 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18220 * bits/dirent.h: ... here.
18221
d34689de
RM
18222 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18223 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18224
6dad2c06
JM
182252012-08-07 Joseph Myers <joseph@codesourcery.com>
18226
18227 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18228 Change from 2.6.0 to 2.6.16.
18229 * sysdeps/unix/sysv/linux/configure: Regenerated.
18230 * sysdeps/unix/sysv/linux/kernel-features.h
18231 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18232 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18233 version.
18234 (__ASSUME_UTIMES): Likewise.
18235 (__ASSUME_CLONE_STOPPED): Remove.
18236 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18237 architectures, not kernel version.
18238 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18239 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18240 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18241 (__ASSUME_WAITID_SYSCALL): Likewise.
18242 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18243 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18244 * README: State 2.6.16 as minimum Linux kernel version. Do not
18245 refer to older versions.
18246
03af9520
RM
182472012-08-06 Roland McGrath <roland@hack.frob.com>
18248
8e49df1d
RM
18249 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18250 Define alphasort64 as an alias.
18251 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18252 Define versionsort64 as an alias.
18253 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18254 Define scandir64 as an alias.
18255 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18256 Define scandirat64 as an alias.
18257 * dirent/alphasort64.c (alphasort64):
18258 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18259 * dirent/versionsort64.c: Likewise.
18260 * dirent/scandir64.c: Likewise.
18261 * dirent/scandirat64.c: Likewise.
18262 * sysdeps/wordsize-64/alphasort.c: File removed.
18263 * sysdeps/wordsize-64/alphasort64.c: File removed.
18264 * sysdeps/wordsize-64/scandir.c: File removed.
18265 * sysdeps/wordsize-64/scandir64.c: File removed.
18266 * sysdeps/wordsize-64/scandirat.c: File removed.
18267 * sysdeps/wordsize-64/scandirat64.c: File removed.
18268 * sysdeps/wordsize-64/versionsort.c: File removed.
18269 * sysdeps/wordsize-64/versionsort64.c: File removed.
18270 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18271 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18272 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18273 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18274 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18275 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18276 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18277 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18278
18279 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18280 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18281 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18282 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18283 [defined __arch64__ || defined __sparcv9]
18284 (__INO_T_MATCHES_INO64_T): New macro.
18285 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18286 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18287 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18288 * sysdeps/unix/sysv/linux/bits/dirent.h
18289 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18290 (_DIRENT_MATCHES_DIRENT64): New macro.
18291
03af9520
RM
18292 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18293 Define lockf64 as an alias.
18294 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18295 Define fseeko64 as an alias.
18296 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18297 Define ftello64 as an alias.
18298 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18299 Define _IO_fgetpos64 and fgetpos64 as aliases.
18300 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18301 Define _IO_fsetpos64 and fsetpos64 as aliases.
18302 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18303 Conditionalize body on this.
18304 * libio/fseeko64.c: Likewise.
18305 * libio/ftello64.c: Likewise.
18306 * libio/iofgetpos64.c: Likewise.
18307 * libio/iofsetpos64.c: Likewise.
18308 * sysdeps/wordsize-64/lockf.c: File removed.
18309 * sysdeps/wordsize-64/lockf64.c: File removed.
18310 * sysdeps/wordsize-64/fseeko.c: File removed.
18311 * sysdeps/wordsize-64/fseeko64.c: File removed.
18312 * sysdeps/wordsize-64/ftello.c: File removed.
18313 * sysdeps/wordsize-64/ftello64.c: File removed.
18314 * sysdeps/wordsize-64/iofgetpos.c: File removed.
18315 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18316 * sysdeps/wordsize-64/iofsetpos.c: File removed.
18317 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18318 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18319 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18320 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18321 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18322 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18323 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18324 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18325 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18326 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18327 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18328
18329 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18330 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18331 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18332 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18333 [defined __arch64__ || defined __sparcv9]
18334 (__OFF_T_MATCHES_OFF64_T): New macro.
18335 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18336 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18337 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18338 (__OFF_T_MATCHES_OFF64_T): New macro.
18339
c5757acd
L
183402012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18341
18342 * stdlib/secure-getenv.c (__secure_getenv): Replace
18343 GLIBC_2_16 with GLIBC_2_17.
18344
3a31811e
L
183452012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18346
18347 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18348 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18349
faa2bccb
DM
183502012-08-03 David S. Miller <davem@davemloft.net>
18351
18352 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18353
85fe1997
JM
183542012-08-03 Joseph Myers <joseph@codesourcery.com>
18355
18356 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18357 Remove.
18358 (__ASSUME_CORRECT_SI_PID): Likewise.
18359 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18360 (__ASSUME_TMPFS_NAME): Likewise.
18361 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18362 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18363 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18364 (HAVE_AUX_SECURE): Make definition unconditional.
18365 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18366 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
18367
4f75b7a0
RM
183682012-08-03 Roland McGrath <roland@hack.frob.com>
18369
18370 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
18371 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
18372 * sysdeps/mach/hurd/eloop-threshold.h: New file.
18373 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18374 __eloop_threshold instead of SYMLOOP_MAX.
18375
18376 * sysdeps/generic/eloop-threshold.h: New file.
18377 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18378 of MAXSYMLINKS.
18379 * elf/chroot_canon.c (chroot_canon): Likewise.
18380
7aab07e4
JM
183812012-08-03 Joseph Myers <joseph@codesourcery.com>
18382
18383 [BZ #13717]
18384 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18385 Change to 2.6.0 everywhere.
18386 * sysdeps/unix/sysv/linux/configure: Regenerated.
18387 * sysdeps/unix/sysv/linux/kernel-features.h
18388 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
18389 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
18390 kernel versions.
18391 (__ASSUME_POSIX_TIMERS): Define unconditionally.
18392 (__ASSUME_FUTEX_REQUEUE): Remove.
18393 (__ASSUME_STATFS64): Define unconditionally.
18394 (__ASSUME_AT_SECURE): Likewise.
18395 (__ASSUME_CORRECT_SI_PID): Likewise.
18396 (__ASSUME_TGKILL): Define without depending on kernel version for
18397 i386.
18398 (__ASSUME_UTIMES): Likewise.
18399 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18400 kernel version.
18401 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18402 (__ASSUME_TMPFS_NAME): Likewise.
18403 * README: Update reference to Linux kernel versions.
18404
b67e9372
MP
184052012-08-02 Marek Polacek <polacek@redhat.com>
18406
1f529f7d 18407 [BZ# 14150]
b67e9372
MP
18408 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
18409 libc_cv_asm_type_prefix with %.
18410 * configure: Regenerated.
d2441631
RM
18411 * include/libc-symbols.h: Remove comment about
18412 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
18413 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18414 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18415 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18416 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18417 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18418 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18419 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18420 * elf/tst-unique2mod1.c: Likewise.
18421 * elf/tst-unique1mod2.c: Likewise.
18422 * elf/tst-unique1mod1.c: Likewise.
18423 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18424 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18425 Replace ASM_TYPE_DIRECTIVE with .type.
18426 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18427 * sysdeps/i386/sysdep.h: Likewise.
18428 * sysdeps/x86_64/sysdep.h: Likewise.
18429 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
18430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18431 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 18432 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
18433 * sysdeps/powerpc/powerpc32/sysdep.h:
18434 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
18435 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18436 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18437 * sysdeps/i386/fpu/e_powf.S: Likewise.
18438 * sysdeps/i386/fpu/e_expl.S: Likewise.
18439 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18440 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18441 * sysdeps/i386/fpu/e_pow.S: Likewise.
18442 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18443 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18444 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18445 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18446 * sysdeps/i386/fpu/e_log2.S: Likewise.
18447 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18448 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18449 * sysdeps/i386/fpu/e_powl.S: Likewise.
18450 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18451 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18452 * sysdeps/i386/fpu/e_logl.S: Likewise.
18453 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18454 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18455 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18456 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18457 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18458 * sysdeps/i386/fpu/e_log.S: Likewise.
18459 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18460 * sysdeps/i386/fpu/e_logf.S: Likewise.
18461 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18462 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18463 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18464 * sysdeps/i386/fpu/e_log10.S: Likewise.
18465 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18466 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18467 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18468 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18469 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18470 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18471 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18472 * sysdeps/i386/i686/strtok.S: Likewise.
18473 * sysdeps/i386/i386-mcount.S: Likewise.
18474 * sysdeps/i386/strtok.S: Likewise.
18475 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18476 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18477 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18478 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18479 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18480 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18481 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18482 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18483 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18484 * sysdeps/x86_64/_mcount.S: Likewise.
18485 * sysdeps/x86_64/strtok.S: Likewise.
18486 * sysdeps/sh/_mcount.S: Likewise.
18487
2747bf9a
RM
184882012-08-01 Roland McGrath <roland@hack.frob.com>
18489
18490 * libio/iofopen.c: Include <fcntl.h>.
18491 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18492 (_IO_fopen64, fopen64): Define as aliases.
18493 * libio/iofopen64.c: Include <fcntl.h>.
18494 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18495 Conditionalize body on this.
18496 * sysdeps/wordsize-64/iofopen.c: File removed.
18497 * sysdeps/wordsize-64/iofopen64.c: File removed.
18498
3fb791b8
MP
184992012-08-01 Marek Polacek <polacek@redhat.com>
18500
18501 * libc/Makeconfig: Use elf in place of binfmt-subdir.
18502 Use dlfcn directly instead of a variable.
18503 (binfmt-subdir): Do not define.
18504 (dlfcn): Likewise.
18505
a9f1039f
JM
185062012-08-01 Joseph Myers <joseph@codesourcery.com>
18507
23bddc06
JM
18508 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18509 Remove all definitions.
18510 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18511 <kernel-features.h>.
18512 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18513 (miss_F_GETOWN_EX): Remove all definitions.
18514 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18515 macro definition.
18516 [!__ASSUME_FCNTL64]: Remove conditional code.
18517 [__ASSUME_FCNTL64]: Make code unconditional.
18518 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18519 <kernel-features.h>.
18520 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18521 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18522 (lockf64) [__NR_fcntl64]: Make code unconditional.
18523 (lockf64) [__ASSUME_FCNTL64]: Likewise.
18524
a9f1039f
JM
18525 * sysdeps/unix/sysv/linux/kernel-features.h
18526 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18527 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18528 Make code unconditional.
18529 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18530 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18531 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18532 [__NR_vfork]: Make code unconditional.
18533 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18534 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18535 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18536 [__NR_vfork]: Make code unconditional.
18537 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18538 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18539
09c0ee5f
RM
185402012-08-01 Roland McGrath <roland@hack.frob.com>
18541
48aec5b9
RM
18542 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18543 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18544
cd97c966
RM
18545 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18546 Define mkstemp64 as an alias.
3f55550c
RM
18547 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18548 Define mkstemps64 as an alias.
cd97c966
RM
18549 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18550 Define mkostemp64 as an alias.
b8625cfc
RM
18551 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18552 Define mkostemps64 as an alias.
cd97c966
RM
18553 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18554 Conditionalize body on this.
18555 * misc/mkostemp64.c: Likewise.
b8625cfc 18556 * misc/mkostemps64.c: Likewise.
3f55550c 18557 * misc/mkstemps64.c: Likewise.
cd97c966
RM
18558 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18559 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18560 * sysdeps/wordsize-64/mkostemp.c: File removed.
18561 * sysdeps/wordsize-64/mkstemp.c: File removed.
18562 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18563 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18564 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18565 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18566
09c0ee5f
RM
18567 [BZ #14138]
18568 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18569 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18570 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18571 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18572
18573 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18574 compat_symbol macros from <shlib-compat.h> rather than the underlying
18575 default_symbol_version and symbol_version macros, so that DEFAULT
18576 lines in shlib-versions are respected.
18577 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18578
7e66ee51
FW
185792012-08-01 Florian Weimer <fweimer@redhat.com>
18580
18581 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18582 Declare with warn_unused_result.
18583 (setgid, setregid, setegid, setresgid): Likewise.
18584 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18585 Likewise.
18586 * WUR-REPORT: Remove set*id functions.
18587
d2a54255
PT
185882012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18589
18590 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18591
7ecdb005
RM
185922012-07-31 Roland McGrath <roland@hack.frob.com>
18593
b4180a5e 18594 [BZ #10191]
789bd351
RM
18595 * include/sys/socket.h (__libc_accept, __libc_accept4):
18596 Add attribute_hidden.
18597 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18598
40ce302d
RM
18599 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18600 use of PTR_MANGLE.
18601 * inet/getnetgrent_r.c (setup): Likewise.
18602
7ecdb005
RM
18603 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18604
e2eabb2c
DM
186052012-07-31 David S. Miller <davem@davemloft.net>
18606
18607 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18608
d0419dbf
JM
186092012-07-31 Joseph Myers <joseph@codesourcery.com>
18610
18611 [BZ #13629]
18612 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18613 value between 1.0 and 2.0 and smaller part has absolute value less
18614 than 1.0.
18615 * math/s_clog10.c (__clog10): Likewise.
18616 * math/s_clog10f.c (__clog10f): Likewise.
18617 * math/s_clog10l.c (__clog10l): Likewise.
18618 * math/s_clogf.c (__clogf): Likewise.
18619 * math/s_clogl.c (__clogl): Likewise.
18620 * math/libm-test.inc (clog_test): Add more tests.
18621 (clog10_test): Likewise.
18622 * sysdeps/i386/fpu/libm-test-ulps: Update.
18623 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18624
2bc13872
FW
186252012-07-31 Florian Weimer <fweimer@redhat.com>
18626
18627 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18628 Exit with zero in case no suitable GID is found, and write a
18629 message to standard error.
18630
bea9b193
RM
186312012-07-30 Roland McGrath <roland@hack.frob.com>
18632
18633 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18634 rather than to 1.
18635 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18636 (MAXPATHLEN): Removed.
18637 (NOGROUP, NODEV): New macros.
18638 (setbit, clrbit, isset, isclr): New macros.
18639 (howmany, roundup, powerof2): New macros.
18640 (DEV_BSIZE): New macro.
18641
18642 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18643 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18644
18645 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18646 definition on [!__NO_LONG_DOUBLE_MATH].
18647
18648 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18649 PTR_MANGLE and PTR_DEMANGLE.
18650
18651 * socket/accept4.c (accept4): Rename to __libc_accept4.
18652 Define accept4 as a weak alias.
18653
18654 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18655 on [_DIRENT_HAVE_D_TYPE].
18656 * io/ftw.c (ftw_dir): Likewise.
18657
18658 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18659
18660 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18661
18662 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18663 Use the BSD numbers rather than the arbitrary ones we had.
18664 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18665 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18666 (SIGXCPU, SIGXFSZ): New macros.
18667 (_NSIG): Now 32.
18668
18669 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18670 initializer on [_LIBC_REENTRANT].
18671
18672 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18673 definitions inside [_POSIX_MAPPED_FILES].
18674
18675 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18676
18677 * dirent/opendir.c: Include <fcntl.h>.
18678
18679 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18680 (__libc_getspecific): Likewise.
18681 (__libc_key_create): Likewise.
18682
18683 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18684 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18685 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18686 (tmpfile64): Define as alias.
18687 * sysdeps/wordsize-64/tmpfile.c: File removed.
18688 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18689 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18690 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18691
18692 * stdio-common/vfscanf.c: Include <stdbool.h>.
18693 * nss/makedb.c: Likewise.
18694 * stdio-common/_i18n_number.h: Likewise.
18695 * argp/argp-help.c: Likewise.
18696 * posix/wordexp.c: Likewise.
18697 * sysdeps/posix/spawni.c: Likewise.
18698 * nss/nss_files/files-initgroups.c: Likewise.
18699 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18700 * nss/nss_files/files-initgroups.c: Likewise.
18701 * nss/nss_db/db-netgrp.c: Likewise.
18702 * nss/nss_db/db-initgroups.c: Likewise.
18703 * io/fchmodat.c: Include <sys/stat.h>.
18704
18705 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18706 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18707
18708 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18709 [HAVE_MMAP].
18710
18711 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18712 Add multiple inclusion protection.
18713
e5abc686
DM
187142012-07-27 David S. Miller <davem@davemloft.net>
18715
18716 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18717
815e6fa3
GB
187182012-07-27 Gary Benson <gbenson@redhat.com>
18719
18720 [BZ #14298]
18721 * elf/rtld.c: Include <stap-probe.h>.
18722 (dl_main): Added static probes "init_start" and "init_complete".
18723 * elf/dl-load.c: Include <stap-probe.h>.
18724 (lose): Take new parameter "nsid".
18725 Added static probe "map_failed".
18726 (_dl_map_object_from_fd): Pass namespace id to lose.
18727 Added static probe "map_start".
18728 (open_verify): Pass namespace id to lose.
18729 * elf/dl-open.c: Include <stap-probe.h>.
18730 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18731 and "reloc_complete".
18732 * elf/dl-close.c: Include <stap-probe.h>.
18733 (_dl_close_worker): Added static probes "unmap_start" and
18734 "unmap_complete".
18735 * elf/rtld-debugger-interface.txt: New file documenting the above.
18736
9f98c16c
RM
187372012-07-26 Roland McGrath <roland@hack.frob.com>
18738
18739 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18740 rather than a string variable.
18741 * sunrpc/rpc_main.c (h_output): Likewise.
18742 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18743
f3c22df3
PT
187442012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18745
18746 * inet/check_native.c: New file.
18747
3129cfc6
JM
187482012-07-26 Joseph Myers <joseph@codesourcery.com>
18749
da865e95
JM
18750 [BZ #13629]
18751 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18752 if larger part has absolute value 1.0.
18753 * math/s_clog10.c (__clog10): Likewise.
18754 * math/s_clog10f.c (__clog10f): Likewise.
18755 * math/s_clog10l.c (__clog10l): Likewise.
18756 * math/s_clogf.c (__clogf): Likewise.
18757 * math/s_clogl.c (__clogl): Likewise.
18758 * math/libm-test.inc (clog_test): Add more tests.
18759 (clog10_test): Likewise.
18760 * sysdeps/i386/fpu/libm-test-ulps: Update.
18761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18762
3129cfc6
JM
18763 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18764 (pltexit): Likewise.
18765 (La_regs): Likewise.
18766 (La_retval): Likewise.
18767 (int_retval): Likewise.
18768 Update #error for removed macros to refer only to definitions in
18769 tst-audit.h.
18770 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18771 macro.
18772 (pltexit): Likewise.
18773 (La_regs): Likewise.
18774 (La_retval): Likewise.
18775 (int_retval): Likewise.
18776 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18777 macro.
18778 (pltexit): Likewise.
18779 (La_regs): Likewise.
18780 (La_retval): Likewise.
18781 (int_retval): Likewise.
18782 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18783 macro.
18784 (pltexit): Likewise.
18785 (La_regs): Likewise.
18786 (La_retval): Likewise.
18787 (int_retval): Likewise.
18788 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18789 macro.
18790 (pltexit): Likewise.
18791 (La_regs): Likewise.
18792 (La_retval): Likewise.
18793 (int_retval): Likewise.
18794 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18795 macro.
18796 (pltexit): Likewise.
18797 (La_regs): Likewise.
18798 (La_retval): Likewise.
18799 (int_retval): Likewise.
18800 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18801 macro.
18802 (pltexit): Likewise.
18803 (La_regs): Likewise.
18804 (La_retval): Likewise.
18805 (int_retval): Likewise.
18806 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18807 macro definitions in tst-audit.h.
18808 * sysdeps/i386/tst-audit.h: New file.
18809 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18810 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18811 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18812 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18813 * sysdeps/sh/tst-audit.h: Likewise.
18814 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18815 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18816 * sysdeps/x86_64/tst-audit.h: Likewise.
18817
bfc07087
AJ
188182012-07-26 Andreas Jaeger <aj@suse.de>
18819
b1b2aaf8
AJ
18820 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18821 ptrace.
18822
18823 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18824 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18825 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18826 PTRACE_O_MASK.
18827 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18828 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18829 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18830
bfc07087
AJ
18831 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18832 value.
18833
18834 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18835 _sigsys.
18836 (si_call_addr, si_syscall, si_arch): Define new macro.
18837 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18838 _sigsys.
18839 (si_call_addr, si_syscall, si_arch): Define new marcro.
18840 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18841 _sigsys.
18842 (si_call_addr, si_syscall, si_arch): Define new macro.
18843 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18844 _sigsys.
18845 (si_call_addr, si_syscall, si_arch): Define new macro.
18846
89b4b02f
JM
188472012-07-25 Joseph Myers <joseph@codesourcery.com>
18848
18849 [BZ #13717]
18850 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18851 Change to 2.4.21 where previously 2.4.1.
18852 * sysdeps/unix/sysv/linux/configure: Regenerated.
18853 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18854 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18855 Linux kernel version.
18856 (__ASSUME_STD_AUXV): Remove.
18857 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18858 kernel version.
18859 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18860 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18861 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18862 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18863 (__ASSUME_NETLINK_SUPPORT): Likewise.
18864 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18865 (__no_netlink_support): Remove conditional definition.
18866 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18867 Remove.
18868 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18869 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18870 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18871 (if_nameindex_ioctl): Remove.
18872 (if_nameindex_netlink): Do not handle __no_netlink_support.
18873 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18874 code.
18875 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18876 Remove conditional code.
18877 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18878 code.
18879 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18880 unconditional.
18881 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18882 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18883 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18884 Remove.
18885 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18886 [!__ASSUME_STD_AUXV]: Remove conditional code.
18887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18888 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18889 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18890 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18891 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18892 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18893 code.
18894 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18896 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18897 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18898 conditional code.
18899 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18900 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18901 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18902 code.
18903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18904 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18905 conditional code.
18906 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18907 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18908 code unconditional.
18909 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18910 conditional code.
18911 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18912 unconditional.
18913 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18914 conditional code.
18915 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18916 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18917 unconditional.
18918 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18919 conditional code.
18920 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18921 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18922 code unconditional.
18923 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18924 conditional code.
18925 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18926 unconditional.
18927 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18928 conditional code.
18929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18930 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18931 code unconditional.
18932 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18933 conditional code.
18934 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18935 unconditional.
18936 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18937 conditional code.
18938
842a39cd
AS
189392012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18940
18941 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18942 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18943 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18944 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18945 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18946 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18947 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18948 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18949 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18950 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18951 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18952 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18953 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18954 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18955 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18956 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18957 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18958 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18959 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18960 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18961 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18962 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18963 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18964
84b3fd84
FW
189652012-07-25 Florian Weimer <fweimer@redhat.com>
18966
18967 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
18968 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18969 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18970 Introduce __libc_secure_getenv.
0c7936d5
FW
18971 * stdlib/Versions (2.17): Add secure_getenv
18972 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18973 * stdlib/secure-getenv.c: Rename __secure_getenv to
18974 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
18975 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
18976 * stdlib/tst-secure-getenv.c: New.
18977 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
18978 * manual/startup.texi (Environment Access): Document
18979 secure_getenv.
84b3fd84
FW
18980 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
18981 __libc_secure_getenv.
18982 * inet/ruserpass.c (ruserpass): Likewise.
18983 * malloc/mtrace.c (mtrace): Likewise.
18984 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 18985 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
18986 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
18987 * sysdeps/posix/tempname.c: Likewise. Evaluate
18988 HAVE_SECURE_GETENV.
18989 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 18990 __secure_getenv to __libc_secure_getenv.
84b3fd84 18991 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
18992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
18993 Likewise.
18994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
18995 Likewise.
18996 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
18997 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
18998 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
18999 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19000 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19001 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 19003
56e49b71
JM
190042012-07-25 Joseph Myers <joseph@codesourcery.com>
19005
19006 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19007 (struct La_i86_retval): Likewise.
19008 (struct La_x86_64_regs): Likewise.
19009 (struct La_x86_64_retval): Likewise.
19010 (struct La_x32_regs): Likewise.
19011 (struct La_x32_retval): Likewise.
19012 (struct La_ppc32_regs): Likewise.
19013 (struct La_ppc32_retval): Likewise.
19014 (struct La_ppc64_regs): Likewise.
19015 (struct La_ppc64_retval): Likewise.
19016 (struct La_sh_regs): Likewise.
19017 (struct La_sh_retval): Likewise.
19018 (struct La_s390_32_regs): Likewise.
19019 (struct La_s390_32_retval): Likewise.
19020 (struct La_s390_64_regs): Likewise.
19021 (struct La_s390_64_retval): Likewise.
19022 (struct La_sparc32_regs): Likewise.
19023 (struct La_sparc32_retval): Likewise.
19024 (struct La_sparc64_regs): Likewise.
19025 (struct La_sparc64_retval): Likewise.
19026 (struct audit_ifaces): Remove architecture-specific pltenter and
19027 pltexit members.
19028 * sysdeps/i386/ldsodefs.h: New file.
19029 * sysdeps/powerpc/ldsodefs.h: Likewise.
19030 * sysdeps/s390/ldsodefs.h: Likewise.
19031 * sysdeps/sh/ldsodefs.h: Likewise.
19032 * sysdeps/sparc/ldsodefs.h: Likewise.
19033 * sysdeps/x86_64/ldsodefs.h: Likewise.
19034
354691b7
MP
190352012-07-25 Marek Polacek <polacek@redhat.com>
19036
19037 [BZ #6808]
19038 * math/libm-test.inc (yn_test): Add another test.
19039 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19040 to ERANGE when the result is +-Inf.
19041 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19042 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19043 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19044 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19045
bf9e2071
JM
190462012-07-24 Joseph Myers <joseph@codesourcery.com>
19047
19048 * conform/data/time.h-data (NULL): Use macro-constant. Require
19049 equal to 0.
19050 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
19051 clock_t.
19052 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
19053
57633811
TS
190542012-07-23 Thomas Schwinge <thomas@codesourcery.com>
19055
19056 * configure.in <sysdeps resolving>: Correct printing
19057 Implies_before.
19058 * configure: Regenerate.
19059
c23c33b0
TS
190602012-07-22 Thomas Schwinge <thomas@codesourcery.com>
19061
19062 * math/w_ilogb.c: Include <limits.h>.
19063 * math/w_ilogbl.c: Likewise.
19064
b5982523
JM
190652012-07-20 Joseph Myers <joseph@codesourcery.com>
19066
19067 * manual/lang.texi (__va_copy): Document primarily as ISO C99
19068 va_copy. Document allowing for unavailable va_copy only as
19069 pre-C99 compatibility.
19070 * manual/string.texi (Copying and Concatenation): Use va_copy
19071 instead of __va_copy in concat example.
19072
ac4ea442
PT
190732012-07-20 Pino Toscano <toscano.pino@tiscali.it>
19074
19075 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19076 (__sendto): Use create_address_port. Initialize APORT and deallocate
19077 it if not null.
19078
f98eafbd
PT
19079 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19080 with O_NOLINK passed to __file_name_lookup.
19081
898c7aab
PT
19082 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19083 with O_NOLINK passed to __file_name_lookup.
19084
0ced335a
PT
19085 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19086 negative N or less than NGIDS.
19087
b3404dbd
PT
19088 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19089 type to string_t. Set ERANGE as errno and return it if NAME is not big
19090 enough. Use memcpy instead of strncpy.
19091
0f48659e
JM
190922012-07-20 Joseph Myers <joseph@codesourcery.com>
19093
19094 * elf/Makefile (check-data): Remove.
19095 (localplt.data): New vpath directive.
19096 ($(objpfx)check-localplt.out): Use localplt.data from vpath
19097 instead of $(check-data).
19098 * scripts/data/localplt-generic.data: Move to ...
19099 * sysdeps/generic/localplt.data: ... here.
19100 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19101 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19102 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19104 ... here.
19105 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19107 ... here.
19108 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19109 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19110 ... here.
19111 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19113 ... here.
19114 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19115 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19116 ... here.
19117 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19119 ... here.
19120
d37cbdaa
AZ
191212012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19122
19123 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19124 PPC32 and PPC64 files.
19125 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19126 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19127
46f85fc2
AK
191282012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19129
19130 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19131 __makecontext_ret to ...
19132 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19133 ... here and call exit if uc_link is NULL. New file.
19134 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19135 __makecontext_ret.S.
19136 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19137 __makecontext_ret to ...
19138 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19139 ... here and call exit if uc_link is NULL. New file.
19140 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19141 __makecontext_ret.S.
19142
08f43f9b
AK
191432012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19144
19145 * elf/elf.h (R_390_IRELATIVE): New definition.
19146 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19147 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
19148 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19149 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19150 (elf_machine_lazy_rel): Likewise.
19151 * sysdeps/s390/dl-irel.h: New file.
19152 * sysdeps/s390/s390-64/memcpy.S: New asm code.
19153 * sysdeps/s390/s390-64/memset.S: New asm code.
19154 * sysdeps/s390/s390-64/memcmp.S: New asm code.
19155 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19156 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19157 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19158 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19159 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19160 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19161 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19162 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19163 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19164 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19165 * sysdeps/s390/s390-32/memcpy.S: New asm code.
19166 * sysdeps/s390/s390-32/memset.S: New asm code.
19167 * sysdeps/s390/s390-32/memcmp.S: New asm code.
19168
3b05db33
MP
191692012-07-17 Marek Polacek <polacek@redhat.com>
19170
19171 [BZ #14349]
19172 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19173 * sysdeps/s390/s390-64/configure.in: Likewise.
19174 * sysdeps/sparc/configure.in: Likewise.
19175 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19176 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19177 * sysdeps/i386/configure.in: Likewise.
19178 * sysdeps/x86_64/configure.in: Likewise.
19179 * sysdeps/sh/configure.in: Likewise.
19180 * sysdeps/s390/s390-32/configure: Regenerated.
19181 * sysdeps/s390/s390-64/configure: Likewise.
19182 * sysdeps/x86_64/configure: Likewise.
19183 * sysdeps/sh/configure: Likewise.
19184 * sysdeps/powerpc/powerpc64/configure: Likewise.
19185 * sysdeps/powerpc/powerpc32/configure: Likewise.
19186 * sysdeps/sparc/configure: Likwise.
19187 * sysdeps/i386/configure: Likewise.
19188
a66877c6
MP
19189 * elf/dl-open.c: Comment fixes.
19190
cfc82fd8
JM
191912012-07-17 Joseph Myers <joseph@codesourcery.com>
19192
bd29910a
JM
19193 * Makefile [CXX] (check-data): Remove.
19194 [CXX] (c++-types.data): New vpath directive.
19195 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19196 vpath. Do not allow for C++ type data being missing.
19197 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19198 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19199 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19200 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19201 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19202 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19203 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19205 ... here.
19206 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19208 ... here.
19209 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19211 ... here.
19212 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19213 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19214 ... here.
19215 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19217 ... here.
19218 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19219 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19220 ... here.
19221 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19222 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19223 ... here.
19224 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19225 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19226
cfc82fd8
JM
19227 * elf/tls-macros.h (TLS_LE): Move architecture-specific
19228 definitions to architecture-specific files.
19229 (TLS_IE): Likewise.
19230 (TLS_LD): Likewise.
19231 (TLS_GD): Likewise.
19232 * sysdeps/i386/tls-macros.h: New file.
19233 * sysdeps/powerpc/tls-macros.h: Likewise.
19234 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19235 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19236 * sysdeps/sh/tls-macros.h: Likewise.
19237 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19238 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19239 * sysdeps/x86_64/tls-macros.h: Likewise.
19240
f7db3170
TS
192412012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19242
07cbfc23
TS
19243 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19244 zero value for regular exit case.
19245
f7db3170
TS
19246 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19247 (__start_context): Preserve zero value for regular exit case.
19248
dc97c227
TS
192492012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19250 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19251
19252 * manual/setjmp.texi (setcontext): Clarify normal process
19253 termination when uc_link is the null pointer.
19254 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19255 exit call.
19256
d0cd7d02
AS
192572012-07-16 Andreas Schwab <schwab@linux-m68k.org>
19258
19259 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19260 preprocessor. Test for each exception mask separately.
19261
dd318934
AJ
192622012-07-16 Andreas Jaeger <aj@suse.de>
19263
19264 * po/ru.po: Update from translation team.
19265
8048311a
JM
192662012-07-15 Joseph Myers <joseph@codesourcery.com>
19267
19268 * conform/data/string.h-data (NULL): Use macro-constant. Require
19269 equal to 0.
19270 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19271 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19272 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19273 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19274 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19275
b637d46e
AJ
192762012-07-13 Andreas Jaeger <aj@suse.de>
19277
19278 * po/fr.po: Update from translation team.
19279
541428fe
MP
192802012-07-12 Marek Polacek <polacek@redhat.com>
19281
19282 [BZ #14173]
19283 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19284 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19285 loop condition.
19286
ec332e94
JM
192872012-07-12 Joseph Myers <joseph@codesourcery.com>
19288
19289 [BZ #13717]
19290 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19291 Change to 2.4.1 where previously 2.4.0.
19292 * sysdeps/unix/sysv/linux/configure: Regenerated.
19293 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19294 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19295 version.
19296 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19297 (__ASSUME_AT_CLKTCK): Remove.
19298 (__ASSUME_AT_PAGESIZE): Likewise.
19299 (__ASSUME_AT_XID): Likewise.
19300 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19301 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19302 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19303 unconditionally.
19304 (HAVE_AUX_PAGESIZE): Likewise.
19305 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19306 [__ASSUME_AT_CLKTCK]: Make code unconditional.
19307 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19308
7b6e99be
JB
193092012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
19310
19311 [BZ #14307]
19312 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19313 the temporary buffer used to invoke __gethostbyname2_r,
19314 __gethostbyaddr_r and gethostbyname4_r to make room for struct
19315 host_data / struct gaih_addrtuple.
19316 * resolv/nss_dns/dns-host.c (global scope): Move definition of
19317 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19318 header file nss/nsswitch.h.
19319 * nss/nsswitch.h (global scope): Add definition of implementation
19320 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19321 resolv/nss_dns/dns-host.c).
19322
608404eb
AJ
193232012-07-11 Andreas Jaeger <aj@suse.de>
19324
19325 * po/fr.po: Update from translation team.
19326
71220aca
AJ
19327 * po/sv.po: Update from translation team
19328 * po/fr.po: Another update from translation team.
19329
28cfe843
AZ
193302012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19331
19332 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19333 for subnormals or multiply small sinh result by itself.
19334 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19335 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19336
6b90f981
DM
193372012-07-11 David S. Miller <davem@davemloft.net>
19338
19339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19340
c6825772
AS
193412012-07-10 Andreas Schwab <schwab@linux-m68k.org>
19342
19343 [BZ #14347]
19344 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19345 (INTERNAL_MARK): Shift it here.
19346
7b8e0d49
MP
193472012-07-10 Marek Polacek <polacek@redhat.com>
19348
19349 [BZ #14151]
19350 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
19351 libc_cv_asm_global_directive with .globl.
19352 * configure: Regenerated.
19353 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19354 with .globl.
19355 * sysdeps/i386/configure: Regenerated.
19356 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19357 with .globl.
19358 * sysdeps/x86_64/configure: Regenerated.
19359 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19360 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19361 * elf/tst-unique2mod2.c: Likewise.
19362 * elf/tst-unique2mod1.c: Likewise.
19363 * elf/tst-unique1mod2.c: Likewise.
19364 * elf/tst-unique1mod1.c: Likewise.
19365 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19366 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19367 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19368 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19369 * sysdeps/mach/sysdep.h: Likewise.
19370 * sysdeps/i386/sysdep.h: Likewise.
19371 * sysdeps/i386/i386-mcount.S: Likewise.
19372 * sysdeps/x86_64/_mcount.S: Likewise.
19373 * sysdeps/x86_64/sysdep.h: Likewise.
19374 * sysdeps/sh/_mcount.S: Likewise.
19375 * sysdeps/sh/sysdep.h: Likewise.
19376 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
19377 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
19378 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
19379 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19380 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
19381 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
19382 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
19383 * locale/localeinfo.h: Likewise.
19384 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
19385 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
19386
6c55cda3
RM
193872012-07-09 Roland McGrath <roland@hack.frob.com>
19388
19389 [BZ #14336]
19390 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
19391 system".
19392 * manual/message.texi (The Uniforum approach): Likewise.
19393 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19394 (glibc iconv Implementation): Likewise.
19395
638a572e
JM
193962012-07-09 Joseph Myers <joseph@codesourcery.com>
19397
19398 [BZ #14337]
19399 * math/s_clog.c (__clog): Avoid scaling a value down where that
19400 could result in underflow.
19401 * math/s_clog10.c (__clog10): Likewise.
19402 * math/s_clog10f.c (__clog10f): Likewise.
19403 * math/s_clog10l.c (__clog10l): Likewise.
19404 * math/s_clogf.c (__clogf): Likewise.
19405 * math/s_clogl.c (__clogl): Likewise.
19406 * math/libm-test.inc (clog_test): Add more tests.
19407 (clog10_test): Likewise.
19408 * sysdeps/i386/fpu/libm-test-ulps: Update.
19409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19410
261f4859
AS
194112012-07-06 Andreas Schwab <schwab@linux-m68k.org>
19412
0abaf3e4
AS
19413 [BZ #14283]
19414 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19415 by 7 not 8 to examine high bit of fractional part.
19416
261f4859
AS
19417 [BZ #14042]
19418 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19419 for call to __mcount_internal.
19420 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19421 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19422 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19423
f17ac40d
JM
194242012-07-06 Joseph Myers <joseph@codesourcery.com>
19425
9ad63c23
JM
19426 [BZ #14154]
19427 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19428 approximation for values within 0x1p-13f of an odd multiple of
19429 pi/4.
19430 * math/libm-test.inc (tan_test): Do not allow spurious underflow
19431 exception. Add more tests.
19432 * sysdeps/i386/fpu/libm-test-ulps: Update.
19433
f17ac40d
JM
19434 [BZ #6778]
19435 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19436 inputs and return -1 for them. Do not check for +Inf in case not
19437 reachable for +Inf.
19438 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19439 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19440 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19441 and return -1 for them. Do not check for +Inf in case not
19442 reachable for +Inf.
19443 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19444 define.
19445 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19446 and return -1 for them. Do not check for +Inf in case not
19447 reachable for +Inf.
19448 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
19449 spurious underflow.
19450 * sysdeps/i386/fpu/libm-test-ulps: Update.
19451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19452
fb21f89b
MF
194532012-07-06 Mike Frysinger <vapier@gentoo.org>
19454
19455 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19456
cdfe2c5e
JM
194572012-07-05 Joseph Myers <joseph@codesourcery.com>
19458
19459 [BZ #14157]
19460 [BZ #14331]
19461 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19462 could result in spurious underflow. Scale down values above
19463 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19464 * math/s_csqrtf.c (__csqrtf): Likewise.
19465 * math/s_csqrtl.c (__csqrtl): Likewise.
19466 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
19467 spurious underflow.
19468 * sysdeps/i386/fpu/libm-test-ulps: Update.
19469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19470
70d35b67
AS
194712012-07-04 Andreas Schwab <schwab@linux-m68k.org>
19472
704bc459
AS
19473 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19474 xopen-msg.sed.
19475 * catgets/xopen-msg.awk: New file.
19476 * catgets/xopen-msg.sed: Removed.
19477
70d35b67
AS
19478 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19479 po2text.sed.
19480 * intl/po2test.awk: New file.
19481 * intl/po2test.sed: Removed.
19482
ca61cf32
JM
194832012-07-04 Joseph Myers <joseph@codesourcery.com>
19484
19485 [BZ #14328]
19486 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19487 or multiply small sinh result by itself.
19488 * math/s_ctanf.c (__ctanf): Likewise.
19489 * math/s_ctanh.c (__ctanh): Likewise.
19490 * math/s_ctanhf.c (__ctanhf): Likewise.
19491 * math/s_ctanhl.c (__ctanhl): Likewise.
19492 * math/s_ctanl.c (__ctanl): Likewise.
19493 * math/libm-test.inc (ctan_test_tonearest): New function.
19494 (ctan_test_towardzero): Likewise.
19495 (ctan_test_downward): Likewise.
19496 (ctan_test_upward): Likewise.
19497 (ctanh_test_tonearest): Likewise.
19498 (ctanh_test_towardzero): Likewise.
19499 (ctanh_test_downward): Likewise.
19500 (ctanh_test_upward): Likewise.
19501 (main): Call these new functions.
19502 * sysdeps/i386/fpu/libm-test-ulps: Update.
19503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19504
ca48a46a
MF
195052012-07-03 Mike Frysinger <vapier@gentoo.org>
19506
19507 * .gitignore: Delete /ports entry.
19508
9d63d37d
AJ
195092012-07-03 Andreas Jaeger <aj@suse.de>
19510
19511 * po/bg.po: Update from translation team.
19512 * po/cs.po: Likewise.
19513 * po/de.po: Likewise.
19514 * po/hr.po: Likewise.
19515 * po/nl.pl: Likewise.
19516 * po/pl.po: Likewise.
19517 * po/vi.po: Likewise.
19518
370ca3d2
JM
195192012-07-03 Joseph Myers <joseph@codesourcery.com>
19520
95f5a9a8
JM
19521 * Makeconfig [!+link] (+link-before-libc): New variable.
19522 [!+link] (+link-after-libc): Likewise.
19523 [!+link] (+link-tests): Likewise.
19524 [!+link] (+link): Define in terms of $(+link-before-libc) and
19525 $(+link-after-libc).
19526 [!+link-static] (+link-static-before-libc): New variable.
19527 [!+link-static] (+link-static-after-libc): Likewise.
19528 [!+link-static] (+link-static-tests): Likewise.
19529 [!+link-static] (+link-static): Define in terms of
19530 $(+link-static-before-libc) and $(+link-static-after-libc).
19531 [build-shared] (link-libc-before-gnulib): New variable.
19532 [build-shared] (link-libc-tests): Likewise.
19533 [build-shared] (link-libc): Define in terms of
19534 $(link-libc-before-gnulib).
19535 [!build-shared] (link-libc-tests): New variable.
19536 (link-libc-static-tests): New variable.
19537 [!gnulib] (gnulib-arch): New variable.
19538 [!gnulib] (gnulib-tests): Likewise.
19539 [!gnulib] (static-gnulib-arch): Likewise.
19540 [!gnulib] (static-gnulib-tests): Likewise.
19541 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19542 Define with "=" instead of ":=".
19543 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19544 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19545 * Rules (binaries-all-notests): New variable.
19546 (binaries-all-tests): Likewise.
19547 (binaries-static-notests): Likewise.
19548 (binaries-static-tests): Likewise.
19549 (binaries-all): Define using $(binaries-all-notests) and
19550 $(binaries-all-tests).
19551 (binaries-static): Define using $(binaries-static-notests) and
19552 $(binaries-static-tests).
19553 (binaries-shared-tests): New variable.
19554 (binaries-shared-notests): Likewise.
19555 (binaries-shared): Remove variable.
19556 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19557 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19558 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19559 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19560 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19561 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19562 * elf/Makefile (sln-modules): New variable.
19563 (extra-objs): Add $(sln-modules:=.o).
19564 (ldconfig-modules): Add static-stubs.
19565 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19566 * elf/static-stubs.c: New file.
19567
7a845b2c
JM
19568 [BZ #14283]
19569 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19570 by 7 not 8 to examine high bit of fractional part. Use volatile
19571 variables when splitting into final array of floats if
19572 __FLT_EVAL_METHOD__ != 0.
19573 * math/libm-test.inc (cos_test): Add another test.
19574 (sin_test): Likewise.
19575 * sysdeps/i386/fpu/libm-test-ulps: Update.
19576
e2283f38
JM
19577 [BZ #14273]
19578 * math/libm-test.inc (cosh_test): Add more tests.
19579
370ca3d2
JM
19580 * version.h (RELEASE): Set to "development".
19581 (VERSION): Set to "2.16.90".
19582
ee9247c3
CD
195832012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19584
19585 * NEWS: Update copyright. Remove last-updated date.
19586 Mention math library bug fixes and timezone data changes.
19587 * README: Mention GNU/Hurd, x32, and HPPA support status.
19588
4648c381
TS
195892012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19590
19591 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19592
aac78a43
AJ
195932012-06-27 Andreas Jaeger <aj@suse.de>
19594
19595 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19596
ed3dbfad
AJ
195972012-06-25 Andreas Jaeger <aj@suse.de>
19598
19599 * sysdeps/s390/fpu/libm-test-ulps: Update.
19600
4d0ee855
AS
196012012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19602 Thomas Schwinge <thomas@codesourcery.com>
19603
19604 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19605 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19606 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19607 fanotify_mark.
19608
af1bce34
TS
196092012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19610
a9fa33ba
TS
19611 * sysdeps/mach/start.c: Remove file.
19612 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19613 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19614 * sysdeps/sh/init-first.c: Likewise.
19615
58f902b8
TS
19616 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19617 registers for frame unwinding purposes, add CFI directives.
19618 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19619 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19620 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19621 Likewise.
19622
1518f58b
TS
19623 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19624 __fortify_fail returning.
19625 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19626
db9b5059
TS
19627 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19628 sysdeps/sh/____longjmp_chk.S.
19629 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19630 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19631 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19632 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19633
967705fe
TS
19634 * sysdeps/sh/abort-instr.h: New file.
19635 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19636 process in case exit returns.
19637
a9def8c4
TS
19638 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19639 initialize the GOT register before use.
19640
2a649725
TS
19641 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19642 calculation of ARGC > 4.
19643
af1bce34
TS
19644 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19645 meaningful names to some local labels.
19646
d230f50a
KK
196472012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19648 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19649
19650 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19651 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19652 (__arch_compare_and_exchange_val_16_acq): Likewise.
19653 (__arch_compare_and_exchange_val_32_acq): Likewise.
19654 (atomic_exchange_and_add): Fix gUSA sequence.
19655 (atomic_add): Likewise.
19656 (atomic_add_negative): Likewise.
19657 (atomic_add_zero): Likewise.
19658 (atomic_bit_test_set): Likewise.
19659
0479b305
AS
196602012-06-22 Andreas Schwab <schwab@redhat.com>
19661
19662 [BZ #13579]
19663 * include/link.h (struct link_map): Add l_free_initfini.
19664 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19665 l_initfini.
19666 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19667 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19668 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19669 set.
19670
0e3933b9
CD
196712012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19672
19673 * configure.in: Use AC_LANG_SOURCE.
19674 * configure: Regenerate.
19675
4248b1b1
RM
196762012-06-22 Roland McGrath <roland@hack.frob.com>
19677
19678 * configure.in (libc_cv_localstatedir): New substituted variable.
19679 * configure: Regenerated.
19680 * config.make.in (localstatedir): New variable, substituted from
19681 libc_cv_localstatedir.
19682 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19683 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19684 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19685 * sysdeps/gnu/configure: Regenerated.
19686
006dd861
JL
196872012-06-21 Jeff Law <law@redhat.com>
19688
19689 [BZ #14277]
19690 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19691 free. Simplify list management for _LIBC case.
19692
79662d42
JM
196932012-06-21 Joseph Myers <joseph@codesourcery.com>
19694
b7abb4bf
JM
19695 [BZ #14273]
19696 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19697 Clear sign bit of 64-bit integer value before comparing against
19698 overflow value.
19699
79662d42
JM
19700 * sysdeps/mach/configure: Regenerated.
19701
1f150908
L
197022012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19703
19704 [BZ #14278]
19705 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19706
28363bbf
JL
197072012-06-21 Jeff Law <law@redhat.com>
19708
19709 [BZ #13882]
19710 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19711 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 19712 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
19713 * elf/dl-open.c (dl_open_worker): Likewise.
19714
09615db4
CD
197152012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19716
19717 * scripts/list-sources.sh: Scan PORTS for translations.
19718 * po/libc.pot: Regenerated.
19719
2174c6dd
AJ
197202012-06-21 Andreas Jaeger <aj@suse.de>
19721
19722 [BZ #12194]
19723 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19724 warning.
19725 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19726 * bits/byteswap-16.h (__bswap_16): Likewise.
19727 * bits/byteswap.h (__bswap_constant_16): Likewise.
19728
3ee947b1
L
197292012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19730
19731 [BZ #14117]
a2f34833
L
19732 * sysdeps/i386/fpu_control.h: Removed.
19733 * sysdeps/x86_64/fpu_control.h: Moved to ...
19734 * sysdeps/x86/fpu_control.h: Here.
19735
3ee947b1
L
19736 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19737 (_FPU_SETCW): Likewise.
19738
ed1825f8
L
197392012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19740
25f1282a
L
19741 [BZ #14117]
19742 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19743 * sysdeps/x86/fpu/bits/mathinline.h: This.
19744 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19745
ed1825f8
L
19746 [BZ #14050]
19747 [BZ #14117]
19748 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19749 functions if __x86_64__ is defined.
19750
36d54b74
CLT
197512012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19752
19753 * string/endian.h: Add !__ASSEMBLER__ condition for including
19754 conversion interfaces.
19755
10285c21
JM
197562012-06-15 Joseph Myers <joseph@codesourcery.com>
19757
19758 [BZ #14241]
19759 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19760 of ABS(x) in calculating zero to negative powers other than odd
19761 integers.
19762 * math/libm-test.inc (pow_test): Add more tests.
19763
06c5abbd
AJ
197642012-06-15 Andreas Jaeger <aj@suse.de>
19765
19766 * manual/contrib.texi (Contributors): Update entry of Liubov
19767 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19768 Machado Filho.
19769
a3aeac40
CH
197702012-06-15 Cyril Hrubis <metan@ucw.cz>
19771
19772 * string/string.h: Add __wur to GNU version of strerror_r.
19773
49bdf4c1
L
197742012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19775
19776 [BZ #14229]
19777 * string/Makefile (tests): Add tst-strtok_r.
19778 * string/tst-strtok_r.c: New file.
19779 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19780 RAX_LP/RDX_LP on SAVE_PTR.
19781
834f9b8d
RM
197822012-06-14 Roland McGrath <roland@hack.frob.com>
19783
19784 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19785
75fa1921
JM
197862012-06-14 Joseph Myers <joseph@codesourcery.com>
19787
19788 * libm_test.inc (csqrt_test): Allow more spurious underflow
19789 exceptions.
19790 (j0_test): Likewise.
19791 (j1_test): Likewise.
19792 (y0_test): Likewise.
19793 (y1_test): Likewise.
19794
771766df
CD
197952012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19796
19797 * po/Makefile (libc.pot): Use UTF-8 charset.
19798
ceb9e56b
PP
197992012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19800
19801 [BZ #14210]
19802 Suppress sign-conversion warning from FD_SET.
19803 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19804 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19805 not unsigned long int.
19806 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19807
ddb28975
L
198082012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19809
19810 [BZ #14050]
19811 [BZ #14117]
19812 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19813 __extern_always_inline instead of __extern_inline.
19814 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19815 (__signbit): Likewise.
19816 (__signbitl): Support C++ namespace.
19817 (lrintf): New inline function.
19818 (lrint): Likewise.
19819 (llrintf): Likewise.
19820 (llrint): Likewise.
19821 (fmaxf): Likewise.
19822 (fmax): Likewise.
19823 (fminf): Likewise.
19824 (fmin): Likewise.
19825 (rint): Likewise.
19826 (rintf): Likewise.
19827 (ceil): Likewise.
19828 (ceilf): Likewise.
19829 (floor): Likewise.
19830 (floorf): Likewise.
19831 (nearbyint): Likewise.
19832 (nearbyintf): Likewise.
19833
d7b4fb26
TS
198342012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19835
19836 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19837 non-default versions.
19838
eb55f5c2
RM
198392012-06-11 Roland McGrath <roland@hack.frob.com>
19840
19841 [BZ #14218]
19842 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19843
366af02c
TS
198442012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19845
99ff6e5c
TS
19846 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19847 (FE_UPWARD, FE_DOWNWARD): Don't define.
19848 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19849 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19850
366af02c
TS
19851 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19852 reading it.
19853 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19854 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19855
793ea851
KK
198562012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19857
19858 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19859 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19860 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19861 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19862
a728a38f
L
198632012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19864
19865 [BZ #14117]
c08010c7
L
19866 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19867 * sysdeps/i386/fpu/Implies: New file.
19868 * sysdeps/x86_64/fpu/Implies: Likewise.
19869 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19870 * sysdeps/x86/fpu/bits/fenv.h: This.
19871
a728a38f
L
19872 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19873 __SSE_MATH__.
19874
6e230d11
SP
198752012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19876
19877 [BZ #14134]
19878 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19879 character 0xffff that matches the last element of the
19880 conversion table.
19881
1b671feb
AZ
198822012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19883
19884 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19885 fmodl commit.
19886
6043738b
AZ
198872012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19888
19889 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19890 values higher than 25.6283.
19891
34ae0b32
AZ
198922012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19893
19894 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19895 subnormal exponent extraction and add some __builtin_expect.
19896 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19897 Fix for subnormal mantissa calculation.
19898
1214ec8f
MF
198992012-06-04 Mike Frysinger <vapier@gentoo.org>
19900
19901 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19902 cpu2 is -1 and errno is not ENOSYS.
19903
f3d1f93c
L
199042012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19905
19906 [BZ #14117]
0e4a3cd7
L
19907 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19908 * sysdeps/x86/bits/string.h: This.
19909 * sysdeps/x86_64/bits/string.h: Removed.
19910
6704c645
L
19911 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19912 if not compiling for x86-64, but compiling for >= i486.
19913
48495318
L
19914 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19915 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19916
14adcbfc
L
19917 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19918 New macro from Linux kernel 3.4.0.
19919 (FP_XSTATE_MAGIC2): Likewise.
19920 (FP_XSTATE_MAGIC2_SIZE): Likewise.
19921 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19922 (struct _fpx_sw_bytes): New struct.
19923 (struct _xsave_hdr): Likewise.
19924 (struct _ymmh_state): Likewise.
19925 (struct _xstate): Likewise.
19926
68e408ab
L
19927 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19928 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19929 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19930 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19931 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19932 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19933
f3d1f93c
L
19934 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19935 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19936 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19937 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19938 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19939 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19940
d9dc34cd
TMQMF
199412012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19942
19943 [BZ #13743]
19944 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19945 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19946 (sysdep_headers): Include sys/platform/ppc.h.
19947 * sysdeps/powerpc/test-gettimebase.c: Test for
19948 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19949 * manual/Makefile (appendices): Include platform.texi.
19950 * manual/contrib.texi (Contributors): Update @node pointers.
19951 * manual/maint.texi (Maintenance): Likewise.
19952 (Platform): New node.
19953 * manual/platform.texi: New file. Document the new features.
19954
4af3879c
SP
199552012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19956 Jakub Jelinek <jakub@redhat.com>
19957
19958 [BZ #14188]
19959 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19960 where __builtin_expect is unavailable.
19961
2fd6ff13
DM
199622012-06-03 David S. Miller <davem@davemloft.net>
19963
19964 * stdlib/longlong.h: Updated from GCC.
19965
173f7220
AS
199662012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19967
19968 [BZ #14042]
19969 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19970 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19971 __mcount_internal.
19972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19973 (GLIBC_2.16): Likewise.
19974
f34a1c6f
L
199752012-06-01 H.J. Lu <hongjiu.lu@intel.com>
19976
19977 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
19978
88a4576f
JM
199792012-06-01 Joseph Myers <joseph@codesourcery.com>
19980
ea32bcdd
JM
19981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
19982 (default-abi): New variable.
19983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
19984 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
19985 variable.
19986 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
19987 Likewise.
19988 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
19989 Likewise.
19990 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
19991 Likewise.
19992
88a4576f
JM
19993 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
19994 definition. Document in comment.
19995
402fe938
DM
199962012-06-01 David S. Miller <davem@davemloft.net>
19997
19998 * stdlib/longlong.h: Updated from GCC.
19999
3553723f
L
200002012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20001
20002 [BZ #14117]
3bd872c4
L
20003 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20004 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20005 sys/debugreg.h sys/io.h here.
20006 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20007 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20008 sys/io.h.
20009 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20010 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20011 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20012 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20013 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20014 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20015
3553723f
L
20016 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20017 Define only if __x86_64__ is defined.
20018
4842e4fe
JM
200192012-06-01 Joseph Myers <joseph@codesourcery.com>
20020
c5bfe3d5
JM
20021 [BZ #14048]
20022 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20023 Use int64_t for variable i.
20024 * math/libm-test.inc (fmod_test): Add more tests.
20025
4842e4fe
JM
20026 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20027 z computation is not scheduled after fetestexcept.
20028 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20029 Use math_force_eval instead of asm to ensure calculation scheduled
20030 before exception test.
20031 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20032 Ensure a1 + u.d computation is not scheduled after fetestexcept.
20033
efb73488
AJ
200342012-06-01 Aurelien Jarno <aurelien@aurel32.net>
20035
20036 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20037 computation is not scheduled after fetestexcept.
20038
29bcce7c
L
200392012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20040
20041 [BZ #14117]
20042 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20043 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20044
73a68f94
AZ
200452012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20046
20047 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20048 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20049
67b6df78
L
200502012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20051
edf2933a 20052 [BZ #14117]
ebc64a18
L
20053 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20054 <bits/wordsize.h>.
20055 (__WCHAR_MIN): Support __WORDSIZE == 64.
20056 (__WCHAR_MAX): Likewise.
20057
edf2933a
L
20058 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20059 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20060
57c6cf40
L
20061 [BZ #14183]
20062 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20063 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20064
67b6df78 20065 [BZ #14117]
8eb6281e
L
20066 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20067 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20068
aac639f4
L
20069 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20070 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20071
67b6df78
L
20072 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20073 Defined to 1 if __x86_64__ isn't defined.
20074 (_STAT_VER_LINUX_OLD): New.
20075 (st_atime): Remove duplicate.
20076 (st_mtime): Likewise.
20077 (st_ctime): Likewise.
20078
1c2cfe81
DM
200792012-05-31 David S. Miller <davem@davemloft.net>
20080
20081 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20082 entries.
20083
5be8418c
AS
200842012-06-01 Andreas Schwab <schwab@linux-m68k.org>
20085
e7725326
AS
20086 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20087 gen-libm-test.pl.
20088
5be8418c
AS
20089 [BZ #14132]
20090 * elf/dl-reloc.c: Include <_itoa.h>.
20091 (_dl_reloc_bad_type): Remove use of INTUSE.
20092 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20093 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20094 * stdio-common/psiginfo.c (psiginfo): Likewise.
20095 * stdio-common/psignal.c (psignal): Likewise.
20096 * string/strsignal.c (strsignal): Likewise.
20097 * include/signal.h (_sys_siglist): Declare hidden proto.
20098 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
20099 INTVARDEF with libc_hidden_data_def.
20100 * stdio-common/itoa-udigits.c: Likewise.
20101 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20102 (_itoa_lower_digits_internal): Remove declaration.
20103 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20104 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20105 (_sys_sigabbrev_internal): Remove aliases.
20106 (_sys_siglist): Define hidden alias.
20107
507352f1
MT
201082012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
20109
20110 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20111 bits/sysctl.h.
20112
42bbb1c3
L
201132012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20114
20115 [BZ #14117]
6bd784b6
L
20116 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20117 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20118
8bca20f0
L
20119 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20120 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20121 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20122 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20123 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20124 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20125
f9e890a9
L
20126 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20127 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20128 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20129
471101a1
L
20130 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20131 with __addr.
20132 (insw): Likewise.
20133 (insl): Likewise.
20134 (outsb): Likewise.
20135 (outsw): Likewise.
20136 (outsl): Likewise.
20137
6451c862
L
20138 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20139 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20140 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20141
a254b8c9
L
20142 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20143 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20144 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20145 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20146 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20147 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20148
b8dfdd92
L
20149 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20150 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20151
578cd270
L
20152 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20153 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20154
de662f5f
L
20155 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20156 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20157 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20158
25653439
L
20159 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20160 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20161 to ...
20162 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20163
6bad24a0
L
20164 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20165 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20166 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20167
42bbb1c3
L
20168 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20169 for x86-64.
20170 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20171
2d10d547
JM
201722012-05-31 Joseph Myers <joseph@codesourcery.com>
20173
20174 * math/math.h (M_El): Use two more decimal places.
20175 (M_LOG2El): Likewise.
20176 (M_LOG10El): Likewise.
20177 (M_LN2l): Likewise.
20178 (M_LN10l): Likewise.
20179 (M_PIl): Likewise.
20180 (M_PI_2l): Likewise.
20181 (M_PI_4l): Likewise.
20182 (M_1_PIl): Likewise.
20183 (M_2_PIl): Likewise.
20184 (M_2_SQRTPIl): Likewise.
20185 (M_SQRT2l): Likewise.
20186 (M_SQRT1_2l): Likewise.
20187
f230c29b
DM
201882012-05-31 David S. Miller <davem@davemloft.net>
20189
20190 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20191 values between float registers.
20192 * sysdeps/sparc/sparc64/memset.S: Likewise.
20193 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20194
fed806c3
MF
201952012-05-31 Mike Frysinger <vapier@gentoo.org>
20196
20197 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20198 -D_FORTIFY_SOURCE=1.
20199 (CPPFLAGS-tst-longjmp_chk.c): Define.
20200 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20201 (CPPFLAGS-tst-longjmp_chk2.c): Define.
20202 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20203 CFLAGS-tst-wchar-h.c.
20204
30917259
MP
202052012-05-31 Marek Polacek <polacek@redhat.com>
20206
20207 [BZ #14132]
20208 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20209 __endmntent_internal): Remove declaration.
20210 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20211 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20212 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20213
1c58d5dc
DM
202142012-05-30 David S. Miller <davem@davemloft.net>
20215
20216 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20217 (___Q_simulate_exceptions): Use real FP ops rather than writing
20218 into the %fsr.
20219 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20220 Likewise.
20221
7dc00e0d
L
202222012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20223
20224 [BZ #14117]
0bd53985
L
20225 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20226 * sysdeps/x86/bits/xtitypes.h: This.
20227
3a257e66
L
20228 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20229 * sysdeps/x86/bits/wordsize.h: This.
20230
62f62904
L
20231 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20232 * sysdeps/x86/bits/huge_vall.h: This.
20233
404fe9d9
L
20234 * sysdeps/i386/bits/select.h: Removed.
20235 * sysdeps/x86_64/bits/select.h: Renamed to ...
20236 * sysdeps/x86/bits/select.h: This.
20237
d48d0446
L
20238 * sysdeps/i386/bits/setjmp.h: Removed.
20239 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20240 * sysdeps/x86/bits/setjmp.h: This.
20241
7dc00e0d
L
20242 * sysdeps/i386/bits/mathdef.h: Removed.
20243 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20244 * sysdeps/x86/bits/mathdef.h: This.
20245
03277f8f
AS
202462012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20247
20248 [BZ #14132]
20249 * include/sys/socket.h (__connect_internal)
20250 (__libc_sa_len_internal): Remove declaration.
20251 (__connect, __libc_sa_len): Declare hidden_proto.
20252 (SA_LEN): Remove use of INTUSE.
20253 * socket/connect.c: Add libc_hidden_def.
20254 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20255 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20256 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20257 alias.
20258 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20259 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20260 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20261 of adding _internal alias.
20262
13764867
L
202632012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20264
20265 [BZ #14117]
6bd97696
L
20266 * sysdeps/i386/bits/link.h: Removed.
20267 * sysdeps/i386/bits/linkmap.h: Likewise.
20268 * sysdeps/x86_64/bits/link.h: Renamed to ...
20269 * sysdeps/x86/bits/link.h: This.
20270 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20271 * sysdeps/x86/bits/linkmap.h: This.
20272
f726f0bb
L
20273 * sysdeps/i386/bits/endian.h: Removed.
20274 * sysdeps/x86_64/bits/endian.h: Renamed to ...
20275 * sysdeps/x86/bits/endian.h: This.
20276
13764867
L
20277 * sysdeps/i386/bits/byteswap.h: Removed.
20278 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20279 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20280 * sysdeps/x86/bits/byteswap.h: This.
20281 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20282 * sysdeps/x86/bits/byteswap-16.h: This.
20283 * sysdeps/i386/Implies: Add x86.
20284 * sysdeps/x86_64/Implies: Likewise.
20285
ae251b0b
DM
202862012-05-30 David S. Miller <davem@davemloft.net>
20287
20288 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20289 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20290 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20291 (FP_TRAPPING_EXCEPTIONS): Define.
20292 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20293 (FP_TRAPPING_EXCEPTIONS): Define.
20294 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20295 subnormals only when inexact has been signalled or underflow
20296 exceptions are enabled.
20297 (_FP_PACK_CANONICAL): Likewise.
20298
d5c90867
L
202992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20300
20301 [BZ #14183]
20302 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20303 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20304
63f1549e
RH
203052012-05-30 Richard Henderson <rth@twiddle.net>
20306
8d8f2279
RH
20307 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20308 with #ifndef NOT_IN_libc.
20309
63f1549e
RH
20310 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
20311 marked to avoid plt entry.
20312
0ab0291b
L
203132012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20314
20315 [BZ #14112]
20316 * Makeconfig (default-abi): New macro.
20317 (abi-includes): Likewise.
20318 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
20319 $(abi-$(default-abi)-lib-soname) for soname if defined.
20320 ($(common-objpfx)gnu/lib-names.stmp): Generate from
20321 abi-variants.
20322 * Makefile (installed-stubs): Likewise.
20323 * include/stubs-biarch.h: Removed.
20324 * scripts/lib-names.awk: Only handle one library at a time.
20325 * scripts/soversions.awk: Remove WORDSIZE support.
20326 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20327 entries.
20328 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20329 Removed.
20330 (syscall-list-default-condition): Likewise.
20331 (syscall-list-default-condition): Likewise.
20332 (syscall-list-includes): Likewise.
20333 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20334 syscall-list-* with abi-*. Handle undefined abi-variants.
20335 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20336 * sysdeps/unix/sysv/linux/i386/Implies: New file.
20337 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20338 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20339 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20340 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20341 Removed.
20342 (syscall-list-32-options): Likewise.
20343 (syscall-list-32-condition): Likewise.
20344 (syscall-list-64-options): Likewise.
20345 (syscall-list-64-condition): Likewise.
20346 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20347 macro.
20348 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20349 Renamed to ...
20350 (abi-*): This.
20351 (abi-64-ld-soname): New macro.
20352 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20353 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20354 Renamed to ...
20355 (abi-*): This.
20356 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20357 * sysdeps/x86_64/x32/shlib-versions: Likewise.
20358
4da0431d
JM
203592012-05-30 Joseph Myers <joseph@codesourcery.com>
20360
3a85279c
JM
20361 * sysdeps/unix/sysv/linux/kernel-features.h
20362 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20363 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20364 include <kernel-features.h>.
20365 [!__NR_ftruncate64]: Remove conditional code.
20366 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20367 [__NR_ftruncate64]: Make code unconditional.
20368 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20369 * sysdeps/unix/sysv/linux/truncate64.c: Do not
20370 include <kernel-features.h>.
20371 [!__NR_ftruncate64]: Remove conditional code.
20372 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20373 [__NR_ftruncate64]: Make code unconditional.
20374 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
20376 include <kernel-features.h>.
20377 [!__NR_ftruncate64]: Remove conditional code.
20378 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20379 [__NR_ftruncate64]: Make code unconditional.
20380 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20382 include <kernel-features.h>.
20383 [!__NR_ftruncate64]: Remove conditional code.
20384 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20385 [__NR_ftruncate64]: Make code unconditional.
20386 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20387
4da0431d
JM
20388 * configure.in (libc_cv_fpie): Weaken to a compile test using
20389 LIBC_TRY_CC_OPTION.
20390 * configure: Regenerated.
20391
11ef492c
AK
203922012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20393
20394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
20395 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20398 Refreshed.
20399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20400 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20402 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20404 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20405 Refreshed.
20406
d66ef399
DM
204072012-05-27 David S. Miller <davem@davemloft.net>
20408
20409 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20410 (___Q_zero): New.
20411 (__Q_simulate_exceptions): Return void. Change to simulate
20412 exceptions by writing into the %fsr.
20413 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20414 (__Qp_handle_exceptions): Likewise.
20415 (numbers): Delete.
20416 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20417 __Qp_handle_exceptions.
20418 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20419 __Qp_handle_exceptions.
20420 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20421 as unused and give dummy FP_RND_NEAREST initializer.
20422 (FP_INHIBIT_RESULTS): Define.
20423 (___Q_simulate_exceptions): Update declaration.
20424 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20425 formatting.
20426 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20427 as unused and give dummy FP_RND_NEAREST initializer.
20428 (__Qp_handle_exceptions): Update declaration.
20429 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20430 formatting.
20431
04fb54b5
TS
204322012-05-27 Thomas Schwinge <thomas@codesourcery.com>
20433
20434 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20435 the temporary FPU control word.
20436 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20437 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20438 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20439 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20440 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20441 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20442 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20443 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20444 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20445 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20446 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20447
3f99608f
KK
204482012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20449
20450 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20451 fields.
20452
65a4de4e
CLT
204532012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
20454
20455 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20456 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20457 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20458 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20459 Likewise.
20460 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20461 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20462 Likewise.
20463
15749d40
UD
204642012-05-27 Ulrich Drepper <drepper@gmail.com>
20465
20466 * po/h.po: Update from translation team.
20467
25dbcb27
AS
204682012-05-26 Andreas Schwab <schwab@linux-m68k.org>
20469
3d3f8e55
AS
20470 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20471
25dbcb27
AS
20472 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20473 handling of denormals.
20474 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20475 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20476 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20477 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20478 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20479 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20480 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20481 Likewise.
20482
7ad47a80 204832012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
20484
20485 [BZ #14152]
20486 * math/libm-test.inc (fma_test): Don't always expect underflow
20487 exception.
20488
9c6ea9fa
SP
204892012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20490
20491 [BZ #12416]
20492 * elf/tst-execstack.c: Include stackinfo.h.
20493 (do_test): Adjust test case to ensure that pthread_getattr_np
20494 behaviour remains the same after marking stack executable.
20495
a8239222
JM
204962012-05-25 Joseph Myers <joseph@codesourcery.com>
20497
20498 * sysdeps/unix/sysv/linux/kernel-features.h
20499 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20500 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20501 kernel-features.h.
20502 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20503 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20504 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20505 kernel-features.h.
20506 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20507 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20508
918b5606
L
205092012-05-25 H.J. Lu <hongjiu.lu@intel.com>
20510
20511 * configure.in: Define the default includes to being none.
20512 * configure: Regenerated.
20513
3a097cc7
RM
205142012-05-25 Roland McGrath <roland@hack.frob.com>
20515
8422c9a5
RM
20516 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20517 * sysdeps/x86_64/setjmp.S: Likewise.
20518 * sysdeps/i386/bsd-setjmp.S: Likewise.
20519 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20520 * sysdeps/i386/setjmp.S: Likewise.
20521 * sysdeps/i386/__longjmp.S: Likewise.
20522 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20523 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20524
3a097cc7
RM
20525 * include/stap-probe.h: New file.
20526 * configure.in: Handle --enable-systemtap.
20527 * configure: Regenerated.
20528 * config.h.in (USE_STAP_PROBE): New #undef.
20529 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20530 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20531 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20532
21708942
JM
205332012-05-25 Joseph Myers <joseph@codesourcery.com>
20534
20535 [BZ #13717]
20536 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20537 to 2.4.0 where earlier.
20538 * sysdeps/unix/sysv/linux/configure: Regenerated.
20539 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20540 <kernel-features.h>.
20541 [__ASSUME_32BITUIDS]: Make code unconditional.
20542 [!__ASSUME_32BITUIDS]: Remove conditional code.
20543 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20544 <kernel-features.h>.
20545 [__ASSUME_32BITUIDS]: Make code unconditional.
20546 [!__ASSUME_32BITUIDS]: Remove conditional code.
20547 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20548 [__ASSUME_32BITUIDS]: Make code unconditional.
20549 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20550 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20551 <kernel-features.h>.
20552 [__ASSUME_32BITUIDS]: Make code unconditional.
20553 [!__ASSUME_32BITUIDS]: Remove conditional code.
20554 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
20555 <kernel-features.h>.
20556 [__ASSUME_32BITUIDS]: Make code unconditional.
20557 [!__ASSUME_32BITUIDS]: Remove conditional code.
20558 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
20559 <kernel-features.h>.
20560 [__ASSUME_32BITUIDS]: Make code unconditional.
20561 [!__ASSUME_32BITUIDS]: Remove conditional code.
20562 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20563 <kernel-features.h>.
20564 [__ASSUME_32BITUIDS]: Make code unconditional.
20565 [!__ASSUME_32BITUIDS]: Remove conditional code.
20566 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20567 <kernel-features.h>.
20568 [__ASSUME_32BITUIDS]: Make code unconditional.
20569 [!__ASSUME_32BITUIDS]: Remove conditional code.
20570 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20571 <kernel-features.h>.
20572 [__ASSUME_32BITUIDS]: Make code unconditional.
20573 [!__ASSUME_32BITUIDS]: Remove conditional code.
20574 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20575 <kernel-features.h>.
20576 [__ASSUME_32BITUIDS]: Make code unconditional.
20577 [!__ASSUME_32BITUIDS]: Remove conditional code.
20578 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20579 <kernel-features.h>.
20580 [__ASSUME_32BITUIDS]: Make code unconditional.
20581 [!__ASSUME_32BITUIDS]: Remove conditional code.
20582 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20583 <kernel-features.h>.
20584 [__ASSUME_32BITUIDS]: Make code unconditional.
20585 [!__ASSUME_32BITUIDS]: Remove conditional code.
20586 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20587 <kernel-features.h>.
20588 [__ASSUME_32BITUIDS]: Make code unconditional.
20589 [!__ASSUME_32BITUIDS]: Remove conditional code.
20590 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20591 <kernel-features.h>.
20592 [__NR_setresgid] (__setresgid): Do not declare.
20593 [__ASSUME_32BITUIDS]: Make code unconditional.
20594 [!__ASSUME_32BITUIDS]: Remove conditional code.
20595 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20596 <kernel-features.h>.
20597 [__NR_setresuid] (__setresuid): Do not declare.
20598 [__ASSUME_32BITUIDS]: Make code unconditional.
20599 [!__ASSUME_32BITUIDS]: Remove conditional code.
20600 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20601 <kernel-features.h>.
20602 [__ASSUME_32BITUIDS]: Make code unconditional.
20603 [!__ASSUME_32BITUIDS]: Remove conditional code.
20604 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20605 <kernel-features.h>.
20606 [__ASSUME_32BITUIDS]: Make code unconditional.
20607 [!__ASSUME_32BITUIDS]: Remove conditional code.
20608 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20609 <kernel-features.h>.
20610 [__ASSUME_32BITUIDS]: Make code unconditional.
20611 [!__ASSUME_32BITUIDS]: Remove conditional code.
20612 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20613 <kernel-features.h>.
20614 [__ASSUME_32BITUIDS]: Make code unconditional.
20615 [!__ASSUME_32BITUIDS]: Remove conditional code.
20616 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20617 <kernel-features.h>.
20618 [__ASSUME_32BITUIDS]: Make code unconditional.
20619 [!__ASSUME_32BITUIDS]: Remove conditional code.
20620 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20621 <kernel-features.h>.
20622 [__ASSUME_32BITUIDS]: Make code unconditional.
20623 [!__ASSUME_32BITUIDS]: Remove conditional code.
20624 * sysdeps/unix/sysv/linux/i386/setresuid.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/i386/setreuid.c: Do not include
20629 <kernel-features.h>.
20630 [__ASSUME_32BITUIDS]: Make code unconditional.
20631 [!__ASSUME_32BITUIDS]: Remove conditional code.
20632 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20633 <kernel-features.h>.
20634 [__ASSUME_32BITUIDS]: Make code unconditional.
20635 [!__ASSUME_32BITUIDS]: Remove conditional code.
20636 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20637 <kernel-features.h>.
20638 [__ASSUME_32BITUIDS]: Make code unconditional.
20639 [!__ASSUME_32BITUIDS]: Remove conditional code.
20640 * sysdeps/unix/sysv/linux/kernel-features.h
20641 (__ASSUME_SETRESUID_SYSCALL): Remove.
20642 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20643 (__ASSUME_32BITUIDS): Likewise.
20644 (__ASSUME_LDT_WORKS): Likewise.
20645 (__ASSUME_O_DIRECTORY): Likewise.
20646 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20647 architecture but not kernel version.
20648 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20649 (__ASSUME_MMAP2_SYSCALL): Likewise.
20650 (__ASSUME_STAT64_SYSCALL): Likewise.
20651 (__ASSUME_IPC64): Likewise.
20652 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20653 <kernel-features.h>.
20654 [__ASSUME_32BITUIDS]: Make code unconditional.
20655 [!__ASSUME_32BITUIDS]: Remove conditional code.
20656 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20657 <kernel-features.h>.
20658 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20659 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20660 132096]: Remove conditional code.
20661 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20662 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20663 <kernel-features.h>.
20664 [__ASSUME_32BITUIDS]: Make code unconditional.
20665 [!__ASSUME_32BITUIDS]: Remove conditional code.
20666 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20667 <kernel-features.h>.
20668 [__ASSUME_32BITUIDS]: Make code unconditional.
20669 [!__ASSUME_32BITUIDS]: Remove conditional code.
20670 * sysdeps/unix/sysv/linux/setegid.c: Do not include
20671 <kernel-features.h>.
20672 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20673 unconditional.
20674 (__setresgid): Do not declare.
20675 [__ASSUME_32BITUIDS]: Make code unconditional.
20676 [!__ASSUME_32BITUIDS]: Remove conditional code.
20677 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20678 <kernel-features.h>.
20679 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20680 unconditional.
20681 (__setresuid): Do not declare.
20682 [__ASSUME_32BITUIDS]: Make code unconditional.
20683 [!__ASSUME_32BITUIDS]: Remove conditional code.
20684 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20685 <kernel-features.h>.
20686 [__ASSUME_32BITUIDS]: Make code unconditional.
20687 [!__ASSUME_32BITUIDS]: Remove conditional code.
20688 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20689 <kernel-features.h>.
20690 [__ASSUME_32BITUIDS]: Make code unconditional.
20691 [!__ASSUME_32BITUIDS]: Remove conditional code.
20692
a386f1cc
RH
206932012-05-25 Richard Henderson <rth@twiddle.net>
20694
20695 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20696 dl_hwcap to ifunc resolver.
20697 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20698 elf_ifunc_invoke.
20699 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20700 dl_hwcap to ifunc resolver.
20701 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20702
b6550497
JM
207032012-05-24 Joseph Myers <joseph@codesourcery.com>
20704
20705 [BZ #14153]
20706 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20707 for |x| <= 2**-26, not 2**-57.
20708 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20709 exception.
20710
b0bc23a1
JL
207112012-05-24 Jeff Law <law@redhat.com>
20712
20713 * stdio-common/Makefile (tests): Add bug25.
20714 * stdio-common/bug25.c: New test.
20715
347c92e9
L
207162012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20717
20718 [BZ #13576]
20719 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20720 multiple of MALLOC_ALIGNMENT in size.
20721 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20722
6bcc8b3f
JM
207232012-05-24 Joseph Myers <joseph@codesourcery.com>
20724
20725 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20726 Require >= 256.
20727 (FILENAME_MAX): Use macro-int-constant.
20728 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20729 (_IOFBF): Use macro-int-constant.
20730 (_IOLBF): Likewise.
20731 (_IONBF): Likewise.
20732 (SEEK_CUR): Likewise.
20733 (SEEK_END): Likewise.
20734 (SEEK_SET): Likewise.
20735 (TMP_MAX): Likewise.
20736 (EOF): Use macro-int-constant. Require < 0.
20737 (NULL): Use macro-constant. Require == 0.
20738 (stdin): Require type to be FILE *.
20739 (stdout): Likewise.
20740 (stderr): Likewise.
20741 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20742 macro-int-constant.
20743 (EXIT_SUCCESS): Likewise.
20744 (NULL): Use macro-constant. Require == 0.
20745 (RAND_MAX): Use macro-int-constant.
20746 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20747 [C99-based standards] (strtof): Require function.
20748 [C99-based standards] (strtold): Likewise.
20749 [C99-based standards] (strtoll): Likewise.
20750 [C99-based standards] (strtoull): Likewise.
20751 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20752 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20753 [ISO || ISO99 || ISO11] (math.h): Likewise.
20754 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20755 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20756 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20757
d18ea0c5
AS
207582012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20759
20760 [BZ #14132]
56d25bb8
AS
20761 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20762 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20763 * intl/dgettext.c (DCGETTEXT): Likewise.
20764 * intl/gettext.c (DCGETTEXT): Likewise.
20765 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20766 * posix/regex_internal.h (gettext): Likewise.
20767 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20768 Remove declaration.
20769 * include/argz.h (__argz_count_internal)
20770 (__argz_stringify_internal): Remove declaration.
20771 (__argz_count, __argz_stringify): Declare hidden proto.
20772 * intl/dcgettext.c: Remove use of INTDEF.
20773 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20774 * string/argz-stringify.c: Likewise.
20775 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20776 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20777 Declare hidden proto.
d18ea0c5
AS
20778 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20779 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20780 Declare hidden proto.
20781 * include/stdio.h (__asprintf_internal): Don't declare.
20782 (__asprintf): Don't define as macro. Declare hidden proto.
20783 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20784 (__fsetlocking): Declare hidden proto.
20785 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20786 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20787 hidden proto.
20788 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20789 (_IO_setlinebuf): Remove use of INTUSE.
20790 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20791 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20792 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20793 Remove declaration.
20794 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20795 (_IO_do_flush): Remove use of INTUSE.
20796 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20797 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20798 (_IO_adjust_column, _IO_least_wmarker)
20799 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20800 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20801 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20802 (_IO_default_doallocate, _IO_wdefault_doallocate)
20803 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20804 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20805 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20806 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20807 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20808 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20809 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20810 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20811 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20812 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20813 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20814 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20815 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20816 proto.
20817 (_IO_flush_all_internal, _IO_adjust_column_internal)
20818 (_IO_default_uflow_internal, _IO_default_finish_internal)
20819 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20820 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20821 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20822 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20823 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20824 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20825 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20826 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20827 (_IO_file_close_internal, _IO_file_close_it_internal)
20828 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20829 (_IO_file_init_internal, _IO_file_attach_internal)
20830 (_IO_file_fopen_internal, _IO_file_read_internal)
20831 (_IO_file_sync_internal, _IO_file_seek_internal)
20832 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20833 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20834 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20835 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20836 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20837 (_IO_list_all_internal, _IO_link_in_internal)
20838 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20839 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20840 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20841 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20842 (_IO_do_write_internal, _IO_padn_internal)
20843 (_IO_getline_info_internal, _IO_getline_internal)
20844 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20845 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20846 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20847 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20848 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20849 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20850 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20851 with libc_hidden_ver, remove use of INTUSE.
20852 * libio/genops.c: Likewise.
20853 * libio/freopen.c: Likewise.
20854 * libio/freopen64.c: Likewise.
20855 * libio/iofclose.c: Likewise.
20856 * libio/iofdopen.c: Likewise.
20857 * libio/iofflush.c: Likewise.
20858 * libio/iofflush_u.c: Likewise.
20859 * libio/iofgets.c: Likewise.
20860 * libio/iofgets_u.c: Likewise.
20861 * libio/iofopen.c: Likewise.
20862 * libio/iofopncook.c: Likewise.
20863 * libio/iofread.c: Likewise.
20864 * libio/iofread_u.c: Likewise.
20865 * libio/ioftell.c: Likewise.
20866 * libio/iofwrite.c: Likewise.
20867 * libio/iogetline.c: Likewise.
20868 * libio/iogets.c: Likewise.
20869 * libio/iogetwline.c: Likewise.
20870 * libio/iopadn.c: Likewise.
20871 * libio/iopopen.c: Likewise.
20872 * libio/ioseekoff.c: Likewise.
20873 * libio/ioseekpos.c: Likewise.
20874 * libio/iosetbuffer.c: Likewise.
20875 * libio/iosetvbuf.c: Likewise.
20876 * libio/ioungetc.c: Likewise.
20877 * libio/ioungetwc.c: Likewise.
20878 * libio/iovdprintf.c: Likewise.
20879 * libio/iovsprintf.c: Likewise.
20880 * libio/iovsscanf.c: Likewise.
20881 * libio/memstream.c: Likewise.
20882 * libio/obprintf.c: Likewise.
20883 * libio/oldfileops.c: Likewise.
20884 * libio/oldiofclose.c: Likewise.
20885 * libio/oldiofdopen.c: Likewise.
20886 * libio/oldiofopen.c: Likewise.
20887 * libio/oldiopopen.c: Likewise.
20888 * libio/oldstdfiles.c: Likewise.
20889 * libio/putc.c: Likewise.
20890 * libio/setbuf.c: Likewise.
20891 * libio/setlinebuf.c: Likewise.
20892 * libio/stdfiles.c: Likewise.
20893 * libio/strops.c: Likewise.
20894 * libio/vasprintf.c: Likewise.
20895 * libio/vscanf.c: Likewise.
20896 * libio/vsnprintf.c: Likewise.
20897 * libio/vswprintf.c: Likewise.
20898 * libio/wfiledoalloc.c: Likewise.
20899 * libio/wfileops.c: Likewise.
20900 * libio/wgenops.c: Likewise.
20901 * libio/wmemstream.c: Likewise.
20902 * libio/wstrops.c: Likewise.
20903 * libio/__fpurge.c: Likewise.
20904 * libio/__fsetlocking.c: Likewise.
20905 * assert/assert.c: Likewise.
20906 * debug/fgets_chk.c: Likewise.
20907 * debug/fgets_u_chk.c: Likewise.
20908 * debug/fread_chk.c: Likewise.
20909 * debug/fread_u_chk.c: Likewise.
20910 * debug/gets_chk.c: Likewise.
20911 * debug/obprintf_chk.c: Likewise.
20912 * debug/vasprintf_chk.c: Likewise.
20913 * debug/vdprintf_chk.c: Likewise.
20914 * debug/vsnprintf_chk.c: Likewise.
20915 * debug/vsprintf_chk.c: Likewise.
20916 * malloc/mtrace.c: Likewise.
20917 * misc/error.c: Likewise.
20918 * misc/syslog.c: Likewise.
20919 * stdio-common/asprintf.c: Likewise.
20920 * stdio-common/fxprintf.c: Likewise.
20921 * stdio-common/getw.c: Likewise.
20922 * stdio-common/isoc99_fscanf.c: Likewise.
20923 * stdio-common/isoc99_scanf.c: Likewise.
20924 * stdio-common/isoc99_vfscanf.c: Likewise.
20925 * stdio-common/isoc99_vscanf.c: Likewise.
20926 * stdio-common/isoc99_vsscanf.c: Likewise.
20927 * stdio-common/printf-prs.c: Likewise.
20928 * stdio-common/printf_fp.c: Likewise.
20929 * stdio-common/printf_fphex.c: Likewise.
20930 * stdio-common/printf_size.c: Likewise.
20931 * stdio-common/putw.c: Likewise.
20932 * stdio-common/scanf.c: Likewise.
20933 * stdio-common/sprintf.c: Likewise.
20934 * stdio-common/tmpfile.c: Likewise.
20935 * stdio-common/vfprintf.c: Likewise.
20936 * stdio-common/vfscanf.c: Likewise.
20937 * stdlib/strfmon_l.c: Likewise.
20938 * sunrpc/openchild.c: Likewise.
20939 * sunrpc/xdr_stdio.c: Likewise.
20940 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20941 * sysdeps/mach/hurd/tmpfile.c: Likewise.
20942
d6c33fda
RM
209432012-05-24 Roland McGrath <roland@hack.frob.com>
20944
c1487492
RM
20945 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20946
20947 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20948 in the third column, to generate for the shared library an IFUNC
20949 that uses _dl_vdso_vsym.
20950 * Makerules (COMPILE.c, compile-stdin.c): New variables.
20951 * Makeconfig (object-suffixes-noshared): New variable.
20952
20953 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20954 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20955 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20956 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20957
d6c33fda
RM
20958 [BZ #14132]
20959 * include/sys/time.h (__gettimeofday): Remove macro.
20960 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20961 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20962 Remove INTDEF.
20963 (__gettimeofday): Add libc_hidden_def.
20964 (gettimeofday): Add libc_hidden_weak.
20965 * sysdeps/mach/gettimeofday.c: Likewise.
20966 * sysdeps/posix/gettimeofday.c: Likewise.
20967 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20968 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20969 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20970 (__gettimeofday_internal): Remove strong_alias.
20971 (__gettimeofday): Add libc_hidden_def.
20972 (gettimeofday): Add libc_hidden_weak.
20973 * sysdeps/unix/syscalls.list (gettimeofday):
20974 Remove __gettimeofday_internal alias.
20975
b5a2bbe6
L
209762012-05-24 Daniel Jacobowitz <drow@false.org>
20977 H.J. Lu <hongjiu.lu@intel.com>
20978
20979 [BZ #12495]
20980 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
20981 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
20982 (largebin_index_32_big): New.
20983 (largebin_index): Use it for 16-byte alignment.
20984 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
20985 correction with front_misalign.
20986
cfba4fda
L
209872012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20988
7f907421
L
20989 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
20990 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
20991 Likewise.
20992 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
20993 Likewise.
20994 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
20995 Likewise.
20996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
20997 Likewise.
20998 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
20999 Likewise.
21000 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21001 Likewise.
21002 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21003 Likewise.
21004 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21005 Likewise.
21006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21007 Likewise.
21008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21009 Likewise.
21010 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21011 Likewise.
21012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21013 Likewise.
21014
cfba4fda
L
21015 * scripts/data/c++-types-x32-linux-gnu.data: New file.
21016 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21017
80bad0cc
JM
210182012-05-24 Joseph Myers <joseph@codesourcery.com>
21019
7a25eb06
JM
21020 [BZ #10846]
21021 [BZ #14036]
21022 * math/libm-test.inc (exp_test): Add test from bug 14036.
21023 (pow_test): Add test from bug 10846.
21024
795405f9
JM
21025 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21026 and other flags.
21027 (special_function): Do not include flags in test name.
21028 (parse_args): Likewise.
21029 * sysdeps/i386/fpu/libm-test-ulps: Update.
21030 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21031 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21032 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21033 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21034
80bad0cc
JM
21035 * math/gen-libm-test.pl (%beautify): Add entries for underflow
21036 exceptions.
21037 * math/libm-test.inc ("Philosophy"): Update comment about
21038 exception testing.
21039 (UNDERFLOW_EXCEPTION): New macro.
21040 (UNDERFLOW_EXCEPTION_OK): Likewise.
21041 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21042 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21043 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21044 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21045 (INVALID_EXCEPTION_OK): Update value.
21046 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21047 (OVERFLOW_EXCEPTION_OK): Likewise.
21048 (IGNORE_ZERO_INF_SIGN): Likewise.
21049 (test_exceptions): Handle underflow exceptions.
21050 (acos_test): Update for underflow exception expectations.
21051 (cexp_test): Likewise.
21052 (clog_test): Likewise.
21053 (clog10_test): Likewise.
21054 (csqrt_test): Likewise.
21055 (ctan_test): Likewise.
21056 (ctanh_test): Likewise.
21057 (exp_test): Likewise.
21058 (exp10_test): Likewise.
21059 (exp2_test): Likewise.
21060 (expm1_test): Likewise.
21061 (fma_test): Likewise.
21062 (j0_test): Likewise.
21063 (jn_test): Likewise.
21064 (nexttoward_test): Likewise.
21065 (pow_test): Likewise.
21066 (scalbn_test): Likewise.
21067 (scalbln_test): Likewise.
21068 (tan_test): Likewise.
21069 (y1_test): Likewise.
21070 * sysdeps/i386/fpu/libm-test-ulps: Update.
21071 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21072
9e0e3d0b
DM
210732012-05-23 David S. Miller <davem@davemloft.net>
21074
21075 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21076 (__libc_sigaction): Remove unused local variables.
21077
ccd0a08f
L
210782012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21079
21080 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21081
62bdf9a6
PE
210822012-05-23 Paul Eggert <eggert@cs.ucla.edu>
21083
f8591f80
PE
21084 mktime: avoid signed integer overflow
21085 * time/mktime.c (__mktime_internal): Do not mishandle the case
21086 where diff == INT_MIN.
21087
94c7d826
PE
21088 mktime: simplify computation of average
21089 * time/mktime.c (ranged_convert): Use new time_t_avg function
21090 instead of rolling our own (probably-slower) code.
21091
ce73d683
PE
21092 mktime: do not assume signed right shift propagates sign bit
21093 * time/mktime.c (isdst_differ): New static function.
21094 (__mktime_internal): No need to normalize tm_isdst now.
21095 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21096 tm_isdst values.
21097
72a22e59
PE
21098 mktime: merge another wrapv change from gnulib
21099 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21100 from some compilers.
21101
68605433
PE
21102 mktime: remove incorrect attempt at unusual arithmetics
21103 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21104 The code didn't really work on such machines anyway.
21105 (TYPE_MINIMUM): Assume two's complement.
21106 (twos_complement_arithmetic): Verify that long_int and time_t
21107 are two's complement (or unsigned, in the latter case).
21108
03cf7fe3
PE
21109 mktime: check signed shifts on long_int and time_t, too
21110 * time/mktime.c (SHR): Check that shifts work as desired
21111 on the types long_int and time_t too, as SHR is used on
21112 such types.
21113
f04dfbc2
PE
21114 mktime: do not assume 'long' is wide enough
21115 * time/mktime.c (verify): Move decl up.
21116 (long_int): New type.
21117 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21118 to remove assumption in the code that 'long' is wide enough to
21119 store year values. This assumption is not true on x32 and on
21120 some non-glibc platforms.
21121
62bdf9a6
PE
21122 mktime: merge wrapv change from gnulib
21123 * time/mktime.c (WRAPV): New macro.
21124 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21125 (guess_time_tm, __mktime_internal): Do not assume that signed
21126 integer overflow wraps around; modern compilers generate code
21127 where this assumption is no longer valid.
21128
5e292e4f
L
211292012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21130
21131 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21132 Replace "jmp L(pseudo_end)" with "ret".
21133 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21134 Likewise.
21135
8caf8c87
AJ
211362012-05-23 Andreas Jaeger <aj@suse.de>
21137
21138 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21139 * sysdeps/unix/sysv/linux/poll.c: Remove file.
21140
1a09dc56
AJ
211412012-05-23 Andreas Jaeger <aj@suse.de>
21142 Maximilian Attems <max@stro.at>
21143
21144 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21145 New macros.
21146
1c87aba0
L
211472012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21148
21149 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21150 code so that pseudo_end is just ret and the stack pointer is
21151 correct also for static library in error case.
21152
40e45bd5
JM
211532012-05-23 Joseph Myers <joseph@codesourcery.com>
21154
c2670533
JM
21155 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21156 move to syscalls.list.
21157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21161
40e45bd5
JM
21162 * manual/install.texi (Running make install): Do not mention Linux
21163 kernel version for which pt_chown is not needed.
21164 (Linux): Do not mention problems with nscd with 2.0 kernels.
21165 * INSTALL: Regenerated.
21166
be08eda5
AJ
211672012-05-23 Andreas Jaeger <aj@suse.de>
21168
21169 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21170 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21171 macro.
21172 * sysdeps/unix/sysv/linux/s390/bits/mman.h
21173 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21174 * sysdeps/unix/sysv/linux/sh/bits/mman.h
21175 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21176 * sysdeps/unix/sysv/linux/i386/bits/mman.h
21177 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21178 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21179 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21180 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21181 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21182 * sysdeps/unix/sysv/linux/bits/in.h
21183 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21184
a6a056bb
RM
211852012-05-22 Roland McGrath <roland@hack.frob.com>
21186
21187 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21188 (PREPARE_VERSION): Just use assert instead, it will be elided
21189 under [NDEBUG] anyway.
21190
c9009328
L
211912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21192
21193 * sysdeps/unix/sysv/linux/Makefile: Include
21194 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 21195 (sysdep_routines): Remove sysctl.
c9009328
L
21196 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21197 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21198 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21199 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21200 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21201
73338355
AJ
212022012-05-22 Andreas Jaeger <aj@suse.de>
21203
21204 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21205 that pseudo_end is just ret and the stack pointer is correct also
21206 for static library in error case.
21207
d44638b0
PP
212082012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21209
21210 [BZ #14122]
21211 * nss/nsswitch.c (defconfig_entries): New variable.
21212 (__nss_database_lookup): Don't leak defconfig entries.
21213 (nss_parse_service_list): Don't leak on error paths.
21214 (free_database_entries): New function.
21215 (free_defconfig): New function.
21216 (free_mem): Move common code to free_database_entries.
21217
31a39bd8
L
212182012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21219
da0331a8
L
21220 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21221 Add arch_prctl.
21222 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21223
31a39bd8
L
21224 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21225 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21226 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21227 New macro.
21228 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21229 (INTERNAL_SYSCALL_TYPES): Likewise.
21230 (LOAD_ARGS_TYPES_[1-6]): Likewise.
21231 (LOAD_REGS_TYPES_[1-6]): Likewise.
21232 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21233 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21234
45470df3
AZ
212352012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21236
21237 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21238 copysignl for GLIBC_2_0.
21239 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21240 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21241 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21242 logbl for GLIBC_2_0.
21243 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21244 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21245
98a61bcb
L
212462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21247
a4f6e481
L
21248 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21249 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21250
f63d5db6
L
21251 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21252 Use "neg %eax".
21253
98a61bcb
L
21254 * time/mktime.c: Update copyright years.
21255
95770f14
PE
212562012-05-22 Paul Eggert <eggert@cs.ucla.edu>
21257
6226efbd
PE
21258 mktime: merge comment-quoting-style change from gnulib
21259 * time/mktime.c: Quote 'like this' in comments.
21260 The GNU coding standards suggest that we no longer quote `like this',
21261 as "`" and "'" are typically rendered asymmetrically nowadays.
21262 The typical gnulib style is to quote 'like this' when quoting
21263 code, and "like this" when quoting English.
21264
b99e4f78
PE
21265 * time/mktime.c (compile-command): Add "-I.".
21266
643e01e6
PE
21267 mktime: merge mktime-internal.h change from gnulib
21268 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21269
2554247d
PE
21270 mktime: merge time_r change from gnulib
21271 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21272
826dd0ab
PE
21273 mktime: merge DEBUG change from gnulib
21274 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21275 case system <time.h> has a #define.
21276
bd83aabe
PE
21277 mktime: merge <sys/types.h> change from gnulib
21278 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21279 since <time.t> is now guaranteed to define time_t.
21280
95770f14
PE
21281 mktime: merge HAVE_CONFIG_H change from gnulib
21282 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21283
5e1a27a9
L
212842012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21285
0e44a77e
L
21286 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21287 Use "neg %eax".
21288
5e1a27a9
L
21289 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21290 __rlim_t cast.
21291 (struct rusage): Use anonymous union to pad each field to
21292 __syscall_slong_t.
21293
46259bec
DM
212942012-05-21 David S. Miller <davem@davemloft.net>
21295
21296 * Makefules (o-iterator): Remove .s cases.
21297 (compile-command.s): Delete.
21298 (COMPILE.s): Delete.
21299 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21300
59f0c22e
JM
213012012-05-21 Joseph Myers <joseph@codesourcery.com>
21302
21303 * configure.in (libc_cv_predef_stack_protector): Only consider
21304 "foobar" and "__stack_chk_fail" lines in libc_undefs.
21305 * configure: Regenerated.
21306
20c07380
L
213072012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21308
bbb3154b
L
21309 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21310 New macro. Use R*LP on int and pointer.
21311 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
21312 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21313 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
21314 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21315
20c07380
L
21316 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21317 [__WORDSIZE_TIME64_COMPAT32] instead of
21318 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21319 (struct utmp): Likewise.
21320 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21321 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21322 Renamed to ...
21323 (__WORDSIZE_TIME64_COMPAT32): This.
21324 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21325 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21326 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21327 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21328 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21329 (__WORDSIZE_TIME64_COMPAT32): New macro.
21330
d8d1017e
AJ
213312012-05-21 Andreas Jaeger <aj@suse.de>
21332
21333 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21334 only if [SHARED]. Add prototype for __wcschr_ia32.
21335
6c7fb145
RM
213362012-05-21 Roland McGrath <roland@hack.frob.com>
21337
21338 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21339 of %rbp unmolested in the jmp_buf while mangling the low bits.
21340 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21341 unmolested high bits of %rbp while demangling the low bits.
21342 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21343
66274218
AJ
213442012-05-21 Andreas Jaeger <aj@suse.de>
21345
07c58f8f
AJ
21346 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21347 * sunrpc/svc_simple.c: Use it for registerrpc.
21348 * sunrpc/xcrypt.c: Use it for passwd2des.
21349
66274218
AJ
21350 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21351
61f65140
L
213522012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21353
21354 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21355 Don't define if [__SYSCALL_WORDSIZE != 32].
21356 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21357 New macro.
21358
5fefb436
AJ
213592012-05-21 Bruno Haible <bruno@clisp.org>
21360 Andreas Jaeger <aj@suse.de>
21361
21362 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21363 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21364 inptr and inend for must_buffer_ch.
21365 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21366 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
21367 * stdio-common/Makefile (tests): Remove bug15.
21368 (bug15-ENV): Remove macro.
21369 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
21370 anymore.
21371
d8e272ab
AJ
213722012-05-19 Andreas Jaeger <aj@suse.de>
21373 Roland McGrath <roland@hack.frob.com>
21374
21375 * manual/contrib.texi: Completely rewritten. It contains now an
21376 alphabetical list of contributors and their contributions.
21377
4a56a162
RH
213782012-05-21 Richard Henderson <rth@twiddle.net>
21379
21380 * misc/getauxval.c (__getauxval): Use unsigned long int.
21381 * misc/sys/auxv.h: Include <sys/cdefs.h>.
21382 (getauxval): Use unsigned long int.
21383
d024d23c
L
213842012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21385
21386 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21387
cbc00a03
RM
213882012-05-21 Roland McGrath <roland@hack.frob.com>
21389
21390 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
21391 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
21392 __alignof__ (long double).
21393
478143fa
AZ
213942012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21395
21396 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21397
c7683a6d
RH
213982012-05-20 Richard Henderson <rth@twiddle.net>
21399
21400 * misc/getauxval.c: New file.
21401 * misc/sys/auxv.h: New file.
21402 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21403 (routines): Add getauxval.
21404 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21405 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21406 * elf/dl-sysdep.c (_dl_auxv): Remove.
21407 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21408 * elf/dl-support.c (_dl_auxv): New variable.
21409 (_dl_aux_init): Initialize it.
21410 * manual/startup.texi (Auxiliary Vector): New node.
21411 * sysdeps/generic/bits/hwcap.h: New file.
21412 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21413 * sysdeps/powerpc/sysdep.h: ... here. Include it.
21414 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21415 * sysdeps/sparc/sysdep.h: ... here. Include it.
21416 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21417 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
21418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21419 Update.
c7683a6d
RH
21420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21423 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21424 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21425 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21426 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21427 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21428
a6f1845d
AZ
214292012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21430
21431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21432
cbcbe830
DM
214332012-05-19 David S. Miller <davem@davemloft.net>
21434
21435 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21436
e0b16cc2
JM
214372012-05-19 Joseph Myers <joseph@codesourcery.com>
21438
21439 [BZ #14123]
21440 * math/s_ccosh.c: Include <float.h>
21441 (__ccosh): Avoid internal overflow calculating sinh and cosh
21442 values before multiplying by sin and cos values.
21443 * math/s_ccoshf.c: Likewise.
21444 * math/s_ccoshl.c: Likewise.
21445 * math/s_csin.c: Likewise.
21446 * math/s_csinf.c: Likewise.
21447 * math/s_csinl.c: Likewise.
21448 * math/s_csinh.c: Likewise.
21449 * math/s_csinhf.c: Likewise.
21450 * math/s_csinhl.c: Likewise.
21451 * math/libm-test.inc (ccos_test): Add more tests.
21452 (ccosh_test): Likewise.
21453 (csin_test): Likewise.
21454 (csinh_test): Likewise.
21455 * sysdeps/i386/fpu/libm-test-ulps: Update.
21456 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21457
6ad13e08
L
214582012-05-19 H.J. Lu <hongjiu.lu@intel.com>
21459
f66f0ce8
L
21460 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21461 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21462
6ad13e08
L
21463 * sysdeps/x86_64/x32/_itoa.h: Add comment.
21464
b1d072a7
JM
214652012-05-19 Joseph Myers <joseph@codesourcery.com>
21466
21467 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21468 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21469 * sysdeps/powerpc/soft-fp/Versions: Likewise.
21470 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21471 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21472 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21473 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21474 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21475 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21476 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21477 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21478 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21479 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21480 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21481 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21482 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21483 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21484 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21485 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21486 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21487 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21488 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21489 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21490 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21491 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21492 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21493 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21494 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21495 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21496 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21497 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21498
9eae47cb
AJ
214992012-05-18 Andreas Jaeger <aj@suse.de>
21500
21501 * csu/.gitignore: Delete.
21502
bb07f69f
L
215032012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21504
21505 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21506 (timex): Use __syscall_slong_t.
21507
e6bdb741
AJ
215082012-05-18 Andreas Jaeger <aj@suse.de>
21509 Carlos O'Donell <carlos_odonell@mentor.com>
21510
21511 * manual/install.texi (Configuring and compiling): Update
21512 description about files modified in the source directory.
d6c33fda 21513 * INSTALL: Regenerated.
e6bdb741 21514
1b74487e
L
215152012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21516
21517 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21518 value. Use "or" to set return value to -1.
21519 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21520 negate return value.
21521
a88b64b9
TMQMF
215222012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21523
21524 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21525 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21526 failure if the compiler has Graphite support disabled.
21527 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21528 Likewise.
21529 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21530 CFLAGS-memmove.c): Likewise.
21531 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21532 Likewise.
21533
3707636e
L
215342012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21535
610b8622
L
21536 * sysdeps/x86_64/x32/_itoa.h: New file.
21537
7cd195df
L
21538 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21539 getdents system call only if kernel and user dirents have the
21540 same d_ino and d_off.
21541
94b07d20
L
21542 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21543 LLONG_MAX != LONG_MAX.
21544 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21545 (_fitoa_word): Likewise.
21546
18298070
L
21547 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21548 years.
21549 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21550 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21551 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21552
553c7ea4
L
21553 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21554 include <bits/wordsize.h>. Check __x86_64__ instead of
21555 __WORDSIZE.
21556 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21557 if __x86_64__ is defined. Use anonymous union on fpstate.
21558
3707636e
L
21559 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21560 anonymous union.
21561
b53ef01a
AS
215622012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21563
37fb1dc0
AS
21564 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21565 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21566 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21567 Refer to _rtld_local_ro instead of _rtld_global_ro.
21568 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21569 Likewise.
21570 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21571 Likewise.
21572 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21573 Likewise.
21574 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21575 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21576 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21577
b53ef01a
AS
21578 * sysdeps/powerpc/powerpc32/dl-machine.c
21579 (__elf_machine_runtime_setup) [PROF]: Don't reference
21580 _dl_prof_resolve.
21581
7a185db2
AJ
215822012-05-18 Andreas Jaeger <aj@suse.de>
21583
21584 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21585 function only available for GCCs before 3.4 since GCC 3.4
21586 introduced a builtin.
21587 (lrint): Likewise.
21588 (llrintf): Likewise.
21589 (llrint): Likewise.
21590 (fmaxf): Likewise.
21591 (fmax): Likewise.
21592 (fminf): Likewise.
21593 (fmin): Likewise.
21594 (rint): Likewise.
21595 (rintf): Likewise.
21596 (nearbyint): Likewise.
21597 (nearbyintf): Likewise.
21598 (ceil): Likewise.
21599 (ceilf): Likewise.
21600 (floor): Likewise.
21601 (floorf): Likewise.
21602
3e5aef87
L
216032012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21604
428bd707
L
21605 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21606 on both fields and cast pointer to __syscall_ulong_t.
21607
3e5aef87
L
21608 * bits/types.h (__fsword_t): New type.
21609 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21610 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21611 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21612 (__FSWORD_T_TYPE): Likewise.
21613 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21614 (__FSWORD_T_TYPE): Likewise.
21615 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21616 (__FSWORD_T_TYPE): Likewise.
21617 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21618 (__FSWORD_T_TYPE): Likewise.
21619 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21620 __SWORD_TYPE with __fsword_t.
21621 (statfs64): Likewise.
21622
1ba7c3dc
DM
216232012-05-17 David S. Miller <davem@davemloft.net>
21624
21625 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21626
59910343
AJ
216272012-05-17 Andreas Jaeger <aj@suse.de>
21628
21629 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21630 warning.
21631
2e4c1e9e
L
216322012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21633
21634 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21635
de7f5ce7
AJ
216362012-05-17 Andreas Jaeger <aj@suse.de>
21637
21638 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21639 when it is used.
21640
286abc3d
CM
216412012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21642
21643 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21644
477cc68e
L
216452012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21646
21647 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21648 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21649
1a0994f5
CD
216502012-05-17 Andreas Jaeger <aj@suse.de>
21651 Carlos O'Donell <carlos_odonell@mentor.com>
21652
21653 [BZ #14059]
21654 * sysdeps/x86_64/multiarch/init-arch.h
21655 (bit_YMM_Usable): Rename to...
21656 (bit_AVX_Usable): ... this.
21657 (bit_FMA4_Usable): New macro.
21658 (bit_XMM_state): New macro.
21659 (bit_YMM_state): New macro.
21660 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21661 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21662 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21663 (CPUID_OSXSAVE): New macro.
21664 (CPUID_AVX): New macro.
21665 (CPUID_FMA4): New macro.
21666 (index_YMM_Usable): Rename to...
21667 (index_AVX_Usable): ... this.
21668 (HAS_AVX): Use HAS_ARCH_FEATURE.
21669 (HAS_FMA4): Likewise.
21670 (HAS_YMM_USABLE): Remove.
21671 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21672 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21673 are present.
21674 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21675 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21676 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21677 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21678 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21679
0af797de
CM
216802012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21681
21682 * math/libm-test.c: Support platforms without multiple rounding modes.
21683 * math/bug-nextafter.c: Support platforms without FP exceptions.
21684 * math/bug-nexttoward.c: Likewise.
21685 * math/test-fenv.c: Likewise.
21686 * math/test-misc.c: Likewise.
21687 * stdlib/bug-getcontext.c: Likewise.
21688
e39745ff
AJ
216892012-05-17 Andreas Jaeger <aj@suse.de>
21690
21691 * manual/examples/search.c (critter_cmp): Change signature to
21692 avoid warnings.
21693 * manual/string.texi (Collation Functions): Likewise.
21694
48970aba
L
216952012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21696
21697 * bits/types.h: Fold copyright years.
21698 * bits/typesizes.h: Likewise.
21699 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21700 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21701 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21702 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21703 * time/time.h: Likewise.
21704
bedee953
PP
217052012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21706
21707 [BZ #208]
21708 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21709 in instead of returning them. Return void.
21710 (__libc_mallinfo): Accumulate over all arenas.
21711 (__malloc_stats): Adjust for change in int_mallinfo interface.
21712
61653dfb
RM
217132012-05-16 Roland McGrath <roland@hack.frob.com>
21714
30b99d79
RM
21715 [BZ #10375]
21716 * configure.in (NM): Add AC_CHECK_TOOL for it.
21717 (libc_extra_cflags): New substituted variable.
21718 Check for -fstack-protector being used implicitly.
21719 * configure: Regenerated.
21720 * config.make.in (config-extra-cflags): New variable,
21721 gets @libc_extra_cflags@.
21722 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21723
61653dfb
RM
21724 [BZ #10375]
21725 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21726 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21727 * configure: Regenerated.
21728 * config.make.in (CPPUNDEFS): New substituted variable.
21729 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21730 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21731 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21732
661768bb
L
217332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21734
21735 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21736 (mq_attr): Use __syscall_slong_t.
21737
d4261567
L
217382012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21739
21740 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21741 Check __x86_64__ instead of __WORDSIZE.
21742 (_STAT_VER_LINUX): Likewise.
21743 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21744 __syscall_ulong_t and __syscall_slong_t.
21745 (stat64): Likewise.
21746
cf3ff365
L
217472012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21748
21749 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21750
76cf3e4d
L
217512012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21752
21753 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21754
a637753a
L
217552012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21756
21757 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21758 __syscall_ulong_t.
21759
d5e05119
L
21760 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21761 include <bits/wordsize.h>. Check __x86_64__ instead of
21762 __WORDSIZE.
21763 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21764 defined.
21765 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21766
f62ee380
L
21767 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21768 include <bits/wordsize.h>. Check __x86_64__ instead of
21769 __WORDSIZE.
21770 (user_regs_struct): Use "__extension__ unsigned long long"
21771 instead of "unsigned long" if __x86_64__ is defined.
21772 (user): Likewise. Pad after pointer field if __ILP32__ is
21773 defined.
21774
4e124ced
JM
217752012-05-16 Joseph Myers <joseph@codesourcery.com>
21776
6a3951a0
JM
21777 * configure.in (makeinfo): Require version 4.5 or later. Allow
21778 versions 5 to 9.
21779 * configure: Regenerated.
21780 * manual/install.texi (texinfo): Increase version requirement to
21781 4.5 or later.
21782 * INSTALL: Regenerated.
21783
4e124ced
JM
21784 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21785
953ca31a
L
217862012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21787
21788 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21789
617aca05
L
21790 * sysdeps/x86_64/x32/ffs.c: New file.
21791
5762f7ae
L
21792 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21793 __syscall_ulong_t.
21794 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21795 defined. Use __syscall_ulong_t.
21796 (shminfo): Use __syscall_ulong_t.
21797 (shm_info): Likewise.
21798
a26b6856
L
21799 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21800 __syscall_ulong_t.
21801
cb2b9ef7
L
21802 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21803 <bits/wordsize.h>.
21804 (msgqnum_t): Use __syscall_ulong_t.
21805 (msglen_t): Likewise.
21806 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21807 __syscall_ulong_t.
21808
34683bb0
L
21809 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21810 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21811
84a68786
L
21812 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21813
48baa5f1
L
21814 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21815 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21816
180be88b
L
21817 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21818 __syscall_slong_t.
21819
5e90c8ad
L
21820 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21821 include <bits/wordsize.h>. Check __x86_64__ instead of
21822 __WORDSIZE.
21823
23dfb58b
L
21824 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21825 "unsigned long long int" if __x86_64__ is defined.
21826 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21827
ce5d54b0
L
21828 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21829 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21830 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21831
13dc9eac
L
21832 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21833 <stdint.h>.
21834 (GET_PC): Cast to uintptr_t first.
21835 (GET_FRAME): Likewise.
21836 (GET_STACK): Likewise.
21837
a7895d15
L
21838 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21839 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21840 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21841 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21842 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21843 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21844 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21845 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21846 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21847 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21848 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21849 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21850 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21851 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21852 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21853 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21854 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21855 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21856 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21857 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21858 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21859 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21860 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21861 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21862 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21863 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21864 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21865 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21866 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21867
656416c9
AS
218682012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21869
5bd66283
AS
21870 * Makerules (+depfiles): Also collect depfiles from .oS in
21871 $(extra-objs).
21872 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21873 .oS, $(libnldbl-routines)).
21874
656416c9
AS
21875 * Makerules (native-compile-mkdep-flags): Define.
21876 * sunrpc/Makefile (extra-objs): Add $(addprefix
21877 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21878 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21879 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
21880 calling $(make-target-directory).
21881
a46f2169
L
218822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21883
21884 * bits/types.h (__snseconds_t): Removed.
21885 * time/time.h (struct timespec): Replace __snseconds_t with
21886 __syscall_slong_t.
21887 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21888 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21889 Likewise.
21890 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21891 (__SNSECONDS_T_TYPE): Likewise.
21892 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21893 (__SNSECONDS_T_TYPE): Likewise.
21894 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21895 (__SNSECONDS_T_TYPE): Likewise.
21896
6af6528b
L
218972012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21898
21899 * sysdeps/mach/hurd/bits/typesizes.h
21900 (__SYSCALL_SLONG_TYPE): New macro.
21901 (__SYSCALL_ULONG_TYPE): Likewise.
21902
de986b56
L
219032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21904
21905 * bits/types.h (__syscall_slong_t): New type.
21906 (__syscall_ulong_t): Likewise.
21907
21908 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21909 (__SYSCALL_ULONG_TYPE): Likewise.
21910 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21911 (__SYSCALL_SLONG_TYPE): Likewise.
21912 (__SYSCALL_ULONG_TYPE): Likewise.
21913 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21914 (__SYSCALL_SLONG_TYPE): Likewise.
21915 (__SYSCALL_ULONG_TYPE): Likewise.
21916 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21917 (__SYSCALL_SLONG_TYPE): Likewise.
21918 (__SYSCALL_ULONG_TYPE): Likewise.
21919
85736dc7
L
219202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21921
21922 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21923 Add sigaltstack-offsets.sym.
21924 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21925 <sigaltstack-offsets.h>.
21926 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
21927 longjmp_msg pointer.
21928 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
21929 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21930 signal stack.
21931 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21932
cc03b296
JM
219332012-05-15 Joseph Myers <joseph@codesourcery.com>
21934
a9538892
JM
21935 * elf/stackguard-macros.h: Remove file.
21936 * sysdeps/generic/stackguard-macros.h: New file.
21937 * sysdeps/i386/stackguard-macros.h: Likewise.
21938 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21939 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21940 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21941 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21942 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21943 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21944 * sysdeps/x86_64/stackguard-macros.h: Likewise.
21945 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21946 <elf/stackguard-macros.h>.
21947
cc03b296
JM
21948 [BZ #14109]
21949 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21950 __aligned__ in attribute.
21951 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21952 (gregset_t): Likewise.
21953
93171016
L
219542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21955
21956 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21957 * sysdeps/x86_64/64/Implies-after: Here. New file.
21958 * sysdeps/x86_64/x32/Implies-after: New file.
21959
d86813a0
L
219602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21961
21962 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21963 and access return value for _dl_profile_fixup. Use R10_LP to
21964 load frame size.
21965
2953ec75
L
219662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21967
21968 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21969
3b550e9e
L
219702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21971
21972 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21973 * sysdeps/x86_64/x32/sysdep.h: New file.
21974
eda41706
L
219752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21976
21977 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
21978 * sysdeps/x86_64/setjmp.S: Likewise.
21979
9ea01d93
AZ
219802012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21981
21982 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
21983 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
21984 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
21985 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
21986 remove unused global constant.
21987
02a91938
CM
219882012-05-15 Chris Metcalf <cmetcalf@tilera.com>
21989
21990 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
21991 include of <not-cancel.h>.
21992
6540185f
RM
219932012-05-15 Roland McGrath <roland@hack.frob.com>
21994
21995 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
21996
509072a0
AJ
219972012-05-15 Jeff Law <law@redhat.com>
21998 Andreas Jaeger <aj@suse.de>
21999
22000 [BZ #13594]
22001 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22002 out from...
22003 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22004 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22005 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22006 code changing __hst_map_handle.map.
22007
ba75122d
RM
220082012-05-15 Roland McGrath <roland@hack.frob.com>
22009
22010 * configure.in (sysnames): Look for Implies-before and Implies-after
22011 files.
22012 * configure: Regenerated.
22013
890d8bd8
L
220142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22015
22016 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22017 8-byte data alignment with LP_SIZE alignment.
22018
f6ee6623
L
220192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22020
22021 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22022 into R10_LP.
22023
ea2626f6
L
220242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22025
22026 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22027
085f715e
L
220282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22029
22030 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22031 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22032 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22033 Likewise.
22034 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22035
be8498fc
L
220362012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22037
22038 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22039 (stackinfo_sub_sp): Likewise.
22040
70bc83b9
L
220412012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22042
22043 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22044 RAX_LP.
22045
9bc0b730
L
220462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22047
22048 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22049 into R*_LP.
22050
6d2850e7
L
220512012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22052
22053 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22054 sizes into R*_LP.
22055
3cb84561
L
220562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22057
22058 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22059
54e2ed81
L
220602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22061
22062 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22063 into R11_LP and load __x86_64_shared_cache_size_half into
22064 R8_LP.
22065
8a17f349
L
220662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22067
22068 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22069 R8_LP.
22070
777b1eea
AZ
220712012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22072
22073 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22074 logb for POWER7.
22075 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22076 logbf for POWER7.
22077 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22078 logbl for POWER7.
22079 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22080 powerpc32/power7/fpu/s_logb.c via #include.
22081 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22082 powerpc32/power7/fpu/s_logbf.c via #include.
22083 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22084 powerpc32/power7/fpu/s_logbl.c via #include.
22085
d20d4ac2
JM
220862012-05-15 Joseph Myers <joseph@codesourcery.com>
22087
22088 * README.libm: Remove file.
22089
6cdef1ab
L
220902012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22091
22092 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22093 count for x32. Use R*_LP and omit operand-size suffix.
22094
0b254d8f
L
220952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22096
22097 * shlib-versions: Move x86_64-.*-linux.* entries to ...
22098 * sysdeps/x86_64/64/shlib-versions: Here. New file.
22099 * sysdeps/x86_64/x32/shlib-versions: New file.
22100
ceb809dc
RM
221012012-05-14 Roland McGrath <roland@hack.frob.com>
22102
22103 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22104 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22105 Use _dl_fatal_printf instead.
22106
37f1abd4
JM
221072012-05-14 Joseph Myers <joseph@codesourcery.com>
22108
22109 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22110 set if not set by the user. Do not allow for being unset.
22111 * sysdeps/unix/sysv/linux/configure: Regenerated.
22112
11de3a33
L
221132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22114
22115 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22116 the `q' suffix from lea and replace .quad with ASM_ADDR.
22117
e02f153a
L
221182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22119
22120 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22121 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
22122 instead of $17.
22123 (PTR_DEMANGLE): Likewise.
22124
520ae0fd
L
221252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22126
22127 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22128 (LP_OP): Likewise.
22129 (ASM_ADDR): Likewise.
22130 (RAX_LP): Likewise.
22131 (RBP_LP): Likewise.
22132 (RBX_LP): Likewise.
22133 (RCX_LP): Likewise.
22134 (RDI_LP): Likewise.
22135 (RSI_LP): Likewise.
22136 (RSP_LP): Likewise.
22137 (R8_LP): Likewise.
22138 (R9_LP): Likewise.
22139 (R10_LP): Likewise.
22140 (R10_LP): Likewise.
22141 (R11_LP): Likewise.
22142 (R12_LP): Likewise.
22143 (R13_LP): Likewise.
22144 (R14_LP): Likewise.
22145 (R15_LP): Likewise.
22146
b985be81
L
221472012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22148
22149 * sysdeps/x86_64/x32/dl-machine.h: New file.
22150
6a4888ff
AJ
221512012-05-14 Andreas Jaeger <aj@suse.de>
22152
22153 * manual/Makefile (subdir): Remove export of subdir.
22154 (all): Remove target.
22155 (.PHONY): Remove all from list.
22156 (mkinstalldirs): Remove.
22157 (.PHONY): Remove installdirs from list.
22158 ($(inst_infodir)/libc.info): Use make-target-directory.
22159 (installdirs): Remove.
22160 (subdir_%): Remove.
22161 (glibc-targets): Remove.
22162 (lib): Remove.
22163 (stubs): Remove.
22164 ($(objpfx)stubs ../po/manual.pot): Remove.
22165 ($(objpfx)stamp%): Remove.
22166 (make-target-directory): Remove.
22167 (subdir_install): Remove.
22168 (routines): Remove.
22169 (aux): Remove.
22170 (sources): Remove.
22171 (objects): Remove.
22172 (headers): Remove.
22173
22174 [BZ #13750]
22175 * manual/.gitignore: Remove, it's not needed anymore.
22176 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22177 all files in it.
22178 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22179 directory.
22180 (texis): Renamed to $(objpfx)texis.
22181 (texis-path): New, contains path to generated files.
22182 (chapters.%): Use texis-path for complete path, add extra argument
22183 libc-texinfo.sh.
22184 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22185 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22186 (summary,texi, stamp-summary): Use complete path of
22187 files. Generate files in build dir.
22188 (dir-add.texi): Build in build dir.
22189 (libm-err.texi,stamp-libm-err): Likewise.
22190 (version.texi, stamp-version): Likewise.
22191 (.%c.texi): Likewise.
22192 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22193 (mostlyclean): Remove target.
22194 (realclean): Remove target.
22195 (generated): Add new variable with contents from mostlyclean and
22196 realclean, remove entries duplicated in common-mostlyclean, add
22197 stamp-libm-err and stamp-version.
22198 (generated-dirs): Add libc directory.
22199 ($(inst_infodir)/libc.info): Install files from build dir.
22200
22201 * manual/install.texi (Configuring and compiling): Adjust since
22202 the info files are not part of the tar ball anymore.
22203
7ac77294
AJ
222042012-05-14 Andreas Jaeger <aj@suse.de>
22205
22206 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22207 variable.
22208
ffb7875d
JM
222092012-05-14 Joseph Myers <joseph@codesourcery.com>
22210
22211 [BZ #13717]
22212 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22213 to 2.2.0 where earlier.
22214 * sysdeps/unix/sysv/linux/configure: Regenerated.
22215 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22216 Remove conditional code.
22217 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22218 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22219 Remove conditional code.
22220 [!__NR_lchown]: Likewise.
22221 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22222 [__NR_lchown]: Likewise.
22223 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22224 comment referencing __ASSUME_LCHOWN_SYSCALL.
22225 * sysdeps/unix/sysv/linux/i386/sigaction.c
22226 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22227 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22228 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22229 Remove conditional code.
22230 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22231 (__protocol_available): Remove #if 0 code.
22232 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22233 conditional code.
22234 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22235 * sysdeps/unix/sysv/linux/kernel-features.h
22236 (__ASSUME_GETCWD_SYSCALL): Don't define.
22237 (__ASSUME_REALTIME_SIGNALS): Likewise.
22238 (__ASSUME_PREAD_SYSCALL): Likewise.
22239 (__ASSUME_PWRITE_SYSCALL): Likewise.
22240 (__ASSUME_POLL_SYSCALL): Likewise.
22241 (__ASSUME_LCHOWN_SYSCALL): Likewise.
22242 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22243 non-SPARC.
22244 (__ASSUME_SIOCGIFNAME): Don't define.
22245 (__ASSUME_MSG_NOSIGNAL): Likewise.
22246 (__ASSUME_SENDFILE): Define unconditionally.
22247 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22248 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22249 conditional code.
22250 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22251 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22252 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22253 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22254 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22255 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22256 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22257 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22258 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22259 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22261 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22262 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22263 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22264 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22265 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22266 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22267 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22268 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22270 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22271 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22273 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22274 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22276 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22277 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22279 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22280 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22281 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22282 Remove conditional code.
22283 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22284 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22285 Remove conditional code.
22286 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22287 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22288 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22289 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22290 Remove conditional code.
22291 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22292 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22293 Remove conditional code.
22294 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22295 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22296 Remove conditional code.
22297 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22298 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22299 Remove conditional code.
22300 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22301 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22302 Remove conditional code.
22303 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22304 * sysdeps/unix/sysv/linux/sh/pwrite64.c
22305 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22306 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22307 * sysdeps/unix/sysv/linux/sigaction.c
22308 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22309 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22310 * sysdeps/unix/sysv/linux/sigpending.c
22311 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22312 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22313 * sysdeps/unix/sysv/linux/sigprocmask.c
22314 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22315 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22316 * sysdeps/unix/sysv/linux/sigsuspend.c
22317 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22318 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22319 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22320 (__libc_missing_rt_sigs): Remove.
22321 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22322 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22323 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22324 Remove conditional code.
22325 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22326 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22327 return 1.
22328 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22329 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22330 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22331 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22332
1bfb7291
AJ
223332012-05-14 Andreas Jaeger <aj@suse.de>
22334
caae5a81
AJ
22335 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22336 it's not used in glibc.
22337 (__coshm1): Likewise.
22338 (__acosh1p): Likewise.
22339 (__sgn): Likewise.
22340
1bfb7291
AJ
22341 * manual/string.texi (Copying and Concatenation): Add missing
22342 variable in concat example.
22343 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22344
c044d724
L
223452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22346
144c5467 22347 [BZ #14103]
c044d724
L
22348 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22349 __builtin_clzl with __builtin_clzll.
22350
2523c62b
L
223512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22352
22353 [BZ #14104]
22354 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22355 libc_freeres_ptr.
22356
d7bb4c42
LD
223572012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22358
22359 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22360 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22361 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22362 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22363
9dc4e1fb
MF
223642012-05-14 Mike Frysinger <vapier@gentoo.org>
22365
22366 * NEWS: Update ia64 info.
22367
c7df0112
AS
223682012-05-12 Andreas Schwab <schwab@linux-m68k.org>
22369
22370 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22371 used as bcopy.
22372
dc70356c
TS
223732012-05-12 Thomas Schwinge <thomas@codesourcery.com>
22374
22375 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
22376 * sysdeps/unix/syscalls.list (dup3): Likewise.
22377 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
22378 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
22379
9fb1a21f
L
223802012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22381
22382 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22383 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22384
4822a2a5
L
223852012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22386
22387 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
22388 thread pointer.
22389 (TLS_IE): Use mov/add instead of movq/addq to load thread
22390 pointer.
22391 (TLS_GD_PREFIX): New.
22392 (TLS_GD): Use it.
22393
842b81d6
DM
223942012-05-11 David S. Miller <davem@davemloft.net>
22395
22396 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22397 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22398 (_FPU_SETCW): Likewise.
22399
1cf463cd
L
224002012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22401
22402 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22403 is 32-byte aligned.
22404
60cc4a18
AS
224052012-05-11 Andreas Schwab <schwab@linux-m68k.org>
22406
22407 [BZ #11837]
22408 * iconvdata/gb18030.c: Update tables.
22409 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
22410 characters specially.
22411 (BODY for TO_LOOP): Add encoding of missing ranges.
22412
febb44a4
TS
224132012-05-11 Thomas Schwinge <thomas@codesourcery.com>
22414
22415 [BZ #13673]
22416 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22417 * sysdeps/mach/hurd/dup3.c: Likewise.
22418 * sysdeps/mach/hurd/readlinkat.c: Likewise.
22419 * sysdeps/powerpc/memmove.c:: Likewise.
22420
0a10fb9e
L
224212012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22422
22423 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22424 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22425
df8a552f
L
224262012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22427
22428 * elf/elf.h (R_X86_64_RELATIVE64): New.
22429 (R_X86_64_NUM): Updated.
22430 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22431 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
22432 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22433 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22434 tst-quad1pie tst-quad2pie
22435 (modules-names): Add tst-quadmod1 tst-quadmod2.
22436 ($(objpfx)tst-quad1): New dependency.
22437 ($(objpfx)tst-quad2): Likewise.
22438 ($(objpfx)tst-quad1pie): Likewise.
22439 ($(objpfx)tst-quad2pie): Likewise.
22440 * sysdeps/x86_64/tst-quad1.c: New file.
22441 * sysdeps/x86_64/tst-quad1pie.c: New file.
22442 * sysdeps/x86_64/tst-quad2.c: Likewise.
22443 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22444 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22445 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22446 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22447 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22448
f34d6f84
ST
224492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22450
f42d41d1
ST
22451 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22452 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22453 * streams/stropts.h (t_scalar_t): Define type.
22454
3c3571fc
ST
22455 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22456 (_PATH_PRESERVE): Set to "/var/lib".
22457 (_PATH_RWHODIR): Set to "/var/spool/rwho".
22458
61f06bd3
ST
22459 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22460 instead of int.
22461
918d4d71
ST
22462 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22463 if __dir_mkfile succeeded.
22464
f34d6f84
ST
22465 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22466 checking for _hurd_dtablesize. Unlock it right after having
22467 finished _hurd_dtable allocation.
22468
10589b4a
TS
224692012-05-10 Thomas Schwinge <thomas@schwinge.name>
22470
674cdbc7
TS
22471 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22472 * sysdeps/mach/hurd/configure: Regenerated.
22473 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22474 special-casing to...
22475 * sysdeps/gnu/configure.in: ... this new file.
22476 * sysdeps/unix/sysv/linux/configure: Regenerated.
22477 * sysdeps/gnu/configure: New generated file.
22478
8e41b99f
TS
22479 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22480 for Linux: use nsec instead of usec, as well as:
22481 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22482 members of type struct timespec.
22483 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22484 New macros.
22485 (struct stat64): Likewise.
22486 (_STATBUF_ST_NSEC): New macro.
22487 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22488
10589b4a
TS
22489 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22490 __strtoul_internal rather than strtoul.
22491
63643c85
PT
224922012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22493
22494 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22495 and reject them.
22496
3faebe6a
ST
224972012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22498
22499 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22500 which preserves existing values.
22501 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22502
c6474b07
PT
225032012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22504
22505 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22506 TIMEOUT values. Return EINVAL for NFDS values either negative or
22507 greater than FD_SETSIZE.
22508
1043890b
ST
225092012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22510
22511 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22512 allocated, call __vm_protect to finish enabling the existing space, and
22513 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22514 allocate the remainder.
22515
37ed8b9b
PT
225162012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22517
22518 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22519 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
22520
db653660
ST
225212012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22522
37ed8b9b
PT
22523 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22524 sysdeps/mach/hurd/readlink.c.
b29d4053 22525
db653660
ST
22526 * posix/tst-sysconf.c (posix_options): Only use
22527 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22528 _POSIX_SYNCHRONIZED_IO when they are defined
22529 * sysdeps/mach/hurd/bits/posix_opt.h:
22530 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22531 (_XOPEN_REALTIME): Undefine macro.
22532 (_XOPEN_REALTIME_THREADS): Undefine macro.
22533 (_XOPEN_SHM): Undefine macro.
22534 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22535 macro to -1.
22536 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22537 macro to -1.
22538 (_POSIX_ASYNC_IO): Undefine macro.
22539 (_POSIX_PRIORITIZED_IO): Undefine macro.
22540 (_POSIX_SPIN_LOCKS): Define macro to -1.
22541
ee16e894
ST
22542 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22543 SA_NODEFER, SA_RESETHAND.
22544 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22545 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22546 F_DUPFD_CLOEXEC.
22547
6103ae3b
TS
225482012-05-10 Thomas Schwinge <thomas@schwinge.name>
22549
22550 * elf/Makefile (pldd-modules): Define unconditionally.
22551
80b4e5f3
TS
225522012-05-10 Thomas Schwinge <thomas@schwinge.name>
22553
22554 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22555
edadcbd6
ST
225562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22557
22558 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22559 Return ENOENT when name is empty.
22560 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22561
80694780
TS
225622012-05-10 Thomas Schwinge <thomas@schwinge.name>
22563
1792c087
TS
22564 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22565
80694780
TS
22566 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22567
6b645f0d
ST
225682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22569
80694780
TS
22570 Fix mlock in all cases except non-readable pages.
22571 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22572 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 22573
6b645f0d
ST
22574 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22575 (__mkdir): When path is `/', just fail with EEXIST.
22576 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22577
e468f8a3
TS
225782012-05-10 Thomas Schwinge <thomas@schwinge.name>
22579
22580 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22581 <sys/uio.h> (for writev).
22582 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22583 and <sys/param.h> (for MIN).
22584
a4186cff
PT
225852012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22586
22587 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22588 REQUESTED_TIME. Properly set the remaining time and return EINTR
22589 if interrupted.
22590
510bbf14
TS
225912012-05-10 Thomas Schwinge <thomas@schwinge.name>
22592
22593 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22594 Depend on against $(link-rpcuserlibs).
22595
5d5722e8
ST
225962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22597
a4186cff
PT
22598 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22599 (__libc_stack_end): Do not use attribute_relro.
22600 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22601 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 22602 to libthread-provided value.
a4186cff
PT
22603 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22604 attribute_relro.
5d5722e8 22605
37233df9
TS
226062012-05-10 Thomas Schwinge <thomas@schwinge.name>
22607
be971a2b
TS
22608 [BZ #3748]
22609 * bits/libc-lock.h (__libc_once_get): New macro.
22610 * sysdeps/mach/bits/libc-lock.h: Likewise.
22611 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22612 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22613 instead of using implementation details.
22614
37233df9
TS
22615 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22616 * libio/freopen.c: Likewise.
22617 * libio/freopen64.c: Likewise.
22618 * misc/syslog.c: Likewise.
22619 * nscd/connections.c: Likewise.
22620 * nscd/netgroupcache.c: Likewise.
22621 * sysdeps/posix/getcwd.c: Likewise.
22622
38de94a5
RM
226232012-05-10 Roland McGrath <roland@hack.frob.com>
22624
22625 * math/w_ilogbf.c: Add #include <limits.h>.
22626
67530489
ST
226272012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22628
a4186cff 22629 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
22630 path instead of returning without unlocking.
22631
67530489
ST
22632 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22633 immediate-write ioctls.
22634 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22635
5aa3a74a
TS
226362012-05-10 Thomas Schwinge <thomas@schwinge.name>
22637
18bad2ae
TS
22638 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22639 __builtin_frame_address instead of making assumptions about the
22640 location of the return address relative to DATA. Force early load of
22641 the return address.
22642 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22643 __builtin_frame_address.
22644
5aa3a74a
TS
22645 dup3 for GNU Hurd.
22646 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22647 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22648 implement dup3 and do some further code clean-ups.
22649 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22650 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22651
ecd0de9a
ST
226522012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22653
cd9fa985
ST
22654 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22655
a4186cff
PT
22656 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22657 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22658 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22659 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22660 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22661 d->port.lock.
802ca5a5 22662
a4186cff
PT
22663 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22664 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22665 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 22666
bcf55240
TS
226672012-05-10 Thomas Schwinge <thomas@schwinge.name>
22668
6960eb42
TS
22669 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22670 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22671 definitions.
22672
eb43375f
TS
22673 accept4 for GNU Hurd.
22674 * include/sys/socket.h (__libc_accept4): New prototype.
22675 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22676 to implement __libc_accept4.
22677 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22678 __libc_accept4.
22679 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22680
bcf55240
TS
22681 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22682 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22683 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22684 signal-defines.sym.
22685
6178c55b
ST
226862012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22687
a4186cff 22688 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 22689
6f080c2f
TS
226902012-05-10 Thomas Schwinge <thomas@schwinge.name>
22691
22692 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22693 assertion on O_CLOEXEC flag.
22694 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22695 * hurd/intern-fd.c: Likewise.
22696 * hurd/port2fd.c: Likewise.
22697
bcfe3a54
ST
226982012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22699
22700 [BZ #3906]
22701 * bits/in.h (IPV6_PKTINFO): Define new macro.
22702 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22703
89c9aa49
AZ
227042012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22705
22706 [BZ #13954]
22707 [BZ #13955]
22708 [BZ #13956]
22709 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22710 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22711 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22712 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22713 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22714 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22715 * math/libm-test.inc (logb_test) : Additional logb tests.
22716
021db4be
AJ
227172012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22718 Andreas Jaeger <aj@suse.de>
22719
22720 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22721 * configure: Regenerated.
22722 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22723 * config.make.in (link-obsolete-rpc): New substituted variable.
22724 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22725 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22726 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22727 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22728 so that libc.a contains the symbols.
22729 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22730 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22731 * sunrpc/auth_none.c: Likewise.
22732 * sunrpc/auth_unix.c: Likewise.
22733 * sunrpc/authdes_prot.c: Likewise.
22734 * sunrpc/authuxprot.c: Likewise.
22735 * sunrpc/clnt_gen.c: Likewise.
22736 * sunrpc/clnt_perr.c: Likewise.
22737 * sunrpc/clnt_raw.c: Likewise.
22738 * sunrpc/clnt_simp.c: Likewise.
22739 * sunrpc/clnt_tcp.c: Likewise.
22740 * sunrpc/clnt_udp.c: Likewise.
22741 * sunrpc/clnt_unix.c: Likewise.
22742 * sunrpc/des_crypt.c: Likewise.
22743 * sunrpc/des_soft.c: Likewise.
22744 * sunrpc/get_myaddr.c: Likewise.
22745 * sunrpc/key_call.c: Likewise.
22746 * sunrpc/key_prot.c: Likewise.
22747 * sunrpc/netname.c: Likewise.
22748 * sunrpc/pm_getmaps.c: Likewise.
22749 * sunrpc/pm_getport.c: Likewise.
22750 * sunrpc/pmap_clnt.c: Likewise.
22751 * sunrpc/pmap_prot.c: Likewise.
22752 * sunrpc/pmap_prot2.c: Likewise.
22753 * sunrpc/pmap_rmt.c: Likewise.
22754 * sunrpc/publickey.c: Likewise.
22755 * sunrpc/rpc_cmsg.c: Likewise.
22756 * sunrpc/rpc_common.c: Likewise.
22757 * sunrpc/rpc_dtable.c: Likewise.
22758 * sunrpc/rpc_prot.c: Likewise.
22759 * sunrpc/rpc_thread.c: Likewise.
22760 * sunrpc/rtime.c: Likewise.
22761 * sunrpc/svc.c: Likewise.
22762 * sunrpc/svc_auth.c: Likewise.
22763 * sunrpc/svc_raw.c: Likewise.
22764 * sunrpc/svc_run.c: Likewise.
22765 * sunrpc/svc_tcp.c: Likewise.
22766 * sunrpc/svc_udp.c: Likewise.
22767 * sunrpc/svc_unix.c: Likewise.
22768 * sunrpc/svcauth_des.c: Likewise.
22769 * sunrpc/xcrypt.c: Likewise.
22770 * sunrpc/xdr.c: Likewise.
22771 * sunrpc/xdr_array.c: Likewise.
22772 * sunrpc/xdr_float.c: Likewise.
22773 * sunrpc/xdr_intXX_t.c: Likewise.
22774 * sunrpc/xdr_mem.c: Likewise.
22775 * sunrpc/xdr_rec.c: Likewise.
22776 * sunrpc/xdr_ref.c: Likewise.
22777 * sunrpc/xdr_sizeof.c: Likewise.
22778 * sunrpc/xdr_stdio.c: Likewise.
22779
b5c086a2
RM
227802012-05-10 Roland McGrath <roland@hack.frob.com>
22781
22782 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22783 change. Update copyright years.
22784
6d74dd09
JM
227852012-05-10 Joseph Myers <joseph@codesourcery.com>
22786
22787 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22788
28e72501
MK
227892012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22790 Joseph Myers <joseph@codesourcery.com>
22791 Paul Pluzhnikov <ppluzhnikov@google.com>
22792
22793 [BZ #14012]
22794 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22795 requiring rpcgen.
22796 [cross-compiling] (extra-libs): Likewise.
22797 [cross-compiling] (extra-libs-others): Likewise.
22798 [cross-compiling] (librpcsvc-routines): Likewise.
22799 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22800 [cross-compiling] (omit-deps): Likewise.
22801 (sunrpc-CPPFLAGS): New variable.
22802 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22803 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22804 (cross-rpcgen-objs): New variable.
22805 (extra-objs): Append $(cross-rpcgen-objs).
22806 ($(cross-rpcgen-objs)): New rule.
22807 ($(objpfx)cross-rpcgen): Likewise.
22808 (rpcgen-cmd): Define to use $(built-program-file). Expand
22809 comment.
22810 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22811 ($(objpfx)x%.stmp): Likewise.
22812 * sunrpc/proto.h [IS_IN_build] (_): Define.
22813 [IS_IN_build] (_libc_intl_domainname): Likewise.
22814
c8c59454
L
228152012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22816
22817 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22818 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22819 and R_X86_64_TPOFF64.
22820
6f27cd16
JM
228212012-05-10 Joseph Myers <joseph@codesourcery.com>
22822
22823 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22824 sysdeps/unix/sysv/syscalls.list.
22825 (stime): Likewise.
22826 (utime): Likewise.
22827 * sysdeps/unix/sysv/syscalls.list: Remove file.
22828
02467e1c
PE
228292012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22830
22831 [BZ #3440]
22832 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22833 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22834 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22835 (__LC_IDENTIFICATION): Make these macros useful in #if
22836 expressions, as required by C99.
22837
da392631
AS
228382012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22839
22840 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22841 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22842 after this.
22843
8115f29b
L
228442012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22845
22846 * stdlib/longlong.h: Updated from GCC.
22847
bdd74070
AJ
228482012-05-09 Andreas Jaeger <aj@suse.de>
22849
edfe0dbe
AJ
22850 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22851 default is first entry.
22852 (run_mode): Set type.
22853 (main): Remove informal message about syslog.
22854 (options): Fix typo.
22855
bcfe3a54
ST
22856 [BZ #14053]
22857 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 22858 to asm.
bcfe3a54
ST
22859 (lrint): Likewise.
22860 (llrintf): Likewise.
22861 (llrint): Likewise.
22862 (rint): Likewise.
22863 (rintf): Likewise.
22864 (nearbyint): Likewise.
22865 (nearbyintf): Likewise.
bdd74070 22866
91d8d69e
AJ
228672012-05-09 Andreas Jaeger <aj@suse.de>
22868 Pedro Alves <palves@redhat.com>
22869
22870 * nscd/nscd.c (run_mode): Use enum.
22871 (main): Cleanup coding style issue.
22872
bb90b80b
AJ
228732012-05-09 Alexandre Oliva <aoliva@redhat.com>
22874 Andreas Jaeger <aj@suse.de>
22875
bcfe3a54
ST
22876 * nscd/nscd.c (go_background): Replaced with...
22877 (run_mode): ... this.
bb90b80b 22878 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
22879 (options): Add -F --foreground.
22880 (main): Implement it.
22881 (parse_opt): Parse it.
bb90b80b 22882
1a4b75a1
AJ
228832012-05-09 Andreas Jaeger <aj@suse.de>
22884
22885 [BZ #14083]
22886 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22887 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22888 -Wconversion warning.
22889 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22890 Likewise.
22891
b1cc2472
JM
228922012-05-09 Joseph Myers <joseph@codesourcery.com>
22893
22894 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22895 == 0.
22896 (LC_ALL): Use macro-int-constant.
22897 (LC_COLLATE): Likewise.
22898 (LC_CTYPE): Likewise.
22899 (LC_MESSAGES): Likewise.
22900 (LC_MONETARY): Likewise.
22901 (LC_NUMERIC): Likewise.
22902 (LC_TIME): Likewise.
22903 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22904 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22905 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22906 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22907 Specify type.
22908 [C99-based standards] (float_t): Expect type.
22909 [C99-based standards] (double_t): Expect type.
22910 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
22911 type.
22912 [C99-based standards] (HUGE_VALL): Likewise.
22913 [C99-based standards] (INFINITY): Likewise.
22914 [C99-based standards] (NAN): Likewise.
22915 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22916 [C99-based standards] (FP_NAN): Likewise.
22917 [C99-based standards] (FP_NORMAL): Likewise.
22918 [C99-based standards] (FP_SUBNORMAL): Likewise.
22919 [C99-based standards] (FP_ZERO): Likewise.
22920 [C99-based standards] (FP_FAST_FMA): Use
22921 optional-macro-int-constant. Specify type. Require == 1.
22922 [C99-based standards] (FP_FAST_FMAF): Likewise.
22923 [C99-based standards] (FP_FAST_FMAL): Likewise.
22924 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22925 [C99-based standards] (FP_ILOGBNAN): Likewise.
22926 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22927 Specify type.
22928 [C99-based standards] (MATH_ERREXCEPT): Likewise.
22929 [C99-based standards] (math_errhandling): Specify type.
22930 [ISO99 || ISO11] (signgam): Do not allow.
22931 [non-C99-based standards] (copysignf): Do not allow.
22932 [non-C99-based standards] (exp2f): Likewise.
22933 [non-C99-based standards] (log2f): Likewise.
22934 [non-C99-based standards] (modff): Allow.
22935 [non-C99-based standards] (erff): Do not allow.
22936 [non-C99-based standards] (erfcf): Likewise.
22937 [non-C99-based standards] (gammaf): Likewise.
22938 [non-C99-based standards] (hypotf): Likewise.
22939 [non-C99-based standards] (j0f): Likewise.
22940 [non-C99-based standards] (j1f): Likewise.
22941 [non-C99-based standards] (jnf): Likewise.
22942 [non-C99-based standards] (lgammaf): Likewise.
22943 [non-C99-based standards] (tgammaf): Likewise.
22944 [non-C99-based standards] (y0f): Likewise.
22945 [non-C99-based standards] (y1f): Likewise.
22946 [non-C99-based standards] (ynf): Likewise.
22947 [non-C99-based standards] (isnanf): Likewise.
22948 [non-C99-based standards] (acoshf): Likewise.
22949 [non-C99-based standards] (asinhf): Likewise.
22950 [non-C99-based standards] (atanhf): Likewise.
22951 [non-C99-based standards] (cbrtf): Likewise.
22952 [non-C99-based standards] (expm1f): Likewise.
22953 [non-C99-based standards] (ilogbf): Likewise.
22954 [non-C99-based standards] (log1pf): Likewise.
22955 [non-C99-based standards] (logbf): Likewise.
22956 [non-C99-based standards] (nextafterf): Likewise.
22957 [non-C99-based standards] (remainderf): Likewise.
22958 [non-C99-based standards] (rintf): Likewise.
22959 [non-C99-based standards] (scalbf): Likewise.
22960 [non-C99-based standards] (copysignl): Likewise.
22961 [non-C99-based standards] (exp2l): Likewise.
22962 [non-C99-based standards] (log2l): Likewise.
22963 [non-C99-based standards] (modfl): Allow.
22964 [non-C99-based standards] (erfl): Do not allow.
22965 [non-C99-based standards] (erfcl): Likewise.
22966 [non-C99-based standards] (gammal): Likewise.
22967 [non-C99-based standards] (hypotl): Likewise.
22968 [non-C99-based standards] (j0l): Likewise.
22969 [non-C99-based standards] (j1l): Likewise.
22970 [non-C99-based standards] (jnl): Likewise.
22971 [non-C99-based standards] (lgammal): Likewise.
22972 [non-C99-based standards] (tgammal): Likewise.
22973 [non-C99-based standards] (y0l): Likewise.
22974 [non-C99-based standards] (y1l): Likewise.
22975 [non-C99-based standards] (ynl): Likewise.
22976 [non-C99-based standards] (isnanl): Likewise.
22977 [non-C99-based standards] (acoshl): Likewise.
22978 [non-C99-based standards] (asinhl): Likewise.
22979 [non-C99-based standards] (atanhl): Likewise.
22980 [non-C99-based standards] (cbrtl): Likewise.
22981 [non-C99-based standards] (expm1l): Likewise.
22982 [non-C99-based standards] (ilogbl): Likewise.
22983 [non-C99-based standards] (log1pl): Likewise.
22984 [non-C99-based standards] (logbl): Likewise.
22985 [non-C99-based standards] (nextafterl): Likewise.
22986 [non-C99-based standards] (remainderl): Likewise.
22987 [non-C99-based standards] (rintl): Likewise.
22988 [non-C99-based standards] (scalbl): Likewise.
22989 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22990 [non-C99-based standards] (FP_*): Do not allow.
22991 [C99-based standards] (FP_*): Change to
22992 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22993 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
22994 allow.
22995 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
22996 (SIG_ERR): Likewise.
22997 [X/Open-based standards] (SIG_HOLD): Likewise.
22998 (SIG_IGN): Likewise.
22999 (SIGABRT): Use macro-int-constant. Specify type. Require
23000 positive value.
23001 (SIGFPE): Likewise.
23002 (SIGILL): Likewise.
23003 (SIGINT): Likewise.
23004 (SIGSEGV): Likewise.
23005 (SIGTER): Likewise.
23006 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23007 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23008 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23009 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23010 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23011 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23012 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23013 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23014 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23015 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23016 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23017 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23018 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23019 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23020 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23021 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23022 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23023 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23024 [X/Open-based standards] (SIGTRAP): Likewise.
23025 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23026 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23027 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23028 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23029 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23030 allow.
23031
b9f1922d
IW
230322012-05-08 Ian Wienand <ianw@vmware.com>
23033
23034 [BZ #14080]
23035 * time/tzset.c (__tzset_parse_tz): Update default rules for
23036 daylight time changes in the Energy Policy Act of 2005.
23037
1db86e88
AJ
230382012-05-09 Andreas Jaeger <aj@suse.de>
23039
23040 [BZ #13983]
23041 * elf/ldconfig.c (parse_conf): Change string to make clear that
23042 ldconfig only issued a warning if ld.so.conf does not exist.
23043
dee4a4e3
DM
230442012-05-08 David S. Miller <davem@davemloft.net>
23045
ee0db190
DM
23046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23047 movxtod instead of popping the value on the stack.
23048
dee4a4e3
DM
23049 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23050
6a43ec98
CD
230512012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
23052
23053 * config.h.in: Add HAVE_ARM_PCS_VFP.
23054
05c2c961
RMG
230552012-05-08 Roland Mc Grath <roland@hack.frob.com>
23056
bcfe3a54
ST
23057 [BZ #13979]
23058 * include/features.h: Warn if user requests __FORTIFY_SOURCE
23059 checking but the checks are disabled for any reason.
05c2c961 23060
4b30f61a
L
230612012-05-08 H.J. Lu <hongjiu.lu@intel.com>
23062
23063 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23064 and ELF64_R_TYPE with ELFW(R_TYPE).
23065
eee2bc67
JM
230662012-05-08 Joseph Myers <joseph@codesourcery.com>
23067
7ea5391a
JM
23068 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23069 (ulimit): Likewise.
23070
eee2bc67
JM
23071 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23072 (settimeofday): Likewise.
23073
abb66a67
MF
230742012-05-08 Mike Frysinger <vapier@gentoo.org>
23075
23076 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
23077 a struct th_u2 inside the union, and move tu_block/tu_code into
23078 a new th_u3 union of tu_block/tu_code inside of that. Move
23079 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
23080 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
23081 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23082 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23083 (th_stuff): Change to th_u1.tu_stuff.
23084 (th_data): Define.
23085 (th_msg): Change to th_u1.th_u2.tu_data.
23086
7f18b530
DM
230872012-05-07 David S. Miller <davem@davemloft.net>
23088
05760585
DM
23089 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23090
7f18b530
DM
23091 [BZ #14074]
23092 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23093 (SETUP_PIC_REG): Use it.
23094 (SETUP_PIC_REG_LEAF): Use it.
23095
495fd99f
JM
230962012-05-07 Joseph Myers <joseph@codesourcery.com>
23097
23098 [BZ #13885]
23099 [BZ #13923]
23100 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23101 USE_AS_EXPM1L.
23102 (EXPL_FINITE): Likewise.
23103 (FLDLOG): Likewise.
23104 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23105 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23106 e_expl.S.
23107 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23108 USE_AS_EXPM1L.
23109 (EXPL_FINITE): Likewise.
23110 (FLDLOG): Likewise.
23111 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23112 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23113 e_expl.S.
23114 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
23115 test of -max_value argument for long double.
23116 * sysdeps/i386/fpu/libm-test-ulps: Update.
23117 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23118
6693d694
DM
231192012-05-06 David S. Miller <davem@davemloft.net>
23120
23121 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23122 quad soft-float symbols whose references which are compiler
23123 generated.
23124 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23125
6c23e11c
JM
231262012-05-06 Joseph Myers <joseph@codesourcery.com>
23127
d8b82cad
JM
23128 [BZ #13884]
23129 [BZ #13914]
23130 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23131 USE_AS_EXP10L.
23132 (EXPL_FINITE): Likewise.
23133 (FLDLOG): Likewise.
23134 (c0): Likewise.
23135 (c1): Likewise.
23136 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23137 Adjust comments for base varying.
23138 (__expl_finite): Change alias to EXPL_FINITE.
23139 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23140 e_expl.S.
23141 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23142 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23143 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23144 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23145 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23146 USE_AS_EXP10L.
23147 (EXPL_FINITE): Likewise.
23148 (FLDLOG): Likewise.
23149 (c0): Likewise.
23150 (c1): Likewise.
23151 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23152 Adjust comments for base varying.
23153 (__expl_finite): Change alias to EXPL_FINITE.
23154 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
23155 tests for bugs.
23156 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23157
6c23e11c
JM
23158 [BZ #14064]
23159 * math/libm-test.inc (check_float_internal): Correct ulp
23160 calculation for subnormal expected results.
23161
29ba805c
AJ
231622012-05-06 Andreas Jaeger <aj@suse.de>
23163
23164 * Makeconfig (+math-flags): New, set to -frounding-math.
23165 (+cflags): Add +math-flags so that all of glibc gets compiled with
23166 it.
23167
23168 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23169
7b17aeda
JM
231702012-05-05 Joseph Myers <joseph@codesourcery.com>
23171
5779f134
JM
23172 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23173 Disable one test.
23174
41498f4d
JM
23175 [BZ #13787]
23176 [BZ #13922]
23177 [BZ #14036]
23178 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23179 (__ieee754_expl): Allow for and saturate large arguments.
23180 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23181 (u_threshold): Likewise.
23182 (__exp): Call __ieee754_exp before checking for overflow and
23183 underflow.
23184 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23185 (u_threshold): Likewise.
23186 (__expf): Call __ieee754_expf before checking for overflow and
23187 underflow.
23188 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23189 (u_threshold): Likewise.
23190 (__expl): Call __ieee754_expl before checking for overflow and
23191 underflow.
23192 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23193 (__ieee754_expl): Allow for and saturate large arguments.
23194 * math/libm-test.inc (exp_test): Add another test. Do not allow
23195 missing overflow exception on overflow.
23196 (expm1_test): Do not allow missing overflow exception on overflow.
23197
6698b8bf
JM
23198 * sysdeps/i386/fpu/e_expl.c: Move to ...
23199 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
23200 rather than using inline asm.
23201 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23202 * sysdeps/x86_64/fpu/e_expl.S: Copy from
23203 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23204
7b17aeda
JM
23205 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23206 (nice): Likewise.
23207 (poll): Likewise.
23208 (signal): Likewise.
23209 (time): Likewise.
23210 (times): Likewise.
23211
f7c85819
JM
232122012-05-04 Joseph Myers <joseph@codesourcery.com>
23213
23214 * sysdeps/unix/syscalls.list (adjtime): Add entry from
23215 sysdeps/unix/common/syscalls.list.
23216 (fchmod): Likewise.
23217 (fchown): Likewise.
23218 (ftruncate): Likewise.
23219 (getrusage): Likewise.
23220 (gettimeofday): Likewise.
23221 (setpgid): Likewise.
23222 (setregid): Likewise.
23223 (setreuid): Likewise.
23224 (sigaction): Likewise.
23225 (truncate): Likewise.
23226 (vhangup): Likewise.
23227 * sysdeps/unix/common/syscalls.list: Remove file.
23228 * sysdeps/unix/bsd/Implies: Don't include unix/common.
23229 * sysdeps/unix/sysv/linux/Implies: Likewise.
23230
336270d0
L
232312012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23232
23233 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23234 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23235 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23236 Moved to ...
23237 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23238 Here.
23239 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23240 to ...
23241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23242 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23243 to ...
23244 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23245 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23246 to ...
23247 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23248 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23249 to ...
23250 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23251 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23252 to ...
23253 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23254 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23255 to ...
23256 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23257 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23258 to ...
23259 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23260 Here.
23261 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23262 to ...
23263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23264 Here.
23265 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23266 to ...
23267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23268 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23269 Moved to ...
23270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23271 Here.
23272 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23273 to ...
23274 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23275
d128e450
JM
232762012-05-04 Joseph Myers <joseph@codesourcery.com>
23277
fa8ee516
JM
23278 * sysdeps/unix/common/bits/dirent.h: Remove file.
23279 * sysdeps/unix/common/bits/fcntl.h: Likewise.
23280
d128e450
JM
23281 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23282 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23283 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23284 * sysdeps/unix/bsd/isatty.c: Likewise.
23285 * sysdeps/unix/bsd/tcdrain.c: Likewise.
23286 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23287 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23288
ff8faaf0 232892012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 23290
62881be4 23291 [BZ #13563]
31dc8730
AZ
23292 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23293 long double comparison inaccuracies.
23294 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23295 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23296
6fef930c
AS
232972012-05-04 Andreas Schwab <schwab@linux-m68k.org>
23298
23299 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23300 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23301
8f203e6c
JM
233022012-05-04 Joseph Myers <joseph@codesourcery.com>
23303
23304 [BZ #14049]
23305 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23306 nonzero digits before rounding a hex value.
23307 * stdlib/tst-strtod.c (tests): Add another test.
23308
5197d9c2
AK
233092012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23310
23311 * sysdeps/s390/fpu/libm-test-ulps: Update.
23312
f0c1dedf
AJ
233132012-05-03 Andreas Jaeger <aj@suse.de>
23314
23315 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23316 does not get optimized out.
23317 (malloc_opt_barrier): New.
23318
a65ef2ae 233192012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 23320 Roland McGrath <roland@hack.frob.com>
a65ef2ae 23321
2b942cb7 23322 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 23323 intermediate file deletion.
2b942cb7 23324 (generated): Add .symlist files.
a65ef2ae 23325
54b71e02
JM
233262012-05-03 Joseph Myers <joseph@codesourcery.com>
23327
23328 [BZ #13775]
23329 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23330 Redirect under this condition.
23331 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23332 [__USE_GNU] (__dprintf_chk): Not under this condition.
23333 [__USE_GNU] (__vdprintf_chk): Likewise.
23334 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23335 under this condition.
23336 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23337 [__USE_XOPEN2K8] (dprintf): Define under this condition.
23338 [__USE_XOPEN2K8] (vdprintf): Likewise.
23339 [__USE_GNU] (__dprintf_chk): Not under this condition.
23340 [__USE_GNU] (__vdprintf_chk): Likewise.
23341 [__USE_GNU] (dprintf): Likewise.
23342 [__USE_GNU] (vdprintf): Likewise.
23343
d3dfcc41
RM
233442012-05-03 Roland McGrath <roland@hack.frob.com>
23345
23346 * elf/Makefile (common-generated): Set this instead of generated for
23347 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
23348 $(all-built-dso)-derived lists.
23349
7ac30cc5
AJ
233502012-05-03 Andreas Jaeger <aj@suse.de>
23351
0c51e550
AJ
23352 * sysdeps/i386/fpu/libm-test-ulps: Update.
23353
7ac30cc5
AJ
23354 * FAQ: Removed.
23355 * FAQ.in: Likewise.
23356 * scripts/gen-FAQ.pl: Likewise.
23357 * manual/install.texi (Installation): Point to online location of
23358 FAQ.
23359 * Makefile (files-for-dist): Remove FAQ.
23360 (FAQ): Remove.
23361
d4c2917f
AM
233622012-05-02 Allan McRae <allan@archlinux.org>
23363
23364 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23365 (LDFLAGS-reldepmod5.so): Likewise.
23366 (LDFLAGS-reldep6mod1.so): Likewise.
23367 (LDFLAGS-reldep6mod4.so): Likewise.
23368 (LDFLAGS-reldep8mod3.so): Likewise.
23369 (LDFLAGS-unload4mod1.so): Likewise.
23370 (LDFLAGS-unload4mod2.so): Likewise.
23371 (LDFLAGS-tst-initorder): Likewise.
23372 (LDFLAGS-tst-initordera2.so): Likewise.
23373 (LDFLAGS-tst-initordera3.so): Likewise.
23374 (LDFLAGS-tst-initordera4.so): Likewise.
23375 (LDFLAGS-tst-initorderb2.so): Likewise.
23376 (LDFLAGS-noload): Likewise.
23377 (LDFLAGS-next): Likewise.
23378 (LDFLAGS-order2mod1.so): Likewise.
23379 (LDFLAGS-order2mod2.so): Likewise.
23380 (LDFLAGS-tst-initorder2): Likewise.
23381 (LDFLAGS-tst-initorder2a.so): Likewise.
23382 (LDFLAGS-tst-initorder2b.so): Likewise.
23383 (LDFLAGS-tst-initorder2c.so): Likewise.
23384 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
23385
d77f993f
DM
233862012-05-02 David S. Miller <davem@davemloft.net>
23387
23388 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23389
171a70b4
PP
233902012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
23391
23392 [BZ #14055]
23393 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23394
0be196ad
AJ
233952012-05-02 Andreas Jaeger <aj@suse.de>
23396
23397 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23398 since we manipulate rounding mode.
23399 (CPPFLAGS-test-idouble.c): Likewise.
23400 (CPPFLAGS-test-ifloat.c): Likewise.
23401 (CFLAGS-test-ldouble.c): Likewise.
23402 (CFLAGS-test-double.c): Likewise.
23403 (CFLAGS-test-float.c): Likewise.
23404 (CFLAGS-test-misc.c): Likewise.
23405 (CFLAGS-test-test-fenv.c): Likewise.
23406
4f9d04aa
AZ
234072012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23408
2b942cb7
RM
23409 [BZ #2550]
23410 [BZ #2570]
23411 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23412 comparisons to determine direction to adjust input.
4f9d04aa 23413
82a79e7d
RM
234142012-05-01 Roland McGrath <roland@hack.frob.com>
23415
f5a01ca9
RM
23416 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23417 output to the target.
23418
90fe4186
RM
23419 * scripts/localplt.awk: New file.
23420 * elf/Makefile ($(objpfx)check-localplt): Target removed.
23421 (check-localplt-CFLAGS): Variable removed.
23422 ($(all-built-dso:=.jmprel)): New static pattern rule.
23423 (generated): Add those targets.
23424 (localplt-built-dso): New variable.
23425 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23426
23427 * elf/check-localplt.c: File removed.
23428
82397ed6
RM
23429 * scripts/check-execstack.awk: New file.
23430 * elf/Makefile ($(objpfx)check-execstack): Target removed.
23431 (check-execstack-CFLAGS): Variable removed.
23432 ($(objpfx)check-execstack.h): Target removed.
23433 ($(objpfx)execstack-default): New target.
23434 (generated): Add that instead of check-execstack.h.
23435 ($(all-built-dso:=.phdr)): New static pattern rule.
23436 (generated): Add those targets.
23437 * elf/check-execstack.c: File removed.
23438
82a79e7d
RM
23439 * scripts/check-textrel.awk: New file.
23440 * elf/Makefile ($(objpfx)check-textrel): Target removed.
23441 (check-textrel-CFLAGS): Variable removed.
23442 (all-built-dso): Use := to define.o
23443 ($(all-built-dso:=.dyn)): New static pattern rule.
23444 (generated): Add those targets.
23445 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23446 * config.make.in (READELF): New substituted variable.
23447 * elf/check-textrel.c: File removed.
23448
62fde54f 234492012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 23450
615605c9
JM
23451 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23452 allow.
23453 * conform/data/ctype.h-data [C99-based standards] (isblank):
23454 Expect function.
23455 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23456 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23457 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23458 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23459 Specify type. Require positive value.
23460 (EILSEQ): Likewise.
23461 (ERANGE): Likewise.
23462 [ISO || POSIX] (EILSEQ): Do not expect.
23463 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23464 Specify type. Require positive value.
23465 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23466 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23467 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23468 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23469 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23470 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23471 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23472 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23473 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23474 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23475 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23476 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23477 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23478 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23479 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23480 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23481 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23482 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23483 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23484 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23485 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23486 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23487 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23488 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23489 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23490 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23491 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23492 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23493 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23494 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23495 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23496 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23497 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23498 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23499 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23500 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23501 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23502 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23503 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23504 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23505 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23506 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23507 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23508 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23509 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23510 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23511 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23512 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23513 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23514 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23515 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23516 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23517 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23518 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23519 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23520 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23521 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23522 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23523 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23524 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23525 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23526 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23527 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23528 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23529 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23530 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23531 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23532 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23533 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23534 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23535 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23536 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23537 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23538 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23539 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23540 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23541 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23542 Require >= 2.
23543 (FLT_ROUNDS): Expect as macro, not constant.
23544 (FLT_MANT_DIG): Use macro-int-constant.
23545 (DBL_MANT_DIG): Likewise.
23546 (LDBL_MANT_DIG): Likewise.
23547 (FLT_DIG): Likewise.
23548 (DBL_DIG): Likewise.
23549 (LDBL_DIG): Likewise.
23550 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23551 (DBL_MIN_EXP): Likewise.
23552 (LDBL_MIN_EXP): Likewise.
23553 (FLT_MAX_EXP): Use macro-int-constant.
23554 (DBL_MAX_EXP): Likewise.
23555 (LDBL_MAX_EXP): Likewise.
23556 (FLT_MAX_10_EXP): Likewise.
23557 (DBL_MAX_10_EXP): Likewise.
23558 (LDBL_MAX_10_EXP): Likewise.
23559 (FLT_MAX): Use macro-constant.
23560 (DBL_MAX): Likewise.
23561 (LDBL_MAX): Likewise.
23562 (FLT_EPSILON): Use macro-constant. Give upper bound.
23563 (DBL_EPSILON): Likewise.
23564 (LDBL_EPSILON): Likewise.
23565 (FLT_MIN): Likewise.
23566 (DBL_MIN): Likewise.
23567 (LDBL_MIN): Likewise.
23568 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23569 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23570 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23571 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23572 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23573 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23574 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23575 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23576 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23577 [ISO11] (FLT_TRUE_MIN): Likewise.
23578 [ISO11] (LDBL_TRUE_MIN): Likewise.
23579 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23580 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23581 (SCHAR_MIN): Use macro-int-constant. Specify type.
23582 (SCHAR_MAX): Likewise.
23583 (UCHAR_MAX): Likewise.
23584 (CHAR_MIN): Likewise.
23585 (CHAR_MAX): Likewise.
23586 (MB_LEN_MAX): Use macro-int-constant.
23587 (SHRT_MIN): Use macro-int-constant. Specify type.
23588 (SHRT_MAX): Likewise.
23589 (USHRT_MAX): Likewise.
23590 (INT_MAX): Likewise.
23591 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23592 bound negative.
23593 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23594 bound with "U".
23595 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23596 bound with "L".
23597 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23598 bound negative. Suffix upper bound with "L".
23599 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23600 bound with "UL".
23601 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23602 Specify type.
23603 [C99-based standards] (LLONG_MAX): Likewise.
23604 [C99-based standards] (ULLONG_MAX): Likewise.
23605 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23606 == 0.
23607 [ISO11] (max_align_t): Require type.
23608 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23609
c9140a62
JM
23610 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23611 from $CFLAGS, without defining away __attribute__ calls.
23612 (checknamespace): Use $CFLAGS_namespace.
23613
9af0bf29
JM
23614 * conform/conformtest.pl (@keywords): Only include C99 keywords
23615 for standards based on C99 or C11.
23616
343222a2
JM
23617 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23618 Disable tests.
23619 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23620 UNIX98]: Likewise.
23621
661f8cf0
JM
23622 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23623 usability of symbols in #if.
23624
ee74b9cb
JM
23625 * conform/conformtest.pl: If macro or constant types start
23626 "promoted:", expect the symbol to be of the following type
23627 promoted by the integer promotions.
62fde54f 23628
aafc49b3
JM
23629 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23630 in one place. Also handle "macro-constant".
23631
fefdf574
JM
23632 * conform/conformtest.pl: Only accept expected macro values with
23633 "==". Parse all "macro" lines in one place.
23634 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23635
f2d922fe
JM
23636 * conform/conformtest.pl: Handle braced types on "constant" lines
23637 instead of handling "typed-constant".
23638 * conform/data/signal.h-data: Use "constant" instead of
23639 "typed-constant".
23640
d22956c9
JM
23641 * conform/conformtest.pl: Handle "optional-" at start of lines in
23642 one place rather than duplicating several cases. Handle each
23643 format of "macro" line with initial "optional-".
23644
028e2e38
JM
23645 * conform/conformtest.pl: Only accept expected constant or
23646 optional-constant values with "==". Parse all "constant" lines in
23647 one place. Parse all "optional-constant" lines in one place.
23648 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23649 * conform/data/fmtmsg.h-data: Likewise.
23650 * conform/data/netinet/in.h-data: Likewise.
23651 * conform/data/tar.h-data: Likewise.
23652 * conform/data/limits.h-data: Use "==" form on "constant" and
23653 "optional-constant" lines.
23654
1b8f2850
JM
23655 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23656 Use -std=c99 for XOPEN2K.
23657 (@knownproblems): Remove.
23658 (newtoken): Don't check %isknown.
23659
a05a144b
JM
23660 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23661 Do not expect macro.
23662 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23663 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23664 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23665 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23666 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23667 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23668 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23669 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23670 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23671 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23672 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23673 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23674 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23675 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23676 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23677 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23678 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23679 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23680 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23681 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23682 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23683 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23684 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23685 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23686 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23687 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23688 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23689 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23690 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23691 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23692 [XPG3] (acosh): Likewise.
23693 [XPG3] (asinh): Likewise.
23694 [XPG3] (atanh): Likewise.
23695 [XPG3] (cbrt): Likewise.
23696 [XPG3] (expm1): Likewise.
23697 [XPG3] (ilogb): Likewise.
23698 [XPG3] (log1p): Likewise.
23699 [XPG3] (logb): Likewise.
23700 [XPG3] (nextafter): Likewise.
23701 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23702 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23703 [XPG3] (remainder): Likewise.
23704 [XPG3] (rint): Likewise.
23705 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23706 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23707 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23708 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23709 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23710 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23711 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23712 [UNIX98 || XOPEN2K] (scalb): Expect.
23713 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23714 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23715 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23716 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23717 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23718 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23719 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23720 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23721 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23722 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23723 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23724 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23725 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23726 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23727 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23728 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23729 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23730 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23731 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23732 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23733 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23734 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23735 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23736 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23737 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23738 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23739 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23740 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23741 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23742 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23743 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23744 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23745 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23746 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23747 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23748 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23749 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23750 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23751 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23752 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23753 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23754 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23755 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23756 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23757 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23758 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23759 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23760 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23761 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23762 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23763 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23764 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23765 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23766 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23767 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23768 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23769 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23770 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23771 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23772 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23773 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23774 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23775 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23776 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23777 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23778 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23779 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23780 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23781 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23782 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23783 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23784 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23785 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23786 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23787 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23788 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23789 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23790 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23791 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23792 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23793 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23794 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23795 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23796 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23797 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23798 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23799 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23800 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23801 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23802 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23803 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23804 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23805 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23806 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23807 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23808 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23809 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23810 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23811 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23812 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23813 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23814 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23815 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23816 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23817 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23818 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23819 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23820 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23821 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23822 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23823 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23824 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23825 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23826 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23827 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23828 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23829 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23830 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23831 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23832 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23833 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23834 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23835 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23836 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23837 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23838 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23839 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23840 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23841 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23842 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23843 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23844 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23845 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23846 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23847 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23848 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23849 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23850
73c5ebe3
JM
23851 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23852 _XOPEN_SOURCE_EXTENDED for XPG4.
23853
39c33b6c
JM
23854 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23855
62fde54f
JM
23856 * Makeconfig (localtime): Remove variable.
23857 (inst_localtime-file): Likewise.
23858
0741d64c
AS
238592012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23860
23861 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23862 Update.
23863 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23864 Update.
23865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23866 Update.
23867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23868 Update.
23869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23870 Update.
23871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23872 Update.
23873 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23874 Update.
23875 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23876 Update.
23877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23878 Update.
23879
7cb029ee
JM
238802012-05-01 Joseph Myers <joseph@codesourcery.com>
23881
23882 [BZ #2550]
23883 [BZ #2570]
23884 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23885 comparisons to determine direction to adjust input.
23886 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23887 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23888 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23889 Likewise.
23890 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23891 Likewise.
23892 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23893 Likewise.
23894 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23895 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23896 Likewise.
23897 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23898 Likewise.
23899 * math/libm-test.inc (nexttoward_test): Add more tests.
23900
412bd966
AS
239012012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23902
23903 [BZ #14040]
23904 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23905 in version GLIBC_2.1, not GLIBC_2.0.
23906 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23907 Likewise.
23908
9568c0c2
JM
239092012-04-30 Joseph Myers <joseph@codesourcery.com>
23910
adfbc8ac
JM
23911 [BZ #13942]
23912 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23913 (1 - x) * (1 + x).
23914 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23915 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23916 * math/libm-test.inc (acos_test): Add more tests.
23917 (asin_test): Likewise.
23918 * sysdeps/i386/fpu/libm-test-ulps: Update.
23919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23920
5ba3cc69
JM
23921 [BZ #14034]
23922 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23923 of square root.
23924 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23925 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23926 * math/libm-test.inc (acos_test_tonearest): New function.
23927 (acos_test_towardzero): Likewise.
23928 (acos_test_downward): Likewise.
23929 (acos_test_upward): Likewise.
23930 (asin_test_tonearest): Likewise.
23931 (asin_test_towardzero): Likewise.
23932 (asin_test_downward): Likewise.
23933 (asin_test_upward): Likewise.
23934 (main): Call the new functions.
23935 * sysdeps/i386/fpu/libm-test-ulps: Update.
23936 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23937
9568c0c2
JM
23938 [BZ #13884]
23939 [BZ #13924]
23940 * math/e_exp10.c: Include <float.h>.
23941 (__ieee754_exp10): Handle underflow here rather than multiplying
23942 large negative argument by M_LN10.
23943 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23944 of __ieee754_expf.
23945 * math/e_exp10l.c: Include <float.h>.
23946 (__ieee754_exp10l): Handle underflow here rather than multiplying
23947 large negative argument by M_LN10l.
23948 * math/libm-test.inc (exp10_test): Add another test. Do not allow
23949 spurious overflow exception on underflow.
23950
5ac3ea17
MP
239512012-04-29 Marek Polacek <polacek@redhat.com>
23952
23953 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23954 (__fortify_function): New macro.
23955 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23956 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23957 __extern_always_inline.
23958 * libio/bits/stdio2.h: Likewise.
23959 * libio/bits/stdio.h: Likewise.
23960 * string/string.h: Likewise.
23961 * string/bits/string3.h: Likewise.
23962 * include/stdio.h: Likewise.
23963 * stdlib/bits/stdlib.h: Likewise.
23964 * stdlib/stdlib.h: Likewise.
23965 * rt/bits/mqueue2.h: Likewise.
23966 * rt/mqueue.h: Likewise.
23967 * posix/bits/unistd.h: Likewise.
23968 * posix/unistd.h: Likewise.
23969 * io/bits/poll2.h: Likewise.
23970 * io/bits/fcntl2.h: Likewise.
23971 * io/fcntl.h: Likewise.
23972 * io/sys/poll.h: Likewise.
23973 * misc/bits/syslog.h: Likewise.
23974 * misc/bits/syslog-ldbl.h: Likewise.
23975 * misc/sys/syslog.h: Likewise.
23976 * socket/bits/socket2.h: Likewise.
23977 * socket/sys/socket.h: Likewise.
23978 * debug/tst-chk1.c: Likewise.
23979 * wcsmbs/bits/wchar2.h: Likewise.
23980 * wcsmbs/bits/wchar-ldbl.h: Likewise.
23981 * wcsmbs/wchar.h: Likewise.
23982
ecf0ebfb
AJ
239832012-04-29 Andreas Jaeger <aj@suse.de>
23984
23985 * Makerules (tests): Remove enable-check-abi protection.
23986 (check-abi-warn): Remove.
23987 (check-abi-%): Remove check-abi-warn usage.
23988
23989 * configure.in: Remove check-abi configure option.
23990 * configure: Regenerated.
23991 * config.make.in (enable-check-abi): Remove.
23992
6d5c57fa
AS
239932012-04-28 Andreas Schwab <schwab@linux-m68k.org>
23994
24c5d07e 23995 [BZ #14033]
ded5180a
AS
23996 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
23997 double functions to double *_finite functions.
23998
7e0d315d
AS
23999 [BZ #13941]
24000 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24001 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24002 LDBL_MIN_EXP.
24003 * stdio-common/Makefile (tests): Add tst-sprintf3.
24004 * stdio-common/tst-sprintf3.c: New file.
24005
6d5c57fa
AS
24006 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24007 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24008
0749ff8b
JM
240092012-04-28 Joseph Myers <joseph@codesourcery.com>
24010
24011 * conform/conformtest.pl: Remove duplicate typed-constant
24012 handling.
24013
8dbd5d7b
DM
240142012-04-28 David S. Miller <davem@davemloft.net>
24015
24016 * Makerules (%.abilist): Add vpath on sysdep_dirs.
24017 (check-abi-%): Remove AWK script prerequisite and explicit
24018 abilist directory.
24019 (check-abi): Rewrite to just diff the symlist with the abilist.
24020 (config-tls, config-abi-config): Delete, no longer used.
24021 (update-abi-%): Remove AWK script and explicit abilist directory.
24022 (update-abi): Rewrite to simply compare and conditionally copy the
24023 symlist and the sysdep abilist file. Remove update-abi-config
24024 checks.
24025 * abilist/ld.abilist: Remove.
24026 * abilist/libBrokenLocale.abilist: Remove.
24027 * abilist/libanl.abilist: Remove.
24028 * abilist/libcrypt.abilist: Remove.
24029 * abilist/libdl.abilist: Remove.
24030 * abilist/librt.abilist: Remove.
24031 * abilist/libthread_db.abilist: Remove.
24032 * abilist/libutil.abilist: Remove.
24033 * scripts/extract-abilist.awk: Remove.
24034 * scripts/merge-abilist.awk: Remove.
24035 * sysdeps/generic/libcidn.abilist: New file.
24036 * sysdeps/generic/libnss_compat.abilist: New file.
24037 * sysdeps/generic/libnss_db.abilist: New file.
24038 * sysdeps/generic/libnss_dns.abilist: New file.
24039 * sysdeps/generic/libnss_files.abilist: New file.
24040 * sysdeps/generic/libnss_hesiod.abilist: New file.
24041 * sysdeps/generic/libnss_nis.abilist: New file.
24042 * sysdeps/generic/libnss_nisplus.abilist: New file.
24043 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24044 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24045 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24046 file.
24047 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24048 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24049 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24050 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24051 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24052 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24053 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24054 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24055 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24056 file.
24057 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24058 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24059 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24060 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24061 file.
24062 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24063 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24064 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24065 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24066 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24067 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24068 file.
24069 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24070 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24071 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24072 file.
24073 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24074 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24075 New file.
24076 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24077 New file.
24078 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24079 New file.
24080 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24081 New file.
24082 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24083 New file.
24084 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24085 New file.
24086 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24087 New file.
24088 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24089 New file.
24090 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24091 New file.
24092 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24093 New file.
24094 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24095 New file.
24096 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24097 New file.
24098 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24099 New file.
24100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24101 file.
24102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24103 New file.
24104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24105 New file.
24106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24107 file.
24108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24109 New file.
24110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24111 New file.
24112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24113 file.
24114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24115 New file.
24116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24117 New file.
24118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24119 New file.
24120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24121 New file.
24122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24123 New file.
24124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24125 New file.
24126 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24128 file.
24129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24130 New file.
24131 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24132 file.
24133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24134 file.
24135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24136 file.
24137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24138 file.
24139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24140 file.
24141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24142 New file.
24143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24144 file.
24145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24146 file.
24147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24148 New file.
24149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24150 file.
24151 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24152 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24153 file.
24154 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24155 New file.
24156 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24157 file.
24158 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24159 file.
24160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24161 file.
24162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24163 file.
24164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24165 file.
24166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24167 New file.
24168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24169 file.
24170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24171 file.
24172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24173 New file.
24174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24175 file.
24176 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24177 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24178 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24179 file.
24180 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24181 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24182 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24183 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24184 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24185 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24186 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24187 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24188 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24189 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24190 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24191 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24192 file.
24193 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24194 New file.
24195 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24196 file.
24197 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24198 file.
24199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24200 file.
24201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24202 file.
24203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24204 file.
24205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24206 New file.
24207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24208 New file.
24209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24210 file.
24211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24212 New file.
24213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24214 file.
24215 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24216 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24217 file.
24218 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24219 New file.
24220 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24221 file.
24222 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24223 file.
24224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24225 file.
24226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24227 file.
24228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24229 file.
24230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24231 New file.
24232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24233 New file.
24234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24235 file.
24236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24237 New file.
24238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24239 file.
24240
41d73a1b
JM
242412012-04-28 Joseph Myers <joseph@codesourcery.com>
24242
24243 * conform/conformtest.pl: Fix typo in handling typed-constant from
24244 allow-header.
24245
28aeeda4
JM
242462012-04-27 Joseph Myers <joseph@codesourcery.com>
24247
adae8f5e
JM
24248 * README: Cut down references to pre-2.6 Linux kernels and
24249 Linuxthreads. Update lists of configurations in libc and ports
24250 and sort alphabetically. Say "or newer" with Linux kernel version
24251 requirements.
24252
28aeeda4
JM
24253 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24254
a462cb63
RA
242552012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24256
24257 [BZ #887]
24258 * math/libm-test.inc (logb_test_downward): New test to expose
24259 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24260 rounding mode.
24261
6ad3493e
JM
242622012-04-27 Joseph Myers <joseph@codesourcery.com>
24263
24264 [BZ #14027]
24265 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24266 to be done.
24267 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24268 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24269
2ce4f015
JM
242702012-04-26 Joseph Myers <joseph@codesourcery.com>
24271
5aeb141a
JM
24272 * sysdeps/unix/i386/brk.S: Remove file.
24273 * sysdeps/unix/i386/dl-brk.S: Likewise.
24274 * sysdeps/unix/i386/pipe.S: Likewise.
24275 * sysdeps/unix/i386/sigreturn.S: Likewise.
24276 * sysdeps/unix/i386/syscall.S: Likewise.
24277 * sysdeps/unix/i386/vfork.S: Likewise.
24278 * sysdeps/unix/i386/wait.S: Likewise.
24279
7143acae
JM
24280 * sysdeps/unix/common/tcsendbrk.c: Move to ...
24281 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24282
2ce4f015
JM
24283 * configure.in (arm*-none*): Do not allow without
24284 --enable-hacker-mode.
24285 (netbsd*): Remove case setting base_os.
24286 (386bsd*): Likewise.
24287 (freebsd*): Likewise.
24288 (bsdi*): Likewise.
24289 (osf*): Likewise.
24290 (sunos*): Likewise.
24291 (ultrix*): Likewise.
24292 (newsos*): Likewise.
24293 (dynix*): Likewise.
24294 (*bsd*): Likewise.
24295 (sysv*): Likewise.
24296 (isc*): Likewise.
24297 (esix*): Likewise.
24298 (sco*): Likewise.
24299 (minix*): Likewise.
24300 (irix4*): Likewise.
24301 (irix6*): Likewise.
24302 (solaris[2-9]*): Likewise.
24303 (none): Likewise.
24304 * configure: Regenerated.
24305
0ac229c8
AZ
243062012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24307
24308 [BZ #11521]
24309 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24310 overflow or cancellation in calculating denominator.
24311 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24312 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24313 down expression to avoid unexpected rounding in newer GCCs.
24314 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24315
33f244f4
DM
243162012-04-26 David S. Miller <davem@davemloft.net>
24317
24318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24319 long-double compat symbols.
24320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24328 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24329 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24330 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24331 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24332 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24333
cfa1f3e8
DM
243342012-04-25 David S. Miller <davem@davemloft.net>
24335
24336 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24337 HWCAP_* values only after the memory barriers have been defined.
24338 (atomic_full_barrier): Define.
24339 (atomic_read_barrier): Define.
24340 (atomic_write_barrier): Define.
24341
6e236b92
SP
243422012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24343
24344 * shlib-versions: Add libgcc_s version information.
24345 * sysdeps/generic/libgcc_s.h: Remove.
24346 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24347 libgcc_s.h.
24348 * sysdeps/gnu/unwind-resume.c: Likewise.
24349 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24350
aab39a09
DM
243512012-04-25 David S. Miller <davem@davemloft.net>
24352
24353 * sysdeps/unix/sparc/brk.S: Delete.
24354 * sysdeps/unix/sparc/dl-brk.S: Delete.
24355 * sysdeps/unix/sparc/pipe.S: Delete.
24356 * sysdeps/unix/sparc/sysdep.S: Delete.
24357 * sysdeps/unix/sparc/sysdep.h: Delete.
24358 * sysdeps/unix/sparc/vfork.S: Delete.
24359 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24360 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24361 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24362 ret_ERRVAL, r0, r1, MOVE): Define.
24363 (JUMPTARGET): Remove.
24364 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24365 sysdeps/unix/sparc/sysdep.h
24366 (ENTRY, END): Remove.
24367 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24368
a3cc4f48
JM
243692012-04-25 Joseph Myers <joseph@codesourcery.com>
24370
2ed8cda2
JM
24371 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24372 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24373 -DIS_IN_build.
24374
35d76d59
JM
24375 * timezone/README: Update upstream location and email address for
24376 tzcode and tzdata.
24377 * timezone/zdump.c: Update from tzcode 2012b.
24378 * timezone/zic.c: Likewise.
24379
a3cc4f48
JM
24380 * configure.in (libc_cv_as_needed): Remove test.
24381 * configure: Regenerated.
24382 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
24383 conditional definition.
24384 [$(have-as-needed) != yes] (no-as-needed): Likewise.
24385 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
24386 * config.make.in (have-as-needed): Remove variable.
24387
ceab42c3
SP
243882012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24389 Paul Pluzhnikov <ppluzhnikov@google.com>
24390
24391 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24392 strings correctly.
24393
3ce2865f
CLT
243942012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
24395
24396 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24397 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24398 * sysdeps/sh/strlen.S: Likewise.
24399
f37e0d68
JM
244002012-04-24 Joseph Myers <joseph@codesourcery.com>
24401
ae186e9a
JM
24402 * sysdeps/unix/fork.S: Remove file.
24403 * sysdeps/unix/i386/fork.S: Likewise.
24404 * sysdeps/unix/sparc/fork.S: Likewise.
24405
b96914af
JM
24406 * sysdeps/unix/system.c: Remove file.
24407 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24408
f37e0d68
JM
24409 * sysdeps/unix/getegid.S: Remove file.
24410 * sysdeps/unix/geteuid.S: Likewise.
24411
87ef29ca
RM
244122012-04-24 Roland McGrath <roland@hack.frob.com>
24413
83bcd236
RM
24414 * scripts/check-localplt.awk: New file.
24415 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24416 of diff.
24417 * scripts/data/localplt-generic.data: Add a comment.
24418
87ef29ca
RM
24419 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24420 NODE when __dir_mkfile failed.
24421 * sysdeps/mach/hurd/symlinkat.c: Likewise.
24422 Reported by Ludovic Courtès <ludo@gnu.org>.
24423
e5a6e567
AJ
244242012-04-24 Andreas Jaeger <aj@suse.de>
24425
24426 * Makerules (common-clean): Also remove gen-as-const-headers
24427 files.
24428
c1820385
JM
244292012-04-24 Joseph Myers <joseph@codesourcery.com>
24430
24431 * Makerules (native-compile): Do not change working directory for
24432 build. Use $(OUTPUT_OPTION) in command.
24433 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24434
94e02fc4
AZ
244352012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24436
24437 [BZ #13886]
24438 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24439 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24440 * math/libm-test.inc (floor_test): Add more tests.
24441 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24442
3a533ca3
JM
244432012-04-24 Joseph Myers <joseph@codesourcery.com>
24444
940ab4b3
JM
24445 * sysdeps/unix/getdents.c: Remove file.
24446 * sysdeps/unix/sysv/getdents.c: Likewise.
24447 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24448
90e037bd
JM
24449 * sysdeps/unix/syscalls.list (madvise): Add syscall from
24450 sysdeps/unix/mman/syscalls.list.
24451 (mmap): Likewise.
24452 (mprotect): Likewise.
24453 (msync): Likewise.
24454 (munmap): Likewise.
24455 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24456 * sysdeps/unix/mman/syscalls.list: Remove.
24457 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24458
3a533ca3
JM
24459 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24460 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24461 * configure: Regenerated.
24462 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24463 $(libgcc_s_suffix).
24464 * config.make.in (libgcc_s_suffix): Remove variable.
24465
1ad743de
JM
244662012-04-23 Joseph Myers <joseph@codesourcery.com>
24467
4ad451e2
JM
24468 * sysdeps/unix/sysv/gethostname.c: Move to ...
24469 * sysdeps/posix/gethostname.c: ... here.
24470
5e37ce39
JM
24471 * sysdeps/unix/execve.S: Remove file.
24472
1ad743de
JM
24473 * sysdeps/unix/_exit.S: Remove file.
24474
4e681b5b
AJ
244752012-04-23 Andreas Jaeger <aj@suse.de>
24476
24477 [BZ #13739]
24478 * manual/Makefile: Remove make dist support, there's no
24479 need for a stand-alone documentation tar ball.
24480 (TEXI2DVI): Define always, it's not in Makeconfig.
24481 (dist): Removed.
24482 (tar-it): Removed.
24483 (edition): Removed.
24484 (glibc-doc-$(edition).tar): Removed
24485 (%.Z): Removed.
24486 (%.gz): Removed.
24487 (%.uu): Removed.
24488 (ETAGS): Remove, it's in Makeconfig.
24489 (move-if-change): Remove, it's in Makeconfig.
24490
38686a03 244912012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
24492
24493 [BZ #13970]
24494 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24495 (strtod, strtof, strtold, strtol, strtoul, strtoq)
24496 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24497 (strtod_l, strtof_l, strtold_l): Remove __wur.
24498 It is not necessarily an error to ignore strtol's return value.
24499 One can reliably look at the stored endptr to decide whether
24500 the number had valid syntax.
24501
7c0616fa
AJ
245022012-04-21 Andreas Jaeger <aj@suse.de>
24503
803cb6b7 24504 [BZ #13739]
7c0616fa
AJ
24505 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24506
b0fe253f
JM
245072012-04-21 Joseph Myers <joseph@codesourcery.com>
24508
24509 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24510 * sysdeps/unix/sysv/Versions: Remove file.
24511
8280f22d
MT
245122012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
24513
24514 [BZ #13927]
24515 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24516
75ce411f 245172012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
24518
24519 [BZ #7064]
24520 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24521 version from __vm86.
24522
097d59fa
JM
245232012-04-20 Joseph Myers <joseph@codesourcery.com>
24524
a90f3bcb
JM
24525 * sysdeps/unix/common/lxstat.c: Remove file.
24526 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24527
edc7ea78
JM
24528 * sysdeps/unix/sysv/Makefile: Remove file.
24529
cb78c221
JM
24530 * sysdeps/unix/sysv/direct.h: Remove file.
24531
efa6a45f
JM
24532 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24533 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24534 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24535 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24536 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24537 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24538 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24539
9c9f2d0c
JM
24540 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24541
4541c83b
JM
24542 * sysdeps/unix/xmknod.c: Remove file.
24543 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24544
f5d153a0
JM
24545 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24546
aa746595
JM
24547 * sysdeps/unix/sysv/i386/time.S: Remove file.
24548
cce5905e
JM
24549 * sysdeps/unix/fxstat.c: Remove file.
24550 * sysdeps/unix/xstat.c: Likewise.
24551 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24552
37fa3841
JM
24553 * sysdeps/unix/sysv/sigaction.c: Remove file.
24554
ff1962a3
JM
24555 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24556 (sysdep_headers): Remove variable.
24557 [termio.h not in sysdep_headers] (generated): Likewise.
24558 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24559 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24560 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24561 * sysdeps/unix/sysv/tcflow.c: Likewise.
24562 * sysdeps/unix/sysv/tcflush.c: Likewise.
24563 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24564 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24565 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24566 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24567 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24568
e7740d31
JM
24569 * sysdeps/unix/siglist.c: Remove file.
24570
ee06f18b
JM
24571 * sysdeps/unix/getppid.S: Remove file.
24572
097d59fa
JM
24573 * sysdeps/unix/mkdir.c: Remove file.
24574 * sysdeps/unix/rmdir.c: Likewise.
24575
ff3d51ec
AS
245762012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24577
24578 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24579 ERR_MAX value.
24580 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24581 errlist-compat value.
24582
50f81fd7
DM
245832012-04-18 David S. Miller <davem@davemloft.net>
24584
24585 * sysdeps/generic/memcopy.h (reg_char): Delete.
24586 * debug/strcat_chk.c: Use char, not reg_char.
24587 * debug/strcpy_chk.c: Likewise.
24588 * debug/strncat_chk.c: Likewise.
24589 * debug/strncpy_chk.c: Likewise.
24590 * string/memchr.c: Likewise.
24591 * string/memrchr.c: Likewise.
24592 * string/rawmemchr.c: Likewise.
24593 * string/strcat.c: Likewise.
24594 * string/strchr.c: Likewise.
24595 * string/strchrnul.c: Likewise.
24596 * string/strcmp.c: Likewise.
24597 * string/strcpy.c: Likewise.
24598 * string/strncat.c: Likewise.
24599 * string/strncmp.c: Likewise.
24600 * string/strncpy.c: Likewise.
24601
8ff41c46
WS
246022012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24603
24604 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24605 __builtin_memcopy is called when src and dest ranges are known to not
24606 overlap.
24607
6b652f46
WS
246082012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24609
24610 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24611 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24612 fwd_align_merge macro call.
24613 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24614 bwd_align_merge macro call.
24615 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24616
b282631e
WS
246172012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24618
24619 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24620 bwd_align_merge macros.
24621 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24622 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24623 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24624
95aa737c
DM
246252012-04-18 David S. Miller <davem@davemloft.net>
24626
24627 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24628
7a99a614
AJ
246292012-04-18 Andreas Jaeger <aj@suse.de>
24630
24631 [BZ# 6794]
24632 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24633 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24634 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24635
24636 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24637 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24638 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24639
24640 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24641 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24642 Adjust for changed ldbl-128 files.
24643
24644 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24645 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24646 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24647
e5270c23
DM
246482012-04-17 David S. Miller <davem@davemloft.net>
24649
24650 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24651
fb5e92c9
AS
246522012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24653
24654 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24655 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24656 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24657 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24658 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24659 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24660
76da7265
AZ
246612012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24662
24663 [BZ #6794]
24664 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24665 * math/libm-test.inc: Add ilogb errno and exception tests.
24666 * math/w_ilogb.c: New file: ilogb wrapper.
24667 * math/w_ilogbf.c: New file: ilogbf wrapper.
24668 * math/w_ilogbl.c: New file: ilogbl wrapper.
24669 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24670 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24671 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24672 exception being thrown with 0.0 as argument.
24673 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24674 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24675 exception being thrown with 0.0 as argument.
24676 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24677 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24678 exception being thrown with 0.0 as argument.
24679 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24680 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24681 exception being thrown with 0.0 as argument.
24682 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24683 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 24684 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
24685 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24686 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24687 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24688 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24689 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24690 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24691
0396e69d
PB
246922012-04-17 Petr Baudis <pasky@ucw.cz>
24693
24694 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24695 with altivec.
24696
750b5926
MP
246972012-04-16 Marek Polacek <polacek@redhat.com>
24698
24699 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24700
751728a1
MP
247012012-04-16 Marek Polacek <polacek@redhat.com>
24702
24703 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24704 operands of fdivp instruction.
24705
34a27407
L
247062012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24707
24708 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24709 * elf/tst-auditmod3b.c: Likewise.
24710 * elf/tst-auditmod4b.c: Likewise.
24711 * elf/tst-auditmod5b.c: Likewise.
24712 * elf/tst-auditmod6b.c: Likewise.
24713 * elf/tst-auditmod6c.c: Likewise.
24714 * elf/tst-auditmod7b.c: Likewise.
24715 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24716 * sysdeps/x86_64/preconfigure.in: Likewise.
24717 * sysdeps/x86_64/preconfigure: Regenerated.
24718
7e73e17d
L
247192012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24720
24721 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24722 __ILP32__.
24723
c7a6ab72
AB
247242012-04-13 Antoine Balestrat <merkil33@gmail.com>
24725
24726 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24727 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24728
a9e8e0e0
CL
247292012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24730
24731 [BZ #13973]
24732 * locale/iso-639.def: Fix gl language name. Spotted by
24733 Yaron Shahrabani.
24734
ec98af7d
RM
247352012-04-12 Roland McGrath <roland@hack.frob.com>
24736
24737 [BZ #2074]
24738 * libio/libio.h (__io_write_fn): Update comment.
24739
247c3ede
PB
247402012-04-12 Petr Baudis <pasky@ucw.cz>
24741
24742 [BZ #2074]
24743 * stdio.texi (Hook Functions): The user provided writer function
24744 is not allowed to return -1.
24745
55939d6d
DM
247462012-04-11 David S. Miller <davem@davemloft.net>
24747
24748 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24749
90020f5a
MF
247502012-04-11 Mike Frysinger <vapier@gentoo.org>
24751
24752 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24753 Add a leading slash to rtkaio.
24754
288f9098
JM
247552012-04-11 Jim Meyering <meyering@redhat.com>
24756
90020f5a
MF
24757 [BZ #11959]
24758 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24759 It is not necessarily an error to ignore fwrite's return
24760 value. One can reliably use ferror to test for errors after
24761 the fact.
288f9098 24762
4be2b570
L
247632012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24764
24765 * bits/types.h (__snseconds_t): New type.
24766 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24767
24768 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24769 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24770 (__SNSECONDS_T_TYPE): Likewise.
24771 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24772 (__SNSECONDS_T_TYPE): Likewise.
24773 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24774 (__SNSECONDS_T_TYPE): Likewise.
24775
288f9098 247762012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
24777
24778 [BZ #2636]
24779 * manual/time.texi (Processor Time): Return type of times is
24780 elapsed real time since an arbitrary point in the past.
24781 (CPU Time): Move CLK_TCK from here...
24782 (Processor Time): ...to here. Correct description.
24783 * manual/conf.texi (Constants for Sysconf): Correct description of
24784 _SC_CLK_TCK.
24785
d7dd4413
DM
247862012-04-10 David S. Miller <davem@davemloft.net>
24787
24788 [BZ #13967]
24789 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24790 where the is a gap between DT_REL(A) and DT_JMPREL.
24791
b46068fc
L
247922012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24793
24794 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24795 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24796 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24797
73d65cc3
SP
247982012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24799
24800 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24801 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24802 (dl_main): Handle --inhibit-cache.
24803 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24804 _dl_inhibit_cache.
24805 * elf/dl-load.c (_dl_map_object): Use it.
24806 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24807
bcc8d661
JM
248082012-04-09 Joseph Myers <joseph@codesourcery.com>
24809
8f9a2fae
JM
24810 [BZ #13872]
24811 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24812 (__ieee754_powl): Saturate large exponents rather than testing for
24813 overflow of y*log2(x).
24814 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24815 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24816 exceptions.
24817
bcc8d661
JM
24818 [BZ #11521]
24819 * math/s_ctan.c: Include <float.h>.
24820 (__ctan): Avoid internal overflow or cancellation in calculating
24821 denominator.
24822 * math/s_ctanf.c: Likewise.
24823 * math/s_ctanl.c: Likewise.
24824 * math/s_ctanh.c: Likewise.
24825 * math/s_ctanhf.c: Likewise.
24826 * math/s_ctanhl.c: Likewise.
24827 * math/libm-test.inc (ctan_test): Add more tests.
24828 (ctanh_test): Likewise.
24829 * sysdeps/i386/fpu/libm-test-ulps: Update.
24830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24831
823fbbb4
AJ
248322012-04-09 Andreas Jaeger <aj@suse.de>
24833
03879793
AJ
24834 [BZ #6894]
24835 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24836 is an optional BSD extension.
24837
823fbbb4
AJ
24838 [BZ #10254]
24839 * manual/stdio.texi (Opening Streams): Document additional fopen
24840 parameters.
24841
8de131cb
RM
248422012-04-09 Roland McGrath <roland@hack.frob.com>
24843
24844 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24845 %eax without telling the compiler.
24846
c0ed9d7d
CD
248472012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24848
24849 [BZ # 13963]
24850 * manual/install.texi: Use sourceware.org.
24851
c483f6b4
JM
248522012-04-09 Joseph Myers <joseph@codesourcery.com>
24853
d7dd9453
JM
24854 [BZ #13873]
24855 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24856 (__ieee754_pow): Generate overflow and underflow using huge*huge
24857 and tiny*tiny rather than just returning constant infinity or zero
24858 for large exponents.
24859 * math/libm-test.inc (pow_test): Require overflow exceptions for
24860 applicable cases of large exponents.
24861
c483f6b4
JM
24862 [BZ #706]
24863 * sysdeps/i386/fpu/e_pow.S (p10): New object.
24864 (__ieee754_pow): Use iterative multiplication algorithm only for
24865 integer exponents with absolute value below 1024. Check for odd
24866 integer exponents when using algorithm for real exponents.
24867 * math/libm-test.inc (pow_test): Add more tests.
24868 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24869
d2de7579
JM
248702012-04-08 Joseph Myers <joseph@codesourcery.com>
24871
24872 [BZ #13705]
24873 * math/libm-test.inc (exp_test): Do not allow overflow exception
24874 on underflow test.
24875
f77f1232
AJ
248762012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24877
24878 [BZ #13705]
24879 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24880 instead of __kernel_standard_f.
24881
3884932b
MF
248822012-04-08 Mike Frysinger <vapier@gentoo.org>
24883
24884 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24885 * sysdeps/x86_64/memset_chk.S: Likewise.
24886
54472e9c
AJ
248872012-04-08 Andreas Jaeger <aj@suse.de>
24888
6ab0fbfc
AJ
24889 [BZ #10153]
24890 * manual/startup.texi (Environment Access): Describe return value
24891 for putenv and setenv.
24892
61efba8c
AJ
24893 [BZ #6895]
24894 * manual/filesys.texi (Directory Entries): Add description for
24895 DT_LNK.
24896
95c3f29a
AJ
24897 [BZ #6890]
24898 * manual/filesys.texi (Directory Entries): Clarify that it's file
24899 system not operating system in the description of DT_UNKNOWN.
24900
54472e9c
AJ
24901 [BZ #6578]
24902 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24903
624254b1
SC
249042012-04-08 Stephen Compall <s11@member.fsf.org>
24905
24906 [BZ #6649]
24907 * manual/llio.texi (Opening and Closing Files): Add cross
24908 reference to explain mode argument.
24909
1e4920e0
MF
249102012-04-07 Mike Frysinger <vapier@gentoo.org>
24911
24912 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24913 * sysdeps/x86_64/memset_chk.S: Likewise.
24914
5ed848f3
DM
249152012-04-07 David S. Miller <davem@davemloft.net>
24916
24917 * elf/elf.h (R_SPARC_WDISP10): Define.
24918 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24919 R_SPARC_SIZE32.
24920 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24921 R_SPARC_SIZE64 and R_SPARC_H34.
24922
96154cd8
CD
249232012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24924
24925 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24926 conditions and remove no longer applicable assertion.
24927
9904dc47
L
249282012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24929
24930 * bits/byteswap.h: Include <features.h>.
24931 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24932 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24933
f8887d0a
L
249342012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24935
24936 * bits/byteswap.h (__bswap_16): Removed.
24937 Include <bits/byteswap-16.h> to get __bswap_16.
24938 * sysdeps/i386/bits/byteswap.h: Likewise.
24939 * sysdeps/s390/bits/byteswap.h: Likewise.
24940 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24941 * bits/byteswap-16.h: New file.
24942 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24943 * sysdeps/s390/bits/byteswap-16.h: Likewise.
24944 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24945 * string/Makefile (headers): Add bits/byteswap-16.h.
24946
62470f60
PP
249472012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24948
24949 [BZ #13895]
24950 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24951 extra indirection.
24952 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24953 * nss/tst-nss-static.c: New.
24954
4dad7bab
RM
249552012-04-06 Robert Millan <rmh@gnu.org>
24956
24957 [BZ #6486]
24958 * manual/llio.texi (File Position Primitive): lseek
24959 refers to WHENCE when it really means OFFSET.
24960
e9142a17
AJ
249612012-04-06 Andreas Jaeger <aj@suse.de>
24962
2c040eff
AJ
24963 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24964 strncmp declarations.
24965
e9142a17
AJ
24966 * abilist/libc.abilist: Add __poll and __ppoll.
24967
ff9f1c5f
DM
249682012-04-05 David S. Miller <davem@davemloft.net>
24969
dcd2ae90
DM
24970 * scripts/check-local-headers.sh: Accept a host triplet in the
24971 path matched by the exclude regexp.
24972
993eb054
DM
24973 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
24974 definition.
24975 * sysdeps/powerpc/powerpc32/dl-machine.h
24976 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
24977 * sysdeps/s390/s390-32/dl-machine.h
24978 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24979 * sysdeps/sparc/sparc32/dl-machine.h
24980 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24981 * sysdeps/sparc/sparc64/dl-machine.h
24982 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
24983
ff9f1c5f
DM
24984 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
24985 lazy binding.
48e2e132 24986 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
24987 undefined symbol errors.
24988
48e2e132 24989 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
24990 DT_NEEDED entries.
24991
e80d6f94
MM
249922012-04-05 Michael Matz <matz@suse.de>
24993
24994 [BZ #13592]
24995 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
24996
349fa79f
AJ
249972012-04-05 Andreas Jaeger <aj@suse.de>
24998
24999 [BZ #13908]
25000 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25001 comment.
25002
f402708f
KK
250032012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25004
25005 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25006 which ROUND is no valid rounding mode.
25007
2ecccfc9
KK
250082012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25009
25010 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25011 read again.
25012 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25013
8a53f50f
KK
250142012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25015
25016 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25017 an exception using FPU order intentionally.
25018
250192012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25020
25021 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25022 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25023 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25024 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25025
d653abb7
SJ
250262012-04-05 Simon Josefsson <simon@josefsson.org>
25027
25028 [BZ #12340]
25029 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25030 EINVAL when BUFLEN is too smal.
25031
c3b1bf7d
TS
250322012-04-05 Thomas Schwinge <thomas@codesourcery.com>
25033
25034 [BZ #13553]
25035 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25036 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25037
b1aa60f3
AJ
250382012-04-03 Andreas Jaeger <aj@suse.de>
25039
c3b1bf7d 25040 [BZ #13938]
67f60a26
AJ
25041 * manual/setjmp.texi (System V contexts): Fix sentence.
25042
b1aa60f3
AJ
25043 [BZ #13926]
25044 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25045 New macro for this case.
25046 [!__GNUC__] (__bswap_64): New inline function for this case.
25047 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25048 * bits/byteswap.h: Likewise.
25049 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25050 ull, guard with __GLIBC_HAVE_LONG_LONG.
25051
25052 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25053 __GLIBC_HAVE_LONG_LONG.
25054
25055 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25056 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25057
39c59c35
TMQMF
250582012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25059
25060 [BZ #13691]
25061 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25062 inptr and inend, rather than using last_ch.
25063
135ffda8
DM
250642012-04-02 David S. Miller <davem@davemloft.net>
25065
25066 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25067 * stdio-common/printf-parse.h (read_int): Change return type to
25068 'int', return -1 on INT_MAX overflow.
25069 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25070 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
25071 overflows INT_MAX. Check for overflow of in-format-string precision
25072 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
25073 SIZE_MAX not INT_MAX for integer overflow test.
25074 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25075 skip the construct in the format string but do not record anything.
25076 * stdio-common/bug22.c: Adjust to test both width/prevision
25077 INT_MAX overflow as well as total length INT_MAX overflow. Check
25078 explicitly for proper errno values.
25079
228c019e
TS
250802012-04-02 Thomas Schwinge <thomas@codesourcery.com>
25081
302cadd3
TS
25082 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25083 CHAR_MAX.
25084 * string/test-strcmp.c [! WIDE]: Likewise.
25085 * time/tst-mktime2.c: Likewise for INT_MAX.
25086 * string/test-string.h: #include <sys/param.h> for MIN.
25087
228c019e
TS
25088 * csu/init-first.c (__libc_init_first): Call __ctype_init.
25089 * sysdeps/i386/init-first.c (init): Likewise.
25090 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25091 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25092 * sysdeps/sh/init-first.c (init): Likewise.
25093
cfa633f5
UD
250942012-04-01 Ulrich Drepper <drepper@gmail.com>
25095
25096 * po/ru.po: Update from translation team.
d1635ef8 25097 * po/vi.po: Likewise.
cfa633f5 25098
6cd0a5ea
SP
250992012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25100
25101 * resolv/nss_dns/dns-host.c: Merge copyright years.
25102
4b43400f
LD
251032012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25104
25105 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25106 Optimize memcpy with prefetch if
25107 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
25108 src, dst pointers have unequal 16 byte alignments.
25109
48c41d04
SP
251102012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25111
25112 [BZ #13928]
25113 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25114 from a CNAME entry and return the minimum ttl for the query.
25115 (gaih_getanswer_slice): Likewise.
25116
b8dc394d
JL
251172012-03-30 Jeff Law <law@redhat.com>
25118
25119 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25120 due to long keys.
25121 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25122 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25123
2f5a5ed0
JL
25124 * resolv/nss_dns/dns-host.c: Update copyright year.
25125
1d39e359
UD
251262012-03-30 Ulrich Drepper <drepper@gmail.com>
25127
c030f70c 25128 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 25129 requests to save a system call. Fix check that all bytes are sent.
c030f70c 25130
1d39e359
UD
25131 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25132 comments for sendmmsg.
25133
251342012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
25135
25136 [BZ #13691]
25137 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25138 with only 1 character between 0x0041 and 0x01b0.
25139 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25140 * wcsmbs/tst-mbsnrtowcs.c: New file.
25141
20fde227
DM
251422012-03-29 David S. Miller <davem@davemloft.net>
25143
25144 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25145 small copies by hand.
25146
984a4237
JL
251472012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25148
25149 [BZ #13761]
25150 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25151 _nss_compat_initgroups_dyn): Fall back to malloc/free
25152 for large group memberships.
25153
18c9d62b
DM
251542012-03-28 David S. Miller <davem@davemloft.net>
25155
88d85d4f
DM
25156 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25157 that branches into memcpy.
25158 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25159 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25160 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25161 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25162 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25163 bits.
25164 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25165 implementation too.
25166 * sysdeps/sparc/mempcpy.S: New file.
25167
e5aa83e1
DM
25168 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25169 the IFUNC routine in the libc case.
25170 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25171
88570753
DM
25172 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25173 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25174 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25175 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25176 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25177 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25178 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25179 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25180
249d7567
DM
25181 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25182 loop to 256 bytes instead of 64 bytes and fix test signedness.
25183
18c9d62b
DM
25184 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25185 * sysdeps/sparc/sparc32/Makefile: rather than here...
25186 * sysdeps/sparc/sparc64/Makefile: and here.
25187
05f3d1f6
UD
251882012-03-28 Ulrich Drepper <drepper@gmail.com>
25189
25190 * malloc/mallocbug.c: Avoid warnings about unused variables.
25191
86ae07a8
JL
251922012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25193
25194 [BZ #13760]
25195 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25196 in the right place. Discard and retry query if response is
25197 larger than input buffer size.
25198
41bf21a1
JM
251992012-03-28 Joseph Myers <joseph@codesourcery.com>
25200
d6270972
JM
25201 [BZ #369]
25202 [BZ #2678]
25203 [BZ #3866]
25204 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25205 x for large integer exponent.
25206 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25207 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25208 sign of result as needed afterwards.
25209 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25210 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25211 result for underflowing pow the same as for overflow.
25212 (__kernel_standard_l): Handle powl overflow and underflow here
25213 rather than calling __kernel_standard.
25214 * math/libm-test.inc (pow_test): Add more tests.
25215
414fca03 25216 [BZ #3868]
41bf21a1
JM
25217 [BZ #13879]
25218 [BZ #13910]
25219 [BZ #13911]
25220 [BZ #13912]
25221 [BZ #13913]
25222 [BZ #13915]
25223 [BZ #13916]
25224 [BZ #13917]
25225 [BZ #13918]
25226 [BZ #13919]
25227 [BZ #13920]
25228 [BZ #13921]
25229 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25230 * sysdeps/ieee754/k_standard.c: Include <float.h>.
25231 (__kernel_standard_l): New function.
25232 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25233 __kernel_standard.
25234 * math/w_acosl.c (__acosl): Likewise.
25235 * math/w_asinl.c (__asinl): Likewise.
25236 * math/w_atan2l.c (__atan2l): Likewise.
25237 * math/w_atanhl.c (__atanhl): Likewise.
25238 * math/w_coshl.c (__coshl): Likewise.
25239 * math/w_exp10l.c (__exp10l): Likewise.
25240 * math/w_exp2l.c (__exp2l): Likewise.
25241 * math/w_fmodl.c (__fmodl): Likewise.
25242 * math/w_hypotl.c (__hypotl): Likewise.
25243 * math/w_j0l.c (__j0l, __y0l): Likewise.
25244 * math/w_j1l.c (__j1l, __y1l): Likewise.
25245 * math/w_jnl.c (__jnl, __ynl): Likewise.
25246 * math/w_lgammal.c (__lgammal): Likewise.
25247 * math/w_log10l.c (__log10l): Likewise.
25248 * math/w_log2l.c (__log2l): Likewise.
25249 * math/w_logl.c (__logl): Likewise.
25250 * math/w_powl.c (__powl): Likewise.
25251 * math/w_remainderl.c (__remainderl): Likewise.
25252 * math/w_scalbl.c (sysv_scalbl): Likewise.
25253 * math/w_sinhl.c (__sinhl): Likewise.
25254 * math/w_sqrtl.c (__sqrtl): Likewise.
25255 * math/w_tgammal.c (__tgammal): Likewise.
25256 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25257 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25258 * math/libm-test.inc (acos_test): Add more tests.
25259 (acosh_test): Likewise.
25260 (asin_test): Likewise.
25261 (atanh_test): Likewise.
25262 (exp_test): Likewise.
25263 (exp10_test): Likewise.
25264 (exp2_test): Likewise.
25265 (expm1_test): Likewise.
25266 (lgamma_test): Likewise.
25267 (log_test): Likewise.
25268 (log10_test): Likewise.
25269 (log1p_test): Likewise.
25270 (log2_test): Likewise.
25271 (pow_test): Do not allow some spurious overflow exceptions.
25272 (sqrt_test): Add more tests.
25273 (tgamma_test): Likewise.
25274 (y0_test): Likewise.
25275 (y1_test): Likewise.
25276 (yn_test): Likewise.
25277
dd62fda6
AB
252782012-03-27 Anton Blanchard <anton@samba.org>
25279
25280 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25281 MAP_HUGETLB.
25282 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25283 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25284 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25285
1e3cdfda
AJ
252862012-03-27 David S. Miller <davem@davemloft.net>
25287
b855ab85
DM
25288 * conform/Makefile: Run run-conformtest.sh using $(BASH).
25289
1e3cdfda
AJ
25290 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25291 have-as-vis3 check.
25292
252932012-03-27 Andreas Jaeger <aj@suse.de>
25294
25295 * sysdeps/x86_64/elf/configure.in: Moved to ...
25296 * sysdeps/x86_64/configure.in: ... here.
25297 * sysdeps/x86_64/elf/start.S: Moved to ...
25298 * sysdeps/x86_64/start.S: ... here.
25299 * sysdeps/x86_64/elf/configure: Delete.
25300
25301 * sysdeps/x86_64/configure.in: Merge contents from
25302 sysdeps/i386/configure.in (without i686 check).
25303
25304 * sysdeps/i386/elf/Versions: Merge into ...
25305 * sysdeps/i386/Versions: ... this.
25306 * sysdeps/i386/elf/Versions: Delete file.
25307 * sysdeps/i386/elf/start.S: Moved to ...
25308 * sysdeps/i386/start.S: ...here.
25309 * sysdeps/i386/elf/configure.in: Merge into...
25310 * sysdeps/i386/configure.in: ...here.
25311 * sysdeps/i386/elf/configure.in: Delete file.
25312 * sysdeps/i386/elf/configure: Delete file.
25313
25314 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25315 * debug/backtracesyms.c: ... here.
25316 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25317 * debug/backtracesymsfd.c: ... here.
25318 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25319 * sysdeps/generic/ifunc-sel.h: ... here.
25320
25321 * sysdeps/unix/i386/start.c: Delete file.
25322 * sysdeps/unix/sparc/start.c: Delete file.
25323 * sysdeps/unix/start.c: Delete file.
25324
25325 * sysdeps/sh/elf/configure.in: Moved to ...
25326 * sysdeps/sh/configure.in: ... here.
25327 * sysdeps/sh/elf/start.S: Moved to ...
25328 * sysdeps/sh/start.S: ... here.
25329 * sysdeps/sh/elf/configure: Delete file.
25330
25331 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25332 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25333 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25334 * sysdeps/powerpc/powerpc64/entry.h: ... here.
25335 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25336 * sysdeps/powerpc/powerpc64/start.S: here.
25337 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25338 * sysdeps/powerpc/powerpc64/Makefile: ... this.
25339 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25340 * sysdeps/powerpc/powerpc64/configure.in: ... this.
25341 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25342
25343 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25344 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25345 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25346 * sysdeps/powerpc/powerpc32/start.S: ... here.
25347 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25348 * sysdeps/powerpc/powerpc32/configure.in: ... this.
25349 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25350
25351 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25352 * sysdeps/powerpc/ifunc-sel.h: ... here.
25353 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25354 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25355
25356 * sysdeps/sparc/elf/configure.in: Moved to ...
25357 * sysdeps/sparc/configure.in: ... here.
25358 * sysdeps/sparc/elf/configure: Delete file.
25359 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25360 * sysdeps/sparc/sparc32/start.S: ... here.
25361 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25362 * sysdeps/sparc/sparc64/start.S: ... here.
25363 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25364 * sysdeps/sparc/sparc32/Makefile: ... this.
25365 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25366 * sysdeps/sparc/sparc64/Makefile: ... this.
25367
25368 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
25369 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
25370 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
25371 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
25372 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
25373 * sysdeps/s390/s390-32/setjmp.S: ... here.
25374 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
25375 * sysdeps/s390/s390-32/configure.in: ... here.
25376 * sysdeps/s390/s390-32/elf/configure: Delete file.
25377 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
25378 * sysdeps/s390/s390-32/start.S: ... here.
25379
25380 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
25381 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
25382 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
25383 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
25384 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
25385 * sysdeps/s390/s390-64/setjmp.S: ... here.
25386 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
25387 * sysdeps/s390/s390-64/configure.in: ... here
25388 * sysdeps/s390/s390-64/elf/configure: Delete file.
25389 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
25390 * sysdeps/s390/s390-64/start.S: ... here.
25391 * sysdeps/s390/s390-64/elf/configure: Delete.
25392
25393 * configure.in: Remove support for elf directories in sysdeps.
25394
25395 * configure: Regenerated.
25396 * sysdeps/i386/configure: Regenerated.
25397 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25398 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25399 * sysdeps/s390/s390-32/configure: Regenerated.
25400 * sysdeps/s390/s390-64/configure: Regenerated.
25401 * sysdeps/sh/configure: Regenerated.
25402 * sysdeps/sparc/configure: Regenerated.
25403 * sysdeps/x86_64/configure: Regenerated.
25404
a3f61311
AS
254052012-03-26 Andreas Schwab <schwab@linux-m68k.org>
25406
c876e002
AS
25407 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25408
a3f61311
AS
25409 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25410 denormal result into account.
25411
ac4c54f0
RM
254122012-03-25 Roland McGrath <roland@hack.frob.com>
25413
25414 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25415 Reported by Allan McRae <allan@archlinux.org>.
25416
6a9b9c02
JL
254172012-03-23 Jeff Law <law@redhat.com>
25418
25419 * nss/getnssent.c (__nss_getent): Fix typo.
25420
4c42a0c1
DM
254212012-03-23 David S. Miller <davem@davemloft.net>
25422
25423 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25424
1532c7ac
L
254252012-03-23 H.J. Lu <hongjiu.lu@intel.com>
25426
25427 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25428 to pad to uint64_t for each field.
25429 (dl_tls_index): Replace unsigned long with uint64_t.
25430
3ff42526
PP
254312012-03-23 Daniel Jacobowitz <dmj@google.com>
25432 Paul Pluzhnikov <ppluzhnikov@google.com>
25433
25434 [BZ #6528]
25435 * grp/Makefile (otherlibs): Don't set it.
25436 * inet/Makefile (otherlibs): Likewise.
25437 * login/Makefile (otherlibs): Likewise.
25438 * nscd/Makefile (otherlibs): Likewise.
25439 * posix/Makefile (otherlibs): Likewise.
25440 * pwd/Makefile (otherlibs): Likewise.
25441 * rt/Makefile (otherlibs): Likewise.
25442 * sunrpc/Makefile (otherlibs): Likewise.
25443 * nss/Makefile (otherlibs): Likewise.
25444 Add libnss_files to routines and static-only-routines.
25445 ($(objpfx)getent): Remove rule.
25446 * resolv/Makefile: Add libnss_dns and libresolv to routines and
25447 static-only-routines.
25448
7c69cd14
JM
254492012-03-22 Joseph Myers <joseph@codesourcery.com>
25450
25451 [BZ #13892]
25452 * math/s_cexp.c: Include <float.h>.
25453 (__cexp): Handle exp result overflowing not necessarily
25454 overflowing both real and imaginary parts of result.
25455 * math/s_cexpf.c: Likewise.
25456 * math/s_cexpl.c: Likewise.
25457 * math/libm-test.inc (cexp_test): Add more tests.
25458 * sysdeps/i386/fpu/libm-test-ulps: Update.
25459 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25460
81b035fe
L
254612012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25462
25463 * include/link.h (ELFW): New macro.
25464 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25465 Replace ELF64_R_TYPE with ELFW(R_TYPE).
25466
1da7940c
L
254672012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25468
25469 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25470 with uint64_t.
25471
b749dbb9
L
254722012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25473
25474 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25475 declaration.
25476 (struct La_x32_retval): Likewise.
25477
2ff87f3f
L
254782012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25479
25480 * sysdeps/x86_64/preconfigure.in: New file.
25481 * sysdeps/x86_64/preconfigure: New generated file.
25482
c0df8e69
JM
254832012-03-22 Joseph Myers <joseph@codesourcery.com>
25484
48e44791
JM
25485 [BZ #13824]
25486 * math/e_exp2l.c: Include <float.h>.
25487 (__ieee754_exp2l): Handle overflow and underflow cases
25488 separately. Only pass fractional part of argument to
25489 __ieee754_expl.
25490 * math/libm-test.inc (exp2_test): Add more tests.
25491
c0df8e69
JM
25492 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25493 negating x to take absolute value.
25494 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25495 Likewise.
25496 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25497 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25498 Likewise.
25499 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25500 computing low part if x was negated.
25501 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25502
c8e43ba7
L
255032012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25504
25505 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25506 la_x32_gnu_pltexit.
25507 (pltexit): Cast int_retval to ptrdiff_t.
25508 * elf/tst-auditmod3b.c: Likewise.
25509 * elf/tst-auditmod4b.c: Likewise.
25510 * elf/tst-auditmod5b.c: Likewise.
25511 * elf/tst-auditmod6b.c: Likewise.
25512 * elf/tst-auditmod6c.c: Likewise.
25513 * elf/tst-auditmod7b.c: Likewise.
25514
25515 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25516 and x32_gnu_pltexit.
25517
25518 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25519 __ELF_NATIVE_CLASS.
25520 (La_x32_regs): New macro.
25521 (La_x32_retval): Likewise.
25522 (la_x32_gnu_pltenter): New function prototype.
25523 (la_x32_gnu_pltexit): Likewise.
25524
7998fa78
AS
255252012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25526
dcb33988
AS
25527 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25528 exponent.
25529
233fc563
AS
25530 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25531
7998fa78
AS
25532 * configure.in (libc_cv_cc_nofma): Check for option to disable
25533 generation of FMA instructions.
25534 * configure: Regenerate.
25535 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25536 * sysdeps/ieee754/dbl-64/Makefile: New file.
25537 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25538 Remove brandred-fma4.
25539 (CFLAGS-brandred-fma4.c): Remove.
25540 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25541 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25542 define.
25543 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25544 define.
25545
8e95c99a
L
255462012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25547
25548 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25549 LLONG_MAX != LONG_MAX.
25550 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25551 (_fitoa_word): Likewise.
25552 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25553 LLONG_MAX != LONG_MAX.
25554 * stdio-common/_itowa.h: Include <_itoa.h>.
25555 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25556 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25557 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25558 only if not defined.
25559 (_ITOA_WORD_TYPE): Likewise.
25560 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25561 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25562
6f4db457
DM
255632012-03-21 David S. Miller <davem@davemloft.net>
25564
25565 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25566
7785fe5a
L
255672012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25568
25569 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25570 of x86_64 when setting libc_cv_slibdir, libdir and
25571 libc_cv_localedir.
25572 * sysdeps/unix/sysv/linux/configure: Regenerated.
25573
4535cd55
JM
255742012-03-21 Joseph Myers <joseph@codesourcery.com>
25575
25576 * manual/lang.texi (Old Varargs): Remove section.
25577 (How Variadic): Update menu.
25578 (va_start): Do not mention varargs.h.
25579
17228132
TS
255802012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25581 Joseph Myers <joseph@codesourcery.com>
25582
25583 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25584 link test.
25585 * configure: Regenerated.
25586
8149f976
TS
255872012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25588
05f3d1f6
UD
25589 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25590 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25591 conformtest.pl
8149f976 25592
1a4ac776
JM
255932012-03-21 Joseph Myers <joseph@codesourcery.com>
25594
be22ce65
JM
25595 * NOTES: Remove.
25596 * Makefile (files-for-dist): Remove NOTES.
25597 (NOTES): Remove rule.
25598 * README: Don't refer to NOTES.
25599 * manual/creature.texi: Don't include macros.texi.
25600 * manual/intro.texi (creature.texi): Remove comment referring to
25601 NOTES.
25602
40b601fb
JM
25603 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25604 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25605 * configure: Regenerated.
25606 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25607 LIBC_TRY_CC_OPTION.
25608 (libc_cv_as_i686): Likewise.
25609 (libc_cv_cc_avx): Likewise.
25610 (libc_cv_cc_sse2avx): Likewise.
25611 (libc_cv_cc_fma4): Likewise.
25612 (libc_cv_cc_novzeroupper): Likewise.
25613 * sysdeps/i386/configure: Regenerated.
25614
1a4ac776
JM
25615 [BZ #13883]
25616 * sysdeps/i386/fpu/s_cexp.S: Remove.
25617 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25618 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25619 * math/libm-test.inc (cexp_test): Add more tests.
25620 * sysdeps/i386/fpu/libm-test-ulps: Update.
25621 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25622
a458e7fe
AM
256232012-03-21 Allan McRae <allan@archlinux.org>
25624
25625 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25626
0cb7efc5
JM
256272012-03-21 Joseph Myers <joseph@codesourcery.com>
25628
25629 [BZ #13871]
25630 * math/w_exp2.c: Do not include <float.h>.
25631 (o_threshold, u_threshold): Remove.
25632 (__exp2): Calculate result before checking finiteness and calling
25633 __kernel_standard.
25634 * math/w_exp2f.c: Likewise.
25635 * math/w_exp2l.c: Likewise.
25636 * math/libm-test.inc (exp2_test): Require overflow exception for
25637 1e6 input.
2460d3aa
JM
25638
25639 [BZ #3866]
25640 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25641 range of signed 64-bit integers before using fistpll. Remove
25642 checks for whether integers fit in mantissa bits.
25643 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25644 the range of signed 32-bit integers before using fistpl. Remove
25645 checks for whether integers fit in mantissa bits.
25646 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25647 (__ieee754_powl): Test for y outside the range of signed 64-bit
25648 integers before using fistpll. Reduce 64-bit values to 63-bit
25649 ones as needed.
25650 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25651 divide-by-zero is raised for zero to large negative powers.
25652 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25653 (__ieee754_powl): Test for y outside the range of signed 64-bit
25654 integers before using fistpll. Reduce 64-bit values to 63-bit
25655 ones as needed.
25656 * math/libm-test.inc (pow_test): Add more tests.
25657
eb96ffb0
L
256582012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25659
25660 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25661 <stdio-common/_itoa.h>.
25662 * debug/segfault.c: Likewise.
25663 * elf/dl-cache.c: Likewise.
25664 * elf/dl-minimal.c: Likewise.
25665 * elf/dl-misc.c: Likewise.
25666 * elf/dl-sysdep.c: Likewise.
25667 * elf/dl-version.c: Likewise.
25668 * elf/rtld.c: Likewise.
25669 * hurd/hurdsock.c: Likewise.
25670 * hurd/lookup-retry.c: Likewise.
25671 * malloc/malloc.c: Likewise.
25672 * malloc/mtrace.c: Likewise.
25673 * nscd/nscd_getgr_r.c: Likewise.
25674 * nscd/nscd_getpw_r.c: Likewise.
25675 * nscd/nscd_getserv_r.c: Likewise.
25676 * posix/getopt_init.c: Likewise.
25677 * posix/wordexp.c: Likewise.
25678 * stdio-common/_itoa.c: Likewise.
25679 * stdio-common/printf_fphex.c: Likewise.
25680 * stdio-common/vfprintf.c: Likewise.
25681 * string/_strerror.c: Likewise.
25682 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25683 * sysdeps/i386/i686/hp-timing.h: Likewise.
25684 * sysdeps/mach/_strerror.c: Likewise.
25685 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25686 * sysdeps/mach/hurd/sethostid.c: Likewise.
25687 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25688 * sysdeps/mach/xpg-strerror.c: Likewise.
25689 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25690 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25691 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25692 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25693 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25694 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25695 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25696 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25697 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25698 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25699 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25700 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25701 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25702 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25703 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25704 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25705 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25706 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25707 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25708 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25709 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25710
25711 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25712
25713 * stdio-common/_itoa.h: Moved to ...
25714 * sysdeps/generic/_itoa.h: Here.
25715
25716 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25717
25718 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25719 instead of "_itoa.h" and "_itowa.h".
25720 * stdio-common/vfprintf.: Likewise.
25721
d1af992d
L
257222012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25723
25724 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25725 <bits/wordsize.h>.
25726 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25727 (__signbit): Likwise.
25728 (llrintf): Likwise.
25729 (llrint): Likwise.
25730
114883e0
L
257312012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25732
25733 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25734 __WORDSIZE != 64.
25735
c135cc1b
JM
257362012-03-20 Joseph Myers <joseph@codesourcery.com>
25737
25738 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25739 OVERFLOW_EXCEPTION_OK.
25740 * math/libm-test.inc ("Philosophy"): Update comment about
25741 exception testing.
25742 (OVERFLOW_EXCEPTION): Define.
25743 (OVERFLOW_EXCEPTION_OK): Likewise.
25744 (INVALID_EXCEPTION_OK): Renumber.
25745 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25746 (IGNORE_ZERO_INF_SIGN): Likewise.
25747 (test_exceptions): Handle FE_OVERFLOW.
25748 (exp10_test): Expect overflow exceptions.
25749 (exp2_test): Likewise.
25750 (expm1_test): Likewise.
25751 (nextafter_test): Likewise.
25752 (pow_test): Likewise.
25753 (scalbn_test): Likewise.
25754 (scalbln_test): Likewise.
25755
95443d88
L
257562012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25757
25758 * sysdeps/x86_64/bits/atomic.h
25759 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25760 64bit integer.
25761 (atomic_exchange_acq): Likewise.
25762 (__arch_exchange_and_add_body): Likewise.
25763 (__arch_add_body): Likewise.
25764 (atomic_add_negative): Likewise.
25765 (atomic_add_zero): Likewise.
25766
490df6c4
L
257672012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25768
c2722551 25769 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
25770 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25771
5e52b189
L
257722012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25773
25774 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25775 Check __x86_64__ instead of __WORDSIZE.
25776
a9879d4c
L
257772012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25778
25779 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25780
5df98260
DM
257812012-03-19 David S. Miller <davem@davemloft.net>
25782
e1497744
DM
25783 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25784
5df98260
DM
25785 * sysdeps/sparc/fpu/fenv_private.h: New file.
25786 * sysdeps/sparc/fpu/math_private.h: Use it.
25787 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25788 Remove.
25789 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25790 (libc_feholdexcept_setroundl): Remove.
25791 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25792 Remove.
25793 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25794 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25795
b4c35121
L
257962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25797
25798 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25799 int64_t instead of long int.
25800 (INSERT_WORDS64): Likwise.
25801
56965fd7
L
258022012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25803
25804 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25805 _Unwind_GetCFA return to _Unwind_Ptr first.
25806
83d1aec8
JM
258072012-03-19 Joseph Myers <joseph@codesourcery.com>
25808
1897ad44
JM
25809 [BZ #13629]
25810 * math/s_clog.c: Include <float.h>.
25811 (__clog): Scale large or subnormal inputs.
25812 * math/s_clogf.c: Likewise.
25813 * math/s_clogl.c: Likewise.
25814 * math/s_clog10.c: Include <float.h>.
25815 (M_LOG10_2): Define.
25816 (__clog10): Scale large or subnormal inputs.
25817 * math/s_clog10f.c: Likewise.
25818 * math/s_clog10l.c: Likewise.
25819 * math/libm-test.inc (clog_test): Add more tests.
25820 (clog10_test): Likewise.
25821 * sysdeps/i386/fpu/libm-test-ulps: Update.
25822 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25823
7726d6a9
JM
25824 [BZ #11451]
25825 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25826 x and y.
25827 * math/libm-test.inc (atan2_test): Add another test.
25828
83d1aec8
JM
25829 * Makerules (common-objdir-compile): Remove.
25830 * sysdeps/unix/Makefile (config-generated): Do not add
25831 $(unix-generated) to variable.
25832 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25833 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25834 Remove rule.
25835 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25836 Likewise.
25837 [generic bits/local_lim.h] (before-compile): Do not append to
25838 variable.
25839 [generic bits/local_lim.h] (common-generated): Likewise.
25840 [generic sys/param.h] (before-compile): Do not append to variable.
25841 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25842 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25843 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25844 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25845 include.
25846 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25847 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25848 [generic sys/param.h] ($(addprefix
25849 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25850 [generic sys/param.h] (common-generated): Do not append to
25851 variable.
25852 [generic sys/param.h] (sysdep_headers): Likewise.
25853 [generic bits/errno.h] (before-compile): Do not append to
25854 variable.
25855 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25856 rule.
25857 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25858 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25859 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25860 [generic bits/errno.h] (common-generated): Do not append to
25861 variable.
25862 [generic bits/ioctls.h] (before-compile): Do not append to
25863 variable.
25864 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25865 rule.
25866 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25867 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25868 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25869 rule.
25870 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25871 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25872 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25873 [generic bits/ioctls.h] (common-generated): Do not append to
25874 variable.
25875 [generic sys/syscall.h] (syscall.h): Remove variable.
25876 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25877 rule.
25878 [generic sys/syscall.h] (before-compile): Do not append to
25879 variable.
25880 [generic sys/syscall.h] (common-generated): Likewise.
25881 * sysdeps/unix/errnos-tmpl.c: Remove file.
25882 * sysdeps/unix/errnos.awk: Likewise.
25883 * sysdeps/unix/ioctls-tmpl.c: Likewise.
25884 * sysdeps/unix/ioctls.awk: Likewise.
25885 * sysdeps/unix/mk-local_lim.c: Likewise.
25886 * sysdeps/unix/snarf-ioctls: Likewise.
25887
4851a949
RH
258882012-03-19 Richard Henderson <rth@twiddle.net>
25889
bd37f2ee
RH
25890 * sysdeps/i386/fpu/fenv_private.h: New file.
25891 * sysdeps/i386/fpu/math_private.h: Use it.
25892 (math_opt_barrier, math_force_eval): Remove.
25893 (libc_feholdexcept_setround_53bit): Remove.
25894 (libc_feupdateenv_53bit): Remove.
25895 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25896 (math_opt_barrier, math_force_eval): Remove.
25897 (libc_feholdexcept): Remove.
25898 (libc_feholdexcept_setround): Remove.
25899 (libc_fetestexcept, libc_fesetenv): Remove.
25900 (libc_feupdateenv_test): Remove.
25901 (libc_feupdateenv, libc_feholdsetround): Remove.
25902 (libc_feresetround): Remove.
25903
d0adc922
RH
25904 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25905 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25906
0fe0f1f8
RH
25907 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25908 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25909 (libc_feupdateenv_testl): New.
25910 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25911 (libc_feupdateenv_testf): New.
25912 (libc_feupdateenv): Use libc_feupdateenv_test.
25913 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25914 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25915
eb92c487
RH
25916 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25917 (libc_feholdsetroundf, libc_feholdsetroundl): New.
25918 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25919 (libc_feresetround_noex): New.
25920 (libc_feresetround_noexf): New.
25921 (libc_feresetround_noexl): New.
25922 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25923 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25924 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25925 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25926 SET_RESTORE_ROUND.
25927 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25928 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25929 (__cos): Likewise.
25930 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25931 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25932 SET_RESTORE_ROUND_NOEX.
25933 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25934 SET_RESTORE_ROUND_NOEXF.
25935 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25936 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25937 (libc_feholdsetroundf): New.
25938 (libc_feresetround, libc_feresetroundf): New.
25939
7d2e8012
RH
25940 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25941 (libc_feholdexcept_setround_53bit): Convert from macro to function.
25942 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
25943
b4dabbb4
RH
25944 * sysdeps/generic/math_private.h: Include <fenv.h>.
25945 (default_libc_feholdexcept): New.
25946 (default_libc_feholdexcept_setround): New.
25947 (default_libc_fesetenv, default_libc_feupdateenv): New.
25948 (libc_feholdexcept): Only define if undefined.
25949 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25950 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25951 (libc_feholdexcept_setroundl): Likewise.
25952 (libc_feholdexcept_setround_53bit): Likewise.
25953 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25954 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25955 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25956 (libc_feupdateenv_53bit): Likewise.
25957 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25958 (libc_feholdexcept): Convert from macro to inline function.
25959 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25960 (libc_fesetenv, libc_feupdateenv): Likewise.
25961
4851a949
RH
25962 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25963 not previously defined.
25964 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25965 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25966 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25967 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25968 * sysdeps/ieee754/flt-32/math_private.h: New file.
25969 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25970 math_private.h below SET_FLOAT_WORD.
25971 (__isnan, __isinf_ns, __finite): Remove.
25972 (__isnanf, __isinf_nsf, __finitef): Remove.
25973
e79d442e
AS
259742012-03-18 Andreas Schwab <schwab@linux-m68k.org>
25975
25976 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25977
90b80344
DM
259782012-03-17 David S. Miller <davem@davemloft.net>
25979
25980 [BZ #6471]
25981 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
25982 for 2.16.
25983
edc21804
DM
259842012-03-16 David S. Miller <davem@davemloft.net>
25985
77e927af
DM
25986 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
25987 warnings.
25988
374976dd
DM
25989 [BZ #6471]
25990 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
25991 properly.
25992 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
25993 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
25994 sysdep_routines when subdir is sysvipc.
25995 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
25996 __getshmlba helper.
25997
edc21804
DM
25998 * sysdeps/sparc/fpu/libm-test/ulps: Update.
25999
473c3ef3
L
260002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26001
26002 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26003 [__LP64__].
26004
eb0f39b6
L
260052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26006
26007 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26008 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26009 (__lround): Renamed to ...
26010 (__llround): This. Replace long int with long long int.
26011 Define lround functions as aliases of llround functions.
26012 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26013
6b6cd74b
L
260142012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26015
26016 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26017 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
26018 adresses to uintptr_t. Replace "long int" and "unsigned long
26019 int" with "greg_t" on va_arg.
26020
f1a77b01
L
260212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26022
26023 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26024 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26025
26026 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26027 Move e_machine check before EI_CLASS check. Handle x32
26028 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26029 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26030 SKIP_EM_IA_64 and include
26031 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26032
26033 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26034 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26035 (add_system_dir): New macro.
26036
26037 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26038 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26039
11b90b9f
JM
260402012-03-16 Joseph Myers <joseph@codesourcery.com>
26041
c36e1d23
JM
26042 [BZ #2551]
26043 [BZ #2552]
26044 [BZ #2553]
26045 [BZ #2554]
26046 [BZ #2562]
26047 [BZ #2563]
26048 [BZ #2565]
26049 [BZ #2566]
26050 [BZ #2576]
26051 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26052 (y0): Likewise.
26053 * math/w_j0f.c (j0f): Likewise.
26054 (y0f): Likewise.
26055 * math/w_j0l.c (__j0l): Likewise.
26056 (__y0l): Likewise.
26057 * math/w_j1.c (j1): Likewise.
26058 (y1): Likewise.
26059 * math/w_j1f.c (j1f): Likewise.
26060 (y1f): Likewise.
26061 * math/w_j1l.c (__j1l): Likewise.
26062 (__y1l): Likewise.
26063 * math/w_jn.c (jn): Likewise.
26064 (yn): Likewise.
26065 * math/w_jnf.c (jnf): Likewise.
26066 (ynf): Likewise.
26067 * math/w_jnl.c (__jnl): Likewise.
26068 (__ynl): Likewise.
26069 * math/libm-test.inc (j0_test): Add more tests.
26070 (j1_test): Likewise.
26071 (jn_test): Likewise. Add trailing semicolon to existing test.
26072 (y0_test): Likewise.
26073 (y1_test): Likewise.
26074 * sysdeps/i386/fpu/libm-test-ulps: Update.
26075 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26076
11b90b9f
JM
26077 [BZ #13851]
26078 [BZ #13854]
26079 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26080 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26081 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26082 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26083 (__tanl): Set errno for infinite argument.
26084 * sysdeps/i386/fpu/mptan.c: Remove.
26085 * sysdeps/i386/fpu/s_tan.S: Likewise.
26086 * sysdeps/i386/fpu/s_tanl.S: Likewise.
26087 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26088 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26089 * math/libm-test.inc (tan_test): Add more tests and enable more
26090 tests for double and long double.
26091 * sysdeps/i386/fpu/libm-test-ulps: Update.
26092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26093
6a1bd2a1
JK
260942012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
26095
26096 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26097 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26098
10a803e0
RM
260992012-03-16 Roland McGrath <roland@hack.frob.com>
26100
26101 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26102 * configure.in: Use it for both main tree and add-ons.
26103 * configure: Regenerated.
26104
f196c7f7
L
261052012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26106
26107 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26108
8848d99d
JM
261092012-03-16 Joseph Myers <joseph@codesourcery.com>
26110
96cbe7f4
JM
26111 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26112 in comment.
26113
8848d99d
JM
26114 [BZ #13851]
26115 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26116 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26117 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26118 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26119 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26120 infinite argument.
26121 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26122 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26123 != 0 for prec == 2.
26124 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26125 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26126 * sysdeps/i386/fpu/s_cosl.S: Likewise.
26127 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26128 * sysdeps/i386/fpu/s_sinl.S: Likewise.
26129 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26130 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26131 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26132 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26133 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26134 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26135 * math/libm-test.inc (cos_test): Add more tests and enable more
26136 tests for long double.
26137 (sin_test): Likewise.
26138 (sincos_test): Likewise.
26139 * sysdeps/i386/fpu/libm-test-ulps: Update.
26140 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26141
dd7f4703
DM
261422012-03-16 David S. Miller <davem@davemloft.net>
26143
26144 * sysdeps/sparc/fpu/math_private.h: New file.
26145
006f1daa
DM
261462012-03-15 David S. Miller <davem@davemloft.net>
26147
c0c83bc8
DM
26148 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26149 file.
e6a62e18 26150 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
26151 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26152 file.
e6a62e18
DM
26153 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26154 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26155 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26156 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26157 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26158 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26159 sysdep routines.
26160 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26161
88cb87d9
DM
26162 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26163 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26164
006f1daa 26165 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
26166 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26167 sparc-ifunc.h
006f1daa 26168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
26169 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26170 Likewise.
26171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26172 Likewise.
006f1daa
DM
26173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26175 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
26176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26177 Likewise.
006f1daa
DM
26178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
26182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26183 Likewise.
26184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26185 Likewise.
006f1daa
DM
26186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26190 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26191 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26192 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26193 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26194 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26195 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26196 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26197 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26198 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26199 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26200 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26201 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26202 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26203 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26204 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26205 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26206 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26207 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26208 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26209 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26210
11e0098e
AS
262112012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26212
26213 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26214 scaling.
26215 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26216
e85b09d0
AJ
262172012-03-15 Andreas Jaeger <aj@suse.de>
26218
26219 [BZ #13852]
26220 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26221 ieee754/flt-32 implementation for sin, cos and sincos.
26222 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26223 * sysdeps/i386/fpu/s_cosf.S: Likewise.
26224 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26225 * sysdeps/i386/fpu/s_sinf.S: Likewise.
26226 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26227 ieee754/flt-32 implementation for tan.
26228
26229 * math/libm-test.inc (cos_test): Enable some large input tests for
26230 float as well
26231 (sin_test): Likewise.
26232 (sincos_test): Likewise.
26233 (tan_test): Add tests for large input.
26234
26235 * sysdeps/i386/fpu/libm-test-ulps: Update.
26236
81c64153
AJ
262372012-03-15 Andreas Jaeger <aj@suse.de>
26238
26239 [BZ #13658]
26240 * math/libm-test.inc (cos_test): Add more test cases.
26241 (sin_test): Likewise.
26242 (sincos_test): Likewise.
26243
7bbfa5c6
AJ
262442012-03-15 Andreas Jaeger <aj@suse.de>
26245
26246 [BZ #13837]
26247 * math/libm-test.inc (cos_test): Add a test case for large input
26248 value.
26249 (sin_test): Likewise.
26250 (sincos_test): Likewise.
26251
262522012-03-15 Andreas Jaeger <aj@suse.de>,
26253 Joseph Myers <joseph@codesourcery.com>
26254
26255 [BZ #13658]
0671f479 26256 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
26257 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26258 * sysdeps/i386/fpu/branred.c: Likewise.
26259 * sysdeps/i386/fpu/dosincos.c: Likewise.
26260 * sysdeps/i386/fpu/mpa.c: Likewise.
26261 * sysdeps/i386/fpu/s_cos.S: Likewise.
26262 * sysdeps/i386/fpu/s_sin.S: Likewise.
26263 * sysdeps/i386/fpu/s_sincos.S: Likewise.
26264 * sysdeps/i386/fpu/sincos32.c: Likewise.
26265
26266 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26267 Define.
26268 (libc_feupdateenv_53bit): Define.
26269 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26270 Define.
26271 (libc_feupdateenv_53bit): Define.
26272
26273 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26274 53 bit (without extend i386 double precision).
26275
26276 * math/libm-test.inc (sincos_test): Add tests for large input.
26277 (sin): Likewise.
26278 (cos): Likewise.
26279
26280 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26281
9cad04ea
AS
262822012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26283
26284 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26285
f7062b9a
DM
262862012-03-15 David S. Miller <davem@davemloft.net>
26287
26288 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26289 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26290 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26291 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26292 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26293 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26294 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26295 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26296 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26297 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26298 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26299 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26300 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26301 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26302 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
26303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26304 file.
f7062b9a 26305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
26306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26307 file.
f7062b9a 26308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
26309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26310 file.
f7062b9a 26311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
26312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26313 file.
f7062b9a
DM
26314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26315 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26316 fmin/fmax sysdep routines.
26317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26318
7bd951ff
DM
263192012-03-14 David S. Miller <davem@davemloft.net>
26320
559398ab
DM
26321 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26322 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26323 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26324 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26325 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26326 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26327 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26328 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26329 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26330 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26331 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26332 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26333 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26334 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26335 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26336 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26337 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26338 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26339 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26340 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26341 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26342 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26343 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26344 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26345 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26346 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26347 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26348 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26349 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26350 routines.
26351 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26352 file.
559398ab 26353 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
26354 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26355 file.
559398ab 26356 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
26357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26358 file.
559398ab 26359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
26360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26361 file.
559398ab 26362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
26363 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26364 file.
559398ab 26365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
26366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26367 file.
26368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26369 file.
26370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26371 file.
26372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26373 file.
26374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26375 New file.
26376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26377 file.
26378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26379 file.
559398ab 26380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
26381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26382 file.
559398ab 26383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26385 file.
559398ab 26386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
26387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
26388 file.
559398ab 26389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
26390 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
26391 VIS3 routines.
559398ab
DM
26392
26393 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26394 New file.
26395
5a1c1e32
DM
26396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26397
eae47a36
DM
26398 * sysdeps/sparc/configure.in: New file.
26399 * sysdeps/sparc/configure: Generate.
26400 * configure.in (libc_cv_sparc_as_vis3): Substitute.
26401 * configure: Regenerate.
26402 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26403 * config.make.in (have-as-vis3): New.
26404 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26405 available use -Av9d instead of -Av9a.
26406 * sysdeps/sparc/sparc64/Makefile: Likewise.
26407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
26408 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26409 New file.
26410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26411 file.
26412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26413 New file.
26414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26415 file.
eae47a36
DM
26416 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26417 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26418 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26419 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26420 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26421
c0c83bc8
DM
26422 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26423 fzeros/fnegs to load 0x80000000 into a float register instead of
26424 using the stack.
7bd951ff
DM
26425 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26426
bd951ccb
JM
264272012-03-14 Joseph Myers <joseph@codesourcery.com>
26428
26429 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26430 bits/syscall.h.
26431 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26432 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26433 ($(inst_includedir)/bits/syscall.h): Remove rule.
26434 ($(objpfx)bits/syscall.d): Include instead of
26435 $(objpfx)syscall-list.d.
26436 (generated): Change syscall-list.h and syscall-list.d to
26437 bits/syscall.h and bits/syscall.d.
26438
bb4e6db2
RM
264392012-03-14 Roland McGrath <roland@hack.frob.com>
26440
26441 [BZ #13846]
26442 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26443
aa4a2ae1
JM
264442012-03-14 Joseph Myers <joseph@codesourcery.com>
26445
e456826d
JM
26446 [BZ #13841]
26447 * math/s_csqrt.c: Include <float.h>.
26448 (__csqrt): Scale large or subnormal inputs.
26449 * math/s_csqrtf.c: Likewise.
26450 * math/s_csqrtl.c: Likewise.
26451 * math/libm-test.inc (csqrt_test): Add more tests.
26452 * sysdeps/i386/fpu/libm-test-ulps: Update.
26453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26454
aa4a2ae1
JM
26455 [BZ #13840]
26456 * math/libm-test.inc (hypot_test): Add more tests.
26457
7c10fd35
DM
264582012-03-13 David S. Miller <davem@davemloft.net>
26459
26460 [BZ #13840]
26461 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26462 double-precision for the calculation instead of scaling.
26463
f453b98b
JM
264642012-03-13 Joseph Myers <joseph@codesourcery.com>
26465
26466 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26467 manipulate bits before adding and subtracting TWO52[sx].
26468 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26469 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26470 Likewise.
26471 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26472
09a3453f
DM
264732012-03-13 David S. Miller <davem@davemloft.net>
26474
8e59da90
DM
26475 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26476 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26477 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26478 rtld-global-offsets.h
26479 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26480
2a8ab7f2
DM
26481 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26482 large parameters.
26483
10f62770
DM
26484 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26485
5f0bdb18
DM
26486 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26487 'err' in the ifdef scope in which it is actually used.
26488
09a3453f
DM
26489 * nss/nss_db/db-init.c: Include string.h
26490
b4b2eb5e
DM
264912012-03-12 David S. Miller <davem@davemloft.net>
26492
98bb2f1c
DM
26493 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26494 masking out of the most significant byte of random value used.
26495 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26496 Fix coding style in previous change.
26497
b4b2eb5e
DM
26498 * sysdeps/unix/sysv/linux/kernel-features.h
26499 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26500 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26501 expression.
26502 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26503 later.
26504
6e226b09
DM
265052012-03-11 David S. Miller <davem@davemloft.net>
26506
a1bcbd40
DM
26507 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26508 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26509 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26510 for 'resultvar' otherwise things get truncated on 64-bit.
26511
cb9d6174
DM
26512 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26513 Fix masking out of the most significant byte of random value used.
26514
6e226b09
DM
26515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26516
058c132d
AS
265172012-03-10 Andreas Schwab <schwab@linux-m68k.org>
26518
26519 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26520
2d2cd515
DM
265212012-03-09 David S. Miller <davem@davemloft.net>
26522
26523 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26524 variables with appropriate CPP guards.
26525 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26526 frame pointer, not the stack pointer. Correct layout comments. Fix test
26527 on resulting framesize and the management of the outregs buffer for pltexit.
26528 Preserve floating point return values across _dl_call_pltexit call.
26529 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26530 framesize and the management of the outregs buffer for pltexit.
26531 Preserve floating point return values across _dl_call_pltexit
26532 call.
26533 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26534 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26535 (print_exit): Fix format string for return register value.
26536
9a07f9d0
JM
265372012-03-10 Joseph Myers <joseph@codesourcery.com>
26538
26539 * sunrpc/Makefile (others): Add rpcgen.
26540 ($(objpfx)rpcgen): Remove special build rule and dependency on
26541 libc.
26542 * sunrpc/rpcgen.c: New file.
26543
547b5e30
PE
265442012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26545
c524201a
PE
26546 [BZ #13673]
26547 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26548 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26549 * sysdeps/i386/crti.S: Likewise.
26550 * sysdeps/i386/crtn.S: Likewise.
26551 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26552 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26553 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26554 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26555 * sysdeps/sh/crti.S: Likewise.
26556 * sysdeps/sh/crtn.S: Likewise.
26557 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26558
7b6235f2
PE
26559 [BZ #13673]
26560 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26561 with URL.
26562 * locale/programs/locfile-kw.gperf: Likewise.
26563 * locale/programs/charmap-kw.h: Regenerated.
26564 * locale/programs/locfile-kw.h: Likewise.
26565
547b5e30
PE
26566 [BZ #13673]
26567 * intl/plural.y: Replace FSF snail mail address with URL.
26568 * intl/plural.c: Regenerated.
26569
5f0a5dae
RH
265702012-03-09 Richard Henderson <rth@twiddle.net>
26571
26572 * include/math_private.h: Remove file.
26573 * math/math_private.h: Move file ...
26574 * sysdeps/generic/math_private.h: ... here.
26575
b8c03620
RH
26576 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26577 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26578 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26579
4e234f5d 26580 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
26581 and <math_private.h>.
26582 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26583 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26584 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26585 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26586 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26587 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26588 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26589 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26590 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26591 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26592 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26593 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26594 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26595 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26596 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26597 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26598 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26599 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26600 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26601 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26602 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26603 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26604 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26605 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26606 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26607 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26608 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26609 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26610 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26611 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26612 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26613 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26614 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26615 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26616 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26617 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26618 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26619 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26620 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26621 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26622 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26623 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26624 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26625 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26626 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26627 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26628 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26629 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26630 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26631 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26632 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26633 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26634 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26635 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26636 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26637 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26638 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26639 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26640 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26641 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26642 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26643 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26644 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26645 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26646 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26647 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26648 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26649 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26650 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26651 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26652 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26653 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26654 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26655 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26656 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26657 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26658 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26659 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26660 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26661 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26662 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26663 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26664 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26665 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26666 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26667 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26668 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26669 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26670 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26671 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26672 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26673 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26674 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26675 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26676 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26677 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26678 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26679 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26680 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26681 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26682 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26683 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26684 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26685 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26686 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26687 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26688 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26689 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26690 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26691 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26692 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26693 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26694 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26695 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26696 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26697 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26698 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26699 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26700 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26701 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26702 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26703 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26704 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26705 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26706 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26707 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26708 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26709 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26710 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26711 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26712 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26713 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26714 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26715 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26716 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26717 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26718 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26719 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26720 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26721 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26722 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26723 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26724 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26725 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26726 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26727 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26728 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26729 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26730 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26731 * sysdeps/ieee754/k_standard.c: Likewise.
26732 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26733 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26734 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26735 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26736 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26737 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26738 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26739 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26740 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26741 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26742 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26743 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26744 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26745 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26746 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26747 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26748 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26749 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26750 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26751 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26752 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26753 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26754 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26755 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26756 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26757 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26758 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26759 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26760 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26761 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26762 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26763 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26764 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26765 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26766 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26767 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26768 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26769 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26770 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26771 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26772 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26773 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26774 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26775 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26776 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26777 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26778 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26779 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26780 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26781 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26782 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26783 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26784 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26785 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26786 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26787 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26788 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26789 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26790 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26791 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26792 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26793 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26794 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26795 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26796 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26797 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26798 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26799 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26800 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26801 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26802 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26803 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26804 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26805 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26806 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26807 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26808 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26809 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26810 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26811 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26812 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26813 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26814 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26815 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26816 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26817 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26818 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26819 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26820 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26821 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26822 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26823 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26824 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26825 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26826 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26827 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26828 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26829 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26830 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26831 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26832 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26833 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26834 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26835 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26836 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26837 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26838 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26839 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26840 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26841 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26842 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26843 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26844 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26845 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26846 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26847 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26848 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26849 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26850 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26851 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26852 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26853 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26854 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26855 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26856 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26857 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26858 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26859 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26860 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26861 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26862 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26863 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26864 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26865 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26866 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26867 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26868 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26869 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26870 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26871 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26872 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26873 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26874 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26875 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26876 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26877 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26878 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26879 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26880 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26881 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26882 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26883 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26884 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26885 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26886 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26887 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26888 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26889 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26890 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26891 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26892 * sysdeps/ieee754/s_lib_version.c: Likewise.
26893 * sysdeps/ieee754/s_matherr.c: Likewise.
26894 * sysdeps/ieee754/s_signgam.c: Likewise.
26895 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26896 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26897 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26898 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26899 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26900 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26901 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26902 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26903 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26904 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26905 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26906 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26907 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26908 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26909 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26910 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26911 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26912 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26913 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26914 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26915 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 26916
1991fa03
JM
269172012-03-09 Joseph Myers <joseph@codesourcery.com>
26918
26919 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26920 * sunrpc/rpc_main.c: Likewise.
26921 * sunrpc/rpc_svcout.c: Likewise.
26922
60d6f5a6
DM
269232012-03-09 David S. Miller <davem@davemloft.net>
26924
26925 * include/math_private.h: New file.
26926
4962050e
JM
269272012-03-09 Joseph Myers <joseph@codesourcery.com>
26928
02a6f887
JM
26929 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26930 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26931 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26932 from <bits/socket_type.h>.
26933 (enum __socket_type): Don't define here.
26934 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26935 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26936 bits/socket_type.h.
26937
c6e013c1
JM
26938 [BZ #13566]
26939 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26940 checking __USE_GNU.
26941
4962050e
JM
26942 * Makerules ($(inst_includedir)/%.h): New rule.
26943 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26944 (install-others): Remove variable setting.
26945 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26946
38842f45
RH
269472012-03-08 Richard Henderson <rth@twiddle.net>
26948
67bb6da6
RH
26949 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26950 from macro to inline function; merge with the
26951 !__LIBC_INTERNAL_MATH_INLINES version.
26952 (__ieee754_sqrtf): Likewise.
26953
15194b4b
RH
26954 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26955 to inline function.
26956 (__rintf, __floor, __floorf): Likewise.
26957
64e21ede
RH
26958 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26959 macro to inline function.
26960 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26961
38842f45
RH
26962 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26963 not <math/math_private.h>.
26964
c64bf5fe
DM
269652012-03-08 David S. Miller <davem@davemloft.net>
26966
26967 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26968 copyright year.
26969 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26970
82d86f28
TS
269712012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26972
26973 * resolv/gai_misc.c (handle_requests): Fix struct timespec
26974 normalization.
26975 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
26976 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
26977
aea5d727
UD
269782012-03-08 Ulrich Drepper <drepper@gmail.com>
26979
26980 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
26981 be defined individually, they must be defined as a block. Define
26982 S for printing a string instead of hidint the different by using a
26983 macro for adding the 'l'.
26984 * stdio-common/tst-fphex-wide.c: Adjust.
26985
70bca0a3
MP
269862012-03-07 Marek Polacek <polacek@redhat.com>
26987
26988 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
26989
65b81130
MP
269902012-03-08 Marek Polacek <polacek@redhat.com>
26991
26992 [BZ #13806]
26993 * stdio-common/Makefile (tests): Add tst-fphex-wide.
26994 * stdio-common/tst-fphex.c: Define a few macros to make the
26995 test reusable. Use them.
26996 * stdio-common/tst-fphex-wide.c: New file.
26997
07037eeb
JM
269982012-03-08 Joseph Myers <joseph@codesourcery.com>
26999
a7a93d50
JM
27000 [BZ #6911]
27001 * manual/macros.texi (gnusystems): New macro.
27002 (nongnusystems): Likewise.
27003 (gnulinuxhurdsystems): Likewise.
27004 (gnuhurdsystems): Likewise..
27005 (gnulinuxsystems): Likewise.
27006 * manual/charset.texi: Use new macros or @theglibc{} to refer to
27007 variants of the GNU system, not "GNU system".
27008 * manual/conf.texi: Likewise.
27009 * manual/errno.texi: Likewise. Update example of errno macro
27010 expansion.
27011 * manual/filesys.texi: Likewise.
27012 (getumask): Document as specific to GNU/Hurd.
27013 * manual/install.texi: Likewise. Reword some references to
27014 GNU/Linux.
27015 * manual/intro.texi: Likewise.
27016 * manual/io.texi: Likewise.
27017 (File Name Portability): Detail which constraints are inapplicable
27018 to all GNU systems and which are only inapplicable to GNU/Hurd.
27019 * manual/job.texi: Likewise.
27020 * manual/llio.texi: Likewise.
27021 (O_NOCTTY): Document as present on GNU/Linux.
27022 * manual/maint.texi: Likewise.
27023 * manual/memory.texi: Likewise.
27024 * manual/pattern.texi: Likewise.
27025 * manual/pipe.texi: Likewise.
27026 * manual/process.texi: Likewise.
27027 * manual/resource.texi: Likewise.
27028 (RUSAGE_CHILDREN): Remove statement about specifying a particular
27029 child on GNU/Hurd.
27030 * manual/setjmp.texi: Likewise.
27031 * manual/signal.texi: Likewise.
27032 * manual/startup.texi: Likewise.
27033 * manual/stdio.texi: Likewise.
27034 * manual/terminal.texi: Likewise.
27035 (ONLCR): Document as POSIX.
27036 (OXTABS): Document availability on GNU/Linux as XTABS.
27037 (ONOEOT): Document availability separately from other bits.
27038 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27039 * manual/time.texi: Likewise.
27040 * manual/users.texi: Likewise.
27041 * INSTALL: Regenerated.
27042 * sysdeps/gnu/errlist.c: Regenerated.
27043
07037eeb
JM
27044 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27045 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27046 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
27047 puts.
27048 * configure: Regenerated.
27049
d1d3431a
JM
270502012-03-07 Joseph Myers <joseph@codesourcery.com>
27051
af6a1e37
JM
27052 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27053 default includes instead of AC_HEADER_CHECK.
27054 * sysdeps/i386/configure: Regenerated.
27055
d1d3431a
JM
27056 [BZ #10716]
27057 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27058 * math/s_cacoshf.c (__cacoshf): Likewise.
27059 * math/s_cacoshl.c (__cacoshl): Likewise.
27060 * math/s_casinh.c (__casinh): Set signs of result from argument.
27061 * math/s_casinhf.c (__casinhf): Likewise.
27062 * math/s_casinhl.c (__casinhl): Likewise.
27063 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27064 (casinh_test): Add more tests.
27065 * sysdeps/i386/fpu/libm-test-ulps: Update.
27066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27067
482ff4da
UD
270682012-03-07 Ulrich Drepper <drepper@gmail.com>
27069
872fda05
UD
27070 * po/zh_TW.po: Update from translation team.
27071
a4300c7a
UD
27072 * login/Makefile (distribute): Remove variable.
27073 * catgets/Makefile: Likewise.
27074 * mach/Makefile: Likewise.
27075 * malloc/Makefile: Likewise.
27076 * misc/Makefile: Likewise.
27077 * iconv/Makefile: Likewise.
27078 * nscd/Makefile: Likewise.
27079 * hurd/Makefile: Likewise.
27080 * manual/Makefile: Likewise.
27081 * locale/Makefile: Likewise.
27082 * intl/Makefile: Likewise.
27083 * conform/Makefile: Likewise.
27084 * nss/Makefile: Likewise.
27085 * time/Makefile: Likewise.
27086 * soft-fp/Makefile: Likewise.
27087 * dirent/Makefile: Likewise.
27088 * gmon/Makefile: Likewise.
27089 * po/Makefile: Likewise.
27090 * rt/Makefile: Likewise.
27091 * socket/Makefile: Likewise.
27092 * math/Makefile: Likewise.
27093 * signal/Makefile: Likewise.
27094 * debug/Makefile: Likewise.
27095 * elf/Makefile: Likewise.
27096 * timezone/Makefile: Likewise.
27097 * stdlib/Makefile: Likewise.
27098 * iconvdata/Makefile: Likewise.
27099 * sunrpc/Makefile: Likewise.
27100 * io/Makefile: Likewise.
27101 * argp/Makefile: Likewise.
27102 * inet/Makefile: Likewise.
27103 * hesiod/Makefile: Likewise.
27104 * grp/Makefile: Likewise.
27105 * csu/Makefile: Likewise.
27106 * wctype/Makefile: Likewise.
27107 * crypt/Makefile: Likewise.
27108 * libio/Makefile: Likewise.
27109 * string/Makefile: Likewise.
27110 * nis/Makefile: Likewise.
27111 * resolv/Makefile: Likewise.
27112 * stdio-common/Makefile: Likewise.
27113 * wcsmbs/Makefile: Likewise.
27114 * dlfcn/Makefile: Likewise.
27115 * posix/Makefile: Likewise.
27116
3b7c4e74 27117 [BZ #6959]
482ff4da
UD
27118 * timezone/Makefile: Don't install timezone files, just the programs
27119 and scripts.
27120
f72ed77d
UD
271212012-03-06 Ulrich Drepper <drepper@gmail.com>
27122
a000466f
UD
27123 * nss/databases.def: Add missing gshadow entry.
27124
f72ed77d
UD
27125 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
27126
a53b7a4e
MP
271272012-03-06 Marek Polacek <polacek@redhat.com>
27128
27129 [BZ #13726]
27130 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27131 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27132 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27133 * stdio-common/tst-long-dbl-fphex.c: New file.
27134
e9258400
DM
271352012-03-06 David S. Miller <davem@davemloft.net>
27136
27137 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27138 (set_obp_int): New function.
27139 (get_obp_int): New function.
27140 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
27141 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27142 Avoid unused variable warnings on 'val' and use builtin_expect.
27143 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27144 __builtin_expect.
e9258400
DM
27145 (INLINE_CLONE_SYSCALL): Likewise.
27146
3bd2c723
DM
271472012-03-05 David S. Miller <davem@davemloft.net>
27148
27149 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27150
bbb78d03
AS
271512012-03-05 Andreas Schwab <schwab@linux-m68k.org>
27152
884c5db4
AS
27153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27154
bbb78d03
AS
27155 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27156 only for |x| >= 40.
27157 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27158
1c9f702a 271592012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
27160
27161 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27162 Replace gettimeofday with __vdso_gettimeofday.
27163
7be16f82
RM
27164 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27165 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27166 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
27167
27168 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27169 time with __vdso_time.
27170
ed58a00f
JM
271712012-03-05 Joseph Myers <joseph@codesourcery.com>
27172
27173 * manual/lang.texi (size_t): Note types to which size_t may be
27174 equivalent with the GNU C Library, but do not describe when
27175 differences between them are significant.
27176
30ee4ced
AJ
271772012-03-05 Andreas Jaeger <aj@suse.de>
27178
27179 * sysdeps/i386/fpu/libm-test-ulps: Update.
27180
b7cd39e8
JM
271812012-03-05 Joseph Myers <joseph@codesourcery.com>
27182
27183 [BZ #3976]
27184 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27185 (__ieee754_pow): Save and restore rounding mode and use
27186 round-to-nearest for main computations.
27187 * math/libm-test.inc (pow_test_tonearest): New function.
27188 (pow_test_towardzero): Likewise.
27189 (pow_test_downward): Likewise.
27190 (pow_test_upward): Likewise.
27191 (main): Call the new functions.
27192 * sysdeps/i386/fpu/libm-test-ulps: Update.
27193 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
27194
27195 [BZ #3976]
27196 * math/libm-test.inc (cosh_test_tonearest): New function.
27197 (cosh_test_towardzero): Likewise.
27198 (cosh_test_downward): Likewise.
27199 (cosh_test_upward): Likewise.
27200 (sinh_test_tonearest): Likewise.
27201 (sinh_test_towardzero): Likewise.
27202 (sinh_test_downward): Likewise.
27203 (sinh_test_upward): Likewise.
27204 (main): Call the new functions.
27205 * sysdeps/i386/fpu/libm-test-ulps: Update.
27206 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27207
6c6a98c9
TV
272082012-03-05 Tom de Vries <tom@codesourcery.com>
27209
27210 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27211 default stack guard is set in last bytes.
27212 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27213
21bb2d2e 272142012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 27215
21bb2d2e 27216 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 27217
21bb2d2e
AJ
27218 [BZ #13656]
27219 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27220 possibly allocate from heap instead of stack.
27221 * stdio-common/bug-vfprintf-nargs.c: New file.
27222 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 27223
c6922934
AS
272242012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27225
27226 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27227
bc957d53
MP
272282012-03-03 Marek Polacek <polacek@redhat.com>
27229
27230 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27231 * math/math_private.h: Likewise.
27232 * stdlib/tst-strtod.c: Likewise.
27233 * sysdeps/i386/i486/bits/atomic.h: Likewise.
27234 * sysdeps/x86_64/bits/atomic.h: Likewise.
27235
6358490d
DM
272362012-03-02 David S. Miller <davem@davemloft.net>
27237
27238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27240 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27241 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27242 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27243 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27244 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27245 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27246
01ae168d
RM
272472012-03-02 Roland McGrath <roland@hack.frob.com>
27248
d9a17c07
RM
27249 [BZ #13792]
27250 * manual/examples/README: New file, says the example source files
27251 can be used under GPL>=2.
27252 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27253 line containing just "*/".
27254 * manual/examples/add.c: Add copyright header (GPL>=2).
27255 * manual/examples/argp-ex1.c: Likewise.
27256 * manual/examples/argp-ex2.c: Likewise.
27257 * manual/examples/argp-ex3.c: Likewise.
27258 * manual/examples/argp-ex4.c: Likewise.
27259 * manual/examples/atexit.c: Likewise.
27260 * manual/examples/db.c: Likewise.
27261 * manual/examples/dir.c: Likewise.
27262 * manual/examples/dir2.c: Likewise.
27263 * manual/examples/execinfo.c: Likewise.
27264 * manual/examples/filecli.c: Likewise.
27265 * manual/examples/filesrv.c: Likewise.
27266 * manual/examples/fmtmsgexpl.c: Likewise.
27267 * manual/examples/genpass.c: Likewise.
27268 * manual/examples/inetcli.c: Likewise.
27269 * manual/examples/inetsrv.c: Likewise.
27270 * manual/examples/isockad.c: Likewise.
27271 * manual/examples/longopt.c: Likewise.
27272 * manual/examples/memopen.c: Likewise.
27273 * manual/examples/memstrm.c: Likewise.
27274 * manual/examples/mkfsock.c: Likewise.
27275 * manual/examples/mkisock.c: Likewise.
27276 * manual/examples/mygetpass.c: Likewise.
27277 * manual/examples/pipe.c: Likewise.
27278 * manual/examples/popen.c: Likewise.
27279 * manual/examples/rprintf.c: Likewise.
27280 * manual/examples/search.c: Likewise.
27281 * manual/examples/select.c: Likewise.
27282 * manual/examples/setjmp.c: Likewise.
27283 * manual/examples/sigh1.c: Likewise.
27284 * manual/examples/sigusr.c: Likewise.
27285 * manual/examples/stpcpy.c: Likewise.
27286 * manual/examples/strdupa.c: Likewise.
27287 * manual/examples/strftim.c: Likewise.
27288 * manual/examples/strncat.c: Likewise.
27289 * manual/examples/subopt.c: Likewise.
27290 * manual/examples/swapcontext.c: Likewise.
27291 * manual/examples/termios.c: Likewise.
27292 * manual/examples/testopt.c: Likewise.
27293 * manual/examples/testpass.c: Likewise.
27294 * manual/examples/timeval_subtract.c: Likewise.
27295
01ae168d
RM
27296 [BZ #13792]
27297 * manual/time.texi (Elapsed Time): Move timeval_subtract example
27298 function to ...
27299 * manual/timeval_subtract.c.texi: ... here, new file.
27300
49efa33d
DM
273012012-03-02 David S. Miller <davem@davemloft.net>
27302
27303 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27304
28afd92d
JM
273052012-03-02 Joseph Myers <joseph@codesourcery.com>
27306
804360ed
JM
27307 [BZ #3976]
27308 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27309 (__sin): Save and restore rounding mode and use round-to-nearest
27310 for all computations.
27311 (__cos): Save and restore rounding mode and use round-to-nearest
27312 for all computations.
27313 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27314 <fenv.h>.
27315 (tan): Save and restore rounding mode and use round-to-nearest for
27316 all computations.
27317 * math/libm-test.inc (cos_test_tonearest): New function.
27318 (cos_test_towardzero): Likewise.
27319 (cos_test_downward): Likewise.
27320 (cos_test_upward): Likewise.
27321 (sin_test_tonearest): Likewise.
27322 (sin_test_towardzero): Likewise.
27323 (sin_test_downward): Likewise.
27324 (sin_test_upward): Likewise.
27325 (tan_test_tonearest): Likewise.
27326 (tan_test_towardzero): Likewise.
27327 (tan_test_downward): Likewise.
27328 (tan_test_upward): Likewise.
27329 (main): Call the new functions.
27330 * sysdeps/i386/fpu/libm-test-ulps: Update.
27331 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27332
a6d06d7b
JM
27333 [BZ #10135]
27334 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27335 small n, then large n, before computing and testing k+n.
27336 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27337 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27338 Likewise.
27339 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27340 Likewise.
27341 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27342 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27343 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27344 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27345 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27346 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27347 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27348 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27349 * math/libm-test.inc (scalbn_test): Add more tests.
27350 (scalbln_test): Likewise.
27351
07e12bb3
JM
27352 * manual/filesys.texi (mode_t): Describe constraints on size and
27353 signedness, not exact equivalence to a particular type.
27354 (ino_t): Likewise.
27355 (ino64_t): Likewise.
27356 (dev_t): Likewise.
27357 (nlink_t): Likewise.
27358 (blkcnt_t): Likewise.
27359 (blkcnt64_t): Likewise.
27360 * manual/llio.texi (off_t): Likewise.
27361
28afd92d
JM
27362 [BZ #3976]
27363 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27364 (__ieee754_exp): Save and restore rounding mode and use
27365 round-to-nearest for all computations.
27366 * math/libm-test.inc (exp_test_tonearest): New function.
27367 (exp_test_towardzero): Likewise.
27368 (exp_test_downward): Likewise.
27369 (exp_test_upward): Likewise.
27370 (main): Call the new functions.
27371 * sysdeps/i386/fpu/libm-test-ulps: Update.
27372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27373
b1eeb65d
CD
273742012-03-01 Chris Demetriou <cgd@google.com>
27375
27376 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27377 have predictable order.
27378
53362a4b
DM
273792012-03-01 David S. Miller <davem@davemloft.net>
27380
3c969083
DM
27381 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27382
759707de
DM
27383 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
27384 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
27385 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
27386 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
27387
dfdb8ff2
DM
27388 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
27389 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
27390 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
27391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
27392 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
27393 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
27394 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
27395 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27396 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27397
ead89f96
DM
27398 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27399
7f66bd07
DM
27400 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27401 * sysdeps/sparc/fpu/libm-test-ulps: to here.
27402 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27403
53362a4b
DM
27404 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27405 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27406 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27407 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27408 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27409 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27410 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27411 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27412 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27413 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27414 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27415 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27416 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27417 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27418 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27419 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27420 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27421 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27422 * sysdeps/sparc/elf/configure: Regenerated.
27423
7b1902cb
JM
274242012-03-01 Joseph Myers <joseph@codesourcery.com>
27425
bec039bc
JM
27426 * configure.in (AS, LD): Require binutils 2.20 or later.
27427 * configure: Regenerated.
27428 * manual/install.texi (Tools for Compilation): Give binutils 2.20
27429 as required minimum version.
27430 * INSTALL: Regenerated.
27431
7b1902cb
JM
27432 [BZ #2541]
27433 [BZ #4108]
27434 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27435 before squaring exponent.
27436 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27437 bottom long double and 27 bits of top long double before squaring
27438 exponent.
27439 * math/libm-test.inc (erfc_test): Add more tests.
27440 * sysdeps/i386/fpu/libm-test-ulps: Update.
27441 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27443
f775c276
KT
274442012-03-01 Kai Tietz <ktietz@redhat.com>
27445
27446 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27447 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27448 containing bit-fields.
27449 * soft-fp/extended.h (_FP_UNION_E): Likewise.
27450 * soft-fp/single.h (_FP_UNION_S): Likewise.
27451 * soft-fp/double.h (_FP_UNION_D): Likewise.
27452
5b8a4d4a
JM
274532012-02-29 Joseph Myers <joseph@codesourcery.com>
27454
0bab47b6
JM
27455 [BZ #13786]
27456 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27457 not include ../strcmp.S.
27458 [USE_AS_STRNCASECMP_L]: Likewise.
27459 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27460 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27461 * sysdeps/i386/i686/multiarch/strncase_l-c.c
27462 (__strncasecmp_l_ia32): Define as alias to
27463 __strncasecmp_l_nonascii.
27464
0fcad3e2
JM
27465 [BZ #5794]
27466 * math/libm-test.inc (expm1_test): Add test for bug 5794.
27467 * sysdeps/i386/fpu/libm-test-ulps: Update.
27468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27469
5b8a4d4a
JM
27470 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27471 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27472
8fdceb2e
JL
274732012-02-29 Jeff Law <law@redhat.com>
27474
27475 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27476 out of bounds read.
27477
1f393a11
MP
274782012-02-29 Marek Polacek <polacek@redhat.com>
27479
27480 [BZ #13706]
27481 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27482 * elf/Makefile: Add rules to run tst-unused-dep.out.
27483
8847f037
DM
274842012-02-28 David S. Miller <davem@davemloft.net>
27485
27486 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27487 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27488 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27489 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27490 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27491 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27492
169d7f11
JM
274932012-02-29 Joseph Myers <joseph@codesourcery.com>
27494
27495 * math/libm-test.inc (llround_test): Move one test from
27496 lround_test. Use TEST_f_L in moved test.
27497 (lround_test): Move misplaced test to llround_test. Add testcase
27498 from bug 2561.
27499
39adf059
UD
275002012-02-28 Ulrich Drepper <drepper@gmail.com>
27501
27502 * sysdeps/x86_64/fpu/e_expf.S: New file.
27503 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27504
71b5d1c5
SB
275052012-02-28 Stanislav Brabec <sbrabec@suse.cz>
27506
27507 [BZ #13637]
27508 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27509 of remain_len that may cause incomplete multi-byte character and
27510 false match.
27511 * posix/bug-regex33.c: New file.
27512 * posix/Makefile (tests): Add bug-regex33.
27513
1f77f049
JM
275142012-02-28 Joseph Myers <joseph@codesourcery.com>
27515
27516 * manual/macros.texi: New file.
27517 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27518 * manual/libc.texinfo: Include macros.texi.
27519 * manual/creatute.texi: Likewise.
27520 * manual/install.texi: Likewise.
27521 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27522 @glibcadj{} in references to the GNU C Library.
27523 * manual/charset.texi: Likewise.
27524 * manual/conf.texi: Likewise.
27525 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27526 when not using those macros.
27527 * manual/creature.texi: Likewise.
27528 * manual/crypt.texi: Likewise.
27529 * manual/errno.texi: Likewise.
27530 * manual/filesys.texi: Likewise.
27531 * manual/header.texi: Likewise.
27532 * manual/install.texi: Likewise.
27533 * manual/intro.texi: Likewise.
27534 * manual/io.texi: Likewise.
27535 * manual/job.texi: Likewise.
27536 * manual/lang.texi: Likewise.
27537 * manual/libc.texiinfo: Likewise.
27538 * manual/llio.texi: Likewise.
27539 * manual/locale.texi: Likewise.
27540 * manual/maint.texi: Likewise.
27541 * manual/math.texi: Likewise.
27542 * manual/memory.texi: Likewise.
27543 * manual/message.texi: Likewise.
27544 * manual/nss.texi: Likewise.
27545 * manual/pattern.texi: Likewise.
27546 * manual/process.texi: Likewise.
27547 * manual/resource.texi: Likewise.
27548 * manual/search.texi: Likewise.
27549 * manual/setjmp.texi: Likewise.
27550 * manual/signal.texi: Likewise.
27551 * manual/socket.texi: Likewise.
27552 * manual/startup.texi: Likewise.
27553 * manual/stdio.texi: Likewise.
27554 * manual/string.texi: Likewise.
27555 * manual/sysinfo.texi: Likewise.
27556 * manual/syslog.texi: Likewise.
27557 * manual/terminal.texi: Likewise.
27558 * manual/time.texi: Likewise.
27559 * manual/users.texi: Likewise.
27560 * INSTALL: Regenerated.
27561 * NOTES: Regenerated.
d40c5d54 27562 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 27563
450bf206
AS
275642012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27565
27566 * include/dirent.h: Include <dirstream.h> before
27567 <dirent/dirent.h>.
27568
741a235b
DM
275692012-02-28 David S. Miller <davem@davemloft.net>
27570
27571 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27572 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27573 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27574 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27575
d6b5aa58
DM
275762012-02-27 David S. Miller <davem@davemloft.net>
27577
1aff59a3
DM
27578 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27579 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27580 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27581 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27582
d6b5aa58
DM
27583 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27584 frame pointer instead of stack pointer relative arg slot.
27585 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27586 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27587 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27588
433f48bf
CD
275892012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27590
27591 [BZ #3992]
27592 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27593
d674b76d
DM
275942012-02-27 David S. Miller <davem@davemloft.net>
27595
27596 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27599 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27600 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27601 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27602 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27603 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27604
0e7727f7
JM
276052012-02-27 Joseph Myers <joseph@codesourcery.com>
27606
27607 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27608 later. Allow versions 5-9.
43be4ca2 27609 * configure: Regenerated.
0e7727f7
JM
27610 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27611 required minimum version and 4.6 as recommended version. Do not
27612 mention bugs in GCC 2.7 and 2.8.
43be4ca2 27613 * INSTALL: Regenerated.
0e7727f7 27614
a78bc654
DM
276152012-02-27 David S. Miller <davem@davemloft.net>
27616
428d5830
DM
27617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27619 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27620 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27621 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27622 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27623 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27624 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27625
a78bc654
DM
27626 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27627 manipulate bits before adding and subtracting TWO112[sx].
27628 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27629
4579f81c
RM
276302012-02-27 Roland McGrath <roland@hack.frob.com>
27631
36c8acb4
RM
27632 [BZ #13775]
27633 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27634 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27635 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27636 being in POSIX, because they are in 1003.1-2008.
27637
84ad622b
RM
27638 * rt/tst-aio.c: Include <fcntl.h>.
27639 * rt/tst-aio7.c: Likewise.
27640 * rt/tst-aio64.c: Likewise.
27641
4579f81c
RM
27642 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27643
abd923db
JM
276442012-02-27 Joseph Myers <joseph@codesourcery.com>
27645
27646 * manual/install.texi (--with-headers): Describe headers as
27647 interface headers, not private headers.
27648 (Specific advice for GNU/Linux systems): Describe use of headers
27649 from "make headers_install", not private headers from older
27650 kernels.
43be4ca2 27651 * INSTALL: Regenerated.
abd923db
JM
27652 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27653 Change to 2.6.19.
27654 * sysdeps/unix/sysv/linux/configure: Regenerated.
27655
6664049b
JM
27656 * manual/llio.texi (fclean): Remove documentation.
27657
bb8b6697
JM
27658 * manual/Makefile (libc-texi-generated): New variable. Include
27659 version.texi.
27660 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27661 $(libc-texi-generated), not duplicated list of files.
27662 (version.texi, stamp-version): New rules.
27663 (realclean): Remove $(libc-texi-generated), not individual files
27664 from that list. Do not remove dir-add.texinfo.
27665 * manual/libc.texinfo: Comment out uses of edition numbers and
27666 references to printed manual. Remove last-updated dates.
27667 (EDITION): Comment out.
27668 (ISBN): Likewise.
27669 (VERSION, UPDATED): Remove.
27670 (version.texi): Include.
27671
12e5c3b9
AS
276722012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27673
27674 * sysdeps/posix/spawni.c: Include <signal.h>.
27675 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27676 * sysdeps/pthread/aio_fsync.c: Likewise.
27677
4efeffc1 276782012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 27679
ba63ba08
UD
27680 * conform/Makefile (tests): Run only when not cross-compiling and
27681 when fast-check is not defined.
27682
d94a4670
UD
27683 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27684 * conform/data/limits.h-data: Fixes for POSIX2008.
27685 * conform/run-conformtest.sh: Run all tests.
27686 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27687 headers.
27688 * include/bits/dlfcn.h: Likewise.
27689 * include/langinfo.h: Likewise.
27690 * include/monetary.h: Likewise.
27691 * include/sys/poll.h: Likewise.
27692
27693 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27694 for __USE_GNU.
27695 * posix/spawn.h: Define __need_sigset_t.
27696 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27697 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27698 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27699 to get sigevent_t only.
27700 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27701 only for __USE_GNU.
27702 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27703 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27704 process_vm_writev only for __USE_GNU.
27705 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
27706
27707 * conform/Makefile: For now ignore errors from run-conformtest.
27708 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27709 POSIX to avoid namespace pollution. Don't prepend headers.
27710 * conform/data/aio.h-data: Fixes for POSIX testing.
27711 * conform/data/fcntl.h-data: Likewise.
27712 * conform/data/glob.h-data: Likewise.
27713 * conform/data/grp.h-data: Likewise.
27714 * conform/data/pthread.h-data: Likewise.
27715 * conform/data/pwd.h-data: Likewise.
27716 * conform/data/signal.h-data: Likewise.
27717 * conform/data/spawn.h-data: Likewise.
27718 * conform/data/stdio.h-data: Likewise.
27719 * conform/data/stdlib.h-data: Likewise.
27720 * conform/data/stropts.h-data: Likewise.
27721 * conform/data/sys/mman.h-data: Likewise.
27722 * conform/data/sys/stat.h-data: Likewise.
27723 * conform/data/sys/types.h-data: Likewise.
27724 * conform/data/sys/wait.h-data: Likewise.
27725 * conform/data/time.h-data: Likewise.
27726 * conform/data/unistd.h-data: Likewise.
27727 * conform/data/utime.h-data: Likewise.
27728
27729 * io/sys/stat.h: fchmod was always in POSIX.
27730 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27731 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27732 * rt/aio.h: Define __need_timespec before including <time.h>.
27733 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27734 struct. Add forward declaration of pthread_attr_t and use it in
27735 sigevent.
27736 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27737 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27738 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27739 always remove CLK_TCK definition.
27740
c20105c3
AS
277412012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27742
27743 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27744
7a270350
UD
277452012-02-25 Ulrich Drepper <drepper@gmail.com>
27746
31341567
UD
27747 * conform/run-conformtest.sh: New file.
27748 * conform/Makefile: Run run-conformtest for tests.
27749 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27750 support.
27751
27752 * conform/data/uchar.h-data: New file.
27753 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27754 * conform/data/arpa/inet.h-data: Likewise.
27755 * conform/data/assert.h-data: Likewise.
27756 * conform/data/complex.h-data: Likewise.
27757 * conform/data/cpio.h-data: Likewise.
27758 * conform/data/ctype.h-data: Likewise.
27759 * conform/data/dirent.h-data: Likewise.
27760 * conform/data/dlfcn.h-data: Likewise.
27761 * conform/data/errno.h-data: Likewise.
27762 * conform/data/fcntl.h-data: Likewise.
27763 * conform/data/float.h-data: Likewise.
27764 * conform/data/fmtmsg.h-data: Likewise.
27765 * conform/data/fnmatch.h-data: Likewise.
27766 * conform/data/ftw.h-data: Likewise.
27767 * conform/data/glob.h-data: Likewise.
27768 * conform/data/grp.h-data: Likewise.
27769 * conform/data/iconv.h-data: Likewise.
27770 * conform/data/inttypes.h-data: Likewise.
27771 * conform/data/langinfo.h-data: Likewise.
27772 * conform/data/libgen.h-data: Likewise.
27773 * conform/data/limits.h-data: Likewise.
27774 * conform/data/locale.h-data: Likewise.
27775 * conform/data/math.h-data: Likewise.
27776 * conform/data/monetary.h-data: Likewise.
27777 * conform/data/mqueue.h-data: Likewise.
27778 * conform/data/ndbm.h-data: Likewise.
27779 * conform/data/net/if.h-data: Likewise.
27780 * conform/data/netdb.h-data: Likewise.
27781 * conform/data/netinet/in.h-data: Likewise.
27782 * conform/data/nl_types.h-data: Likewise.
27783 * conform/data/poll.h-data: Likewise.
27784 * conform/data/pthread.h-data: Likewise.
27785 * conform/data/pwd.h-data: Likewise.
27786 * conform/data/regex.h-data: Likewise.
27787 * conform/data/sched.h-data: Likewise.
27788 * conform/data/search.h-data: Likewise.
27789 * conform/data/semaphore.h-data: Likewise.
27790 * conform/data/setjmp.h-data: Likewise.
27791 * conform/data/signal.h-data: Likewise.
27792 * conform/data/spawn.h-data: Likewise.
27793 * conform/data/stdarg.h-data: Likewise.
27794 * conform/data/stdio.h-data: Likewise.
27795 * conform/data/stdlib.h-data: Likewise.
27796 * conform/data/string.h-data: Likewise.
27797 * conform/data/strings.h-data: Likewise.
27798 * conform/data/stropts.h-data: Likewise.
27799 * conform/data/sys/ipc.h-data: Likewise.
27800 * conform/data/sys/mman.h-data: Likewise.
27801 * conform/data/sys/msg.h-data: Likewise.
27802 * conform/data/sys/resource.h-data: Likewise.
27803 * conform/data/sys/select.h-data: Likewise.
27804 * conform/data/sys/sem.h-data: Likewise.
27805 * conform/data/sys/shm.h-data: Likewise.
27806 * conform/data/sys/socket.h-data: Likewise.
27807 * conform/data/sys/stat.h-data: Likewise.
27808 * conform/data/sys/statvfs.h-data: Likewise.
27809 * conform/data/sys/time.h-data: Likewise.
27810 * conform/data/sys/timeb.h-data: Likewise.
27811 * conform/data/sys/times.h-data: Likewise.
27812 * conform/data/sys/types.h-data: Likewise.
27813 * conform/data/sys/uio.h-data: Likewise.
27814 * conform/data/sys/un.h-data: Likewise.
27815 * conform/data/sys/utsname.h-data: Likewise.
27816 * conform/data/sys/wait.h-data: Likewise.
27817 * conform/data/syslog.h-data: Likewise.
27818 * conform/data/tar.h-data: Likewise.
27819 * conform/data/termios.h-data: Likewise.
27820 * conform/data/utime.h-data: Likewise.
27821 * conform/data/utmpx.h-data: Likewise.
27822 * conform/data/varargs.h-data: Likewise.
27823 * conform/data/wchar.h-data: Likewise.
27824 * conform/data/wctype.h-data: Likewise.
27825 * conform/data/wordexp.h-data: Likewise.
27826
27827 * include/stropts.h: New file.
27828 * include/uchar.h: New file.
27829 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27830 * include/assert.h: Likewise.
27831 * include/ctype.h: Likewise.
27832 * include/dirent.h: Likewise.
27833 * include/dlfcn.h: Likewise.
27834 * include/fcntl.h: Likewise.
27835 * include/fnmatch.h: Likewise.
27836 * include/glob.h: Likewise.
27837 * include/grp.h: Likewise.
27838 * include/libio.h: Likewise.
27839 * include/locale.h: Likewise.
27840 * include/math.h: Likewise.
27841 * include/net/if.h: Likewise.
27842 * include/netdb.h: Likewise.
27843 * include/netinet/in.h: Likewise.
27844 * include/pthread.h: Likewise.
27845 * include/pwd.h: Likewise.
27846 * include/regex.h: Likewise.
27847 * include/sched.h: Likewise.
27848 * include/search.h: Likewise.
27849 * include/setjmp.h: Likewise.
27850 * include/signal.h: Likewise.
27851 * include/stdio.h: Likewise.
27852 * include/stdlib.h: Likewise.
27853 * include/string.h: Likewise.
27854 * include/sys/cdefs.h: Likewise.
27855 * include/sys/mman.h: Likewise.
27856 * include/sys/msg.h: Likewise.
27857 * include/sys/resource.h: Likewise.
27858 * include/sys/select.h: Likewise.
27859 * include/sys/socket.h: Likewise.
27860 * include/sys/stat.h: Likewise.
27861 * include/sys/statvfs.h: Likewise.
27862 * include/sys/time.h: Likewise.
27863 * include/sys/times.h: Likewise.
27864 * include/sys/uio.h: Likewise.
27865 * include/sys/utsname.h: Likewise.
27866 * include/sys/wait.h: Likewise.
27867 * include/termios.h: Likewise.
27868 * include/time.h: Likewise.
27869 * include/ulimit.h: Likewise.
27870 * include/unistd.h: Likewise.
27871 * include/utime.h: Likewise.
27872 * include/wchar.h: Likewise.
27873 * include/wctype.h: Likewise.
27874 * include/wordexp.h: Likewise.
27875
27876 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27877
7a270350
UD
27878 * time/time.h: TIME_UTC must be a macro.
27879 Make timespec_get available for ISO C11 only as well.
27880
7724defc
UD
278812012-02-24 Ulrich Drepper <drepper@gmail.com>
27882
27883 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27884 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27885
6b1d1d46
JM
278862012-02-24 Joseph Myers <joseph@codesourcery.com>
27887
27888 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 27889
0f8bbd69
JM
278902012-02-24 Joseph Myers <joseph@codesourcery.com>
27891
27892 * manual/texinfo.tex: Update to version 2012-01-19.16.
27893
66ab80bc
JM
278942012-02-24 Joseph Myers <joseph@codesourcery.com>
27895
27896 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27897
74981cc5
RM
278982012-02-24 Roland McGrath <roland@hack.frob.com>
27899
ee968201
RM
27900 [BZ #13738]
27901 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27902 * manual/fdl-1.3.texi: New file.
27903 * manual/fdl-1.1.texi: File removed.
27904
74981cc5
RM
27905 [BZ #13738]
27906 * manual/libc.texinfo (FDL_VERSION): New @set.
27907 Use it for mention of FDL in cover text.
27908 (Documentation License): Use it in @include file name.
27909
7bb764bc
JM
279102012-02-22 Joseph Myers <joseph@codesourcery.com>
27911 Roland McGrath <roland@hack.frob.com>
27912
27913 [BZ #5461]
27914 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27915 not LONG_LONG_MAX and LONG_LONG_MIN.
27916 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27917 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
27918 name.
27919 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27920
6cbeae47
JM
279212012-02-22 Joseph Myers <joseph@codesourcery.com>
27922
27923 [BZ #2547]
27924 [BZ #11365]
27925 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27926 manipulate bits before adding and subtracting TWO23[sx].
27927 * math/libm-test.inc (nearbyint_test): Add more tests.
27928
fe45ce09
JM
279292012-02-22 Joseph Myers <joseph@codesourcery.com>
27930
27931 [BZ #2548]
27932 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27933 bits before adding and subtracting TWO23[sx].
27934 * math/libm-test.inc (rint_test): Add more tests.
27935 (rint_test_tonearest): Likewise.
27936 (rint_test_towardzero): Likewise.
27937 (rint_test_downward): Likewise.
27938 (rint_test_upward: Likewise.
27939
ff3b3d82
JM
279402012-02-22 Joseph Myers <joseph@codesourcery.com>
27941
27942 [BZ #10110]
27943 * include/stdc-predef.h: New file. Extracted from features.h.
27944 * include/features.h: Include stdc-predef.h.
27945 * Makefile (headers): Add stdc-predef.h.
27946 * CONFORMANCE (Compiler limitations): Update.
27947
ef0aab35
JM
279482012-02-22 Joseph Myers <joseph@codesourcery.com>
27949
27950 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27951
58639409
DM
279522012-02-21 David S. Miller <davem@davemloft.net>
27953
27954 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27955 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27956
c0e70b25
DM
279572012-02-20 David S. Miller <davem@davemloft.net>
27958
27959 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27960 using a normal save/restore sequence, rather than allocating a
27961 dummy stack frame just to store a frame pointer and restore.
27962 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27963
fb06851d
JM
279642012-02-21 Joseph Myers <joseph@codesourcery.com>
27965
27966 * manual/install.texi: Fix stray word in line-wrapped comment.
27967
7a8b71c3
DM
279682012-02-20 David S. Miller <davem@davemloft.net>
27969
d510c123
DM
27970 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27971 both binutils and gcc support GOTDATA.
27972
0722d7c2
DM
27973 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
27974 "rd %pc" in the PIC register setup sequences.
27975
3d2b3019
DM
27976 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
27977 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27978 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27979 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27980 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27981 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
27982 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27983 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27984 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
27985 (SYSCALL_ERROR_HANDLER): Likewise.
27986 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27987 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27988 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
27989 (SYSCALL_ERROR_HANDLER): Likewise.
27990
c80098a9
DM
27991 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
27992 (HAVE_GCC_GOTDATA): New.
27993 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
27994 relocation support in both binutils and gcc.
27995 * sysdeps/sparc/elf/configure: Regenerate.
27996
3a2545a0
DM
27997 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
27998 * sysdeps/sparc/sparc32/elf/configure: Delete.
27999 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28000 * sysdeps/sparc/sparc64/elf/configure: Delete.
28001 * sysdeps/sparc/elf/configure.in: New file.
28002 * sysdeps/sparc/elf/configure: Generate.
28003
7a8b71c3
DM
28004 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28005 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28006 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28007 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28008 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28009
f1e86fca
JM
280102012-02-21 Joseph Myers <joseph@codesourcery.com>
28011
28012 * manual/install.texi: Do not mention specific glibc version
28013 numbers.
28014 * manual/libc.texinfo (VERSION, UPDATED): Update.
28015 (@copying): Use @copyright{} and range of years.
28016
0e7dfaef
JM
280172012-02-21 Joseph Myers <joseph@codesourcery.com>
28018
28019 [BZ #13695]
28020 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28021 [crti.S not in sysdirs] (generated): Do not append.
28022 [crti.S not in sysdirs] (omit-deps): Likewise.
28023 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28024 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28025 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28026 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28027 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28028 Likewise.
28029 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28030 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28031 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28032 * csu/defs.awk: Remove file.
28033 * sysdeps/generic/initfini.c: Likewise.
28034 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28035 variable.
28036 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28037 Likewise.
28038
599af3ca
JM
280392012-02-20 Joseph Myers <joseph@codesourcery.com>
28040
28041 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28042 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28043 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28044 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28045 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28046 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28047 <bits/epoll.h>.
28048 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28049 (__EPOLL_PACKED): Define to empty if not defined by
28050 <bits/epoll.h>.
28051 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28052 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28053 bits/epoll.h.
28054
0e499750
JM
280552012-02-20 Joseph Myers <joseph@codesourcery.com>
28056
28057 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28058 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28059 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28060 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28061 <bits/timerfd.h>.
28062 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28063 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28064 bits/timerfd.h.
28065
5ad91f6e
JM
280662012-02-20 Joseph Myers <joseph@codesourcery.com>
28067
28068 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28069 in C locale.
28070 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28071 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28072 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28074
06b99b02
AJ
280752012-02-20 Aurelien Jarno <aurelien@aurel32.net>
28076
28077 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28078 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28079
7638c0fd
AS
280802012-02-19 Andreas Schwab <schwab@linux-m68k.org>
28081
28082 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28083 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28084 defined.
28085 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28086 Likewise.
28087 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28088 entry for 2.16.
28089
92221550
AJ
280902012-02-19 Aurelien Jarno <aurelien@aurel32.net>
28091
28092 * math/w_acos.c: Use non-signaling floating-point comparisons.
28093 * math/w_acosf.c: Likewise.
28094 * math/w_acosh.c: Likewise.
28095 * math/w_acoshf.c: Likewise.
28096 * math/w_acoshl.c: Likewise.
28097 * math/w_acosl.c: Likewise.
28098 * math/w_asin.c: Likewise.
28099 * math/w_asinf.c: Likewise.
28100 * math/w_asinl.c: Likewise.
28101 * math/w_atanh.c: Likewise.
28102 * math/w_atanhf.c: Likewise.
28103 * math/w_atanhl.c: Likewise.
28104 * math/w_exp2.c: Likewise.
28105 * math/w_exp2f.c: Likewise.
28106 * math/w_exp2l.c: Likewise.
28107 * math/w_j0.c: Likewise.
28108 * math/w_j0f.c: Likewise.
28109 * math/w_j0l.c: Likewise.
28110 * math/w_j1.c: Likewise.
28111 * math/w_j1f.c: Likewise.
28112 * math/w_j1l.c: Likewise.
28113 * math/w_jn.c: Likewise.
28114 * math/w_jnf.c: Likewise.
28115 * math/w_log.c: Likewise.
28116 * math/w_log10.c: Likewise.
28117 * math/w_log10f.c: Likewise.
28118 * math/w_log10l.c: Likewise.
28119 * math/w_log2.c: Likewise.
28120 * math/w_log2f.c: Likewise.
28121 * math/w_log2l.c: Likewise.
28122 * math/w_logf.c: Likewise.
28123 * math/w_logl.c: Likewise.
28124 * math/w_sqrt.c: Likewise.
28125 * math/w_sqrtf.c: Likewise.
28126 * math/w_sqrtl.c: Likewise.
28127 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28128 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28129 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28130 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28131 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28132
ebaf36eb
JM
281332012-02-19 Joseph Myers <joseph@codesourcery.com>
28134
28135 [BZ #9739]
28136 * manual/string.texi (strnlen): Use correct parameter name in
28137 equivalent expression.
28138
71c254a6
JM
281392012-02-19 Joseph Myers <joseph@codesourcery.com>
28140
28141 [BZ #11174]
28142 * manual/users.texi (seteuid): Consistently use neweuid for
28143 argument name.
28144
16d2c631
JM
281452012-02-19 Joseph Myers <joseph@codesourcery.com>
28146
28147 [BZ #13704]
28148 * manual/nss.texi (Services in the NSS configuration): Correct
28149 list of services in example configuration file.
28150
cd837b09
NB
281512012-02-19 Nick Bowler <nbowler@draconx.ca>
28152
28153 [BZ #11322]
28154 * manual/arith.texi: Remove statements about negative zero
28155 behaving identically to zero.
28156
02c4bbad
JM
281572012-02-18 Joseph Myers <joseph@codesourcery.com>
28158
28159 [BZ #5993]
28160 * manual/install.texi: Do not document upgrading from libc5.
28161
366842e7
JM
281622012-02-18 Joseph Myers <joseph@codesourcery.com>
28163
28164 [BZ #4596]
28165 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28166
dd54084d
DM
281672012-02-18 David S. Miller <davem@davemloft.net>
28168
28169 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28170 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28171 %o7 across the call.
28172 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28173 instead.
28174 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28175 SETUP_PIC_REG_LEAF.
28176 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28177 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28178 * sysdeps/sparc/crtn.S: Likewise.
28179
2bcc53a3
UD
281802012-02-17 Ulrich Drepper <drepper@gmail.com>
28181
28182 * aout/Makefile: Remove.
28183
09c093b5
RK
281842012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
28185
28186 [BZ #13058]
28187 * manual/examples/argp-ex1.c (main): Format definition in GNU
28188 style.
28189 * manual/examples/argp-ex2.c (main): Likewise.
28190 * manual/examples/argp-ex3.c (main): Likewise.
28191 * manual/examples/argp-ex4.c (main): Likewise.
28192 * manual/examples/longopt.c (main): Use new-style prototype
28193 definition.
28194 * manual/examples/strncat.c (main): Specify return type and use
28195 (void) for arguments.
28196 * manual/examples/subopt.c (main): Use char **argv argument.
28197
2ee633a2
JM
281982012-02-17 Joseph Myers <joseph@codesourcery.com>
28199
28200 [BZ #5077]
28201 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28202 rounding modes.
28203
0520adde
FB
282042012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28205
28206 [BZ #6907]
28207 * manual/string.texi (strchr): Change when strchrnul is
28208 recommended.
28209
3f4081cd
DGM
282102012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28211
28212 [BZ #174]
28213 * manual/locale.texi (setlocale): Document LOCPATH.
28214
d1b10e78
JM
282152012-02-17 Joseph Myers <joseph@codesourcery.com>
28216
28217 [BZ #10210]
28218 * manual/process.texi (execle): Move @dots{} before last argument.
28219
79c6869c
PB
282202012-02-17 Paul Bolle <pebolle@tiscali.nl>
28221
28222 [BZ #12047]
28223 * manual/charset.texi (Generic Charset Conversion): Fix typo
28224 (LC_TYPE -> LC_CTYPE).
28225
cc6e48bc
NB
282262012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28227
28228 [BZ #5805]
28229 * manual/arith.texi (scalbn): Use @var{} on parameter names.
28230 (scalbnf): Likewise.
28231 (scalbnl): Likewise.
28232 (scalbln): Likewise.
28233 (scalblnf): Likewise.
28234 (scalblnl): Likewise.
28235 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28236 (vwarnx): Likewise.
28237 (verr): Likewise.
28238 (verrx): Likewise.
28239 * manual/filesys.texi (telldir): Use braces around return type.
28240 * manual/llio.texi (mmap): Add space after comma.
28241 (mmap64): Likewise.
28242 * manual/math.texi (jn): Use @var{} on parameter names.
28243 (jnf): Likewise.
28244 (jnl): Likewise.
28245 (yn): Likewise.
28246 (ynf): Likewise.
28247 (ynl): Likewise.
28248 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28249 line.
28250 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28251 "...".
28252 (sched_get_priority_min): Remove semicolon on @deftypefun line.
28253 (sched_get_priority_max): Likewise.
28254 * manual/signal.texi (sigvec): Add space after comma.
28255 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28256 names.
28257 (if_indextoname): Likewise.
28258 (if_freenameindex): Likewise.
28259 (sendto): Use ',' instead of '.' in prototype.
28260 * manual/startup.texi (syscall): Use @dots{} instead of literal
28261 "...".
28262 * manual/stdio.texi (__fpending): Separate initial words of
28263 paragraph from @deftypefun line.
28264 * manual/syslog.texi (syslog): Use @dots{} instead of literal
28265 "...".
28266 (vsyslog): Use @var{} on parameter names.
28267 * manual/terminal.texi (stty): Use @var{} on parameter names.
28268 * manual/users.texi (getutmp): Use @var{} on parameter names.
28269 (getutmpx): Likewise.
28270
5b23062f
JM
282712012-02-17 Joseph Myers <joseph@codesourcery.com>
28272
28273 [BZ #6884]
28274 * manual/stdio.texi (fopen): Fix typos in description of
28275 ",ccs=STRING".
28276
8dee4833
AJ
282772012-02-17 Aurelien Jarno <aurelien@aurel32.net>
28278
28279 [BZ #4026]
28280 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28281 get clock_id definition.
28282
9078ce93
TS
282832012-02-17 Thomas Schwinge <thomas@schwinge.name>
28284
28285 [BZ #4822]
28286 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28287 (madvise): Cast every argument to void on its own.
28288
3835c55f
JM
282892012-02-17 Joseph Myers <joseph@codesourcery.com>
28290
28291 [BZ #9902]
28292 * manual/startup.texi (Exit Status): Fix typo.
28293
35c47e37
JM
282942012-02-17 Joseph Myers <joseph@codesourcery.com>
28295
28296 [BZ #10140]
28297 * manual/examples/argp-ex1.c: Include <stdlib.h>.
28298 * manual/examples/argp-ex2.c: Likewise.
28299 * manual/examples/argp-ex3.c: Likewise.
28300
e3b69ca7
RH
283012012-02-16 Richard Henderson <rth@redhat.com>
28302
28303 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28304 * sysdeps/s390/s390-32/initfini.c: Remove.
28305 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28306 * sysdeps/s390/s390-64/initfini.c: Remove.
28307
df83af67
KK
283082012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28309
28310 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28311 compiler output for sysdeps/generic/initfini.c.
28312 * sysdeps/sh/elf/initfini.c: Remove file.
28313
f63f3380
DM
283142012-02-16 David S. Miller <davem@davemloft.net>
28315
fb59b3a4
DM
28316 [BZ #11494]
28317 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28318
f63f3380
DM
28319 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28320 * sysdeps/sparc/crti.S: New file.
28321 * sysdeps/sparc/crtn.S: New file.
28322 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28323 * sysdeps/sparc/sparc64/Makefile: Likewise.
28324
df6a4a4a
MF
283252012-02-15 Mike Frysinger <vapier@gentoo.org>
28326
6dd8f3dc 28327 [BZ #3335]
df6a4a4a
MF
28328 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28329
1cac7236
RM
283302012-02-15 Roland McGrath <roland@hack.frob.com>
28331
d2c736f8
RM
28332 [BZ #4822]
28333 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28334
1cac7236
RM
28335 * mach/devstream.c (cookie_io_functions_t): Macro removed.
28336 (write, read, close): Likewise.
28337 Patch by Aurelien Jarno <aurelien@aurel32.net>.
28338
8e475601
JM
283392012-02-15 Joseph Myers <joseph@codesourcery.com>
28340
28341 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28342 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28343 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28344 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28345 <bits/signalfd.h>.
28346 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28347 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28348 bits/signalfd.h.
28349
ed656b40
MP
283502012-02-14 Marek Polacek <polacek@redhat.com>
28351
28352 * sysdeps/x86_64/crti.S: New file.
28353 * sysdeps/x86_64/crtn.S: New file.
28354 * sysdeps/x86_64/elf/initfini.c: Remove file.
28355
2a979d3a
JM
283562012-02-13 Joseph Myers <joseph@codesourcery.com>
28357
28358 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28359 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28360 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28361 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28362 <bits/inotify.h>.
28363 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28364 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28365 bits/inotify.h.
28366
2a418ac3
JM
283672012-02-13 Joseph Myers <joseph@codesourcery.com>
28368
28369 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
28370 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
28371 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
28372 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
28373 <bits/eventfd.h>.
28374 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28375 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28376 bits/eventfd.h.
28377
fb779be7
TS
283782012-02-10 Thomas Schwinge <thomas@codesourcery.com>
28379
e19e83c5
RM
28380 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28381 __feraiseexcept instead of feraiseexcept.
7c35ffed 28382
fb779be7
TS
28383 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
28384 nanosleep invocations.
28385 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
28386 strings, and add error checking for a nanosleep invocations.
28387
59ba27a6
PE
283882012-02-09 Paul Eggert <eggert@cs.ucla.edu>
28389
28390 Replace FSF snail mail address with URLs, as per GNU coding standards.
28391 Most of the snail mail addresses were wrong anyway, and omitting
28392 them makes the source code easier to maintain. Almost all of the
28393 changes are to license notices and to locale LC_IDENTIFICATION
28394 addresses, except for this one:
28395 * manual/libc.texinfo: In "Published by", give the FSF's URL,
28396 not its snail mail address.
28397
57b957eb
RH
283982012-02-09 Richard Henderson <rth@twiddle.net>
28399
af850b1c
RH
28400 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28401 of kernel-features.h.
28402
57b957eb
RH
28403 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28404
6b73181a
MP
284052012-02-08 Marek Polacek <polacek@redhat.com>
28406
28407 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28408 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28409 * sysdeps/gnu/_G_config.h: Likewise.
28410 * sysdeps/generic/_G_config.h: Likewise.
28411
26ecc33a
AS
284122012-02-08 Andreas Schwab <schwab@linux-m68k.org>
28413
6c6dbc63
AS
28414 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28415 tests.
28416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28417
e216c012
AS
28418 * sysdeps/powerpc/powerpc32/crti.S: New file.
28419 * sysdeps/powerpc/powerpc32/crtn.S: New file.
28420 * sysdeps/powerpc/powerpc64/crti.S: New file.
28421 * sysdeps/powerpc/powerpc64/crtn.S: New file.
28422
26ecc33a
AS
28423 * Makeconfig (have-initfini): Don't set.
28424 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28425 * configure.in (nopic_initfini): Don't substitute.
28426 * config.h.in (HAVE_INITFINI): Don't #undef.
28427 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28428 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28429
3add8e13
JM
284302012-02-08 Joseph Myers <joseph@codesourcery.com>
28431
28432 Support crti.S and crtn.S provided directly by architectures.
28433 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28434 [crti.S in sysdirs] (omit-deps): Likewise.
28435 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28436 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28437 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28438 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28439 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28440 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28441 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28442 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28443 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28444 compiler output for sysdeps/generic/initfini.c.
28445 * sysdeps/i386/elf/Makefile: Remove file.
28446 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28447
a22f12b4
MP
284482012-02-07 Marek Polacek <polacek@redhat.com>
28449
28450 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28451 * sysdeps/gnu/_G_config.h: Likewise.
28452 * sysdeps/mach/hurd/_G_config.h: Likewise.
28453
148cf100
MP
284542012-02-07 Marek Polacek <polacek@redhat.com>
28455
28456 * math/Makefile (tests): Add tst-CMPLX2.
28457 * math/tst-CMPLX2.c: New file.
28458
cfdc0dd7
AS
284592012-02-07 Andreas Schwab <schwab@linux-m68k.org>
28460
84ba42c4
AS
28461 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28462
cfdc0dd7
AS
28463 * math/libm-test.inc (jn_test): Add missing L suffix.
28464
622c86f4
MP
284652012-02-06 Marek Polacek <polacek@redhat.com>
28466
28467 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28468 * sysdeps/i386/fpu/e_powf.S: Likewise.
28469 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28470 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28471 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28472 * sysdeps/i386/fpu/e_pow.S: Likewise.
28473 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28474 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28475 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28476 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28477 * sysdeps/i386/fpu/e_log2.S: Likewise.
28478 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28479 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28480 * sysdeps/i386/fpu/e_powl.S: Likewise.
28481 * sysdeps/i386/fpu/s_log1p.S: Likewise.
28482 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28483 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28484 * sysdeps/i386/fpu/e_logl.S: Likewise.
28485 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28486 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28487 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28488 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28489 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28490 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28491 * sysdeps/i386/fpu/e_log.S: Likewise.
28492 * sysdeps/i386/fpu/s_cexp.S: Likewise.
28493 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28494 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28495 * sysdeps/i386/fpu/e_logf.S: Likewise.
28496 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28497 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28498 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28499 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28500 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28501 * sysdeps/i386/fpu/e_log10.S: Likewise.
28502 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28503 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28504 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28505 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28506 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28507 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28508 * sysdeps/i386/asm-syntax.h: Likewise.
28509 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28510 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28511 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28512 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28513 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28514 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28515 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28516 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28517 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28518 * sysdeps/powerpc/sysdep.h: Likewise.
28519 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28520 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28521
d4a54ac6
JM
285222012-02-06 Joseph Myers <joseph@codesourcery.com>
28523
28524 [BZ #411]
28525 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28526
314054ea
JM
285272012-02-06 Joseph Myers <joseph@codesourcery.com>
28528
28529 * sysdeps/i386/sysdep.h: Include <features.h>.
28530 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28531 version.
28532
d8e0ca50
JM
285332012-02-05 Joseph Myers <joseph@codesourcery.com>
28534
28535 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28536 Define.
28537 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28538 LOAD_PIC_REG_STR.
28539
b1da7dd9
JM
285402012-02-03 Joseph Myers <joseph@codesourcery.com>
28541
28542 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28543 (SETUP_PIC_REG): Use GET_PC_THUNK.
28544 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28545 macro.
28546
9a1d9254
JM
285472012-02-03 Joseph Myers <joseph@codesourcery.com>
28548
28549 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28550 for non-PIC compilation.
28551 (SETUP_PIC_REG): Add .p2align directive.
28552 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28553 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28554 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28555 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28556 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28557 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28558 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28559 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28560 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28561 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28562 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28563 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28564 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28565 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28566 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28567 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28568 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28569 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28570 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28571 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28572 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28573 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28574 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28575 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28576 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28577 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28578 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28579 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28580 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28581 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28582 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28583 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28584 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28585 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28586 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28587 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28588 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28589 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28590 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28591 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28592 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28593
65dc3b75
JM
285942012-02-03 Joseph Myers <joseph@codesourcery.com>
28595
28596 * math/tst-CMPLX.c: Include <stdio.h>.
28597
d55bf177
JM
285982012-01-31 Joseph Myers <joseph@codesourcery.com>
28599
28600 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28601 float.
28602 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28603 * sysdeps/sparc/bits/mathdef.h: Likewise.
28604
69db4f8f
MP
286052012-01-31 Marek Polacek <polacek@redhat.com>
28606
28607 * libio/libio.h: Don't define _PARAMS.
28608 * locale/programs/config.h: Don't define PARAMS.
28609 * stdlib/strtol_l.c: Likewise.
28610 (__strtol_l): Remove PARAMS from the prototype.
28611
41b81892
UD
286122012-01-31 Ulrich Drepper <drepper@gmail.com>
28613
3b49edc0
UD
28614 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28615 names. Just use the correct names. Remove unnecessary wrapper
28616 functions.
28617 * malloc/arena.c: Likewise.
28618 * malloc/hooks.c: Likewise.
28619
41b81892
UD
28620 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28621 ARENA_TEST says not to. Simplify test for creation of a new arena.
28622 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28623
27a25b6e
UD
286242012-01-30 Ulrich Drepper <drepper@gmail.com>
28625
28626 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28627 into tail calls.
28628 (update_get_addr): New function.
28629 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28630 GET_ADDR_MODULE parameter.
28631
c8a89e7d
JM
286322012-01-30 Joseph Myers <joseph@codesourcery.com>
28633
28634 * crypt/cert.c: Remove __STDC__ conditionals.
28635 * crypt/crypt-entry.c: Likewise.
28636 * crypt/crypt_util.c: Likewise.
28637 * libio/filedoalloc.c: Likewise.
28638 * libio/fileops.c: Likewise.
28639 * libio/genops.c: Likewise.
28640 * libio/iofclose.c: Likewise.
28641 * libio/iofdopen.c: Likewise.
28642 * libio/iofopen.c: Likewise.
28643 * libio/iofopen64.c: Likewise.
28644 * libio/iogetdelim.c: Likewise.
28645 * libio/iopopen.c: Likewise.
28646 * libio/obprintf.c: Likewise.
28647 * libio/oldfileops.c: Likewise.
28648 * libio/oldiofclose.c: Likewise.
28649 * libio/oldiofdopen.c: Likewise.
28650 * libio/oldiofopen.c: Likewise.
28651 * libio/oldiopopen.c: Likewise.
28652 * libio/wfiledoalloc.c: Likewise.
28653 * libio/wgenops.c: Likewise.
28654 * locale/programs/xmalloc.c: Likewise.
28655 * misc/syslog.c: Likewise.
28656 * stdio-common/xbug.c: Likewise.
28657 * string/memchr.c: Likewise.
28658 * string/memcmp.c: Likewise.
28659 * string/memrchr.c: Likewise.
28660 * string/rawmemchr.c: Likewise.
28661 * sysdeps/posix/getcwd.c: Likewise.
28662 * time/strftime_l.c: Likewise.
28663
3b100462
JM
286642012-01-30 Joseph Myers <joseph@codesourcery.com>
28665
28666 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
28667 * config.make.in (config-cflags-sse2avx): Define.
28668 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28669 Fix typo.
28670
607998af
CM
286712012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28672
28673 * scripts/config.guess: Update from upstream config git repository.
28674 * scripts/config.sub: Likewise.
28675
3601428f
CM
286762012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28677
3ac8b282
CM
28678 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28679 (EM_NUM): Update.
28680 (R_TILEPRO_*, R_TILEGX_*): New macros.
28681
e034841e
CM
28682 * scripts/firstversions.awk: Fix bug in version range handling.
28683
540d7568
CM
28684 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28685
3601428f
CM
28686 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28687
463de862
CM
28688 * include/sys/epoll.h: New file.
28689 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28690 libc_hidden_def.
28691
73139a76
UD
286922012-01-28 Ulrich Drepper <drepper@gmail.com>
28693
96bc5b45
UD
28694 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28695 Avoid unnecessary __WORDSIZE == 64 test.
28696 (fmaxf): Use VEX format if possible.
28697 (fmax): Likewise.
28698 (fminf): Likewise.
28699 (fmin): Likewise.
28700
56f6f6a2
UD
28701 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28702 * math/math_private.h: Remove libc_fegetround* and
28703 libc_fesetround*.
28704 * sysdeps/i386/configure.in: Check for -msse2avx.
28705 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28706 also if SSE2AVX is defined.
28707 Remove libc_fegetround* and libc_fesetround*.
28708 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28709 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28710 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28711 of HAS_YMM_USABLE.
28712 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28713 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28714 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28715 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28716 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28717
73139a76
UD
28718 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28719
d73f93a4
AZ
287202012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28721
28722 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28723 size is not set.
28724 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28725
6ee65ed6
UD
287262012-01-27 Ulrich Drepper <drepper@gmail.com>
28727
28728 [BZ #13618]
28729 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28730 relocation.
28731 * Makeconfig (libm): Define.
28732 * elf/Makefile: Add rules to build and run tst-relsort1.
28733 * elf/tst-relsort1.c: New file.
28734 * elf/tst-relsort1mod1.c: New file.
28735 * elf/tst-relsort1mod2.c: New file.
28736
8db21882
JM
287372012-01-27 Joseph Myers <joseph@codesourcery.com>
28738
28739 * math/s_ldexp.c: Remove __STDC__ conditionals.
28740 * math/s_ldexpf.c: Likewise.
28741 * math/s_ldexpl.c: Likewise.
28742 * math/s_nextafter.c: Likewise.
28743 * math/s_nexttowardf.c: Likewise.
28744 * math/s_significand.c: Likewise.
28745 * math/s_significandf.c: Likewise.
28746 * math/s_significandl.c: Likewise.
28747 * math/w_jnl.c: Likewise.
28748 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28749 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28750 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28751 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28752 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28753 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28754 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28755 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28756 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28757 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28758 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28759 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28760 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28761 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28762 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28763 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28764 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28765 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28766 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28767 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28768 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28769 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28770 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28771 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28772 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28773 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28774 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28775 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28776 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28777 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28778 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28779 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28780 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28781 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28782 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28783 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28784 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28785 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28786 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28787 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28788 * sysdeps/ieee754/k_standard.c: Likewise.
28789 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28790 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28791 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28792 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28793 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28794 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28795 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28796 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28797 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28798 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28799 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28800 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28801 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28802 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28803 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28804 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28805 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28806 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28807 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28808 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28809 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28810 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28811 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28812 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28813 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28814 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28815 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28816 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28817 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28818 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28819 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28820 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28821 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28822 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28823 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28824 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28825 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28826 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28827 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28828 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28829 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28830 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28831 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28832 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28833 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28834 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28835 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28836 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28837 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28838 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28839 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28840 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28841 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28842 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28843 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28844 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28845 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28846 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28847 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28848 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28849 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28850 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28851 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28852 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28853 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28854 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28855 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28856 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28857 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28858 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28859 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28860 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28861 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28862 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28863 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28864 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28865 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28866 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28867 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28868 * sysdeps/ieee754/s_matherr.c: Likewise.
28869 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28870 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28871 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28872 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28873
965a54a4
JM
288742012-01-26 Joseph Myers <joseph@codesourcery.com>
28875
28876 * crypt/md5.h: Remove __STDC__ conditionals.
28877 * libio/libioP.h: Likewise.
28878 * locale/programs/config.h: Likewise.
28879 * sysdeps/generic/sysdep.h: Likewise.
28880 * sysdeps/i386/asm-syntax.h: Likewise.
28881 * sysdeps/s390/asm-syntax.h: Likewise.
28882 * sysdeps/unix/sysdep.h: Likewise.
28883 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28884 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28885
7071ad79
JM
288862012-01-26 Joseph Myers <joseph@codesourcery.com>
28887
28888 * libio/libio.h: Remove __STDC__ conditionals.
28889 * malloc/obstack.h: Likewise.
28890 * math/complex.h: Likewise.
28891 * math/math.h: Likewise.
28892 * sysdeps/generic/_G_config.h: Likewise.
28893 * sysdeps/gnu/_G_config.h: Likewise.
28894 * sysdeps/mach/hurd/_G_config.h: Likewise.
28895 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28896 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28897 * sysdeps/sparc/bits/mathdef.h: Likewise.
28898
afc5ed09
UD
288992012-01-26 Ulrich Drepper <drepper@gmail.com>
28900
28901 [BZ #13583]
28902 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 28903 Clean up HAS_* macros.
afc5ed09 28904 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
28905 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28906 possible.
28907 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28908 HAS_AVX.
28909 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28910 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28911 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28912 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28913 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 28914
bdb6de1d
JM
289152012-01-25 Joseph Myers <joseph@codesourcery.com>
28916
28917 * elf/tst-unique3.cc (gets): Remove declaration.
28918 * elf/tst-unique3lib.cc (gets): Likewise.
28919 * elf/tst-unique3lib2.cc (gets): Likewise.
28920 * elf/tst-unique4.cc (gets): Likewise.
28921
b15549e6
UD
289222012-01-24 Ulrich Drepper <drepper@gmail.com>
28923
28924 * include/stdio.h: Add C++ protection. Add gets declarations and
28925 definitions.
28926 * debug/tst-chk1.c: Don't declare gets here.
28927 * stdio-common/tst-gets.c: Likewise.
28928
a037381f
JM
289292012-01-24 Joseph Myers <joseph@codesourcery.com>
28930
28931 * posix/glob: Remove directory.
28932
f1d4aa75
JM
289332012-01-24 Joseph Myers <joseph@codesourcery.com>
28934
28935 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28936
81c0c964
PT
289372012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28938
28939 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28940 of the non-standard EPFNOSUPPORT.
28941
0ea698ae
ST
289422011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28943
28944 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28945 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28946 ANYWHERE set to 1 only on KERN_NO_SPACE error.
28947
d220b117
UD
289482012-01-21 Ulrich Drepper <drepper@gmail.com>
28949
28950 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28951
3e1aa84e
UD
289522012-01-20 Ulrich Drepper <drepper@gmail.com>
28953
28954 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28955 transient errors.
28956 * nscd/grpcache.c (cache_addgr): Likewise.
28957 * nscd/hstcache.c (cache_addhst): Likewise.
28958 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28959 * nscd/pwdcache.c (cache_addpw): Likewise.
28960 * nscd/servicescache.c (cache_addserv): Likewise.
28961
400aa020
UD
289622012-01-16 Ulrich Drepper <drepper@gmail.com>
28963
d77e7869
UD
28964 * malloc/malloc.c: Various cleanups.
28965 * malloc/hooks.c: Likewise.
28966
400aa020
UD
28967 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28968 * stdlib/bug-fmtmsg1.c: New file.
28969
28970 * stdlib/fmtmsg.c (init): Add missing unlock.
28971 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28972
e0a309cf
MP
289732012-01-12 Marek Polacek <polacek@redhat.com>
28974
28975 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
28976 and _GNU_SOURCE.
28977
929d11c7
WS
289782012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28979
28980 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
28981 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
28982 macro to ensure uniqueness of label name.
28983 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
28984 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
28985
41d0e869
UD
289862012-01-11 Ulrich Drepper <drepper@gmail.com>
28987
0cc5ed3b
UD
28988 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
28989
41d0e869
UD
28990 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
28991 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
28992 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
28993 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
28994
a47a831a
UD
289952012-01-10 Ulrich Drepper <drepper@gmail.com>
28996
daa891c0
UD
28997 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
28998
28999 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29000 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29001 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29002
e58ef0f2
UD
29003 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29004
a47a831a 29005 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
29006 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29007 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 29008 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
29009
29010 * math/bits/math-finite.h: Add ldexp support.
29011
a0bfc9c7
MP
290122012-01-10 Marek Polacek <polacek@redhat.com>
29013
29014 * locale/programs/localedef.h (show_archive_content): Add noreturn
29015 attribute.
29016
d6e97a1d
UD
290172012-01-09 Ulrich Drepper <drepper@gmail.com>
29018
29019 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29020
d5835c26
UD
290212012-01-08 Ulrich Drepper <drepper@gmail.com>
29022
e5f484c6
UD
29023 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29024
d5835c26
UD
29025 * io/Makefile (headers): Add bits/poll2.h.
29026
d1f741e9
WS
290272011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
29028
29029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29030 typo #include statement.
29031
ec09c1c4
UD
290322012-01-08 Ulrich Drepper <drepper@gmail.com>
29033
29034 * include/sys/cdefs.h: Define __attribute_alloc_size.
29035 * catgets/gencat.c: Add alloc_size attribute and apply consistently
29036 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29037 * elf/pldd.c: Likewise.
29038 * iconv/iconv_charmap.c: Likewise.
29039 * iconv/iconvconfig.c: Likewise.
29040 * iconv/strtab.c: Likewise.
29041 * locale/programs/locale.c: Likewise.
29042 * locale/programs/localedef.h: Likewise.
29043 * locale/programs/simple-hash.c: Likewise.
29044 * nscd/nscd.h: Likewise.
29045 * nss/makedb.c: Likewise.
29046 * sysdeps/generic/ldconfig.h: Likewise.
29047 * locale/programs/localedef.c: Remove xmalloc prototype.
29048 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29049
20b38e03
PP
290502012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29051
29052 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29053 appropriate.
29054
a0da5fe1
UD
290552012-01-08 Ulrich Drepper <drepper@gmail.com>
29056
1d5a644a 29057 * math/Makefile (tests): Add tst-CMPLX.
669704fd 29058 * math/tst-CMPLX.c: New file.
1d5a644a 29059
8784a6db
UD
29060 * math/complex.h (CMPLXL): Fix typo.
29061
d9a216c0
UD
29062 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29063 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29064 GLIBC_2.16.
29065 * debug/tst-chk1.c: Add poll and ppoll tests.
29066 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29067 * include/sys/poll.h: Add hidden proto for ppoll.
29068 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29069 * sysdeps/mach/hurd/ppoll.c: Likewise.
29070 * io/ppoll.c: Likewise.
29071 * debug/poll_chk.c: New file.
29072 * debug/ppoll_chk.c: New file.
29073 * include/bits/poll2.h: New file.
29074 * io/bits/poll2.h: New file.
29075
ac097f5c
UD
29076 [BZ #1350]
29077 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29078
2119dcfa
UD
29079 * configure.in: static is always set to yes. Remove.
29080 * config.make.in: Don't set build-static.
29081 * Makeconfig: Remove use of build-static.
29082 * dlfcn/Makefile: Likewise.
29083 * elf/Makefile: Likewise.
29084 * math/Makefile: Likewise.
29085 * misc/Makefile: Likewise.
29086 * nptl/Makefile: Likewise.
29087 * sysdeps/mach/hurd/Makefile: Likewise.
29088
121766a9
UD
29089 * configure.in: PWD_P is not used anymore.
29090 * config.make.in: Remove PWD_P entry.
29091
51a1d39c 29092 * configure.in: Remove last remnants of RANLIB.
8720d066 29093 No need to check for signed size_t anymore.
215f4bdc
UD
29094 Don't set libc_commonpagesize and libc_relro_required here for Alpha
29095 and IA-64.
3857022a 29096 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
29097 * aclocal.m4: Likewise.
29098
d3ed7225
UD
29099 * wcsmbs/mbrtoc16.c: Implement using towc function.
29100 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29101 * wcsmbs/wcsmbsload.c: Likewise.
29102 * iconv/gconv_simple.c: Likewise.
29103 * iconv/gconv_int.h: Likewise.
29104 * iconv/gconv_builtin.h: Likewise.
29105 * iconv/iconv_prog.c: Remove CHAR16 handling.
29106
29107 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29108
29109 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29110
a0da5fe1
UD
29111 * configure.in: Remove --with-elf and --enable-bounded options.
29112 Dont set base_machine for ia64. More non-ELF conditions removed.
29113 Remove testing and setting of leading underscore information.
29114 * config.make.in (build-bounded): Set to no.
29115 * config.h.in: Remove NO_UNDERSCORES entry.
29116 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
29117 them.
29118 * csu/start.c: Remove !NO_UNDERSCORE code.
29119 * locale/localeinfo.h: Likewise.
29120 * sysdeps/generic/machine-gmon.h: Likewise.
29121 * sysdeps/generic/sysdep.h: Likewise.
29122 * sysdeps/i386/sysdep.h: Likewise.
29123 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29124 * sysdeps/mach/sysdep.h: Likewise.
29125 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29126 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29127 * sysdeps/sh/sysdep.h: Likewise.
29128 * sysdeps/sparc/sparc32/alloca.S: Likewise.
29129 * sysdeps/unix/i386/sysdep.S: Likewise.
29130 * sysdeps/unix/sparc/start.c: Likewise.
29131 * sysdeps/unix/sparc/sysdep.S: Likewise.
29132 * sysdeps/unix/sparc/sysdep.h: Likewise.
29133 * sysdeps/unix/start.c: Likewise.
29134 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29135 * sysdeps/x86_64/sysdep.h: Likewise.
29136
df78418a
UD
291372012-01-07 Ulrich Drepper <drepper@gmail.com>
29138
a784e502
UD
29139 [BZ #13553]
29140 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29141 for non-gcc.
29142 * argp/argp-fmtstream.h: Use const instead __const.
29143 * argp/argp.h: Likewise.
29144 * assert/assert.h: Likewise.
29145 * bits/fenv.h: Likewise.
29146 * bits/sched.h: Likewise.
29147 * bits/sigset.h: Likewise.
29148 * bits/sigthread.h: Likewise.
29149 * catgets/nl_types.h: Likewise.
29150 * conform/data/pthread.h-data: Likewise.
29151 * crypt/crypt-private.h: Likewise.
29152 * crypt/crypt.h: Likewise.
29153 * crypt/crypt_util.c: Likewise.
29154 * ctype/ctype.h: Likewise.
29155 * debug/execinfo.h: Likewise.
29156 * debug/mbsnrtowcs_chk.c: Likewise.
29157 * debug/mbsrtowcs_chk.c: Likewise.
29158 * debug/wcsnrtombs_chk.c: Likewise.
29159 * debug/wcsrtombs_chk.c: Likewise.
29160 * debug/wcstombs_chk.c: Likewise.
29161 * dirent/dirent.h: Likewise.
29162 * dlfcn/dlfcn.h: Likewise.
29163 * elf/neededtest4.c: Likewise.
29164 * grp/grp.h: Likewise.
29165 * gshadow/gshadow.h: Likewise.
29166 * iconv/gconv.h: Likewise.
29167 * iconv/gconv_int.h: Likewise.
29168 * iconv/gconv_simple.c: Likewise.
29169 * iconv/iconv.h: Likewise.
29170 * iconv/loop.c: Likewise.
29171 * iconv/skeleton.c: Likewise.
29172 * include/aio.h: Likewise.
29173 * include/aliases.h: Likewise.
29174 * include/argz.h: Likewise.
29175 * include/arpa/inet.h: Likewise.
29176 * include/assert.h: Likewise.
29177 * include/dirent.h: Likewise.
29178 * include/dlfcn.h: Likewise.
29179 * include/execinfo.h: Likewise.
29180 * include/fcntl.h: Likewise.
29181 * include/fenv.h: Likewise.
29182 * include/glob.h: Likewise.
29183 * include/grp.h: Likewise.
29184 * include/libintl.h: Likewise.
29185 * include/mntent.h: Likewise.
29186 * include/netdb.h: Likewise.
29187 * include/pwd.h: Likewise.
29188 * include/rpc/netdb.h: Likewise.
29189 * include/sched.h: Likewise.
29190 * include/search.h: Likewise.
29191 * include/shadow.h: Likewise.
29192 * include/signal.h: Likewise.
29193 * include/stdio.h: Likewise.
29194 * include/stdlib.h: Likewise.
29195 * include/string.h: Likewise.
29196 * include/sys/socket.h: Likewise.
29197 * include/sys/stat.h: Likewise.
29198 * include/sys/statfs.h: Likewise.
29199 * include/sys/statvfs.h: Likewise.
29200 * include/sys/syslog.h: Likewise.
29201 * include/sys/time.h: Likewise.
29202 * include/sys/uio.h: Likewise.
29203 * include/time.h: Likewise.
29204 * include/unistd.h: Likewise.
29205 * include/utmp.h: Likewise.
29206 * include/wchar.h: Likewise.
29207 * include/wctype.h: Likewise.
29208 * inet/aliases.h: Likewise.
29209 * inet/arpa/inet.h: Likewise.
29210 * inet/netinet/ether.h: Likewise.
29211 * inet/netinet/in.h: Likewise.
29212 * intl/libintl.h: Likewise.
29213 * io/bits/fcntl2.h: Likewise.
29214 * io/fcntl.h: Likewise.
29215 * io/ftw.h: Likewise.
29216 * io/sys/poll.h: Likewise.
29217 * io/sys/stat.h: Likewise.
29218 * io/sys/statfs.h: Likewise.
29219 * io/sys/statvfs.h: Likewise.
29220 * io/utime.h: Likewise.
29221 * libio/bits/stdio.h: Likewise.
29222 * libio/bits/stdio2.h: Likewise.
29223 * libio/libio.h: Likewise.
29224 * libio/libioP.h: Likewise.
29225 * libio/stdio.h: Likewise.
29226 * locale/lc-ctype.c: Likewise.
29227 * locale/locale.h: Likewise.
29228 * login/utmp.h: Likewise.
29229 * malloc/arena.c: Likewise.
29230 * malloc/malloc.c: Likewise.
29231 * malloc/malloc.h: Likewise.
29232 * malloc/mcheck.c: Likewise.
29233 * malloc/mtrace.c: Likewise.
29234 * math/bits/mathcalls.h: Likewise.
29235 * math/fenv.h: Likewise.
29236 * math/math_private.h: Likewise.
29237 * misc/bits/error.h: Likewise.
29238 * misc/bits/syslog.h: Likewise.
29239 * misc/err.h: Likewise.
29240 * misc/error.h: Likewise.
29241 * misc/fstab.h: Likewise.
29242 * misc/mntent.h: Likewise.
29243 * misc/regexp.h: Likewise.
29244 * misc/search.h: Likewise.
29245 * misc/sgtty.h: Likewise.
29246 * misc/sys/mman.h: Likewise.
29247 * misc/sys/syslog.h: Likewise.
29248 * misc/sys/uio.h: Likewise.
29249 * misc/sys/xattr.h: Likewise.
29250 * misc/ttyent.h: Likewise.
29251 * nis/rpcsvc/ypclnt.h: Likewise.
29252 * nss/nss.h: Likewise.
29253 * posix/bits/unistd.h: Likewise.
29254 * posix/fnmatch.h: Likewise.
29255 * posix/glob.h: Likewise.
29256 * posix/sched.h: Likewise.
29257 * posix/spawn.h: Likewise.
29258 * posix/sys/wait.h: Likewise.
29259 * posix/unistd.h: Likewise.
29260 * posix/wordexp.h: Likewise.
29261 * pwd/pwd.h: Likewise.
29262 * resolv/netdb.h: Likewise.
29263 * resource/sys/resource.h: Likewise.
29264 * rt/aio.h: Likewise.
29265 * rt/bits/mqueue2.h: Likewise.
29266 * rt/mqueue.h: Likewise.
29267 * shadow/shadow.h: Likewise.
29268 * signal/signal.h: Likewise.
29269 * socket/send.c: Likewise.
29270 * socket/sendto.c: Likewise.
29271 * socket/sys/socket.h: Likewise.
29272 * stdio-common/printf.h: Likewise.
29273 * stdlib/bits/stdlib.h: Likewise.
29274 * stdlib/fmtmsg.h: Likewise.
29275 * stdlib/monetary.h: Likewise.
29276 * stdlib/stdlib.h: Likewise.
29277 * stdlib/ucontext.h: Likewise.
29278 * streams/stropts.h: Likewise.
29279 * string/argz.h: Likewise.
29280 * string/bits/string2.h: Likewise.
29281 * string/string.h: Likewise.
29282 * string/strings.h: Likewise.
29283 * sunrpc/rpc/auth.h: Likewise.
29284 * sunrpc/rpc/auth_des.h: Likewise.
29285 * sunrpc/rpc/clnt.h: Likewise.
29286 * sunrpc/rpc/netdb.h: Likewise.
29287 * sunrpc/rpc/pmap_clnt.h: Likewise.
29288 * sunrpc/rpc/xdr.h: Likewise.
29289 * sysdeps/generic/inttypes.h: Likewise.
29290 * sysdeps/generic/net/if.h: Likewise.
29291 * sysdeps/generic/sys/swap.h: Likewise.
29292 * sysdeps/gnu/net/if.h: Likewise.
29293 * sysdeps/gnu/utmpx.h: Likewise.
29294 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29295 * sysdeps/i386/i486/bits/string.h: Likewise.
29296 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29297 * sysdeps/s390/bits/string.h: Likewise.
29298 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29299 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29300 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29301 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29302 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29303 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29304 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29305 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29306 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29307 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29308 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29309 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29310 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29311 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29312 * sysdeps/unix/sysv/linux/readv.c: Likewise.
29313 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29314 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29315 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29316 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29317 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29318 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29319 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29320 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29321 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29322 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29323 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29324 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29325 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29326 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29327 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29328 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29329 * sysvipc/sys/ipc.h: Likewise.
29330 * sysvipc/sys/msg.h: Likewise.
29331 * sysvipc/sys/sem.h: Likewise.
29332 * sysvipc/sys/shm.h: Likewise.
29333 * termios/termios.h: Likewise.
29334 * time/sys/time.h: Likewise.
29335 * time/time.h: Likewise.
29336 * wcsmbs/bits/wchar2.h: Likewise.
29337 * wcsmbs/uchar.h: Likewise.
29338 * wcsmbs/wchar.h: Likewise.
29339 * wctype/wctype.h: Likewise.
29340
0269750c
UD
29341 [BZ #13551]
29342 * Makeconfig: Remove all but ELF support including AIX support.
29343 * Makerules: Likewise.
29344 * config.h.in: Likewise.
29345 * config.make.in: Likewise.
29346 * configure: Likewise.
29347 * configure.in: Likewise.
29348 * csu/Makefile: Likewise.
29349 * csu/version.c: Likewise.
29350 * debug/Makefile: Likewise.
29351 * dlfcn/Makefile: Likewise.
29352 * elf/Makefile: Likewise.
29353 * extra-lib.mk: Likewise.
29354 * iconv/Makefile: Likewise.
29355 * include/libc-symbols.h: Likewise.
29356 * include/shlib-compat.h: Likewise.
29357 * resolv/Makefile: Likewise.
29358 * resolv/res_libc.c: Likewise.
29359 * rt/Makefile: Likewise.
29360 * sysdeps/i386/asm-syntax.h: Likewise.
29361 * sysdeps/i386/sysdep.h: Likewise.
29362 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29363 * sysdeps/mach/sysdep.h: Likewise.
29364 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29365 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29366 * sysdeps/s390/asm-syntax.h: Likewise.
29367 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29368 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29369 * sysdeps/sh/sysdep.h: Likewise.
29370 * sysdeps/unix/sparc/sysdep.h: Likewise.
29371 * sysdeps/wordsize-32/divdi3.c: Likewise.
29372 * sysdeps/x86_64/sysdep.h: Likewise.
29373
00bbd29b
UD
29374 * argp/Versions: Remove _argp_unlock_xxx.
29375
29376 [BZ #13559]
29377 * abilist/ld.abilist: Update. Adjust for removal of tls option.
29378 * abilist/libBrokenLocale.abilist: Likewise.
29379 * abilist/libanl.abilist: Likewise.
29380 * abilist/libc.abilist: Likewise.
29381 * abilist/libcrypt.abilist: Likewise.
29382 * abilist/libdl.abilist: Likewise.
29383 * abilist/libm.abilist: Likewise.
29384 * abilist/libnsl.abilist: Likewise.
29385 * abilist/libpthread.abilist: Likewise.
29386 * abilist/libresolv.abilist: Likewise.
29387 * abilist/librt.abilist: Likewise.
29388 * abilist/libthread_db.abilist: Likewise.
29389 * abilist/libutil.abilist: Likewise.
29390 * abilist/libnss_db.abilist: New file.
29391
29392 * scripts/abilist.awk: Add support for indirect functions.
29393
a2693a0e
UD
29394 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29395
3f05895f
UD
29396 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29397
ecb6fb48
UD
29398 * shlib-versions: Remove entries for ports architectures.
29399
664f8cb9
UD
29400 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
29401 files in ports.
29402 * elf/stackguard-macros.h: Remove support for IA-64.
29403 * elf/tst-auditmod1.c: Likewise.
29404 * sysdeps/generic/ldsodefs.h: Likewise.
29405
7ae81d88
UD
29406 * sysdeps/unix/sysv/linux/configure.in: Ports should define
29407 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29408 configure files.
29409
bdeba135
UD
29410 [BZ #13552]
29411 * configure.in: Remove --enable-omitfp support.
29412 * FAQ.in: Adjust.
29413 * config.make.in: Likewise.
29414 * Makeconfig: Likewise.
29415 * manual/install.texi: Likewise.
29416
d75a0a62
UD
29417 In case anyone cares, the IA-64 architecture could move to ports.
29418 * sysdeps/ia64/*: Removed.
29419 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 29420 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 29421
dcc9756b
UD
29422 [BZ #13555]
29423 * configure.in: Remove entries for unsupported architectures.
29424
d3761ebc 29425 [BZ #13533]
9954432e
UD
29426 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29427 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
29428 routines.
29429 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29430 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29431 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
29432 fall back to using wcrtomb.
29433 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29434 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
29435 renaming.
29436 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29437 * wcsmbs/tst-c16c32-1.c: New file.
29438
29439 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29440 local variable.
29441
c3a87236
UD
29442 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29443
28926a1b
UD
29444 * elf/tst-unique3.cc: Add explicit declaration of gets.
29445 * elf/tst-unique3lib.cc: Likewise.
29446 * elf/tst-unique3lib2.cc: Likewise.
29447 * elf/tst-unique4.cc: Likewise.
29448
df78418a
UD
29449 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29450
8ecd6b2a
JM
294512012-01-06 Joseph Myers <joseph@codesourcery.com>
29452
29453 [BZ #13566]
29454 * assert/assert.h (static_assert): Don't define for C++.
29455 * libio/stdio.h (gets): Do declare for C++ <= C++11.
29456 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29457
9f115170
UD
294582012-01-03 Ulrich Drepper <drepper@gmail.com>
29459
5e0d0300
UD
29460 * iconv/loop.c (single loop): Fix assertion in storing of
29461 remaining bytes.
29462
9f115170
UD
29463 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29464
81fb02b0
UD
294652012-01-01 Ulrich Drepper <drepper@gmail.com>
29466
29467 * posix/getconf.c: Update copyright year.
29468 * nss/getent.c: Likewise.
a316c1f6 29469 * nss/makedb.c: Likewise.
81fb02b0
UD
29470 * iconv/iconvconfig.c: Likewise.
29471 * iconv/iconv_prog.c: Likewise.
29472 * elf/ldconfig.c: Likewise.
a316c1f6
UD
29473 * elf/pldd.c: Likewise.
29474 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
29475 * catgets/gencat.c: Likewise.
29476 * csu/version.c: Likewise.
29477 * elf/ldd.bash.in: Likewise.
29478 * elf/sprof.c (print_version): Likewise.
29479 * locale/programs/locale.c: Likewise.
29480 * locale/programs/localedef.c: Likewise.
a316c1f6 29481 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
29482 * nscd/nscd.c (print_version): Likewise.
29483 * debug/xtrace.sh: Likewise.
29484 * malloc/memusage.sh: Likewise.
29485 * malloc/mtrace.pl: Likewise.
29486 * debug/catchsegv.sh: Likewise.
29487
2ba92745
JJ
294882011-12-30 Jakub Jelinek <jakub@redhat.com>
29489
29490 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29491 pure attribute.
29492
dadebdae
UD
294932011-12-24 Ulrich Drepper <drepper@gmail.com>
29494
d3761ebc 29495 [BZ #13533]
db6af3eb
UD
29496 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29497 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29498 transformations.
29499 * iconv/gconv_int.h: Likewise.
29500 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29501 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29502 from libc for GLIBC_2.16.
29503 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29504 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29505 * wcsmbs/uchar.h: Really define mbstate_t.
29506 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29507 * wcsmbs/c16rtomb.c: New file.
29508 * wcsmbs/mbrtoc16.c: New file.
29509 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29510 for C/POSIX locale.
29511 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29512 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29513
dadebdae
UD
29514 * wcsmbs/wchar.h: Add missing __restrict.
29515
67371b56
UD
295162011-12-23 Ulrich Drepper <drepper@gmail.com>
29517
74033a25
UD
29518 [BZ #13532]
29519 * time/Makefile (routines): Add timespec_get.
29520 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29521 * time/time.h: Define TIME_UTC and declare timespec_get. Define
29522 timespec for ISO C11.
29523 * time/timespec_get.c: New file.
29524 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29525 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29526
380d7e87
UD
29527 [BZ #13531]
29528 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29529 * stdlib/stdlib.h: Declare aligned_alloc.
29530 * Versions.def: Add GLIBC_2.16 for libc.
29531 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29532
4e9e7a35
UD
29533 [BZ 13527]
29534 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29535 ISO C11.
29536
380d7e87 29537 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
29538 code.
29539
03a71829
UD
29540 [BZ #13528]
29541 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29542
839e283e
UD
29543 [BZ #13529]
29544 * assert/assert.h (static_assert): Define.
29545
ce5294e2 29546 * version.h: Update for 2.16 development version.
90fa7312 29547
8d44e150 29548 [BZ #13526]
d7809905
UD
29549 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29550 _ISOC11_SOURCE.
29551
c0da14cd
UD
29552 * version.h (RELEASE): Bump for 2.15 release.
29553 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29554
530a3249
MP
29555 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29556 Patch by Marek Polacek <mpolacek@redhat.com>.
29557
67371b56
UD
29558 * bits/byteswap.h: Protect long long constants with __extension__.
29559 * sysdeps/i386/bits/byteswap.h: Likewise.
29560 * sysdeps/ia64/bits/byteswap.h: Likewise.
29561 * sysdeps/s390/bits/byteswap.h: Likewise.
29562 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29563
15db4de1
LD
295642011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29565
29566 [BZ #13540]
bbe315ea
LD
29567 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29568 destination buffer.
15db4de1
LD
29569 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29570
2b2596b1
MP
295712011-12-23 Marek Polacek <polacek@redhat.com>
29572
29573 * elf/dl-addr.c (determine_info): Add inline keyword.
29574 * elf/tst-auditmod4b.c (check_avx): Likewise.
29575 * elf/tst-auditmod6b.c (check_avx): Likewise.
29576 * elf/tst-auditmod6c.c (check_avx): Likewise.
29577 * elf/tst-auditmod7b.c (check_avx): Likewise.
29578
70c6c246
UD
295792011-12-23 Ulrich Drepper <drepper@gmail.com>
29580
29581 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29582 !__SSE_MATH__.
29583
c044cf14
LD
295842011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29585
15db4de1 29586 [BZ #13540]
c044cf14
LD
29587 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29588 processing for last bytes.
29589
6b13d9d9
BH
295902011-08-06 Bruno Haible <bruno@clisp.org>
29591
d455f537
BH
29592 [BZ #13061]
29593 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29594 U+0385, not to U+1FEE.
29595
6b13d9d9
BH
29596 [BZ #13062]
29597 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29598 entry for U+00A5 U+0301.
29599
db910efd
UD
296002011-12-22 Ulrich Drepper <drepper@gmail.com>
29601
27deeafc
UD
29602 [BZ #13166]
29603 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29604 buffer for the output is too small.
29605
aed9d171
UD
29606 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29607 optimization.
29608
db910efd
UD
29609 [BZ #13185]
29610 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29611 SSE flags if possible.
29612
2bd779ae
LD
296132011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29614
e7f9dac3 29615 [BZ #13540]
2bd779ae
LD
29616 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29617 processing for last bytes.
29618
154bfc16
JM
296192011-12-22 Joseph Myers <joseph@codesourcery.com>
29620
29621 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29622 (syscall-list-default-options, syscall-list-default-condition)
29623 (syscall-list-includes): Define.
29624 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29625 list of ABIs and options and #if conditions for each ABI. Do not
29626 handle common syscalls between ABIs specially.
29627 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29628 Remove.
29629 (syscall-list-variants, syscall-list-32bit-options)
29630 (syscall-list-32bit-condition, syscall-list-64bit-options)
29631 (syscall-list-64bit-condition): Define.
29632 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29633 (syscall-list-variants, syscall-list-32bit-options)
29634 (syscall-list-32bit-condition, syscall-list-64bit-options)
29635 (syscall-list-64bit-condition): Define.
29636 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29637 Remove.
29638 (syscall-list-variants, syscall-list-32bit-options)
29639 (syscall-list-32bit-condition, syscall-list-64bit-options)
29640 (syscall-list-64bit-condition): Define.
29641 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29642 Remove.
29643 (syscall-list-variants, syscall-list-32bit-options)
29644 (syscall-list-32bit-condition, syscall-list-64bit-options)
29645 (syscall-list-64bit-condition): Define.
29646
21eaf3a5
UD
296472011-12-22 Ulrich Drepper <drepper@gmail.com>
29648
16c6f992
UD
29649 * locale/iso-639.def: Add brx entry.
29650
41043168
UD
29651 [BZ #13328]
29652 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29653 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29654
21eaf3a5
UD
29655 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29656 __feraiseexcept_renamed.
29657
e3a851a2
UD
296582011-12-21 Ulrich Drepper <drepper@gmail.com>
29659
4920765e
UD
29660 [BZ #13538]
29661 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29662 EPOLLET with unsigned values.
29663 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29664 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29665
e3a851a2
UD
29666 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29667 to large cancellation.
29668 * math/s_cacoshf.c: Likewise.
29669 * math/s_cacoshl.c: Likewise.
29670
b27e24b8
RK
296712011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29672
29673 [BZ #13305]
aebefeee 29674 [BZ #12786]
b27e24b8
RK
29675 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29676 * math/s_cacoshf.c: Likewise.
29677 * math/s_cacoshl.c: Likewise.
29678
ee190f67
UD
296792011-12-21 Ulrich Drepper <drepper@gmail.com>
29680
29681 [BZ #13439]
29682 * iconv/gconv.h: Define __GCONV_SWAP.
29683 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29684 * iconvdata/utf-16.c: Likewise.
29685 * iconvdata/utf-32.c: Likewise.
29686
707f25df
AS
296872011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29688
29689 [BZ #13524]
29690 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29691 numerator after shifting it by one limb.
29692
d2daaa1e
RÁE
296932011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29694
29695 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29696 under [__USE_EXTERN_INLINES].
29697
a4647e72
UD
296982011-12-17 Ulrich Drepper <drepper@gmail.com>
29699
29700 [BZ #13446]
29701 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29702
f0b264f1
AZ
297032011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29704
29705 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29706 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29707 optimized code.
29708 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29709 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29710 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29711 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29712 for strncasecmp/strncasecmp_l compilation.
29713 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29714 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29715
8ef4f244
MP
297162011-12-08 Marek Polacek <mpolacek@redhat.com>
29717
29718 [BZ #13484]
29719 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29720 of __asm__.
29721
97ac2654
UD
297222011-12-17 Ulrich Drepper <drepper@gmail.com>
29723
29724 [BZ #13506]
29725 * time/tzfile.c (__tzfile_read): Check values from file header.
29726
91d2a845
WS
297272011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29728
29729 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29730 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29731 * powerpc/powerpc32/dl-start.S: Likewise.
29732 * powerpc/powerpc32/elf/start.S: Likewise.
29733 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29734 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29735 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29736 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29737 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29738 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29739 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29740 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29741 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29742 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29743 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29744 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29745 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29746 * powerpc/powerpc32/memset.S: Likewise.
29747 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29748 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29749 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29750 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29751 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29752 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29753 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29754 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29755 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29756 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29757 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29758 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29759 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29760
a1267ba1
AZ
297612011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29762
29763 * math/libm-test.inc: Added more nearbyint tests.
29764 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29765 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29766 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29767 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29768
ad8ac1bd
RL
297692011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29770
29771 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29772 FD_CLOEXEC.
29773
1d3e4b61
UD
297742011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29775
29776 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29777 Add wcscpy-ssse3 wcscpy-c.
29778 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29779 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29780 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29781 * sysdeps/x86_64/wcschr.S: New file.
29782 * sysdeps/x86_64/wcsrchr.S: New file.
29783 * string/test-strcmp.c: Remove checking of wcscmp function for
29784 wrong alignments.
29785 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29786 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29787 wcsrchr-sse2 wcsrchr-c.
29788 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29789 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29790 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29791 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29792 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29793 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29794 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29795 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29796 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29797 * wcsmbc/wcschr.c (WCSCHR): New macro.
29798
5b330a2d
UD
297992011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29800
29801 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29802 * wcsmbs/test-wcsrchr.c: New file.
29803 * string/test-strrchr.c: Add wcsrchr support.
29804 (WIDE): New macro.
29805 * wcsmbs/test-wcscpy.c: New file.
29806 * string/test-strcpy.c: Add wcscpy support.
29807 (WIDE): New macro.
26428b7c 29808
f039c043
UD
298092011-12-10 Ulrich Drepper <drepper@gmail.com>
29810
29811 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29812 the inner loop.
29813
850fb039
AS
298142011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29815
29816 [BZ #13472]
29817 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29818
4efbd5cb
UD
298192011-12-04 Ulrich Drepper <drepper@gmail.com>
29820
52ff5dd0 29821 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 29822 Minor optimizations.
52ff5dd0 29823
4efbd5cb
UD
29824 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29825 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29826 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29827
8a426e12
UD
298282011-12-03 Ulrich Drepper <drepper@gmail.com>
29829
aff2453d
UD
29830 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29831 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29832 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29833 for gcc to avoid warnings.
29834 * inet/Makefile (tests): Add tst-checks.
29835 * inet/tst-checks.c: New file.
29836
29837 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29838 warning.
29839
29840 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29841 __wmemcmp_sse2.
29842
29843 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29844 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29845
8a426e12
UD
29846 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29847
9bea3473
UD
298482011-12-02 Ulrich Drepper <drepper@gmail.com>
29849
3a965496
UD
29850 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29851 problem.
29852
9bea3473
UD
29853 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29854
f101631b
UD
298552011-11-29 Joseph Myers <joseph@codesourcery.com>
29856
29857 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29858 conditional on GCC version.
29859 (__arch_compare_and_exchange_val_8_acq)
29860 (__arch_compare_and_exchange_val_16_acq)
29861 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29862 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29863 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29864
a98275aa
UD
298652011-12-02 Joseph Myers <joseph@codesourcery.com>
29866
29867 * sysdeps/sh/backtrace.c: New file.
29868
d4cc29a2
AS
298692011-12-02 Andreas Schwab <schwab@redhat.com>
29870
29871 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29872 parenthesis.
29873
6257af2d
AS
298742011-12-01 Andreas Schwab <schwab@redhat.com>
29875
29876 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29877 falling back to utime.
29878
b5f44c1a
AS
298792011-11-30 Andreas Schwab <schwab@redhat.com>
29880
29881 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29882 expectations for float.
29883
f3a6cc0a
AS
298842011-11-29 Andreas Schwab <schwab@redhat.com>
29885
29886 * locale/weight.h (findidx): Add parameter len.
29887 * locale/weightwc.h (findidx): Likewise.
29888 * posix/fnmatch_loop.c (FCT): Adjust caller.
29889 * posix/regcomp.c (build_equiv_class): Likewise.
29890 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29891 * posix/regexec.c (check_node_accept_bytes): Likewise.
29892 * string/strcoll_l.c (STRCOLL): Likewise.
29893 * string/strxfrm_l.c (STRXFRM): Likewise.
29894
9d65ea3a
UD
298952011-11-17 Ulrich Drepper <drepper@gmail.com>
29896
29897 * Makefile.in: Remove CVSOPT handling.
29898 * configure.in: Remove use of AC_REVISION.
29899 * iconvdata/Makefile (distribute): No need to filter out CVS.
29900 * scripts/list-sources.sh: Remove CVS, subversion and monotone
29901 handling.
29902
5583a086
AS
299032011-11-16 Andreas Schwab <schwab@redhat.com>
29904
29905 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29906 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29907 [USE_AS_STRNCASECMP_L]: Likewise.
29908 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29909 NO_TLS_DIRECT_SEG_REFS.
29910 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29911 Fix argument offsets for non-PIC.
29912 [USE_AS_STRNCASECMP_L]: Likewise.
29913 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29914 NO_TLS_DIRECT_SEG_REFS.
29915
d62a8200
UD
299162011-11-15 Ulrich Drepper <drepper@gmail.com>
29917
9d65ea3a 29918 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
29919 O_CLOEXEC.
29920 * locale/loadlocale.c (_nl_load_locale): Likewise.
29921
09f93bd3
AS
299222011-11-15 Andreas Schwab <schwab@redhat.com>
29923
446514f9
AS
29924 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29925 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29926 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29927 (SYSCALL_GETTIME): Set errno on error.
29928
09f93bd3
AS
29929 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29930 count references to noai6ai_cached.
29931
312be3f9
UD
299322011-11-15 Ulrich Drepper <drepper@gmail.com>
29933
29934 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29935
29936 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29937 FD_CLOEXEC for /proc/self/maps.
29938
29939 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29940 FD_CLOEXEC for /proc/meminfo.
29941
29942 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29943 gai.conf.
29944
29945 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29946 FD_CLOEXEC for given file.
29947
29948 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29949
29950 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29951 FD_CLOEXEC for /etc/hosts.
29952 (_gethtent): Likewise.
29953
29954 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29955
29956 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29957 cancellation and set FD_CLOEXEC for /etc/netgroup.
29958
29959 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29960 reading /etc/publickey.
29961
29962 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29963 allow cancellation when reading /etc/group.
29964
29965 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29966 cancellation.
29967 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29968
29969 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29970 when using data file.
29971
29972 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29973
29974 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
29975 (write_nis_obj): Use "c" and "e" in fopen.
29976
29977 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
29978
29979 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
29980
29981 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
29982
29983 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
29984
29985 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
29986 locale.alias.
29987
29988 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
29989
29990 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
29991
29992 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
29993
29994 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
29995 file parsing and set FD_CLOEXEC.
29996
82af0fa8
UD
299972011-11-14 Ulrich Drepper <drepper@gmail.com>
29998
29999 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30000
a5fb313c
AS
300012011-11-14 Andreas Schwab <schwab@redhat.com>
30002
30003 * malloc/arena.c (arena_get2): Don't call reused_arena when
30004 _int_new_arena failed.
30005
6abf3465
UD
300062011-11-14 Ulrich Drepper <drepper@gmail.com>
30007
30008 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30009 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30010 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30011 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30012 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30013 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30014 to compile strcasecmp and strncasecmp.
30015 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30016 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30017
30018 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30019
76e3966e
UD
300202011-11-13 Ulrich Drepper <drepper@gmail.com>
30021
30022 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30023 locale-defines.sym to gen-as-const-headers.
30024 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30025 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30026 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30027 to compile strcasecmp and strncasecmp.
30028 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30029 strcasecmp_l and strncasecmp_l.
30030 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30031 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30032 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30033 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30034 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30035 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30036 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30037 * sysdeps/i386/i686/multiarch/strncase.S: New file.
30038 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30039 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30040 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30041
ab26144e
UD
300422011-11-12 Ulrich Drepper <drepper@gmail.com>
30043
7edb22ef
UD
30044 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30045 result of SYSDEP_GETTIME_CPU to retval.
30046 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30047 parameter list to macro. Remove trailing semicolon. Adjust users.
30048
9694fc44
UD
30049 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30050 variable.
30051
8ad89ef8
UD
30052 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30053 mantissa words.
30054 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30055
0c822ef9
UD
30056 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30057 from unused variable.
30058
874e0564
UD
30059 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30060 DWARF definitions.
30061 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30062 for assembling.
30063
3a2edc79
UD
30064 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30065 over namespaces.
30066
f3c2577f
UD
30067 * sunrpc/rpc_prot.c (rejected): Fix case value.
30068
294ce126
UD
30069 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30070 unsigned long long int to avoid warnings in shift.
30071
5e2b63c6
UD
30072 * posix/regex_internal.c (re_string_reconstruct): Actually use result
30073 of use of trans.
30074 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30075 variable tmp.
30076
e7f4b08e
UD
30077 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30078 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30079 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30080
ab26144e
UD
30081 * nis/nis_table.c (nis_list): Use variable of correct type for
30082 result of __follow_path call.
30083
8a6d5255
AZ
300842011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30085
30086 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30087 of math functions ceil, trunc, floor, round, and sqrt, when
30088 avaliable on the platform.
30089 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30090 name clash.
30091 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30092 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30093 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30094
aaddc98c
MP
300952011-10-30 Marek Polacek <mpolacek@redhat.com>
30096
30097 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30098 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30099
95b7042b
RM
301002011-11-11 Roland McGrath <roland@hack.frob.com>
30101
30102 * include/unistd.h: Fix __readlink return type.
30103 Reported by Chris Metcalf <cmetcalf@tilera.com>.
30104
57769839
UD
301052011-11-11 Ulrich Drepper <drepper@gmail.com>
30106
30107 * stdlib/ucontext.h: Undo last change for makecontext.
30108
edc5984d
AS
301092011-11-11 Andreas Schwab <schwab@redhat.com>
30110
98591e58
AS
30111 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30112
edc5984d
AS
30113 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30114 * setjmp/setjmp.h: Mark functions as non-leaf.
30115 * setjmp/bits/setjmp2.h: Likewise.
30116 * stdlib/ucontext.h: Likewise.
30117
77cdc054
AS
301182011-11-10 Andreas Schwab <schwab@redhat.com>
30119
30120 * malloc/arena.c (_int_new_arena): Don't increment narenas.
30121 (reused_arena): Don't check arena limit.
30122 (arena_get2): Atomically check arena limit.
30123
fe72eebd
UD
301242011-11-08 Ulrich Drepper <drepper@gmail.com>
30125
5f078c32
UD
30126 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30127 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30128
fe72eebd
UD
30129 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30130 instructions.
30131
ae1bc2fa
AS
301322011-11-07 Andreas Schwab <schwab@redhat.com>
30133
7583a88d
AS
30134 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30135 handler when locking.
30136
ae1bc2fa
AS
30137 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30138 Fix size of allocated buffer.
30139
10fb0bfa
AS
301402011-11-04 Andreas Schwab <schwab@redhat.com>
30141
998832a4
AS
30142 [BZ #10103]
30143 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30144 declarations for long double functions.
30145 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30146
10fb0bfa
AS
30147 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30148
3d7ba52b
AS
301492011-11-03 Andreas Schwab <schwab@redhat.com>
30150
a9ae54a1
AS
30151 * nscd/nscd.c (main): Don't start AVC thread until credentials are
30152 installed.
30153
3d7ba52b
AS
30154 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30155 is disabled.
30156
bc8db248
ST
301572011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30158
30159 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30160
45b96dd6
AS
301612011-11-01 Andreas Schwab <schwab@linux-m68k.org>
30162
647776f6
AS
30163 * include/alloca.h (stackinfo_alloca_round): Define.
30164 (extend_alloca): Use it.
30165 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30166 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30167 here.
30168
d91a8b93
AS
30169 * scripts/check-local-headers.sh: Ignore libaudit.h.
30170
45b96dd6
AS
30171 * nscd/Makefile (extra-objs): Make recursively expanded.
30172
432d41ce
UD
301732011-11-01 Ulrich Drepper <drepper@gmail.com>
30174
34372fc6
UD
30175 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30176 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30177
fadb59f8
UD
30178 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30179 * posix/tst-rfc3484-2.c: Likewise.
30180 * posix/tst-rfc3484-3.c: Likewise.
30181
78239589
UD
30182 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30183 process_vm_writev.
30184 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30185 process_vm_writev.
30186 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30187 process_vm_writev from libc using GLIBC_2.15 version.
30188
432d41ce
UD
30189 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30190
02f9c6cf
PP
301912011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
30192
30193 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30194 stack usage.
30195
3a2c0242
UD
301962011-10-31 Ulrich Drepper <drepper@gmail.com>
30197
f4ec4833
UD
30198 [BZ #13367]
30199 * nss/getent.c (initgroups_keys): Show error message in case no group
30200 names are given.
30201
3a2c0242
UD
30202 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30203 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30204 __bump_nl_timestamp.
30205 * nscd/connections (nscd_init): When host database is served open
30206 netlink socket and request notification about configuration changes.
30207 (main_loop_poll): Track netlink file descriptor and bump timestamp
30208 in case data becomes available.
30209 (main_loop_epoll): Likewise.
30210 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30211 (database_pers_head): Add extra_data fileds.
30212 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30213 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30214 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30215 Adjust caller.
30216 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30217 in6ai data, call __free_in6ai.
30218 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30219 Add -DHAVE_NETLINK.
30220 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
30221 interface information. Reuse previous data if netlink timestamp
30222 is not changed.
30223 (__bump_nl_timestamp): New function.
30224 (__free_in6ai): New function.
30225
636064eb
UD
302262011-10-30 Ulrich Drepper <drepper@gmail.com>
30227
30228 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30229 close_not_cancel_no_status here.
30230 (__check_pf): Reorganize code a bit to not call close twice if OOM.
30231
9beb2334
UD
302322011-10-29 Ulrich Drepper <drepper@gmail.com>
30233
6ef76f3b
UD
30234 [BZ #13276]
30235 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30236 return value.
30237
0ffc4f3e 30238 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
30239 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30240 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30241
cb95113e
UD
302422011-07-03 Andreas Jaeger <aj@suse.de>
30243
30244 [BZ #10709]
30245 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30246 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30247 * math/libm-test.inc (sin_test): Add test case.
30248
a1b560ff
UD
302492011-10-29 Ulrich Drepper <drepper@gmail.com>
30250
c9aaface
UD
30251 [BZ #13337]
30252 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30253 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30254
d272e7f1
UD
30255 * elf/chroot_canon.c (chroot_canon): Cleanups.
30256
1bc33071
UD
30257 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30258
1760874d
TJ
30259 [BZ #13335]
30260 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30261 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30262
51d91b18
UD
30263 * string/test-strchr.c: Make usable for strchrnul testing.
30264 * string/test-strchrnul.c: New file.
30265 * string/Makefile (strop-tests): Add strchrnul.
30266
a1b560ff 30267 * po/it.po: Update from translation team.
b611fb81 30268 * po/es.po: Likewise.
a1b560ff 30269
a5b81e1f
UD
302702011-10-28 Ulrich Drepper <drepper@gmail.com>
30271
fd52bc6d
UD
30272 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30273 the three constants needed as parameters. Drop the others.
30274 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30275 __m128i_strloadu_tolower.
52e4b9eb
UD
30276 Create and initialize variable zero and use it in all the places
30277 where _mm_setzero_si128 was used.
fd52bc6d 30278
a5b81e1f
UD
30279 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30280 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30281 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30282 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30283 anymore.
30284 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30285 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30286 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30287 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30288 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30289 __mpranred, __mptan.
30290 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30291 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30292 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30293 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30294 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30295 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30296 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30297 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30298 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30299
b4343346
AS
303002011-10-28 Andreas Schwab <schwab@redhat.com>
30301
0c92d8a8
AS
30302 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30303 redefine if SHARED.
30304 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30305
b4343346
AS
30306 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30307 wide char related routines to wcsmbs subdir.
30308
3871f58f
AS
303092011-10-27 Andreas Schwab <schwab@redhat.com>
30310
30311 [BZ #13344]
30312 * misc/sys/cdefs.h (__THROWNL): Define.
30313 * posix/unistd.h: Use __THREADNL instead of __THREAD
30314 for memory synchronization functions.
30315
94d44d9f
RM
303162011-10-26 Roland McGrath <roland@hack.frob.com>
30317
21b64b15 30318 [BZ #13349]
94d44d9f
RM
30319 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30320 doesn't exist.
30321 * manual/stdio.texi (Obstack Streams): Node removed.
30322
f6ce9294
AS
303232011-10-26 Andreas Schwab <schwab@redhat.com>
30324
80479147
AS
30325 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30326 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30327 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30328
f6ce9294
AS
30329 * math/math_private.h (math_force_eval): Allow non-addressable
30330 arguments.
30331 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30332
618280a1
UD
303332011-10-25 Ulrich Drepper <drepper@gmail.com>
30334
e0016b11
UD
30335 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30336 file is not needed.
30337
30338 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30339 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30340 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30341 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30342 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30343 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30344 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30345 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30346 Add AVX variants.
30347 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30348 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30349 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30350 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30351 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30352 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30353 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30354 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30355 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30356 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30357 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30358 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30359 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30360 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30361 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30362 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30363 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30364 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30365 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30366
30367 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
30368 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
30369
618280a1
UD
30370 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30371 place. Use VEX encoding when compiling for AVX.
30372
37822576
AS
303732011-10-25 Andreas Schwab <schwab@redhat.com>
30374
1f1e1947
AS
30375 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30376 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30377
37822576
AS
30378 * string/test-strchr.c (do_test): Don't generate NUL bytes.
30379
31ea014d
UD
303802011-10-25 Ulrich Drepper <drepper@gmail.com>
30381
d7826aa1 30382 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 30383 useless if() expression.
d7826aa1
UD
30384 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30385 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30386 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30387 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30388 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30389 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30390 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30391 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30392 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30393 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30394 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30395 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30396 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30397 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30398 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30399 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30400 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30401 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30402 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30403
31ea014d
UD
30404 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30405
16437fec
AS
304062011-10-25 Andreas Schwab <schwab@redhat.com>
30407
30408 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30409 condition.
30410 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30411
31d3cc00
UD
304122011-10-25 Ulrich Drepper <drepper@gmail.com>
30413
30414 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30415 .text section. Avoid duplicate constants.
30416 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30417 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30418 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30419 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30420 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30421 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30422 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30423 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30424 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30425 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30426 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30427 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30428 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30429 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30430 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30431 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30432 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30433 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30434 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30435 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30436 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30437 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30438 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30439 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30440 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30441 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30442 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30443 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30444 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30445 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30446 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30447 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30448 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30449 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30450 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30451 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30452 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30453 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30454 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30455 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30456 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30457 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30458 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30459 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30460 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30461
58985aa9
UD
304622011-10-24 Ulrich Drepper <drepper@gmail.com>
30463
202c9deb
UD
30464 * sysdeps/x86_64/dla.h: Move to ...
30465 * sysdeps/x86_64/fpu/dla.h: ...here.
30466 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30467 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 30468
af968f62
UD
30469 * config.make.in: Add have-mfma4 entry.
30470 * configure.in: Substitute libc_cv_cc_fma4.
30471 * math/Makefile (dbl-only-routines): Add sincostab.
30472 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30473 Use __sincostab not sincos.
30474 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30475 name is a macro.
30476 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30477 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30478 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30479 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
30480 using __copysign.
30481 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
30482 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
30483 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30484 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30485 and __inv.
30486 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30487 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30488 __copysign.
30489 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
30490 define aliases when function name is a macro.
30491 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30492 sysdeps/ieee754/dbl-64/sincos.tbl.
30493 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30494 fma4-enabled routines.
30495 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30496 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30497 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30498 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30499 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30500 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30501 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30502 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30503 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30504 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30505 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30506 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30507 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30508 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30509 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30510 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30511 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30512 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30513 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30514 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30515 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30516 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30517 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30518 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30519 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30520 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30521 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30522 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30523 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30524 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30525
58985aa9
UD
30526 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30527 rename.
30528 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30529 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30530 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30531 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30532 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30533 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30534 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30535 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30536
a201fbcf
AS
305372011-10-24 Andreas Schwab <schwab@redhat.com>
30538
30539 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30540
fc2ee42a
LD
305412011-10-23 Ulrich Drepper <drepper@gmail.com>
30542
bb3129bd
UD
30543 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30544
0275fff8
UD
30545 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30546 prediction.
30547 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30548
2fa2ae85
UD
30549 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30550 Remove unused variable magic_bits.
30551 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30552
fc2ee42a
LD
30553 * string/strnlen.c: Define and use STRNLEN macro.
30554 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30555 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30556 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30557 * wcsmbs/wcslen.c: Define and use WCSLEN.
30558 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30559 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30560 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30561 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30562 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30563 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30564 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30565
ce7dd29f
LD
305662011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30567
30568 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30569 strnlen-sse2-no-bsf.
30570 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30571 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30572 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30573 Add strnlen support.
30574 (USE_AS_STRNLEN): New macro.
30575 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30576 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30577 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30578 * sysdeps/x86_64/wcslen.S: New file.
30579
979c70a3
MZ
305802011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30581
30582 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30583 XMM-moves are used for copying on small sizes.
30584
2d09f82f
LD
305852011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30586
30587 * wcsmbs/Makefile (strop-tests): Add wcschr.
30588 * wcsmbs/test-wcschr.c: New file.
30589 * string/test-strchr.c: Update.
30590 Add wcschr support.
30591 (WIDE): New macro.
30592
619fccca
LD
305932011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30594
2d09f82f 30595 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
30596 * wcsmbs/test-wcslen.c: New file.
30597 * string/test-strlen.c: Update.
30598 Add wcslen support.
30599 (WIDE): New macro.
30600
09f699ea
UD
306012011-10-23 Ulrich Drepper <drepper@gmail.com>
30602
30603 * po/it.po: Update from translation team.
30604
95584d3b
LD
306052011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30606
30607 * sysdeps/x86_64/wcscmp.S: Update.
30608 Fix wrong comparison semantics.
30609 wcscmp shall use signed comparison not unsigned.
30610 Don't use substraction to avoid overflow bug.
30611 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30612 * wcsmbc/wcscmp.c: Likewise.
30613 * string/test-strcmp.c: Likewise.
30614 Add new tests to check cases with negative values.
30615
c8b3296b
UD
306162011-10-23 Ulrich Drepper <drepper@gmail.com>
30617
30618 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30619 * sysdeps/x86_64/dla.h: ...here. New file.
30620 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30621 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30622 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30623 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30625 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30626 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30627 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30628 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30629
246ad57a
AS
306302011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30631
30632 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30633 __ynl_finite aliases.
30634
a1a87169
UD
306352011-10-22 Ulrich Drepper <drepper@gmail.com>
30636
0d355eb7
UD
30637 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30638
a1a87169
UD
30639 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30640 define DLA_FMA.
30641 [DLA_FMA] (EMULV): Use DLA_FMA.
30642 [DLA_FMA] (MUL12): Use EMULV.
30643 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30644 that are not needed.
30645 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30646 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30647 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30648 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30649 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30650 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30651 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30652
ee2aafe0
AS
306532011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30654
30655 * math/s_nan.c: Undef __nan.
30656 * math/s_nanf.c: Undef __nanf.
30657 * math/s_nanl.c: Undef __nanl.
30658 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30659 "math_private.h".
30660
bc62c2fb
UD
306612011-10-22 Ulrich Drepper <drepper@gmail.com>
30662
77425c63
UD
30663 * math/s_catan.c: Add branch predictions.
30664 * math/s_catanf.c: Likewise.
30665 * math/s_catanh.c: Likewise.
30666 * math/s_catanhf.c: Likewise.
30667 * math/s_catanhl.c: Likewise.
30668 * math/s_catanl.c: Likewise.
30669 * math/s_cexp.c: Likewise.
30670 * math/s_cexpf.c: Likewise.
30671 * math/s_cexpl.c: Likewise.
30672 * math/s_clog.c: Likewise.
30673 * math/s_clog10.c: Likewise.
30674 * math/s_clog10f.c: Likewise.
30675 * math/s_clog10l.c: Likewise.
30676 * math/s_clogf.c: Likewise.
30677 * math/s_clogl.c: Likewise.
30678 * math/s_csqrt.c: Likewise.
30679 * math/s_csqrtf.c: Likewise.
30680 * math/s_csqrtl.c: Likewise.
30681 * math/s_ctanf.c: Likewise.
30682 * math/s_ctanh.c: Likewise.
30683 * math/s_ctanhf.c: Likewise.
30684 * math/s_ctanhl.c: Likewise.
30685 * math/s_ctanl.c: Likewise.
30686
bc62c2fb
UD
30687 * math/math_private.h: Define __nan, __nanf, __nanl.
30688 * math/s_cacosh.c: Include <math_private.h>.
30689 * math/s_cacoshl.c: Likewise.
30690 * math/s_casinh.c: Likewise.
30691 * math/s_casinhf.c: Likewise.
30692 * math/s_casinhl.c: Likewise.
30693 * math/s_ccos.c: Rely entire on ccosh.
30694 * math/s_ccosf.c: Rely entire on ccoshf.
30695 * math/s_ccosl.c: Rely entirely on ccoshl.
30696 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30697 Remove tests for FE_INVALID.
30698 * math/s_ccoshf.c: Likewise.
30699 * math/s_ccoshl.c: Likewise.
30700 * math/s_csin.c: Likewise.
30701 * math/s_csinf.c: Likewise.
30702 * math/s_csinh.c Likewise.
30703 * math/s_csinhf.c: Likewise.
30704 * math/s_csinhl.c: Likewise.
30705 * math/s_csinl.c: Likewise.
30706 * math/s_ctan.c: Likewise.
30707 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30708 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30709 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30710
8ec250a4
UD
307112011-10-21 Ulrich Drepper <drepper@gmail.com>
30712
c196fed8
UD
30713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30714 compilation problems.
30715
8ec250a4
UD
30716 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30717 __builtin_expect.
30718
8d4f46c6
UD
307192011-10-20 Ulrich Drepper <drepper@gmail.com>
30720
ed72b654
UD
30721 * sysdeps/i386/configure.in: Test for -mfma4 option.
30722 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30723 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30724 COMMON_CPUID_INDEX_80000001.
30725 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30726 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30727 use it if FMA3 is not supported.
30728 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30729
8d4f46c6
UD
30730 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30731 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30732
d45c60c2
AS
307332011-10-20 Andreas Schwab <schwab@redhat.com>
30734
30735 [BZ #12892]
30736 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30737 it would create a cycle with a link time dependency.
30738
d9a4d2ab
UD
307392011-10-19 Ulrich Drepper <drepper@gmail.com>
30740
855d1560
UD
30741 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30742 instruction.
30743 * string/Makefile (strop-tests): Add rawmemchr.
30744 * string/test-rawmemchr.c: New file.
30745
d9a4d2ab
UD
30746 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30747 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30748 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30749 when compiling str{,n}casecmp and when AVX is available. Hook up
30750 new optimized code in initializers.
30751
8f3b1ffe
AS
307522011-10-19 Andreas Schwab <schwab@redhat.com>
30753
30754 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30755 __feraiseexcept instead of feraiseexcept.
30756
d38f1dba
UD
307572011-10-18 Ulrich Drepper <drepper@gmail.com>
30758
d9a8d0ab
UD
30759 * math/math_private.h: Define defaults for libc_fetestexcept and
30760 libc_feupdateenv.
30761 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30762 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30763 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30764 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30765 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30766 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30767 libc_fetestexcept and libc_feupdateenv.
30768
4855e3dd
UD
30769 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30770 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30771 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30772 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30773 libc_feholdexcept_setround.
30774
581d30e3
UD
30775 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30776 Add s_nearbyint-c and s_nearbyintf-c.
30777 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30778 nearbyintf inlines.
30779 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30780 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30781 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30782 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30783
d38f1dba
UD
30784 * math/math_private.h: Define defaults for libc_fegetround,
30785 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30786 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30787 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30788 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30789 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30790 standard functions.
30791 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30792 Remove comments and hacks for old compiler versions.
30793 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30794 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30795 libc_feholdexceptl.
30796
caa6c9d8
AS
307972011-10-18 Andreas Schwab <schwab@redhat.com>
30798
30799 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
30800 (__feraiseexcept_renamed): Add __NTH.
30801 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
30802 namespace violations.
30803
97c066e6
UD
308042011-10-17 Ulrich Drepper <drepper@gmail.com>
30805
99ce7b04
UD
30806 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30807
1004d182
UD
30808 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30809
228a984d
UD
30810 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30811 recently added interfaces.
30812 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30813
c8553a6a
UD
30814 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30815 about macro parameter expansion.
30816
ed22dcf6
UD
30817 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30818 __NO_MATH_INLINES is defined. Cleanups.
30819
30820 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30821 and __floorf is target has SSE4.1.
30822 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30823 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30824 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30825 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30826
b171c137
UD
30827 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30828 name.
30829 (floorf): Likewise.
30830
97c066e6
UD
30831 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30832
629f62ef
AS
308332011-10-17 Andreas Schwab <schwab@redhat.com>
30834
49a43d80
AS
30835 * misc/sys/cdefs.h: Fix last change.
30836
629f62ef
AS
30837 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30838 database lookup.
30839
e453f6cd
UD
308402011-10-16 Ulrich Drepper <drepper@gmail.com>
30841
aa78043a
UD
30842 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30843
ad0f5cad
UD
30844 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30845 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30846 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30847 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30848 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30849 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30850 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30851 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30852 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30853 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30854 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30855 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30856 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30857 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30858 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30859 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30860 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30861 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30862 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30863 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30864 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30865 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30866
30867 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30868 ceil, ceilf, floor, floorf.
30869
30870 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30871 Perform IRELATIVE relocations last.
30872
e453f6cd
UD
30873 * elf/do-rel.h: Add another parameter nrelative, replacing the
30874 local variable with the same name. Change name of the function
30875 to end in Rel or Rela (uppercase).
30876 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30877 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
30878 elf_dynamic_do_##reloc function.
30879
fd5bdc09
UD
308802011-10-15 Ulrich Drepper <drepper@gmail.com>
30881
79b195b5
UD
30882 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30883 is sufficient, at least on modern CPUs.
30884
d4a28569
UD
30885 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30886
b61099b5
UD
30887 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30888 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30889
bcf01e6d
UD
30890 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30891 __expl_finite.
30892 * math/bits/math-finite.h: Add entries for exp.
30893 * math/e_expl.c: Add __*_finite alias.
30894 * sysdeps/i386/fpu/e_exp.S: Likewise.
30895 * sysdeps/i386/fpu/e_expf.S: Likewise.
30896 * sysdeps/i386/fpu/e_expl.c: Likewise.
30897 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30898 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30899 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30900 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30901 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30902 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30903 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30904
ba1a0d59
UD
30905 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30906 is sufficient, at least on modern CPUs.
30907
fd5bdc09
UD
30908 * ctype/ctype-info.c (__ctype_init): Define.
30909 * include/ctype.h (__ctype_init): Declare.
30910 (__ctype_b_loc): The variable is always initialized.
30911 (__ctype_toupper_loc): Likewise.
30912 (__ctype_tolower_loc): Likewise.
30913 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30914 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30915
7872cfb0
AS
309162011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30917
b468825a
AS
30918 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30919
7872cfb0
AS
30920 * configure.in: Also look in $cxxmachine/include for C++ system
30921 headers.
30922
be13f7bf
LD
309232011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30924
30925 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30926 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30927 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30928 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
30929 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30930 (USE_AS_WMEMCMP): New macro.
30931 Fixing indents.
30932 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30933 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30934 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30935 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30936 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30937 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30938 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30939 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30940 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30941 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30942 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30943 (USE_AS_WMEMCMP): New macro.
30944 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30945 * sysdeps/string/test-memcmp.c: Update.
30946 Fix simple_wmemcmp.
30947 Add new tests.
30948 * wcsmbs/wmemcmp.c: Update.
30949 (WMEMCMP): New macro.
30950 Fix overflow bug.
30951
556a2007
AJ
309522011-10-12 Andreas Jaeger <aj@suse.de>
30953
30954 [BZ #13268]
30955 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30956
538faaa7
UD
309572011-10-15 Ulrich Drepper <drepper@gmail.com>
30958
ab6737ff
UD
30959 * libio/iofwide.c (do_length): Avoid warning.
30960
538faaa7
UD
30961 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30962
396a21b1
UD
309632011-10-14 Ulrich Drepper <drepper@gmail.com>
30964
cdf2901f
UD
30965 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30966
38ad40ce
UD
30967 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30968 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30969 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30970 * sysdeps/i386/i686/fpu/e_log.S: New file.
30971 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30972 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30973
396a21b1
UD
30974 * ctype/ctype.h: Add support for inlined isXXX functions when
30975 compiling C++ code.
30976
6b1f68c9
AS
309772011-10-14 Andreas Schwab <schwab@redhat.com>
30978
349290c0
AS
30979 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
30980
6b1f68c9
AS
30981 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
30982
f2282d42
RM
309832011-10-13 Roland McGrath <roland@hack.frob.com>
30984
30985 [BZ #13291]
30986 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
30987
5298ffa8
AS
309882011-10-13 Andreas Schwab <schwab@redhat.com>
30989
714fad23
AS
30990 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
30991 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
30992 feraiseexcept.
30993
81dcc7fb
AS
30994 * sysdeps/x86_64/memrchr.S: Check for zero size.
30995
5298ffa8
AS
30996 * string/stratcliff.c: Add memrchr tests.
30997
951fbcec
LD
309982011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30999
31000 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31001 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31002 rawmemchr-sse2 rawmemchr-sse2-bsf.
31003 * sysdeps/i386/i686/multiarch/memchr.S: New file.
31004 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31005 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31006 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31007 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31008 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31009 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31010 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31011 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31012 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31013 * string/memrchr.c (MEMRCHR): New macro.
31014
0ac5ae23
UD
310152011-10-12 Ulrich Drepper <drepper@gmail.com>
31016
31017 Add integration with gcc's -ffinite-math-only and optimize wrapper
31018 functions in libm.
31019 * Versions.def: Define GLIBC_2.15 version for libm.
31020 * math/Makefile (headers): Add bits/math-finite.h.
31021 * math/bits/math-finite.h: New file.
31022 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31023 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31024 * math/e_acoshl.c: Add __*_finite alias.
31025 * math/e_acosl.c: Likewise.
31026 * math/e_asinl.c: Likewise.
31027 * math/e_atan2l.c: Likewise.
31028 * math/e_atanhl.c: Likewise.
31029 * math/e_coshl.c: Likewise.
31030 * math/e_exp10.c: Likewise.
31031 * math/e_exp10f.c: Likewise.
31032 * math/e_exp10l.c: Likewise.
31033 * math/e_exp2l.c: Likewise.
31034 * math/e_fmodl.c: Likewise.
31035 * math/e_gammal_r.c: Likewise.
31036 * math/e_hypotl.c: Likewise.
31037 * math/e_j0l.c: Likewise.
31038 * math/e_j1l.c: Likewise.
31039 * math/e_jnl.c: Likewise.
31040 * math/e_lgammal_r.c: Likewise.
31041 * math/e_log10l.c: Likewise.
31042 * math/e_log2l.c: Likewise.
31043 * math/e_logl.c: Likewise.
31044 * math/e_powl.c: Likewise.
31045 * math/e_sinhl.c: Likewise.
31046 * math/e_sqrtl.c: Likewise.
31047 * math/e_scalb.c: Completely rewritten and optimized.
31048 * math/e_scalbf.c: Likewise.
31049 * math/e_scalbl.c: Likewise.
31050 * math/w_acos.c: Likewise.
31051 * math/w_acosf.c: Likewise.
31052 * math/w_acosl.c: Likewise.
31053 * math/w_acosh.c: Likewise.
31054 * math/w_acoshf.c: Likewise.
31055 * math/w_acoshl.c: Likewise.
31056 * math/w_asin.c: Likewise.
31057 * math/w_asinf.c: Likewise.
31058 * math/w_asinl.c: Likewise.
31059 * math/w_atan2.c: Likewise.
31060 * math/w_atan2f.c: Likewise.
31061 * math/w_atan2l.c: Likewise.
31062 * math/w_atanh.c: Likewise.
31063 * math/w_atanhf.c: Likewise.
31064 * math/w_atanhl.c: Likewise.
31065 * math/w_exp10.c: Likewise.
31066 * math/w_exp10f.c: Likewise.
31067 * math/w_exp10l.c: Likewise.
31068 * math/w_fmod.c: Likewise.
31069 * math/w_fmodf.c: Likewise.
31070 * math/w_fmodl.c: Likewise.
31071 * math/w_j0.c: Likewise.
31072 * math/w_j0f.c: Likewise.
31073 * math/w_j0l.c: Likewise.
31074 * math/w_j1.c: Likewise.
31075 * math/w_j1f.c: Likewise.
31076 * math/w_j1l.c: Likewise.
31077 * math/w_jn.c: Likewise.
31078 * math/w_jnf.c: Likewise.
31079 * math/w_log.c: Likewise.
31080 * math/w_logf.c: Likewise.
31081 * math/w_logl.c: Likewise.
31082 * math/w_log10.c: Likewise.
31083 * math/w_log10f.c: Likewise.
31084 * math/w_log10l.c: Likewise.
31085 * math/w_log2.c: Likewise.
31086 * math/w_log2f.c: Likewise.
31087 * math/w_log2l.c: Likewise.
31088 * math/w_pow.c: Likewise.
31089 * math/w_powf.c: Likewise.
31090 * math/w_powl.c: Likewise.
31091 * math/w_remainder.c: Likewise.
31092 * math/w_remainderf.c: Likewise.
31093 * math/w_remainderl.c: Likewise.
31094 * math/w_scalb.c: Likewise.
31095 * math/w_scalbf.c: Likewise.
31096 * math/w_scalbl.c: Likewise.
31097 * math/w_sqrt.c: Likewise.
31098 * math/w_sqrtf.c: Likewise.
31099 * math/w_sqrtl.c: Likewise.
31100 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31101 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
31102 used.
31103 * math/math_private.h: Declare __kernel_standard_f.
31104 * math/w_cosh.c: Remove cruft and optimize a bit.
31105 * math/w_coshf.c: Likewise.
31106 * math/w_coshl.c: Likewise.
31107 * math/w_exp2.c: Likewise.
31108 * math/w_exp2f.c: Likewise.
31109 * math/w_exp2l.c: Likewise.
31110 * math/w_hypot.c: Likewise.
31111 * math/w_hypotf.c: Likewise.
31112 * math/w_hypotl.c: Likewise.
31113 * math/w_lgamma.c: Likewise.
31114 * math/w_lgamma_r.c: Likewise.
31115 * math/w_lgammaf.c: Likewise.
31116 * math/w_lgammaf_r.c: Likewise.
31117 * math/w_lgammal.c: Likewise.
31118 * math/w_lgammal_r.c: Likewise.
31119 * math/w_sinh.c: Likewise.
31120 * math/w_sinhf.c: Likewise.
31121 * math/w_sinhl.c: Likewise.
31122 * math/w_tgamma.c: Likewise.
31123 * math/w_tgammaf.c: Likewise.
31124 * math/w_tgammal.c: Likewise.
31125 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31126 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31127 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31128 Minor optimizations. Pretty printing. Remove cruft.
31129 * sysdeps/i386/fpu/e_acosf.S: Likewise.
31130 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31131 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31132 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31133 * sysdeps/i386/fpu/e_acosl.c: Likewise.
31134 * sysdeps/i386/fpu/e_asin.S: Likewise.
31135 * sysdeps/i386/fpu/e_asinf.S: Likewise.
31136 * sysdeps/i386/fpu/e_atan2.S: Likewise.
31137 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31138 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31139 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31140 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31141 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31142 * sysdeps/i386/fpu/e_exp10.S: Likewise.
31143 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31144 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31145 * sysdeps/i386/fpu/e_exp2.S: Likewise.
31146 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31147 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31148 * sysdeps/i386/fpu/e_fmod.S: Likewise.
31149 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31150 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31151 * sysdeps/i386/fpu/e_hypot.S: Likewise.
31152 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31153 * sysdeps/i386/fpu/e_log.S: Likewise.
31154 * sysdeps/i386/fpu/e_log10.S: Likewise.
31155 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31156 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31157 * sysdeps/i386/fpu/e_log2.S: Likewise.
31158 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31159 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31160 * sysdeps/i386/fpu/e_logf.S: Likewise.
31161 * sysdeps/i386/fpu/e_logl.S: Likewise.
31162 * sysdeps/i386/fpu/e_pow.S: Likewise.
31163 * sysdeps/i386/fpu/e_powf.S: Likewise.
31164 * sysdeps/i386/fpu/e_powl.S: Likewise.
31165 * sysdeps/i386/fpu/e_remainder.S: Likewise.
31166 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31167 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31168 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31169 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31170 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31171 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31172 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31173 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31174 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31175 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31176 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31177 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31178 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31179 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31180 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31181 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31182 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31183 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31184 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31185 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31186 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31187 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31188 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31189 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31190 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31191 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31192 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31193 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31194 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31195 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31196 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31197 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31198 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31199 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31200 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31201 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31202 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31203 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31204 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31205 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31206 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31207 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31208 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31209 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31210 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31211 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31212 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31213 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31214 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31215 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31216 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31217 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31218 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31219 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31220 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31221 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31222 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31223 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31224 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31225 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31226 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31227 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31228 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31229 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31230 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31231 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31232 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31233 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31234 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31235 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31236 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31237 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31238 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31239 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31240 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31241 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31242 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31243 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31244 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31245 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31246 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31247 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31248 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31249 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31250 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31251 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31252 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31253 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31254 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31255 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31256 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31257 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31258 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31259 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31260 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31261 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31262 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31263 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31264 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31265 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31266 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31267 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31268 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31269 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31270 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31271 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31272 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31273 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31274 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31275 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31276 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31277 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31278 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31279 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31280 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31281 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31282 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31283 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31284 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
31285 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31286 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31287 (__isnanf): Likewise.
31288 (__isinf_ns): Likewise.
31289 (__isinf_nsf): Likewise.
31290 (__finite): Likewise.
31291 (__finitef): Likewise.
31292 (__ieee754_sqrt): Define as macro.
31293 (__ieee754_sqrtf): Define as macro.
31294 (__ieee754_sqrtl): Define as macro.
31295 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31296 inlined copy.
31297 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31298 __FINITE_MATH_ONLY__ consistent.
31299 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31300
12cc2fcd
AS
313012011-10-10 Andreas Schwab <schwab@linux-m68k.org>
31302
a843a204
AS
31303 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31304 of rawmemchr.
31305
12cc2fcd
AS
31306 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31307
c853acd5
UD
313082011-10-09 Ulrich Drepper <drepper@gmail.com>
31309
31310 * po/ja.po: Update from translation team.
31311
c658d255
RM
313122011-10-08 Roland McGrath <roland@hack.frob.com>
31313
110946e4
RM
31314 * locale/programs/locarchive.c (prepare_address_space): New function.
31315 (create_archive, enlarge_archive, open_archive): Use it.
31316
50604220
RM
31317 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31318 inside [SHARED], where it is used.
31319
c658d255
RM
31320 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31321
31322 * nss/getent.c (netgroup_keys): Remove unused variable.
31323 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31324
6a621eb7
UD
313252011-10-08 Ulrich Drepper <drepper@gmail.com>
31326
7edb55ce
UD
31327 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31328 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31329 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31330 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31331 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31332 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31333 * math/Makefile (libm-calls): Add s_isinf_ns.
31334 * math/divtc3.c: Use __isinf_nsl instead of isinf.
31335 * math/multc3.c: Likewise.
31336 * math/s_casin.c: Likewise.
31337 * math/s_casinf.c: Likewise.
31338 * math/s_casinl.c: Likewise.
31339 * math/s_ccos.c: Likewise.
31340 * math/s_ccosf.c: Likewise.
31341 * math/s_ccosl.c: Likewise.
31342 * math/s_ctan.c: Likewise.
31343 * math/s_ctanf.c: Likewise.
31344 * math/s_ctanh.c: Likewise.
31345 * math/s_ctanhf.c: Likewise.
31346 * math/s_ctanhl.c: Likewise.
31347 * math/s_ctanl.c: Likewise.
31348 * math/w_fmod.c: Likewise.
31349 * math/w_fmodf.c: Likewise.
31350 * math/w_fmodl.c: Likewise.
31351 * math/w_remainder.c: Likewise.
31352 * math/w_remainderf.c: Likewise.
31353 * math/w_remainderl.c: Likewise.
31354 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31355 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31356 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31357 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31358 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31359 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31360 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31361 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31362
187da0ae
UD
31363 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31364 of the number.
31365 * stdio-common/printf_fphex.c: Likewise.
31366 * stdio-common/printf_size.c: Likewise.
31367
9277c064
UD
31368 * math/e_exp10.c: Include math_private.h using <...> not "...".
31369 * math/e_exp10f.c: Likewise.
31370 * math/e_exp10l.c: Likewise.
31371 * math/e_exp2l.c: Likewise.
31372 * math/e_j0l.c: Likewise.
31373 * math/e_j1l.c: Likewise.
31374 * math/e_jnl.c: Likewise.
31375 * math/e_lgammal_r.c: Likewise.
31376 * math/e_rem_pio2l.c: Likewise.
31377 * math/e_scalb.c: Likewise.
31378 * math/e_scalbf.c: Likewise.
31379 * math/e_scalbl.c: Likewise.
31380 * math/k_cosl.c: Likewise.
31381 * math/k_sinl.c: Likewise.
31382 * math/k_tanl.c: Likewise.
31383 * math/s_cacoshf.c: Likewise.
31384 * math/s_catan.c: Likewise.
31385 * math/s_catanf.c: Likewise.
31386 * math/s_catanh.c: Likewise.
31387 * math/s_catanhf.c: Likewise.
31388 * math/s_catanhl.c: Likewise.
31389 * math/s_catanl.c: Likewise.
31390 * math/s_ccosh.c: Likewise.
31391 * math/s_ccoshf.c: Likewise.
31392 * math/s_ccoshl.c: Likewise.
31393 * math/s_cexp.c: Likewise.
31394 * math/s_cexpf.c: Likewise.
31395 * math/s_cexpl.c: Likewise.
31396 * math/s_clog.c: Likewise.
31397 * math/s_clog10.c: Likewise.
31398 * math/s_clog10f.c: Likewise.
31399 * math/s_clog10l.c: Likewise.
31400 * math/s_clogf.c: Likewise.
31401 * math/s_clogl.c: Likewise.
31402 * math/s_csin.c: Likewise.
31403 * math/s_csinf.c: Likewise.
31404 * math/s_csinh.c: Likewise.
31405 * math/s_csinhf.c: Likewise.
31406 * math/s_csinhl.c: Likewise.
31407 * math/s_csinl.c: Likewise.
31408 * math/s_csqrt.c: Likewise.
31409 * math/s_csqrtf.c: Likewise.
31410 * math/s_csqrtl.c: Likewise.
31411 * math/s_ctan.c: Likewise.
31412 * math/s_ctanf.c: Likewise.
31413 * math/s_ctanh.c: Likewise.
31414 * math/s_ctanhf.c: Likewise.
31415 * math/s_ctanhl.c: Likewise.
31416 * math/s_ctanl.c: Likewise.
31417 * math/s_ldexp.c: Likewise.
31418 * math/s_ldexpf.c: Likewise.
31419 * math/s_ldexpl.c: Likewise.
31420 * math/s_significand.c: Likewise.
31421 * math/s_significandf.c: Likewise.
31422 * math/s_significandl.c: Likewise.
31423 * math/w_acos.c: Likewise.
31424 * math/w_acosf.c: Likewise.
31425 * math/w_acosh.c: Likewise.
31426 * math/w_acoshf.c: Likewise.
31427 * math/w_acoshl.c: Likewise.
31428 * math/w_acosl.c: Likewise.
31429 * math/w_asin.c: Likewise.
31430 * math/w_asinf.c: Likewise.
31431 * math/w_asinl.c: Likewise.
31432 * math/w_atan2.c: Likewise.
31433 * math/w_atan2f.c: Likewise.
31434 * math/w_atan2l.c: Likewise.
31435 * math/w_atanh.c: Likewise.
31436 * math/w_atanhf.c: Likewise.
31437 * math/w_atanhl.c: Likewise.
31438 * math/w_cosh.c: Likewise.
31439 * math/w_coshf.c: Likewise.
31440 * math/w_coshl.c: Likewise.
31441 * math/w_dremf.c: Likewise.
31442 * math/w_exp10.c: Likewise.
31443 * math/w_exp10f.c: Likewise.
31444 * math/w_exp10l.c: Likewise.
31445 * math/w_exp2.c: Likewise.
31446 * math/w_exp2f.c: Likewise.
31447 * math/w_fmod.c: Likewise.
31448 * math/w_fmodf.c: Likewise.
31449 * math/w_fmodl.c: Likewise.
31450 * math/w_hypot.c: Likewise.
31451 * math/w_hypotf.c: Likewise.
31452 * math/w_hypotl.c: Likewise.
31453 * math/w_j0.c: Likewise.
31454 * math/w_j0f.c: Likewise.
31455 * math/w_j0l.c: Likewise.
31456 * math/w_j1.c: Likewise.
31457 * math/w_j1f.c: Likewise.
31458 * math/w_j1l.c: Likewise.
31459 * math/w_jn.c: Likewise.
31460 * math/w_jnf.c: Likewise.
31461 * math/w_jnl.c: Likewise.
31462 * math/w_lgamma.c: Likewise.
31463 * math/w_lgamma_r.c: Likewise.
31464 * math/w_lgammaf.c: Likewise.
31465 * math/w_lgammaf_r.c: Likewise.
31466 * math/w_lgammal.c: Likewise.
31467 * math/w_lgammal_r.c: Likewise.
31468 * math/w_log.c: Likewise.
31469 * math/w_log10.c: Likewise.
31470 * math/w_log10f.c: Likewise.
31471 * math/w_log10l.c: Likewise.
31472 * math/w_log2.c: Likewise.
31473 * math/w_log2f.c: Likewise.
31474 * math/w_log2l.c: Likewise.
31475 * math/w_logf.c: Likewise.
31476 * math/w_logl.c: Likewise.
31477 * math/w_pow.c: Likewise.
31478 * math/w_powf.c: Likewise.
31479 * math/w_powl.c: Likewise.
31480 * math/w_remainder.c: Likewise.
31481 * math/w_remainderf.c: Likewise.
31482 * math/w_remainderl.c: Likewise.
31483 * math/w_scalb.c: Likewise.
31484 * math/w_scalbf.c: Likewise.
31485 * math/w_scalbl.c: Likewise.
31486 * math/w_sinh.c: Likewise.
31487 * math/w_sinhf.c: Likewise.
31488 * math/w_sinhl.c: Likewise.
31489 * math/w_sqrt.c: Likewise.
31490 * math/w_sqrtf.c: Likewise.
31491 * math/w_sqrtl.c: Likewise.
31492 * math/w_tgamma.c: Likewise.
31493 * math/w_tgammaf.c: Likewise.
31494 * math/w_tgammal.c: Likewise.
31495
6a621eb7
UD
31496 * po/ja.po: Update from translation team.
31497
bf582445
AJ
314982011-09-29 Andreas Jaeger <aj@suse.de>
31499
f9efbf3a
AJ
31500 [BZ #13179]
31501 * sunrpc/netname.c (netname2host): Fix logic.
31502
bf582445
AJ
31503 [BZ #6779]
31504 [BZ #6783]
31505 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31506 correctly.
31507 * math/w_remainder.c (__remainder): Likewise.
31508 * math/w_remainderf.c (__remainderf): Likewise.
31509 * math/libm-test.inc (remainder_test): Add test cases.
31510
48693bea
AK
315112011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31512
31513 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
31514 sdiv_qrnnd.
31515
42622229
LD
315162011-10-07 Ulrich Drepper <drepper@gmail.com>
31517
31518 * string/test-memcmp.c: Avoid unncessary #defines.
31519 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31520
093ecf92
LD
315212011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31522
31523 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31524 Use new sse2 version for core i3 - i7 as it's faster
31525 than sse42 version.
31526 (bit_Prefer_PMINUB_for_stringop): New.
31527 * sysdeps/x86_64/rawmemchr.S: Update.
31528 Replace with faster SSE2 version.
31529 * sysdeps/x86_64/memrchr.S: New file.
31530 * sysdeps/x86_64/memchr.S: Update.
31531 Replace with faster SSE2 version.
31532
fde56e5c
MP
315332011-09-12 Marek Polacek <mpolacek@redhat.com>
31534
31535 * elf/dl-load.c (lose): Add cast to avoid warning.
31536
21fd49a9
UD
315372011-10-07 Ulrich Drepper <drepper@gmail.com>
31538
5a06e643
UD
31539 * po/ca.po: Update from translation team.
31540
684ae515
UD
31541 * inet/getnetgrent_r.c: Hook up nscd.
31542 * nscd/Makefile (routines): Add nscd_netgroup.
31543 (nscd-modules): Add netgroupcache.
31544 (CFLAGS-netgroupcache.c): Define.
31545 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31546 (cache_search): Add const to second parameter.
31547 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31548 INNETGR.
31549 (dbs): Add netgrdb entry.
31550 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31551 (verify_persistent_db): Handle netgrdb.
31552 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31553 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31554 GETFDNETGR.
31555 (netgroup_response_header): Define.
31556 (innetgroup_response_header): Define.
31557 (datahead): Add netgroup_response_header and innetgroup_response_header
31558 elements.
31559 * nscd/nscd.conf: Add entries for netgroup cache.
31560 * nscd/nscd.h (dbtype): Add netgrdb.
31561 (_PATH_NSCD_NETGROUP_DB): Define.
31562 (netgroup_iov_disabled): Declare.
31563 (xmalloc, xcalloc, xrealloc): Move declarations here.
31564 (cache_search): Adjust prototype.
31565 Add netgroup-related prototypes.
31566 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31567 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31568 (__nscd_innetgr): Declare.
31569 * nscd/selinux.c (perms): Use access_vector_t as element type and
31570 add netgroup-related initializers.
31571 * nscd/netgroupcache.c: New file.
31572 * nscd/nscd_netgroup.c: New file.
31573 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31574 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31575 For four parameters use innetgr.
31576 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31577 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31578 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31579 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31580
21fd49a9
UD
31581 * nscd/connections.c (register_traced_file): Don't register file
31582 for disabled databases.
31583
054c0457
UD
315842011-10-06 Ulrich Drepper <drepper@gmail.com>
31585
32b63198
UD
31586 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31587
054c0457
UD
31588 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31589 from tree and freeing node.
31590
64031225
JO
315912011-09-25 Jiri Olsa <jolsa@redhat.com>
31592
31593 * nss/nsswitch.c (__nss_database_lookup): Handle
31594 nss_parse_service_list out of memory case.
31595
0490345c
JO
315962011-09-15 Jiri Olsa <jolsa@redhat.com>
31597
31598 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31599 out of memory case.
31600
3a62d00d
AS
316012011-10-04 Andreas Schwab <schwab@redhat.com>
31602
31603 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31604 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31605 pass it down.
31606 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31607 elf_machine_rela, elf_machine_lazy_rel.
31608 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31609 (ELF_DYNAMIC_DO_REL): Likewise.
31610 (ELF_DYNAMIC_DO_RELA): Likewise.
31611 (ELF_DYNAMIC_RELOCATE): Likewise.
31612 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31613 to ELF_DYNAMIC_DO_REL.
31614 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31615 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31616 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31617 elf_machine_rela.
31618 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31619 skip_ifunc, don't call ifunc function if non-zero.
31620 (elf_machine_rela): Likewise.
31621 (elf_machine_lazy_rel): Likewise.
31622 (elf_machine_lazy_rela): Likewise.
31623 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31624 (elf_machine_lazy_rel): Likewise.
31625 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31626 Likewise.
31627 (elf_machine_lazy_rel): Likewise.
31628 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31629 Likewise.
31630 (elf_machine_lazy_rel): Likewise.
31631 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31632 (elf_machine_lazy_rel): Likewise.
31633 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31634 (elf_machine_lazy_rel): Likewise.
31635 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31636 (elf_machine_lazy_rel): Likewise.
31637 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31638 (elf_machine_lazy_rel): Likewise.
31639 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31640 (elf_machine_lazy_rel): Likewise.
31641 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31642 (elf_machine_lazy_rel): Likewise.
31643
68577918
UD
316442011-09-28 Ulrich Drepper <drepper@gmail.com>
31645
31646 * nss/nss_files/files-init.c (_nss_files_init): Use static
31647 initialization for all the *_traced_file variables.
31648
68822d74
AS
316492011-09-28 Andreas Schwab <schwab@redhat.com>
31650
31651 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31652
2056100b
RM
316532011-09-27 Roland McGrath <roland@hack.frob.com>
31654
31655 [BZ #13226]
31656 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31657
32c76b63
AS
316582011-09-27 Andreas Schwab <schwab@redhat.com>
31659
31660 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31661 Reread the line before reparsing it.
31662
bf972c9d
AS
316632011-09-26 Andreas Schwab <schwab@redhat.com>
31664
31665 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31666
e057a1b5
JM
316672011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31668 Maxim Kuvyrkov <maxim@codesourcery.com>
31669 Joseph Myers <joseph@codesourcery.com>
31670
31671 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31672 if needed for __stack_chk_guard.
31673
bc7e1c36
RM
316742011-09-19 Roland McGrath <roland@hack.frob.com>
31675
ecb1482f
RM
31676 * sysdeps/posix/spawni.c (script_execute): Always define it.
31677 It will be optimized away if unused.
31678 (maybe_script_execute): New function.
31679 (__spawni): Call it.
31680
bc7e1c36
RM
31681 * Makerules: Don't include tls.make.
31682 (config-tls): Always set to thread.
31683 * tls.make.c: File removed.
31684
1c3b002b
MF
316852011-09-19 Mike Frysinger <vapier@gentoo.org>
31686
31687 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31688 * config.make.in (CPPFLAGS-config): New substituted variable.
31689
2840865d
UD
316902011-09-15 Ulrich Drepper <drepper@gmail.com>
31691
88738eb6
UD
31692 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31693
cbf645a6 31694 [BZ #13192]
2840865d
UD
31695 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31696 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31697
b402e91a
RM
316982011-09-15 Roland McGrath <roland@hack.frob.com>
31699
31700 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31701 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31702 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31703 (CALL_FAIL): Likewise.
31704 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31705 (CALL_FAIL): Macro removed.
31706 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31707
4c1a1f71
UD
317082011-09-15 Ulrich Drepper <drepper@gmail.com>
31709
31710 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31711 for __FINITE_MATH_ONLY__ == 1.
31712
edc121be
AS
317132011-09-15 Andreas Schwab <schwab@redhat.com>
31714
31715 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31716 __ieee754_sqrt instead of sqrt.
31717 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31718 __ieee754_sqrtf instead of sqrtf.
31719 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31720 __floorf instead of floorf.
31721 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31722 __floorf, __truncf instead of floorf, truncf.
31723
cd205654
UD
317242011-09-14 Ulrich Drepper <drepper@gmail.com>
31725
ee4d0315
UD
31726 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31727
cd205654
UD
31728 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31729 __extern_always_inline.
31730 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31731 32-bit.
31732
48b67d71
AS
317332011-09-14 Andreas Schwab <schwab@redhat.com>
31734
31735 * elf/rtld.c (dl_main): Also relocate in dependency order when
31736 doing symbol dependency testing.
31737
1ae12c75
AS
317382011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31739
31740 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31741 Always define `refsym'.
31742
995a80df
AS
317432011-09-13 Andreas Schwab <schwab@redhat.com>
31744
e529793b
AS
31745 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31746 (__FD_ELT): Renamed from __FDELT.
31747 * misc/bits/select2.h (__FD_ELT): Likewise.
31748 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31749 __FD_MASK instead of __FDELT, __FDMASK.
31750 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31751 Likewise.
31752 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31753 Likewise.
31754
52d4fef8
AS
31755 * elf/Makefile (gen-ldd): Fix pattern.
31756
995a80df
AS
31757 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31758 (init_tls): Likewise.
31759
8682f8b0
UD
317602011-09-12 Ulrich Drepper <drepper@gmail.com>
31761
31762 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31763
de82006d
AS
317642011-09-12 Andreas Schwab <schwab@redhat.com>
31765
a7c8e6a1
AS
31766 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31767 `struct cmsghdr *' instead of `void *'.
31768 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31769 Likewise.
31770
0f31fe77
AS
317712011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31772
31773 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31774 if non-absolute.
31775 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31776 ldd_rewrite_script.
0f31fe77 31777
32b4c839
UD
317782011-09-11 Ulrich Drepper <drepper@gmail.com>
31779
83cd1420
UD
31780 * configure.in: Remove --with-tls option.
31781 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31782 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31783 out in case it is missing.
31784 * sysdeps/ia64/elf/configure.in: Likewise.
31785 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31786 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31787 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31788 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31789 * sysdeps/sh/elf/configure.in: Likewise.
31790 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31791 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31792 * sysdeps/x86_64/elf/configure.in: Likewise.
31793 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31794 * sysdeps/mach/hurd/tls.h: Likewise.
31795
633f745d
UD
31796 [BZ #13067]
31797 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31798
f318beb8
UD
31799 [BZ #13090]
31800 * configure.in: Fix use of AC_INIT.
31801
32b4c839
UD
31802 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31803
3ce1f295
UD
318042011-09-10 Ulrich Drepper <drepper@gmail.com>
31805
bb016596
UD
31806 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31807 __set_errno.
8e58439c
UD
31808 * malloc/hooks.c: Likewise.
31809
aebae053 31810 [BZ #11929]
02d46fc4
UD
31811 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31812 variables statically.
31813 (narenas): Initialize.
31814 (list_lock): Initialize.
bb016596
UD
31815 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31816 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
31817 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31818 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31819 Add initializers to main_arena and mp_.
31820 (malloc_state): Remove pagesize member. Change all users to use
31821 GLRO(dl_pagesize).
31822
31823 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31824 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31825 is always initialized.
31826
22a89187
UD
31827 * malloc/malloc.c: Removed unused configurations and dead code.
31828 * malloc/arena.c: Likewise.
31829 * malloc/hooks.c: Likewise.
02d46fc4 31830 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 31831
d063d164
UD
31832 * include/tls.h: Removed. USE___THREAD must always be defined.
31833 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31834 * elf/dl-libc.c: Likewise.
31835 * elf/dl-tsd.c: Likewise.
31836 * include/errno.h: Likewise.
31837 * include/netdb.h: Likewise.
31838 * include/resolv.h: Likewise.
31839 * inet/herrno-loc.c: Likewise.
31840 * inet/herrno.c: Likewise.
31841 * malloc/arena.c: Likewise.
31842 * malloc/hooks.c: Likewise.
31843 * malloc/malloc.c: Likewise.
31844 * resolv/res-state.c: Likewise.
31845 * resolv/res_libc.c: Likewise.
31846 * sysdeps/i386/dl-machine.h: Likewise.
31847 * sysdeps/ia64/dl-machine.h: Likewise.
31848 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31849 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31850 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31851 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31852 * sysdeps/sh/dl-machine.h: Likewise.
31853 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31854 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31855 * sysdeps/unix/i386/sysdep.S: Likewise.
31856 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31857 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31858 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31859 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31860 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31861 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31862 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31863 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31864 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31865 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31866 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31867 * sysdeps/x86_64/dl-machine.h: Likewise.
31868 * tls.make.c: Likewise.
31869
3ce1f295
UD
31870 * configure.in: Remove --with-__thread option. Make tests for
31871 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31872 tls_model attribute fail if no support is available. Remove
31873 USE_IN_LIBIO.
31874 * Makeconfig: Adjust for dropped configure option. All features are
31875 now mandatory.
31876 * Makerules: Likewise.
31877 * Versions.def: Likewise.
31878 * argp/argp-fmtstream.c: Likewise.
31879 * argp/argp-fmtstream.h: Likewise.
31880 * argp/argp-help.c: Likewise.
31881 * assert/assert.c: Likewise.
31882 * config.h.in: Likewise.
31883 * config.make.in: Likewise.
31884 * configure: Likewise.
31885 * configure.in: Likewise.
31886 * csu/Versions: Likewise.
31887 * csu/init.c: Likewise.
31888 * elf/tst-audit2.c: Likewise.
31889 * elf/tst-tls10.c: Likewise.
31890 * elf/tst-tls10.h: Likewise.
31891 * elf/tst-tls11.c: Likewise.
31892 * elf/tst-tls12.c: Likewise.
31893 * elf/tst-tls14.c: Likewise.
31894 * elf/tst-tlsmod11.c: Likewise.
31895 * elf/tst-tlsmod12.c: Likewise.
31896 * elf/tst-tlsmod13.c: Likewise.
31897 * elf/tst-tlsmod13a.c: Likewise.
31898 * elf/tst-tlsmod14a.c: Likewise.
31899 * elf/tst-tlsmod15b.c: Likewise.
31900 * elf/tst-tlsmod16a.c: Likewise.
31901 * elf/tst-tlsmod16b.c: Likewise.
31902 * elf/tst-tlsmod7.c: Likewise.
31903 * elf/tst-tlsmod8.c: Likewise.
31904 * elf/tst-tlsmod9.c: Likewise.
31905 * gmon/gmon.c: Likewise.
31906 * grp/fgetgrent_r.c: Likewise.
31907 * grp/putgrent.c: Likewise.
31908 * hurd/fopenport.c: Likewise.
31909 * include/libc-symbols.h: Likewise.
31910 * include/tls.h: Likewise.
31911 * intl/gettextP.h: Likewise.
31912 * intl/loadinfo.h: Likewise.
31913 * locale/global-locale.c: Likewise.
31914 * locale/localeinfo.h: Likewise.
31915 * mach/devstream.c: Likewise.
31916 * malloc/arena.c: Likewise.
31917 * malloc/set-freeres.c: Likewise.
31918 * misc/err.c: Likewise.
31919 * misc/getttyent.c: Likewise.
31920 * misc/mntent_r.c: Likewise.
31921 * posix/getopt.c: Likewise.
31922 * posix/wordexp.c: Likewise.
31923 * pwd/fgetpwent_r.c: Likewise.
31924 * resolv/Versions: Likewise.
31925 * resolv/res_hconf.c: Likewise.
31926 * shadow/fgetspent_r.c: Likewise.
31927 * shadow/putspent.c: Likewise.
31928 * stdio-common/printf_fphex.c: Likewise.
31929 * stdio-common/tmpfile.c: Likewise.
31930 * stdlib/abort.c: Likewise.
31931 * stdlib/fmtmsg.c: Likewise.
31932 * sunrpc/auth_unix.c: Likewise.
31933 * sunrpc/clnt_perr.c: Likewise.
31934 * sunrpc/clnt_tcp.c: Likewise.
31935 * sunrpc/clnt_udp.c: Likewise.
31936 * sunrpc/clnt_unix.c: Likewise.
31937 * sunrpc/openchild.c: Likewise.
31938 * sunrpc/svc_simple.c: Likewise.
31939 * sunrpc/svc_tcp.c: Likewise.
31940 * sunrpc/svc_udp.c: Likewise.
31941 * sunrpc/svc_unix.c: Likewise.
31942 * sunrpc/xdr.c: Likewise.
31943 * sunrpc/xdr_array.c: Likewise.
31944 * sunrpc/xdr_rec.c: Likewise.
31945 * sunrpc/xdr_ref.c: Likewise.
31946 * sunrpc/xdr_stdio.c: Likewise.
31947
1248c1c4
PB
319482011-09-09 Ulrich Drepper <drepper@gmail.com>
31949
31950 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31951
319522011-07-03 Andreas Jaeger <aj@suse.de>
31953
31954 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31955 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31956 regenerate with gen-libm-tests.pl.
31957
319582010-05-12 Petr Baudis <pasky@suse.cz>
31959
31960 [BZ #11589]
31961 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31962 around j0() zero points by switching to j1().
31963 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31964 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31965 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31966 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31967
f22e1074
UD
319682011-09-09 Ulrich Drepper <drepper@gmail.com>
31969
f19009c1
UD
31970 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31971 instead of 0.
31972 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 31973 instead of 0.
f19009c1
UD
31974 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
31975 Patch in part by Pavel Roskin <proski@gnu.org>.
31976
3f8cc204
UD
31977 [BZ #13138]
31978 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
31979 realloc.
31980 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
31981 Free memory block if necessary.
31982
f22e1074
UD
31983 [BZ #12847]
31984 * libio/genops.c (INTDEF): For string streams the _lock pointer can
31985 be NULL. Don't lock in this case.
31986
0a2349f9
RM
319872011-09-09 Roland McGrath <roland@hack.frob.com>
31988
31989 * elf/elf.h (ELFOSABI_GNU): New macro.
31990 (ELFOSABI_LINUX): Define to that.
31991
f3cdd467
DZ
319922011-07-29 Denis Zaitceff <zaitceff@gmail.com>
31993
31994 * string/strncat.c (strncat): Undef the symbol in case it has been
31995 defined in bits/string.h.
31996
74718d13
UD
319972011-09-09 Ulrich Drepper <drepper@gmail.com>
31998
633e9e0f
UD
31999 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32000
0a2349f9 32001 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
32002 link map.
32003
f9924780
AJ
320042011-08-17 Andreas Jaeger <aj@suse.de>
32005
32006 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32007
7f5517aa
PP
320082011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
32009 Ian Lance Taylor <iant@google.com>
32010
32011 * math/libm-test.inc (lround_test): New testcase.
32012 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32013
762011fe
UD
320142011-09-08 Ulrich Drepper <drepper@gmail.com>
32015
92963737
UD
32016 * Makefile: Remove support for automatic cvs check-ins.
32017 * Makerules: Likewise.
32018 * config.make.in: Likewise.
32019 * configure.in: Likewise.
32020 * intl/Makefile: Likewise.
32021 * locale/Makefile: Likewise.
32022 * po/Makefile: Likewise.
32023 * posix/Makefile: Likewise.
32024 * sysdeps/gnu/Makefile: Likewise.
32025 * sysdeps/mach/hurd/Makefile: Likewise.
32026 * sysdeps/sparc/sparc32/Makefile: Likewise.
32027
b0727fd8
JS
32028 [BZ #13118]
32029 * posix/Makefile (bug-regex32-ENV): Define.
32030 Patch by John Stanley <jpsinthemix@verizon.net>.
32031
a0f33f99
UD
32032 * misc/Makefile (headers): Add bits/select2.h.
32033 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32034 * misc/bits/select2.h: New file.
32035 * include/bits/select2.h: New file.
32036 * debug/Makefile (routines): Add fdelt_chk.
32037 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32038 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32039 FD_ISSET.
32040 * debug/fdelt_chk.c: New file.
32041
762011fe
UD
32042 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
32043 * wcsmbs/test-wmemcmp.c: Likewise.
32044 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 32045 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
32046
320472011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32048
32049 * string/Makefile (strop-tests): Add memcmp.
32050 * string/test-wmemcmp.c: New file.
32051 * string/test-memcmp.c: Add wmemcmp support.
32052
7f513ec8
RM
320532011-09-08 Roland McGrath <roland@hack.frob.com>
32054
0442afb4
RM
32055 [BZ #13153]
32056 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32057 2011-07-19 change.
32058
7f513ec8
RM
32059 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32060 garbage value in a __mach_port_mod_refs call in the cases of the
32061 task-self and thread-self ports.
32062
a12b2239
ST
320632011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32064
32065 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32066
610f9ab4
AS
320672011-09-08 Andreas Schwab <schwab@redhat.com>
32068
7f513ec8 32069 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 32070
48882a1a
LD
320712011-09-07 Ulrich Drepper <drepper@gmail.com>
32072
b49865be
UD
32073 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32074
fdc86bc9
UD
32075 * elf/dl-libc.c (dlerror_run): Pass back error code from
32076 dl_catch_error.
32077
c966526a
UD
32078 [BZ #13123]
32079 * elf/dl-load.c (lose): Free l_origin if it is valid.
32080
48882a1a
LD
32081 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32082 names.
32083 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32084 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32085 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32086 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32087 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32088 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32089
77a2a8b4
AZ
320902011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32091
32092 * sysdeps/powerpc/fpu/e_hypot.c: New file.
32093 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32094 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32095 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32096 * sysdeps/powerpc/fpu/k_cosf.c: New file.
32097 * sysdeps/powerpc/fpu/k_sinf.c: New file.
32098 * sysdeps/powerpc/fpu/s_cosf.c: New file.
32099 * sysdeps/powerpc/fpu/s_sinf.c: New file.
32100 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32101 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32102
24f579d8
AM
321032011-08-15 Alan Modra <amodra@gmail.com>
32104
32105 [BZ #13092]
32106 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32107 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32108 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
32109 ppc_mcount to static-only-routines.
32110 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32111 __mcount_internal.
32112 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32113 __mcount_internal with usual JUMPTARGET. Remove useless nop.
32114
3d4837df
UD
321152011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
32116
32117 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32118 for finite and infinity parameters.
32119
22700377
WS
321202011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32121
32122 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32123 and add nop instructions for throughput optimization.
32124 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32125
5025581e
WS
321262011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
32127
32128 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32129 aligned copy for power7 with vector-scalar instructions.
32130 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32131
08a300c9
L
321322011-07-24 H.J. Lu <hongjiu.lu@intel.com>
32133
32134 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32135 AVX check.
32136
59178ef9
AS
321372011-09-07 Andreas Schwab <schwab@redhat.com>
32138
32139 [BZ #13144]
32140 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32141 last change.
32142
e38ba7ab
UD
321432011-09-07 Ulrich Drepper <drepper@gmail.com>
32144
32145 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32146 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32147 syscall wrapper around clock_gettime in __vdso_clock_gettime.
32148 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32149 clock_gettime.
32150
d53a73ac
UD
321512011-09-06 Ulrich Drepper <drepper@gmail.com>
32152
fc8bffcc
UD
32153 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32154 Forgot to demangle the pointer.
32155
ceaa0c5d
UD
32156 * sysdeps/i386/sysdep.h: Define atom_text_section.
32157 * sysdeps/x86_64/sysdep.h: Likewise.
32158 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32159 section with atom_text_section.
32160 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32161 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32162 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32163 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32164 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32165
a77d3c17
UD
32166 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32167 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32168 already be defined. Change to take two parameters and don't assign
32169 result to variable. Adjust all users.
32170 Define INTERNAL_GETTIME if not already defined.
32171 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32172 call.
32173 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32174 HAVE_CLOCK_GETTIME_VSYSCALL.
32175 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32176
d53a73ac
UD
32177 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32178 gettimeofday vsyscall, just use time.
32179
a8f84144
AS
321802011-09-06 Andreas Schwab <schwab@redhat.com>
32181
32182 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32183 <errno.h>.
32184
ef606249
UD
321852011-09-06 Ulrich Drepper <drepper@gmail.com>
32186
32187 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32188 syscall on x86-64.
32189 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32190 syscall.
32191 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32192 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32193 syscall if possible.
32194
6585cb60
UD
321952011-09-05 Ulrich Drepper <drepper@gmail.com>
32196
32197 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32198 e_ident. Don't pass to find_mapsXX.
32199 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32200
a5f524e4
LD
322012011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32202
32203 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32204 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32205 * sysdeps/x86_64/multiarch/strchr.S: Update.
32206 Check bit_slow_BSF bit.
32207 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32208 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32209 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32210
554881ef
UD
322112011-09-05 Ulrich Drepper <drepper@gmail.com>
32212
d96de963
UD
32213 [BZ #13134]
32214 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32215 before glibc 2.15.
32216 (tryshell): Define.
32217 (__spawni): Change last parameter to be flag. Test
32218 SPAWN_XFLAGS_USE_PATH flag to use path or not.
32219 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32220 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32221 * posix/spawni.c: Likewise.
32222 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32223 * posix/spawnp.c: Likewise. Change normal version to use
32224 SPAWN_XFLAGS_USE_PATH.
32225 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32226 SPAWN_XFLAGS_TRY_SHELL.
32227
d48e5868
UD
32228 [BZ #13150]
32229 * posix/glob.h: Remove gcc 1.x support.
32230
554881ef
UD
32231 [BZ #13068]
32232 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32233
693fb948
LD
322342011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32235
32236 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32237 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32238 strrchr-sse2-bsf
32239 * sysdeps/i386/i686/multiarch/strchr.S: New file.
32240 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32241 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32242 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32243 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32244 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32245
1b48c537
UD
322462011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32247
49d42c37
UD
32248 * sysdeps/x86_64/wcscmp.S: New file.
32249
1b48c537
UD
32250 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32251 wcscmp-c wcscmp-sse2
32252 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32253 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32254 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32255 * wcsmbs/wcscmp.c: Allow renaming.
32256
15c95c5d
DM
322572011-09-05 David S. Miller <davem@davemloft.net>
32258
32259 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32260 stack slot, rather than the struct return pointer slot.
32261 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32262 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32263 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32264 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32265
2f0ad8f3
UD
322662011-09-05 Ulrich Drepper <drepper@gmail.com>
32267
d88ae418
UD
32268 * po/ja.po: Update from translation team.
32269
2f0ad8f3
UD
32270 [BZ #13144]
32271 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32272 kernel in 64-bit binaries.
32273
5f4318d1
DM
322742011-09-01 David S. Miller <davem@davemloft.net>
32275
32276 * elf/elf.h (HWCAP_SPARC_*): Move to..
32277 * sysdeps/sparc/sysdep.h: this new file and add new values.
32278 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32279 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32280 _DL_HWCAP_COUNT to 24.
32281 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32282 entries.
32283 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32284 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32285 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32286 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32287 instead of magic constants.
32288 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32289
3ba57516
DM
322902011-08-31 David S. Miller <davem@davemloft.net>
32291
32292 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32293 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32294 Reimplement to do errno handling inline.
32295 (SYSCALL_ERROR_HANDLER): New macro.
32296 (__SYSCALL_STRING): Do not do errno handling in asm.
32297 (__CLONE_SYSCALL_STRING): Delete.
32298 (__INTERNAL_SYSCALL_STRING): Delete.
32299 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32300 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32301 (PSEUDO): Reimplement to do errno handling inline.
32302 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32303 (SYSCALL_ERROR_HANDLER): New macro.
32304 (__SYSCALL_STRING): Do not do errno handling in asm.
32305 (__CLONE_SYSCALL_STRING): Delete.
32306 (__INTERNAL_SYSCALL_STRING): Delete.
32307 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32308 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32309 i386.
32310 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32311 (inline_syscall*): Add 'err' argument.
32312 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32313 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32314 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32315 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32316
32317 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32318 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32319
2bc17433
AS
323202011-08-30 Andreas Schwab <schwab@redhat.com>
32321
32322 * elf/rtld.c (dl_main): Relocate objects in dependency order.
32323
fbeb5f4d
JO
323242011-08-29 Jiri Olsa <jolsa@redhat.com>
32325
32326 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32327 directive.
32328
ad69cc26
DM
323292011-08-24 David S. Miller <davem@davemloft.net>
32330
32331 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32332
39dd69df
AS
323332011-08-24 Andreas Schwab <schwab@redhat.com>
32334
32335 * elf/Makefile: Add rules to build and run unload8 test.
32336 * elf/unload8.c: New file.
32337 * elf/unload8mod1.c: New file.
32338 * elf/unload8mod1x.c: New file.
32339 * elf/unload8mod2.c: New file.
32340 * elf/unload8mod3.c: New file.
32341
32342 * elf/dl-close.c (_dl_close_worker): Reset private search list if
32343 it wasn't used.
32344
2c0b250a
DM
323452011-08-23 David S. Miller <davem@davemloft.net>
32346
32347 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32348 subtract stack bias.
32349 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32350 %sp not %fp in calculations.
32351 (_JMPBUF_UNWINDS_ADJ): Likewise.
32352
22044b48
DM
32353 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32354 (aio_suspend): Call it to force an exception region around the
32355 AIO_MISC_WAIT() invocation.
32356
2cae4995
AS
323572011-08-23 Andreas Schwab <schwab@redhat.com>
32358
32359 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32360 backslash.
32361
873a772e
AJ
323622011-07-04 Aurelien Jarno <aurelien@aurel32.net>
32363
32364 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32365 protection macro.
32366 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32367 and <dl-machine.h>.
32368 (Elf64_FuncDesc): Remove.
32369
25ad0df1
DM
323702011-08-22 David S. Miller <davem@davemloft.net>
32371
32372 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
32373 sigaltstack check, add missing cfi directives.
32374 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
32375 missing cfi directives, and sigaltstack handling.
32376
e888bcbe
AS
323772011-08-16 Andreas Schwab <schwab@redhat.com>
32378
32379 [BZ #11724]
32380 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
32381 object is seen twice.
32382 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32383
32384 * elf/Makefile (distribute): Add tst-initorder2.c.
32385 (tests): Add tst-initorder2.
32386 (modules-names): Add tst-initorder2a tst-initorder2b
32387 tst-initorder2c tst-initorder2d. Add rules to build them.
32388 ($(objpfx)tst-initorder2.out): New rule.
32389 * elf/tst-initorder2.c: New file.
32390 * elf/tst-initorder2.exp: New file.
32391
87162f46
AS
323922011-08-22 Andreas Schwab <schwab@redhat.com>
32393
70538b7f
AS
32394 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32395
f55ffe58
AS
32396 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32397 dependencies back to end of function.
32398
87162f46
AS
32399 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32400 $(elfobjdir)/ld.so.
32401
91b392a4
UD
324022011-08-21 Ulrich Drepper <drepper@gmail.com>
32403
32404 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32405 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32406 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32407 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32408 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32409 of __vdso_gettimeofday.
32410 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32411 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
32412 attribute_hidden.
32413 (_libc_vdso_platform_setup): Remove initialization of
32414 __vdso_gettimeofday and __vdso_time.
32415
5c43483f
UD
324162011-08-20 Ulrich Drepper <drepper@gmail.com>
32417
775a77e7
UD
32418 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32419 and fgetc_unlocked.
32420 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32421 getc_unlocked.
89f447ed 32422
49c74ba9
UD
32423 * elf/dl-open.c (add_to_global): Report additions to the global scope
32424 for LD_DEBUG=scopes.
32425 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 32426 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 32427
5c43483f
UD
32428 [BZ #13114]
32429 * stdio-common/Makefile (tests): Add bug24.
32430 * stdio-common/bug24.c: New file.
32431
a101b025
AJ
324322011-08-19 Andreas Jaeger <aj@suse.de>
32433
32434 [BZ #13114]
32435 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32436 non-existant file when using close-on-exec mode.
32437
c88f1766
UD
324382011-08-20 Ulrich Drepper <drepper@gmail.com>
32439
0276a718
UD
32440 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32441 the very first instruction.
32442
c88f1766
UD
32443 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32444 the CFI state in the end.
32445 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32446 inclusion of dl-trampoline.h.
32447 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32448
51ccffa0
AS
324492011-08-19 Andreas Schwab <schwab@redhat.com>
32450
94d7165f
AS
32451 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32452 expectations for long double.
32453
51ccffa0
AS
32454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32455 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32456
fd708658 324572011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
32458
32459 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32460 artificual limit depends upon the system page size.
32461
44f0a71e
UD
324622011-08-17 Ulrich Drepper <drepper@gmail.com>
32463
32464 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32465 * resolv/Makefile: Define CFLAGS-libresolv.
32466
8de79a24
AS
324672011-08-17 Andreas Schwab <schwab@redhat.com>
32468
32469 * nss/makedb.c (compute_tables): Make variables used in nested
32470 function static.
32471
27724598
UD
324722011-08-17 Ulrich Drepper <drepper@gmail.com>
32473
c5305d88
UD
32474 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32475 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32476 if buffer was too small.
32477
27724598
UD
32478 * elf/pldd.c (main): Attach to all threads in the process.
32479 Rewrite /proc handling to use *at functions.
32480
076fe015
UD
324812011-08-16 Ulrich Drepper <drepper@gmail.com>
32482
174baab3
UD
32483 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32484 specifies first scope to show.
32485 (dl_open_worker): Update callers. Move printing scope of new
32486 object to before the relocation.
44f0a71e 32487 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
32488 * sysdeps/generic/ldsodefs.h: Update declaration.
32489
076fe015
UD
32490 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32491 string for the scope number.
32492
a60df2c3
UD
324932011-08-14 Ulrich Drepper <drepper@gmail.com>
32494
32495 * nscd/servicescache.c (cache_addserv): Make sure written is always
32496 initialized.
32497
5e4287d1
RM
324982011-08-14 Roland McGrath <roland@hack.frob.com>
32499
85ae0589
RM
32500 * sysdeps/i386/i486/bits/atomic.h
32501 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32502 statement expression, so as to suppress "set but not used" warning.
32503 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32504
69f63097
RM
32505 * string/strncat.c (STRNCAT): Use prototype definition.
32506
675456ef
RM
32507 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32508 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32509 -Iprograms here.
32510 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32511 (localedef-modules): Add localedef.
32512 (locale-modules): Add locale.
32513
5e4287d1
RM
32514 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32515 * elf/rtld.c (dl_main): Invert order of assignment in last change,
32516 to avoid a warning.
32517
9c96ff23
DM
325182011-08-14 David S. Miller <davem@davemloft.net>
32519
32520 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32521 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32522
f9ddf089
UD
325232011-08-13 Ulrich Drepper <drepper@gmail.com>
32524
44f0a71e 32525 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
32526 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32527 * elf/rtld.c (dl_main): Set l_name of vDSO.
32528 Call _dl_show_scope when DL_DEBUG_SCOPES.
32529 (process_dl_debug): Recognize scopes flag and also set it for all.
32530 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32531 Declare _dl_show_scope.
32532
1dc27704
UD
32533 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32534 (do_dlopen): Pass caller_dlopen to dl_open.
32535 (__libc_dlopen_mode): Initialize caller_dlopen.
32536
f9ddf089
UD
32537 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32538 of libc. Make tolower call locale-independent. Optimize a bit by
32539 using isdigit instead of isalnum.
32540 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32541
9ac533d3
UD
325422011-08-12 Ulrich Drepper <drepper@gmail.com>
32543
32544 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32545 was a dependency or dynamically loaded.
32546
89edf2e9
UD
325472011-08-11 Ulrich Drepper <drepper@gmail.com>
32548
8e999d29
UD
32549 * intl/l10nflist.c: Allow architecture-specific pop function.
32550 * sysdeps/x86_64/l10nflist.c: New file.
32551
89edf2e9
UD
32552 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32553 classification.
32554
14d96785
AS
325552011-08-10 Andreas Schwab <schwab@redhat.com>
32556
32557 * include/dirent.h: Add libc_hidden_proto for scandirat and
32558 scandirat64. Don't declare __scandirat64.
32559 * dirent/scandirat.c: Add libc_hidden_def.
32560 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32561 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32562
6761ac04
DM
325632011-08-10 David S. Miller <davem@davemloft.net>
32564
32565 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32566 enum.
32567 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32568 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32569 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32570
c55fbd1e
UD
325712011-08-09 Ulrich Drepper <drepper@gmail.com>
32572
32573 * Versions.def [libc]: Add GLIBC_2.15.
32574 * dirent/Makefile (routines): Add scandirat and scandirat64.
32575 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32576 GLIBC_2.15.
32577 * dirent/dirent.h: Declare scandirat and scandirat64.
32578 * dirent/scandirat.c: New file.
32579 * dirent/scandirat64.c: New file.
32580 * sysdeps/wordsize-64/scandirat.c: New file.
32581 * sysdeps/wordsize-64/scandirat64.c: New file.
32582 * dirent/opendir.c: Define opendirat.
32583 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32584 using scandirat.
32585 * dirent/scandir64.c: Adjust for scandir.c change.
32586 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32587 __scandirat64, and __scandir_cancel_handler.
32588 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32589 additional parameter and use openat instead of open (outside of ld.so).
32590 Add new __opendir as wrapper around __opendirat.
32591 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32592 here without requiring old scandirat implementation.
32593
879165f2
UD
325942011-08-08 Ulrich Drepper <drepper@gmail.com>
32595
32596 * dirent/scandir.c (cancel_handler): Renamed to
32597 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32598 defined. Adjust users.
32599 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32600 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32601
cb7e923b
UD
326022011-08-04 Ulrich Drepper <drepper@gmail.com>
32603
16292edd
UD
32604 * string/test-string.h (IMPL): Use __STRING to expand name and then
32605 stringify it.
32606
cb7e923b
UD
32607 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32608 of cleanups.
32609
cff82933
LD
326102011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32611
32612 * string/Makefile: Update.
32613 (strop-tests): Append strncat.
32614 * string/test-wcscmp.c: New file.
32615 New comprehensive test for wcscmp.
32616 * string/test-strcmp.c: Update.
32617 (WIDE): New define.
32618
9be9bfcc
AS
326192011-07-22 Andreas Schwab <schwab@redhat.com>
32620
32621 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32622 line.
32623
2e96f1c7
AS
326242011-07-26 Andreas Schwab <schwab@redhat.com>
32625
32626 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32627 encoding to ACE if AI_IDN.
32628
85188888
JJ
326292011-08-01 Jakub Jelinek <jakub@redhat.com>
32630
32631 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32632 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32633
5fa16e9b
LD
326342011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32635
32636 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32637 Fix overflow bug in strncat.
32638 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32639
32640 * string/test-strncat.c: Update.
32641 Add new tests for checking overflow bugs.
32642
326432011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32644
32645 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32646 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32647 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32648 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32649 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32650 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32651 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32652 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32653 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32654
32655 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32656 (USE_AS_STRCAT): Define.
32657 Add strcat and strncat support.
32658 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32659
8c1a459f
AS
326602011-07-25 Andreas Schwab <schwab@redhat.com>
32661
32662 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32663 __n bigger than INT_MAX+1.
32664 (__strncmp_g): Likewise.
32665
bba33c28
UD
326662011-07-23 Ulrich Drepper <drepper@gmail.com>
32667
798be72d
UD
32668 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32669 * libio/stido.h: Likewise.
32670
8accd4dc
UD
32671 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32672 (AF_NFC): Define.
32673 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32674 (AF_NFC): Define.
32675
cbff0d96
UD
32676 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32677 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32678 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32679 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32680 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32681
9191c04a
UD
32682 [BZ #13021]
32683 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32684 installed.
32685
bba33c28
UD
32686 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32687 typo.
32688 (_dl_x86_64_save_sse): Likewise.
32689
90f139dd
UD
326902011-07-22 Ulrich Drepper <drepper@gmail.com>
32691
1aae088a
UD
32692 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32693 OSXSAVE.
32694 (_dl_x86_64_save_sse): Likewise.
32695
8e2045f5
UD
32696 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32697
90f139dd
UD
32698 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32699
1d002f25
AS
327002011-07-21 Andreas Schwab <schwab@redhat.com>
32701
32702 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32703 change.
32704 (_dl_x86_64_save_sse): Use correct AVX check.
32705
21137f89
UD
327062011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32707
32708 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32709 bug in strncpy/strncat.
32710 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32711
a65c0b7a
UD
327122011-07-21 Ulrich Drepper <drepper@gmail.com>
32713
32714 * string/tester.c (test_strcat): Add tests for different alignments
32715 of source and destination.
32716 (test_strncat): Likewise.
32717
6986b98a
UD
327182011-07-20 Ulrich Drepper <drepper@gmail.com>
32719
90bb2039
UD
32720 [BZ #12852]
32721 * posix/glob.c (glob): Check passed in values before using them in
32722 expressions to avoid some overflows.
32723 (glob_in_dir): Likewise.
32724
5644ef54
UD
32725 [BZ #13007]
32726 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32727 check for AVX enablement so that we don't crash with old kernels and
32728 new hardware.
32729 * elf/tst-audit4.c: Add same checks here.
32730 * elf/tst-audit6.c: Likewise.
32731
32732 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 32733
bfc9dc9b
AS
327342011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32735
32736 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32737
702e64bb
UD
327382011-07-20 Ulrich Drepper <drepper@gmail.com>
32739
32740 * po/cs.po: Update from translation team.
32741 * po/bg.po: Likewise.
32742
295e904f
MP
327432011-07-12 Marek Polacek <mpolacek@redhat.com>
32744
32745 * misc/sys/cdefs.h: Add support for const attribute.
32746 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32747 to gnu_dev_{major,minor,makedev} functions.
32748
3ff94596
MP
327492011-07-20 Marek Polacek <mpolacek@redhat.com>
32750
32751 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32752
28b59fca
AS
327532011-07-20 Andreas Schwab <schwab@redhat.com>
32754
32755 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32756 strlen results.
32757
19df733e
AK
327582011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32759
32760 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32761 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32762 register in order to avoid conflicts with the soft frame pointer
32763 being held in r11 when necessary.
32764 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32765 (INTERNAL_VSYSCALL_NCS): Likewise.
32766
c8835729
MP
327672011-07-14 Marek Polacek <mpolacek@redhat.com>
32768
32769 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32770 * elf/dl-fini.c (_dl_fini): Adjust caller.
32771 * elf/dl-close.c (_dl_close_worker): Likewise.
32772 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32773
b902330c
MP
327742011-07-15 Marek Polacek <mpolacek@redhat.com>
32775
8991e135
MP
32776 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32777 "aux_cache->nlibs < 0".
32778
b902330c
MP
32779 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32780 in the reload-count case.
32781
99710781
LD
327822011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32783
32784 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32785 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32786 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32787 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32788 * sysdeps/x86_64/multiarch/strcat.S: New file.
32789 * sysdeps/x86_64/multiarch/strncat.S: New file.
32790 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32791 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32792 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32793 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32794 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32795 (USE_AS_STRCAT): Define.
32796 Add strcat and strncat support.
32797 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32798 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32799 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32800 * string/strncat.c: Update.
32801 (USE_AS_STRNCAT): Define.
32802 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32803 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32804 and i7.
32805 * sysdeps/x86_64/multiarch/init-arch.h
32806 (bit_Prefer_PMINUB_for_stringop): New.
32807 (index_Prefer_PMINUB_for_stringop): Likewise.
32808 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32809 bit_Prefer_PMINUB_for_stringop.
32810
7dc6bd90
UD
328112011-07-19 Ulrich Drepper <drepper@gmail.com>
32812
32813 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32814 buffer64.
32815 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32816 of casting of buffer.
32817 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32818 buffer32 and buffer64.
32819 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32820 writes instead of casting of buffer.
32821 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32822 buffer32.
32823 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32824 casting of buffer.
32825
e0e72284
AS
328262011-07-19 Andreas Schwab <schwab@redhat.com>
32827
32828 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32829
feb1eb0b
UD
328302011-07-19 Ulrich Drepper <drepper@gmail.com>
32831
32832 * nscd/nscd.c (termination_handler): Don't do anything for a database
32833 if it has not yet been initialized.
32834
298711ff
UD
328352011-07-18 Ulrich Drepper <drepper@gmail.com>
32836
32837 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32838
328392011-07-15 Marek Polacek <mpolacek@redhat.com>
32840
32841 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32842
f9d68389
UD
328432011-07-18 Ulrich Drepper <drepper@gmail.com>
32844
32845 * po/nl.po: Update from translation team.
32846 * po/sv.po: Likewise.
32847
db290cf5
RM
328482011-07-16 Roland McGrath <roland@hack.frob.com>
32849
32850 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32851 now disallowed by GCC.
5c550700 32852
fd5e21c7
RM
32853 * configure.in (use-default-link): Default to yes if a test -shared
32854 link meets our qualifications.
32855 * configure: Regenerated.
32856
5c550700
RM
32857 * config.make.in (output-format): New variable.
32858 * configure.in: Check for ld --print-output-format support.
32859 * configure: Regenerated.
32860 * Makerules ($(common-objpfx)format.lds)
32861 [$(output-format) != unknown]: Just use $(output-format),
32862 instead of the linker-script munging.
32863
9fa2c032
RM
328642011-07-14 Roland McGrath <roland@hack.frob.com>
32865
a6928d51
RM
32866 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32867 of $(common-objpfx)shlib.lds.
32868 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32869
661607b3
RM
32870 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32871 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32872
9fa2c032
RM
32873 * configure.in (-z relro check): Adjust test code to add a large
32874 writable data section after it.
32875 * configure: Regenerated.
32876
defe9061
RM
328772011-07-11 Roland McGrath <roland@hack.frob.com>
32878
32879 * configure.in (-z relro check): Fix test code to make the variable
32880 truly const.
32881 * configure: Regenerated.
32882
319b9ad4
UD
328832011-07-11 Ulrich Drepper <drepper@gmail.com>
32884
32885 * nscd/nscd.h (struct traced_file): Define.
32886 (struct database_dyn): Remove inotify_descr, reset_res, and filename
32887 elements. Add traced_files.
32888 (inotify_fd): Declare.
32889 (register_traced_file): Declare.
32890 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32891 (inotify_fd): Export.
32892 (resolv_conf_descr): Remove.
32893 (nscd_init): Move inotify descriptor creation to main.
32894 Don't register files for notification here.
32895 (register_traced_file): New function.
32896 (invalidate_cache): Don't use reset_res to determine whether to call
32897 res_init, go through the list of registered files.
32898 (main_loop_poll): The inotify descriptors are now stored in the
32899 structures for the traced files.
32900 (main_loop_epoll): Likewise
32901 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
32902 to __nss_disable_nscd.
32903 * nscd/cache.c (prune_cache): There is no single inotify descriptor
32904 for a database anymore. Check the records for all the registered
32905 files instead.
32906 * nss/Makefile (libnss_files-routines): Add files-init.
32907 (libnss_db-routines): Add db-init.
32908 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32909 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32910 * nss/nss_db/db-init.c: New file.
32911 * nss/nss_files/files-init.c: New file.
32912 * nss/nsswitch.c (nss_load_library): New function. Broken out of
32913 __nss_lookup_function.
32914 (__nss_lookup_function): Call nss_load_library.
32915 (nss_load_all_libraries): New function.
32916 (__nss_disable_nscd): Take parameter with callback function for files
32917 to register. Set is_nscd. Load all the DSOs for the NSS modules
32918 used for the cached services.
32919 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32920 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32921 options for features to all the files in nscd.
32922
32923 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32924
23bee3e8
RM
329252011-07-10 Roland McGrath <roland@hack.frob.com>
32926
32927 * csu/elf-init.c (__libc_csu_init): Comment typo.
32928
46a5b7f0
UD
329292011-07-09 Ulrich Drepper <drepper@gmail.com>
32930
32931 * po/pl.po: Update from translation team.
32932 * po/ja.po: Likewise.
32933 * po/ru.po: Likewise.
32934 * po/ko.po: Likewise.
32935 * po/fr.po: Likewise.
32936
d30cf5bb
RM
329372011-07-09 Roland McGrath <roland@hack.frob.com>
32938
113ddea4
RM
32939 * configure.in (.ctors/.dtors header and trailer check):
32940 Use an empirical test on a built program.
32941 * configure: Regenerated.
32942
574920b4
RM
32943 * configure.in (-z relro check): Use an empirical test on a built DSO.
32944 Detect, but do not require, on ia64.
32945 * configure: Regenerated.
32946
d30cf5bb
RM
32947 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32948 Update tests that use readelf to use $READELF instead.
32949 * configure: Regenerated.
32950
8538fdb3
UD
329512011-07-08 Ulrich Drepper <drepper@gmail.com>
32952
32953 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32954 if the result is not used.
32955
04d08991
AJ
329562011-07-05 Andreas Jaeger <aj@suse.de>
32957
32958 [BZ#9696]
32959 * stdlib/tst-strtod.c: Add testcase.
32960
de283087
AD
329612011-07-07 Ulrich Drepper <drepper@gmail.com>
32962
4e5f31c8 32963 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 32964 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
32965 The latter has a higher limit. Take additional parameter to pass to
32966 the new function.
32967 (__pathconf): Pass file to __statfs_link_max.
32968 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32969 __statfs_link_max.
32970 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32971 __statfs_link_max.
32972
de283087
AD
32973 [BZ #12868]
32974 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
32975 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
32976 Handle Lustre.
32977 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
32978 (__statfs_filesize_max): Likewise.
32979 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
32980
c75fa153
AJ
329812011-07-05 Andreas Jaeger <aj@suse.de>
32982
32983 * resolv/res_comp.c (dn_skipname): Remove unused variable.
32984
1a544854
UD
329852011-07-06 Marek Polacek <mpolacek@redhat.com>
32986
32987 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
32988 `status' variable.
32989 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
32990 Likewise.
32991
6f0eec67
UD
329922011-07-04 H.J. Lu <hongjiu.lu@intel.com>
32993
32994 * Makefile (strop-tests): Add strncat.
32995 * string/test-strncat.c: New file.
32996
aae30307
UD
329972011-06-30 Marek Polacek <mpolacek@redhat.com>
32998
32999 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33000
c0cfb5eb
UD
330012011-06-21 Andreas Jaeger <aj@suse.de>
33002
33003 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33004 Copy rule from iconvdata/Makefile.
33005
01636b21
UD
330062011-07-06 Ulrich Drepper <drepper@gmail.com>
33007
33008 [BZ #12922]
33009 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33010 but no long options are defined, just return 'W'.
33011
9895c8bc
UD
330122011-06-22 Marek Polacek <mpolacek@redhat.com>
33013
33014 [BZ #9696]
33015 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33016
5d4cf042
UD
330172011-07-06 Ulrich Drepper <drepper@gmail.com>
33018
33019 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33020 netgroups to read.
960e5535 33021 (innetgr): Likewise.
5d4cf042 33022
751eb97e
RM
330232011-07-05 Roland McGrath <roland@hack.frob.com>
33024
33025 * config.make.in (install_root): Default to $(DESTDIR).
33026
f15f1e45
UD
330272011-07-05 Ulrich Drepper <drepper@gmail.com>
33028
33029 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33030
4e34ac6a
RM
330312011-07-02 Roland McGrath <roland@hack.frob.com>
33032
5e9b6af4
RM
33033 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33034
84f9ea0f
RM
33035 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33036 containing directory rather than embedding absolute directory names.
33037
ea5ee9f7
RM
33038 * scripts/check-local-headers.sh: Rewritten using awk.
33039 Match by word, not by line. Print error messages for matches.
33040 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33041
1b74661a
RM
33042 * Makerules [shlib-lds-flags empty]:
33043 ($(common-objpfx)libc_pic.opts): New target.
33044 ($(common-objpfx)libc_pic.os.clean): New target.
33045 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33046
33047 * config.make.in (OBJCOPY): New variable.
33048 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33049 * configure: Regenerated.
33050
f781ef40
RM
33051 * config.make.in (use-default-link): New variable.
33052 * configure.in (use_default_link): Grok --with-default-link to set it.
33053 * configure: Regenerated.
33054 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33055 (shlib-lds, shlib-lds-flags): Define to empty.
33056
2d4fa81e
RM
33057 * Makerules (shlib-lds): New variable.
33058 (shlib-lds-flags): New variable.
33059 (build-shlib, build-moduile, build-module-asneeded): Use it.
33060 ($(common-objpfx)libc.so): Use $(shlib-lds).
33061 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33062 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33063
31fffa6b
RM
33064 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33065 DT_FLAGS/DT_FLAGS_1 with zero flags.
33066
4e34ac6a
RM
33067 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33068 linker script munging.
33069
fcfc776b
UD
330702011-07-02 Ulrich Drepper <drepper@gmail.com>
33071
33072 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33073 as 128-bit value.
33074 * crypt/sha512.c (sha512_process_block): Perform total addition using
33075 128-bit if possible.
33076 (__sha512_finish_ctx): Likewise.
33077 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33078 as 64-bit value.
33079 * crypt/sha256.c (SWAP64): Define.
33080 (sha256_process_block): Perform total addition using 64-bit if
33081 possible.
33082 (__sha256_finish_ctx): Likewise.
33083
99231d9a
UD
330842011-07-01 Ulrich Drepper <drepper@gmail.com>
33085
33086 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
33087 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33088 * nscd/hstcache.c (cache_addhst): Likewise.
33089 * nscd/grpcache.c (cache_addgr): Likewise.
33090 * nscd/aicache.c (addhstaiX): Likewise
33091 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33092
445b4a53
TK
330932011-07-01 Thorsten Kukuk <kukuk@suse.de>
33094
33095 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33096 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33097 * nscd/hstcache.c (cache_addhst): Likewise.
33098 * nscd/grpcache.c (cache_addgr): Likewise.
33099 * nscd/aicache.c (addhstaiX): Likewise
33100
6d4d8e8e
AS
331012011-07-01 Andreas Schwab <schwab@redhat.com>
33102
33103 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33104 domain only when needed.
33105
89f654c5
AS
331062011-06-30 Andreas Schwab <schwab@redhat.com>
33107
33108 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33109 is always restored.
33110
cf3b23ff
UD
331112011-06-29 Ulrich Drepper <drepper@gmail.com>
33112
33113 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33114 are re-adding the entry.
33115 * nscd/servicescache.c (cache_addserv): Likewise.
33116
751626f9
AJ
331172011-06-30 Aurelien Jarno <aurelien@aurel32.net>
33118
33119 * sysdeps/generic/dl-irel.h: fix protection against multiple
33120 inclusions.
33121 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33122
9113ea1f
UD
331232011-06-28 Ulrich Drepper <drepper@gmail.com>
33124
5c0b8d90
UD
33125 [BZ #12935]
33126 * malloc/memusage.sh: Fix quoting in message.
33127 * debug/xtrace.sh: Likewise.
33128
9113ea1f
UD
33129 * configure.in: Remove support for --experimental-malloc option, make
33130 it the default.
33131 * config.make.in: Likewise.
33132 * malloc/Makefile: Likewise.
33133
a4172181
AS
331342011-06-27 Andreas Schwab <schwab@redhat.com>
33135
33136 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33137 two-byte characters.
33138
78a7eee7
RM
331392011-06-27 Roland McGrath <roland@hack.frob.com>
33140
62bede13
RM
33141 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33142 AC_CACHE_CHECK invocation.
33143 * configure: Regenerated.
33144
78a7eee7
RM
33145 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33146
5ce33a62
UD
331472011-06-27 Ulrich Drepper <drepper@gmail.com>
33148
034807a9
UD
33149 [BZ #12350]
33150 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
33151 bit from old_res_options.
33152
4902da17
UD
33153 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33154
5ce33a62
UD
33155 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33156 value type for setfct.
33157
c2344f56
L
331582011-06-23 H.J. Lu <hongjiu.lu@intel.com>
33159
33160 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33161 __gettimeofday instead of gettimeofday.
33162
68468076
UD
331632011-06-26 Ulrich Drepper <drepper@gmail.com>
33164
33165 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33166
acb0d739
L
331672011-06-24 H.J. Lu <hongjiu.lu@intel.com>
33168
33169 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33170
33171 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33172 info.
33173
8912479f
L
331742011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33175
33176 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33177 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33178 strcpy-sse2-unaligned strncpy-sse2-unaligned
33179 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33180 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33181 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33182 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33183 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33184 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33185 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33186 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33187 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33188 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33189 (STRCPY): Support SSE2 and SSSE3 versions.
33190
d5495a11
UD
331912011-06-24 Ulrich Drepper <drepper@gmail.com>
33192
33193 [BZ #12874]
33194 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33195 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33196 kernels which artificially limit size of requests.
33197
0b1cbaae
L
331982011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33199
33200 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33201 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33202 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33203 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33204 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33205 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33206 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33207 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33208 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33209 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33210 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33211 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33212 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33213 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33214 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33215 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33216 Enable unaligned load optimization for Intel Core i3, i5 and i7
33217 processors.
33218 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33219 Define.
33220 (index_Fast_Unaligned_Load): Define.
33221 (HAS_FAST_UNALIGNED_LOAD): Define.
33222
07f494a0
MP
332232011-06-23 Marek Polacek <mpolacek@redhat.com>
33224
33225 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33226
fa3fc0fe
UD
332272011-06-22 Ulrich Drepper <drepper@gmail.com>
33228
33229 [BZ #12907]
33230 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33231 until it is clear that the information is realy needed.
33232 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33233
e12df166
AS
332342011-06-22 Andreas Schwab <schwab@redhat.com>
33235
33236 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33237
852eb34d
UD
332382011-06-22 Ulrich Drepper <drepper@gmail.com>
33239
84e2a551
UD
33240 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33241 /sys/devices/system/cpu/online if it is usable.
33242
852eb34d
UD
33243 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33244 reading the information from the /proc filesystem to once a second.
33245
6e502e19
UD
332462011-06-21 Andreas Jaeger <aj@suse.de>
33247
33248 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33249 NULL after inclusion of kernel headers.
33250
75d39ff2
UD
332512011-06-21 Ulrich Drepper <drepper@gmail.com>
33252
51f9aa6a
UD
33253 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33254 calls to internal_setent.
33255
c0244a9d
UD
33256 [BZ #12885]
33257 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33258 addresses using gethostbyname4_r ignore IPv4 addresses.
33259
c5e3c2ae
UD
33260 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33261 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
33262
75d39ff2
UD
33263 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33264
42675c6f
DM
332652011-06-20 David S. Miller <davem@davemloft.net>
33266
33267 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33268 inclusions.
33269 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33270
33271 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33272 (elf_irel): Use it.
33273 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33274 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33275 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33276 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33277 * sysdeps/x86_64/dl-irel.h: Likewise.
33278
33279 * elf/dl-runtime.c: Use elf_ifunc_invoke.
33280 * elf/dl-sym.c: Likewise.
33281
57912a71
UD
332822011-06-15 Ulrich Drepper <drepper@gmail.com>
33283
33284 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
33285 need to dereference resplen2.
33286
ee22793d
AS
332872011-06-14 Andreas Schwab <schwab@redhat.com>
33288
33289 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33290
a9e836b0
UD
332912011-06-15 Ulrich Drepper <drepper@gmail.com>
33292
77fb9117
UD
33293 * Makeconfig: Define vardbdir and inst_vardbdir.
33294 * nss/Makefile: Add rules to install db-Makefile.
33295
40c1b22c
UD
33296 * nss/nss_db/db-XXX.c: Cleanup.
33297
9f2da732
UD
33298 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33299 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33300 GLIBC_PRIVATE.
33301 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33302 * nss/makedb.c: Implement -g option to specify that value strings
33303 are generated and should not be added to table iterated over for
33304 get*ent calls.
33305 * nss/nss_db/db-initgroups.c: New file.
33306
82e9a1f7
UD
33307 * nss/getent.c: Add support for initgroups lookups through getgrouplist
33308 interface.
33309
c41af17e
UD
33310 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33311 (internal_getgrouplist): Adjust to name change.
33312 Update use_initgroups_entry if this is not the first call.
33313 * nss/databases.def: Add initgroups entry.
33314
a9e836b0
UD
33315 * nss/makedb.c (compute_tables): Check result of multiple hash table
33316 sizes to minimize maximum chain length.
33317
2666d441
UD
333182011-06-14 Ulrich Drepper <drepper@gmail.com>
33319
33320 * Versions.def: Add entry for libnss_db.
33321 * shlib-versions: Likewise.
33322 * nss/Makefile: Add rules to build libnss_db.
33323 * nss/Versions: Add libnss_db information. Organize libnss_files
33324 entries better.
33325 * nss/db-Makefile: Add gshadow support. Change rules for the new
33326 makedb progra. Some minor improvements to generate smaller files.
33327 * nss/nss_db/nss_db.h: Move NSS database header data structures to
33328 here from...
33329 * nss/makedb.c: ...here.
33330 Improve database format to be smaller and require less memory at
33331 runtime.
33332 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
33333 db anymore.
33334 * nss/nss_db/db-netgrp.c: Likewise.
33335 * nss/nss_db/db-open.c: Likewise.
33336 * nss/nss_files/flies-XXX.x: Adjust comments.
33337 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33338 * nss/nss_files/files-grp.c: Likewise.
33339 * nss/nss_files/files-hosts.c: Likewise.
33340 * nss/nss_files/files-network.c: Likewise.
33341 * nss/nss_files/files-proto.c: Likewise.
33342 * nss/nss_files/files-pwd.c: Likewise.
33343 * nss/nss_files/files-rpc.c: Likewise.
33344 * nss/nss_files/files-service.c: Likewise.
33345 * nss/nss_files/files-sgrp.c: Likewise.
33346 * nss/nss_files/files-spwd.c: Likewise.
33347 * nss/nss_db/db-alias.c: Removed.
33348 * nss/nss_db/dummy-db.h: Removed.
33349
9ee76b5a
UD
333502011-06-02 Ulrich Drepper <drepper@gmail.com>
33351
33352 * nss/makedb.c: Rewritten to not use database library.
33353 * nss/Makefile: Update to build new makedb program.
33354
c71ca1f8
AJ
333552011-06-14 Andreas Jaeger <aj@suse.de>
33356
33357 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33358 memset declaration.
33359
3154bfb8
UD
333602011-06-10 Andreas Schwab <schwab@redhat.com>
33361
33362 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33363 tmpbuf.
33364
b350afab
RM
333652011-06-10 Roland McGrath <roland@hack.frob.com>
33366
decd4e50
RM
33367 * Makerules (shlib.lds): Fail if the linker script comes out empty.
33368 * elf/Makefile ($(objpfx)ld.so): Likewise.
33369
5615eaf2
RM
33370 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33371 Don't list ld.so twice in dependencies.
33372
33373 * posix/bug-regex31.c: Include <stdlib.h>.
33374
33375 * nscd/hstcache.c (cache_addhst): Remove unused variable.
33376
33377 * nis/nss_compat/compat-spwd.c
33378 (getspent_next_nss_netgr): Remove unused variable.
33379 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
33380
33381 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33382 nonmembers" output to use the right array.
33383
33384 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33385
33386 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
33387
33388 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
33389 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
33390 * catgets/gencat.c (read_input_file): Likewise.
33391 * locale/programs/locarchive.c (enlarge_archive): Likewise.
33392
33393 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33394 variable definition inside #if's controlling its use.
33395
33396 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33397
33398 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33399
33400 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33401
33402 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33403 unreachable code.
33404
33405 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33406
b68e08db
RM
33407 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33408 * configure: Regenerated.
33409
b350afab
RM
33410 * Makerules: Revert last change.
33411 * elf/Makefile: Likewise.
33412
28368601
RM
334132011-06-09 Roland McGrath <roland@hack.frob.com>
33414
33415 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33416 * elf/Makefile ($(objpfx)librtld.os): Likewise.
33417 (reloc-link): Likewise.
33418
11988f8f
UD
334192011-06-09 Ulrich Drepper <drepper@gmail.com>
33420
33421 * elf/Makefile: Add rules to build pldd.
33422 * elf/pldd.c: New file.
33423 * elf/pldd-xx.c: New file.
33424
e80fab37
UD
334252011-06-07 Ulrich Drepper <drepper@gmail.com>
33426
33427 * version.h: Update for 2.15 development version.
33428
9b849836
DM
334292011-06-07 David S. Miller <davem@davemloft.net>
33430
33431 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33432 ifuncs.
33433 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33434 elf_machine_lazy_rel): Likewise.
33435 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33436 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33437 elf_machine_lazy_rel): Likewise.
33438 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33439 dl_hwcap via passed in argument.
33440 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33441 Likewise.
33442
5a31b283
AK
334432011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33444
33445 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
33446
069e52f8
RM
334472011-06-06 Roland McGrath <roland@hack.frob.com>
33448
33449 [BZ #12849]
33450 * manual/fdl-1.1.texi: New file, verbatim from:
33451 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33452 * manual/lgpl-2.1.texi: New file, verbatim from:
33453 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33454 * manual/Makefile (licenses): New variable, list those new file names.
33455 (texis): Use it.
33456 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33457
33458 * manual/fdl.texi: File removed.
33459 * manual/lesser.texi: File removed.
33460 * manual/libc.texinfo (Copying, Documentation License):
33461 Use new @include file names, put @appendix directive before @include.
33462
f16846a5
JJ
334632011-06-04 Jakub Jelinek <jakub@redhat.com>
33464
33465 [BZ #12841]
33466 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33467 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33468 (mq_open): Add __NTH.
33469
3d29045b
L
334702011-06-02 H.J. Lu <hongjiu.lu@intel.com>
33471
33472 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33473 Assume Intel Core i3/i5/i7 processor if AVX is available.
33474
8c297311
UD
334752011-05-31 Ulrich Drepper <drepper@gmail.com>
33476
33477 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33478 typo.
33479
c8fc0c91
UD
334802011-05-31 Andreas Schwab <schwab@redhat.com>
33481
33482 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33483 memory. Use alloca_account. Fix memory leak when retrying.
33484
5b27a807
UD
334852011-05-31 Ulrich Drepper <drepper@gmail.com>
33486
356f8bc6
UD
33487 * version.h (RELEASE): Bump for 2.14 release.
33488 * include/features.h (__GLIBC_MINOR__): Bump to 14.
33489
5b27a807
UD
33490 * config.make.in (RANLIB): Remove entry.
33491
01f16ab0
UD
334922011-05-30 Ulrich Drepper <drepper@gmail.com>
33493
41fce8bd
UD
33494 * po/Makefile (po-sed-cmd): Add ksh to extensions.
33495 (libc.pot): Work around missing support for .ksh extension in xgettext.
33496
4769ae77
UD
33497 [BZ #12684]
33498 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33499 if both request failed.
33500 (send_dg): In case of server errors clear resplen or *resplen2.
33501
6b1e7d19
UD
33502 [BZ #12454]
33503 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33504 when there are multiple maps.
33505 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33506 (_dl_fini): Remove test here.
33507
01f16ab0
UD
33508 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33509
b1ebd700
UD
335102011-05-29 Ulrich Drepper <drepper@gmail.com>
33511
7ae22829
UD
33512 [BZ #12350]
33513 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33514 bit from old_res_options.
33515 (gaih_inet): Likewise.
33516
553149f6 33517 [BZ #11099]
18a84741 33518 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
33519 as signed.
33520
652ffab1
UD
33521 * resolv/res_init.c (res_setoptions): Make the code more compact.
33522
16985fd0
UD
33523 [BZ #11558]
33524 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33525 set RES_USEVC.
33526
0464f746
UD
33527 [BZ #11634]
33528 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33529
7d17596c
UD
33530 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33531
cf6bbbd7
UD
33532 [BZ #11781]
33533 * malloc/malloc.h: Declare malloc hook variables as volatile.
33534
13f1ab36
UD
33535 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33536 in last patch.
33537
b1ebd700
UD
33538 [BZ #11799]
33539 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 33540 raise in the comment.
80e2212d
UD
33541 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33542 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33543 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 33544
ce67228d
UD
335452011-05-28 Ulrich Drepper <drepper@gmail.com>
33546
8887a920
UD
33547 [BZ #12811]
33548 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33549 grow the buffers more if it already has to be sufficient.
33550 (build_wcs_upper_buffer): Likewise.
33551 * posix/regexec.c (check_matching): Likewise.
33552 (clean_state_log_if_needed): Likewise.
33553 (extend_buffers): Don't enlarge buffers beyond size of the input
33554 buffer.
33555 Patches mostly by Emil Wojak <emil@wojak.eu>.
33556 * posix/bug-regex32.c: New file.
33557 * posix/Makefile (tests): Add bug-regex32.
33558
4f031072
UD
33559 * locale/findlocale.c (_nl_find_locale): Return right away if
33560 _nl_explode_name failed.
33561 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33562
d0478f0c
UD
33563 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33564
de81b246
UD
33565 * debug/xtrace.sh: Unify messages.
33566 * malloc/memusage.sh: Likewise.
33567
c738465a
UD
33568 [BZ #12813]
33569 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33570 time symbol from vDSO. Substitute with vsyscall if not available.
33571 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33572 __vdso_time.
33573
f1f929d7
UD
33574 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33575 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33576 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33577 Add sendmmsg and internal_sendmmsg.
33578 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33579 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33580 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33581
ce67228d
UD
33582 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33583 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33584 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33585
e57420c6
UD
335862011-05-27 Ulrich Drepper <drepper@gmail.com>
33587
a8509ca5
UD
33588 [BZ #12813]
33589 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33590 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33591 available.
33592 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33593 __vdso_getcpu.
33594
e57420c6
UD
33595 [BZ #12814]
33596 * iconvdata/Makefile (tests): Add bug-iconv9.
33597 * iconvdata/bug-iconv9.c: New file.
33598
4d07db15
AS
335992011-05-27 Andreas Schwab <schwab@redhat.com>
33600
33601 [BZ #12814]
33602 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33603
ea486f69
JJ
336042011-05-25 Jakub Jelinek <jakub@redhat.com>
33605
33606 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33607 (struct user_regs_struct): Change intcs field back to cs.
33608
6f038433
UD
336092011-05-25 Ulrich Drepper <drepper@gmail.com>
33610
33611 * po/ja.po: Update from translation team.
33612
67f86a25
UD
336132011-05-23 Ulrich Drepper <drepper@gmail.com>
33614
33615 [BZ #12795]
33616 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33617 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33618
def7fbd6
AS
336192011-05-20 Andreas Schwab <schwab@redhat.com>
33620
33621 * stdlib/longlong.h: Update from GCC.
33622
f50ef8f1
AS
336232011-05-23 Andreas Schwab <schwab@redhat.com>
33624
33625 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33626 parameter name.
33627 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33628 Add parameter name.
33629 (__sysconf): Pass it down.
33630
de7ce8f1
UD
336312011-05-22 Ulrich Drepper <drepper@gmail.com>
33632
f2962a71
UD
33633 [BZ #12671]
33634 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33635 some situations.
33636 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33637 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33638 add in in __libc_use_alloca calls. Adjust callers.
33639 (glob): Use malloc in some situations.
33640
de7ce8f1
UD
33641 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33642 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33643 pltexit.
33644
aec84f53
UD
336452011-05-21 Ulrich Drepper <drepper@gmail.com>
33646
05bb4a68
UD
33647 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33648 and CLOCK_BOOTTIME_ALARM.
33649
7ea72f99
UD
33650 [BZ #12782]
33651 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33652 is returned.
33653
7e4afad5
UD
33654 * string/_strerror.c (__strerror_r): Print negative errors as signed
33655 numbers.
33656
8e211fec
UD
33657 [BZ #12777]
33658 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33659 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33660 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33661
f7d82dc9
UD
33662 * configure.in: Fix typo in redirection and correct removal of test
33663 files in two cases.
33664
cc9e536d
UD
33665 [BZ #12788]
33666 * locale/setlocale.c (new_composite_name): Fix test to check for
33667 identical name of all categories.
33668
aec84f53
UD
33669 [BZ #12792]
33670 * libio/filedoalloc.c (local_isatty): New function.
33671 (_IO_file_doallocate): Use local_isatty.
33672 * stdio-common/perror.c (perror): In case a new stream is used
33673 forward the stream error.
33674 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33675 error flag.
33676
78e64fdc
RT
336772011-05-20 Ulrich Drepper <drepper@gmail.com>
33678
34a9094f
UD
33679 [BZ #11869]
33680 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33681 alloca.
33682 * include/alloca.h (extend_alloca_account): Define.
33683
78e64fdc
RT
33684 [BZ #11857]
33685 * posix/regex.h: Fix comments with documentation of user-accessible
33686 fields after compilation and describe correct free'ing of pattern
33687 after re_compile_pattern.
33688 Patch by Reuben Thomas <rrt@sc3d.org>.
33689
457bddfc
RA
336902011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33691
33692 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33693 and -mno-altivec to prevent the compiler from using Altivec and/or
33694 VSX instructions when the corresponding registers are not available.
33695
a4527b51
AS
336962011-05-19 Andreas Schwab <schwab@redhat.com>
33697
33698 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33699
ed690b2f
UD
337002011-05-19 Ulrich Drepper <drepper@gmail.com>
33701
33702 * libio/freopen.c (freopen): Use __dup2, not dup2.
33703 * libio/freopen64.c (freopen64): Likewise.
33704
8db73634
L
337052011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33706
33707 [BZ #12775]
33708 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33709 * math/Makefile (tests): Add test-powl.
33710 (CFLAGS-test-powl.c): Define.
33711 * math/test-powl.c: New file.
33712
0a197a9d
L
337132011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33714
33715 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33716
ee30c380
UD
337172011-05-17 Ulrich Drepper <drepper@gmail.com>
33718
33719 [BZ #11837]
33720 * iconvdata/gb18030.c: Update to GB18020-2005.
33721
6ce75379
UD
337222011-05-16 Ulrich Drepper <drepper@gmail.com>
33723
a4b89fd8
AR
33724 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33725 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33726 Patch by Aharon Robbins <arnold@skeeve.com>.
33727
ea389b12
UD
33728 [BZ #11892]
33729 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33730 on the stack.
33731
68a3f91f
UD
33732 [BZ #11895]
33733 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33734 through underflows.
33735
15cc7dd1
UD
33736 [BZ #12766]
33737 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33738 point to strings before performing equality test for error_one_per_line
33739 mode.
33740
f3799213
UD
33741 [BZ #11697]
33742 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33743
d79a9c94
UD
33744 [BZ #11820]
33745 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33746 (struct user_fpregs_struct): Avoid __uint*_t types.
33747
56e5eb46
UD
33748 [BZ #6420]
33749 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33750 symbol info. Use it instead of calling _dl_addr locally.
33751 (lock_and_info): New function.
33752 (tr_freehook): Call lock_and_info and pass symbol info as additional
33753 parameter to tr_where.
33754 (tr_mallochook): Likewise.
33755 (tr_reallochook): Likewise.
33756 (tr_memalignhook): Likewise.
33757
6ce75379
UD
33758 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33759 used and couldn't be at all thread-safe.
33760
f8a3b5bf
UD
337612011-05-15 Ulrich Drepper <drepper@gmail.com>
33762
94b7cc37
UD
33763 * libio/freopen.c (freopen): Don't close old file descriptor
33764 before the new one is opened. Instead dup the new file descriptor
33765 to the old one after the new stream is created.
33766 * libio/freopen64.c (freopen64): Likewise.
33767 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33768 * libio/fileops.c (_IO_new_file_close_it): Handle new
33769 _IO_FLAGS2_NOCLOSE flag.
33770 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33771 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33772 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33773 _IO_FLAGS2_NOCLOSE flag.
33774 * include/unistd.h: Add hidden_proto for dup3.
33775 Define __have_dup3.
33776 * io/dup3.c: Define hidden symbol.
33777 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33778
bd25564e
UD
33779 [BZ #7101]
33780 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33781 when an incomplete long option is used.
33782 * posix/tst-getopt_long1.c: New file.
33783 * posix/Makefile (tests): Add tst-getopt_long1.
33784
c84cfef4
UD
33785 [BZ #10138]
33786 * scripts/config.guess: Update from autoconf-2.68.
33787 * scripts/config.sub: Likewise.
33788
3b85df27
UD
33789 [BZ #10157]
33790 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33791 tests into ...
33792 (has_cpuclock): ...this. New function.
33793 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33794 macro here based on has_cpuclock code.
33795
15a856b1
UD
33796 [BZ #10149]
33797 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33798 First byte (not low byte) is now always NUL.
33799 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33800
05f399e6
UD
33801 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33802 Use non-cancelable interfaces.
33803
10a52685 33804 [BZ #9809]
94ecc67d
UD
33805 * locale/iso-639.def: Add entry for Sorani.
33806
f8a3b5bf
UD
33807 [BZ #11901]
33808 * include/stdlib.h: Move include protection to the right place.
33809 Define abort_msg_s. Declare __abort_msg with it.
33810 * stdlib/abort.c (__abort_msg): Adjust type.
33811 * assert/assert.c (__assert_fail_base): New function. Majority
33812 of code from __assert_fail. Allocate memory for __abort_msg with
33813 mmap.
33814 (__assert_fail): Now call __assert_fail_base.
33815 * assert/assert-perr.c: Remove bulk of implementation. Use
33816 __assert_fail_base.
33817 * include/assert.hL Declare __assert_fail_base.
33818 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33819 mmap.
33820 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33821
1af4e298
UD
338222011-05-14 Ulrich Drepper <drepper@gmail.com>
33823
f8a3b5bf 33824 [BZ #11952]
d26dfc60
MG
33825 [BZ #12453]
33826 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33827 until all modules are registered in the DTV.
33828 * elf/Makefile: Add rules to build and run tst-tls19.
33829 * elf/tst-tls19.c: New file.
33830 * elf/tst-tls19mod1.c: New file.
33831 * elf/tst-tls19mod2.c: New file.
33832 * elf/tst-tls19mod3.c: New file.
33833 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33834
2fc54d6f
UD
33835 [BZ #12083]
33836 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33837 correctly.
33838
98d76b46
UD
33839 [BZ #12601]
33840 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33841 two-byte sequence errors.
33842 * iconvdata/Makefile (tests): Add bug-iconv8.
33843 * iconvdata/bug-iconv8.c: New file.
33844
da3c19ef
UD
33845 [BZ #12626]
33846 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33847 buf2 definition.
33848
ca408c15
UD
33849 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33850
d6f67f7d
UD
33851 [BZ #12432]
33852 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33853 (dummy_getcfa): New function.
33854 (init): Get _Unwind_GetCFA address, use dummy if not found.
33855 (backtrace_helper): In recursion check, also check whether CFA changes.
33856 (__backtrace): Completely initialize arg.
33857
1af4e298 33858 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
33859 storing incomplete byte sequence in state object. Avoid testing for
33860 guaranteed too small input if we know there is enough data available.
1af4e298 33861
da62f81b
AS
338622011-05-11 Andreas Schwab <schwab@redhat.com>
33863
33864 * Makeconfig (+link-pie): Indent.
33865 * Rules (binaries-pie): Define if $(have-fpie) and
33866 $(build-shared).
33867 (binaries-shared): Also filter out $(binaries-pie).
33868 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33869 * nscd/Makefile (others-pie): Add nscd.
33870 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33871 ($(objpfx)nscd): Remove command override.
33872 * login/Makefile (others-pie): Add pt_chown.
33873 ($(objpfx)pt_chown): Remove command override.
33874 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33875 remove command overrides.
33876
fcabc0f8
UD
338772011-05-13 Ulrich Drepper <drepper@gmail.com>
33878
20030ae6
UD
33879 * libio/tst_putwc.c: Fix error messages.
33880
fcabc0f8
UD
33881 [BZ #12724]
33882 * libio/fileops.c (_IO_new_file_close_it): Always flush when
33883 currently writing and seek to current position when not.
33884 * libio/Makefile (tests): Add bug-fclose1.
33885 * libio/bug-fclose1.c: New file.
33886
320a5dc0
PB
338872011-05-12 Ulrich Drepper <drepper@gmail.com>
33888
33889 [BZ #12511]
33890 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33891 don't set DF_1_NODELETE here.
33892 (do_lookup_x): When entering new entry test for copy relocation
33893 and if necessary set DF_1_NODELETE flag.
33894 * elf/tst-unique4.cc: New file.
33895 * elf/tst-unique4.h: New file.
33896 * elf/tst-unique4lib.cc: New file.
33897 * elf/Makefile: Add rules to build and run tst-unique4.
33898 Patch by Piotr Bury <pbury@goahead.com>.
33899
22836f52
UD
339002011-05-11 Ulrich Drepper <drepper@gmail.com>
33901
f574184a
UD
33902 [BZ #12052]
33903 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33904
e1fb097f
UD
33905 [BZ #12625]
33906 * misc/mntent_r.c (addmntent): Flush the stream after the output
33907
22836f52
UD
33908 [BZ #12393]
33909 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33910 (is_trusted_path_normalize): Skip initial colon. Append slash
33911 to empty buffer. Duplicate is_trusted_path code but allow
33912 constructed patch to be prefix.
33913 (is_dst): Allow $ORIGIN followed by /.
33914 (_dl_dst_substitute): Correct clearing of check_for_trusted.
33915 Correct testing of result of is_trusted_path_normalize
33916 (decompose_rpath): Fix warning.
33917
7b3b0b2a
UD
339182011-05-10 Ulrich Drepper <drepper@gmail.com>
33919
33920 [BZ #11257]
33921 * grp/initgroups.c (internal_getgrouplist): When we found the service
33922 list through the initgroups entry in nsswitch.conf do not always
33923 continue on a successful lookup. Don't always use the
eac80ce2 33924 __nss_group_database value if it is set.
7b3b0b2a
UD
33925 * nss/nsswitch.conf (initgroups): Change action for successful db
33926 lookup to continue for compatibility.
33927
2a81eaa5
UD
339282011-05-09 Ulrich Drepper <drepper@gmail.com>
33929
be97a69e
UD
33930 [BZ #11532]
33931 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33932 and CP774 modules.
33933 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33934 and CP774 modules.
33935 * iconvdata/tst-tables.sh: Likewise.
33936 * iconvdata/cp770.c: New file.
33937 * iconvdata/cp771.c: New file.
33938 * iconvdata/cp772.c: New file.
33939 * iconvdata/cp773.c: New file.
33940 * iconvdata/cp774.c: New file.
33941 * iconvdata/testdata/CP770: New file.
33942 * iconvdata/testdata/CP770..UTF8: New file.
33943 * iconvdata/testdata/CP771: New file.
33944 * iconvdata/testdata/CP771..UTF8: New file.
33945 * iconvdata/testdata/CP772: New file.
33946 * iconvdata/testdata/CP772..UTF8: New file.
33947 * iconvdata/testdata/CP773: New file.
33948 * iconvdata/testdata/CP773..UTF8: New file.
33949 * iconvdata/testdata/CP774: New file.
33950 * iconvdata/testdata/CP774..UTF8: New file.
33951
33952 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33953 END CHARMAP line.
33954 * iconvdata/gen-8bit-gap.sh: Likewise.
33955 * iconvdata/gen-8bit.sh: Likewise.
33956
c1e9e399
UD
33957 * locale/iso-639.def: Add ary entry.
33958
24c55fb3 33959 [BZ #11258]
96b4b1b0
UD
33960 * locale/C-translit.h.in: Add U20A1 transliteration.
33961
bdc2f971
KB
33962 [BZ #12178]
33963 * locale/iso-639.def: Add wae entry.
33964 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33965
2952b117
UD
33966 [BZ #12545]
33967 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33968 for n.
33969
2a81eaa5
UD
33970 [BZ #12711]
33971 * locale/C-translit.h.in: Add entry for U20B9.
33972 Patch by pravin.d.s@gmail.com.
33973
28377d1b
UD
339742011-05-08 Ulrich Drepper <drepper@gmail.com>
33975
7fb90fb8
UD
33976 [BZ #12713]
33977 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
33978 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
33979 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
33980 in rtld. Use *stat64.
7fb90fb8 33981 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 33982 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 33983 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
33984 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
33985 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
33986 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
33987 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
33988 __fstatat64 macros.
7fb90fb8
UD
33989 * include/dirent.h: Add libc_hidden_proto for rewinddir.
33990 * dirent/rewinddir.c: Add libc_hidden_def.
33991 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 33992 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 33993
28377d1b
UD
33994 * include/dirent.h (__alloc_dir): Add flags parameter.
33995 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
33996 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
33997 __alloc_dir.
33998 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
33999 from fdopendir if O_CLOEXEC is already set.
34000
66bdbaa4
AM
340012011-03-15 Alan Modra <amodra@gmail.com>
34002
34003 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34004 l_tls_firstbyte_offset non-zero. Save padding offset in
34005 l_tls_firstbyte_offset for later use.
34006 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34007 freeing static tls block.
34008
95721191
JN
340092011-03-05 Jonathan Nieder <jrnieder@gmail.com>
34010
34011 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34012 where #ifdef was intended. The intent is to prevent ARG_MAX from
34013 being defined by the kernel headers.
34014
f87dfb1f
UD
340152011-05-07 Ulrich Drepper <drepper@gmail.com>
34016
34017 [BZ #12734]
34018 * resolv/resolv.h: Define RES_NOTLDQUERY.
34019 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34020 no-tld-query and set RES_NOTLDQUERY.
34021 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34022 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34023 modern BIND to search name as TLD unless forbidden.
34024
47c3cd7a
UD
340252011-05-07 Petr Baudis <pasky@suse.cz>
34026 Ulrich Drepper <drepper@gmail.com>
34027
34028 [BZ #12393]
34029 * elf/dl-load.c (fillin_rpath): Move trusted path check...
34030 (is_trusted_path): ...to here.
c1e9ea35 34031 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 34032 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 34033 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 34034
8a35c912
PP
340352011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34036
34037 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34038 __BEGIN/__END_DECLS.
34039
acd41f47
UD
340402011-05-06 Ulrich Drepper <drepper@gmail.com>
34041
34042 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34043 NSS_STATUS_NOTFOUND if no record was found.
34044
597df647
AS
340452011-05-05 Andreas Schwab <schwab@redhat.com>
34046
34047 * sunrpc/Makefile (headers): Add rpc/netdb.h.
34048 (headers-not-in-tirpc): Remove rpc/netdb.h
34049 * resolv/netdb.h: Revert last change.
34050
b9af1301
PP
340512011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34052
34053 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34054 circular dependency between libgcc.a and libc.a.
34055
4e34d5f5
AS
340562011-05-05 Andreas Schwab <schwab@redhat.com>
34057
34058 * resolv/netdb.h: Don't include <rpc/netdb.h>.
34059 * nis/Makefile: Don't install rpcsvc/*.
34060 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34061 instead of <rpc/types.h>.
34062 (MAXHOSTNAMELEN): Define.
34063
00ee369c
AS
340642011-05-03 Andreas Schwab <schwab@redhat.com>
34065
34066 * elf/ldconfig.c (add_dir): Don't crash on empty path.
34067
0b592a30
MB
340682011-04-28 Maciej Babinski <mbabinski@google.com>
34069
34070 [BZ #12714]
34071 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34072 gethostbyname4_r when IPv6 results are possible.
34073
6e04cbbe
UD
340742011-05-02 Ulrich Drepper <drepper@gmail.com>
34075
34076 [BZ #12723]
34077 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34078 _PC_PIPE_BUF handling.
34079
e4ecafe0
BH
340802011-04-30 Bruno Haible <bruno@clisp.org>
34081
34082 [BZ #12717]
34083 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34084 * resolv/netdb.h (getnameinfo): Change type of flags parameter
34085 to 'int'.
34086 * inet/getnameinfo.c (getnameinfo): Likewise.
34087
125ee683
UD
340882011-04-29 Ulrich Drepper <drepper@gmail.com>
34089
34090 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34091 to groups setting in database lookup.
34092 * nss/nsswitch.conf: Add initgroups entry.
34093
b722481a
EB
340942011-04-22 Ulrich Drepper <drepper@gmail.com>
34095
34096 [BZ #12685]
34097 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34098 mode string.
34099 Patch by Eric Blake <eblake@redhat.com>.
34100
4df46dbd
L
341012011-04-20 H.J. Lu <hongjiu.lu@intel.com>
34102
34103 * sunrpc/Makefile (need-export-routines): Add svc_run.
34104 (routines): Remove svc_run.
34105 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34106 * sunrpc/clnt_perr.c (clnt_perrno): Export.
34107 * sunrpc/svc_run.c (svc_run): Likewise.
34108 * sunrpc/svc_udp.c (svcudp_create): Likewise.
34109
e84142d2
UD
341102011-04-21 Ulrich Drepper <drepper@gmail.com>
34111
34112 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34113 problem in reallocation in last patch.
34114
877175d8
UD
341152011-04-20 Ulrich Drepper <drepper@gmail.com>
34116
34117 * sunrpc/Makefile: Move inclusion of Rules.
34118
ab8eed78
UD
341192011-04-19 Ulrich Drepper <drepper@gmail.com>
34120
34121 * nss/nss_files/files-initgroups.c: New file.
34122 * nss/Makefile (libnss_files-routines): Add files-initgroups.
34123 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34124 _nss_files_initgroups_dyn.
34125
e3d8f584
RS
341262011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
34127
34128 * elf/elf.h (R_ARM_IRELATIVE): Define.
34129
af190f45
UD
341302011-04-19 Ulrich Drepper <drepper@gmail.com>
34131
34132 * po/ru.po: Update from translation team.
34133
53cf59ef
UD
341342011-04-17 Ulrich Drepper <drepper@gmail.com>
34135
34136 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34137 dependencies.
34138
4c559bcd
MF
341392011-02-06 Mike Frysinger <vapier@gentoo.org>
34140
34141 [BZ #12653]
34142 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34143 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34144 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34145 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34146 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34147
4420675c
AS
341482011-03-28 Andreas Schwab <schwab@linux-m68k.org>
34149
34150 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34151 differing bytes.
34152 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34153 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34154 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34155
75ea32ab
UD
341562011-04-17 Ulrich Drepper <drepper@gmail.com>
34157
34158 [BZ #12420]
34159 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34160 storing it.
34161 * stdlib/bug-getcontext.c: New file.
34162 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34163
27390476
AK
341642011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34165
34166 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34167 instructions into .machine "z9-109".
34168 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34169 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34170
10442705
AK
341712011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34172
34173 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34174 between environment variables and auxiliary vector.
34175
7b57bfe5
UD
341762011-04-16 Ulrich Drepper <drepper@gmail.com>
34177
34178 * Makefile: Add rules to build linkobj/libc.so.
34179 * include/libc-symbols.h: Define libc_hidden_nolink.
34180 * include/rpc/auth.h: Mark functions which are to be hidden.
34181 * include/rpc/auth_des.h: Likewise.
34182 * include/rpc/auth_unix.h: Likewise.
34183 * include/rpc/clnt.h: Likewise.
34184 * include/rpc/des_crypt.h: Likewise.
34185 * include/rpc/key_prot.h: Likewise.
34186 * include/rpc/pmap_clnt.h: Likewise.
34187 * include/rpc/pmap_prot.h: Likewise.
34188 * include/rpc/pmap_rmt.h: Likewise.
34189 * include/rpc/rpc_msg.h: Likewise.
34190 * include/rpc/svc.h: Likewise.
34191 * include/rpc/svc_auth.h: Likewise.
34192 * include/rpc/xdr.h: Likewise.
34193 * nis/Makefile: Link all DSOs against linkobj/libc.so.
34194 * nss/Makefile: Likewise.
34195 * sunrpc/Makefile: Don't install headers. Build library with normal
34196 entry points. Don't build rpcinfo. Link RPC tests appropriately.
34197 * sunrpc/auth_des.c: Hide exported symbols by default, export some
34198 for the compat linking library. Remove use of INTDEF/INTUSE.
34199 * sunrpc/auth_none.c: Likewise.
34200 * sunrpc/auth_unix.c: Likewise.
34201 * sunrpc/authdes_prot.c: Likewise.
34202 * sunrpc/authuxprot.c: Likewise.
34203 * sunrpc/clnt_gen.c: Likewise.
34204 * sunrpc/clnt_perr.c: Likewise.
34205 * sunrpc/clnt_raw.c: Likewise.
34206 * sunrpc/clnt_simp.c: Likewise.
34207 * sunrpc/clnt_tcp.c: Likewise.
34208 * sunrpc/clnt_udp.c: Likewise.
34209 * sunrpc/clnt_unix.c: Likewise.
34210 * sunrpc/des_crypt.c: Likewise.
34211 * sunrpc/des_soft.c: Likewise.
34212 * sunrpc/get_myaddr.c: Likewise.
34213 * sunrpc/key_call.c: Likewise.
34214 * sunrpc/key_prot.c: Likewise.
34215 * sunrpc/netname.c: Likewise.
34216 * sunrpc/pm_getmaps.c: Likewise.
34217 * sunrpc/pm_getport.c: Likewise.
34218 * sunrpc/pmap_clnt.c: Likewise.
34219 * sunrpc/pmap_prot.c: Likewise.
34220 * sunrpc/pmap_prot2.c: Likewise.
34221 * sunrpc/pmap_rmt.c: Likewise.
34222 * sunrpc/publickey.c: Likewise.
34223 * sunrpc/rpc_cmsg.c: Likewise.
34224 * sunrpc/rpc_common.c: Likewise.
34225 * sunrpc/rpc_dtable.c: Likewise.
34226 * sunrpc/rpc_prot.c: Likewise.
34227 * sunrpc/rpc_thread.c: Likewise.
34228 * sunrpc/rtime.c: Likewise.
34229 * sunrpc/svc.c: Likewise.
34230 * sunrpc/svc_auth.c: Likewise.
34231 * sunrpc/svc_authux.c: Likewise.
34232 * sunrpc/svc_raw.c: Likewise.
34233 * sunrpc/svc_run.c: Likewise.
34234 * sunrpc/svc_simple.c: Likewise.
34235 * sunrpc/svc_tcp.c: Likewise.
34236 * sunrpc/svc_udp.c: Likewise.
34237 * sunrpc/svc_unix.c: Likewise.
34238 * sunrpc/svcauth_des.c: Likewise.
34239 * sunrpc/xcrypt.c: Likewise.
34240 * sunrpc/xdr.c: Likewise.
34241 * sunrpc/xdr_array.c: Likewise.
34242 * sunrpc/xdr_float.c: Likewise.
34243 * sunrpc/xdr_intXX_t.c: Likewise.
34244 * sunrpc/xdr_mem.c: Likewise.
34245 * sunrpc/xdr_rec.c: Likewise.
34246 * sunrpc/xdr_ref.c: Likewise.
34247 * sunrpc/xdr_sizeof.c: Likewise.
34248 * sunrpc/xdr_stdio.c: Likewise.
34249
e6c61494
UD
342502011-04-10 Ulrich Drepper <drepper@gmail.com>
34251
34252 [BZ #12650]
34253 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34254 * sysdeps/ia64/dl-tls.h: Likewise.
34255 * sysdeps/powerpc/dl-tls.h: Likewise.
34256 * sysdeps/s390/dl-tls.h: Likewise.
34257 * sysdeps/sh/dl-tls.h: Likewise.
34258 * sysdeps/sparc/dl-tls.h: Likewise.
34259 * sysdeps/x86_64/dl-tls.h: Likewise.
34260 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34261
34fe483e
AS
342622011-03-14 Andreas Schwab <schwab@redhat.com>
34263
34264 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34265 rpath element also skip the following colon.
34266 (expand_dynamic_string_token): Add is_path parameter and pass
34267 down to DL_DST_REQUIRED and _dl_dst_substitute.
34268 (decompose_rpath): Call expand_dynamic_string_token with
34269 non-zero is_path. Ignore empty rpaths.
34270 (_dl_map_object_from_fd): Call expand_dynamic_string_token
34271 with zero is_path.
34272
f12a32e6
AS
342732011-04-08 Andreas Schwab <schwab@linux-m68k.org>
34274
34275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34276 Make cancelable.
34277
38a7d692
UD
342782011-04-09 Ulrich Drepper <drepper@gmail.com>
34279
34280 [BZ #12655]
34281 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34282 Patch by Filipe David Manana <fdmanana@apache.org>.
34283
e451d22b
AS
342842011-04-07 Andreas Schwab <schwab@redhat.com>
34285
34286 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34287 Maintain aligned stack.
34288 (CHECK_RSP): Remove unused macro.
34289
dedc7c7b
UD
342902011-04-03 Ulrich Drepper <drepper@gmail.com>
34291
34292 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34293 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34294
94521213
UD
342952011-04-02 Ulrich Drepper <drepper@gmail.com>
34296
34297 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34298
8cb700c0 34299 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 34300
0354e355
L
343012011-03-26 H.J. Lu <hongjiu.lu@intel.com>
34302
34303 [BZ #12518]
34304 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34305 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34306 * sysdeps/x86_64/memmove.c: New file.
34307 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34308 (memcpy): Renamed to ...
34309 (__new_memcpy): This.
34310 (memcpy): Provide GLIBC_2_14 memcpy.
34311 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34312 (memcpy): Provide GLIBC_2_2_5 memcpy.
34313
8593482f
UD
343142011-04-01 Ulrich Drepper <drepper@gmail.com>
34315
34316 [BZ #12631]
34317 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34318
81a5726b
AS
343192011-03-30 Andreas Schwab <schwab@redhat.com>
34320
34321 * misc/syncfs.c: New file.
34322 * misc/Makefile (routines): Add syncfs.
34323 * posix/unistd.h: Declare syncfs.
34324 * sysdeps/unix/syscalls.list: Add syncfs.
34325
00e5419f
AS
343262011-04-01 Andreas Schwab <schwab@redhat.com>
34327
34328 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34329 open_by_handle_at.
34330 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34331 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34332 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34333 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34334 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34335 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34336 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34337
748876bf
UD
343382011-04-01 Ulrich Drepper <drepper@gmail.com>
34339
658e451d
UD
34340 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34341 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34342 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34343 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34344 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34345 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34346 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34347
748876bf
UD
34348 * io/Makefile: Compile fallocate.c, fallocate64.c, and
34349 sync_file_range.c with -fexceptions.
34350 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34351 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34352 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34353 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34354 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34355 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34356 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
34357 sync_file_range as cancellation point
34358 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
34359 now a wrapper around __call_sync_file_range with cancellation handling.
34360 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34361 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
34362 function name to __call_sync_file_range.
34363 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34364 Add call_sync_file_range.
748876bf 34365
6e63d5e1
AS
343662011-04-01 Andreas Schwab <schwab@redhat.com>
34367
34368 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 34369 bits/timex.h.
6e63d5e1 34370
46998f74
UD
343712011-04-01 Ulrich Drepper <drepper@gmail.com>
34372
4c1423ed
UD
34373 * iconv/iconv.h: Fix typo in comment.
34374 * io/fcntl.h: Likewise.
34375 * libio/stdio.h: Likewise.
34376 * posix/spawn.h: Likewise.
34377 * posix/unistd.h: Likewise.
34378 * stdlib/stdlib.h: Likewise.
34379 * time/time.h: Likewise.
34380 * wcsmbs/wchar.h: Likewise.
34381
158648c0
UD
34382 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
34383 open_by_handle): Add.
34384 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
34385 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
34386 Augment a few comments.
34387 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34388 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34389 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34390 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34391 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34392 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
34393 open_by_handle.
34394
46998f74
UD
34395 * io/fcntl.h (AT_EMPTY_PATH): Define.
34396
83fe108b
UD
343972011-03-30 Ulrich Drepper <drepper@gmail.com>
34398
34399 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34400 * sysdeps/unix/sysv/linux/bits/time.h: New file.
34401 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34402 to...
34403 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
34404 * Versions.def: Add GLIBC_2.14.
34405 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34406 Export.
83fe108b 34407
bb242059
UD
344082011-03-22 Ulrich Drepper <drepper@gmail.com>
34409
34410 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34411 round counter.
34412 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34413
c97a1282
L
344142011-03-20 H.J. Lu <hongjiu.lu@intel.com>
34415
34416 [BZ #12597]
34417 * string/test-strncmp.c (do_page_test): New function.
34418 (check2): Likewise.
34419 (test_main): Call check2.
34420 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34421
2a115601
UD
344222011-03-20 Ulrich Drepper <drepper@gmail.com>
34423
34424 [BZ #12587]
34425 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34426 Handle cache information in CPU leaf 4.
34427 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34428
8126d904
UD
344292011-03-18 Ulrich Drepper <drepper@gmail.com>
34430
042c49c6 34431 [BZ #12583]
8126d904
UD
34432 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34433 character representation.
34434 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34435
ccfe366e
RA
344362011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
34437
34438 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34439 END(__isnan) to END(__isnanf) to match function entry point/label
34440 EALIGN(__isnanf,...).
34441
c6e13027
JJ
344422011-03-10 Jakub Jelinek <jakub@redhat.com>
34443
34444 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34445
33f85a3f
UD
344462011-03-10 Ulrich Drepper <drepper@gmail.com>
34447
028478fa
UD
34448 [BZ #12510]
34449 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34450 copy from the symbol referenced in the relocation to initialize the
34451 used variable.
34452 Patch by Piotr Bury <pbury@goahead.com>.
34453 * elf/Makefile: Add rules to build and tst-unique3.
34454 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34455 * elf/tst-unique3.cc: New file.
34456 * elf/tst-unique3.h: New file.
34457 * elf/tst-unique3lib.cc: New file.
34458 * elf/tst-unique3lib2.cc: New file.
34459
33f85a3f
UD
34460 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34461
03592fc7
MF
344622011-03-10 Mike Frysinger <vapier@gentoo.org>
34463
34464 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34465 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
34466 to _start.
03592fc7 34467
6a5ee102
UD
344682011-03-06 Ulrich Drepper <drepper@gmail.com>
34469
34470 * elf/dl-load.c (_dl_map_object): If we are looking for the first
34471 to-be-loaded object along a path to loader is ld.so.
34472
7e4ba49c
HJ
344732011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34474 Ulrich Drepper <drepper@gmail.com>
34475
34476 * sysdeps/x86_64/memset.S: After aligning destination, code
34477 branches to different locations depending on the value of
34478 misalignment, when multiarch is enabled. Fix this.
34479
344802011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34481
34482 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34483 Set _x86_64_preferred_memory_instruction for AMD processsors.
34484 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34485 Set bit_Prefer_SSE_for_memop for AMD processors.
34486
13a804de
UD
344872011-03-04 Ulrich Drepper <drepper@gmail.com>
34488
34489 * libio/fmemopen.c (fmemopen): Optimize a bit.
34490
9d25c392
AS
344912011-03-03 Andreas Schwab <schwab@redhat.com>
34492
34493 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34494
a5543c6a
RM
344952011-03-03 Roland McGrath <roland@redhat.com>
34496
34497 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34498
012d35f7
DM
344992011-02-28 Aurelien Jarno <aurelien@aurel32.net>
34500
7e4ba49c 34501 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
34502 __bzero_ultra1 instead of __memset_ultra1.
34503
4bff6e01
AS
345042011-02-23 Andreas Schwab <schwab@redhat.com>
34505 Ulrich Drepper <drepper@gmail.com>
34506
34507 [BZ #12509]
34508 * include/link.h (struct link_map): Add l_orig_initfini.
34509 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34510 returning unsuccessfully.
34511 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34512 close of a file loaded at startup, restore the original l_initfini
34513 list.
34514 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34515 list, store the pointer.
34516 * elf/Makefile ($(objpfx)noload-mem): New rule.
34517 (noload-ENV): Define.
34518 (tests): Add $(objpfx)noload-mem.
34519 * elf/noload.c: Include <memcheck.h>.
34520 (main): Call mtrace. Close all opened handles.
34521
f2092faf
AS
345222011-02-17 Andreas Schwab <schwab@redhat.com>
34523
34524 [BZ #12454]
34525 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34526 dependencies are missing.
34527
6c8a2e88
ST
345282011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34529
f2092faf 34530 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
34531 Hurd needs munmap.
34532 * sysdeps/mach/hurd/ifreq.h: New file.
34533
84a42118
PB
345342011-01-27 Petr Baudis <pasky@suse.cz>
34535 Ulrich Drepper <drepper@gmail.com>
34536
071f805e 34537 [BZ 12445]#
84a42118
PB
34538 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34539 to extend_alloca().
34540 * stdio-common/bug23.c: New file.
34541 * stdio-common/Makefile (tests): Add bug23.
34542
e23fe25b
AS
345432010-09-28 Andreas Schwab <schwab@redhat.com>
34544 Ulrich Drepper <drepper@gmail.com>
34545
34546 [BZ #12489]
34547 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34548 before performing relro protection. At old place add assertion
34549 to make sure nothing changed.
34550
d3f02e10
NS
345512011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34552 Glauber de Oliveira Costa <glommer@gmail.com>
34553
34554 * elf/elf.h: Add new ARM TLS relocs.
34555
d55fd7a5
RA
345562011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34557
34558 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34559 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34560 cast from r3.
34561 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34562 'tests' variable.
34563 * sysdeps/wordsize-64/tst-writev.c: New file.
34564
2206397e
RA
345652011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34566
34567 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34568 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34569 insns in _dl_start to prevent a TOC reference before relocs are
34570 resolved.
34571
e9433893
UD
345722011-02-15 Ulrich Drepper <drepper@gmail.com>
34573
34574 [BZ #12469]
34575 * Makeconfig: Remove RANLIB definition.
34576 * Makerules: Don't use RANLIB.
34577 * aclocal.m4: Remove ranlib test.
34578 * configure.in: No need to check for ranlib.
34579 * elf/rtld-Rules: Don't use RANLIB.
34580
f75286c6
ST
345812011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34582
8e31c82d
ST
34583 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34584 protection macro.
34585 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34586 inclusion protection macro.
34587
f75286c6
ST
34588 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34589 SIGRTMIN and SIGRTMAX and print information in that case only when
34590 SIGRTMIN is defined.
34591
c1d0e639
JJ
345922011-02-11 Jakub Jelinek <jakub@redhat.com>
34593
34594 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34595 arginfo fn returning -1.
34596
34597 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34598 and thousands string is zero terminated.
34599
edf9294e
AS
346002011-02-03 Andreas Schwab <schwab@redhat.com>
34601
34602 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34603 sysdeps/unix/sysv/linux/bits/socket.h.
34604
2b7e92df
ST
346052011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34606
edf9294e
AS
34607 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34608 (__CPU_COUNT): Remove old macros.
34609 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34610 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34611 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
34612 (__sched_cpualloc, __sched_cpufree): Add declarations.
34613
a4c7ea7b
UD
346142011-02-05 Ulrich Drepper <drepper@gmail.com>
34615
34616 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34617 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34618 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34619 (readdhstai): Return value of addhstaiX call.
34620 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34621 (addgrbyX): Return value returned by cache_addgr.
34622 (readdgrbyname): Return value returned by addgrbyX.
34623 (readdgrbygid): Likewise.
34624 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34625 (addpwbyX): Return value returned by cache_addpw.
34626 (readdpwbyname): Return value returned by addhstbyX.
34627 (readdpwbyuid): Likewise.
34628 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34629 (addservbyX): Return value returned by cache_addserv.
34630 (readdservbyname): Return value returned by addservbyX:
34631 (readdservbyport): Likewise.
34632 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34633 (addhstbyX): Return value returned by cache_addhst.
34634 (readdhstbyname): Return value returned by addhstbyX.
34635 (readdhstbyaddr): Likewise.
34636 (readdhstbynamev6): Likewise.
34637 (readdhstbyaddrv6): Likewise.
34638 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34639 (readdinitgroups): Return value returned by addinitgroupsX.
34640 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34641 (prune_cache): Keep track of timeout value of re-added entries.
34642 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34643 * nscd/nscd.h: Adjust prototypes of readd* functions.
34644
a0bf67cc
RM
346452011-02-04 Roland McGrath <roland@redhat.com>
34646
34647 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34648 (nis_stats): Likewise.
34649 * nis/nis_modify.c (nis_modify): Likewise.
34650 * nis/nis_remove.c (nis_remove): Likewise.
34651 * nis/nis_add.c (nis_add): Likewise.
34652
34653 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34654
34655 * posix/fnmatch_loop.c: Add some consts.
34656
34657 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34658
435b95eb
L
346592011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34660
34661 [BZ #12460]
34662 * config.make.in (config-cflags-novzeroupper): Define.
34663 * configure.in: Substitute libc_cv_cc_novzeroupper.
34664 * elf/Makefile (AVX-CFLAGS): Define.
34665 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34666 (CFLAGS-tst-auditmod4a.c): Likewise.
34667 (CFLAGS-tst-auditmod4b.c): Likewise.
34668 (CFLAGS-tst-auditmod6b.c): Likewise.
34669 (CFLAGS-tst-auditmod6c.c): Likewise.
34670 (CFLAGS-tst-auditmod7b.c): Likewise.
34671 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34672
8517b15e
UD
346732011-02-02 Ulrich Drepper <drepper@gmail.com>
34674
34675 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34676 function to the callback.
34677 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34678
10a656fe
AS
346792011-02-02 Andreas Schwab <schwab@redhat.com>
34680
34681 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34682 of errno.
34683
968dad0a
UD
346842011-01-19 Ulrich Drepper <drepper@gmail.com>
34685
9f94d2ea 34686 [BZ #11724]
968dad0a
UD
34687 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34688 of constructors.
34689 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34690 of destructors.
34691 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34692
34693 [BZ #11724]
34694 * elf/Makefile: Add rules to build and run new test.
34695 * elf/tst-initorder.c: New file.
34696 * elf/tst-initorder.exp: New file.
34697 * elf/tst-initordera1.c: New file.
34698 * elf/tst-initordera2.c: New file.
34699 * elf/tst-initordera3.c: New file.
34700 * elf/tst-initordera4.c: New file.
34701 * elf/tst-initorderb1.c: New file.
34702 * elf/tst-initorderb2.c: New file.
34703 * elf/tst-order-a1.c: New file.
34704 * elf/tst-order-a2.c: New file.
34705 * elf/tst-order-a3.c: New file.
34706 * elf/tst-order-a4.c: New file.
34707 * elf/tst-order-b1.c: New file.
34708 * elf/tst-order-b2.c: New file.
34709 * elf/tst-order-main.c: New file.
34710 New test case by George Gensure <werkt0@gmail.com>.
34711
86e92359
UD
347122010-10-01 Andreas Schwab <schwab@redhat.com>
34713
34714 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34715 decoding ACE if AI_CANONIDN.
34716
5d5732b0
UD
347172011-01-18 Ulrich Drepper <drepper@gmail.com>
34718
34719 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34720
a77e8cbc
UD
347212011-01-17 Ulrich Drepper <drepper@gmail.com>
34722
6392473f
UD
34723 * version.h (RELEASE): Bump for 2.13 release.
34724 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34725
620a0529
UD
34726 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34727
18ba70a5
UD
34728 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34729 MADV_NOHUGEPAGE.
32465c3e
UD
34730 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34731 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34732 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34733 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34734 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34735 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34736
c0dafcf1
UD
34737 * posix/getconf.c: Update copyright year.
34738 * catgets/gencat.c: Likewise.
34739 * csu/version.c: Likewise.
34740 * debug/catchsegv.sh: Likewise.
34741 * debug/xtrace.sh: Likewise.
34742 * elf/ldconfig.c: Likewise.
34743 * elf/ldd.bash.in: Likewise.
34744 * elf/sprof.c (print_version): Likewise.
34745 * iconv/iconv_prog.c: Likewise.
34746 * iconv/iconvconfig.c: Likewise.
34747 * locale/programs/locale.c: Likewise.
34748 * locale/programs/localedef.c: Likewise.
34749 * malloc/memusage.sh: Likewise.
34750 * malloc/mtrace.pl: Likewise.
34751 * nscd/nscd.c (print_version): Likewise.
34752 * nss/getent.c: Likewise.
34753
a77e8cbc
UD
34754 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34755 PF_CAIF, and PF_ALG.
34756 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34757
77e8bddf
AS
347582011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34759
1f20b93a
AS
34760 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34761 (modules-names): Use them.
34762 (ifunc-test-modules, ifunc-pie-tests): Define.
34763 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34764 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34765 (test-extras): Likewise.
34766 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34767 $(compile-command.c).
34768 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34769 (all-built-dso): Define.
34770 (check-textrel.out, check-execstack.out): Depend on it.
34771
77e8bddf
AS
34772 * configure.in: Don't override --enable-multi-arch.
34773
bc425b33
UD
347742011-01-15 Ulrich Drepper <drepper@gmail.com>
34775
34776 [BZ #6812]
34777 * nscd/hstcache.c (tryagain): Define.
34778 (cache_addhst): Return tryagain not notfound for temporary errors.
34779 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34780 failed.
34781
794c3ad3
UD
347822011-01-14 Ulrich Drepper <drepper@gmail.com>
34783
70181fdd
UD
34784 [BZ #10563]
34785 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34786 to make the syscall.
34787 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34788
794c3ad3
UD
34789 [BZ #12378]
34790 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34791 and fall back to matching as normal character if the string ends before
34792 the matching ']' is found. This is what POSIX requires.
34793 * posix/testfnm.c: Adjust test result.
34794 * posix/globtest.sh: Adjust test result. Add new test.
34795 * posix/tst-fnmatch.input: Likewise.
34796 * posix/tst-fnmatch2.c: Add new test.
34797
68dc9497
AS
347982010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34799
34800 * elf/Makefile (check-execstack): Revert last change. Depend on
34801 check-execstack.h.
34802 (check-execstack.h): New target.
34803 (generated): Add check-execstack.h.
34804 * elf/check-execstack.c: Include "check-execstack.h".
34805 (main): Revert last change.
34806 (handle_file): Return zero if GNU_STACK is absent and
34807 DEFAULT_STACK_PERMS doesn't include PF_X.
34808
451f001b
UD
348092011-01-13 Ulrich Drepper <drepper@gmail.com>
34810
cfa28e56
UD
34811 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34812 in child fails because the descriptor is already closed.
8cf8ce17
UD
34813 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34814 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34815 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 34816
1086d70d
UD
34817 [BZ #12397]
34818 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34819 syscall.
34820
451f001b
UD
34821 [BZ #10484]
34822 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34823 temporary buffer used to handle multi lookups locally.
a85b5cb4 34824 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 34825
08769175
UD
348262011-01-12 Ulrich Drepper <drepper@gmail.com>
34827
34828 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34829 loader is ld.so.
34830
5e49c52e
UD
348312011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34832
34833 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34834 alignment for SSE2.
34835
60522a5f
UD
348362011-01-12 Ulrich Drepper <drepper@gmail.com>
34837
34838 [BZ #12394]
34839 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34840 characters. When rounding increased number of integer digits recompute
34841 number of groups.
34842 * stdio-common/tst-grouping.c: New file.
34843 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34844
f257bbd7
UD
348452011-01-09 Ulrich Drepper <drepper@gmail.com>
34846
34847 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34848 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34849
34850 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34851 void.
34852 * bits/select.h: Likewise.
34853
fa9c15cb
UD
348542011-01-08 Ulrich Drepper <drepper@gmail.com>
34855
34856 * po/ja.po: Update from translation team.
34857
16c2895f
DM
348582011-01-04 David S. Miller <davem@sunset.davemloft.net>
34859
34860 [BZ #11155]
34861 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34862 implementation just like for lxstat, fxstatat, et al.
34863
2543fef2
JM
348642010-12-27 Jim Meyering <meyering@redhat.com>
34865
34866 [BZ #12348]
34867 * posix/regexec.c (build_trtable): Return failure indication upon
34868 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34869
98727dbe
UD
348702010-12-25 Ulrich Drepper <drepper@gmail.com>
34871
5bd6dc5c
UD
34872 [BZ #12201]
34873 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34874 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34875 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34876 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34877
97983464
UD
34878 [BZ #12207]
34879 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34880
98727dbe
UD
34881 [BZ #12204]
34882 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34883 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34884
4a531bb0
L
348852010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34886
34887 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34888 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34889 script has SORT_BY_INIT_PRIORITY.
34890 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34891 NO_CTORS_DTORS_SECTIONS is defined.
34892 * elf/soinit.c: Likewise.
34893 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34894 NO_CTORS_DTORS_SECTIONS is defined.
34895 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34896 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34897 * sysdeps/sh/init-first.c: Likewise.
34898 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34899
07eb4b71
UD
349002010-12-24 Ulrich Drepper <drepper@gmail.com>
34901
34902 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34903 always use the slow path.
34904
30950a5f
RA
349052010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34906
34907 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34908 similar rule which adds the sysdep directories to the header search in
34909 order to pick up the correct platform stackinfo.h.
34910 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34911 perform test if it is, otherwise return successfully without testing.
34912 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34913 DEFAULT_STACK_PERMS define in stackinfo.h.
34914 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34915 defined in stackinfo.h.
34916 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34917 DEFAULT_STACK_PERMS defined in stackinfo.h.
34918 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34919 * sysdeps/ia64/stackinfo.h: Likewise.
34920 * sysdeps/s390/stackinfo.h: Likewise.
34921 * sysdeps/sh/stackinfo.h: Likewise.
34922 * sysdeps/sparc/stackinfo.h: Likewise.
34923 * sysdeps/x86_64/stackinfo.h: Likewise.
34924 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34925 PF_X for powerpc64. Retain PF_X for powerpc32.
34926
db753e2c
UD
349272010-12-19 Ulrich Drepper <drepper@gmail.com>
34928
14b697f7
UD
34929 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34930 accurately.
db753e2c
UD
34931 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34932 GETDENTS_64BIT_ALIGNED.
34933
28300719
UD
349342010-12-14 Ulrich Drepper <dreper@gmail.com>
34935
14b697f7 34936 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 34937
4f197237
AS
349382010-12-10 Andreas Schwab <schwab@redhat.com>
34939
dbb0472f
AS
34940 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34941 _GNU_SOURCE.
34942
4f197237
AS
34943 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34944 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34945 Remove __restrict.
34946 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34947 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34948
fb88ac72
UD
349492010-12-09 Ulrich Drepper <drepper@gmail.com>
34950
34951 [BZ #11655]
34952 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34953 are initialized.
34954
42acbb92
JJ
349552010-12-09 Jakub Jelinek <jakub@redhat.com>
34956
34957 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34958
c038d98d
UD
349592010-12-03 Ulrich Drepper <drepper@gmail.com>
34960
34961 * po/it.po: Update from translation team.
34962
3a4a2499
L
349632010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34964
34965 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34966 unused codes.
34967
1e24cf6e
UD
349682010-11-30 Ulrich Drepper <drepper@gmail.com>
34969
34970 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34971
a7690819
AS
349722010-11-24 Andreas Schwab <schwab@redhat.com>
34973
34974 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
34975 specially.
34976 (gaih_getanswer_slice): Likewise.
34977
3bf8d1b1
JJ
349782010-10-20 Jakub Jelinek <jakub@redhat.com>
34979
34980 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
34981
6db52fbb
PB
349822010-05-31 Petr Baudis <pasky@suse.cz>
34983
34984 [BZ #11149]
34985 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
34986 silently even in the chroot mode.
34987
eaca7569
UD
349882010-11-22 Ulrich Drepper <drepper@gmail.com>
34989
34990 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
34991 last patch a bit. Pretty printing
34992
3056dcdb
UD
349932010-05-31 Petr Baudis <pasky@suse.cz>
34994
34995 [BZ #10085]
34996 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
34997 initialization of skip_initgroups_dyn.
34998
cf7c9078
UD
349992010-11-19 Ulrich Drepper <drepper@gmail.com>
35000
35001 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35002 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35003
a1fb5e3e
UD
350042010-11-16 Ulrich Drepper <drepper@gmail.com>
35005
35006 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35007
3540d66b
AS
350082010-11-11 Andreas Schwab <schwab@redhat.com>
35009
35010 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35011 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35012 (tst-fnmatch-ENV): Set MALLOC_TRACE.
35013 ($(objpfx)tst-fnmatch-mem): New rule.
35014 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35015 * posix/tst-fnmatch.c (main): Call mtrace.
35016
13b69574
L
350172010-11-11 H.J. Lu <hongjiu.lu@intel.com>
35018
35019 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35020 Support Intel processor model 6 and model 0x2c.
35021
da93d214
LM
350222010-11-10 Luis Machado <luisgpm@br.ibm.com>
35023
35024 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35025 signed comparison.
35026
8ca52c6e
L
350272010-11-09 H.J. Lu <hongjiu.lu@intel.com>
35028
35029 [BZ #12205]
35030 * string/test-strncasecmp.c (check_result): New function.
35031 (do_one_test): Use it.
35032 (check1): New function.
35033 (test_main): Use it.
35034 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35035 Support strcasecmp and strncasecmp.
35036
69da074d
UD
350372010-11-08 Ulrich Drepper <drepper@gmail.com>
35038
35039 [BZ #12194]
35040 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35041 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35042
ff02d528
L
350432010-11-07 H.J. Lu <hongjiu.lu@intel.com>
35044
35045 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35046 IFUNC support.
35047 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35048 memset-x86-64.
35049 * sysdeps/x86_64/multiarch/bzero.S: New file.
35050 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35051 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35052 * sysdeps/x86_64/multiarch/memset.S: New file.
35053 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35054 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35055 Set bit_Prefer_SSE_for_memop for Intel processors.
35056 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35057 Define.
35058 (index_Prefer_SSE_for_memop): Define.
35059 (HAS_PREFER_SSE_FOR_MEMOP): Define.
35060
344d0b54
LM
350612010-11-04 Luis Machado <luisgpm@br.ibm.com>
35062
35063 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35064 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35065
c0dde15b
UD
350662010-11-03 H.J. Lu <hongjiu.lu@intel.com>
35067
35068 [BZ #12191]
35069 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35070 (__x86_64_raw_data_cache_size_half): Likewise.
35071 (__x86_64_raw_shared_cache_size): Likewise.
35072 (__x86_64_raw_shared_cache_size_half): Likewise.
35073
35074 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35075 (__x86_64_raw_data_cache_size_half): Likewise.
35076 (__x86_64_raw_shared_cache_size): Likewise.
35077 (__x86_64_raw_shared_cache_size_half): Likewise.
35078 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35079 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35080 and __x86_64_raw_shared_cache_size_half. Round
35081 __x86_64_data_cache_size_half, __x86_64_data_cache_size
35082 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35083 to multiple of 256 bytes.
35084
0e516e0e
MS
350852010-11-03 Ulrich Drepper <drepper@gmail.com>
35086
35087 [BZ #12167]
35088 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35089 of inacessible symlinks. Verify result of symlink before returning it.
35090 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35091 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35092
0e012e87
ER
350932010-10-28 Erich Ritz <erichritz@gmail.com>
35094
35095 * math/math.h (isinf): Fix typo in comment.
35096
de0ff7bc
UD
350972010-11-01 Ulrich Drepper <drepper@gmail.com>
35098
35099 * po/da.po: Update from translation team.
35100
fa41c84d
UD
351012010-10-26 Ulrich Drepper <drepper@gmail.com>
35102
35103 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35104 is added to the list.
35105
f0967738
AK
351062010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35107 Ulrich Drepper <drepper@gmail.com>
35108
35109 * elf/dl-object.c (_dl_new_object): Don't append the new object to
35110 the global list here. Move code to...
35111 (_dl_add_to_namespace_list): ...here. New function.
35112 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35113 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35114 * elf/dl-load.c (lose): Don't remove the element from the list.
35115 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35116 (_dl_map_object): Likewise.
35117
351182010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
35119
35120 [BZ #12159]
35121 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35122 into all bytes of SSE register.
35123 Patch by Richard Li <richardpku@gmail.com>.
35124
f0967738 351252010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
35126
35127 [BZ #12140]
35128 * malloc/malloc.c (_int_free): Fill correct number of bytes when
35129 perturbing.
35130
d0b9e94f
MB
351312010-10-20 Michael B. Brutman <brutman@us.ibm.com>
35132
35133 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35134 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35135 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35136 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35138 submachine.
35139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35140
8e9f92e9
AS
351412010-10-22 Andreas Schwab <schwab@redhat.com>
35142
35143 * include/dlfcn.h (__RTLD_SECURE): Define.
35144 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
35145 mode & __RTLD_SECURE instead.
35146 (open_path): Rename preloaded parameter to secure.
35147 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35148 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35149 * elf/dl-deps.c (openaux): Likewise.
35150 * elf/rtld.c (struct map_args): Remove is_preloaded.
35151 (map_doit): Don't use it.
35152 (dl_main): Likewise.
35153 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35154 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35155
bc96fbda
AS
351562010-09-09 Andreas Schwab <schwab@redhat.com>
35157
35158 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35159 (sysd-rules-targets): Remove duplicates.
35160 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35161 rtld-%.$o dependency.
35162
22cd1c9b
AS
351632010-10-18 Andreas Schwab <schwab@redhat.com>
35164
35165 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35166 _dl_map_object do it.
35167
18edac48
UD
351682010-10-19 Ulrich Drepper <drepper@gmail.com>
35169
35170 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35171 fast fma builtins, define the macros in the C99 standard.
35172 (FP_FAST_FMAF): Likewise.
35173 (FP_FAST_FMAL): Likewise.
35174 * sysdeps/x86_64/bits/mathdef.h: Likewise.
35175
35176 * bits/mathdef.h: Update copyright year.
35177 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35178
d2050124
MM
351792010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
35180
35181 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35182 builtins, define the macros in the C99 standard.
35183 (FP_FAST_FMAF): Likewise.
35184 (FP_FAST_FMAL): Likewise.
35185 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35186 multiply/add.
35187 (FP_FAST_FMAF): Likewise.
35188
475facd1
JJ
351892010-10-15 Jakub Jelinek <jakub@redhat.com>
35190
35191 [BZ #3268]
35192 * math/libm-test.inc (fma_test): Some new testcases.
35193 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35194 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35195 y and infinite z. Do multiplication by C already in long double.
35196 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35197 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35198 y and infinite z. Do bitwise or of inexact bit into u.d.
35199 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35200 * sysdeps/i386/fpu/s_fmaf.S: Removed.
35201 * sysdeps/i386/fpu/s_fma.S: Removed.
35202 * sysdeps/i386/fpu/s_fmal.S: Removed.
35203
7c08a05c
JJ
352042010-10-16 Jakub Jelinek <jakub@redhat.com>
35205
35206 [BZ #3268]
35207 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35208 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35209 computation is not scheduled after fetestexcept. Fix value
35210 of minimum denormal long double.
35211
f3f7372d
JJ
352122010-10-14 Jakub Jelinek <jakub@redhat.com>
35213
35214 [BZ #3268]
35215 * math/libm-test.inc (fma_test): Add some more tests.
35216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35217 correctly.
35218
14d43591
AS
352192010-10-15 Andreas Schwab <schwab@redhat.com>
35220
35221 * scripts/data/localplt-s390-linux-gnu.data: New file.
35222 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35223
5e908464
JJ
352242010-10-13 Jakub Jelinek <jakub@redhat.com>
35225
35226 [BZ #3268]
35227 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35228 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35229 instead of dbl-64.
35230 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35231 inlines.
35232 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35233 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35234 if one of x and y is very large and the other is subnormal.
35235 * sysdeps/s390/fpu/s_fmaf.c: New file.
35236 * sysdeps/s390/fpu/s_fma.c: New file.
35237 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35238 * sysdeps/powerpc/fpu/s_fma.S: New file.
35239 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35240 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35241 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35242
352432010-10-12 Jakub Jelinek <jakub@redhat.com>
35244
35245 [BZ #3268]
35246 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35247 fma tests.
35248 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35249 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35250 * sysdeps/i386/i686/multiarch/s_fma.c: Include
35251 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35252 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35253 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35254 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35255
b833d51f
UD
352562010-10-12 Ulrich Drepper <drepper@redhat.com>
35257
35258 [BZ #12078]
35259 * posix/regcomp.c (parse_branch): One more memory leak plugged.
35260 * posix/bug-regex31.input: Add test case.
35261
1751705d
UD
352622010-10-11 Ulrich Drepper <drepper@gmail.com>
35263
e9b9cbf5
UD
35264 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35265 * posix/bug-regex31.input: New file.
35266
35267 [BZ #12078]
35268 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35269 (parse_sub_exp): Fix last change, use postorder.
35270
ef06edbe
UD
35271 * posix/bug-regex31.c: New file.
35272 * posix/Makefile: Add rules to build and run bug-regex31.
35273
a129c80d
UD
35274 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35275
35276 [BZ #12078]
35277 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35278
b76b818e
UD
35279 [BZ #12108]
35280 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35281 to have entries in sys_siglist.
35282
1751705d
UD
35283 [BZ #12093]
35284 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35285 be NULL.
35286
9ff8d36f
JJ
352872010-10-07 Jakub Jelinek <jakub@redhat.com>
35288
35289 [BZ #3268]
35290 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35291 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35292 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35293 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35294 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35295 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35296 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35297 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35298 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35299 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35300 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35301 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35302 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35303 * math/ftestexcept.c (fetestexcept): Likewise.
35304 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35305 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35306 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35307 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35308 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35309 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35310 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35311
af325969
UD
353122010-10-11 Ulrich Drepper <drepper@gmail.com>
35313
c579b202 35314 [BZ #12107]
af325969
UD
35315 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35316 newline.
35317
67a67b95
UD
353182010-10-06 Ulrich Drepper <drepper@gmail.com>
35319
35320 * string/bug-strstr1.c: New file.
35321 * string/Makefile: Add rules to build and run bug-strstr1.
35322
5fb308bc
EB
353232010-10-05 Eric Blake <eblake@redhat.com>
35324
35325 [BZ #12092]
35326 * string/str-two-way.h (two_way_long_needle): Always clear memory
35327 when skipping input due to the shift table.
35328
45db99c7
UD
353292010-10-03 Ulrich Drepper <drepper@gmail.com>
35330
3b111893
UD
35331 [BZ #12005]
35332 * malloc/mcheck.c: Handle large requests.
35333
45db99c7
UD
35334 [BZ #12077]
35335 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35336 for strncmp and strncasecmp.
35337 * string/stratcliff.c: Add tests for strcmp and strncmp.
35338 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35339
cf7a1eb8
NI
353402010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35341
35342 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35343 __set_fpscr.
35344
6484ba5e
AJ
353452010-09-30 Andreas Jaeger <aj@suse.de>
35346
35347 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35348 (CGROUP_SUPER_MAGIC): Define.
35349 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35350 Handle btrfs and cgroup file systems.
35351 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35352 Likewise.
35353
91c42559
LM
353542010-09-27 Luis Machado <luisgpm@br.ibm.com>
35355
35356 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35357 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35358
87a97932
AK
353592010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35360
35361 [BZ #12067]
35362 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35363 trying to locate the ELF header.
35364
c21cc9bc
AS
353652010-09-27 Andreas Schwab <schwab@redhat.com>
35366
35367 [BZ #11611]
35368 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35369 Mask out sign-bit copies when constructing f_fsid.
35370
315970f6
PB
353712010-09-24 Petr Baudis <pasky@suse.cz>
35372
35373 * debug/stack_chk_fail_local.c: Add missing licence exception.
35374 * debug/warning-nop.c: Likewise.
35375
1ac7a2c7
JM
353762010-09-15 Joseph Myers <joseph@codesourcery.com>
35377
35378 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35379 implementing getdents64 using getdents syscall, set d_type if
35380 __ASSUME_GETDENTS32_D_TYPE.
35381
56801c50
AS
353822010-09-16 Andreas Schwab <schwab@redhat.com>
35383
35384 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35385 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35386
dda51327
UD
353872010-09-21 Ulrich Drepper <drepper@redhat.com>
35388
35389 [BZ #12037]
35390 * posix/unistd.h: Undo change of feature selection for ftruncate from
35391 2010-01-11.
35392
8ffcee4a
UD
353932010-09-20 Ulrich Drepper <drepper@redhat.com>
35394
a545ecd9 35395 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
35396 detection.
35397
e24f0a8b
AS
353982010-09-20 Andreas Schwab <schwab@redhat.com>
35399
35400 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35401 fanotify_mark.
35402 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35403
7291c56f
AS
354042010-09-14 Andreas Schwab <schwab@redhat.com>
35405
35406 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35407 variables after CHECK_SP call.
35408 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35409
bc5fb037
AS
354102010-09-13 Andreas Schwab <schwab@redhat.com>
35411 Ulrich Drepper <drepper@redhat.com>
35412
35413 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35414 re-relocationg ld.so.
35415 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35416 _dl_init_paths call.
35417 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
35418 here anymore.
35419
e66e7419
UD
354202010-09-14 Ulrich Drepper <drepper@redhat.com>
35421
35422 * resolv/res_init.c (__res_vinit): Count the default server we added.
35423
c044aa75
CLT
354242010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
35425 Ulrich Drepper <drepper@redhat.com>
35426
35427 [BZ #11968]
35428 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35429 (____longjmp_chk): Use %ebx for saving value across system call.
35430 Add unwind info.
35431
32cf4069
AS
354322010-09-06 Andreas Schwab <schwab@redhat.com>
35433
35434 * manual/Makefile: Don't mix pattern rules with normal rules.
35435
817328ee
AS
354362010-09-05 Andreas Schwab <schwab@linux-m68k.org>
35437
35438 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35439 operation.
35440 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35441 * libio/iofopncook.c (_IO_cookie_init): Likewise.
35442 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35443 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35444 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35445 Likewise.
35446
29fddf61
UD
354472010-09-04 Ulrich Drepper <drepper@redhat.com>
35448
35449 [BZ #11979]
35450 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35451 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35452
0959ffc9
UD
354532010-09-02 Ulrich Drepper <drepper@redhat.com>
35454
35455 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35456 * sysdeps/x86_64/addmul_1.S: Likewise.
35457 * sysdeps/x86_64/lshift.S: Likewise.
35458 * sysdeps/x86_64/mul_1.S: Likewise.
35459 * sysdeps/x86_64/rshift.S: Likewise.
35460 * sysdeps/x86_64/sub_n.S: Likewise.
35461 * sysdeps/x86_64/submul_1.S: Likewise.
35462
ece29840
ST
354632010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
35464
0959ffc9
UD
35465 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35466 Define __sched_param instead of SCHED_* and sched_param when
ece29840 35467 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 35468 * bits/sched.h [__need_schedparam]
ece29840 35469 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
35470 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35471 (__defined_schedparam): Define to 1.
ece29840
ST
35472 (__sched_param): New structure, identical to sched_param.
35473 (__need_schedparam): Undefine.
35474
e53a31fe
MF
354752010-08-31 Mike Frysinger <vapier@gentoo.org>
35476
fdc0c10d
MF
35477 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35478 (epoll_create1): Declare.
35479
e53a31fe
MF
35480 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35481
a726d796
AS
354822010-08-31 Andreas Schwab <schwab@redhat.com>
35483
35484 [BZ #7066]
35485 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35486 shifting retval into place.
35487
2f3e3dc7
UD
354882010-09-01 Ulrich Drepper <drepper@redhat.com>
35489
f2933da9
UD
35490 * nis/rpcsvc/nis.h: Update copyright notice.
35491 * nis/rpcsvc/nis.x: Likewise.
35492 * nis/rpcsvc/nis_callback.h: Likewise.
35493 * nis/rpcsvc/nis_callback.x: Likewise.
35494 * nis/rpcsvc/nis_object.x: Likewise.
35495 * nis/rpcsvc/nis_tags.h: Likewise.
35496 * nis/rpcsvc/yp.h: Likewise.
35497 * nis/rpcsvc/yp.x: Likewise.
35498 * nis/rpcsvc/ypupd.h: Likewise.
35499 * nis/yp_xdr.c: Likewise.
35500 * nis/ypupdate_xdr.c: Likewise.
35501
2f3e3dc7
UD
35502 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
35503 mainly the body of pmap_getport. Add parameters to specify timeouts.
35504 (pmap_getport): Use __libc_rpc_getport.
35505 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35506 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35507 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35508
f3dcc2f9
AS
355092010-08-31 Andreas Schwab <schwab@linux-m68k.org>
35510
35511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35512 fanotify_mark.
35513
6d34eb5b
RM
355142010-08-27 Roland McGrath <roland@redhat.com>
35515
35516 * sysdeps/i386/i686/multiarch/Makefile
35517 (CFLAGS-varshift.c): New variable.
35518
9ea3de11
UD
355192010-08-27 Ulrich Drepper <drepper@redhat.com>
35520
c96d23fc
UD
35521 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35522 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35523
9ea3de11
UD
35524 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35525
35526 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35527
623aac7f
L
355282010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35529
35530 * sysdeps/x86_64/strlen.S: Unroll the loop.
35531 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35532 strlen-sse2 strlen-sse2-bsf.
35533 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35534 __strlen_no_bsf if bit_Slow_BSF is set.
35535 (__strlen_sse42): Removed.
35536 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35537 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35538
8b2b7715
RM
355392010-08-25 Roland McGrath <roland@redhat.com>
35540
35541 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35542 * sysdeps/x86_64/multiarch/varshift.c: New file.
35543 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35544 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35545 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35546 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35547
e73015f2
L
355482010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35549
35550 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35551 strlen-sse2 strlen-sse2-bsf.
35552 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35553 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35554 (__strlen_sse2): Removed.
35555 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35556 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35558 bit_Slow_BSF for Atom.
35559 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35560 (index_Slow_BSF): Define.
35561 (HAS_SLOW_BSF): Define.
35562
df24a73e
UD
355632010-08-25 Ulrich Drepper <drepper@redhat.com>
35564
35565 [BZ #10851]
35566 * resolv/res_init.c (__res_vinit): When no server address at all
35567 is given default to loopback.
35568
f2ac4868
RM
355692010-08-24 Roland McGrath <roland@redhat.com>
35570
09055553
RM
35571 * configure.in: Remove config-name.h generation.
35572 * configure: Regenerated.
35573 * config-name.in: File removed.
35574 * scripts/config-uname.sh: New file.
35575 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35576 ($(objdir)config-name.h): New target.
35577
f2ac4868
RM
35578 * sunrpc/rpc_parse.h: Avoid nested comment.
35579
73f27d5e
RH
355802010-08-24 Richard Henderson <rth@redhat.com>
35581 Ulrich Drepper <drepper@redhat.com>
35582 H.J. Lu <hongjiu.lu@intel.com>
35583
35584 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35585 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35586 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35587 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35588 _mm_alignr_epi8 with _mm_loadu_si128.
35589 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35590 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35591 (__m128i_shift_right): Removed.
35592 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35593 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35594 * sysdeps/x86_64/multiarch/varshift.h: New file.
35595 * sysdeps/x86_64/multiarch/varshift.S: New file.
35596
84b9230c
MF
355972010-08-21 Mike Frysinger <vapier@gentoo.org>
35598
35599 * configure.in: Move assembler checks to before sysdep dir checking.
35600
9bbd0ddc
PB
356012010-08-20 Petr Baudis <pasky@suse.cz>
35602
35603 * LICENSES: Sync the sunrpc license.
35604
9da4bb31
UD
356052010-08-19 Ulrich Drepper <drepper@redhat.com>
35606
a7ab6ec8
UD
35607 * sunrpc/auth_des.c: Update copyright notice once again.
35608 * sunrpc/auth_none.c: Likewise.
35609 * sunrpc/auth_unix.c: Likewise.
35610 * sunrpc/authdes_prot.c: Likewise.
35611 * sunrpc/authuxprot.c: Likewise.
35612 * sunrpc/bindrsvprt.c: Likewise.
35613 * sunrpc/clnt_gen.c: Likewise.
35614 * sunrpc/clnt_perr.c: Likewise.
35615 * sunrpc/clnt_raw.c: Likewise.
35616 * sunrpc/clnt_simp.c: Likewise.
35617 * sunrpc/clnt_tcp.c: Likewise.
35618 * sunrpc/clnt_udp.c: Likewise.
35619 * sunrpc/clnt_unix.c: Likewise.
35620 * sunrpc/des_crypt.c: Likewise.
35621 * sunrpc/des_soft.c: Likewise.
35622 * sunrpc/get_myaddr.c: Likewise.
35623 * sunrpc/getrpcport.c: Likewise.
35624 * sunrpc/key_call.c: Likewise.
35625 * sunrpc/key_prot.c: Likewise.
35626 * sunrpc/openchild.c: Likewise.
35627 * sunrpc/pm_getmaps.c: Likewise.
35628 * sunrpc/pm_getport.c: Likewise.
35629 * sunrpc/pmap_clnt.c: Likewise.
35630 * sunrpc/pmap_prot.c: Likewise.
35631 * sunrpc/pmap_prot2.c: Likewise.
35632 * sunrpc/pmap_rmt.c: Likewise.
35633 * sunrpc/rpc/auth.h: Likewise.
35634 * sunrpc/rpc/auth_unix.h: Likewise.
35635 * sunrpc/rpc/clnt.h: Likewise.
35636 * sunrpc/rpc/des_crypt.h: Likewise.
35637 * sunrpc/rpc/key_prot.h: Likewise.
35638 * sunrpc/rpc/netdb.h: Likewise.
35639 * sunrpc/rpc/pmap_clnt.h: Likewise.
35640 * sunrpc/rpc/pmap_prot.h: Likewise.
35641 * sunrpc/rpc/pmap_rmt.h: Likewise.
35642 * sunrpc/rpc/rpc.h: Likewise.
35643 * sunrpc/rpc/rpc_des.h: Likewise.
35644 * sunrpc/rpc/rpc_msg.h: Likewise.
35645 * sunrpc/rpc/svc.h: Likewise.
35646 * sunrpc/rpc/svc_auth.h: Likewise.
35647 * sunrpc/rpc/types.h: Likewise.
35648 * sunrpc/rpc/xdr.h: Likewise.
35649 * sunrpc/rpc_clntout.c: Likewise.
35650 * sunrpc/rpc_cmsg.c: Likewise.
35651 * sunrpc/rpc_common.c: Likewise.
35652 * sunrpc/rpc_cout.c: Likewise.
35653 * sunrpc/rpc_dtable.c: Likewise.
35654 * sunrpc/rpc_hout.c: Likewise.
35655 * sunrpc/rpc_main.c: Likewise.
35656 * sunrpc/rpc_parse.c: Likewise.
35657 * sunrpc/rpc_parse.h: Likewise.
35658 * sunrpc/rpc_prot.c: Likewise.
35659 * sunrpc/rpc_sample.c: Likewise.
35660 * sunrpc/rpc_scan.c: Likewise.
35661 * sunrpc/rpc_scan.h: Likewise.
35662 * sunrpc/rpc_svcout.c: Likewise.
35663 * sunrpc/rpc_tblout.c: Likewise.
35664 * sunrpc/rpc_util.c: Likewise.
35665 * sunrpc/rpc_util.h: Likewise.
35666 * sunrpc/rpcinfo.c: Likewise.
35667 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35668 * sunrpc/rpcsvc/key_prot.x: Likewise.
35669 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35670 * sunrpc/rpcsvc/mount.x: Likewise.
35671 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35672 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35673 * sunrpc/rpcsvc/rex.x: Likewise.
35674 * sunrpc/rpcsvc/rstat.x: Likewise.
35675 * sunrpc/rpcsvc/rusers.x: Likewise.
35676 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35677 * sunrpc/rpcsvc/spray.x: Likewise.
35678 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35679 * sunrpc/rtime.c: Likewise.
35680 * sunrpc/svc.c: Likewise.
35681 * sunrpc/svc_auth.c: Likewise.
35682 * sunrpc/svc_authux.c: Likewise.
35683 * sunrpc/svc_raw.c: Likewise.
35684 * sunrpc/svc_run.c: Likewise.
35685 * sunrpc/svc_simple.c: Likewise.
35686 * sunrpc/svc_tcp.c: Likewise.
35687 * sunrpc/svc_udp.c: Likewise.
35688 * sunrpc/svc_unix.c: Likewise.
35689 * sunrpc/svcauth_des.c: Likewise.
35690 * sunrpc/xcrypt.c: Likewise.
35691 * sunrpc/xdr.c: Likewise.
35692 * sunrpc/xdr_array.c: Likewise.
35693 * sunrpc/xdr_float.c: Likewise.
35694 * sunrpc/xdr_mem.c: Likewise.
35695 * sunrpc/xdr_rec.c: Likewise.
35696 * sunrpc/xdr_ref.c: Likewise.
35697 * sunrpc/xdr_sizeof.c: Likewise.
35698 * sunrpc/xdr_stdio.c: Likewise.
35699
9da4bb31
UD
35700 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35701 handling.
35702
bdaa77bc
AS
357032010-08-19 Andreas Schwab <schwab@redhat.com>
35704
35705 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35706
fe2f79db
LM
357072010-08-19 Luis Machado <luisgpm@br.ibm.com>
35708
35709 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35710 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35711 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35712 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35713 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35714 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35715 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35716 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35717 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35718 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35719 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35720 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35721 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35722 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35723
b9b42ee0
AB
357242010-07-26 Anton Blanchard <anton@samba.org>
35725
35726 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35727 * malloc/arena.c (heap_trim): Likewise.
35728
1c06ba31
UD
357292010-08-16 Ulrich Drepper <drepper@redhat.com>
35730
35731 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35732 here. Not...
35733 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35734 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35735
f8392f40
L
357362010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35737
35738 * sysdeps/i386/elf/Makefile: New file.
35739
3162f12e
AS
357402010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35741
35742 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35743 from fanotify_init.
35744 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35745 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35746
28c90b2c
UD
357472010-08-15 Ulrich Drepper <drepper@redhat.com>
35748
35749 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35750 of strncasecmp_l.
1feccb6c 35751 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 35752
ca6bb004
UD
357532010-08-14 Ulrich Drepper <drepper@redhat.com>
35754
e9f82e0d
UD
35755 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35756 strncase_l-nonascii.
35757 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35758 Add strncase_l-ssse3.
35759 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35760 * sysdeps/x86_64/strcmp.S: Likewise.
35761 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35762 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35763 * sysdeps/x86_64/strncase.S: New file.
35764 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35765 * sysdeps/x86_64/strncase_l.S: New file.
35766 * string/Makefile (strop-tests): Add strncasecmp.
35767 * string/test-strncasecmp.c: New file.
35768
35769 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35770 warning.
35771
ca6bb004
UD
35772 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35773 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35774
052fa7b3
AS
357752010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35776
35777 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35778
962dba78
UD
357792010-08-12 Ulrich Drepper <drepper@redhat.com>
35780
35781 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35782 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35783 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35784
bebff237
AM
357852010-05-01 Alan Modra <amodra@gmail.com>
35786
35787 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35788 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35789 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35790 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35791 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35792 tidying. Don't tail-call __sigjmp_save for static lib.
35793 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35794 save location.
35795 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35796 (CALL_MCOUNT): Add eh info, and nop after bl.
35797 (TAIL_CALL_SYSCALL_ERROR): New macro.
35798 (PSEUDO_RET): Use it.
35799 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35800 Correct save location of integer regs and cr.
35801 (_dl_profile_resolve): Correct cr save location. Delete nops
35802 after bl when SHARED. Reduce cfi size a little by better
35803 placement of cfi directives.
35804 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35805 make a stack frame. Instead use parm save area as a temp.
35806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35807 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35809 Don't make a stack frame for parent, use parm save area.
35810 Increase child stack frame to 112 bytes. Don't save unused reg,
35811 and adjust reg usage. Set up cfi on error recovery and
35812 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35814 (__makecontext): Add dummy nop after jump to exit.
35815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35816 Use correct parm save area and cr save, reduce stack frame.
35817 Correct cfi for possible PSEUDO_RET frame setup.
35818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35819 Branch to local label emitted by PSEUDO_RET rather than
35820 __syscall_error.
35821
02637374
AS
358222010-08-12 Andreas Schwab <schwab@redhat.com>
35823
35824 [BZ #11904]
35825 * locale/programs/locale.c (print_assignment): New function.
35826 (show_locale_vars): Use it.
35827
c3e2f19b
UD
358282010-08-11 Ulrich Drepper <drepper@redhat.com>
35829
3cdaa6ad
UD
35830 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35831 field.
35832 (struct statfs64): Likewise.
35833 (_STATFS_F_FLAGS): Define.
35834 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35835 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35836 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35837 (ST_VALID): Define locally.
35838 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35839 __statvfs_getflags, use the provided value.
35840 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35841 __ASSUME_STATFS_F_FLAGS.
35842
754f7da3
UD
35843 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35844
10b3bedc
UD
35845 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35846 Add sys/fanotify.h.
35847 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35848 fanotify_mask for GLIBC_2.13.
35849 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35850 fanotify_init and fanotify_mark.
35851 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35852 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35853
c08fb0d7
UD
35854 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35855 Add prlimit.
35856 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35857 prlimit64 for GLIBC_2.13.
35858 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35859 prlimit64.
35860 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35861 syscall.
35862 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35863 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35864 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35865 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35866 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
35867 add prlimit alias.
35868 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35869
15bac72b
UD
35870 [BZ #11903]
35871 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35872 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35873
c3e2f19b
UD
35874 * nss/Makefile: Add rules to build and run tst-nss-test1.
35875 * shlib-versions: Add entry for libnss_test1.
35876 * nss/nss_test1.c: New file.
35877 * nss/tst-nss-test1.c: New file.
35878
35879 * nss/nsswitch.c (__nss_database_custom): Define new variable.
35880 (__nss_configure_lookup): Set appropriate entry in
35881 __nss_configure_lookup to true.
35882 * nss/nsswitch.h: Define enum with indeces of databases in
35883 databases and __nss_database_custom arrays. Declare
35884 __nss_database_custom.
35885 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35886 to avoid using nscd when custom rules are installed.
35887 * nss/getXXbyYY_r.c: Likewise.
35888 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35889
35890 * nss/nss_files/files-parse.c: Whitespace fixes.
35891
f15ce4d8
UD
358922010-08-09 Ulrich Drepper <drepper@redhat.com>
35893
35894 [BZ #11883]
35895 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35896 * posix/fnmatch_loop.c: Likewise.
35897
d22e4cc9
AK
358982010-07-17 Andi Kleen <ak@linux.intel.com>
35899
35900 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35901 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35902 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35903 * Versions.def [GLIBC_2.13]: Add.
35904
805bc17d
UD
359052010-08-06 Ulrich Drepper <drepper@redhat.com>
35906
35907 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35908 Also fail if tpwd after pwuid call is NULL.
35909
5a42321d
ST
359102010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35911
35912 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35913 when converting to ms.
35914
fd3ebeda
ST
359152010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35916
35917 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35918 EOPNOTSUPP errors with ENOTTY.
35919 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35920 EOPNOTSUPP errors with ENOTTY.
35921
73507d3a
UD
359222010-07-31 Ulrich Drepper <drepper@redhat.com>
35923
35924 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35925 Add strcasecmp_l-ssse3.
35926 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35927 strcasecmp.
35928 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35929 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35930 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35931
fe36dd02
UD
359322010-07-30 Ulrich Drepper <drepper@redhat.com>
35933
66f6765a
UD
35934 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35935
42e08a54
UD
35936 * string/Makefile (strop-tests): Add strcasecmp.
35937 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35938 strcasecmp_l-nonascii.
35939 (gen-as-const-headers): Add locale-defines.sym.
35940 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35941 * sysdeps/x86_64/strcasecmp.S: New file.
35942 * sysdeps/x86_64/strcasecmp_l.S: New file.
35943 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35944 * sysdeps/x86_64/locale-defines.sym: New file.
35945 * string/test-strcasecmp.c: New file.
35946
fe36dd02
UD
35947 * string/test-strcasestr.c: Test both ends of the range of characters.
35948 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35949
48cbc0d6
RM
359502010-07-29 Roland McGrath <roland@redhat.com>
35951
76e6d6bc 35952 [BZ #11856]
48cbc0d6
RM
35953 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35954
880113d9
UD
359552010-07-27 Ulrich Drepper <drepper@redhat.com>
35956
35957 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35958 for ld.so.
35959
deb9cabb
AS
359602010-07-27 Andreas Schwab <schwab@redhat.com>
35961
35962 * manual/memory.texi (Malloc Tunable Parameters): Document
35963 M_PERTURB.
35964
1c7570ff
RM
359652010-07-26 Roland McGrath <roland@redhat.com>
35966
35967 [BZ #11840]
35968 * configure.in (-fgnu89-inline check): Set and substitute
35969 gnu89_inline, not libc_cv_gnu89_inline.
35970 * configure: Regenerated.
35971 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35972
24fb0f88
UD
359732010-07-26 Ulrich Drepper <drepper@redhat.com>
35974
35975 * string/test-strnlen.c: New file.
35976 * string/Makefile (strop-tests): Add strnlen.
35977 * string/tester.c (test_strnlen): Add a few more test cases.
35978 * string/tst-strlen.c: Better error reporting.
35979
35980 * sysdeps/x86_64/strnlen.S: New file.
35981
8e96b93a
UD
359822010-07-24 Ulrich Drepper <drepper@redhat.com>
35983
35984 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
35985 lower-latency instructions.
35986
dbc676d4
UD
359872010-07-23 Ulrich Drepper <drepper@redhat.com>
35988
35989 * string/test-strcasestr.c: New file.
35990 * string/test-strstr.c: New file.
35991 * string/Makefile (strop-tests): Add strstr and strcasestr.
35992 * string/str-two-way.h: Don't undefine MAX.
35993 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
35994
f6a31e0e
AS
359952010-07-21 Andreas Schwab <schwab@redhat.com>
35996
35997 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35998 strcasestr-nonascii.
35999 (CFLAGS-strcasestr-nonascii.c): Define.
36000 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36001 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36002 Remove unused attribute.
36003
5dbc3b6c
RM
360042010-07-20 Roland McGrath <roland@redhat.com>
36005
36006 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36007 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
36008 ld.so.cache was broken. With it, there is no way to disable dsocaps
36009 like LD_HWCAP_MASK can disable hwcaps.
36010
23d101d8
EPM
360112010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36012
36013 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36014
cc9f2e47
UD
360152010-07-16 Ulrich Drepper <drepper@redhat.com>
36016
36017 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36018 call in strcasestr.
36019 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36020 __strcasestr_sse42_nonascii.
36021 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36022 strcasestr-nonascii.c.
36023 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36024
77c1b069
LM
360252010-06-15 Luis Machado <luisgpm@br.ibm.com>
36026
36027 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36028 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36029 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36030 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36031
440566c3
UD
360322010-07-09 Ulrich Drepper <drepper@redhat.com>
36033
36034 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36035 fcntl.
36036
5be9d05d
AS
360372010-07-06 Andreas Schwab <schwab@redhat.com>
36038
c30b7ee2 36039 [BZ #11577]
5be9d05d
AS
36040 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36041 dl_signal_cerror.
36042
8a492a67
UD
360432010-07-06 Ulrich Drepper <drepper@redhat.com>
36044
36045 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36046 _PC_PIPE_BUF using F_GETPIPE_SZ.
36047
713df3d5
RM
360482010-07-05 Roland McGrath <roland@redhat.com>
36049
36050 * manual/arith.texi (Rounding Functions): Fix rint description
36051 implicit in round description.
36052
702e8f14
UD
360532010-07-02 Ulrich Drepper <drepper@redhat.com>
36054
36055 * elf/Makefile: Fix linking for a few tests to make recent linker
36056 happy.
36057
52ed8be9
AS
360582010-06-30 Andreas Schwab <schwab@redhat.com>
36059
36060 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36061 $(common-objpfx)libc_nonshared.a.
36062
f47c9a11
LM
360632010-06-21 Luis Machado <luisgpm@br.ibm.com>
36064
36065 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36066 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36067 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36068 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36069 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36070 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36071 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36072 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36073 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36074 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36075 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36076 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36078 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36079 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36080 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36081 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36082 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36083 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36084 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36085 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36086 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36087 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36088 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36089 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36090 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36091 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36092 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36093 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36094 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36095 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36096 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36097 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36098 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36113
6fb8cbcb
L
361142010-06-25 H.J. Lu <hongjiu.lu@intel.com>
36115
36116 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36117 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
36118 * string/memmove.c (memmove): Renamed to ...
36119 (MEMMOVE): ...this. Default to memmove.
36120 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36121 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36122 (END_CHK): Define.
36123 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36124 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36125 mempcpy-ssse3-back memmove-ssse3-back.
36126 * sysdeps/x86_64/multiarch/bcopy.S: New file .
36127 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36128 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36129 * sysdeps/x86_64/multiarch/memcpy.S: New file.
36130 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36131 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36132 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36133 * sysdeps/x86_64/multiarch/memmove.c: New file.
36134 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36135 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36136 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36137 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36138 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36139 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36140 Define.
36141 (index_Fast_Copy_Backward): Define.
36142 (HAS_ARCH_FEATURE): Define.
36143 (HAS_FAST_REP_STRING): Define.
36144 (HAS_FAST_COPY_BACKWARD): Define.
36145
4e733bac 361462010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
36147
36148 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36149 Restore proper fallback handling.
36150
63c4ed22
UD
361512010-06-19 Ulrich Drepper <drepper@redhat.com>
36152
ac2b484c
UD
36153 [BZ #11701]
36154 * posix/group_member.c (__group_member): Correct checking loop.
36155
63c4ed22
UD
36156 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36157 OOM in getpwuid_r correctly. Return error number when the caller
36158 should return, otherwise -1.
36159 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36160 call returning > 0 value.
36161 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36162
765ade4b
AS
361632010-06-07 Andreas Schwab <schwab@redhat.com>
36164
36165 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36166 libc_nonshared.a from targets in modules-names.
36167
80da2e09
KS
361682010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
36169
36170 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36171 requires it.
36172
158db122
LM
361732010-06-10 Luis Machado <luisgpm@br.ibm.com>
36174
36175 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36176 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36177 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36178 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36179
caa78cf8
AS
361802010-06-02 Andreas Schwab <schwab@redhat.com>
36181
36182 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36183
b2ef2c01
UD
361842010-06-14 Ulrich Drepper <drepper@redhat.com>
36185
36186 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36187 and F_GETPIPE_SZ.
36188 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36189 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36190 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36191 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36192 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36193 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36194
fbd643b6
RM
361952010-06-14 Roland McGrath <roland@redhat.com>
36196
36197 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36198
f32f2869
JJ
361992010-06-07 Jakub Jelinek <jakub@redhat.com>
36200
36201 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36202 __REDIRECT followed by __THROW.
36203 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36204 * posix/getopt.h (getopt): Likewise.
36205
2a50c078
EPM
362062010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36207
36208 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36209 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36210 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36211 in AT_FLAGS.
36212 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36213 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36214
eb5ad2eb
LM
362152010-05-28 Luis Machado <luisgpm@br.ibm.com>
36216
36217 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36218
3c88fe1e
L
362192010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36220
36221 [BZ #11640]
36222 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36223 Properly check family and model.
36224
d2f73151
TY
362252010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36226
36227 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36228
ebd2e13d
LM
362292010-05-24 Luis Machado <luisgpm@br.ibm.com>
36230
36231 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36232
b32b8b45
UD
362332010-05-21 Ulrich Drepper <drepper@redhat.com>
36234
36235 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36236 symbol reference.
36237
9acbe24d
AS
362382010-05-19 Andreas Schwab <schwab@redhat.com>
36239
36240 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36241 symbol reference.
36242
f0ccf6ea
AS
362432010-05-21 Andreas Schwab <schwab@redhat.com>
36244
3d04ff3a
AS
36245 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36246 and internal_recvmmsg.
36247 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36248 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36249 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36250 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36251
f0ccf6ea
AS
36252 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36253 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36254 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36255
5b08ac57
AS
362562010-05-20 Andreas Schwab <schwab@redhat.com>
36257
36258 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36259
4828935d
LM
362602010-05-17 Luis Machado <luisgpm@br.ibm.com>
36261
36262 POWER7 optimizations.
36263 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36264 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36265
373d545e
UD
362662010-05-19 Ulrich Drepper <drepper@redhat.com>
36267
36268 * version.h: Update for 2.13 development version.
36269
21a2b1ae
AS
362702010-05-12 Andrew Stubbs <ams@codesourcery.com>
36271
36272 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36273 exceptions. Return 0.
36274
3f7dcb2b
RM
362752010-05-07 Roland McGrath <roland@redhat.com>
36276
36277 * elf/ldconfig.c (main): Add a const.
36278
5f24d53a 362792010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 36280
a160f8d8
UD
36281 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36282 (args_options): Add no-idn option.
36283 (ahosts_keys_int): Add idn_flags to ai_flags.
36284 (parse_option): Handle 'i' option to clear idn_flags.
36285
5f24d53a
UD
36286 * malloc/malloc.c (_int_free): Possible race in the most recently
36287 added check. Only act on the data if no current modification
36288 happened.
265bb1ce
UD
36289
36290See ChangeLog.17 for earlier changes.
This page took 4.979269 seconds and 5 git commands to generate.