]> sourceware.org Git - glibc.git/blame - ChangeLog
PowerPC: multiarch rawmemchr for PowerPC32
[glibc.git] / ChangeLog
CommitLineData
7af8b946
AZ
12013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
4 file.
5 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6 file.
7 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8 multiarch rawmemchr for PPC32.
9 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
10 multiarch objects.
11 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12 (__libc_ifunc_impl_list): Likewise.
13
03a6aa6a
AZ
142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15
16 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
17 file.
18 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
19 file.
20 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
21 file: memrchr multiarch for PPC32.
22 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
23 multiarch objects.
24 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
25 (__libc_ifunc_impl_list): Likewise.
26
1c62e6d9
AZ
272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28
29 * string/memchr.c (__memchr): Using macro to redefine symbol name.
30 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
31 file.
32 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
33 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
34 multiarch memchr for PPC32.
35 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
36 multiarch objects.
37 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
38 (__libc_ifunc_impl_list): Likewise.
39
87da8bdb
AZ
402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41
42 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
43 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
44 file.
45 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
46 file.
47 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
48 file: multiarch mempcpy for PPC32.
49 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
50 multiarch objects.
51 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
52 (__libc_ifunc_impl_list): Likewise.
53
20ed4714
AZ
542013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55
56 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
57 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
58 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
59 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
60 multiarch bzero for PPC32.
61 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
62 file.
63 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
64 file.
65 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
66 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
67 file: multiarch memset for PPC32.
68 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
69 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
70 memset multiarch objects.
71 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
72 (__libc_ifunc_impl_list): Likewise.
73
ab3e3a46
AZ
742013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
75
76 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
77 file.
78 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
79 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
80 memcmp for PPC32.
81 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
82 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
83 multiarch objects.
84 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
85 (__libc_ifunc_impl_list): Likewise.
86
930de6f0
AZ
872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
88
89 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
90 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
91 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
92 file.
93 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
94 file.
95 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
96 file.
97 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
98 multiarch memcpy for PPC32.
99 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
100 multiarch objects.
101 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
102 (__libc_ifunc_impl_list): Likewise.
103
4c628e00
AZ
1042013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
105
106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
107 support multiarch for POWER/PPC32.
108 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
109 Likewise.
110 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
112 Implies file to make multiarch folder appers before the fpu and
113 default folder for power4 configuration.
114
f4479220
SP
1152013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
116
117 * scripts/bench.pl: Append volatile keyword to type.
118
8517800f
KK
1192013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
120
121 * sysdeps/sh/sotruss-lib.c: New file.
122 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
123
180138f1
AZ
1242013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
125
126 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
127
bbf37bdc
JM
1282013-12-05 Joseph Myers <joseph@codesourcery.com>
129
e47cc4e0
JM
130 [BZ #6810]
131 * math/w_tgamma.c: Include <errno.h>.
132 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
133 * math/w_tgammaf.c: Include <errno.h>.
134 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
135 * math/w_tgammal.c: Include <errno.h>.
136 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
137 * math/auto-libm-test-in: Do not allow missing errno on tgamma
138 underflow. Add more tgamma tests.
139 * math/auto-libm-test-out: Regenerated.
140 * sysdeps/i386/fpu/libm-test-ulps: Update.
141 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
142
bbf37bdc
JM
143 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
144 sin, sinh, tan, tanh, tgamma, y0 and y1.
145 * math/auto-libm-test-out: Regenerated.
146 * math/libm-test.inc (TEST_COND_x86_64): New macro.
147 (TEST_COND_x86): Likewise.
148 (M_E2l): Remove macro.
149 (M_E3l): Likewise.
150 (M_2_SQRT_PIl): Likewise.
151 (M_SQRT_PIl): Likewise.
152 (M_1_DIV_El): Likewise.
153 (log_test_data): Use AUTO_TESTS_f_f.
154 (log10_test_data): Likewise.
155 (log1p_test_data): Likewise.
156 (log2_test_data): Likewise.
157 (sin_test_data): Likewise.
158 (sin_tonearest_test_data): Likewise.
159 (sin_towardzero_test_data): Likewise.
160 (sin_downward_test_data): Likewise.
161 (sin_upward_test_data): Likewise.
162 (sinh_test_data): Likewise.
163 (sinh_tonearest_test_data): Likewise.
164 (sinh_towardzero_test_data): Likewise.
165 (sinh_downward_test_data): Likewise.
166 (sinh_upward_test_data): Likewise.
167 (tan_test_data): Likewise.
168 (tan_tonearest_test_data): Likewise.
169 (tan_towardzero_test_data): Likewise.
170 (tan_downward_test_data): Likewise.
171 (tan_upward_test_data): Likewise.
172 (tanh_test_data): Likewise.
173 (tgamma_test_data): Likewise.
174 (y0_test_data): Likewise.
175 (y1_test_data): Likewise.
176 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
177 (special_real_inputs): Add pi/4.
178 * sysdeps/i386/fpu/libm-test-ulps: Update.
179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
180
eb5ad6b9
AZ
1812013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
182
183 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
184 "longjmp_target" static probes.
185 (__longjmp): Rename to __longjmp_symbol.
186 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
187 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
188 on which longjmp to generate.
189 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
190 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
191 probe.
192 (__sigsetjmp): Rename to __sigsetjmp_symbol.
193 (__sigjmp_save): Rename to __sigjmp_save_symbol.
194 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
195 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
196 and __sigjmp_save_symbol based on which sigsetjmp to generated.
197 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
199 __longjmp_symbol based on which __longjmp to generate.
200 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
201 probe.
202 (setjmp): Rename to setjmp_symbol.
203 (__sigsetjmp): Rename to __sigsetjmp_symbol.
204 (_setjmp): Rename to _setjmp_symbol.
205 (__sigsetjmp): Rename to __sigsetjmp_symbol.
206 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
207 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
208 which setjmp to generate.
209 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
210 "longjmp_target" static probes.
211
d136c6dc
SP
2122013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
213
9298ecba
SP
214 * benchtests/README: Add note about output arguments.
215 * benchtests/bench-sincos.c: Remove file.
216 * benchtests/sincos-inputs: New file.
217 * scripts/bench.pl: Identify output arguments and define
218 static variables for them.
219
232983e9
SP
220 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
221
d136c6dc
SP
222 [BZ #15941]
223 * Makefile (INSTALL): Add install-plain.texi as the primary
224 dependency.
225 * manual/install-plain.texi: New file.
226 * manual/install.texi: Include node directive only for
227 non-plaintext output.
228
699ff837
JM
2292013-12-04 Joseph Myers <joseph@codesourcery.com>
230
ab07cea8
JM
231 * stdlib/longlong.h: Update from GCC.
232
699ff837
JM
233 [BZ #6807]
234 [BZ #15901]
235 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
236 * math/w_j0f.c (y0f): Likewise.
237 * math/w_j0l.c (__y0l): Likewise.
238 * math/w_j1.c (y1): Likewise.
239 * math/w_j1f.c (y1f): Likewise.
240 * math/w_j1l.c (__y1l): Likewise
241 * math/w_jn.c (yn): Likewise.
242 * math/w_jnf.c (ynf): Likewise.
243 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
244 Bessel function pole errors in _POSIX_ mode. Use NAN as return
245 value for Bessel function domain errors outside _SVID_ mode.
246 Adjust sign of return value for yn (negative integer, 0).
247 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
248 by zero in return for negative x and set sign appropriately for
249 negative n.
250 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
251 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
252 * math/libm-test.inc (y0_test_data): Add more tests and adjust
253 expectations in error cases.
254 (y1_test_data): Likewise.
255 (yn_test_data): Likewise.
256 * sysdeps/i386/fpu/libm-test-ulps: Update.
257 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
258
5b118558
UW
2592013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
260
261 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
262 "64" to "64-v1". Add "64-v2".
263 (abi-64-options): Rename to ...
264 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
265 (abi-64-condition): Rename to ...
266 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
267 (abi-64-ld-soname): Rename to ...
268 (abi-64-v1-ld-soname): ... this.
269 (abi-64-v2-options): Define.
270 (abi-64-v2-condition): Likewise.
271 (abi-64-v2-ld-soname): Likewise.
272 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
273 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
277
61cd8fe4
UW
2782013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
279 Alan Modra <amodra@gmail.com>
280
281 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
282 New versions for use with the ELFv2 ABI.
283 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
284 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
285 declaration.
286 (struct La_ppc64v2_retval): Likewise.
287 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
288 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
289 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
290 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
291 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
292 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
293 Do not save or restore CR.
294 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
295 (_dl_profile_resolve): Do no save or restore CR. Support extended
296 return values for ELFv2 ABI. Fix location of FPR return registers.
297 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
298 updated values for _CALL_ELF == 2.
299 (La_regs, La_retval, int_retval): Likewise.
300
8b8a692c
UW
3012013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
302
303 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
304 (FRAME_MIN_SIZE_PARM): Likewise.
305 (FRAME_BACKCHAIN): Likewise.
306 (FRAME_CR_SAVE): Likewise.
307 (FRAME_LR_SAVE): Likewise.
308 (FRAME_TOC_SAVE): Likewise.
309 (FRAME_PARM_SAVE): Likewise.
310 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
311 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
312 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
313 (call_mcount_parm_offset): New macro.
314 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
315 (PROF): Use symbolic stack frame offsets.
316 (TAIL_CALL_SYSCALL_ERROR): Likewise.
317 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
318 Redefine in terms of FRAME_MIN_SIZE.
319 (_dl_runtime_resolve): Use symbolic stack frame offsets.
320 (_dl_profile_resolve): Likewise. Update comment.
321 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
322 symbols stack frame offsets.
323 (__sigsetjmp): Likewise.
324 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
325 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
326 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
327 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
328
329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
330 (FRAME_BACKCHAIN): Remove.
331 (FRAME_CR_SAVE): Likewise.
332 (FRAME_LR_SAVE): Likewise.
333 (FRAME_COMPILER_DW): Likewise.
334 (FRAME_LINKER_DW): Likewise.
335 (FRAME_TOC_SAVE): Likewise.
336 (FRAME_PARM_SAVE): Likewise.
337 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
338 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
339 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
341 (CHECK_SP): Use symbolic stack frame offsets.
342 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
343 zone" instead of caller's parameter save area for temp storage.
344 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
345 Likewise. Also, use symbolic stack frame offsets.
346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
347 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
348 our own stack frame instead of the caller's.
349 (__socket): Use symbolic stack frame offsets.
350
122b66de
UW
3512013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
352 Alan Modra <amodra@gmail.com>
353
354 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
355 Define.
356 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
357 PPC64_LOCAL_ENTRY_OFFSET): Define.
358 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
359 New function.
360 (elf_machine_fixup_plt): Call it.
361 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
362 reloc arguments.
363 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
364 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
365 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
366 r2 before calling target.
367
696caf1d
UW
3682013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
369 Alan Modra <amodra@gmail.com>
370
371 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
372 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
373 versions of macros to support ELFv2 ABI.
374 (LOCALENTRY): New macro.
375 (ENTRY, EALIGN): Use it.
376 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
377 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
378 fall through into ENTRY entry point.
379 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
380 Only define if _CALL_ELF != 2.
381
382 (elf_machine_matches_host): Verify ABI version matches.
383 (RTLD_START): Use LOCALENTRY.
384 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
385 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
386 (PLT_ENTRY_WORDS): New macro.
387 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
388 (elf_machine_runtime_setup): Support ELFv2 ABI.
389 (elf_machine_fixup_plt): Likewise.
390 (elf_machine_plt_conflict): Likewise.
391 (resolve_ifunc): Likewise.
392 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
393 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
394 Likewise.
395 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
396 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
398 (makecontext): Support ELFv2 ABI.
399 * elf/elf.h (EF_PPC64_ABI): Define.
400
d31beafa
UW
4012013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
402
403 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
404 New assembler macro.
405 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
406 [ASSEMBLER] (ENTRY): ... but instead here ...
407 [ASSEMBLER] (EALIGN): ... and here.
408 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
409 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
410 [!ASSEMBLER] (ENTRY_2): Use it.
411 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
412 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
413 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
414 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
415 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
416 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
417 Use PPC64_LOAD_FUNCPTR.
418
b525166b
UW
4192013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
420
421 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
422
7ec07d9a
AM
4232013-12-04 Alan Modra <amodra@gmail.com>
424
425 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
426 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
427 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
428 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
429
430 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
431 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
432 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
433 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
434 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
435 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
436
5162e7dd
UW
4372013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
438
439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
440 (__makecontext): Fix incorrect CFI when backtracing out of
441 context created via makecontext.
442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
443 (__setcontext): Fix incorrect CFI during switch to new context.
444 (__novec_setcontext): Likewise.
445
19e3372b
OB
4462013-12-04 Ondřej Bílka <neleai@seznam.cz>
447
448 [BZ #4772]
449 * time/strptime_l.c (__strptime_internal): Allow modifiers
450 in strptime.
451 * time/tst-strptime.c (day_tests): Add testcase.
452
453
ecaf142d
SP
4542013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
455
456 * scripts/bench.pl: Skip over blank lines.
457
fbf964ae
PE
4582013-12-04 Paul Eggert <eggert@cs.ucla.edu>
459
460 [BZ #926]
461 * manual/time.texi (Calendar Time): Clarify what timezone functions
462 use.
463
fa60a674
AZ
4642013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
465
466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
467
d674f0ef
OB
4682013-12-04 Ondřej Bílka <neleai@seznam.cz>
469
470 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
471 implementation.
472 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
473 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
474 * debug/memset_chk.c (__memset_chk): Likewise.
475 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
476 * debug/strncpy_chk.c: Likewise.
477
17dea188
JM
4782013-12-03 Joseph Myers <joseph@codesourcery.com>
479
749008ff
JM
480 [BZ #15268]
481 [BZ #15425]
482 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
483 (__ieee754_exp): For possibly underflowing results, check size of
484 result and force underflow exception if required.
485 * math/auto-libm-test-in: Add more tests of exp.
486 * math/auto-libm-test-out: Regenerated.
487 * sysdeps/i386/fpu/libm-test-ulps: Update.
488 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
489
17dea188
JM
490 [BZ #16283]
491 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
492 * math/w_exp2f.c (__exp2f): Likewise.
493 * math/w_exp2l.c (__exp2l): Likewise.
494 * math/auto-libm-test-in: Do not allow missing errno on exp2
495 underflow.
496 * math/auto-libm-test-out: Regenerated.
497
b20de2c3
OB
4982013-12-03 Ondřej Bílka <neleai@seznam.cz>
499
500 [BZ #16274]
501 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
502 handle filename validation.
503 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
504 (do_open): Delete.
505
d8e2dbe3
JM
5062013-12-03 Joseph Myers <joseph@codesourcery.com>
507
34e16df5
JM
508 [BZ #6786]
509 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
510 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
511 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
512 <float.h>.
513 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
514 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
515 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
516 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
517 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
518 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
519 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
520 * math/auto-libm-test-in: Don't allow missing errno from erfc.
521 Add more erfc tests.
522 * math/auto-libm-test-out: Regenerated.
523 * sysdeps/i386/fpu/libm-test-ulps: Update.
524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
525
d8e2dbe3
JM
526 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
527 exp2, expm1, j0 and j1.
528 * math/auto-libm-test-out: Regenerated.
529 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
530 (erfc_test_data): Likewise.
531 (exp_test_data): Likewise.
532 (exp_tonearest_test_data): Likewise.
533 (exp_towardzero_test_data): Likewise.
534 (exp_downward_test_data): Likewise.
535 (exp_upward_test_data): Likewise.
536 (exp10_test_data): Likewise.
537 (exp2_test_data): Likewise.
538 (expm1_test_data): Likewise.
539 (j0_test_data): Likewise.
540 (j1_test_data): Likewise.
541 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
542 (input_flag_type): Add flag_xfail_rounding.
543 (input_flags): Add xfail-rounding.
544 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
545 (output_for_one_input_case): Handle flag_xfail_rounding.
546 * sysdeps/i386/fpu/libm-test-ulps: Update.
547 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
548
18d14251
AJ
5492013-12-03 Aurelien Jarno <aurelien@aurel32.net>
550
3d2e6075 551 [BZ #16289]
18d14251
AJ
552 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
553 division by 0.
554
520d437b
SP
5552013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
556
557 [BZ #16195]
558 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
559 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
560 (STAP_PROBE0): New macro.
561 (STAP_PROBE1): Likewise.
562 (STAP_PROBE2): Likewise.
563 (STAP_PROBE3): Likewise.
564 (STAP_PROBE4): Likewise.
565
416e0145
OB
5662013-12-02 Ondřej Bílka <neleai@seznam.cz>
567
568 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
569
9d17796a
SE
5702013-12-02 Steve Ellcey <sellcey@mips.com>
571
572 * benchtests/Makefile (bench): Add sqrt.
573 (LDLIBS-bench-sqrt): New.
574 * benchtests/sqrt-input: New.
575
f524d6a8
PS
5762013-12-02 Pavel Simerda <psimerda@redhat.com>
577
639a0ef8
PS
578 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
579 (GAIH_EAI): Likewise.
580 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
581 (gaih_inet): Likewise.
582 (getaddrinfo): Don't use GAIH_EAI.
583
f524d6a8
PS
584 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
585 (struct gaih): Remove definition.
586
df3aedaf
SP
5872013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
588
589 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
590 Use HERRNOP directly.
591
1ab19dec
AZ
5922013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
593
b42ad38d 594 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 595
176b0c79
JM
5962013-11-30 Joseph Myers <joseph@codesourcery.com>
597
598 * math/gen-auto-libm-tests.c (test_functions): Add more
599 single-argument functions.
600 (special_fill_pi_2): New function.
601 (special_fill_minus_pi_2): Likewise.
602 (special_fill_pi_6): Likewise.
603 (special_fill_minus_pi_6): Likewise.
604 (special_fill_pi_3): Likewise.
605 (special_fill_2pi_3): Likewise.
606 (special_fill_e): Likewise.
607 (special_fill_1_e): Likewise.
608 (special_fill_e_minus_1): Likewise.
609 (special_real_inputs): Add more special inputs.
610 (output_for_one_input_case): Do not require ERANGE on underflow to
611 zero if round-to-nearest result does not underflow to zero, unless
612 exact results required.
613 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
614 atan, atanh, cbrt, cos and cosh.
615 * math/auto-libm-test-out: Regenerated.
616 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
617 (acos_tonearest_test_data): Likewise.
618 (acos_towardzero_test_data): Likewise.
619 (acos_downward_test_data): Likewise.
620 (acos_upward_test_data): Likewise.
621 (acosh_test_data): Likewise.
622 (asin_test_data): Likewise.
623 (asin_tonearest_test_data): Likewise.
624 (asin_towardzero_test_data): Likewise.
625 (asin_upward_test_data): Likewise.
626 (asinh_test_data): Likewise.
627 (atan_test_data): Likewise.
628 (atanh_test_data): Likewise.
629 (cbrt_test_data): Likewise.
630 (cos_test_data): Likewise.
631 (cos_tonearest_test_data): Likewise.
632 (cos_towardzero_test_data): Likewise.
633 (cos_downward_test_data): Likewise.
634 (cos_upward_test_data): Likewise.
635 (cosh_test_data): Likewise.
636 (cosh_tonearest_test_data): Likewise.
637 (cosh_towardzero_test_data): Likewise.
638 (cosh_downward_test_data): Likewise.
639 (cosh_upward_test_data): Likewise.
640 * sysdeps/i386/fpu/libm-test-ulps: Update.
641 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
642
ffb536d0
JM
6432013-11-29 Joseph Myers <joseph@codesourcery.com>
644
2a77a467
JM
645 [BZ #6787]
646 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
647 * math/w_exp10f.c (__exp10f): Likewise.
648 * math/w_exp10l.c (__exp10l): Likewise.
649 * math/libm-test.inc (exp10_test_data): Add more tests and expect
650 errno settings in existing tests.
651
ea3bc4e8
JM
652 [BZ #14032]
653 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
654 precision control set to double precision.
655 * sysdeps/i386/fpu/w_sqrt.c: New file.
656 * math/auto-libm-test-in: Add more tests.
657 * math/auto-libm-test-out: Update.
658
0712c9d8
JM
659 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
660 (sqrt_test_tonearest): New function.
661 (sqrt_towardzero_test_data): New variable.
662 (sqrt_test_towardzero): New function.
663 (sqrt_downward_test_data): New variable.
664 (sqrt_test_downward): New function.
665 (sqrt_upward_test_data): New variable.
666 (sqrt_test_upward): New function.
667 (main): Call the new functions.
668
ffb536d0
JM
669 * math/gen-auto-libm-tests.c: New file.
670 * math/auto-libm-test-in: Likewise.
671 * math/auto-libm-test-out: New generated file.
672 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
673 variables.
674 (%beautify): Add generated representations of zero.
675 (top level): Set $auto_input and call parse_auto_input.
676 (beautify): Remove trailing "f" from hex float constants.
677 (parse_args): Handle XFAIL_TEST.
678 (convert_condition): New function.
679 (or_value): Likewise.
680 (or_cond_value): Likewise.
681 (generate_testfile): Handle AUTO_TESTS_* lines.
682 (parse_auto_input): New function.
683 * math/libm-test.inc (XFAIL_TEST): New macro.
684 (ERRNO_UNCHANGED): Update value.
685 (ERRNO_EDOM): Likewise.
686 (ERRNO_ERANGE): Likewise.
687 (IGNORE_RESULT): Likewise.
688 (TEST_COND_flt_32): New macro.
689 (TEST_COND_dbl_64): Likewise.
690 (TEST_COND_ldbl_96_intel): Likewise.
691 (TEST_COND_ldbl_96_m68k): Likewise.
692 (TEST_COND_ldbl_128): Likewise.
693 (TEST_COND_ldbl_128ibm): Likewise.
694 (TEST_COND_long32): Likewise.
695 (TEST_COND_long64): Likewise.
696 (TEST_COND_before_rounding): Likewise.
697 (TEST_COND_after_rounding): Likewise.
698 (enable_test): Handle XFAIL_TEST flag.
699 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
700 with finite results.
701 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
702 auto-libm-test-out.
703
acd98a8e
AK
7042013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
705 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
706
707 [BZ #16214]
708 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
709 __tls_get_addr_internal instead of __tls_get_offset in order to
710 avoid GOT pointer dependency. Make rtld export
711 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
712 __tls_get_addr since we are a __tls_get_offset platform.
713 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
714 GOT pointer being set up before.
715 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
716
3c1c46a6
JM
7172013-11-28 Joseph Myers <joseph@codesourcery.com>
718
7475aef5
JM
719 * manual/math.texi (Errors in Math Functions): Document accuracy
720 goals.
721
8bca7cd8
JM
722 [BZ #15004]
723 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
724 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
725 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
726 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
727 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
728 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
729 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
730 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
731 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
732 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
733 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
734 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
735 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
736 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
737 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
738 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
739
91a1f3fe
JM
740 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
741 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
742 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
743 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
744 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
745 Likewise.
746 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
747 Likewise.
748 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
749 Likewise.
750 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
751 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
752 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
753 atomic-feupdateenv and flt-rounds.
754 * sysdeps/powerpc/nofpu/Versions (libc): Add
755 __atomic_feholdexcept, __atomic_feclearexcept,
756 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
757 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
758 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
759 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
760 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
761 here.
762 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
763 Update.
764
c5df7609
JM
765 * manual/arith.texi (FP Exceptions): Document that exceptions may
766 not be raised when matherr is used.
767 (Math Error Reporting): Document overflow in directed rounding
768 modes. Document that errno may not be set when finite values are
769 returned on overflow. Document intent to set errno on underflow
770 only for underflow to zero.
771
3c1c46a6
JM
772 [BZ #16271]
773 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
774 round-to-nearest then adjust result for other rounding modes.
775 * include/fenv.h (fegetround): Use libm_hidden_proto.
776 * math/fegetround.c (fegetround): Use libm_hidden_def.
777 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
778 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
779 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
780 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
781 Likewise.
782 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
783 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
784 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
785 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
786
5a4c6d53
SP
7872013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
788
789 [BZ #16077]
790 * nss/Versions (libnss_files): Add
791 _nss_files_gethostbyname3_r.
792 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
793 New function.
794 (HOST_DB_LOOKUP): Remove macro.
795 (_nss_files_gethostbyname_r): Implement function without the
796 HOST_DB_LOOKUP macro.
797 (_nss_files_gethostbyname2_r): Likewise.
798
897b98ba
OB
7992013-11-28 Ondřej Bílka <neleai@seznam.cz>
800
801 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
802
6f476861
UB
8032013-11-26 Uros Bizjak <ubizjak@gmail.com>
804
805 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
806 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
807 warning.
808
bd12ab55
AZ
8092013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
810
811 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
812 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
813 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
814 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
815 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
816 __fe_nomask_env_priv and attribute_hidden.
817 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
818 (libc_feupdateenv_test_ppc): Likewise.
819 (libc_feresetround_ppc): Likewise.
820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
821 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
822 compat_symbol macro.
823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
824 (__fe_nomask_env): Likewise.
825 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
826
52bb6543
OB
8272013-11-26 Ondřej Bílka <neleai@seznam.cz>
828
829 * string/Makefile: Remove ifunc tests.
830 * string/test-string.h: Define TEST_IFUNC.
831 * string/test-bcopy-ifunc.c: Remove.
832 * string/test-bzero-ifunc.c: Likewise.
833 * string/test-memccpy-ifunc.c: Likewise.
834 * string/test-memchr-ifunc.c: Likewise.
835 * string/test-memcmp-ifunc.c: Likewise.
836 * string/test-memcpy-ifunc.c: Likewise.
837 * string/test-memmem-ifunc.c: Likewise.
838 * string/test-memmove-ifunc.c: Likewise.
839 * string/test-mempcpy-ifunc.c: Likewise.
840 * string/test-memrchr-ifunc.c: Likewise.
841 * string/test-memset-ifunc.c: Likewise.
842 * string/test-rawmemchr-ifunc.c: Likewise.
843 * string/test-stpcpy-ifunc.c: Likewise.
844 * string/test-stpncpy-ifunc.c: Likewise.
845 * string/test-strcasecmp-ifunc.c: Likewise.
846 * string/test-strcasestr-ifunc.c: Likewise.
847 * string/test-strcat-ifunc.c: Likewise.
848 * string/test-strchr-ifunc.c: Likewise.
849 * string/test-strchrnul-ifunc.c: Likewise.
850 * string/test-strcmp-ifunc.c: Likewise.
851 * string/test-strcpy-ifunc.c: Likewise.
852 * string/test-strcspn-ifunc.c: Likewise.
853 * string/test-strlen-ifunc.c: Likewise.
854 * string/test-strncasecmp-ifunc.c: Likewise.
855 * string/test-strncat-ifunc.c: Likewise.
856 * string/test-strncmp-ifunc.c: Likewise.
857 * string/test-strncpy-ifunc.c: Likewise.
858 * string/test-strnlen-ifunc.c: Likewise.
859 * string/test-strpbrk-ifunc.c: Likewise.
860 * string/test-strrchr-ifunc.c: Likewise.
861 * string/test-strspn-ifunc.c: Likewise.
862 * string/test-strstr-ifunc.c: Likewise.
863
ab260039 8642013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
865
866 * benchtests/Makefile: Remove ifunc tests.
867 * benchtests/bench-string.h: Define TEST_IFUNC.
868 * benchtests/bench-bcopy-ifunc.c: Remove.
869 * benchtests/bench-bzero-ifunc.c: Likewise.
870 * benchtests/bench-memccpy-ifunc.c: Likewise.
871 * benchtests/bench-memchr-ifunc.c: Likewise.
872 * benchtests/bench-memcmp-ifunc.c: Likewise.
873 * benchtests/bench-memcpy-ifunc.c: Likewise.
874 * benchtests/bench-memmem-ifunc.c: Likewise.
875 * benchtests/bench-memmove-ifunc.c: Likewise.
876 * benchtests/bench-mempcpy-ifunc.c: Likewise.
877 * benchtests/bench-memrchr-ifunc.c: Likewise.
878 * benchtests/bench-memset-ifunc.c: Likewise.
879 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
880 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
881 * benchtests/bench-stpcpy-ifunc.c: Likewise.
882 * benchtests/bench-stpncpy-ifunc.c: Likewise.
883 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
884 * benchtests/bench-strcasestr-ifunc.c: Likewise.
885 * benchtests/bench-strcat-ifunc.c: Likewise.
886 * benchtests/bench-strchr-ifunc.c: Likewise.
887 * benchtests/bench-strchrnul-ifunc.c: Likewise.
888 * benchtests/bench-strcmp-ifunc.c: Likewise.
889 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
890 * benchtests/bench-strcpy-ifunc.c: Likewise.
891 * benchtests/bench-strcspn-ifunc.c: Likewise.
892 * benchtests/bench-strlen-ifunc.c: Likewise.
893 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
894 * benchtests/bench-strncat-ifunc.c: Likewise.
895 * benchtests/bench-strncmp-ifunc.c: Likewise.
896 * benchtests/bench-strncpy-ifunc.c: Likewise.
897 * benchtests/bench-strnlen-ifunc.c: Likewise.
898 * benchtests/bench-strpbrk-ifunc.c: Likewise.
899 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 900 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
901 * benchtests/bench-strspn-ifunc.c: Likewise.
902 * benchtests/bench-strstr-ifunc.c: Likewise.
903
9042013-11-26 Ondřej Bílka <neleai@seznam.cz>
905
ab260039
OB
906 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
907
d1d9eaf4 9082013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 909
d1d9eaf4
OB
910 * resolv/netdb.h: Use __glibc_reserved instead __unused.
911 * rt/aio.h: Likewise.
912 * sysdeps/gnu/bits/utmp.h: Likewise.
913 * sysdeps/gnu/bits/utmpx.h: Likewise.
914 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
915 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
916 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
917 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
918 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
919 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
920 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
921 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
922 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
923 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
924 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
925 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
926 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
928 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
929 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
930 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
931 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
932 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
933 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
934 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
935 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
936 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
937 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
938 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
939 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
940 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
941 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
942 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
943 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
944 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
945 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
946 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
947 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
948 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
949 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
950 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
951 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
952 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
953 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
954 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
955 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
956
a7624ed9
CD
9572013-11-25 Carlos O'Donell <carlos@redhat.com>
958
959 [BZ #16245]
960 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
961 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
962
63cfe52b
JM
9632013-11-25 Joseph Myers <joseph@codesourcery.com>
964
965 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
966 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
967 Likewise.
968
41e8926a
AZ
9692013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
970
971 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
972 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
973 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
974 (__fesetround): Remove define.
975 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
976 rounding and exceptions handling.
977 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
978 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
979 (__fe_nomask_env): Likewise.
980 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
981 __fegetround instead of fegetround.
982 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
983 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
984
6851bd4d
RM
9852013-11-21 Roland McGrath <roland@hack.frob.com>
986
070906ff
RM
987 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
988 it's there.
989
6851bd4d
RM
990 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
991
84ae135d
MI
9922013-11-21 Meador Inge <meadori@codesourcery.com>
993
994 [BZ #11157]
995 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
996 (encrypt_r): Likewise.
997 * malloc/obstack.h (obstack_free): Likewise.
998 * posix/unistd.h (encrypt): Likewise.
999
daf75146
GM
10002013-11-21 Guy Martin <gmsoft@tuxicoman.be>
1001
1002 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1003 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1004 DL_CALL_DT_FINI() that call the functions directly.
1005 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1006 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1007 * elf/dl-fini.c: Likewise.
1008
10ad46bc
OB
10092013-11-20 Ondřej Bílka <neleai@seznam.cz>
1010
1011 * malloc/hooks.c (memalign_check): Add alignment rounding.
1012 * malloc/malloc.c (_mid_memalign): New function.
1013 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1014 Implement by calling _mid_memalign.
1015 * manual/probes.texi (Memory Allocation Probes): Remove
1016 memory_valloc_retry and memory_pvalloc_retry.
1017
f3fd2628
SP
10182013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1019
4712799f
SP
1020 * locale/programs/locarchive.c (open_archive): Add const
1021 qualifier to ARCHIVEFNAME and copy default fname to
1022 DEFAULT_FNAME.
1023
0417b20f
SP
1024 [BZ #15601]
1025 * libio/tst-widetext.input: Rename Oriya to Odia.
1026 * locale/iso-639.def: Likewise.
1027
f3fd2628
SP
1028 * manual/probes.texi (Mathematical Function Probes): Add
1029 documentation for sin, cos, asin and acos probes.
1030 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1031 (__sin32): Add slowasin probe.
1032 (__cos32): Add slowacos probe.
1033 (__mpsin): Add slowsin probe.
1034 (__mpcos): Add slowcos probe.
1035
73c1ce4f
JM
10362013-11-19 Joseph Myers <joseph@codesourcery.com>
1037
1038 [BZ #15483]
1039 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1040 thread-local __sim_exceptions_thread and global
1041 __sim_exceptions_global.
1042 (__sim_disabled_exceptions): Change to thread-local
1043 __sim_disabled_exceptions_thread and global
1044 __sim_disabled_exceptions_global.
1045 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1046 and global __sim_round_mode_global.
1047 (__simulate_exceptions): Use thread-local floating-point state and
1048 set global state from it as needed.
1049 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1050 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1051 __sim_round_mode_thread.
1052 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1053 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1054 and global __sim_exceptions_global.
1055 (__sim_disabled_exceptions): Change to thread-local
1056 __sim_disabled_exceptions_thread and global
1057 __sim_disabled_exceptions_global.
1058 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1059 and global __sim_round_mode_global.
1060 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1061 (SIM_SET_GLOBAL): Likewise.
1062 * sysdeps/powerpc/soft-fp/sfp-machine.h
1063 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1064 __sim_round_mode_thread.
1065 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1066 __sim_disabled_exceptions_thread.
1067 (__sim_exceptions): Change to __sim_exceptions_thread.
1068 (__sim_disabled_exceptions): Change to
1069 __sim_disabled_exceptions_thread.
1070 (__sim_round_mode): Change to __sim_round_mode_thread.
1071 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1072 thread-local floating-point state and set global state from it as
1073 needed.
1074 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1075 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1076 (__sim_disabled_exceptions): Remove extern declaration.
1077 (feenableexcept): Use thread-local floating-point state and set
1078 global state from it as needed.
1079 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1080 extern declaration.
1081 (__sim_disabled_exceptions): Likewise.
1082 (__sim_round_mode): Likewise.
1083 (__fegetenv): Use thread-local floating-point state.
1084 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1085 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1086 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1087 floating-point state and set global state from it as needed.
1088 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1089 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1090 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1091 Likewise.
1092 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1093 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1094 Likewise.
1095 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1096 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1097 Use __sim_round_mode_thread.
1098 * math/test-fenv-tls.c: New file.
1099 * math/Makefile (tests): Add test-fenv-tls.
1100 ($(objpfx)test-fenv-tls): Depend on
1101 $(common-objpfx)nptl/libpthread.so.
1102
b5449b12
AS
11032013-11-19 Andreas Schwab <schwab@suse.de>
1104
1105 * locale/programs/locale.c (show_info): Decode wordarray elements.
1106 * locale/categories.def (LC_MONETARY): Add element for
1107 _NL_MONETARY_CRNCYSTR.
1108 * locale/C-monetary.c (conversion_rate): New variable.
1109 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1110 element.
1111
e186536b
CM
11122013-11-18 Chris Metcalf <cmetcalf@tilera.com>
1113
1114 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1115 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1116
5c349950
PP
11172013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1118
1119 * elf/Makefile (tst-auxv): New test.
1120 * elf/tst-auxv.c: New
1121 * elf/rtld.c (dl_main): Adjust AT_EXECFN
1122
699df45b
JM
11232013-11-18 Joseph Myers <joseph@codesourcery.com>
1124
1125 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1126 (hidden_proto): Caller changed.
1127 (hidden_tls_proto): New macro.
1128 (libc_hidden_tls_proto): Likewise.
1129 (rtld_hidden_tls_proto): Likewise.
1130 (libm_hidden_tls_proto): Likewise.
1131 (libresolv_hidden_tls_proto): Likewise.
1132 (librt_hidden_tls_proto): Likewise.
1133 (libdl_hidden_tls_proto): Likewise.
1134 (libnss_files_hidden_tls_proto): Likewise.
1135 (libnsl_hidden_tls_proto): Likewise.
1136 (libnss_nisplus_hidden_tls_proto): Likewise.
1137 (libutil_hidden_tls_proto): Likewise.
1138
b7589107
OB
11392013-11-18 Ondřej Bílka <neleai@seznam.cz>
1140
1141 [BZ #10253]
1142 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1143 (decompose_rpath): Defer expansion to fillin_rpath.
1144 (_dl_init_paths): Pass linkmap to fillin_rpath.
1145
250c23bd
RS
11462013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1147
1148 * benchtests/Makefile: Add strsep.
1149 * benchtests/bench-strsep.c: New file: strsep benchtest.
1150 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1151
a7931fcf
AS
11522013-11-18 Andreas Schwab <schwab@suse.de>
1153
1154 * locale/programs/locale.c (show_info) [case byte]: Check for
1155 '\377' instead of '\177'.
1156 * locale/C-monetary.c (not_available): Always use "\377".
1157 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1158 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
1159 detect unavailable sign_posn locale elements.
1160 * locale/localeconv.c (__localeconv): For grouping and
1161 mon_grouping handle "\177" and "\377" like no grouping.
1162 (INT_ELEM): New macro. Use it to set all numeric members.
1163 * locale/programs/ld-monetary.c (monetary_read)
1164 <tok_mon_grouping>: Normalize single -1 to the empty string.
1165 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1166 Likewise.
1167
728dab0e
OB
11682013-11-07 Ondřej Bílka <neleai@seznam.cz>
1169
1170 [BZ #16055]
1171 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1172 when we match (nil).
1173 * stdio-common/tst-sscanf.c (struct test): Add testcase.
1174
66294491
JM
11752013-11-16 Joseph Myers <joseph@codesourcery.com>
1176
ce665817
JM
1177 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1178 (NO_TEST_INLINE): Update value.
1179 (ERRNO_UNCHANGED): Likewise.
1180 (ERRNO_EDOM): Likewise.
1181 (ERRNO_ERANGE): Likewise.
1182 (IGNORE_RESULT): Likewise.
1183 (check_float_internal): Check signs of NaN results if
1184 TEST_NAN_SIGN used.
1185 (check_complex): Pass TEST_NAN_SIGN flag through to second
1186 check_float_internal call.
1187 (copysign_test_data): Add tests with quiet NaNs as second
1188 argument. Use TEST_NAN_SIGN.
1189 (fabs_test_data): Add test of negative quiet NaN argument. Use
1190 TEST_NAN_SIGN.
1191 (signbit_test_data): Add tests of quiet NaN argument.
1192 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1193
ee1466a9
JM
1194 * math/gen-libm-test.pl (show_exceptions): Take extra argument
1195 $ignore_result.
1196 (parse_args): Handle function results specified as IGNORE.
1197 * math/libm-test.inc (IGNORE_RESULT): New macro.
1198 (check_float_internal): Do not check numerical result if flag
1199 IGNORE_RESULT set.
1200 (check_complex): Pass through IGNORE_RESULT to second
1201 check_float_internal call.
1202 (check_int): Do not check numerical result if flag IGNORE_RESULT
1203 set.
1204 (check_long): Likewise.
1205 (check_bool): Likewise.
1206 (check_longlong): Likewise.
1207 (lrint_test_data): Add tests of infinite and NaN arguments.
1208 (lrint_tonearest_test_data): Likewise.
1209 (lrint_towardzero_test_data): Likewise.
1210 (lrint_downward_test_data): Likewise.
1211 (lrint_upward_test_data): Likewise.
1212 (llrint_test_data): Likewise.
1213 (llrint_tonearest_test_data): Likewise.
1214 (llrint_towardzero_test_data): Likewise.
1215 (llrint_downward_test_data): Likewise.
1216 (llrint_upward_test_data): Likewise.
1217 (lround_test_data): Likewise.
1218 (llround_test_data): Likewise.
1219
14407b7e
JM
1220 * math/libm-test.inc (NO_TEST_INLINE): New macro.
1221 (ERRNO_UNCHANGED): Update value.
1222 (ERRNO_EDOM): Likewise.
1223 (ERRNO_ERANGE): Likewise.
1224 (NO_TEST_INLINE_FLOAT): New macro.
1225 (NO_TEST_INLINE_DOUBLE): Likewise.
1226 (enable_test): New function.
1227 (RUN_TEST_f_f): Check enable_test before running test.
1228 (RUN_TEST_2_f): Likewise.
1229 (RUN_TEST_fff_f): Likewise.
1230 (RUN_TEST_c_f): Likewise.
1231 (RUN_TEST_f_f1): Likewise.
1232 (RUN_TEST_fF_f1): Likewise.
1233 (RUN_TEST_fI_f1): Likewise.
1234 (RUN_TEST_ffI_f1): Likewise.
1235 (RUN_TEST_c_c): Likewise.
1236 (RUN_TEST_cc_c): Likewise.
1237 (RUN_TEST_f_i): Likewise.
1238 (RUN_TEST_f_i_tg): Likewise.
1239 (RUN_TEST_ff_i_tg): Likewise.
1240 (RUN_TEST_f_b): Likewise.
1241 (RUN_TEST_f_b_tg): Likewise.
1242 (RUN_TEST_f_l): Likewise.
1243 (RUN_TEST_f_L): Likewise.
1244 (RUN_TEST_fFF_11): Likewise.
1245 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1246 conditionals.
1247 (cosh_test_data): Likewise.
1248 (exp_test_data): Likewise.
1249 (expm1_test_data): Likewise.
1250 (hypot_test_data): Likewise.
1251 (pow_test_data): Likewise.
1252 (sinh_test_data): Likewise.
1253 (tanh_test_data): Likewise.
1254 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1255 flags argument.
1256
ca07f197
JM
1257 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1258 tests with quiet NaN input and output.
1259 (acosh_test_data): Likewise.
1260 (asin_test_data): Likewise.
1261 (asinh_test_data): Likewise.
1262 (atan_test_data): Likewise.
1263 (atanh_test_data): Likewise.
1264 (atan2_test_data): Likewise.
1265 (cbrt_test_data): Likewise.
1266 (cos_test_data): Likewise.
1267 (cosh_test_data): Likewise.
1268 (erf_test_data): Likewise.
1269 (erfc_test_data): Likewise.
1270 (exp_test_data): Likewise.
1271 (exp10_test_data): Likewise.
1272 (exp2_test_data): Likewise.
1273 (expm1_test_data): Likewise.
1274 (hypot_test_data): Likewise.
1275 (j0_test_data): Likewise.
1276 (j1_test_data): Likewise.
1277 (jn_test_data): Likewise.
1278 (lgamma_test_data): Likewise.
1279 (log_test_data): Likewise.
1280 (log10_test_data): Likewise.
1281 (log1p_test_data): Likewise.
1282 (log2_test_data): Likewise.
1283 (pow_test_data): Likewise.
1284 (scalb_test_data): Likewise.
1285 (sin_test_data): Likewise.
1286 (sincos_test_data): Likewise.
1287 (sinh_test_data): Likewise.
1288 (tan_test_data): Likewise.
1289 (tanh_test_data): Likewise.
1290 (tgamma_test_data): Likewise.
1291 (y0_test_data): Likewise.
1292 (y1_test_data): Likewise.
1293 (yn_test_data): Likewise.
1294
66294491
JM
1295 [BZ #16167]
1296 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1297 argument being NaN and avoid computations with second argument in
1298 that case.
1299 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1300 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1301 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1302
1820b143
CL
13032013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
1304
1305 * locale/iso-639.def: Add Chitwani Tharu (the).
1306
714bd261
AS
13072013-11-14 Andreas Schwab <schwab@suse.de>
1308
1309 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1310 word instead of empty string.
1311
7ab44563
AZ
13122013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1313
1314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1315 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1317 (__fe_nomask_env): Likewise.
1318
e8470ea2
SE
13192013-11-13 Steve Ellcey <sellcey@mips.com>
1320
1321 * benchtests/bench-timing.h: Include time.h.
1322
17c1d9f0
L
13232013-11-13 H.J. Lu <hongjiu.lu@intel.com>
1324
1325 [BZ #15997]
1326 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1327 to 3.4.0 for x32.
1328 * sysdeps/unix/sysv/linux/configure: Regenerated.
1329
9310c284
JM
13302013-11-13 Joseph Myers <joseph@codesourcery.com>
1331
1332 [BZ #16151]
1333 * stdlib/strtod_l.c (round_and_return): Do not consider
1334 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1335 exponent one less than half the least subnormal exponent.
1336 * stdlib/test-strtod-round-data: Add more tests.
1337 * stdlib/tst-strtod-round.c (tests): Regenerated.
1338
7a2ad8cf
AZ
13392013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1340
1341 [BZ #14143]
1342 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1343 (__fe_mask_env): Likewise.
1344 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1345 libm_hidden_proto and add function prototype.
1346 (__fe_mask_env): Add function prototype.
1347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1348 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1350 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1351 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1352 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1353
50727aa7
MS
13542013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1355
b2f386c1 1356 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
1357 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1358
a615be46
MS
13592013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1360
1361 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1362 of htab_find_slot().
1363
7ddace62
DM
13642013-11-11 David S. Miller <davem@davemloft.net>
1365
1366 [BZ #16150]
1367 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1368 symbol in the non-vis3 case in static builds.
1369 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1370 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1371 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1372 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1373
9182aa67
JK
13742013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1375
1376 [BZ #387]
1377 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1378 it is empty.
1379
450a2e2d
AZ
13802013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1381
b2f386c1
SP
1382 * benchtests/Makefile: Add bench-strtod.
1383 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 1384
8ec3f656
AS
13852013-11-11 Andreas Schwab <schwab@suse.de>
1386
1387 [BZ #16153]
1388 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1389 terminating NUL in key length.
1390
76a9b998
AZ
13912013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1392
1393 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1394 Add artificial ODP entry for vDSO symbol for PPC64.
1395 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
1396 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1397
e4368156
OB
13982013-11-07 Ondřej Bílka <neleai@seznam.cz>
1399
1400 [BZ #15374]
1401 * nss/getent.c (services_keys): Recognize services starting with digit.
1402
8d6bb57c
DM
14032013-11-06 David S. Miller <davem@davemloft.net>
1404
1405 [BZ #15985]
1406 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1407 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1408
e256c421
WN
14092013-11-06 Will Newton <will.newton@linaro.org>
1410
1411 * manual/memory.texi (Malloc Examples): Remove register
1412 keyword from examples.
1413
f6e12daa 14142013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 1415
f6e12daa 1416 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 1417
9d880655
AS
14182013-11-04 Joseph Myers <joseph@codesourcery.com>
1419
1420 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
1421 depending on [__GCC_IEC_559 > 0].
1422 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1423 depending on [__GCC_IEC_559_COMPLEX > 0].
1424
ae129d3c
CL
14252013-11-03 Chris Leonard <cjl@sugarlabs.org>
1426
1427 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1428 to iso-639.def.
1429
4a15c2a4 14302013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
1431
1432 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1433
8b35e35d
OB
14342013-11-01 Ondřej Bílka <neleai@seznam.cz>
1435
1436 [BZ #16112]
1437 * malloc/malloc (malloc_info): Do not handle first bin as
1438 special case.
1439
1d70fd6c
CL
14402013-11-01 Chris Leonard <cjl@sugarlabs.org>
1441
1442 * locale/iso-639.def: Add Central Nahuatl (nhn).
1443
8c5c2600
BH
14442013-11-01 Bruno Haible <bruno@clisp.org>
1445
1446 [BZ #7003]
1447 * manual/math.texi (BSD Random): Specify range upper bound as
1448 in POSIX.
1449
da5579c2
CL
14502013-10-31 Chris Leonard <cjl@sugarlabs.org>
1451
1452 * locale/iso-639.def: Add Meadow Mari (mhr).
1453
5d30d853
OB
14542013-10-31 Ondřej Bílka <neleai@seznam.cz>
1455
1456 [BZ #14752], [BZ #15763]
1457 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1458 Validate name.
1459 * rt/tst_shm.c: Add test for escaping directory.
1460
a4966c61
AS
14612013-10-31 Andreas Schwab <schwab@suse.de>
1462
8a43e768 1463 [BZ #15917]
a4966c61
AS
1464 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1465 followed by 'x' as part of digit sequence.
1466 * stdio-common/tst-sscanf.c (double_tests2): New tests.
1467
28d708c4
MAP
14682013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1469
1470 [BZ #16037]
1471 * configure.ac: allow GNU Make 4.0 and greater.
1472 * configure: Regenerated.
1473
a56ee40b
WN
14742013-10-30 Will Newton <will.newton@linaro.org>
1475
1476 [BZ #16038]
1477 * malloc/hooks.c (memalign_check): Limit alignment to the
1478 maximum representable power of two.
1479 * malloc/malloc.c (__libc_memalign): Likewise.
1480 * malloc/tst-memalign.c (do_test): Add test for very
1481 large alignment values.
1482 * malloc/tst-posix_memalign.c (do_test): Likewise.
1483
c6e4925d
OB
14842013-10-30 Ondřej Bílka <neleai@seznam.cz>
1485
1486 [BZ #11087]
1487 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1488 (munmap_chunk): Likewise.
1489 (mremap_chunk): Likewise.
1490
14912013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 1492
8a43e768 1493 [BZ #15799]
bbea82f7
OB
1494 * stdlib/div.c (div): Remove obsolete code.
1495 * stdlib/ldiv.c (ldiv): Likewise.
1496 * stdlib/lldiv.c (lldiv): Likewise.
1497
977f4b31
SP
14982013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1499
1500 [BZ #16071]
1501 * nss/nss_files/files-XXX.c (get_contents_ret): New
1502 enumerator.
1503 (get_contents): New function.
1504 (internal_getent): Use it. Expand size of LINEBUFLEN.
1505
cb8a6dbd
MF
15062013-10-30 Mike Frysinger <vapier@gentoo.org>
1507
1508 * configure.in: Moved to ...
1509 * configure.ac: ... here. Change reference to configure.in
1510 to configure.ac.
1511 * sysdeps/arm/preconfigure.ac: ... here.
1512 configure.in to configure.ac.
1513 * sysdeps/gnu/configure.in: Moved to ...
1514 * sysdeps/gnu/configure.ac: ... here.
1515 * sysdeps/i386/configure.in: Moved to ...
1516 * sysdeps/i386/configure.ac: ... here.
1517 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1518 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1519 * sysdeps/mach/configure.in: Moved to ...
1520 * sysdeps/mach/configure.ac: ... here.
1521 * sysdeps/mach/hurd/configure.in: Moved to ...
1522 * sysdeps/mach/hurd/configure.ac: ... here.
1523 * sysdeps/powerpc/configure.in: Moved to ...
1524 * sysdeps/powerpc/configure.ac: ... here.
1525 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1526 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1527 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1528 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1529 * sysdeps/s390/s390-32/configure.in: Moved to ...
1530 * sysdeps/s390/s390-32/configure.ac: ... here.
1531 * sysdeps/s390/s390-64/configure.in: Moved to ...
1532 * sysdeps/s390/s390-64/configure.ac: ... here.
1533 * sysdeps/sh/configure.in: Moved to ...
1534 * sysdeps/sh/configure.ac: ... here.
1535 * sysdeps/sparc/configure.in: Moved to ...
1536 * sysdeps/sparc/configure.ac: ... here.
1537 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1538 * sysdeps/unix/sysv/linux/configure.ac: ... here.
1539 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1540 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1541 * sysdeps/x86_64/configure.in: Moved to ...
1542 * sysdeps/x86_64/configure.ac: ... here.
1543 * sysdeps/x86_64/preconfigure.in: Moved to ...
1544 * sysdeps/x86_64/preconfigure.ac: ... here.
1545 * aclocal.m4: Change reference to configure.in to configure.ac.
1546 * config.h.in: Likewise.
1547 * manual/install.texi: Likewise.
1548 * manual/maint.texi: Likewise.
1549 * Makefile: Likewise.
1550 * malloc/Makefile: Likewise.
1551 * nscd/Makefile: Likewise.
1552 * Makeconfig: Change reference to configure.in and
1553 preconfigure.in to configure.ac and preconfigure.ac
1554 respectively.
1555 * INSTALL: Regenerated.
1556 * configure: Likewise.
1557 * sysdeps/gnu/configure: Likewise.
1558 * sysdeps/i386/configure: Likewise.
1559 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1560 * sysdeps/mach/configure: Likewise.
1561 * sysdeps/mach/hurd/configure: Likewise.
1562 * sysdeps/powerpc/configure: Likewise.
1563 * sysdeps/powerpc/powerpc32/configure: Likewise.
1564 * sysdeps/powerpc/powerpc64/configure: Likewise.
1565 * sysdeps/s390/s390-32/configure: Likewise.
1566 * sysdeps/s390/s390-64/configure: Likewise.
1567 * sysdeps/sh/configure: Likewise.
1568 * sysdeps/sparc/configure: Likewise.
1569 * sysdeps/unix/sysv/linux/configure: Likewise.
1570 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1571 * sysdeps/x86_64/configure: Likewise.
1572 * sysdeps/x86_64/preconfigure: Likewise.
1573
36a4953a
AS
15742013-10-29 Andreas Schwab <schwab@suse.de>
1575
1576 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1577
c79a1204
SP
15782013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1579
dfa1b402
SP
1580 * benchtests/pow-inputs: Add new inputs.
1581
54f73d9c
SP
1582 * benchtests/exp-inputs: Add new inputs.
1583
c79a1204
SP
1584 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1585 conditional check for return value.
1586 (__cos32): Likewise.
1587
67beb545 15882013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
1589
1590 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1591 to provide a boost for large inputs with word alignment.
1592 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1593 implementation based on optimized PPC64 strcpy.
1594 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1595 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1596 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1597 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1598
151659f6
OB
15992013-10-25 Ondřej Bílka <neleai@seznam.cz>
1600
482a077e 1601 [BZ #2801]
151659f6
OB
1602 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1603
10b0f26b
OB
16042013-10-25 Ondřej Bílka <neleai@seznam.cz>
1605
1606 [BZ #14876]
1607 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1608 * time/tst-strptime.c (day_tests): Add testcase.
1609
ca42d35e
OB
16102013-10-25 Ondřej Bílka <neleai@seznam.cz>
1611
482a077e 1612 [BZ #14029]
ca42d35e
OB
1613 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1614
52e6d801
FB
16152013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1616
1617 [BZ #16074]
1618 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1619 MAP_FAILED on error.
1620
7cbcdb36
SP
16212013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1622
1623 [BZ #16072]
1624 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1625 heap for large requests.
1626
894f3f10
AM
16272013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1628
1629 [BZ #9954]
1630 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1631 result if the result has no associated interface.
1632 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1633 interface for all 127.X.Y.Z addresses.
1634
b85545a6
CL
16352013-10-24 Chris Leonard <cjl@sugarlabs.org>
1636
1637 * locale/iso-639.def: Add Ligurian (lij)
1638
d1f23d46
OB
16392013-10-21 Ondřej Bílka <neleai@seznam.cz>
1640
1641 [BZ #15825]
1642 * sunrpc/rpc_main.c: Document rpcgen -5.
1643
4db5b08f
MS
16442013-10-19 Michael Stahl <mstahl@redhat.com>
1645
1646 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1647
a471e96a
OB
16482013-10-19 Ondřej Bílka <neleai@seznam.cz>
1649
d1f23d46 1650 [BZ #10278]
a471e96a
OB
1651 * posix/glob.c: Match only directories when trailing slash is present.
1652 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1653 (main): Add testcase.
1654
45c30c61
OB
16552013-10-19 Ondřej Bílka <neleai@seznam.cz>
1656
1657 [BZ #15670]
1658 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1659
484c12fb
CD
16602013-10-18 Carlos O'Donell <carlos@redhat.com>
1661
3d7dc513
CD
1662 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1663 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1664 AUTH_DES and cindex for FIPS 140-2.
1665 (DES Encryption): Add cindex FIPS 46-3.
1666
484c12fb
CD
1667 * locale/locarchive.h (struct locarhandle): Add fname.
1668 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1669 if an optional argument was specified to --list-archive,
1670 otherwise NULL.
1671 * locale/programs/locarchive.c (show_archive_content): Take new
1672 argument fname and pass it via ah.fname to open_archive.
1673 * locale/programs/localedef.h: Update decl.
1674 (open_archive): If AH->fname is non-null, open that file
1675 rather than the default file name, and don't ignore ENOENT.
1676 (create_archive): Set AH.fname to NULL.
1677 (delete_locales_from_archive): Likewise.
1678 (add_locales_to_archive): Likewise.
1679 * locale/programs/locfile.c (write_all_categories): Likewise.
1680
3c8325fb
JM
16812013-10-18 Joseph Myers <joseph@codesourcery.com>
1682 Aldy Hernandez <aldyh@redhat.com>
1683
1684 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1685 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1686 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1687 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1688 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1689 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1690 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1691 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1692 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1693 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1694 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1695 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1696 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1697 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1698 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1699 Likewise.
1700 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1701 Likewise.
1702 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1703 Likewise.
1704 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1705 Likewise.
1706 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1707 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1708 Likewise.
1709 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1710 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1711 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1712 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1713 Likewise.
1714 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1715 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1716 * sysdeps/powerpc/preconfigure: Likewise.
1717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1718 Likewise.
1719 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1720 Replace contents of file by #include of <fenv_libc.h>.
1721 * sysdeps/powerpc/soft-fp/sfp-machine.h
1722 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1723 and <sys/prctl.h>.
1724 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1725 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1726 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1727 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1728 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1729 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1730 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1731 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1732 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1733 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1734 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1735 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1737 Allow copysignl PLT reference to be missing.
1738
5abe0682
RS
17392013-10-18 Richard Sandiford <richard@codesourcery.com>
1740 Joseph Myers <joseph@codesourcery.com
1741
1742 [BZ #15948]
1743 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1744 single character.
1745 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1746
c7738d08
SP
17472013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1748
1749 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1750 * elf/tst-tls1.c: Likewise.
1751 * elf/tst-tls10.h: Likewise.
1752 * elf/tst-tls14.c: Likewise.
1753 * elf/tst-tls2.c: Likewise.
1754 * elf/tst-tls3.c: Likewise.
1755 * elf/tst-tls4.c: Likewise.
1756 * elf/tst-tls5.c: Likewise.
1757 * elf/tst-tls6.c: Likewise.
1758 * elf/tst-tls7.c: Likewise.
1759 * elf/tst-tls8.c: Likewise.
1760 * elf/tst-tls9.c: Likewise.
1761 * elf/tst-tlsmod1.c: Likewise.
1762 * elf/tst-tlsmod13.c: Likewise.
1763 * elf/tst-tlsmod13a.c: Likewise.
1764 * elf/tst-tlsmod14a.c: Likewise.
1765 * elf/tst-tlsmod16a.c: Likewise.
1766 * elf/tst-tlsmod16b.c: Likewise.
1767 * elf/tst-tlsmod2.c: Likewise.
1768 * elf/tst-tlsmod3.c: Likewise.
1769 * elf/tst-tlsmod4.c: Likewise.
1770 * elf/tst-tlsmod5.c: Likewise.
1771 * elf/tst-tlsmod6.c: Likewise.
1772
0bfcf2c7
OB
17732013-10-18 Ondřej Bílka <neleai@seznam.cz>
1774
1775 [BZ #12486]
1776 * malloc/malloc.c: remove checks for statistics.
1777
264aad1e
OB
17782013-10-17 Ondřej Bílka <neleai@seznam.cz>
1779
1780 [BZ #15277]
1781 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1782 * inet/tst-network.c: Add testcase.
1783
b957ced8
AS
17842013-10-17 Andreas Schwab <schwab@suse.de>
1785
1786 [BZ #15218]
1787 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1788 to determine canonical name.
1789
c5d5d574
OB
17902013-10-17 Ondřej Bílka <neleai@seznam.cz>
1791
1792 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1793 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1794 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1795 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1796 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1797 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1798 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1799 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1800 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1801 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1802 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1803 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1804 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1805 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1806 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1807 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1808 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1809 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1810 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1811 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1812 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1813 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1814 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1815 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1816 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1817 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1818 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1819 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1820 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1821 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1822 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1823 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1824 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1825 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1826 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1827 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1828 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1829 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1830 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1831 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1832 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1833 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1834 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1835 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1836 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1837 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1838 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1839 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1840 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1841 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1842 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1843 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1844 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1845 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1846 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1847 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1848 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1849 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1850
e5c2c2d0
JM
18512013-10-17 Joseph Myers <joseph@codesourcery.com>
1852
1853 [BZ #16041]
1854 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1855 make result into a quiet NaN.
1856
51ca9e29
JM
18572013-10-16 Joseph Myers <joseph@codesourcery.com>
1858
1859 * soft-fp/adddf3.c: Fix horizontal whitespace.
1860 * soft-fp/addsf3.c: Likewise.
1861 * soft-fp/addtf3.c: Likewise.
1862 * soft-fp/divdf3.c: Likewise.
1863 * soft-fp/divsf3.c: Likewise.
1864 * soft-fp/divtf3.c: Likewise.
1865 * soft-fp/double.h: Likewise.
1866 * soft-fp/eqdf2.c: Likewise.
1867 * soft-fp/eqsf2.c: Likewise.
1868 * soft-fp/eqtf2.c: Likewise.
1869 * soft-fp/extenddftf2.c: Likewise.
1870 * soft-fp/extended.h: Likewise.
1871 * soft-fp/extendsfdf2.c: Likewise.
1872 * soft-fp/extendsftf2.c: Likewise.
1873 * soft-fp/extendxftf2.c: Likewise.
1874 * soft-fp/fixdfdi.c: Likewise.
1875 * soft-fp/fixdfsi.c: Likewise.
1876 * soft-fp/fixdfti.c: Likewise.
1877 * soft-fp/fixsfdi.c: Likewise.
1878 * soft-fp/fixsfsi.c: Likewise.
1879 * soft-fp/fixsfti.c: Likewise.
1880 * soft-fp/fixtfdi.c: Likewise.
1881 * soft-fp/fixtfsi.c: Likewise.
1882 * soft-fp/fixtfti.c: Likewise.
1883 * soft-fp/fixunsdfdi.c: Likewise.
1884 * soft-fp/fixunsdfsi.c: Likewise.
1885 * soft-fp/fixunsdfti.c: Likewise.
1886 * soft-fp/fixunssfdi.c: Likewise.
1887 * soft-fp/fixunssfsi.c: Likewise.
1888 * soft-fp/fixunssfti.c: Likewise.
1889 * soft-fp/fixunstfdi.c: Likewise.
1890 * soft-fp/fixunstfsi.c: Likewise.
1891 * soft-fp/fixunstfti.c: Likewise.
1892 * soft-fp/floatdidf.c: Likewise.
1893 * soft-fp/floatdisf.c: Likewise.
1894 * soft-fp/floatditf.c: Likewise.
1895 * soft-fp/floatsidf.c: Likewise.
1896 * soft-fp/floatsisf.c: Likewise.
1897 * soft-fp/floatsitf.c: Likewise.
1898 * soft-fp/floattidf.c: Likewise.
1899 * soft-fp/floattisf.c: Likewise.
1900 * soft-fp/floattitf.c: Likewise.
1901 * soft-fp/floatundidf.c: Likewise.
1902 * soft-fp/floatundisf.c: Likewise.
1903 * soft-fp/floatunditf.c: Likewise.
1904 * soft-fp/floatunsidf.c: Likewise.
1905 * soft-fp/floatunsisf.c: Likewise.
1906 * soft-fp/floatunsitf.c: Likewise.
1907 * soft-fp/floatuntidf.c: Likewise.
1908 * soft-fp/floatuntisf.c: Likewise.
1909 * soft-fp/floatuntitf.c: Likewise.
1910 * soft-fp/fmadf4.c: Likewise.
1911 * soft-fp/fmasf4.c: Likewise.
1912 * soft-fp/fmatf4.c: Likewise.
1913 * soft-fp/gedf2.c: Likewise.
1914 * soft-fp/gesf2.c: Likewise.
1915 * soft-fp/getf2.c: Likewise.
1916 * soft-fp/ledf2.c: Likewise.
1917 * soft-fp/lesf2.c: Likewise.
1918 * soft-fp/letf2.c: Likewise.
1919 * soft-fp/muldf3.c: Likewise.
1920 * soft-fp/mulsf3.c: Likewise.
1921 * soft-fp/multf3.c: Likewise.
1922 * soft-fp/negdf2.c: Likewise.
1923 * soft-fp/negsf2.c: Likewise.
1924 * soft-fp/negtf2.c: Likewise.
1925 * soft-fp/op-1.h: Likewise.
1926 * soft-fp/op-2.h: Likewise.
1927 * soft-fp/op-4.h: Likewise.
1928 * soft-fp/op-8.h: Likewise.
1929 * soft-fp/op-common.h: Likewise.
1930 * soft-fp/quad.h: Likewise.
1931 * soft-fp/single.h: Likewise.
1932 * soft-fp/soft-fp.h: Likewise.
1933 * soft-fp/sqrtdf2.c: Likewise.
1934 * soft-fp/sqrtsf2.c: Likewise.
1935 * soft-fp/sqrttf2.c: Likewise.
1936 * soft-fp/subdf3.c: Likewise.
1937 * soft-fp/subsf3.c: Likewise.
1938 * soft-fp/subtf3.c: Likewise.
1939 * soft-fp/truncdfsf2.c: Likewise.
1940 * soft-fp/trunctfdf2.c: Likewise.
1941 * soft-fp/trunctfsf2.c: Likewise.
1942 * soft-fp/trunctfxf2.c: Likewise.
1943 * soft-fp/unorddf2.c: Likewise.
1944 * soft-fp/unordsf2.c: Likewise.
1945 * soft-fp/unordtf2.c: Likewise.
1946
9ebb0332
JM
19472013-10-15 Joseph Myers <joseph@codesourcery.com>
1948
1949 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1950 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1951
4b1a6d8b
OB
19522013-10-15 Ondřej Bílka <neleai@seznam.cz>
1953
1954 * elf/dl-libc.c: Clear initfini list after freeing.
1955
1e145589
JM
19562013-10-14 Joseph Myers <joseph@codesourcery.com>
1957
1958 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1959 * soft-fp/addsf3.c: Likewise.
1960 * soft-fp/addtf3.c: Likewise.
1961 * soft-fp/divdf3.c: Likewise.
1962 * soft-fp/divsf3.c: Likewise.
1963 * soft-fp/divtf3.c: Likewise.
1964 * soft-fp/double.h: Likewise.
1965 * soft-fp/eqdf2.c: Likewise.
1966 * soft-fp/eqsf2.c: Likewise.
1967 * soft-fp/eqtf2.c: Likewise.
1968 * soft-fp/extenddftf2.c: Likewise.
1969 * soft-fp/extended.h: Likewise.
1970 * soft-fp/extendsfdf2.c: Likewise.
1971 * soft-fp/extendsftf2.c: Likewise.
1972 * soft-fp/extendxftf2.c: Likewise.
1973 * soft-fp/fixdfdi.c: Likewise.
1974 * soft-fp/fixdfsi.c: Likewise.
1975 * soft-fp/fixdfti.c: Likewise.
1976 * soft-fp/fixsfdi.c: Likewise.
1977 * soft-fp/fixsfsi.c: Likewise.
1978 * soft-fp/fixsfti.c: Likewise.
1979 * soft-fp/fixtfdi.c: Likewise.
1980 * soft-fp/fixtfsi.c: Likewise.
1981 * soft-fp/fixtfti.c: Likewise.
1982 * soft-fp/fixunsdfdi.c: Likewise.
1983 * soft-fp/fixunsdfsi.c: Likewise.
1984 * soft-fp/fixunsdfti.c: Likewise.
1985 * soft-fp/fixunssfdi.c: Likewise.
1986 * soft-fp/fixunssfsi.c: Likewise.
1987 * soft-fp/fixunssfti.c: Likewise.
1988 * soft-fp/fixunstfdi.c: Likewise.
1989 * soft-fp/fixunstfsi.c: Likewise.
1990 * soft-fp/fixunstfti.c: Likewise.
1991 * soft-fp/floatdidf.c: Likewise.
1992 * soft-fp/floatdisf.c: Likewise.
1993 * soft-fp/floatditf.c: Likewise.
1994 * soft-fp/floatsidf.c: Likewise.
1995 * soft-fp/floatsisf.c: Likewise.
1996 * soft-fp/floatsitf.c: Likewise.
1997 * soft-fp/floattidf.c: Likewise.
1998 * soft-fp/floattisf.c: Likewise.
1999 * soft-fp/floattitf.c: Likewise.
2000 * soft-fp/floatundidf.c: Likewise.
2001 * soft-fp/floatundisf.c: Likewise.
2002 * soft-fp/floatunsidf.c: Likewise.
2003 * soft-fp/floatunsisf.c: Likewise.
2004 * soft-fp/floatuntidf.c: Likewise.
2005 * soft-fp/floatuntisf.c: Likewise.
2006 * soft-fp/floatuntitf.c: Likewise.
2007 * soft-fp/fmadf4.c: Likewise.
2008 * soft-fp/fmasf4.c: Likewise.
2009 * soft-fp/fmatf4.c: Likewise.
2010 * soft-fp/gedf2.c: Likewise.
2011 * soft-fp/gesf2.c: Likewise.
2012 * soft-fp/getf2.c: Likewise.
2013 * soft-fp/ledf2.c: Likewise.
2014 * soft-fp/lesf2.c: Likewise.
2015 * soft-fp/letf2.c: Likewise.
2016 * soft-fp/muldf3.c: Likewise.
2017 * soft-fp/mulsf3.c: Likewise.
2018 * soft-fp/multf3.c: Likewise.
2019 * soft-fp/negdf2.c: Likewise.
2020 * soft-fp/negsf2.c: Likewise.
2021 * soft-fp/negtf2.c: Likewise.
2022 * soft-fp/op-1.h: Likewise.
2023 * soft-fp/op-2.h: Likewise.
2024 * soft-fp/op-4.h: Likewise.
2025 * soft-fp/op-8.h: Likewise.
2026 * soft-fp/op-common.h: Likewise.
2027 * soft-fp/quad.h: Likewise.
2028 * soft-fp/single.h: Likewise.
2029 * soft-fp/soft-fp.h: Likewise.
2030 * soft-fp/sqrtdf2.c: Likewise.
2031 * soft-fp/sqrtsf2.c: Likewise.
2032 * soft-fp/sqrttf2.c: Likewise.
2033 * soft-fp/subdf3.c: Likewise.
2034 * soft-fp/subsf3.c: Likewise.
2035 * soft-fp/subtf3.c: Likewise.
2036 * soft-fp/truncdfsf2.c: Likewise.
2037 * soft-fp/trunctfdf2.c: Likewise.
2038 * soft-fp/trunctfsf2.c: Likewise.
2039 * soft-fp/trunctfxf2.c: Likewise.
2040 * soft-fp/unorddf2.c: Likewise.
2041 * soft-fp/unordsf2.c: Likewise.
2042 * soft-fp/unordtf2.c: Likewise.
2043
17c48a60
OB
20442013-10-14 Ondřej Bílka <neleai@seznam.cz>
2045
2046 [BZ #15672]
2047 * misc/error.c (error_tail): Fix possible buffer overflow.
2048
cabba934
OB
20492013-10-14 Aurelien Jarno <aurelien@aurel32.net>
2050
2051 [BZ #13028]
2052 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2053 address.
2054
94bf958a
PM
20552013-10-14 P. J. McDermott <pj@pehjota.net>
2056
2057 [BZ #832]
2058 * elf/ldd.bash.in (try_trace): New function. Delete previous code
2059 testing pipefail option.
2060
71b4dea7
JM
20612013-10-12 Joseph Myers <joseph@codesourcery.com>
2062
2063 * soft-fp/double.h: Indent preprocessor directives inside #if.
2064 * soft-fp/extended.h: Likewise.
2065 * soft-fp/op-2.h: Likewise.
2066 * soft-fp/op-4.h: Likewise.
2067 * soft-fp/op-common.h: Likewise.
2068 * soft-fp/quad.h: Likewise.
2069 * soft-fp/single.h: Likewise.
2070 * soft-fp/soft-fp.h: Likewise.
2071
55602758
YC
20722013-10-12 Yuri Chornoivan <yurchor@ukr.net>
2073
2074 * iconv/iconv_prog.c: Fix typos.
2075 * stdio-common/psiginfo-data.h: Likewise.
2076
9cd83302
RT
20772013-10-12 Reuben Thomas <rrt@sc3d.org>
2078
2079 [BZ #15764]
2080 * locale/setlocale.c: Fix typo.
2081
99fd9f47
JM
20822013-10-12 Joseph Myers <joseph@codesourcery.com>
2083
b7ea74f0
JM
2084 [BZ #16036]
2085 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2086 signaling NaN arguments.
2087 * soft-fp/unordsf2.c (__unordsf2): Likewise.
2088 * soft-fp/unordtf2.c (__unordtf2): Likewise.
2089
8a509447
JM
2090 [BZ #14910]
2091 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2092 unordered operands.
2093 * soft-fp/gesf2.c (__gesf2): Likewise.
2094 * soft-fp/getf2.c (__getf2): Likewise.
2095 * soft-fp/ledf2.c (__ledf2): Likewise.
2096 * soft-fp/lesf2.c (__lesf2): Likewise.
2097 * soft-fp/letf2.c (__letf2): Likewise.
2098
98998e9f
JM
2099 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2100 * soft-fp/eqsf2.c (__eqsf2): Likewise.
2101 * soft-fp/eqtf2.c (__eqtf2): Likewise.
2102 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2103 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2104 * soft-fp/fixdfti.c (__fixdfti): Likewise.
2105 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2106 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2107 * soft-fp/fixsfti.c (__fixsfti): Likewise.
2108 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2109 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2110 * soft-fp/fixtfti.c (__fixtfti): Likewise.
2111 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2112 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2113 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2114 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2115 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2116 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2117 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2118 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2119 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2120 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2121 * soft-fp/floatdisf.c (__floatdisf): Likewise.
2122 * soft-fp/floatsisf.c (__floatsisf): Likewise.
2123 * soft-fp/floattidf.c (__floattidf): Likewise.
2124 * soft-fp/floattisf.c (__floattisf): Likewise.
2125 * soft-fp/floattitf.c (__floattitf): Likewise.
2126 * soft-fp/floatundidf.c (__floatundidf): Likewise.
2127 * soft-fp/floatundisf.c (__floatundisf): Likewise.
2128 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2129 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2130 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2131 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2132 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2133 * soft-fp/gesf2.c (__gesf2): Likewise.
2134 * soft-fp/getf2.c (__getf2): Likewise.
2135 * soft-fp/ledf2.c (__ledf2): Likewise.
2136 * soft-fp/lesf2.c (__lesf2): Likewise.
2137 * soft-fp/letf2.c (__letf2): Likewise.
2138
8edc4a11
JM
2139 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2140 Undefine and redefine.
2141 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2142 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2143 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2144 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2145 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2146 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2147 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2148 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2149 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2150 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2151 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2152 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2153 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2154 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2155 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2156
8399acaf
JM
2157 [BZ #16032]
2158 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2159 without decrementing exponent if mantissa >= that for the
2160 denominator, not >.
2161 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2162 denominator, not >. Decrement exponent in < case instead of
2163 incrementing in >= case.
2164 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2165 without decrementing exponent if mantissa >= that for the
2166 denominator, not >.
2167
99fd9f47
JM
2168 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2169 computing saturated result for unsigned overflow.
2170
10e1cf6b
SP
21712013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2172 Jeff Law <law@redhat.com>
2173
2174 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2175 (atan2Mp): Add systemtap probe marker.
2176 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2177 (__ieee754_log): Add systemtap probe marker.
2178 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2179 (atanMp): Add systemtap probe marker.
2180 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2181 (tanMp): Add systemtap probe marker.
2182 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2183 (__slowexp): Add systemtap probe marker.
2184 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2185 (__slowpow): Add systemtap probe marker.
2186 * manual/probes.texi: Document probes.
2187
3d110c7c
EB
21882013-10-11 Eric Biggers <ebiggers3@gmail.com>
2189
2190 [BZ #15362]
2191 * libio/fileops.c (_IO_new_file_write): Return count of bytes
2192 written.
2193 (_IO_new_file_xsputn): Don't return EOF if nothing has been
2194 written.
2195 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2196 written to buffer but not flushed.
2197 * libio/iofwrite_u.c: Likewise.
2198 * libio/iopadn.c: Return bytes returned even if EOF was
2199 encountered.
2200 * libio/iowpadn.c: Likewise.
2201 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2202 if _IO_padn does not write the whole buffer.
2203 [!COMPILE_WPRINTF] (PAD): Likewise.
2204
75b4202a
DM
22052013-10-10 David S. Miller <davem@davemloft.net>
2206
2207 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2208 directory block.
2209
6c6352e6
JM
22102013-10-10 Joseph Myers <joseph@codesourcery.com>
2211
33b853c3
JM
2212 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
2213 instead of FSF address.
2214 * soft-fp/fixdfti.c: Likewise.
2215 * soft-fp/fixsfti.c: Likewise.
2216 * soft-fp/fixtfti.c: Likewise.
2217 * soft-fp/fixunsdfti.c: Likewise.
2218 * soft-fp/fixunssfti.c: Likewise.
2219 * soft-fp/fixunstfti.c: Likewise.
2220 * soft-fp/floattidf.c: Likewise.
2221 * soft-fp/floattisf.c: Likewise.
2222 * soft-fp/floattitf.c: Likewise.
2223 * soft-fp/floatuntidf.c: Likewise.
2224 * soft-fp/floatuntisf.c: Likewise.
2225 * soft-fp/floatuntitf.c: Likewise.
2226 * soft-fp/trunctfxf2.c: Likewise.
2227
6c6352e6
JM
2228 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
2229 * soft-fp/fixdfti.c: Likewise.
2230 * soft-fp/fixsfti.c: Likewise.
2231 * soft-fp/fixtfti.c: Likewise.
2232 * soft-fp/fixunsdfti.c: Likewise.
2233 * soft-fp/fixunssfti.c: Likewise.
2234 * soft-fp/fixunstfti.c: Likewise.
2235 * soft-fp/floattidf.c: Likewise.
2236 * soft-fp/floattisf.c: Likewise.
2237 * soft-fp/floattitf.c: Likewise.
2238 * soft-fp/floatuntidf.c: Likewise.
2239 * soft-fp/floatuntisf.c: Likewise.
2240 * soft-fp/floatuntitf.c: Likewise.
2241 * soft-fp/trunctfxf2.c: Likewise.
2242
3bf78b71
DM
22432013-10-10 David S. Miller <davem@davemloft.net>
2244
2245 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2246
6f10289e
JM
22472013-10-10 Joseph Myers <joseph@codsourcery.com>
2248
bd878fc0
JM
2249 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2250 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2251 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2252 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2253 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2254 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2255 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2256
6f10289e
JM
2257 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2258 for NaNs before doing comparisons on argument.
2259 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2260 Likewise.
2261
321e2684
WN
22622013-10-10 Will Newton <will.newton@linaro.org>
2263
2264 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2265 passed to _int_memalign does not overflow.
2266
40fefba1
TR
22672013-10-10 Torvald Riegel <triegel@redhat.com>
2268
2269 * scripts/bench.pl: Add include-sources directive.
2270 * benchtests/README: Update documentation.
2271
2ae21ed2
JM
22722013-10-10 Joseph Myers <joseph@codesourcery.com>
2273
dcc2dd3f
JM
2274 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2275 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2276 instead of FP_INIT_ROUNDMODE.
2277 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2278 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2279
2ae21ed2
JM
2280 [BZ #16034]
2281 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
2282 copy class of input value.
2283 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
2284 not handle exceptions.
2285 * soft-fp/negsf2.c (__negsf2): Likewise.
2286 * soft-fp/negtf2.c (__negtf2): Likewise.
2287 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2288
cb8f9562
JM
22892013-10-09 Joseph Myers <joseph@codesourcery.com>
2290
2291 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2292 semicolon. From Linux kernel.
2293
5b60c59d
AB
22942013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
2295
2296 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2297
b86835ca
YC
22982013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2299
2300 [BZ #156]
2301 * manual/socket.texi: Added statement about buffer
2302 for gethostbyname2_r.
2303
e7044ea7
OB
23042013-10-08 Ondřej Bílka <neleai@seznam.cz>
2305
2306 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2307 Use .p2align directive instead, throughout.
2308 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2309 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2310 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2311 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2312 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2313 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2314 * sysdeps/x86_64/strchr.S: Likewise.
2315 * sysdeps/x86_64/strrchr.S: Likewise.
2316
09544cbc
SP
23172013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2318
88576635
SP
2319 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2320
e7b2d1dd
SP
2321 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2322
09544cbc
SP
2323 * sysdeps/generic/math_private.h (__mpsin1): Remove
2324 declaration.
2325 (__mpcos1): Likewise.
2326 (__mpsin): New argument __range_reduce.
2327 (__mpcos): Likewise.
2328 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2329 (slow): Use __mpsin and __mpcos.
2330 (slow1): Likewise.
2331 (slow2): Likewise.
2332 (sloww): Likewise.
2333 (sloww1): Likewise.
2334 (sloww2): Likewise.
2335 (bsloww): Likewise.
2336 (bsloww1): Likewise.
2337 (bsloww2): Likewise.
2338 (cslow2): Likewise.
2339 (csloww): Likewise.
2340 (csloww1): Likewise.
2341 (csloww2): Likewise.
2342 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2343 range_reduce. Merge in __mpsin1.
2344 (__mpcos): Likewise.
2345 (__mpsin1): Remove.
2346 (__mpcos1): Likewise.
2347
7602d070
JM
23482013-10-07 Joseph Myers <joseph@codesourcery.com>
2349
2350 * locale/loadlocale.c (_nl_intern_locale_data): Use
2351 LOCFILE_ALIGNED_P.
2352 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2353 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2354 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2355 obstack data is appropriately aligned.
2356 (obstack_int32_grow_fast): Likewise.
2357 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2358 * locale/programs/locfile.c (add_locale_uint32): Likewise.
2359 (add_locale_uint32_array): Likewise.
2360
a357259b
SP
23612013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2362
2363 * benchtests/Makefile: Remove ARGLIST and RET variables.
2364 ($(objpfx)bench-%.c): Pass only function name to the script.
2365 * benchtests/README: Update documentation.
2366 * benchtests/acos-inputs: Add new directives.
2367 * benchtests/acosh-inputs: Likewise.
2368 * benchtests/asin-inputs: Likewise.
2369 * benchtests/asinh-inputs: Likewise.
2370 * benchtests/atan-inputs: Likewise.
2371 * benchtests/atanh-inputs: Likewise.
2372 * benchtests/cos-inputs: Likewise.
2373 * benchtests/cosh-inputs: Likewise.
2374 * benchtests/exp-inputs: Likewise.
2375 * benchtests/log-inputs: Likewise.
2376 * benchtests/pow-inputs: Likewise.
2377 * benchtests/rint-inputs: Likewise.
2378 * benchtests/sin-inputs: Likewise.
2379 * benchtests/sinh-inputs: Likewise.
2380 * benchtests/tan-inputs: Likewise.
2381 * benchtests/tanh-inputs: Likewise.
2382 * scripts/bench.pl: Add support for new directives.
2383
9ec1b13d
AM
23842013-10-07 Alan Modra <amodra@gmail.com>
2385
2386 * README: Fix careless merge.
2387
8b7d57cd
AM
23882013-10-05 Alan Modra <amodra@gmail.com>
2389
2390 * NEWS: Mention powerpc64le support and bugs fixed.
2391 * README: Both big-endian and little-endian powerpc64 supported.
2392
7b7bab13
ST
23932013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2394
2395 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
2396 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
2397 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
2398 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
2399
d39baad1
RA
24002013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
2401
2402 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2403 match prototype.
2404
cd78f7e7
JM
24052013-10-04 Joseph Myers <joseph@codesourcery.com>
2406
29d73d86
JM
2407 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
2408 Move -mhard-float appending from
2409 ports/sysdeps/powerpc/powerpc32/Makefile.
2410 [$(with-fp) = yes] (ASFLAGS): Likewise.
2411 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
2412 * sysdeps/powerpc/nofpu: Move directory from
2413 ports/sysdeps/powerpc/nofpu.
2414 * sysdeps/powerpc/soft-fp: Move directory from
2415 ports/sysdeps/powerpc/soft-fp.
2416 * sysdeps/powerpc/powerpc32/405: Move directory from
2417 ports/sysdeps/powerpc/powerpc32/405.
2418 * sysdeps/powerpc/powerpc32/440: Move directory from
2419 ports/sysdeps/powerpc/powerpc32/440.
2420 * sysdeps/powerpc/powerpc32/464: Move directory from
2421 ports/sysdeps/powerpc/powerpc32/464.
2422 * sysdeps/powerpc/powerpc32/476: Move directory from
2423 ports/sysdeps/powerpc/powerpc32/476.
2424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2425 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2426 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2427 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2428 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2429 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2431 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2433 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2434 * README: Update for powerpc-*-linux-gnu software floating point
2435 support in libc.
2436
e246b347
JM
2437 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2438 case to powerpc/powerpc32*.
2439 * sysdeps/unix/sysv/linux/configure: Regenerated.
2440
89c2003e
JM
2441 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2442 (_FPU_MASK_OM): Define as 0x04.
2443 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2444 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2445 0x00c10080.
2446 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2447 0x0000003c.
2448 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2449
cd78f7e7
JM
2450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2451 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2452 getcontext_e500.
2453 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2454 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2455 setcontext_e500.
2456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2457 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2458 and setcontext_e500.
2459
c755294d
CL
24602013-10-04 Chris Leonard <cjl@sugarlabs,.org>
2461
2462 * locale/iso-3166.def: Update iso-1366.def and related occurrences
2463
e16d221c
SP
24642013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2465
2466 * manual/threads.texi (Default Thread Attributes): Fix typo.
2467
215c7d43
WN
24682013-10-04 Will Newton <will.newton@linaro.org>
2469
2470 * malloc/Makefile: Add tst-memalign.
2471 * malloc/tst-memalign.c: New file.
2472
27d0461b
WN
2473 * malloc/tst-posix_memalign.c: Add comments.
2474 (do_test): Add comments and call free on all potentially
2475 allocated pointers. Add space after cast.
2476
1bc92709
WN
2477 * malloc/tst-pvalloc.c: Add comments.
2478 (do_test): Add comments and call free on all potentially
2479 allocated pointers. Remove duplicate check for NULL pointer.
2480 Add space after cast.
2481
66a9be9d
WN
2482 * malloc/tst-valloc.c: Add comments.
2483 (do_test): Add comments and call free on all potentially
2484 allocated pointers. Remove duplicate check for NULL pointer.
2485 Add space after cast.
2486
4cb81307
AM
24872013-10-04 Alan Modra <amodra@gmail.com>
2488
2489 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2490 Use stdint types in rather than __attribute__((mode())).
2491 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2492
f8e3e9f3
AM
24932013-10-04 Alan Modra <amodra@gmail.com>
2494
2495 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2496 Correct handling of unaligned relocs for little-endian.
2497 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2498
8f9ebb08
AM
24992013-10-04 Alan Modra <amodra@gmail.com>
2500
2501 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2502 * configure: Regenerate.
2503 * nptl/shlib-versions: Powerpc*le starts at 2.18.
2504 * shlib-versions: Likewise.
2505
0edf96c2
AM
25062013-10-04 Alan Modra <amodra@gmail.com>
2507
2508 * string/tester.c (test_memrchr): Increment reported test cycle.
2509
e0f7a380
AM
25102013-10-04 Alan Modra <amodra@gmail.com>
2511
2512 * string/test-memcpy.c (do_one_test): When reporting errors, print
2513 string address and don't overrun end of string.
2514
466b0393
AM
25152013-10-04 Alan Modra <amodra@gmail.com>
2516
2517 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2518 insrdi. Make better use of reg selection to speed exit slightly.
2519 Schedule entry path a little better. Remove useless "are we done"
2520 checks on entry to main loop. Handle wrapping around zero address.
2521 Correct main loop count. Handle single left-over word from main
2522 loop inline rather than by using loop_small. Remove extra word
2523 case in loop_small caused by wrong loop count. Add little-endian
2524 support.
2525 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2526 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
2527 cache hint.
2528 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2529 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2530 support. Avoid rlwimi.
2531 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2532
3be87c77
AM
25332013-10-04 Alan Modra <amodra@gmail.com>
2534
2535 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 2536 insrdi. Formatting.
3be87c77
AM
2537 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2538 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2539 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2540 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2541 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2542 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2543
759cfef3
AM
25442013-10-04 Alan Modra <amodra@gmail.com>
2545
2546 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2547 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2548 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2549 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2550 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2551 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2552 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2553 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2554 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2555 use of regs. Use power7 mtocrf. Tidy function tails.
2556
fe6e95d7
AM
25572013-10-04 Alan Modra <amodra@gmail.com>
2558
2559 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2560 Formatting. Consistently use rXXX register defines or rN defines.
2561 Use early exit labels that avoid restoring unused non-volatile regs.
2562 Make cr field use more consistent with rWORDn compares. Rename
2563 regs used as shift registers for unaligned loop, using rN defines
2564 for short lifetime/multiple use regs.
2565 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2566 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2567 addi 1,1,64 to pop stack frame. Simplify return value code.
2568 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2569
664318c3
AM
25702013-10-04 Alan Modra <amodra@gmail.com>
2571
2572 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2573 support. Correct typos, formatting. Optimize tail. Use insrdi
2574 rather than rlwimi.
2575 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2576 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2577 little-endian support. Correct typos.
2578 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2579 rather than rlwimi.
2580 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2581 in loop and entry code to keep "and." results.
2582 (strchr): Add little-endian support. Comment. Move cntlzd
2583 earlier in tail.
2584 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2585
43b84013
AM
25862013-10-04 Alan Modra <amodra@gmail.com>
2587
2588 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2589 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2590 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2591 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2592
8a7413f9
AM
25932013-10-04 Alan Modra <amodra@gmail.com>
2594
2595 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2596 (rTMP): Define as r11.
2597 (strcmp): Add little-endian support. Optimise tail.
2598 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2599 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2600 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2601 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2602 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2603 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2604 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2605
33ee81de
AM
26062013-10-04 Alan Modra <amodra@gmail.com>
2607
2608 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2609 little-endian support. Remove unnecessary "are we done" tests.
2610 Handle "s" wrapping around zero and extremely large "size".
2611 Correct main loop count. Handle single left-over word from main
2612 loop inline rather than by using small_loop. Correct comments.
2613 Delete "zero" tail, use "end_max" instead.
2614 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2615
db9b4570
AM
26162013-10-04 Alan Modra <amodra@gmail.com>
2617
2618 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2619 support. Don't branch over align.
2620 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2621 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2622 support. Rearrange tmp reg use to suit. Comment.
2623 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2624
f7c399cf
AM
26252013-10-04 Alan Modra <amodra@gmail.com>
2626
2627 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2628
0b2c2ace
AM
26292013-10-04 Alan Modra <amodra@gmail.com>
2630
2631 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2632 conditional form of branch and link when obtaining pc.
2633 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2634
02f04a6c
AM
26352013-10-04 Alan Modra <amodra@gmail.com>
2636
2637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2638 HIWORD/LOWORD.
2639 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2641
9b874b2f
AM
26422013-10-04 Alan Modra <amodra@gmail.com>
2643
2644 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2645 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2646 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2647 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2648 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2649 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2650 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2651 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2652 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2653 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2654
be1e5d31
AB
26552013-10-04 Anton Blanchard <anton@au1.ibm.com>
2656 Alistair Popple <alistair@ozlabs.au.ibm.com>
2657 Alan Modra <amodra@gmail.com>
2658
2659 [BZ #15723]
2660 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2661 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2662 _dl_hwcap access for little-endian.
2663 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2664 destroy vmx regs when saving unaligned.
2665 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2666 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2667 destroy vmx regs when saving unaligned.
2668
fef13a78
AM
26692013-10-04 Alan Modra <amodra@gmail.com>
2670
2671 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2672 Don't use a union to pack hi/low value.
2673
76a66d51
AB
26742013-10-04 Anton Blanchard <anton@au1.ibm.com>
2675
2676 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2677 for little-endian.
2678 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2679 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2680 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2681 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2682 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2683
6a31fe7f
AM
26842013-10-04 Alan Modra <amodra@gmail.com>
2685
2686 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2687 constants to usual value for .cst8 section, and remove redundant
2688 high address load.
2689 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2690 constant for 0x1p52. Load little-endian words of double from
2691 correct stack offsets.
2692
7b88401f
AM
26932013-10-04 Alan Modra <amodra@gmail.com>
2694
2695 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2696 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2697 words of double from correct stack offsets.
2698 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2699 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2700 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2701 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2702 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2703 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2704 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2705 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2706 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2707 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2708 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2709 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2710 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2711 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2712 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2713 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2714 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2715
9c008155
AM
27162013-10-04 Alan Modra <amodra@gmail.com>
2717
2718 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2719 64-bit int/double union.
2720 (_FPU_SETCW): Likewise.
2721 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2722 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2723
da13146d
AM
27242013-10-04 Alan Modra <amodra@gmail.com>
2725
2726 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2727 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2728
603e8410
AM
27292013-10-04 Alan Modra <amodra@gmail.com>
2730
2731 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2732 use vector int constants.
2733 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2734
4a28b3ca
AB
27352013-10-04 Anton Blanchard <anton@au1.ibm.com>
2736
2737 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2738 array with long long.
2739 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2740 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2741 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2742 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2743 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2744 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2745 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2746 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2747 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2748 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2749 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2750 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2751 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2752
2ca85d2b
AB
27532013-10-04 Anton Blanchard <anton@au1.ibm.com>
2754
2755 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2756 (__signbit): Likewise. Correct for little-endian.
2757 (__signbitl): Call __signbit.
2758 (lrint): Correct for little-endian.
2759 (lrintf): Call lrint.
2760
62a728ae
AM
27612013-10-04 Alan Modra <amodra@gmail.com>
2762
2763 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2764 union 32-bit int array member with 64-bit int array.
2765 (t515, tm256): Double rather than long double.
2766 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2767
32c301df
AM
27682013-10-04 Alan Modra <amodra@gmail.com>
2769
2770 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2771 Delete.
2772 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2773 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2774 version of math_ldbl.h.
2775
650ef4bd
AM
27762013-10-04 Alan Modra <amodra@gmail.com>
2777
2778 [BZ #15734], [BZ #15735]
2779 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2780 all uses of ieee875 long double macros and unions. Simplify test
2781 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2782 ldbl_extract_mantissa value for ix,iy exponents. Properly
2783 normalize after ldbl_extract_mantissa, and don't add hidden bit
2784 already handled. Don't treat low word of ieee854 mantissa like
2785 low word of IBM long double and mask off bit when testing for
2786 zero.
2787 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2788 all uses of ieee875 long double macros and unions. Simplify tests
2789 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2790 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2791 two1022, instead use their values. Recognise that tests for large
2792 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2793 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2794 Rewrite all uses of ieee875 long double macros and unions. Simplify
2795 test for 0.0L and nan. Correct negation.
2796 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2797 ieee875 long double macros and unions. Correct output for large
2798 magnitude x. Correct absolute value calculation.
2799 (__erfcl): Likewise.
2800 * math/libm-test.inc: Add tests for errors discovered in IBM long
2801 double versions of fmodl, remainderl, erfl and erfcl.
2802
765714ca
AM
28032013-10-04 Alan Modra <amodra@gmail.com>
2804
2805 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2806 all uses of ieee854 long double macros and unions. Simplify tests
2807 for long doubles that are fully specified by the high double.
2808 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2809 Likewise.
2810 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2811 Remove dead code too.
2812 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2813 (__ieee754_ynl): Likewise.
2814 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2815 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2816 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2817 Remove dead code too.
2818 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2819 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2820 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2821 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2822 Simplify.
2823 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2824 Simplify.
2825 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2826 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2827 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2828 Comment on variable precision.
2829 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2830 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2831 Likewise.
2832 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2833 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2834 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2835 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2836 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2837
4ebd120c
AM
28382013-10-04 Alan Modra <amodra@gmail.com>
2839
2840 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2841 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2842 all uses of ieee854 long double macros and unions.
2843 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2844 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2845 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2846 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2847 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2848 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2849 Likewise.
2850 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2851 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2852 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2853 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2854 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2855 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2856 Simplify sign and nan test too.
2857 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2858 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2859 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2860 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2861 Likewise.
2862 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2863 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2864 Likewise.
2865 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2866 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2867 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2868 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2869 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2870 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2871
1b6adf88
AM
28722013-10-04 Alan Modra <amodra@gmail.com>
2873
2874 * stdio-common/printf_size.c (__printf_size): Don't use
2875 union ieee854_long_double in fpnum union.
2876 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2877 signbit macro to retrieve sign from long double.
2878 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2879 retrieve sign from long double.
2880 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2881 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2882 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2883 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2884 * math/test-misc.c (main): Don't use union ieee854_long_double.
2885
4cf69995
AM
28862013-10-04 Alan Modra <amodra@gmail.com>
2887
2888 [BZ #15680]
2889 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2890 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2891 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2892 calculation. Remove unnecessary test for denormal exponent.
2893 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2894 Correct handling of denormals. Avoid undefined shift behaviour.
2895 Correct normalisation of low mantissa when low double is denormal.
2896 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2897 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
2898 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2899 Correct normalisation of low mantissa. Test for overflow of high
2900 mantissa and normalise.
2901 (ldbl_nearbyint): Use more readable constant for two52.
2902 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2903 (__mpn_construct_long_double): Fix test for overflow of high
2904 mantissa and correct normalisation. Avoid undefined shift.
2905
9605ca6c
AM
29062013-10-04 Alan Modra <amodra@gmail.com>
2907
2908 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2909 (union ibm_extended_long_double): Define as an array of ieee754_double.
2910 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2911 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2912 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2913 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2914 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2915 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2916 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2917 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2918 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2919 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2920 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2921
975569d0
JM
29222013-10-03 Joseph Myers <joseph@codesourcery.com>
2923
d3d23756
JM
2924 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2925 page size instead of calling getpagesize.
2926
975569d0
JM
2927 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2928 (LOCFILE_ALIGN_MASK): Likewise.
2929 (LOCFILE_ALIGN_UP): Likewise.
2930 (LOCFILE_ALIGNED_P): Likewise.
2931 * locale/programs/ld-collate.c (collate_output): Use the new
2932 macros instead of __alignof__ (int32_t).
2933 * locale/weight.h (findidx): Likewise.
2934
b1fe1f2b
OB
29352013-10-03 Ondřej Bílka <neleai@seznam.cz>
2936
2937 [BZ #431]
2938 * manual/string.texi: Fix strncat and wcsncat.
2939
5f855e35
BM
29402013-10-03 Brooks Moses <bmoses@google.com>
2941
2942 [BZ #15915]
2943 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2944 * Makerules: ...here, and adjust associated comments.
2945
3cef6009
WN
29462013-10-02 Will Newton <will.newton@linaro.org>
2947
2948 * malloc/Makefile: Add tst-pvalloc.
2949 * malloc/tst-pvalloc.c: New file.
2950
7815420b
WN
29512013-10-02 Will Newton <will.newton@linaro.org>
2952
2953 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2954 improve test coverage.
2955
4868b204
WN
29562013-10-02 Will Newton <will.newton@linaro.org>
2957
2958 * malloc/Makefile: Add tst-posix_memalign.
2959 * malloc/tst-posix_memalign.c: New file.
2960
29c793b3
EB
29612013-10-01 Eric Blake <eblake@redhat.com>
2962
2963 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
2964 Use __THROWNL rather than __THROW on static functions.
2965
fd967522
PM
29662013-09-30 Petr Machata <pmachata@redhat.com>
2967
2968 * elf/elf.h (R_AARCH64_ABS16): New macro.
2969 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
2970 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
2971 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
2972 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
2973 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
2974 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
2975 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
2976 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
2977 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
2978 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
2979 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
2980 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
2981 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
2982 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
2983 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
2984 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
2985 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
2986 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
2987 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
2988 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
2989 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
2990 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
2991 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
2992 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
2993 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
2994 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
2995 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
2996 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
2997 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
2998 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
2999 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3000 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3001 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3002 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3003 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3004 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3005 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3006 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3007 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3008 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3009 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3010 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3011 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3012 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3013 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3014 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3015 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3016 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3017 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3018 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3019 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3020 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3021 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3022 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3023 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3024 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3025 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3026 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3027 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3028 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3029 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3030 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3031 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3032 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3033 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3034 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3035 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3036 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3037 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3038 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3039 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3040 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3041 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3042 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3043 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3044 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3045 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3046 (R_AARCH64_TLSDESC_LDR): Likewise.
3047 (R_AARCH64_TLSDESC_ADD): Likewise.
3048 (R_AARCH64_TLSDESC_CALL): Likewise.
3049
b2179107
AS
30502013-09-30 Andreas Schwab <schwab@suse.de>
3051
3052 [BZ #15048]
3053 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3054 the nss database lookup.
3055 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3056 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3057
47f28d0a
MF
30582013-09-28 Mike Frysinger <vapier@gentoo.org>
3059
3060 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3061
30622013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
3063
3064 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3065 ${Bash-specific parameter/pattern/string} parameter expansion.
3066 * sysdeps/unix/make-syscalls.sh: Likewise.
3067
f4518a17
KK
30682013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3069
3070 * sysdeps/sh/stackguard-macros.h: New file.
3071
dc1a95c7
OB
30722013-09-26 Ondřej Bílka <neleai@seznam.cz>
3073
3074 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3075 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3076 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3077 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3078 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3079 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3080
5ebbff8f
AZ
30812013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3082
3083 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3084 Fix thread ID register.
3085
4fd2cf9f
JM
30862013-09-25 Joseph Myers <joseph@codesourcery.com>
3087
3088 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3089 [POSIX || UNIX98]: Require rather than permitting all symbols from
3090 <time.h>.
3091 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3092 element of struct sched_param.
3093 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3094 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3095 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3096 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3097 constant.
3098
12c22bc4
OL
30992013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
3100
3101 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3102 argument calculation.
3103
a03d8ea7
JM
31042013-09-24 Joseph Myers <joseph@codesourcery.com>
3105
3106 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3107 Expect macro.
3108 [POSIX] (pthread_attr_t): Do not require type.
3109 [POSIX] (pthread_cond_t): Likewise.
3110 [POSIX] (pthread_condattr_t): Likewise.
3111 [POSIX] (pthread_key_t): Likewise.
3112 [POSIX] (pthread_mutex_t): Likewise.
3113 [POSIX] (pthread_mutexattr_t): Likewise.
3114 [POSIX] (pthread_once_t): Likewise.
3115 [POSIX] (pthread_t): Likewise.
3116 [POSIX-based standards] (pthread_atfork): Expect function.
3117
6055173a
JM
31182013-09-24 Joseph Myers <joseph@codesourcery.com>
3119 Richard Sandiford <richard@codesourcery.com>
3120
3121 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3122 (swap_endianness_p): New extern variable.
3123 (set_big_endian): New inline function.
3124 (maybe_swap_uint32): Likewise.
3125 (maybe_swap_uint32_array): Likewise.
3126 (maybe_swap_uint32_obstack): Likewise.
3127 * locale/programs/locfile.c: Include <stdbool.h>.
3128 (swap_endianness_p): New variable.
3129 (add_locale_uint32): Call maybe_swap_uint32.
3130 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3131 (write_locale_data): Call maybe_swap_uint32_array.
3132 * locale/programs/ld-collate.c (obstack_int32_grow): Call
3133 maybe_swap_uint32.
3134 (obstack_int32_grow_fast): Likewise.
3135 (output_weightwc): Call maybe_swap_uint32_obstack.
3136 (collate_output): Likewise.
3137 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3138 (OPT_LITTLE_ENDIAN): Likewise.
3139 (options): Add --little-endian and --big-endian options.
3140 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3141 * locale/programs/locarchive.c: Include "locfile.h".
3142 (GET): New macro.
3143 (SET): Likewise.
3144 (INC): Likewise.
3145 (create_archive): Use the new macros to access fields of
3146 structures directly mapped from or written to locale archives.
3147 (oldlocrecentcmp): Likewise.
3148 (enlarge_archive): Likewise.
3149 (insert_name): Likewise.
3150 (add_alias): Likewise.
3151 (add_locale): Likewise.
3152 (delete_locales_from_archive): Likewise.
3153 (show_archive_content): Likewise.
3154 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
3155 locale data.
3156
39bf0bb4
RM
31572013-09-24 Roland McGrath <roland@hack.frob.com>
3158
3159 * manual/freemanuals.texi: Updated from (newly) canonical copy at
3160 http://www.gnu.org/doc/freemanuals.texi.
3161 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3162
f02eed10
WN
31632013-09-24 Will Newton <will.newton@linaro.org>
3164
3165 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3166 macro.
3167
a3a6c312
JM
31682013-09-23 Joseph Myers <joseph@codesourcery.com>
3169
3170 * locale/hashval.h (compute_hashval): Interpret bytes of key as
3171 unsigned char.
3172
107375ac
MR
31732013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
3174
3175 * manual/threads.texi (POSIX Threads): Fix a typo.
3176
141f3a77
SP
31772013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3178
303e567a
SP
3179 [BZ #14547]
3180 * string/tst-strcoll-overflow.c: New test case.
3181 * string/Makefile (xtests): Add tst-strcoll-overflow.
3182 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3183 cache if string sizes may cause integer overflow.
3184
141f3a77
SP
3185 [BZ #14547]
3186 * string/strcoll_l.c (coll_seq): New members rule, idx,
3187 save_idx and back_us.
3188 (get_next_seq_nocache): New function.
3189 (do_compare_nocache): New function.
3190 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3191 when malloc fails.
3192
c61b4d41
CD
31932013-09-23 Carlos O'Donell <carlos@redhat.com>
3194
0b1f8e35
CD
3195 [BZ #15754]
3196 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3197 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3198 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3199
c61b4d41
CD
3200 [BZ #15754]
3201 * elf/Makefile (tests): Add tst-ptrguard1.
3202 (tests-static): Add tst-ptrguard1-static.
3203 (tst-ptrguard1-ARGS): Define.
3204 (tst-ptrguard1-static-ARGS): Define.
3205 * elf/tst-ptrguard1.c: New file.
3206 * elf/tst-ptrguard1-static.c: New file.
3207 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3208 * sysdeps/i386/stackguard-macros.h: Likewise.
3209 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3210 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3211 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3212 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3213 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3214 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3215
32162013-09-23 Hector Marco <hecmargi@upv.es>
3217 Ismael Ripoll <iripoll@disca.upv.es>
3218 Carlos O'Donell <carlos@redhat.com>
3219
3220 [BZ #15754]
3221 * sysdeps/generic/stackguard-macros.h: Define
3222 __pointer_chk_guard_local and POINTER_CHK_GUARD.
3223 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3224 Define __pointer_chk_guard_local.
3225 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3226 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3227
f5f4e7b4
VV
32282013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3229
3230 [BZ #15859]
3231 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3232
5bb43a43
AS
32332013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3234
3235 * include/string.h (__ffs): Declare as hidden.
3236 * string/ffs.c (__ffs): Define as hidden.
3237 * sysdeps/i386/ffs.c (__ffs): Likewise.
3238 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3239 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3240 * sysdeps/s390/ffs.c (__ffs): Likewise.
3241 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3242
3ea5be54
AO
32432013-09-20 Alexandre Oliva <aoliva@redhat.com>
3244
ffb89e53
AO
3245 * NEWS: Mention malloc probes.
3246
322dea08
AO
3247 * malloc/arena.c (new_heap): New memory_heap_new probe.
3248 (grow_heap): New memory_heap_more probe.
3249 (shrink_heap): New memory_heap_less probe.
3250 (heap_trim): New memory_heap_free probe.
3251 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3252 (systrim): New memory_sbrk_less probe.
3253 * manual/probes.texi: Document them.
3254
655673f3
AO
3255 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3256 * manual/probes.texi: Document it.
3257
35fed6f1
AO
3258 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3259 (__libc_realloc): Add memory_realloc_retry probe.
3260 (__libc_memalign): Add memory_memalign_retry probe.
3261 (__libc_valloc): Add memory_valloc_retry probe.
3262 (__libc_pvalloc): Add memory_pvalloc_retry probe.
3263 (__libc_calloc): Add memory_calloc_retry probe.
3264 * manual/probes.texi: Document them.
3265
6999d38c
AO
3266 * malloc/arena.c (get_free_list): Add probe
3267 memory_arena_reuse_free_list.
3268 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3269 and memory_arena_reuse.
3270 (arena_get2) [!PER_THREAD]: Likewise.
3271 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3272 memory_arena_reuse_realloc.
3273 * manual/probes.texi: Document them.
3274
0653427f
AO
3275 * malloc/malloc.c (__libc_free): Add
3276 memory_mallopt_free_dyn_thresholds probe.
3277 (__libc_mallopt): Add multiple memory_mallopt probes.
3278 * manual/probes.texi: Document them.
3279
3ea5be54
AO
3280 * malloc/malloc.c: Include stap-probe.h.
3281 (__libc_mallopt): Add memory_mallopt probe.
3282 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3283 * manual/probes.texi: New.
3284 * manual/Makefile (chapters): Add probes.
3285 * manual/threads.texi: Set next node.
3286
e35696c3 32872013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 3288
e35696c3
CL
3289 [BZ #15963, #13985]
3290 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3291 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3292 Add `Chinese' to `nan' entry name.
3293
4aafb73c
SP
32942013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3295
3296 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3297 (POLYNOMIAL): Likewise.
3298 (TAYLOR_SINCOS): Likewise.
3299 (TAYLOR_SLOW): Likewise.
3300 (__sin): Use TAYLOR_SINCOS.
3301 (__cos): Likewise.
3302 (slow): Use TAYLOR_SLOW.
3303 (sloww): Likewise.
3304 (bsloww): Likewise.
3305 (csloww): Likewise.
3306
d84f25c7
LD
33072013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3308
3309 * stdlib/strtod_l.c: Fix buffer overrun.
3310
5eea0404
SP
33112013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3312
7849ff93
SP
3313 * benchtests/Makefile (bench): Add sincos.
3314 * benchtests/bench-sincos.c: New file.
3315
cfa3c886
SP
3316 * math/libm-test.inc (cos_test_data): New test inputs.
3317 (sin_test_data): Likewise.
3318
b348e1e3
SP
3319 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3320 macro.
3321 (__sin): Use it.
3322 (__cos): Likewise.
3323 (slow1): Likewise.
3324 (slow2): Likewise.
3325 (sloww1): Likewise.
3326 (sloww2): Likewise.
3327 (bsloww1): Likewise.
3328 (bsloww2): Likewise.
3329 (cslow2): Likewise.
3330 (csloww1): Likewise.
3331 (csloww2): Likewise.
3332
6cce25f8
SP
3333 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3334 function.
3335 (__sin): Use it.
3336 (__cos): Likewise.
3337
5eea0404
SP
3338 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3339 gotos.
3340 (__cos): Likewise.
3341
9c21573c
MR
33422013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
3343
3344 * config.h.in (HAVE_MIPS_NAN2008): New macro.
3345 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3346 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3347 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3348 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3349 * elf/cache.c (print_entry): Handle the new cache flags.
3350
24d22e65
JM
33512013-09-18 Joseph Myers <joseph@codesourcery.com>
3352 Aldy Hernandez <aldyh@redhat.com>
3353
3354 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3355 Change condition to [_SOFT_FLOAT].
3356 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3357 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3358 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3359 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3360 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3361 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3362 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3363 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3364 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3365 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3366 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3367 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3368 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3369 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3370 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3371 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3372 declaration.
3373
d13ef066
JM
33742013-09-18 Joseph Myers <joseph@codesourcery.com>
3375
2e071de0
JM
3376 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3377 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3378 (__longjmp): Use LOAD_GP to load saved GPRs.
3379 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3380 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3381 (__sigsetjmp): Use SAVE_GP to save GPRs.
3382
d13ef066
JM
3383 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3384 Do not append -msoft-float.
3385 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3386
97a0650b
SP
33872013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3388
3389 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3390
11ca09e9
JM
33912013-09-17 Joseph Myers <joseph@codesourcery.com>
3392
3393 [BZ #15966]
3394 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
3395 (_FPU_GETCW): Use initial "__" on variable and field names but not
3396 on macro parameter name.
3397 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
3398 parentheses around reference to macro parameter.
3399
08ffcf34
RS
34002013-09-13 Richard Sandiford <richard@codesourcery.com>
3401
3402 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3403 prototype.
3404 (ctype_startup): Use uint32_t in cast and sizeof for
3405 ctype->charnames.
3406
ae7080d3
JL
34072013-09-11 Jia Liu <proljc@gmail.com>
3408
3409 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3410 __daddr_t_defined.
3411 [__FreeBSD__]: Likewise.
3412
5905e7b3
OB
34132013-09-11 Ondřej Bílka <neleai@seznam.cz>
3414
3415 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3416 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
3417 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
3418 (strchr): Remove __strchr_sse42 ifunc selection.
3419 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
3420 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
3421
b987c776
WN
34222013-09-11 Will Newton <will.newton@linaro.org>
3423
3424 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3425 parameter to RES. Remove hardcoded 1000 value.
3426 * benchtests/bench-skeleton.c (main): Pass RES parameter
3427 to TIMING_INIT and multiply result by 1000.
3428
ddf985af
AZ
34292013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3430
3431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3432
ffdd3181
AS
34332013-09-11 Andreas Schwab <schwab@suse.de>
3434
3435 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3436 if not defined.
3437 (O_TMPFILE) [__USE_GNU]: Define.
3438 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3439 Define.
3440
b73ed247
WN
34412013-09-11 Will Newton <will.newton@linaro.org>
3442
3443 [BZ #15857]
3444 * malloc/malloc.c (__libc_memalign): Check the value of bytes
3445 does not overflow.
3446
55e17aad
WN
34472013-09-11 Will Newton <will.newton@linaro.org>
3448
3449 [BZ #15856]
3450 * malloc/malloc.c (__libc_valloc): Check the value of bytes
3451 does not overflow.
3452
1159a193
WN
34532013-09-11 Will Newton <will.newton@linaro.org>
3454
3455 [BZ #15855]
3456 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3457 does not overflow.
3458
5905e7b3 34592013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
3460
3461 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3462 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3463 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3464 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3465 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3466
cdfc721b
AM
34672013-09-10 Allan McRae <allan@archlinux.org>
3468
aa04af00
AM
3469 [BZ #15748]
3470 * manual/arith.texi (Parsing of Floats): Clarify
3471 cross-reference.
3472
cdfc721b
AM
3473 [BZ #15849]
3474 * manual/install.texi (Running make install): Mention
3475 --enable-pt-chown.
3476 * INSTALL: Regenerated.
3477
95e7cf29
MR
34782013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3479
3480 * csu/init-first.c (_init): Remove the !SHARED condition around
3481 FPU control word initialization.
3482 * elf/dl-support.c (_dl_fpu_control): New variable.
3483 (_dl_aux_init) <AT_FPUCW>: Initialize it.
3484 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3485 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3486 * math/test-fpucw-static.c: New file.
3487 * math/test-fpucw-ieee.c: New file.
3488 * math/test-fpucw-ieee-static.c: New file.
3489 * math/Makefile (tests): Add `test-fpucw-ieee' and
3490 `$(tests-static)'.
3491 (tests-static): New variable.
3492 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3493 dependency to...
3494 [($(build-shared),yes)]
3495 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3496 ... this.
3497 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3498 New dependency.
3499
83e43bf0
AM
35002013-09-09 Allan McRae <allan@archlinux.org>
3501
a9f5ce09
AM
3502 [BZ #15939]
3503 * manual/string.texi (Collation Functions): Fix typo in
3504 strcoll example.
3505 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3506
34829bc2
AM
3507 [BZ #15893]
3508 * stdlib/isomac.c (get_null_defines): Fix memory leak.
3509
3932737d
AM
3510 [BZ #15892]
3511 * libio/memstream.c (open_memstream): Fix memory leak.
3512 * libio/wmemstream.c (open_wmemstream): Likewise.
3513
83e43bf0
AM
3514 [BZ #15895]
3515 * nscd/netgroupcache.c: Fix nesting of ifdefs.
3516
0c66b8e9
WN
35172013-09-09 Will Newton <will.newton@linaro.org>
3518
3519 * malloc/Makefile: Add tst-realloc to tests.
3520 * malloc/tst-realloc.c: New file.
3521
f6b00fd1
AM
35222013-09-09 Allan McRae <allan@archlinux.org>
3523
3524 [BZ #15844]
3525 * COPYING: Update from GNU website to fix FSF address.
3526 * COPYING.LIB: Likewise.
3527
eec55e16
DM
35282013-09-06 David S. Miller <davem@davemloft.net>
3529
3530 * po/zh_TW.po: Update Chinese (traditional) translation from
3531 translation project.
3532
1ecbb381
RS
35332013-09-06 Richard Sandiford <richard@codesourcery.com>
3534 Joseph Myers <joseph@codesourcery.com>
3535
3536 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3537 "localeinfo.h".
3538 (obstack_chunk_alloc): New macro.
3539 (obstack_chunk_free): Likewise.
3540 (record_offset): New function.
3541 (init_locale_data): Likewise.
3542 (align_locale_data): Likewise.
3543 (add_locale_empty): Likewise.
3544 (add_locale_raw_data): Likewise.
3545 (add_locale_raw_obstack): Likewise.
3546 (add_locale_string): Likewise.
3547 (add_locale_wstring): Likewise.
3548 (add_locale_uint32): Likewise.
3549 (add_locale_uint32_array): Likewise.
3550 (add_locale_char): Likewise.
3551 (start_locale_structure): Likewise.
3552 (end_locale_structure): Likewise.
3553 (start_locale_prelude): Likewise.
3554 (end_locale_prelude): Likewise.
3555 (write_locale_data): Take locale_file structure rather than an
3556 iovec.
3557 * locale/programs/locfile.h: Include "obstack.h".
3558 (struct locale_file): Change to store locale file contents instead
3559 of header.
3560 (init_locale_data): New prototype.
3561 (align_locale_data): Likewise.
3562 (add_locale_empty): Likewise.
3563 (add_locale_raw_data): Likewise.
3564 (add_locale_raw_obstack): Likewise.
3565 (add_locale_string): Likewise.
3566 (add_locale_wstring): Likewise.
3567 (add_locale_uint32): Likewise.
3568 (add_locale_uint32_array): Likewise.
3569 (add_locale_char): Likewise.
3570 (start_locale_structure): Likewise.
3571 (end_locale_structure): Likewise.
3572 (start_locale_prelude): Likewise.
3573 (end_locale_prelude): Likewise.
3574 (write_locale_data): Update prototype.
3575 * locale/programs/3level.h (struct TABLE): Remove result field.
3576 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3577 Use new locale_file interface.
3578 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3579 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3580 * locale/programs/ld-address.c (address_output): Use new
3581 locale_file interface.
3582 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3583 NO_ADD_LOCALE.
3584 (collate_finish): Don't call collseq_table_finalize.
3585 (collate_output): Use new locale_file interface.
3586 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3587 in file.
3588 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3589 (TABLE): Move defines earlier in file.
3590 (ELEMENT): Likewise.
3591 (DEFAULT): Likewise.
3592 (wctrans_table_add): Move macro and inline function earlier in
3593 file.
3594 (struct wctype_table): Move type earlier in file.
3595 (add_locale_wctype_table): New static prototype.
3596 (struct locale_ctype_t): Use logical types instead of struct iovec
3597 pointers for members.
3598 (ctype_output): Use new locale_file interface.
3599 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3600 new locale_file interface.
3601 (allocate_arrays): Update for use of new locale_file interface.
3602 * locale/programs/ld-identification.c (identification_output): Use
3603 new locale_file interface.
3604 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3605 * locale/programs/ld-messages.c (messages_output): Likewise.
3606 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3607 * locale/programs/ld-name.c (name_output): Likewise.
3608 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3609 * locale/programs/ld-paper.c (paper_output): Likewise.
3610 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3611 * locale/programs/ld-time.c (time_output): Likewise.
3612
e029e2e5
AZ
36132013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3614
3615 * benchtests/Makefile: Add memrchr benchmark.
3616 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3617 benchmark as memrchr.
3618 * benchtests/bench-memrchr-ifunc.c: New file.
3619 * benchtests/bench-memrchr.c: New file.
3620
bbf6e8e4
WN
36212013-09-06 Will Newton <will.newton@linaro.org>
3622
3623 * benchtests/Makefile (string-bench): Add memcpy.
3624
6c82a2f8
CD
36252013-09-05 Carlos O'Donell <carlos@redhat.com>
3626 Cong Wang <amwang@redhat.com>
3627
3628 * sysdeps/unix/sysv/linux/bits/in.h
3629 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3630 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3631 before __USE_KERNEL_IPV6_DEFS uses.
3632 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3633 IPPROTO_BEETPH.
3634 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3635 sockaddr_in6, or ipv6_mreq.
3636
5430fc65
AZ
36372013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3638
3639 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3640 memory access for final bytes in some large inputs.
3641 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3642
4660856c
AZ
36432013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3644
3645 * string/test-memrchr.c: New file.
3646 * string/test-memrchr-ifunc.c: New file.
3647 * string/Makefile: Add new memrchr testcase.
3648
bb8ea713
MF
36492013-09-05 Mike Frysinger <vapier@gentoo.org>
3650
3651 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3652 fanotify_init returns EPERM.
3653
b92a20b5
JM
36542013-09-04 Joseph Myers <joseph@codesourcery.com>
3655
3656 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3657 errors.
3658 (top level): Treat second token from macro or constant entries for
3659 allowed headers as allowed.
3660 * include/complex.h: Condition internal declarations on
3661 [!_ISOMAC].
3662 * include/fenv.h: Condition include of <stdbool.h> and internal
3663 declarations on [!_ISOMAC].
7447ccd9
CL
3664
36652013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3666
3e181dda 3667 [BZ #15923]
7447ccd9
CL
3668 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3669
3f2e46a4
JM
36702013-09-04 Joseph Myers <joseph@codesourcery.com>
3671
3672 * configure.in (--enable-versioning): Remove configure option.
3673 (libc_cv_asm_symver_directive): Remove configure test.
3674 (libc_cv_ld_version_script_option): Likewise.
3675 (VERSIONING): Remove variable and AC_SUBST.
3676 (DO_VERSIONING): Remove AC_DEFINE.
3677 * configure: Regenerated.
3678 * config.h.in (DO_VERSIONING): Remove macro.
3679 * Makerules [$(versioning) = yes]: Change conditionals to
3680 [$(build-shared) = yes].
3681 * config.make.in (versioning): Remove variable.
3682 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3683 [$(build-shared) = yes].
3684 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3685 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3686 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3687 [$(build-shared) = yes].
3688 * extra-lib.mk [$(versioning) = yes]: Likewise.
3689 * hurd/Makefile [$(versioning) = yes]: Likewise.
3690 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3691 [SHARED].
3692 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3693 [SHARED].
3694 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3695 [SHARED && !NO_HIDDEN].
3696 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3697 [SHARED].
3698 [SHARED && DO_VERSIONING]: Likewise..
3699 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3700 [$(build-shared) = yes].
3701 * manual/install.texi (--disable-versioning): Remove
3702 documentation.
3703 * INSTALL: Regenerated.
3704 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3705 to [SHARED].
3706 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3707 [$(build-shared) = yes].
3708 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3709 * sysdeps/i386/i686/multiarch/strstr-c.c
3710 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3711 [SHARED && !NO_HIDDEN].
3712 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3713 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3714 * sysdeps/powerpc/powerpc32/dl-machine.c
3715 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3716 * sysdeps/powerpc/powerpc32/sysdep.h
3717 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3718 to [SHARED && PIC && !NO_HIDDEN].
3719 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3720 conditional to [SHARED].
3721
44558701
WN
37222013-09-04 Will Newton <will.newton@linaro.org>
3723
3724 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3725 * benchtests/bench-string.h: Include bench-timing.h instead
3726 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3727 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3728 call to HP_TIMING_DIFF_INIT.
3729 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3730 instead of hp-timing.h macros.
3731 * benchtests/bench-memchr.c: Likewise.
3732 * benchtests/bench-memcmp.c: Likewise.
3733 * benchtests/bench-memcpy.c: Likewise.
3734 * benchtests/bench-memmem.c: Likewise.
3735 * benchtests/bench-memmove.c: Likewise.
3736 * benchtests/bench-memset.c: Likewise.
3737 * benchtests/bench-rawmemchr.c: Likewise.
3738 * benchtests/bench-strcasecmp.c: Likewise.
3739 * benchtests/bench-strcasestr.c: Likewise.
3740 * benchtests/bench-strcat.c: Likewise.
3741 * benchtests/bench-strchr.c: Likewise.
3742 * benchtests/bench-strcmp.c: Likewise.
3743 * benchtests/bench-strcpy.c: Likewise.
3744 * benchtests/bench-strcpy_chk.c: Likewise.
3745 * benchtests/bench-strlen.c: Likewise.
3746 * benchtests/bench-strncasecmp.c: Likewise.
3747 * benchtests/bench-strncat.c: Likewise.
3748 * benchtests/bench-strncmp.c: Likewise.
3749 * benchtests/bench-strncpy.c: Likewise.
3750 * benchtests/bench-strnlen.c: Likewise.
3751 * benchtests/bench-strpbrk.c: Likewise.
3752 * benchtests/bench-strrchr.c: Likewise.
3753 * benchtests/bench-strspn.c: Likewise.
3754 * benchtests/bench-strstr.c: Likewise.
3755
cae16d66
WN
37562013-09-04 Will Newton <will.newton@linaro.org>
3757
3758 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3759
ffa3cd7f
JM
37602013-09-03 Joseph Myers <joseph@codesourcery.com>
3761
3762 [BZ #15427]
3763 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3764 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3765 * math/libm-test.inc (lgamma_test_data): Add more tests.
3766 * sysdeps/i386/fpu/libm-test-ulps: Update.
3767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3768
8f02859f
OB
37692013-09-03 Ondřej Bílka <neleai@seznam.cz>
3770
3771 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3772 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3773 Add ifunc.
3774 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3775 Add strcmp-sse2-unaligned
3776 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3777
18d43716
MF
37782013-09-02 Mike Frysinger <vapier@gentoo.org>
3779
3780 * Versions.def (libc): Add GLIBC_2.19.
3781
ac444012
MF
37822013-09-02 Mike Frysinger <vapier@gentoo.org>
3783
3784 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3785 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3786
b7835e32
JM
37872013-09-02 Joseph Myers <joseph@codesourcery.com>
3788
3789 [BZ #14155]
3790 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3791 intermediate calculations in recurrence.
3792 (__ieee754_ynf): Likewise.
3793 * math/libm-test.inc (jn_test_data): Do not allow spurious
3794 underflow exception. Add more tests.
3795 (yn_test_data): Add more tests.
3796 * sysdeps/i386/fpu/libm-test-ulps: Update.
3797 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3798
8220f4f0
OB
37992013-09-02 Ondřej Bílka <neleai@seznam.cz>
3800
3801 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3802
f24a6d08
OB
38032013-08-30 Ondřej Bílka <neleai@seznam.cz>
3804
3805 * csu/init-first.c: Fix then/than typos.
3806 * locale/programs/ld-collate.c: Likewise.
3807 * locale/programs/linereader.h: Likewise.
3808 * manual/charset.texi: Likewise.
3809 * manual/filesys.texi: Likewise.
3810 * manual/stdio.texi: Likewise.
3811 * manual/string.texi: Likewise.
3812 * stdlib/fmtmsg.c: Likewise.
3813 * sysdeps/i386/stpncpy.S: Likewise.
3814 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3815 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3816 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3817 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3818
382466e0
OB
38192013-08-30 Ondřej Bílka <neleai@seznam.cz>
3820
3821 * elf/dl-open.c: Fix typos.
3822 * iconvdata/gbbig5.c: Likewise.
3823 * iconvdata/iso-2022-jp.c: Likewise.
3824 * iconv/gconv_int.h: Likewise.
3825 * iconv/loop.c: Likewise.
3826 * nis/rpcsvc/nis.h: Likewise.
3827 * resolv/ns_name.c: Likewise.
3828 * stdio-common/vfscanf.c: Likewise.
3829 * streams/stropts.h: Likewise.
3830 * sunrpc/rpc_thread.c: Likewise.
3831 * sysdeps/i386/strpbrk.S: Likewise.
3832 * sysdeps/ieee754/k_standard.c: Likewise.
3833 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3834 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3835 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3836 * sysdeps/mach/hurd/profil.c: Likewise.
3837 * sysdeps/s390/dl-procinfo.h: Likewise.
3838 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3839 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3840 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3841 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3842 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3843
0186c6e9
OB
38442013-08-30 Ondřej Bílka <neleai@seznam.cz>
3845
3846 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3847 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3848
d4e16af1
OB
38492013-08-29 Ondřej Bílka <neleai@seznam.cz>
3850
3851 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3852 aix specific files.
3853 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3854 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3855 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3856 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3857 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3858 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3859 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3860 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3861
88335980
TS
38622013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3863 Roland McGrath <roland@hack.frob.com>
3864
3865 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3866 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3867
ed479b02
ST
38682013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3869
3870 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3871 __executable_start symbol instead of _start.
3872
f1cc4c86
TS
38732013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3874
d821f07c
TS
3875 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3876 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3877 Move macros to...
3878 * sysdeps/gnu/ldsodefs.h: ... this new file.
3879
c54290cf
TS
3880 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3881 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3882 instead of ELFOSABI_LINUX.
3883
0007fc9b 3884 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
3885 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3886 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3887 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3888 Likewise.
3889 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3890 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3891 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3892 Likewise.
3893 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3894 (ibm_extended_long_double): Add ieee_nan member.
3895 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3896 (do_test): New function.
3897
f1cc4c86
TS
3898 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3899 TEST_TRUNC.
3900 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3901 functions, renamed from truncdfsf_test, trunctfsf_test,
3902 trunctfdf_test.
3903 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3904 functions.
3905 (do_test): Run all these.
3906
6f65e668
OB
39072013-08-29 Ondřej Bílka <neleai@seznam.cz>
3908
3909 * argp/argp-help.c: Fix typos.
3910 * argp/argp-parse.c: Likewise.
3911 * debug/backtracesyms.c: Likewise.
3912 * elf/elf.h: Likewise.
3913 * malloc/malloc.c: Likewise.
3914 * nis/nis_print.c: Likewise.
3915 * resolv/res_comp.c: Likewise.
3916 * stdlib/stdlib.h: Likewise.
3917 * sunrpc/clnt_tcp.c: Likewise.
3918 * sunrpc/clnt_udp.c: Likewise.
3919 * sunrpc/clnt_unix.c: Likewise.
3920 * sysdeps/unix/bsd/ptsname.c: Likewise.
3921 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3922 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
3923 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3924 Likewise.
3925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3926 Likewise.
3927 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3928 Likewise.
6f65e668
OB
3929 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3930
3a309239
SP
39312013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3932
3933 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3934 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3935
3b813b29
MF
39362013-08-27 Mike Frysinger <vapier@gentoo.org>
3937
3938 [BZ #15897]
3939 * dlfcn/Makefile (tests): Add bug-dl-leaf.
3940 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3941 ($(objpfx)bug-dl-leaf): New rule.
3942 ($(objpfx)bug-dl-leaf.so): Likewise.
3943 ($(objpfx)bug-dl-leaf.out): Likewise.
3944 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3945 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3946 * dlfcn/bug-dl-leaf.c: New test.
3947 * dlfcn/bug-dl-leaf-lib.c: Likewise.
3948 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3949 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3950 (dlclose): Likewise.
3951 (dlmopen): Likewise.
3952
8cc3269f
RM
39532013-08-27 Roland McGrath <roland@hack.frob.com>
3954
7f9d0034
RM
3955 * include/netdb.h [!_ISOMAC]:
3956 Don't include <tls.h>.
3957 (h_errno, __libc_h_errno): Move declaration and macros out of
3958 [_LIBC_REENTRANT].
3959
fb431262
RM
3960 * include/resolv.h [_RESOLV_H_]:
3961 Don't include <tls.h>.
3962 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
3963 * resolv/res_libc.c: Don't include <tls.h>.
3964 (_res): Use __attribute__ ((nocommon)) in place of
3965 __attribute__ ((section (".bss"))).
3966
bd81123a
RM
3967 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
3968 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
3969
c4e42566
RM
3970 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
3971
f890a59b
RM
3972 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
3973 only under [SIOCGIFCONF && SIOCGIFNETMASK].
3974
3975 * resolv/res_mkquery.c: Include <sys/time.h>.
3976
5d1f0a09
RM
3977 * inet/ifreq.c: Moved to ...
3978 * sysdeps/unix/ifreq.c: ... here.
3979 * inet/ifreq.c: New file, true stub version.
3980
6fcf28b3
RM
3981 * socket/sa_len.c: New file.
3982 * socket/Makefile (aux): Add it.
3983 * sysdeps/unix/sysv/linux/Makefile
3984 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
3985 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
3986 and #include <socket/sa_len.c>.
3987 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
3988 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
3989
e041fb8b
RM
3990 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
3991 * bits/socket.h: ... here.
3992
8cc3269f
RM
3993 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
3994 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
3995 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
3996
5d228a43
AS
39972013-08-27 Andreas Schwab <schwab@suse.de>
3998
45b8accc
AS
3999 [BZ #15736]
4000 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4001 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4002 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4003 * string/test-strcasecmp.c (test_main): Run tests in several
4004 locales.
4005 * string/test-strncasecmp.c (test_main): Likewise.
4006
5d228a43
AS
4007 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4008 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4009 to __strcasecmp_nonascii and __strncasecmp_nonascii.
4010 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4011 (__strncasecmp_ssse3) [PIC]: Likewise.
4012
59d112a4
RM
40132013-08-26 Roland McGrath <roland@hack.frob.com>
4014
53234cc3
RM
4015 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4016
59d112a4
RM
4017 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4018 instead of explicitly declaring xdecrypt.
4019 * nis/nss_nis/nis-publickey.c: Likewise.
4020
595aba70
SP
40212013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4022
4023 [BZ #15890]
4024 * nscd/aicache.c: Include res_hconf.h.
4025 (addhstaiX): Initialize res_hconf.
4026
ffabd393
AS
40272013-08-26 Andreas Schwab <schwab@suse.de>
4028
4029 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4030 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4031
e0a69f5c
SP
40322013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4033
4034 * nscd/aicache.c (addhstaiX): Fix indentation.
4035
8c12f01d
MF
40362013-08-25 Mike Frysinger <vapier@gentoo.org>
4037
4038 * configure.ac: Quote $build_pt_chown test.
4039 * configure: Regenerated.
4040
8fe89494
JM
40412013-08-23 Joseph Myers <joseph@codesourcery.com>
4042
4043 [BZ #15532]
4044 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4045 * math/s_cexpf.c (__cexpf): Likewise.
4046 * math/s_cexpl.c (__cexpl): Likewise.
4047 * math/libm-test.inc (cexp_test_data): Correct expected return
4048 value for NaN + i0. Add another test.
4049
75b181d6
DM
40502013-08-22 David S. Miller <davem@davemloft.net>
4051
4052 * po/ca.po: Update Catalan translation from translation project.
936241e4 4053 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 4054
acd06bb1
JM
40552013-08-21 Joseph Myers <joseph@codesourcery.com>
4056
4057 [BZ #15797]
4058 * math/s_fdim.c (__fdim): Check for infinite arguments if result
4059 is infinite, not alongside NaN test.
4060 * math/s_fdimf.c (__fdimf): Likewise.
4061 * math/s_fdiml.c (__fdiml): Likewise.
4062 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
4063 errno is unchanged.
4064
c0c3f78a
OB
40652013-08-21 Ondřej Bílka <neleai@seznam.cz>
4066
4067 * argp/argp-help.c: Fix typos.
4068 * crypt/speeds.c: Likewise.
4069 * csu/check_fds.c: Likewise.
4070 * elf/dl-load.c: Likewise.
4071 * elf/dl-open.c: Likewise.
4072 * elf/reldep3.c: Likewise.
4073 * elf/reldep.c: Likewise.
4074 * elf/sprof.c: Likewise.
4075 * iconv/iconv_charmap.c: Likewise.
4076 * iconv/skeleton.c: Likewise.
4077 * iconv/strtab.c: Likewise.
4078 * io/lockf64.c: Likewise.
4079 * libio/libioP.h: Likewise.
4080 * resolv/gai_notify.c: Likewise.
4081 * resolv/ns_name.c: Likewise.
4082 * resolv/ns_samedomain.c: Likewise.
4083 * resolv/res_send.c: Likewise.
4084 * stdlib/random.c: Likewise.
4085 * sunrpc/rpc/xdr.h: Likewise.
4086 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4087 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4088 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4089 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4090 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4091 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4092 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4093 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4094 * sysdeps/mach/hurd/check_fds.c: Likewise.
4095 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4096 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4097 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4098 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4099 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4100 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4101 * sysdeps/pthread/aio_notify.c: Likewise.
4102 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4103 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4104 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4105 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4106 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4107
46ed1038
LD
41082013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4109
4110 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4111 version if bit_Slow_SSE4_2 is set.
4112 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4113 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4114
d400dcac
AZ
41152013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4116
4117 [BZ #15867]
4118 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4119 trampoline stack frame information.
4120 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4121 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4122 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4123 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4124 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4125 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4126 (_libc_vdso_platform_setup): Initialize the signal trampolines.
4127 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4128 sa_flags value.
4129 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4130 interrupting a syscall and set with option SA_SIGINFO.
4131
42c8fdd8
JM
41322013-08-20 Joseph Myers <joseph@codesourcery.com>
4133
c980f2f4
JM
4134 [BZ #15531]
4135 * math/s_cproj.c (__cproj): Only return an infinity if one part of
4136 argument is infinite.
4137 * math/s_cprojf.c (__cprojf): Likewise.
4138 * math/s_cprojl.c (__cprojl): Likewise.
4139 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4140 * math/libm-test.inc (cproj_test_data): Add more tests.
4141
0716c4fc
JM
4142 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4143
42c8fdd8
JM
4144 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4145 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4146 size. Use __ffs to determine corresponding shift.
4147
b31469d0
JM
41482013-08-20 Joseph Myers <joseph@codesourcery.com>
4149 Roland McGrath <roland@hack.frob.com>
4150
4151 * Makefile (INSTALL): Remove trailing blank lines from output of
4152 makeinfo.
4153
4e39af6e
AK
41542013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4155
4156 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4157 Align 32 bit compat elf_greg to 8 bytes.
4158
f315524e
AA
41592013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4160
4161 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4162
1326ba1a
SP
41632013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4164
4165 * string/strcoll_l.c (coll_seq): New structure.
4166 (get_next_seq_cached): New function.
4167 (get_next_seq): New function.
4168 (do_compare): New function.
4169 (STRCOLL): Use GNU style definition. Simplify implementation
4170 by using get_next_seq, get_next_seq_cached and do_compare.
4171
91ce4085
FW
41722013-08-16 Florian Weimer <fweimer@redhat.com>
4173
4174 [BZ #14699]
4175 CVE-2013-4237
4176 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4177 member.
4178 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4179 member.
4180 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4181 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4182 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
4183 conditional.
4184 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4185 GETDENTS_64BIT_ALIGNED.
4186 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4187 * manual/filesys.texi (Reading/Closing Directory): Document
4188 ENAMETOOLONG return value of readdir_r. Recommend readdir more
4189 strongly.
4190 * manual/conf.texi (Limits for Files): Add portability note to
4191 NAME_MAX, PATH_MAX.
4192 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4193
ca0a6bc4
AS
41942013-08-13 Andreas Schwab <schwab@suse.de>
4195
4196 [BZ #15749]
4197 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4198 of fabs.
4199 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4200 LDBL_MAX_EXP >= 16384]: Add tests for it.
4201
6c1fd795
DM
42022013-08-12 David S. Miller <davem@davemloft.net>
4203
4204 * version.h (RELEASE): Set to "development".
4205 (VERSION): Set to "2.18.90".
4206 * NEWS: Add 2.19 section.
4207
31ad488d
DM
42082013-08-03 David S. Miller <davem@davemloft.net>
4209
4210 * po/ko.po: Update Korean translation from translation project.
4211
db24e684
DM
42122013-08-01 David S. Miller <davem@davemloft.net>
4213
4214 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
4215 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4216 Bilka.
4217
f723285b
DM
42182013-07-30 David S. Miller <davem@davemloft.net>
4219
4220 * po/fr.po: Update French translation from translation project.
4221
3cbc52db
DM
42222013-07-28 David S. Miller <davem@davemloft.net>
4223
30bbc0cc
DM
4224 * po/cs.po: Update Czech translation from translation project.
4225
3cbc52db
DM
4226 * po/sv.po: Update Swedish translation from translation project.
4227
d492e6d0
DM
42282013-07-27 David S. Miller <davem@davemloft.net>
4229
f1a7f492
DM
4230 * po/eo.po: Update Esperanto translation from translation project.
4231
90e62a4a
DM
4232 * po/vi.po: Update Vietnamese translation from translation project.
4233
d492e6d0
DM
4234 * po/de.po: Update German translation from translation project.
4235
d4baa62d
DM
42362013-07-26 David S. Miller <davem@davemloft.net>
4237
641aa7b4
DM
4238 * po/bg.po: Update Bulgarian translation from translation project.
4239
d4baa62d
DM
4240 * po/nl.po: Update Dutch translation from translation project.
4241 * po/pl.po: Update Polish translation from translation project.
4242 * po/ru.po: Update Russian translation from translation project.
4243
61a9dcb9
DM
42442013-07-24 David S. Miller <davem@davemloft.net>
4245
4246 * po/libc.pot: Update.
4247
7b1f8b58
AZ
42482013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4249
4250 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4251 variable page size.
4252 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4253 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4254 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4255
a8fc7a03
AK
42562013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4257
4258 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4259
e4608715
CD
42602013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4261 Andreas Schwab <schwab@suse.de>
4262 Roland McGrath <roland@hack.frob.com>
4263 Joseph Myers <joseph@codesourcery.com>
4264 Carlos O'Donell <carlos@redhat.com>
4265
4266 [BZ #15755]
4267 * config.h.in: Define HAVE_PT_CHOWN.
4268 * config.make.in (build-pt-chown): New variable.
4269 * configure.in (--enable-pt_chown): New configure option.
4270 * configure: Regenerate.
4271 * login/Makefile: Include Makeconfig. Build pt_chown only if
4272 build-pt-chown is enabled.
4273 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4274 pt_chown to fix pty ownership.
4275 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4276 CLOSE_ALL_FDS.
4277 * manual/install.texi (Configuring and compiling): Mention
4278 --enable-pt_chown. Add @findex for grantpt.
4279 * INSTALL: Regenerate.
4280
da2d62df
DM
42812013-07-20 David S. Miller <davem@davemloft.net>
4282
4283 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4284 difference between 32-bit and 64-bit.
4285
d7e06450
CD
42862013-07-15 Carlos O'Donell <carlos@redhat.com>
4287
4288 [BZ #15711]
4289 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4290 Avoid system header dependency with -ffreestanding.
4291 ($(objpfx)bits/syscall%d): Likewise.
4292
f959cfd7
DM
42932013-07-13 David S. Miller <davem@davemloft.net>
4294
4295 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4296 underflows from atanl/atan2l due to bug 15319.
4297 (casinh_test_data): Likewise.
4298
c61f8513
DM
42992013-07-07 David S. Miller <davem@davemloft.net>
4300
4301 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4302
72c90ed0
JA
43032013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
4304
4305 * sysdeps/i386/fpu/libm-test-ulps: Update.
4306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4307
52dfbe13
SP
43082013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4309
4310 * configure.in (--enable-lock-elision): Fix message text.
4311 * INSTALL: Regenerate.
4312 * configure: Regenerate.
4313
3f169543
AZ
43142013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4315
4316 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4317
521c6785
AJ
43182013-07-03 Andreas Jaeger <aj@suse.de>
4319
4320 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4321 define.
4322 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4323 (ptrace_peeksiginfo_args): Add.
4324 (__ptrace_peeksiginfo_flags): Add.
4325 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4326 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4327 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4328
d2cc15cb
AM
43292013-07-03 Allan McRae <allan@archlinux.org>
4330
4331 * sysdeps/i386/fpu/libm-test-ulps: Update.
4332
3aaeeca7
DM
43332013-07-02 David S. Miller <davem@davemloft.net>
4334
4335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4336
5314ed1a
MT
43372013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
4338
4339 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4340
67338156
JM
43412013-07-02 Joseph Myers <joseph@codesourcery.com>
4342
4343 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4344 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4345
1717da59
AK
43462013-07-02 Andi Kleen <ak@linux.intel.com>
4347
4348 * config.h.in (ENABLE_LOCK_ELISION): Add.
4349 * configure.in (--enable-lock-elision): Add option.
4350 * manual/install.texi: Document --enable lock elision.
4351 * configure: Regenerate
4352 * INSTALL: Regenerate.
4353
1c81621c
L
43542013-07-02 H.J. Lu <hongjiu.lu@intel.com>
4355
4356 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4357 SSE4.2 strcasecmp for libc.a.
4358 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4359
77f01ab5
JM
43602013-07-02 Joseph Myers <joseph@codesourcery.com>
4361
4362 [BZ #13304]
4363 * soft-fp/op-common.h (_FP_FMA): New macro.
4364 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4365 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
4366 (_FP_MUL_MEAT_1_imm): ... here.
4367 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
4368 (_FP_MUL_MEAT_1_wide): ... here.
4369 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
4370 (_FP_MUL_MEAT_1_hard): ... here.
4371 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4372 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
4373 (_FP_MUL_MEAT_2_wide): ... here.
4374 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
4375 (_FP_MUL_MEAT_2_wide_3mul): ... here.
4376 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
4377 (_FP_MUL_MEAT_2_gmp): ... here.
4378 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4379 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
4380 (_FP_MUL_MEAT_4_wide): ... here.
4381 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
4382 (_FP_MUL_MEAT_4_gmp): ... here.
4383 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4384 (_FP_WFRACBITS_DW_S): Likewise.
4385 (_FP_WFRACXBITS_DW_S): Likewise.
4386 (_FP_HIGHBIT_DW_S): Likewise.
4387 (FP_FMA_S): Likewise.
4388 (_FP_FRAC_HIGH_DW_S): Likewise.
4389 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4390 (_FP_WFRACBITS_DW_D): Likewise.
4391 (_FP_WFRACXBITS_DW_D): Likewise.
4392 (_FP_HIGHBIT_DW_D): Likewise.
4393 (FP_FMA_D): Likewise.
4394 (_FP_FRAC_HIGH_DW_D): Likewise.
4395 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
4396 (_FP_WFRACBITS_DW_E): Likewise.
4397 (_FP_WFRACXBITS_DW_E): Likewise.
4398 (_FP_HIGHBIT_DW_E): Likewise.
4399 (FP_FMA_E): Likewise.
4400 (_FP_FRAC_HIGH_DW_E): Likewise.
4401 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
4402 (_FP_WFRACBITS_DW_Q): Likewise.
4403 (_FP_WFRACXBITS_DW_Q): Likewise.
4404 (_FP_HIGHBIT_DW_Q): Likewise.
4405 (FP_FMA_Q): Likewise.
4406 (_FP_FRAC_HIGH_DW_Q): Likewise.
4407 * soft-fp/fmasf4.c: New file.
4408 * soft-fp/fmadf4.c: Likewise.
4409 * soft-fp/fmatf4.c: Likewise.
4410
6308fd9a
LD
44112013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4412
4413 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4414 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
4415 Silvermont.
4416 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
4417 macro.
4418 (index_Slow_SSE4_2): Likewise.
4419 (index_Prefer_PMINUB_for_stringop): Likewise.
4420 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
4421 bit_Slow_SSE4_2 is set.
4422 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4423 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4424
89cd9569
RA
44252013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4426
4427 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4428 rtld_global._dl_hwcap2.
4429 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4430 POWER8.
4431 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4432 POWER8 feature descriptions defined in _dl_hwcap2.
4433 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4434 string handling for POWER8 feature bits.
4435 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4436 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4437 _dl_powerpc_cap_flags.
4438 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4439 * sysdeps/powerpc/rtld-global-offsets.sym
4440 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4441 _dl_hwcap2 in the rtld_global_ro structure.
4442
1ae8bfe0
RA
44432013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4444
4445 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4446 hardware capabilities in support of AT_HWCAP2.
4447 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4448 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4449 GLRO(dl_hwcap2).
4450 (_dl_show_auxv): Add support for calling _dl_procinfo to display
4451 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
4452 explicitly the unknown a_type display mechanism is used.
4453 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4454 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4455 struct member.
4456 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4457 to macro prototype for AT_HWCAP2 support.
4458 * sysdeps/i386/dl-procinfo.h: Likewise.
4459 * sysdeps/s390/dl-procinfo.h: Likewise.
4460 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4461 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
4462 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
4463 return -1 for unknown a_type display fallback.
4464 * sysdeps/sparc/dl-procinfo.h: Likewise.
4465 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4466 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4467
8fbec010
JM
44682013-06-28 Joseph Myers <joseph@codesourcery.com>
4469
4470 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4471 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4472
0432680e
PY
44732013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
4474
4475 [BZ #12492]
4476 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4477 mprotect making __stack_prot writable.
4478
ce61a2ad
NF
44792013-06-28 Nathan Froyd <froydnj@codesourcery.com>
4480 Joseph Myers <joseph@codesourcery.com>
4481
4482 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4483 as being properly aligned.
4484
f91f1c0f
MR
44852013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
4486
3d0f5d0c
MR
4487 * dlfcn/modstatic5.c: New file.
4488 * dlfcn/tststatic5.c: New file.
4489 * dlfcn/Makefile (tests): Add tststatic5.
4490 (tests-static): Likewise.
4491 (modules-names): Add modstatic5.
4492 (tststatic5-ENV): New variable.
4493 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4494
f91f1c0f
MR
4495 [BZ #15022]
4496 * elf/dl-support.c (_dl_main_map): New variable.
4497 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4498 (_dl_nns, _dl_load_adds): Set to 1.
4499 (_dl_initial_searchlist): Refer to _dl_main_map.
4500 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4501 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4502 call to _dl_get_origin.
4503 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4504 around call_map.
4505 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4506 * dlfcn/modstatic3.c: New file.
4507 * dlfcn/tststatic3.c: New file.
4508 * dlfcn/tststatic4.c: New file.
4509 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4510 (tests-static): Likewise.
4511 (modules-names): Add modstatic3.
4512 (tststatic3-ENV, tststatic4-ENV): New variables.
4513 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4514 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4515
cbe7d24b
JM
45162013-06-26 Joseph Myers <joseph@codesourcery.com>
4517
4518 * configure.in (CC): Require GCC version 4.4 or later.
4519 * configure: Regenerated.
4520 * manual/install.texi (Tools for Compilation): Update GCC version
4521 requirement.
4522 * INSTALL: Regenerated.
4523
11b8a0e1
LD
45242013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4525
4526 [BZ #15674]
bb5bb87c
L
4527 * string/test-memcmp.c (check2): New.
4528 (main): Call check2.
4529
11b8a0e1
LD
4530 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4531
b0037103
MR
45322013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
4533
4534 [BZ #15022]
4535 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4536 over to...
4537 (dl_open_worker) [!SHARED]: ... here.
4538
c18c701d
RA
45392013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4540
4541 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4542
1d17fa5f
RH
45432013-06-25 Richard Henderson <rth@redhat.com>
4544
4545 * locale/programs/locarchive.c: Include <libc-internal.h>
4546
8fcb833a
JM
45472013-06-25 Joseph Myers <joseph@codesourcery.com>
4548
4549 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4550 trailing whitespace removed.
4551
17db6e8d
MF
45522013-06-24 Mike Frysinger <vapier@gentoo.org>
4553
4554 [BZ #10283]
17db6e8d
MF
4555 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4556 * locale/programs/locarchive.c: Include libc-mmap.h.
4557 (prepare_address_space): Take two new outputs (the mmap base and len).
4558 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4559 values.
4560 (create_archive): Declare new mmap base and len values for
4561 prepare_address_space, and store the result in ah.
4562 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4563 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4564 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4565 Declare new mmap base and len values for
4566 prepare_address_space, and store the result in new_ah.
4567 (open_archive): Declare new mmap base and len values for
4568 prepare_address_space, and store the result in ah.
4569 (close_archive): If ah->mmap_base is not NULL, use that and
4570 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4571 * sysdeps/generic/libc-mmap.h: New file.
4572
d605071e
MF
45732013-06-24 Mike Frysinger <vapier@gentoo.org>
4574
4575 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4576 (ALIGN_UP): Likewise.
4577 (PTR_ALIGN_DOWN): Likewise.
4578 (PTR_ALIGN_UP): Likewise.
4579
2f063a6e
RA
45802013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4581
4582 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4583 entry mapped to PPC_PLATFORM_POWER8.
4584 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4585 POWER8.
4586 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4587 (_dl_string_platform): Add case for exporting platform position for
4588 POWER8.
4589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4590 search path to sysdeps/powerpc/powerpc32/power8 directory.
4591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4592 search path to sysdeps/powerpc/powerpc64/power8 directory.
4593 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4594 power7 directories.
4595 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4596 power7 directories.
4597
a31ee4b3
SP
45982013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4599
a74ca98f
SP
4600 * INSTALL: Regenerate.
4601
a31ee4b3
SP
4602 * nscd/connections.c (nscd_init): Fix comment.
4603
695c378f
JM
46042013-06-22 Joseph Myers <joseph@codesourcery.com>
4605
d8412221
JM
4606 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4607
695c378f
JM
4608 [BZ #15667]
4609 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4610 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4611
d1d54715
MR
46122013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4613
4614 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4615 DL_DST_REQ_STATIC.
4616 (DL_DST_REQ_STATIC): Remove macro.
4617
8fdda7af
JM
46182013-06-21 Joseph Myers <joseph@codesourcery.com>
4619
4620 [BZ #7006]
4621 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4622 with a shift of 0 bits.
4623
f3bc5e5a
MR
46242013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4625
4626 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4627 $(tststatic-ENV).
4628
be09e8c9
KK
46292013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4630
4631 [BZ #15655]
4632 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4633
85c2e611
AZ
46342013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4635
4636 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4637 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4638 accepts -fno-tree-loop-distribute-patterns.
4639 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4640 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4641 recursive call.
4642 * string/memset.c (memset): Likewise.
4643 * string/test-memmove.c (simple_memmove): Disable loop transformation
4644 to library calls.
4645 * string/test-memset.c (simple_memset): Likewise.
4646 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4647 * benchtests/bench-memset.c (simple_memset): Likewise.
4648 * configure: Regenerated.
4649
c91e0825
JM
46502013-06-20 Joseph Myers <joseph@codesourcery.com>
4651
b8c792af
JM
4652 * math/test-misc.c (main): Ignore fesetround failure when failures
4653 of subsequent rounding tests would be ignored.
4654
c91e0825
JM
4655 [BZ #15654]
4656 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4657 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4658 * math/fegetenv.c (__fegetenv): Return 0.
4659 * math/fegetexcept.c (fegetexcept): Return 0.
4660 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4661 FE_TONEAREST.
4662 * math/feholdexcpt.c (feholdexcept): Return 0.
4663 * math/fesetenv.c (__fesetenv): Return 0.
4664 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4665 argument FE_TONEAREST.
4666 * math/feupdateenv.c (__feupdateenv): Return 0.
4667 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4668
bfcacbde
RM
46692013-06-18 Roland McGrath <roland@hack.frob.com>
4670
4671 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4672 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4673 ($(objpfx)rtld-%.os rules): Use them.
4674
e55a9b25
AZ
46752013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4676
4677 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4678 fields.
4679
346d65b3
RM
46802013-06-17 Roland McGrath <roland@hack.frob.com>
4681
12086fb4
RM
4682 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4683 length of target pattern, then descending length of dependency pattern.
4684 * configure.in (AWK): Require gawk 3.1.2 or newer.
4685 * manual/install.texi (Tools for Compilation): Say that we do.
4686 * configure: Regenerated.
4687
346d65b3
RM
4688 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4689 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4690 * scripts/sysd-rules.awk: ... this new script.
4691 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4692 than a glob-style pattern.
4693
1a846317
JM
46942013-06-17 Joseph Myers <joseph@codesourcery.com>
4695
4696 * math/test-misc.c (main): Do not treat incorrectly rounded
4697 conversions as failure unless ROUNDING_TESTS passes.
4698
8fc75e6f
JM
46992013-06-15 Joseph Myers <joseph@codesourcery.com>
4700
3711a167
JM
4701 [BZ #15631]
4702 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4703 restore exception state around main square root computation, then
4704 check for inexactness explicitly.
4705
8fc75e6f
JM
4706 * math/libm-test.inc (fma_test_data): Add another test.
4707
61dd6208
SP
47082013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709
adf23d2c
SP
4710 * manual/threads.texi (Non-POSIX Extensions): New document
4711 node. Document pthread_getattr_default_np and
4712 pthread_setattr_default_np.
4713
61dd6208
SP
4714 * Versions.def (libpthread): Add GLIBC_2.18.
4715 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4717 Likewise.
4718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4719 Likewise.
4720 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4721 Likewise.
4722 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4723 Likewise.
4724 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4725 Likewise.
4726 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4727 Likewise.
4728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4729 Likewise.
4730 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4731 Likewise.
4732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4733 Likewise.
4734
d086fc7b
LD
47352013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4736
4737 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4738 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4739
747ef469
SP
47402013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4741 H.J. Lu <hjl.tools@gmail.com>
4742
4743 [BZ #15627]
4744 * sysdeps/x86_64/rtld-memset.c: Remove file.
4745 * sysdeps/x86_64/rtld-memset.S: New file.
4746
1b2feed2
JM
47472013-06-14 Joseph Myers <joseph@codesourcery.com>
4748
4749 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4750 (test_in_one_mode): Take arguments for whether the rounding mode
4751 is supported for each floating-point type.
4752 (do_test): Pass new arguments to test_in_one_mode using
4753 ROUNDING_TESTS.
4754
a58ad3f8
RM
47552013-06-13 Roland McGrath <roland@hack.frob.com>
4756
4757 * posix/tst-waitid.c (do_test): Distinguish different instances of
4758 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4759 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4760 before entering the kernel for waitpid.
4761
c204ab28
SP
47622013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4763
4764 * NEWS: Fix note on clock function precision. Text by Roland
4765 McGrath.
4766
f4a29fba
RM
47672013-06-13 Roland McGrath <roland@hack.frob.com>
4768
4769 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4770 it into place only when and if the sanity check passes.
4771
1f24b9ad
JM
47722013-06-13 Joseph Myers <joseph@codesourcery.com>
4773
4774 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4775 output for whether conversion result is exact. Take argument
4776 indicating whether type is IBM long double.
4777 (round_for_all): Change need_exact field to ibm_ld.
4778 * stdlib/tst-strtod-round.c (struct exactness): New type.
4779 (struct test): Change bool ld_ok field to struct exactness exact.
4780 (TEST): Update all definitions for change to field.
4781 (tests): Regenerate array contents.
4782 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4783 field value. Check for IBM long double here.
4784 (do_test): Update calls to test_in_one_mode.
4785
58206c68
SP
47862013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4787
4788 [BZ #12515]
4789 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4790 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4791
2d6f4c5b 47922013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
4793
4794 [BZ #15605]
4795 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4796 generated by the compiler on loop optimizations.
4797 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4798 general definitions.
4799
94f2c076
JM
48002013-06-12 Joseph Myers <joseph@codesourcery.com>
4801
4802 * math/bug-nextafter.c: Include <math-tests.h>.
4803 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4804 the relevant type.
4805 * math/bug-nexttoward.c: Include <math-tests.h>.
4806 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4807 the relevant type.
4808 * math/test-misc.c: Include <math-tests.h>.
4809 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4810 the relevant type.
4811
e0e50a0a
AJ
48122013-06-12 Andreas Jaeger <aj@suse.de>
4813
4814 * po/ia.po: Update Interlingua translation from translation
4815 project.
4816
25061094
SP
48172013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4818
4819 * include/fenv.h: Include stdbool.h.
4820 (struct rm_ctx): New structure.
4821 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4822 Define macro.
4823 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4824 (SET_RESTORE_ROUNDF): Likewise.
4825 (SET_RESTORE_ROUNDL): Likewise.
4826 (SET_RESTORE_ROUND_NOEX): Likewise.
4827 (SET_RESTORE_ROUND_NOEXF): Likewise.
4828 (SET_RESTORE_ROUND_NOEXL): Likewise.
4829 (SET_RESTORE_ROUND_53BIT): Likewise.
4830 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4831 (libc_feresetround_noexf_ctx): Likewise.
4832 (libc_feresetround_noexl_ctx): Likewise.
4833 (libc_feholdsetround_53bit_ctx): Likewise.
4834 (libc_feresetround_53bit_ctx): Likewise.
4835 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4836 (libc_feholdexcept_setround_sse_ctx): New function.
4837 (libc_fesetenv_sse_ctx): Likewise.
4838 (libc_feupdateenv_sse_ctx): Likewise.
4839 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4840 (libc_feholdexcept_setround_387_ctx): Likewise.
4841 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4842 (libc_feholdsetround_387_prec_ctx): Likewise.
4843 (libc_feholdsetround_387_ctx): Likewise.
4844 (libc_feholdsetround_387_53bit_ctx): Likewise.
4845 (libc_feholdsetround_sse_ctx): Likewise.
4846 (libc_feresetround_sse_ctx): Likewise.
4847 (libc_feresetround_387_ctx): Likewise.
4848 (libc_feupdateenv_387_ctx): Likewise.
4849 (libc_feholdexcept_setroundf_ctx): Define macro.
4850 (libc_fesetenvf_ctx): Likewise.
4851 (libc_feupdateenvf_ctx): Likewise.
4852 (libc_feholdsetroundf_ctx): Likewise.
4853 (libc_feresetroundf_ctx): Likewise.
4854 (libc_feholdexcept_setround_ctx): Likewise.
4855 (libc_fesetenv_ctx): Likewise.
4856 (libc_feupdateenv_ctx): Likewise.
4857 (libc_feholdsetround_ctx): Likewise.
4858 (libc_feresetround_ctx): Likewise.
4859 (libc_feholdexcept_setroundl_ctx): Likewise.
4860 (libc_feupdateenvl_ctx): Likewise.
4861 (libc_feholdsetroundl_ctx): Likewise.
4862 (libc_feresetroundl_ctx): Likewise.
4863 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4864 (libc_feresetround_53bit_ctx): Likewise.
4865
59b30555
SP
48662013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4867
4868 * locale/iso-639.def: Convert to UTF-8.
4869
f1d73d30
JM
48702013-06-11 Joseph Myers <joseph@codesourcery.com>
4871
4872 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4873 (EXCEPTION_TESTS_double): Likewise.
4874 (EXCEPTION_TESTS_long_double): Likewise.
4875 (EXCEPTION_TESTS): Likewise.
4876 * math/libm-test.inc (test_exceptions): Only test exceptions if
4877 EXCEPTION_TESTS (FLOAT).
4878
94aca5e7
SP
48792013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4880
4881 * benchtests/Makefile (string-bench): Add strcpy_chk and
4882 stpcpy_chk.
4883 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4884 * benchtests/bench-stpcpy_chk.c: New file.
4885 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4886 * benchtests/bench-strcpy_chk.c: New file.
4887 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4888 code.
4889 (do_test): Likewise.
4890
fac0c5f2
RA
48912013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4892
4893 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4894 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4895 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4896 with tabs where appropriate.
4897 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4898 dl-procinfo.h.
4899 [PPC_PLATFORM_PPC440]: Likewise.
4900 [PPC_PLATFORM_PPC464]: Likewise.
4901 [PPC_PLATFORM_PPC476]: Likewise.
4902 (_dl_string_platform): Add support for detecting ppc405, ppc440,
4903 ppc464, and ppc476 platform strings merging from ports/
4904 dl-procinfo.h.
4905
f22bc486
AS
49062013-06-11 Andreas Schwab <schwab@suse.de>
4907
4908 [BZ #14991]
4909 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4910 (from_ucs4_idx): Regenerate.
4911 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4912 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4913 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4914 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4915 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4916 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4917 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4918 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4919 from FROM_LOOP and TO_LOOP specific macros.
4920 (BODY): Handle combining characters.
4921 * iconvdata/BIG5HKSCS.irreversible: Update.
4922 * iconvdata/BIG5HKSCS.precomposed: New file.
4923 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4924 characters.
4925 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4926
c1f75dc3
SP
49272013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4928
4eacded2
SP
4929 * include/sys/time.h: Fix indentation and add copyright header.
4930
fec799f8
SP
4931 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4932 (do_test): Likewise.
4933 * string/test-memchr.c (do_one_test): Likewise.
4934 (do_test): Likewise.
4935 * string/test-memcmp.c (do_one_test): Likewise.
4936 (do_test): Likewise.
4937 * string/test-memcpy.c (do_one_test): Likewise.
4938 (do_test): Likewise.
4939 * string/test-memmem.c (do_one_test): Likewise.
4940 (do_test): Likewise.
4941 (do_random_tests): Likewise.
4942 * string/test-memmove.c (do_one_test): Likewise.
4943 (do_test): Likewise.
4944 * string/test-memset.c (do_one_test): Likewise.
4945 (do_test): Likewise.
4946 * string/test-rawmemchr.c (do_one_test): Likewise.
4947 (do_test): Likewise.
4948 * string/test-strcasecmp.c (do_one_test): Likewise.
4949 (do_test): Likewise.
4950 * string/test-strcasestr.c (do_one_test): Likewise.
4951 (do_test): Likewise.
4952 * string/test-strcat.c (do_one_test): Likewise.
4953 (do_test): Likewise.
4954 * string/test-strchr.c (do_one_test): Likewise.
4955 (do_test): Likewise.
4956 * string/test-strcmp.c (do_one_test): Likewise.
4957 (do_test): Likewise.
4958 * string/test-strcpy.c (do_one_test): Likewise.
4959 (do_test): Likewise.
4960 * string/test-string.h: Likewise.
4961 (test_init): Likewise.
4962 * string/test-strlen.c (do_one_test): Likewise.
4963 (do_test): Likewise.
4964 * string/test-strncasecmp.c (do_one_test): Likewise.
4965 (do_test): Likewise.
4966 * string/test-strncat.c (do_one_test): Likewise.
4967 (do_test): Likewise.
4968 * string/test-strncmp.c (do_one_test): Likewise.
4969 (do_test_limit): Likewise.
4970 (do_test): Likewise.
4971 * string/test-strncpy.c (do_one_test): Likewise.
4972 (do_test): Likewise.
4973 * string/test-strnlen.c (do_one_test): Likewise.
4974 (do_test): Likewise.
4975 * string/test-strpbrk.c (do_one_test): Likewise.
4976 (do_test): Likewise.
4977 * string/test-strrchr.c (do_one_test): Likewise.
4978 (do_test): Likewise.
4979 * string/test-strspn.c (do_one_test): Likewise.
4980 (do_test): Likewise.
4981 * string/test-strstr.c (do_one_test): Likewise.
4982 (do_test): Likewise.
4983
97020474
SP
4984 * benchtests/Makefile (string-bench): Add string benchmarks.
4985 * benchtests/bench-bcopy-ifunc.c: New file.
4986 * benchtests/bench-bcopy.c: New file.
4987 * benchtests/bench-bzero-ifunc.c: New file.
4988 * benchtests/bench-bzero.c: New file.
4989 * benchtests/bench-memccpy-ifunc.c: New file.
4990 * benchtests/bench-memccpy.c: New file.
4991 * benchtests/bench-memchr-ifunc.c: New file.
4992 * benchtests/bench-memchr.c: New file.
4993 * benchtests/bench-memcmp-ifunc.c: New file.
4994 * benchtests/bench-memcmp.c: New file.
4995 * benchtests/bench-memmem-ifunc.c: New file.
4996 * benchtests/bench-memmem.c: New file.
4997 * benchtests/bench-memmove-ifunc.c: New file.
4998 * benchtests/bench-memmove.c: New file.
4999 * benchtests/bench-mempcpy-ifunc.c: New file.
5000 * benchtests/bench-mempcpy.c: New file.
5001 * benchtests/bench-memset-ifunc.c: New file.
5002 * benchtests/bench-memset.c: New file.
5003 * benchtests/bench-rawmemchr-ifunc.c: New file.
5004 * benchtests/bench-rawmemchr.c: New file.
5005 * benchtests/bench-stpcpy-ifunc.c: New file.
5006 * benchtests/bench-stpcpy.c: New file.
5007 * benchtests/bench-stpncpy-ifunc.c: New file.
5008 * benchtests/bench-stpncpy.c: New file.
5009 * benchtests/bench-strcasecmp-ifunc.c: New file.
5010 * benchtests/bench-strcasecmp.c: New file.
5011 * benchtests/bench-strcasestr-ifunc.c: New file.
5012 * benchtests/bench-strcasestr.c: New file.
5013 * benchtests/bench-strcat-ifunc.c: New file.
5014 * benchtests/bench-strcat.c: New file.
5015 * benchtests/bench-strchr-ifunc.c: New file.
5016 * benchtests/bench-strchr.c: New file.
5017 * benchtests/bench-strchrnul-ifunc.c: New file.
5018 * benchtests/bench-strchrnul.c: New file.
5019 * benchtests/bench-strcmp-ifunc.c: New file.
5020 * benchtests/bench-strcmp.c: New file.
5021 * benchtests/bench-strcpy-ifunc.c: New file.
5022 * benchtests/bench-strcpy.c: New file.
5023 * benchtests/bench-strcspn-ifunc.c: New file.
5024 * benchtests/bench-strcspn.c: New file.
5025 * benchtests/bench-strlen-ifunc.c: New file.
5026 * benchtests/bench-strlen.c: New file.
5027 * benchtests/bench-strncasecmp-ifunc.c: New file.
5028 * benchtests/bench-strncasecmp.c: New file.
5029 * benchtests/bench-strncat-ifunc.c: New file.
5030 * benchtests/bench-strncat.c: New file.
5031 * benchtests/bench-strncmp-ifunc.c: New file.
5032 * benchtests/bench-strncmp.c: New file.
5033 * benchtests/bench-strncpy-ifunc.c: New file.
5034 * benchtests/bench-strncpy.c: New file.
5035 * benchtests/bench-strnlen-ifunc.c: New file.
5036 * benchtests/bench-strnlen.c: New file.
5037 * benchtests/bench-strpbrk-ifunc.c: New file.
5038 * benchtests/bench-strpbrk.c: New file.
5039 * benchtests/bench-strrchr-ifunc.c: New file.
5040 * benchtests/bench-strrchr.c: New file.
5041 * benchtests/bench-strspn-ifunc.c: New file.
5042 * benchtests/bench-strspn.c: New file.
5043 * benchtests/bench-strstr-ifunc.c: New file.
5044 * benchtests/bench-strstr.c: New file.
5045
c1f75dc3
SP
5046 * benchtests/Makefile: Disable parallel execution of targets.
5047 (string-bench): Add memcpy.
5048 (benchset): New variable to store a list of benchmark sets.
5049 (bench-func): Renamed from bench.
5050 (bench-set): New target.
5051 (bench): Depend on bench-func and bench-set.
5052 * benchtests/README: Add section on benchmark sets.
5053 * benchtests/bench-memcpy-ifunc.c: New file.
5054 * benchtests/bench-memcpy.c: New file.
5055 * benchtests/bench-string.h: New file.
5056
50fd745b
AS
50572013-06-11 Andreas Schwab <schwab@suse.de>
5058
5059 [BZ #15577]
5060 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5061 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5062 values in the triple.
5063 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5064 terminator in the group key.
5065
3ee7e9fe
AJ
50662013-06-11 Andreas Jaeger <aj@suse.de>
5067
5068 * po/zh_TW.po: Update Chinese (traditional) translation from
5069 translation project.
5070
89fb6835
SP
50712013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5072
5073 * include/time.h (__clock_gettime): Add libc_hidden_proto.
5074 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5075 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
5076 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5077 (clock_getcpuclockid): Likewise.
5078 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5079 Add weak_alias and libc_hidden_def.
5080 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5081 * rt/clock_gettime.c (clock_gettime): Rename to
5082 __clock_gettime. Add weak_alias and libc_hidden_def.
5083 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5084 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5085 __clock_nanosleep. Add weak_alias and libc_hidden_def.
5086 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5087 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5088 Likewise.
5089 * rt/clock_settime.c (clock_settime): Rename to
5090 __clock_settime. Add weak_alias and libc_hidden_def.
5091 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5092
0efa6f8b
JM
50932013-06-10 Joseph Myers <joseph@codesourcery.com>
5094
b8c61b4b
JM
5095 * mach/err_boot.sub: Remove trailing whitespace.
5096 * mach/err_ipc.sub: Likewise.
5097 * mach/err_mach.sub: Likewise.
5098
0efa6f8b
JM
5099 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5100 (ROUNDING_TESTS_double): Likewise.
5101 (ROUNDING_TESTS_long_double): Likewise.
5102 (ROUNDING_TESTS): Likewise.
5103 * math/libm-test.inc: Include <math-tests.h>.
5104 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5105 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5106 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5107 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5108
50b818bf
SP
51092013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5110
5111 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5112 of assigning.
5113
60d2f8f3
JM
51142013-06-08 Joseph Myers <joseph@codesourcery.com>
5115
4902d2c3
JM
5116 * sysdeps/gnu/errlist.awk: Do not generate space at end of
5117 otherwise empty TRANS lines.
5118 * sysdeps/gnu/errlist.c: Regenerated.
5119
60d2f8f3
JM
5120 * catgets/gencat.c (error_print): Use (void) in function
5121 definition.
5122 * crypt/crypt_util.c (__init_des): Likewise.
5123 * crypt/speeds.c (Stop): Likewise.
5124 (main): Likewise.
5125 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5126 * inet/ruserpass.c (token): Likewise.
5127 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5128 * intl/localealias.c (extend_alias_table): Likewise.
5129 * intl/plural-exp.c (init_germanic_plural): Likewise.
5130 * libio/fcloseall.c (__fcloseall): Likewise.
5131 * libio/genops.c (_IO_flush_all): Likewise.
5132 (_IO_flush_all_linebuffered): Likewise.
5133 (_IO_cleanup): Likewise.
5134 (_IO_iter_begin): Likewise.
5135 (_IO_iter_end): Likewise.
5136 (_IO_list_lock): Likewise.
5137 (_IO_list_unlock): Likewise.
5138 (_IO_list_resetlock): Likewise.
5139 * libio/getchar.c (getchar): Likewise.
5140 * libio/getchar_u.c (getchar_unlocked): Likewise.
5141 * libio/getwchar.c (getwchar): Likewise.
5142 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5143 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5144 * login/getpt.c (__getpt): Likewise.
5145 * login/tst-utmp.c (main): Likewise.
5146 * malloc/hooks.c (__malloc_check_init): Likewise.
5147 * malloc/malloc.c (__malloc_stats): Likewise.
5148 * malloc/mtrace.c (tr_break): Likewise.
5149 (mtrace): Likewise.
5150 (muntrace): Likewise.
5151 * misc/fstab.c (endfsent): Likewise.
5152 * misc/getclktck.c (__getclktck): Likewise.
5153 * misc/getdtsz.c (__getdtablesize): Likewise.
5154 * misc/gethostid.c (gethostid): Likewise.
5155 * misc/getpagesize.c (__getpagesize): Likewise.
5156 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5157 (__get_nprocs): Likewise.
5158 (__get_phys_pages): Likewise.
5159 (__get_avphys_pages): Likewise.
5160 * misc/getttyent.c (getttyent): Likewise.
5161 (setttyent): Likewise.
5162 (endttyent): Likewise.
5163 * misc/getusershell.c (getusershell): Likewise.
5164 (endusershell): Likewise.
5165 (setusershell): Likewise.
5166 (initshells): Likewise.
5167 * misc/hsearch.c (__hdestroy): Likewise.
5168 * misc/sync.c (sync): Likewise.
5169 * misc/syslog.c (closelog_internal): Likewise.
5170 (closelog): Likewise.
5171 * misc/ttyslot.c (ttyslot): Likewise.
5172 * misc/vhangup.c (vhangup): Likewise.
5173 * posix/fork.c (__fork): Likewise.
5174 * posix/getegid.c (__getegid): Likewise.
5175 * posix/geteuid.c (__geteuid): Likewise.
5176 * posix/getgid.c (__getgid): Likewise.
5177 * posix/getpid.c (__getpid): Likewise.
5178 * posix/getppid.c (__getppid): Likewise.
5179 * posix/getuid.c (__getuid): Likewise.
5180 * posix/pause.c (pause): Likewise.
5181 * posix/setpgrp.c (setpgrp): Likewise.
5182 * posix/setsid.c (__setsid): Likewise.
5183 * posix/test-vfork.c (noop): Likewise.
5184 * resolv/gethnamaddr.c (_endhtent): Likewise.
5185 (_gethtent): Likewise.
5186 (ht_endhostent): Likewise.
5187 (gethostent): Likewise.
5188 (dns_service): Likewise.
5189 * stdlib/drand48.c (drand48): Likewise.
5190 * stdlib/lrand48.c (lrand48): Likewise.
5191 * stdlib/mrand48.c (mrand48): Likewise.
5192 * stdlib/rand.c (rand): Likewise.
5193 * stdlib/random.c (__random): Likewise.
5194 * stdlib/setenv.c (clearenv): Likewise.
5195 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5196 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5197 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5198 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5199 (__get_nprocs): Likewise.
5200 (__get_phys_pages): Likewise.
5201 (__get_avphys_pages): Likewise.
5202 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5203 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5204 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5205 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5206 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5207 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5208 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5209 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5210 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5211 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5212 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5213 * sysdeps/mach/hurd/sync.c (sync): Likewise.
5214 * sysdeps/posix/clock.c (clock): Likewise.
5215 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5216 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5217 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5218 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5219 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5220 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5221 (__get_nprocs_conf): Likewise.
5222 (__get_phys_pages): Likewise.
5223 (__get_avphys_pages): Likewise.
5224 * time/clock.c (clock): Likewise.
5225 * time/tzset.c (__tzname_max): Likewise.
5226
2e09a79a
JM
52272013-06-07 Joseph Myers <joseph@codesourcery.com>
5228
5229 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5230 (__bswap_32): Do not use "register".
5231 * crypt/crypt.c (_ufc_doit_r): Likewise.
5232 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5233 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5234 * gmon/gmon.c (__monstartup): Likewise.
5235 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5236 * hurd/hurdmalloc.c (more_memory): Likewise.
5237 (malloc): Likewise.
5238 (free): Likewise.
5239 (realloc): Likewise.
5240 (malloc_fork_prepare): Likewise.
5241 (malloc_fork_parent): Likewise.
5242 (malloc_fork_child): Likewise.
5243 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5244 (_svcauth_des): Likewise.
5245 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5246 * inet/inet_net.c (inet_network): Likewise.
5247 * inet/inet_netof.c (inet_netof): Likewise.
5248 * inet/rcmd.c (__validuser2_sa): Likewise.
5249 * io/fts.c (fts_open): Likewise.
5250 (fts_load): Likewise.
5251 (fts_close): Likewise.
5252 (fts_read): Likewise.
5253 (fts_children): Likewise.
5254 (fts_build): Likewise.
5255 (fts_stat): Likewise.
5256 (fts_sort): Likewise.
5257 (fts_alloc): Likewise.
5258 (fts_lfree): Likewise.
5259 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5260 (_IO_file_xsgetn): Likewise.
5261 (_IO_file_xsgetn_mmap): Likewise.
5262 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5263 (_IO_cookie_write): Likewise.
5264 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5265 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5266 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5267 * malloc/obstack.c (_obstack_begin): Likewise.
5268 (_obstack_begin_1): Likewise.
5269 (_obstack_newchunk): Likewise.
5270 (_obstack_allocated_p): Likewise.
5271 (obstack_free): Likewise.
5272 (_obstack_memory_used): Likewise.
5273 * misc/getttyent.c (getttynam): Likewise.
5274 (getttyent): Likewise.
5275 (skip): Likewise.
5276 (value): Likewise.
5277 * misc/getusershell.c (initshells): Likewise.
5278 * misc/syslog.c (__vsyslog_chk): Likewise.
5279 * misc/ttyslot.c (ttyslot): Likewise.
5280 * nis/nis_hash.c (__nis_hash): Likewise.
5281 * posix/fnmatch_loop.c (FCT): Likewise.
5282 * posix/getconf.c (print_all): Likewise.
5283 (main): Likewise.
5284 * posix/getopt.c (exchange): Likewise.
5285 * posix/glob.c (globfree): Likewise.
5286 (prefix_array): Likewise.
5287 (__glob_pattern_type): Likewise.
5288 * resolv/arpa/nameser.h (NS_GET16): Likewise.
5289 (NS_GET32): Likewise.
5290 (NS_PUT16): Likewise.
5291 (NS_PUT32): Likewise.
5292 * resolv/gethnamaddr.c (getanswer): Likewise.
5293 (gethostbyname2): Likewise.
5294 (gethostbyaddr): Likewise.
5295 (_gethtent): Likewise.
5296 (_gethtbyname2): Likewise.
5297 (_gethtbyaddr): Likewise.
5298 * resolv/ns_print.c (dst_s_get_int16): Likewise.
5299 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5300 * resolv/res_init.c (__res_vinit): Likewise.
5301 (net_mask): Likewise.
5302 * resolv/res_mkquery.c (outchar): Likewise.
5303 (PRINT): Likewise.
5304 * stdio-common/printf_fp.c (outchar): Likewise.
5305 (PRINT): Likewise.
5306 * stdio-common/printf_fphex.c (outchar): Likewise.
5307 (PRINT): Likewise.
5308 * stdio-common/printf_size.c (outchar): Likewise.
5309 (PRINT): Likewise.
5310 * stdio-common/test_rdwr.c (main): Likewise.
5311 * stdio-common/tfformat.c (matches): Likewise.
5312 * stdio-common/vfprintf.c (outchar): Likewise.
5313 (printf_unknown): Likewise.
5314 (buffered_vfprintf): Likewise.
5315 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5316 * stdio-common/xbug.c (AppendToBuffer): Likewise.
5317 (ReadFile): Likewise.
5318 * stdlib/qsort.c (SWAP): Likewise.
5319 (_quicksort): Likewise.
5320 * stdlib/setenv.c (__add_to_environ): Likewise.
5321 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5322 * stdlib/strtol_l.c (__strtol_l): Likewise.
5323 * stdlib/tst-strtod.c (main): Likewise.
5324 * stdlib/tst-strtol.c (main): Likewise.
5325 * stdlib/tst-strtoll.c (main): Likewise.
5326 * string/bits/string2.h (__strcmp_cc): Likewise.
5327 (__strcmp_cg): Likewise.
5328 (__strcspn_c1): Likewise.
5329 (__strcspn_c2): Likewise.
5330 (__strcspn_c3): Likewise.
5331 (__strspn_c1): Likewise.
5332 (__strspn_c2): Likewise.
5333 (__strspn_c3): Likewise.
5334 (__strsep_1c): Likewise.
5335 (__strsep_2c): Likewise.
5336 (__strsep_3c): Likewise.
5337 * string/memccpy.c (__memccpy): Likewise.
5338 * string/stpcpy.c (__stpcpy): Likewise.
5339 * string/strcmp.c (strcmp): Likewise.
5340 * string/strrchr.c (strrchr): Likewise.
5341 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5342 Likewise.
5343 * sysdeps/mach/hurd/getcwd.c
5344 (_hurd_canonicalize_directory_name_internal): Likewise.
5345 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5346 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5347 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5348 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5349 Likewise, in both definitions.
5350 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5351 definitions.
5352 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5353 64] (__bswap_64): Likewise.
5354 * time/test_time.c (main): Likewise.
5355 * time/tzfile.c (__tzfile_read): Likewise.
5356 (__tzfile_compute): Likewise.
5357 * time/tzset.c (__tzset_parse_tz): Likewise.
5358 (tzset_internal): Likewise.
5359 (compute_change): Likewise.
5360 * wcsmbs/wcscat.c (__wcscat): Likewise.
5361 * wcsmbs/wcschr.c (wcschr): Likewise.
5362 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5363 * wcsmbs/wcscspn.c (wcscspn): Likewise.
5364 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5365 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5366 * wcsmbs/wcsspn.c (wcsspn): Likewise.
5367 * wcsmbs/wcsstr.c (wcsstr): Likewise.
5368 * wcsmbs/wmemchr.c (wmemchr): Likewise.
5369 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5370 * wcsmbs/wmemset.c (wmemset): Likewise.
5371
9e54314b
JM
53722013-06-06 Joseph Myers <joseph@codesourcery.com>
5373
5374 * scripts/config.guess: Update to version 2013-05-16.
5375 * scripts/config.sub: Update to version 2013-04-24.
5376 * scripts/install-sh: Update to version 2011-11-20.07.
5377 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5378 * scripts/move-if-change: Update to version 2012-01-06 07:23.
5379
350635a5
OB
53802013-06-06 Ondřej Bílka <neleai@seznam.cz>
5381
5382 * debug/fgetws_u_chk.c: Fix leading whitespaces.
5383 * elf/sln.c: Likewise.
5384 * hurd/hurd/ioctl.h: Likewise.
5385 * hurd/hurdmalloc.c: Likewise.
5386 * hurd/xattr.c: Likewise.
5387 * include/shlib-compat.h: Likewise.
5388 * inet/ruserpass.c: Likewise.
5389 * libio/iofgets_u.c: Likewise.
5390 * libio/iofgetws_u.c: Likewise.
5391 * locale/programs/ld-identification.c: Likewise.
5392 * locale/programs/ld-time.c: Likewise.
5393 * mach/msg-destroy.c: Likewise.
5394 * nss/nss_files/files-netgrp.c: Likewise.
5395 * resolv/res_data.c: Likewise.
5396 * soft-fp/op-1.h: Likewise.
5397 * soft-fp/op-2.h: Likewise.
5398 * soft-fp/op-4.h: Likewise.
5399 * soft-fp/op-common.h: Likewise.
5400 * stdio-common/printf_fphex.c: Likewise.
5401 * stdlib/strtod_l.c: Likewise.
5402 * sunrpc/rpc/clnt.h: Likewise.
5403 * sysdeps/generic/framestate.c: Likewise.
5404 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5405 * sysdeps/i386/bsd-setjmp.S: Likewise.
5406 * sysdeps/i386/__longjmp.S: Likewise.
5407 * sysdeps/i386/setjmp.S: Likewise.
5408 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5409 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5410 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5411 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5412 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5413 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5414 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5415 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5416 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5417 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5418 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5419 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5420 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5421 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5422 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5423 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5424 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5425 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5426 * sysdeps/ieee754/support.c: Likewise.
5427 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5428 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5429 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5430 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5431 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5432 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5433 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5434 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5435 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5436 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5437 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5438 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5439 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5440 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5441 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5442 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5443 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5445
44a988af
OB
54462013-06-05 Ondřej Bílka <neleai@seznam.cz>
5447
25506f09 5448 * posix/transbug.c: Remove executable mode.
44a988af 5449
9c84384c
JM
54502013-06-05 Joseph Myers <joseph@codesourcery.com>
5451
5452 * crypt/speeds.c: Remove trailing whitespace.
5453 * dlfcn/default.c: Likewise.
5454 * elf/ifuncdep2.c: Likewise.
5455 * elf/ifuncmain1.c: Likewise.
5456 * elf/ifuncmain1vis.c: Likewise.
5457 * elf/testobj.h: Likewise.
5458 * elf/tst-stackguard1.c: Likewise.
5459 * gmon/sys/gmon.h: Likewise.
5460 * hurd/hurdmsg.c: Likewise.
5461 * hurd/new-fd.c: Likewise.
5462 * hurd/ports-get.c: Likewise.
5463 * iconvdata/ibm1008_420.c: Likewise.
5464 * inet/tst-getni1.c: Likewise.
5465 * inet/tst-getni2.c: Likewise.
5466 * libio/ioungetc.c: Likewise.
5467 * libio/wfiledoalloc.c: Likewise.
5468 * manual/libm-err-tab.pl: Likewise.
5469 * math/w_dremf.c: Likewise.
5470 * misc/ftruncate.c: Likewise.
5471 * posix/bug-glob2.c: Likewise.
5472 * posix/tst-pcre.c: Likewise.
5473 * posix/wait4.c: Likewise.
5474 * resolv/README: Likewise.
5475 * resolv/res_debug.h: Likewise.
5476 * resolv/tst-inet_ntop.c: Likewise.
5477 * setjmp/bug269-setjmp.c: Likewise.
5478 * soft-fp/extended.h: Likewise.
5479 * soft-fp/op-1.h: Likewise.
5480 * soft-fp/op-2.h: Likewise.
5481 * soft-fp/op-4.h: Likewise.
5482 * soft-fp/op-8.h: Likewise.
5483 * soft-fp/testit.c: Likewise.
5484 * stdio-common/bug16.c: Likewise.
5485 * stdlib/random.c: Likewise.
5486 * sunrpc/rpcsvc/rquota.x: Likewise.
5487 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5488 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5489 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5490 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5491 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5492 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5493 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5494 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5495 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5496 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5497 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5498 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5499 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5500 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5501 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5502 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5503 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5504 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5505 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5506 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5507 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5508 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5509 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5510 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5511 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5512 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5513 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5514 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5515 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5516 * sysdeps/ieee754/s_lib_version.c: Likewise.
5517 * sysdeps/mach/hurd/check_fds.c: Likewise.
5518 * sysdeps/mach/hurd/getsockname.c: Likewise.
5519 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5520 * sysdeps/mach/hurd/recvfrom.c: Likewise.
5521 * sysdeps/powerpc/bits/link.h: Likewise.
5522 * sysdeps/powerpc/dl-procinfo.c: Likewise.
5523 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5524 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5525 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5526 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5527 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5528 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5529 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5530 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5531 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5532 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5533 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5534 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5535 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5536 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5537 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5538 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5539 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5540 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5541 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5542 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5543 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5544 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5545 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5546 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5547 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5548 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5549 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5550 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5551 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5552 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5553 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5554 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5555 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5556 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5557 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5558 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5559 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5560 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5561 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5562 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5563 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5564 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5565 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5566 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5567 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5568 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5569 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5570 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5571 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5572 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5573 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5574 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5575 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5576 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5577 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5578 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5579 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5580 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5581 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5582 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5583 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5584 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5585 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5586 * sysdeps/powerpc/sysdep.h: Likewise.
5587 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5588 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5589 * sysdeps/sh/dl-trampoline.S: Likewise.
5590 * sysdeps/sh/memset.S: Likewise.
5591 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5592 * sysdeps/sh/strlen.S: Likewise.
5593 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5594 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5595 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5596 * sysdeps/sparc/sparc32/rem.S: Likewise.
5597 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5598 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5599 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5600 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5601 * sysdeps/sparc/sparc32/urem.S: Likewise.
5602 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5603 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5604 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5605 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5606 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5607 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5608 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5609 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5610 * sysdeps/unix/bsd/times.c: Likewise.
5611 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5612 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5613 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5615 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5616 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5617 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5618 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5619 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5620 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5621 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5622 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5623 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5624 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5625 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5626 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5627 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5628 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5629 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5630 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5631 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5632 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5633 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5634 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5635 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5636 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5637 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5638 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5639 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5640 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5641 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5642 * sysdeps/x86_64/strcspn.S: Likewise.
5643
869378a5
RA
56442013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5645
5646 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5647 generated file. Regenerate properly from gen-translit.pl.
5648 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5649 locale/C-translit.h.
5650
840e2943
AS
56512013-06-05 Andreas Schwab <schwab@suse.de>
5652
5653 [BZ #15100]
5654 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5655 week as 6 instead of -1.
5656 * time/tst-strptime.c (day_tests): Add test case.
5657
4c60cb0c
SP
56582013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5659
5660 * sysdeps/generic/math_private.h
5661 (libc_feholdexcept_setround_53bit): Replace with
5662 libc_feholdsetround_53bit.
5663 (libc_feupdateenv_53bit): Replace with
5664 libc_feresetround_53bit.
5665 (SET_RESTORE_ROUND_53BIT): Adjust.
5666
d180203e
SP
56672013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5668
96df079a
SP
5669 * string/test-strchrnul.c: Add copyright header.
5670
d180203e
SP
5671 * posix/tst-getaddrinfo4.c: Increase test timeout.
5672
8b0ccb2d
CD
56732013-06-03 Carlos O'Donell <carlos@redhat.com>
5674
5675 [BZ #15536]
5676 * math/libm-test.inc (MAX_EXP): Remove
5677 (MIN_EXP): Define.
5678 (ulp): Use MIN_EXP - MANT_DIG.
5679 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5680
3b3c4d40
CD
56812013-05-31 Carlos O'Donell <carlos@redhat.com>
5682
5683 * po/be.po: Revert last change.
5684 * po/zh_CN.po: Likewise.
5685 * po/header.pot: Likewise.
5686
fab7ce3f
JM
56872013-05-31 Joseph Myers <joseph@codesourcery.com>
5688
5689 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5690 link-libc-deps to empty as target-specific variable.
5691 * Makerules (link-libc-args): New variable.
5692 (libc-for-link): Likewise.
5693 (link-libc-deps): Likewise.
5694 (lib%.so): Depend on $(link-libc-deps). Link with
5695 $(link-libc-args).
5696 (build-module): Link with $(link-libc-args).
5697 (build-module-asneeded): Likewise.
5698 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5699 list of objects.
5700 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5701 target-specific variable.
5702 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5703 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5704 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5705 libc.
5706 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5707 libc and ld.so.
5708 ($(objpfx)libpcprofile.so): Likewise.
5709 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5710 libc_nonshared.a.
5711 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5712 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5713 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5714 $(link-libc-deps).
5715 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5716 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5717 * login/Makefile ($(objpfx)libutil.so): Likewise.
5718 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5719 * math/Makefile ($(objpfx)libm.so): Likewise.
5720 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5721 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5722 variable instead of depending directly on libc.
5723 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5724 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5725 $(link-libc-deps).
5726 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5727 libc.
5728 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5729 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5730 ($(objpfx)libanl.so): Likewise.
5731 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5732 ld.so.
5733 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5734 $(link-libc-deps).
5735 * sysdeps/i386/fpu/Makefile: Remove file.
5736 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5737 ($(objpfx)libm.so): Remove dependency on ld.so.
5738
eca5920c
PF
57392013-05-30 Patsy Franklin <pfrankli@redhat.com>
5740
5741 [BZ # 15553]
5742 * nis/yp_xdr.c (XDRMAXNAME): Define.
5743 (XDRMAXRECORD): Define.
5744 (xdr_domainname): Use XDRMAXNAME.
5745 (xdr_mapname): Likewise.
5746 (xdr_peername): Likewise.
5747 (xdr_keydat): Use XDRMAXRECORD.
5748 (xdr_valdat): Likewise.
5749
57502013-05-30 Jeff Law <law@redhat.com>
96945714
JL
5751
5752 [BZ #14256]
5753 * manual/errno.texi (ESTALE): Update to account for more than
5754 just NFS file systems.
5755 * sysdeps/gnu/errlist.c: Regenerated.
5756
b9375348
SP
57572013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5758
5759 [BZ #15465]
5760 * elf/Makefile (tests): Add tst-null-argv.
5761 (modules-names): Add tst-null-argv-lib.
5762 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5763 (tst-null-argv-ENV): Set environment for tst-null-argv.
5764 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5765 (RTLD_PROGNAME): New macro.
5766 * elf/tst-null-argv.c: New test case.
5767 * elf/tst-null-argv-lib.c: Library for test case.
5768 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5769 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5770 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5771 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5772 * elf/dl-init.c (call_init): Likewise.
5773 (_dl_init): Likewise.
5774 * elf/dl-load.c (print_search_path): Likewise.
5775 (_dl_map_object): Likewise.
5776 * elf/dl-lookup.c (do_lookup_x): Likewise.
5777 (add_dependency): Likewise.
5778 (_dl_lookup_symbol_x): Likewise.
5779 (_dl_debug_bindings): Likewise.
5780 * elf/dl-open.c (_dl_show_scope): Likewise.
5781 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5782 * elf/dl-version.c (match_symbol): Likewise.
5783 (_dl_check_map_versions): Likewise.
5784 * elf/rtld.c (dl_main): Likewise.
5785 (print_unresolved): Use RTLD_PROGNAME.
5786 (print_missing_version): Likewise.
5787 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5788 (elf_machine_rela): Likewise.
5789 * sysdeps/powerpc/powerpc32/dl-machine.c
5790 (__process_machine_rela): Likewise.
5791 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5792 Likewise.
5793 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5794 Likewise.
5795 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5796 Likewise.
5797 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5798 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5799 Likewise.
5800 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5801 Likewise.
5802 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5803
8a9f20c8
CD
58042013-05-28 Carlos O'Donell <carlos@redhat.com>
5805
5806 * po/be.po: Add descriptive title.
5807 * po/zh_CN.po: Likewise.
5808 * po/header.pot: Likewise.
5809
0e60d68e
MF
58102013-05-28 Mike Frysinger <vapier@gentoo.org>
5811
5812 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5813 error message.
5814 (enlarge_archive): Likewise.
5815
56b672e9
BN
58162013-05-28 Ben North <ben@redfrontdoor.org>
5817
5818 * manual/arith.texi (frexp): It is the magnitude of the return
5819 value which lies in [0.5, 1), not the return value itself.
5820
5e056687
AZ
58212013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5822
5823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5824
2b66ef5d
TS
58252013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5826
528c2405
TS
5827 * stdio-common/bug26.c (main): Correct fscanf template.
5828
07b4c13d
TS
5829 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5830 declare _dl_skip_args.
5831
ec9dd97c
TS
5832 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5833 Don't declare.
5834
2b66ef5d
TS
5835 * manual/platform.texi: Add missing @end deftypefun.
5836
4f8dfe27
JM
58372013-05-24 Joseph Myers <joseph@codesourcery.com>
5838
0323d086
JM
5839 [BZ #15529]
5840 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5841 bit of mantissa of 2^16382.
5842 * math/libm-test.inc (hypot_test_data): Add more tests.
5843
dd4259b9
JM
5844 * math/libm-test.inc: Add drem and pow10 to list of tested
5845 functions.
5846 (pow10_test): New function.
5847 (drem_test): Likewise.
5848 (drem_test_tonearest): Likewise.
5849 (drem_test_towardzero): Likewise.
5850 (drem_test_downward): Likewise.
5851 (drem_test_upward): Likewise.
5852 (main): Call the new functions.
5853
4f8dfe27
JM
5854 * math/libm-test.inc (finite_test_data): Remove.
5855 (finite_test): Run tests from isfinite_test_data.
5856 (gamma_test_data): Remove.
5857 (gamma_test): Run tests from lgamma_test_data.
5858 * sysdeps/i386/fpu/libm-test-ulps: Update.
5859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5860
d116b7c4
AZ
58612013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5862
5863 * manual/platform.texi: Add PowerPC PPR function set documentation.
5864 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5865 implementation.
5866
e96e3767
CD
58672013-05-24 Carlos O'Donell <carlos@redhat.com>
5868
5869 * math/libm-test.inc (MAX_EXP): Define.
5870 (ULPDIFF): Define.
5871 (ulp): New function.
5872 (check_float_internal): Use ULPDIFF.
5873 (cpow_test): Disable failing test.
5874 (check_ulp): Test ulp() implemetnation.
5875 (main): Call check_ulp before starting tests.
5876
b679a606
JM
58772013-05-24 Joseph Myers <joseph@codesourcery.com>
5878
e8bdba36
JM
5879 * math/gen-libm-test.pl (generate_testfile): Do not handle
5880 START_DATA and END_DATA.
5881 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5882 END_DATA.
5883 (acos_tonearest_test_data): Likewise.
5884 (acos_towardzero_test_data): Likewise.
5885 (acos_downward_test_data): Likewise.
5886 (acos_upward_test_data): Likewise.
5887 (acosh_test_data): Likewise.
5888 (asin_test_data): Likewise.
5889 (asin_tonearest_test_data): Likewise.
5890 (asin_towardzero_test_data): Likewise.
5891 (asin_downward_test_data): Likewise.
5892 (asin_upward_test_data): Likewise.
5893 (asinh_test_data): Likewise.
5894 (atan_test_data): Likewise.
5895 (atanh_test_data): Likewise.
5896 (atan2_test_data): Likewise.
5897 (cabs_test_data): Likewise.
5898 (cacos_test_data): Likewise.
5899 (cacosh_test_data): Likewise.
5900 (carg_test_data): Likewise.
5901 (casin_test_data): Likewise.
5902 (casinh_test_data): Likewise.
5903 (catan_test_data): Likewise.
5904 (catanh_test_data): Likewise.
5905 (cbrt_test_data): Likewise.
5906 (ccos_test_data): Likewise.
5907 (ccosh_test_data): Likewise.
5908 (ceil_test_data): Likewise.
5909 (cexp_test_data): Likewise.
5910 (cimag_test_data): Likewise.
5911 (clog_test_data): Likewise.
5912 (clog10_test_data): Likewise.
5913 (conj_test_data): Likewise.
5914 (copysign_test_data): Likewise.
5915 (cos_test_data): Likewise.
5916 (cos_tonearest_test_data): Likewise.
5917 (cos_towardzero_test_data): Likewise.
5918 (cos_downward_test_data): Likewise.
5919 (cos_upward_test_data): Likewise.
5920 (cosh_test_data): Likewise.
5921 (cosh_tonearest_test_data): Likewise.
5922 (cosh_towardzero_test_data): Likewise.
5923 (cosh_downward_test_data): Likewise.
5924 (cosh_upward_test_data): Likewise.
5925 (cpow_test_data): Likewise.
5926 (cproj_test_data): Likewise.
5927 (creal_test_data): Likewise.
5928 (csin_test_data): Likewise.
5929 (csinh_test_data): Likewise.
5930 (csqrt_test_data): Likewise.
5931 (ctan_test_data): Likewise.
5932 (ctan_tonearest_test_data): Likewise.
5933 (ctan_towardzero_test_data): Likewise.
5934 (ctan_downward_test_data): Likewise.
5935 (ctan_upward_test_data): Likewise.
5936 (ctanh_test_data): Likewise.
5937 (ctanh_tonearest_test_data): Likewise.
5938 (ctanh_towardzero_test_data): Likewise.
5939 (ctanh_downward_test_data): Likewise.
5940 (ctanh_upward_test_data): Likewise.
5941 (erf_test_data): Likewise.
5942 (erfc_test_data): Likewise.
5943 (exp_test_data): Likewise.
5944 (exp_tonearest_test_data): Likewise.
5945 (exp_towardzero_test_data): Likewise.
5946 (exp_downward_test_data): Likewise.
5947 (exp_upward_test_data): Likewise.
5948 (exp10_test_data): Likewise.
5949 (exp2_test_data): Likewise.
5950 (expm1_test_data): Likewise.
5951 (fabs_test_data): Likewise.
5952 (fdim_test_data): Likewise.
5953 (finite_test_data): Likewise.
5954 (floor_test_data): Likewise.
5955 (fma_test_data): Likewise.
5956 (fma_towardzero_test_data): Likewise.
5957 (fma_downward_test_data): Likewise.
5958 (fma_upward_test_data): Likewise.
5959 (fmax_test_data): Likewise.
5960 (fmin_test_data): Likewise.
5961 (fmod_test_data): Likewise.
5962 (fpclassify_test_data): Likewise.
5963 (frexp_test_data): Likewise.
5964 (gamma_test_data): Likewise.
5965 (hypot_test_data): Likewise.
5966 (ilogb_test_data): Likewise.
5967 (isfinite_test_data): Likewise.
5968 (isgreater_test_data): Likewise.
5969 (isgreaterequal_test_data): Likewise.
5970 (isinf_test_data): Likewise.
5971 (isless_test_data): Likewise.
5972 (islessequal_test_data): Likewise.
5973 (islessgreater_test_data): Likewise.
5974 (isnan_test_data): Likewise.
5975 (isnormal_test_data): Likewise.
5976 (issignaling_test_data): Likewise.
5977 (isunordered_test_data): Likewise.
5978 (j0_test_data): Likewise.
5979 (j1_test_data): Likewise.
5980 (jn_test_data): Likewise.
5981 (ldexp_test_data): Likewise.
5982 (lgamma_test_data): Likewise.
5983 (lrint_test_data): Likewise.
5984 (lrint_tonearest_test_data): Likewise.
5985 (lrint_towardzero_test_data): Likewise.
5986 (lrint_downward_test_data): Likewise.
5987 (lrint_upward_test_data): Likewise.
5988 (llrint_test_data): Likewise.
5989 (llrint_tonearest_test_data): Likewise.
5990 (llrint_towardzero_test_data): Likewise.
5991 (llrint_downward_test_data): Likewise.
5992 (llrint_upward_test_data): Likewise.
5993 (log_test_data): Likewise.
5994 (log10_test_data): Likewise.
5995 (log1p_test_data): Likewise.
5996 (log2_test_data): Likewise.
5997 (logb_test_data): Likewise.
5998 (logb_downward_test_data): Likewise.
5999 (lround_test_data): Likewise.
6000 (llround_test_data): Likewise.
6001 (modf_test_data): Likewise.
6002 (nearbyint_test_data): Likewise.
6003 (nextafter_test_data): Likewise.
6004 (nexttoward_test_data): Likewise.
6005 (pow_test_data): Likewise.
6006 (pow_tonearest_test_data): Likewise.
6007 (pow_towardzero_test_data): Likewise.
6008 (pow_downward_test_data): Likewise.
6009 (pow_upward_test_data): Likewise.
6010 (remainder_test_data): Likewise.
6011 (remainder_tonearest_test_data): Likewise.
6012 (remainder_towardzero_test_data): Likewise.
6013 (remainder_downward_test_data): Likewise.
6014 (remainder_upward_test_data): Likewise.
6015 (remquo_test_data): Likewise.
6016 (rint_test_data): Likewise.
6017 (rint_tonearest_test_data): Likewise.
6018 (rint_towardzero_test_data): Likewise.
6019 (rint_downward_test_data): Likewise.
6020 (rint_upward_test_data): Likewise.
6021 (round_test_data): Likewise.
6022 (scalb_test_data): Likewise.
6023 (scalbn_test_data): Likewise.
6024 (scalbln_test_data): Likewise.
6025 (signbit_test_data): Likewise.
6026 (sin_test_data): Likewise.
6027 (sin_tonearest_test_data): Likewise.
6028 (sin_towardzero_test_data): Likewise.
6029 (sin_downward_test_data): Likewise.
6030 (sin_upward_test_data): Likewise.
6031 (sincos_test_data): Likewise.
6032 (sinh_test_data): Likewise.
6033 (sinh_tonearest_test_data): Likewise.
6034 (sinh_towardzero_test_data): Likewise.
6035 (sinh_downward_test_data): Likewise.
6036 (sinh_upward_test_data): Likewise.
6037 (sqrt_test_data): Likewise.
6038 (tan_test_data): Likewise.
6039 (tan_tonearest_test_data): Likewise.
6040 (tan_towardzero_test_data): Likewise.
6041 (tan_downward_test_data): Likewise.
6042 (tan_upward_test_data): Likewise.
6043 (tanh_test_data): Likewise.
6044 (tgamma_test_data): Likewise.
6045 (trunc_test_data): Likewise.
6046 (y0_test_data): Likewise.
6047 (y1_test_data): Likewise.
6048 (yn_test_data): Likewise.
6049 (significand_test_data): Likewise.
6050
b679a606
JM
6051 * math/gen-libm-test.pl (@functions): Remove variable.
6052 (generate_testfile): Don't handle START and END lines.
6053 * math/libm-test.inc (START): New macro.
6054 (END): Likewise.
6055 (END_COMPLEX): Likewise.
6056 (acos_test): Use END macro without arguments.
6057 (acos_test_tonearest): Likewise.
6058 (acos_test_towardzero): Likewise.
6059 (acos_test_downward): Likewise.
6060 (acos_test_upward): Likewise.
6061 (acosh_test): Likewise.
6062 (asin_test): Likewise.
6063 (asin_test_tonearest): Likewise.
6064 (asin_test_towardzero): Likewise.
6065 (asin_test_downward): Likewise.
6066 (asin_test_upward): Likewise.
6067 (asinh_test): Likewise.
6068 (atan_test): Likewise.
6069 (atanh_test): Likewise.
6070 (atan2_test): Likewise.
6071 (cabs_test): Likewise.
6072 (cacos_test): Use END_COMPLEX macro without arguments.
6073 (cacosh_test): Likewise.
6074 (carg_test): Use END macro without arguments.
6075 (casin_test): Use END_COMPLEX macro without arguments.
6076 (casinh_test): Likewise.
6077 (catan_test): Likewise.
6078 (catanh_test): Likewise.
6079 (cbrt_test): Use END macro without arguments.
6080 (ccos_test): Use END_COMPLEX macro without arguments.
6081 (ccosh_test): Likewise.
6082 (ceil_test): Use END macro without arguments.
6083 (cexp_test): Use END_COMPLEX macro without arguments.
6084 (cimag_test): Use END macro without arguments.
6085 (clog_test): Use END_COMPLEX macro without arguments.
6086 (clog10_test): Likewise.
6087 (conj_test): Likewise.
6088 (copysign_test): Use END macro without arguments.
6089 (cos_test): Likewise.
6090 (cos_test_tonearest): Likewise.
6091 (cos_test_towardzero): Likewise.
6092 (cos_test_downward): Likewise.
6093 (cos_test_upward): Likewise.
6094 (cosh_test): Likewise.
6095 (cosh_test_tonearest): Likewise.
6096 (cosh_test_towardzero): Likewise.
6097 (cosh_test_downward): Likewise.
6098 (cosh_test_upward): Likewise.
6099 (cpow_test): Use END_COMPLEX macro without arguments.
6100 (cproj_test): Likewise.
6101 (creal_test): Use END macro without arguments.
6102 (csin_test): Use END_COMPLEX macro without arguments.
6103 (csinh_test): Likewise.
6104 (csqrt_test): Likewise.
6105 (ctan_test): Likewise.
6106 (ctan_test_tonearest): Likewise.
6107 (ctan_test_towardzero): Likewise.
6108 (ctan_test_downward): Likewise.
6109 (ctan_test_upward): Likewise.
6110 (ctanh_test): Likewise.
6111 (ctanh_test_tonearest): Likewise.
6112 (ctanh_test_towardzero): Likewise.
6113 (ctanh_test_downward): Likewise.
6114 (ctanh_test_upward): Likewise.
6115 (erf_test): Use END macro without arguments.
6116 (erfc_test): Likewise.
6117 (exp_test): Likewise.
6118 (exp_test_tonearest): Likewise.
6119 (exp_test_towardzero): Likewise.
6120 (exp_test_downward): Likewise.
6121 (exp_test_upward): Likewise.
6122 (exp10_test): Likewise.
6123 (exp2_test): Likewise.
6124 (expm1_test): Likewise.
6125 (fabs_test): Likewise.
6126 (fdim_test): Likewise.
6127 (finite_test): Likewise.
6128 (floor_test): Likewise.
6129 (fma_test): Likewise.
6130 (fma_test_towardzero): Likewise.
6131 (fma_test_downward): Likewise.
6132 (fma_test_upward): Likewise.
6133 (fmax_test): Likewise.
6134 (fmin_test): Likewise.
6135 (fmod_test): Likewise.
6136 (fpclassify_test): Likewise.
6137 (frexp_test): Likewise.
6138 (gamma_test): Likewise.
6139 (hypot_test): Likewise.
6140 (ilogb_test): Likewise.
6141 (isfinite_test): Likewise.
6142 (isgreater_test): Likewise.
6143 (isgreaterequal_test): Likewise.
6144 (isinf_test): Likewise.
6145 (isless_test): Likewise.
6146 (islessequal_test): Likewise.
6147 (islessgreater_test): Likewise.
6148 (isnan_test): Likewise.
6149 (isnormal_test): Likewise.
6150 (issignaling_test): Likewise.
6151 (isunordered_test): Likewise.
6152 (j0_test): Likewise.
6153 (j1_test): Likewise.
6154 (jn_test): Likewise.
6155 (ldexp_test): Likewise.
6156 (lgamma_test): Likewise.
6157 (lrint_test): Likewise.
6158 (lrint_test_tonearest): Likewise.
6159 (lrint_test_towardzero): Likewise.
6160 (lrint_test_downward): Likewise.
6161 (lrint_test_upward): Likewise.
6162 (llrint_test): Likewise.
6163 (llrint_test_tonearest): Likewise.
6164 (llrint_test_towardzero): Likewise.
6165 (llrint_test_downward): Likewise.
6166 (llrint_test_upward): Likewise.
6167 (log_test): Likewise.
6168 (log10_test): Likewise.
6169 (log1p_test): Likewise.
6170 (log2_test): Likewise.
6171 (logb_test): Likewise.
6172 (logb_test_downward): Likewise.
6173 (lround_test): Likewise.
6174 (llround_test): Likewise.
6175 (modf_test): Likewise.
6176 (nearbyint_test): Likewise.
6177 (nextafter_test): Likewise.
6178 (nexttoward_test): Likewise.
6179 (pow_test): Likewise.
6180 (pow_test_tonearest): Likewise.
6181 (pow_test_towardzero): Likewise.
6182 (pow_test_downward): Likewise.
6183 (pow_test_upward): Likewise.
6184 (remainder_test): Likewise.
6185 (remainder_test_tonearest): Likewise.
6186 (remainder_test_towardzero): Likewise.
6187 (remainder_test_downward): Likewise.
6188 (remainder_test_upward): Likewise.
6189 (remquo_test): Likewise.
6190 (rint_test): Likewise.
6191 (rint_test_tonearest): Likewise.
6192 (rint_test_towardzero): Likewise.
6193 (rint_test_downward): Likewise.
6194 (rint_test_upward): Likewise.
6195 (round_test): Likewise.
6196 (scalb_test): Likewise.
6197 (scalbn_test): Likewise.
6198 (scalbln_test): Likewise.
6199 (signbit_test): Likewise.
6200 (sin_test): Likewise.
6201 (sin_test_tonearest): Likewise.
6202 (sin_test_towardzero): Likewise.
6203 (sin_test_downward): Likewise.
6204 (sin_test_upward): Likewise.
6205 (sincos_test): Likewise.
6206 (sinh_test): Likewise.
6207 (sinh_test_tonearest): Likewise.
6208 (sinh_test_towardzero): Likewise.
6209 (sinh_test_downward): Likewise.
6210 (sinh_test_upward): Likewise.
6211 (sqrt_test): Likewise.
6212 (tan_test): Likewise.
6213 (tan_test_tonearest): Likewise.
6214 (tan_test_towardzero): Likewise.
6215 (tan_test_downward): Likewise.
6216 (tan_test_upward): Likewise.
6217 (tanh_test): Likewise.
6218 (tgamma_test): Likewise.
6219 (trunc_test): Likewise.
6220 (y0_test): Likewise.
6221 (y1_test): Likewise.
6222 (yn_test): Likewise.
6223 (significand_test): Likewise.
6224
bae143d2
OB
62252013-05-24 Ondřej Bílka <neleai@seznam.cz>
6226
6227 [BZ #15381]
6228 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6229
9323d39b
EM
62302013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6231
d4ea44a0 6232 [BZ #14894]
9323d39b
EM
6233 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6234 __ppc_mdoio and __ppc_mdoom.
6235 * manual/platform.texi: Document new functions __ppc_yield,
6236 __ppc_mdoio and __ppc_mdoom.
6237
13e23af7
CD
62382013-05-22 Carlos O'Donell <carlos@redhat.com>
6239
6240 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6241 (main): Mention "tls" pseudo-hwcap is legacy.
6242 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6243
351fe550
JM
62442013-05-22 Joseph Myers <joseph@codesourcery.com>
6245
6246 * math/gen-libm-test.pl (parse_args): Output only string of
6247 arguments as text for test name, not full call or descriptions of
6248 tests for extra outputs.
6249 (generate_testfile): Do not pass function name to parse_args.
6250 Generate this_func variable from START.
6251 * math/libm-test.inc (struct test_f_f_data): Rename test_name
6252 field to arg_str.
6253 (struct test_ff_f_data): Likewise.
6254 (test_ff_f_data_nexttoward): Likewise.
6255 (struct test_fi_f_data): Likewise.
6256 (struct test_fl_f_data): Likewise.
6257 (struct test_if_f_data): Likewise.
6258 (struct test_fff_f_data): Likewise.
6259 (struct test_c_f_data): Likewise.
6260 (struct test_f_f1_data): Likewise. Remove field extra_name.
6261 (struct test_fF_f1_data): Likewise.
6262 (struct test_ffI_f1_data): Likewise.
6263 (struct test_c_c_data): Rename test_name field to arg_str.
6264 (struct test_cc_c_data): Likewise.
6265 (struct test_f_i_data): Likewise.
6266 (struct test_ff_i_data): Likewise.
6267 (struct test_f_l_data): Likewise.
6268 (struct test_f_L_data): Likewise.
6269 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
6270 and extra2_name.
6271 (COMMON_TEST_SETUP): New macro.
6272 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6273 (COMMON_TEST_CLEANUP): Likewise.
6274 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6275 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
6276 macros.
6277 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6278 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
6279 macros.
6280 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6281 (RUN_TEST_fff_f): Take argument string. Call new setup and
6282 cleanup macros.
6283 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6284 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
6285 macros.
6286 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6287 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
6288 macros.
6289 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6290 (RUN_TEST_fF_f1): Take argument string. Call new setup and
6291 cleanup macros.
6292 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6293 (RUN_TEST_fI_f1): Take argument string. Call new setup and
6294 cleanup macros.
6295 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6296 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
6297 cleanup macros.
6298 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6299 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
6300 macros.
6301 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6302 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
6303 macros.
6304 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6305 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
6306 macros.
6307 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6308 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
6309 cleanup macros.
6310 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6311 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
6312 cleanup macros.
6313 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6314 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
6315 macros.
6316 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6317 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
6318 cleanup macros.
6319 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6320 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
6321 macros.
6322 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6323 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
6324 macros.
6325 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6326 (RUN_TEST_fFF_11): Take argument string. Call new setup and
6327 cleanup macros.
6328 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6329
85118d4d
EBM
63302013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6331
6332 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6333 to _sifields.sigfault.
6334 (si_addr_lsb): Define new macro.
6335 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6336 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6337 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6338
7a44c18f
CD
63392013-05-03 Carlos O'Donell <carlos at redhat.com>
6340
6341 [BZ #15441]
6342 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6343 returns -1.
6344 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6345 null return -1.
6346 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6347 loading the domain.
6348
b50a7181
JM
63492013-05-22 Joseph Myers <joseph@codesourcery.com>
6350
6351 * math/gen-libm-test.pl (parse_args): Do not include expected
6352 result in test name.
6353 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6354 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6355 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6356 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6357 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6359
051063c8
SP
63602013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6361
3ce9e010
SP
6362 * benchtests/Makefile: Sort function entries.
6363
051063c8
SP
6364 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6365 tanh, asinh, acosh, atanh.
6366 * benchtests/acos-inputs: New file.
6367 * benchtests/acosh-inputs: New file.
6368 * benchtests/asin-inputs: New file.
6369 * benchtests/asinh-inputs: New file.
6370 * benchtests/atanh-inputs: New file.
6371 * benchtests/cosh-inputs: New file.
6372 * benchtests/log-inputs: New file.
6373 * benchtests/sinh-inputs: New file.
6374 * benchtests/tanh-inputs: New file.
6375
47c22455
DL
63762013-05-21 Dmitry V. Levin <ldv@altlinux.org>
6377
6378 [BZ #15339]
6379 * posix/tst-getaddrinfo4.c: New test.
6380 * posix/Makefile (tests): Add it.
6381
3d04f5db
SP
63822013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6383
6384 [BZ #15339]
6385 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6386 when no services were used.
6387 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6388 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6389
d5dd6189
AS
63902013-05-21 Andreas Schwab <schwab@suse.de>
6391
6392 [BZ #15014]
6393 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6394 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6395 successful.
6396 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
6397 redundant variable declarations and reallocation of buffer when
6398 parsing as IPv6 address. Always set NSS status when called from
6399 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
6400 buffer too small. Correct computation of needed size.
6401 * nss/Makefile (tests): Add test-digits-dots.
6402 * nss/test-digits-dots.c: New test.
6403
fef94eab
SP
64042013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6405
6406 * benchtests/Makefile: Remove instructions for adding
6407 benchmark tests.
6408 * benchtests/README: New file to explain how to execute and
6409 enhance the benchmark tests.
6410
e39adf43
AS
64112013-05-21 Andreas Schwab <schwab@suse.de>
6412
6413 [BZ #15493]
6414 * setjmp/Makefile (tests): Add tst-sigsetjmp.
6415 * setjmp/tst-sigsetjmp.c: New test.
6416
b2b671b6
OB
64172013-05-20 Ondřej Bílka <neleai@seznam.cz>
6418
6419 * sysdeps/x86_64/memset.S (memset): New implementation.
6420 (__bzero): Likewise.
6421 (__memset_tail): New function.
6422
2d48b41c
OB
64232013-05-20 Ondřej Bílka <neleai@seznam.cz>
6424
6425 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6426 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6427 __memcpy_sse2_unaligned ifunc selection.
6428 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6429 Add memcpy-sse2-unaligned.S.
6430 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6431 Add: __memcpy_sse2_unaligned.
6432
f16cc3eb
JM
64332013-05-19 Joseph Myers <joseph@codesourcery.com>
6434
3e694268
JM
6435 [BZ #15490]
6436 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6437 math_force_eval before restoring floating-point envrionment.
6438 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6439 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6440 Likewise.
6441 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6442 <math_private.h>.
6443 (__nearbyintl): Use math_force_eval before restoring
6444 floating-point environment.
6445 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6446
db62a907
JM
6447 * math/gen-libm-test.pl (special_functions): Remove.
6448 (parse_args): Don't handle TEST_extra. Handle functions with no
6449 return value.
6450 * math/libm-test.inc (struct test_sincos_data): Replace with
6451 struct test_fFF_11_data.
6452 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6453 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6454 (sincos_test_data): Change element type to struct
6455 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
6456 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6457 RUN_TEST_LOOP_sincos.
6458 * math/README.libm-test: Don't mention special handling of
6459 individual functions.
6460 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6461 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6462 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6463 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6464 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6466
f16cc3eb
JM
6467 * math/gen-libm-test.pl (get_variable): Remove function.
6468 (parse_args): Don't show pointer parameters to call in test
6469 names. Use "extra output N" in test names for extra outputs
6470 rather than naming variables.
6471
3779b5b6
JM
64722013-05-18 Joseph Myers <joseph@codesourcery.com>
6473
2ee094ff
JM
6474 [BZ #15488]
6475 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6476 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6477 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6478 double tests.
6479 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6480 disable.
6481 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6482 check_long_double.
6483
3779b5b6
JM
6484 * math/gen-libm-test.pl (@tests): Remove variable.
6485 ($count): Likewise.
6486 (new_test): Remove function.
6487 (show_exceptions): New function.
6488 (special_functions): Use show_exceptions instead of new_test.
6489 (parse_args): Likewise.
6490 (generate_testfile): Pass only function name in generated call to
6491 print_max_error or print_complex_max_error.
6492 (get_ulps): Do not handle complex tests specially.
6493 (output_test): Rename to ...
6494 (get_all_ulps_for_test): ... this. Return a string rather than
6495 printing to a file. Require ulps to be present.
6496 (output_ulps): Generate arrays rather than #defines.
6497 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6498 (struct ulp_data): New type.
6499 (BUILD_COMPLEX_ULP): Remove macro.
6500 (compare_ulp_data): New function.
6501 (find_ulps): Likewise.
6502 (find_test_ulps): Likewise.
6503 (find_function_ulps): Likewise.
6504 (find_complex_function_ulps): Likewise.
6505 (print_max_error): Determine allowed ulps using
6506 find_function_ulps.
6507 (print_complex_max_error): Determine allowed ulps using
6508 find_complex_function_ulps.
6509 (check_float_internal): Determine max ulps using find_test_ulps.
6510 (check_float): Do not take max_ulp parameter. Update call to
6511 check_float_internal.
6512 (check_complex): Likewise.
6513 (check_int): Do not take max_ulp parameter.
6514 (check_long): Likewise.
6515 (check_bool): Likewise.
6516 (check_longlong): Likewise.
6517 (struct test_f_f_data): Remove max_ulp field.
6518 (struct test_ff_f_data): Likewise.
6519 (struct test_ff_f_data_nexttoward): Likewise.
6520 (struct test_fi_f_data): Likewise.
6521 (struct test_fl_f_data): Likewise.
6522 (struct test_if_f_data): Likewise.
6523 (struct test_fff_f_data): Likewise.
6524 (struct test_c_f_data): Likewise.
6525 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6526 (struct test_fF_f1_data): Likewise.
6527 (struct test_ffI_f1_data): Likewise.
6528 (struct test_c_c_data): Remove max_ulp field.
6529 (struct test_cc_c_data): Likewise.
6530 (struct test_f_i_data): Likewise.
6531 (struct test_ff_i_data): Likewise.
6532 (struct test_f_l_data): Likewise.
6533 (struct test_f_L_data): Likewise.
6534 (struct test_sincos_data): Likewise.
6535 (RUN_TEST_f_f): Do not handle ulps.
6536 (RUN_TEST_LOOP_f_f): Likewise.
6537 (RUN_TEST_2_f): Likewise.
6538 (RUN_TEST_LOOP_2_f): Likewise.
6539 (RUN_TEST_fff_f): Likewise.
6540 (RUN_TEST_LOOP_fff_f): Likewise.
6541 (RUN_TEST_c_f): Likewise.
6542 (RUN_TEST_LOOP_c_f): Likewise.
6543 (RUN_TEST_f_f1): Likewise.
6544 (RUN_TEST_LOOP_f_f1): Likewise.
6545 (RUN_TEST_fF_f1): Likewise.
6546 (RUN_TEST_LOOP_fF_f1): Likewise.
6547 (RUN_TEST_fI_f1): Likewise.
6548 (RUN_TEST_LOOP_fI_f1): Likewise.
6549 (RUN_TEST_ffI_f1): Likewise.
6550 (RUN_TEST_LOOP_ffI_f1): Likewise.
6551 (RUN_TEST_c_c): Likewise.
6552 (RUN_TEST_LOOP_c_c): Likewise.
6553 (RUN_TEST_cc_c): Likewise.
6554 (RUN_TEST_LOOP_cc_c): Likewise.
6555 (RUN_TEST_f_i): Likewise.
6556 (RUN_TEST_LOOP_f_i): Likewise.
6557 (RUN_TEST_f_i_tg): Likewise.
6558 (RUN_TEST_LOOP_f_i_tg): Likewise.
6559 (RUN_TEST_ff_i_tg): Likewise.
6560 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6561 (RUN_TEST_f_b): Likewise.
6562 (RUN_TEST_LOOP_f_b): Likewise.
6563 (RUN_TEST_f_b_tg): Likewise.
6564 (RUN_TEST_LOOP_f_b_tg): Likewise.
6565 (RUN_TEST_f_l): Likewise.
6566 (RUN_TEST_LOOP_f_l): Likewise.
6567 (RUN_TEST_f_L): Likewise.
6568 (RUN_TEST_LOOP_f_L): Likewise.
6569 (RUN_TEST_sincos): Likewise.
6570 (RUN_TEST_LOOP_sincos): Likewise.
6571
8269107f
JM
65722013-05-17 Joseph Myers <joseph@codesourcery.com>
6573
bb38759d
JM
6574 [BZ #15480]
6575 [BZ #15485]
6576 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6577 main case of finite arguments, set rounding mode to FE_TONEAREST
6578 and discard exceptions.
6579 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6580 exceptions.
6581 (remainder_tonearest_test_data): New variable.
6582 (remainder_test_tonearest): New function.
6583 (remainder_towardzero_test_data): New variable.
6584 (remainder_test_towardzero): New function.
6585 (remainder_downward_test_data): New variable.
6586 (remainder_test_downward): New function.
6587 (remainder_upward_test_data): New variable.
6588 (remainder_test_upward): New function.
6589 (main): Call the new test functions.
6590
a00bdcf0
JM
6591 * math/libm-test.inc (struct test_f_f1_data): Remove field
6592 extra_init.
6593 (struct test_fF_f1_data): Likewise.
6594 (struct test_ffI_f1_data): Likewise.
6595 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6596 based on value of EXTRA_EXPECTED.
6597 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6598 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6599 EXTRA_VAR based on value of EXTRA_EXPECTED.
6600 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6601 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6602 EXTRA_VAR based on value of EXTRA_EXPECTED.
6603 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6604 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6605 EXTRA_VAR based on value of EXTRA_EXPECTED.
6606 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6607 * math/gen-libm-test.pl (parse_args): Don't output initializers
6608 for extra output values.
6609
de407f79
JM
6610 * math/libm-test.inc (check_int): Expect result to be exactly
6611 equal to expected value and do not handle ulps.
6612 (check_long): Likewise.
6613 (check_longlong): Likewise.
6614
8269107f
JM
6615 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6616 exceptions.
6617 (cimag_test_data): Likewise.
6618 (conj_test_data): Likewise.
6619 (copysign_test_data): Likewise.
6620 (cproj_test_data): Likewise.
6621 (creal_test_data): Likewise.
6622 (fabs_test_data): Likewise.
6623 (fdim_test_data): Likewise.
6624 (finite_test_data): Likewise.
6625 (floor_test_data): Likewise.
6626 (fmax_test_data): Likewise.
6627 (fmin_test_data): Likewise.
6628 (fmod_test_data): Likewise.
6629 (fpclassify_test_data): Likewise.
6630 (frexp_test_data): Likewise.
6631 (ilogb_test_data): Likewise.
6632 (isfinite_test_data): Likewise.
6633 (isgreater_test_data): Likewise.
6634 (isgreaterequal_test_data): Likewise.
6635 (isinf_test_data): Likewise.
6636 (isless_test_data): Likewise.
6637 (islessequal_test_data): Likewise.
6638 (islessgreater_test_data): Likewise.
6639 (isnan_test_data): Likewise.
6640 (isnormal_test_data): Likewise.
6641 (issignaling_test_data): Likewise.
6642 (isunordered_test_data): Likewise.
6643 (ldexp_test_data): Likewise.
6644 (lrint_test_data): Likewise.
6645 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6646 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6647 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6648 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6649 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6650 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6651 test input.
6652 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6653 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6654 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6655 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6656 that test input.
6657 (lrint_downward_test_data): Test for "inexact" exceptions.
6658 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6659 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6660 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6661 test input.
6662 (lrint_upward_test_data): Test for "inexact" exceptions.
6663 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6664 test input.
6665 (llrint_test_data): Test for "inexact" exceptions.
6666 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6667 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6668 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6669 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6670 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6671 (llrint_downward_test_data): Test for "inexact" exceptions.
6672 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6673 (llrint_upward_test_data): Test for "inexact" exceptions.
6674 (logb_test_data): Likewise.
6675 (logb_downward_test_data): Likewise.
6676 (nextafter_test_data): Likewise.
6677 (nexttoward_test_data): Likewise.
6678 (remainder_test_data): Likewise.
6679 (remquo_test_data): Likewise.
6680 (scalbn_test_data): Likewise.
6681 (scalbln_test_data): Likewise.
6682 (signbit_test_data): Likewise.
6683 (sqrt_test_data): Likewise.
6684 (significand_test_data): Likewise.
6685
48a18de1
SP
66862013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6687
6688 [BZ #15424]
6689 * benchtests/bench-modf.c (struct args): Mark arg0 as
6690 volatile.
6691 * scripts/bench.pl: Mark members of struct args as volatile.
6692
13d3b41a
AZ
66932013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6694
68191c1d 6695 [BZ # 15497]
13d3b41a
AZ
6696 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6697 negative infinity on POWER6 or lower.
6698 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6699
2848b105
MR
67002013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6701
6702 [BZ #15442]
6703 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6704 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6705 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6706 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6707 (_FP_SETQNAN): New macro.
6708 (_FP_SETQNAN_SEMIRAW): Likewise.
6709 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6710 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6711 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6712 (FP_EXTEND): Use _FP_FRAC_SNANP.
6713 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6714 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6715 into account.
6716 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6717 New macro.
6718 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6719 Likewise.
6720
323e5cb7
JM
67212013-05-16 Joseph Myers <joseph@codesourcery.com>
6722
c58b274f
JM
6723 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6724 with DIVIDE_BY_ZERO_EXCEPTION.
6725 (gamma_test_data): Likewise.
6726 (lgamma_test_data): Likewise.
6727 (log_test_data): Likewise.
6728 (log10_test_data): Likewise.
6729 (log2_test_data): Likewise.
6730 (tgamma_test_data): Likewise.
6731
0ab34904
JM
6732 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6733 (acos_test_tonearest): Likewise.
6734 (acos_test_towardzero): Likewise.
6735 (acos_test_downward): Likewise.
6736 (acos_test_upward): Likewise.
6737 (acosh_test): Likewise.
6738 (asin_test): Likewise.
6739 (asin_test_tonearest): Likewise.
6740 (asin_test_towardzero): Likewise.
6741 (asin_test_downward): Likewise.
6742 (asin_test_upward): Likewise.
6743 (asinh_test): Likewise.
6744 (atan_test): Likewise.
6745 (atanh_test): Likewise.
6746 (atan2_test): Likewise.
6747 (cabs_test): Likewise.
6748 (cacos_test): Likewise.
6749 (cacosh_test): Likewise.
6750 (casin_test): Likewise.
6751 (casinh_test): Likewise.
6752 (catan_test): Likewise.
6753 (catanh_test): Likewise.
6754 (cbrt_test): Likewise.
6755 (ccos_test): Likewise.
6756 (ccosh_test): Likewise.
6757 (cexp_test): Likewise.
6758 (clog_test): Likewise.
6759 (clog10_test): Likewise.
6760 (cos_test): Likewise.
6761 (cos_test_tonearest): Likewise.
6762 (cos_test_towardzero): Likewise.
6763 (cos_test_downward): Likewise.
6764 (cos_test_upward): Likewise.
6765 (cosh_test): Likewise.
6766 (cosh_test_tonearest): Likewise.
6767 (cosh_test_towardzero): Likewise.
6768 (cosh_test_downward): Likewise.
6769 (cosh_test_upward): Likewise.
6770 (cpow_test): Likewise.
6771 (csin_test): Likewise.
6772 (csinh_test): Likewise.
6773 (csqrt_test): Likewise.
6774 (ctan_test): Likewise.
6775 (ctan_test_tonearest): Likewise.
6776 (ctan_test_towardzero): Likewise.
6777 (ctan_test_downward): Likewise.
6778 (ctan_test_upward): Likewise.
6779 (ctanh_test): Likewise.
6780 (ctanh_test_tonearest): Likewise.
6781 (ctanh_test_towardzero): Likewise.
6782 (ctanh_test_downward): Likewise.
6783 (ctanh_test_upward): Likewise.
6784 (erf_test): Likewise.
6785 (erfc_test): Likewise.
6786 (exp_test): Likewise.
6787 (exp_test_tonearest): Likewise.
6788 (exp_test_towardzero): Likewise.
6789 (exp_test_downward): Likewise.
6790 (exp_test_upward): Likewise.
6791 (exp10_test): Likewise.
6792 (exp2_test): Likewise.
6793 (expm1_test): Likewise.
6794 (fmod_test): Likewise.
6795 (gamma_test): Likewise.
6796 (hypot_test): Likewise.
6797 (j0_test): Likewise.
6798 (j1_test): Likewise.
6799 (jn_test): Likewise.
6800 (lgamma_test): Likewise.
6801 (log_test): Likewise.
6802 (log10_test): Likewise.
6803 (log1p_test): Likewise.
6804 (log2_test): Likewise.
6805 (logb_test_downward): Likewise.
6806 (pow_test): Likewise.
6807 (pow_test_tonearest): Likewise.
6808 (pow_test_towardzero): Likewise.
6809 (pow_test_downward): Likewise.
6810 (pow_test_upward): Likewise.
6811 (remainder_test): Likewise.
6812 (remquo_test): Likewise.
6813 (sin_test): Likewise.
6814 (sin_test_tonearest): Likewise.
6815 (sin_test_towardzero): Likewise.
6816 (sin_test_downward): Likewise.
6817 (sin_test_upward): Likewise.
6818 (sincos_test): Likewise.
6819 (sinh_test): Likewise.
6820 (sinh_test_tonearest): Likewise.
6821 (sinh_test_towardzero): Likewise.
6822 (sinh_test_downward): Likewise.
6823 (sinh_test_upward): Likewise.
6824 (sqrt_test): Likewise.
6825 (tan_test): Likewise.
6826 (tan_test_tonearest): Likewise.
6827 (tan_test_towardzero): Likewise.
6828 (tan_test_downward): Likewise.
6829 (tan_test_upward): Likewise.
6830 (tanh_test): Likewise.
6831 (tgamma_test): Likewise.
6832 (y0_test): Likewise.
6833 (y1_test): Likewise.
6834 (yn_test): Likewise.
6835
323e5cb7
JM
6836 * math/gen-libm-test.pl (adjust_arg): Remove function.
6837 (special_function): Remove argument $in_func. Only handle
6838 generating output for tables of tests, not inside functions.
6839 (parse_args): Likewise.
6840 (generate_testfile): Remove variable $in_func. Update call to
6841 parse_args.
6842 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6843 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6844 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6845 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6846 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6847 (MAX_VALUE_INIT): Rename macro to max_value.
6848 (MIN_VALUE_INIT): Rename macro to min_value.
6849 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6850 (plus_zero): Remove variable.
6851 (minus_zero): Likewise.
6852 (plus_infty): Likewise.
6853 (minus_infty): Likewise.
6854 (qnan_value): Likewise.
6855 (max_value): Likewise.
6856 (min_value): Likewise.
6857 (min_subnorm_value): Likewise.
6858
e054f494
RA
68592013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6860
6861 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6862 uint64_t or uint32_t usage.
6863 * crypt/sha256-block.c: Likewise.
6864 * crypt/sha256-crypt.c: Likewise.
6865 * crypt/sha256.c: Likewise.
6866 * crypt/sha512-block.c: Likewise.
6867 * crypt/sha512-crypt.c: Likewise.
6868 * crypt/sha512.c: Likewise.
6869 * debug/backtrace-tst.c: Likewise.
6870 * debug/pcprofiledump.c: Likewise.
6871 * elf/cache.c: Likewise.
6872 * elf/dl-cache.c: Likewise.
6873 * elf/dl-misc.c: Likewise.
6874 * elf/dl-profile.c: Likewise.
6875 * elf/dl-support.c: Likewise.
6876 * elf/ldconfig.c: Likewise.
6877 * elf/sprof.c: Likewise.
6878 * iconv/dummy-repertoire.c: Likewise.
6879 * iconv/iconv_charmap.c: Likewise.
6880 * iconv/skeleton.c: Likewise.
6881 * iconvdata/8bit-generic.c: Likewise.
6882 * iconvdata/cp737.h: Likewise.
6883 * iconvdata/cp775.h: Likewise.
6884 * iconvdata/ibm1008.h: Likewise.
6885 * iconvdata/ibm1025.h: Likewise.
6886 * iconvdata/ibm1046.h: Likewise.
6887 * iconvdata/ibm1097.h: Likewise.
6888 * iconvdata/ibm1112.h: Likewise.
6889 * iconvdata/ibm1122.h: Likewise.
6890 * iconvdata/ibm1123.h: Likewise.
6891 * iconvdata/ibm1124.h: Likewise.
6892 * iconvdata/ibm1129.h: Likewise.
6893 * iconvdata/ibm1130.h: Likewise.
6894 * iconvdata/ibm1132.h: Likewise.
6895 * iconvdata/ibm1133.h: Likewise.
6896 * iconvdata/ibm1137.h: Likewise.
6897 * iconvdata/ibm1140.h: Likewise.
6898 * iconvdata/ibm1141.h: Likewise.
6899 * iconvdata/ibm1142.h: Likewise.
6900 * iconvdata/ibm1143.h: Likewise.
6901 * iconvdata/ibm1144.h: Likewise.
6902 * iconvdata/ibm1145.h: Likewise.
6903 * iconvdata/ibm1146.h: Likewise.
6904 * iconvdata/ibm1147.h: Likewise.
6905 * iconvdata/ibm1148.h: Likewise.
6906 * iconvdata/ibm1149.h: Likewise.
6907 * iconvdata/ibm1153.h: Likewise.
6908 * iconvdata/ibm1154.h: Likewise.
6909 * iconvdata/ibm1155.h: Likewise.
6910 * iconvdata/ibm1156.h: Likewise.
6911 * iconvdata/ibm1157.h: Likewise.
6912 * iconvdata/ibm1158.h: Likewise.
6913 * iconvdata/ibm1160.h: Likewise.
6914 * iconvdata/ibm1161.h: Likewise.
6915 * iconvdata/ibm1162.h: Likewise.
6916 * iconvdata/ibm1163.h: Likewise.
6917 * iconvdata/ibm1164.h: Likewise.
6918 * iconvdata/ibm1166.h: Likewise.
6919 * iconvdata/ibm1167.h: Likewise.
6920 * iconvdata/ibm12712.h: Likewise.
6921 * iconvdata/ibm1390.h: Likewise.
6922 * iconvdata/ibm1399.h: Likewise.
6923 * iconvdata/ibm16804.h: Likewise.
6924 * iconvdata/ibm4517.h: Likewise.
6925 * iconvdata/ibm4899.h: Likewise.
6926 * iconvdata/ibm4909.h: Likewise.
6927 * iconvdata/ibm4971.h: Likewise.
6928 * iconvdata/ibm5347.h: Likewise.
6929 * iconvdata/ibm803.h: Likewise.
6930 * iconvdata/ibm856.h: Likewise.
6931 * iconvdata/ibm901.h: Likewise.
6932 * iconvdata/ibm902.h: Likewise.
6933 * iconvdata/ibm9030.h: Likewise.
6934 * iconvdata/ibm9066.h: Likewise.
6935 * iconvdata/ibm921.h: Likewise.
6936 * iconvdata/ibm922.h: Likewise.
6937 * iconvdata/ibm9448.h: Likewise.
6938 * iconvdata/isiri-3342.h: Likewise.
6939 * iconvdata/jis0201.h: Likewise.
6940 * include/link.h: Likewise.
6941 * include/netdb.h: Likewise.
6942 * inet/check_native.c: Likewise.
6943 * inet/check_pf.c: Likewise.
6944 * inet/getipv4sourcefilter.c: Likewise.
6945 * inet/getnameinfo.c: Likewise.
6946 * inet/getsourcefilter.c: Likewise.
6947 * inet/htonl.c: Likewise.
6948 * inet/setipv4sourcefilter.c: Likewise.
6949 * inet/setsourcefilter.c: Likewise.
6950 * inet/test-inet6_opt.c: Likewise.
6951 * inet/tst-network.c: Likewise.
6952 * locale/C-collate.c: Likewise.
6953 * locale/C-ctype.c: Likewise.
6954 * locale/C-time.c: Likewise.
6955 * locale/C-translit.h: Likewise.
6956 * locale/loadarchive.c: Likewise.
6957 * locale/programs/3level.h: Likewise.
6958 * locale/programs/charmap.c: Likewise.
6959 * locale/programs/charmap.h: Likewise.
6960 * locale/programs/ld-address.c: Likewise.
6961 * locale/programs/ld-collate.c: Likewise.
6962 * locale/programs/ld-ctype.c: Likewise.
6963 * locale/programs/ld-identification.c: Likewise.
6964 * locale/programs/ld-measurement.c: Likewise.
6965 * locale/programs/ld-messages.c: Likewise.
6966 * locale/programs/ld-monetary.c: Likewise.
6967 * locale/programs/ld-name.c: Likewise.
6968 * locale/programs/ld-numeric.c: Likewise.
6969 * locale/programs/ld-paper.c: Likewise.
6970 * locale/programs/ld-telephone.c: Likewise.
6971 * locale/programs/ld-time.c: Likewise.
6972 * locale/programs/linereader.c: Likewise.
6973 * locale/programs/locale.c: Likewise.
6974 * locale/programs/locarchive.c: Likewise.
6975 * locale/programs/locfile.h: Likewise.
6976 * locale/programs/repertoire.c: Likewise.
6977 * locale/programs/simple-hash.c: Likewise.
6978 * locale/programs/simple-hash.h: Likewise.
6979 * malloc/memusage.c: Likewise.
6980 * malloc/memusagestat.c: Likewise.
6981 * nis/nis_defaults.c: Likewise.
6982 * nis/nis_hash.c: Likewise.
6983 * nis/nis_print.c: Likewise.
6984 * nis/nis_xdr.c: Likewise.
6985 * nscd/connections.c: Likewise.
6986 * nscd/hstcache.c: Likewise.
6987 * nscd/nscd_gethst_r.c: Likewise.
6988 * nscd/nscd_getserv_r.c: Likewise.
6989 * nscd/nscd_helper.c: Likewise.
6990 * nscd/servicescache.c: Likewise.
6991 * nss/makedb.c: Likewise.
6992 * nss/nss_db/db-XXX.c: Likewise.
6993 * nss/nss_db/db-initgroups.c: Likewise.
6994 * nss/nss_db/db-netgrp.c: Likewise.
6995 * nss/nss_files/files-network.c: Likewise.
6996 * nss/nss_files/files-parse.c: Likewise.
6997 * posix/bug-regex5.c: Likewise.
6998 * posix/fnmatch_loop.c: Likewise.
6999 * posix/regcomp.c: Likewise.
7000 * posix/regexec.c: Likewise.
7001 * posix/tst-rfc3484-2.c: Likewise.
7002 * posix/tst-rfc3484-3.c: Likewise.
7003 * posix/tst-rfc3484.c: Likewise.
7004 * resolv/nss_dns/dns-canon.c: Likewise.
7005 * resolv/nss_dns/dns-network.c: Likewise.
7006 * resolv/res_init.c: Likewise.
7007 * resolv/res_mkquery.c: Likewise.
7008 * resolv/tst-aton.c: Likewise.
7009 * stdlib/cxa_atexit.c: Likewise.
7010 * stdlib/cxa_finalize.c: Likewise.
7011 * stdlib/gen-fpioconst.c: Likewise.
7012 * stdlib/strtol_l.c: Likewise.
7013 * string/tst-endian.c: Likewise.
7014 * sunrpc/auth_des.c: Likewise.
7015 * sunrpc/clnt_udp.c: Likewise.
7016 * sunrpc/rtime.c: Likewise.
7017 * sunrpc/svcauth_des.c: Likewise.
7018 * sunrpc/xdr.c: Likewise.
7019 * sunrpc/xdr_intXX_t.c: Likewise.
7020 * sunrpc/xdr_rec.c: Likewise.
7021 * sysdeps/generic/ldconfig.h: Likewise.
7022 * sysdeps/generic/ldsodefs.h: Likewise.
7023 * sysdeps/generic/memusage.h: Likewise.
7024 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7025 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7026 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7027 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7028 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7029 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7030 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7031 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7032 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7033 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7034 * sysdeps/posix/getaddrinfo.c: Likewise.
7035 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7036 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7037 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7038 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7039 * sysdeps/powerpc/test-gettimebase.c: Likewise.
7040 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7041 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7042 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7043 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7044 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7045 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7046 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7047 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7048 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7049 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7050 * sysdeps/x86_64/dl-tls.h: Likewise.
7051 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7052 * time/alt_digit.c: Likewise.
7053 * time/era.c: Likewise.
7054 * wcsmbs/tst-c16c32-1.c: Likewise.
7055
8c75f674
JM
70562013-05-16 Joseph Myers <joseph@codesourcery.com>
7057
7058 * math/libm-test.inc (struct test_sincos_data): New type.
7059 (RUN_TEST_LOOP_sincos): New macro.
7060 (sincos_test_data): New variable.
7061 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7062
e6e49e59
RH
70632013-05-16 Richard Henderson <rth@redhat.com>
7064
7065 * math/atest-exp2.c (LIMB64): New macro.
7066 (CONSTSZ): New macro.
7067 (mp_exp1, mp_exp_m1, mp_log2): New variables.
7068 (hexdig): Move ...
7069 (print_mpn_fp): ... to function scope.
7070 (read_mpn_hex): Remove.
7071 (get_log2): Remove.
7072 (exp2_mpn): Use mp_log2.
7073 (main): Use mp_exp1.
7074
15c7c18d
JM
70752013-05-16 Joseph Myers <joseph@codesourcery.com>
7076
105a07df
JM
7077 * math/libm-test.inc: Remove comment about not testing "inexact"
7078 exceptions.
7079 (INEXACT_EXCEPTION): New macro.
7080 (NO_INEXACT_EXCEPTION): Likewise.
7081 (INVALID_EXCEPTION_OK): Update value.
7082 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7083 (OVERFLOW_EXCEPTION_OK): Likewise.
7084 (UNDERFLOW_EXCEPTION_OK): Likewise.
7085 (IGNORE_ZERO_INF_SIGN): Likewise.
7086 (ERRNO_UNCHANGED): Likewise.
7087 (ERRNO_EDOM): Likewise.
7088 (ERRNO_ERANGE): Likewise.
7089 (test_exceptions): Handle testing "inexact" exceptions.
7090 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7091 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7092 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7093 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7094 INEXACT_EXCEPTION.
7095 (rint_towardzero_test_data): Likewise.
7096 (rint_downward_test_data): Likewise.
7097 (rint_upward_test_data): Likewise.
7098
e9eee333
JM
7099 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7100 with OVERFLOW_EXCEPTION.
7101 (exp10_test_data): Likewise.
7102 (exp2_test_data): Likewise.
7103 (expm1_test_data): Likewise.
7104 (lgamma_test_data): Likewise.
7105 (pow_test_data): Likewise.
7106 (tgamma_test_data): Likewise.
7107 (yn_test_data): Remove duplicate test of overflow.
7108
1c38ff73
JM
7109 * math/libm-test.inc (struct test_cc_c_data): New type.
7110 (RUN_TEST_LOOP_cc_c): New macro.
7111 (cpow_test_data): New variable.
7112 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7113
15c7c18d
JM
7114 * math/libm-test.inc (struct test_f_L_data): New type.
7115 (RUN_TEST_LOOP_f_L): New macro.
7116 (llrint_test_data): New variable.
7117 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7118 (llrint_tonearest_test_data): New variable.
7119 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7120 (llrint_towardzero_test_data): New variable.
7121 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7122 (llrint_downward_test_data): New variable.
7123 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7124 (llrint_upward_test_data): New variable.
7125 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7126 (llround_test_data): New variable.
7127 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7128
f137ff13
PC
71292013-05-13 Peter Collingbourne <pcc@google.com>
7130
7131 * math/atest-exp2.c (get_log2): Remove const attribute.
7132
3608cb24
JM
71332013-05-15 Joseph Myers <joseph@codesourcery.com>
7134
7135 * math/libm-test.inc (struct test_f_l_data): New type.
7136 (RUN_TEST_LOOP_f_l): New macro.
7137 (lrint_test_data): New variable.
7138 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7139 (lrint_tonearest_test_data): New variable.
7140 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7141 (lrint_towardzero_test_data): New variable.
7142 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7143 (lrint_downward_test_data): New variable.
7144 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7145 (lrint_upward_test_data): New variable.
7146 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7147 (lround_test_data): New variable.
7148 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7149
39b1f617
PC
71502013-05-15 Peter Collingbourne <pcc@google.com>
7151
1deff3dc
PC
7152 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7153 (EXTRACT_WORDS64) Use where appropriate.
7154 (INSERT_WORDS64) Likewise.
7155
791f3ba0
PC
7156 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7157 constraints with x constraints.
7158 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7159
39b1f617
PC
7160 * malloc/obstack.c (_obstack_compat): Add initializer.
7161
12fba011
EM
71622013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
7163
7164 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7165 si_trapno and add si_addr_lsb to _sifields.sigfault.
7166 (si_trapno): Remove macro.
7167 (si_addr_lsb): Define new macro.
7168 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7169
d369f531
JM
71702013-05-15 Joseph Myers <joseph@codesourcery.com>
7171
b861c6c4
JM
7172 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7173 instead of TEST_f_l.
7174 (llrint_test_tonearest): Likewise.
7175 (llrint_test_towardzero): Likewise.
7176 (llrint_test_downward): Likewise.
7177 (llrint_test_upward): Likewise.
7178 (llround_test): Likewise.
7179
7abeee12
JM
7180 * math/libm-test.inc (struct test_f_i_data): Add comment.
7181 (RUN_TEST_LOOP_f_b): New macro.
7182 (RUN_TEST_LOOP_f_b_tg): Likewise.
7183 (finite_test_data): New variable.
7184 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7185 (isfinite_test_data): New variable.
7186 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7187 (isinf_test_data): New variable.
7188 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7189 (isnan_test_data): New variable.
7190 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7191 (isnormal_test_data): New variable.
7192 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7193 (issignaling_test_data): New variable.
7194 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7195 (signbit_test_data): New variable.
7196 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7197
cbe8c4d3
JM
7198 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7199 with INVALID_EXCEPTION.
7200 (acosh_test_data): Likewise.
7201 (asin_test_data): Likewise.
7202 (atanh_test_data): Likewise.
7203 (fmod_test_data): Likewise.
7204 (log_test_data): Likewise.
7205 (log10_test_data): Likewise.
7206 (log2_test_data): Likewise.
7207 (pow_test_data): Likewise.
7208 (sqrt_test_data): Likewise.
7209 (y0_test_data): Likewise.
7210 (y1_test_data): Likewise.
7211 (yn_test_data): Likewise.
7212
5575c0e5
JM
7213 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7214 function contents.
7215
d369f531
JM
7216 * math/libm-test.inc (struct test_ff_i_data): New type.
7217 (RUN_TEST_LOOP_ff_i_tg): New macro.
7218 (isgreater_test_data): New variable.
7219 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7220 (isgreaterequal_test_data): New variable.
7221 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7222 (isless_test_data): New variable.
7223 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7224 (islessequal_test_data): New variable.
7225 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7226 (islessgreater_test_data): New variable.
7227 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7228 (isunordered_test_data): New variable.
7229 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7230
781fd748
DM
72312013-05-14 David S. Miller <davem@davemloft.net>
7232
7233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7234
87aa21df
JM
72352013-05-14 Joseph Myers <joseph@codesourcery.com>
7236
5e908270
JM
7237 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7238
f71172e5
JM
7239 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7240 extra_test to int.
7241 (struct test_f_i_data): Change type of max_ulp to int.
7242
8cfa635a
JM
7243 * math/libm-test.inc (test_ffI_f1_data): New type.
7244 (RUN_TEST_LOOP_ffI_f1): New macro.
7245 (remquo_test_data): New variable.
7246 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7247
2bcb36b2
JM
7248 * setjmp/tst-setjmp-fp.c: New file.
7249 * setjmp/Makefile (tests): Add tst-setjmp-fp.
7250 (link-libm): New variable.
7251 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7252
acbd839a
JM
7253 * math/libm-test.inc (struct test_f_i_data): New type.
7254 (RUN_TEST_LOOP_f_i): New macro.
7255 (RUN_TEST_LOOP_f_i_tg): Likewise.
7256 (fpclassify_test_data): New variable.
7257 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7258 (ilogb_test_data): New variable.
7259 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7260
e414d745
JM
7261 * math/libm-test.inc (scalbln_test): Correct function name in END
7262 call.
7263
d9c2a0fd
JM
7264 * math/libm-test.inc (struct test_f_f1_data): Add comment.
7265 (RUN_TEST_LOOP_fI_f1): New macro.
7266 (frexp_test_data): New variable.
7267 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7268
9dc9095d
JM
7269 * math/libm-test.inc (struct test_fF_f1_data): New type.
7270 (RUN_TEST_LOOP_fF_f1): New macro.
7271 (modf_test_data): New variable.
7272 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7273
87aa21df
JM
7274 * math/libm-test.inc (struct test_f_f1_data): New type.
7275 (RUN_TEST_LOOP_f_f1): New macro.
7276 (gamma_test_data): New variable.
7277 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7278 (lgamma_test_data): New variable.
7279 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7280
141af660
CD
72812013-05-13 Carlos O'Donell <carlos@redhat.com>
7282
7283 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7284 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7285 (main): Comment "tls" pseudo-hwcap.
7286
6d33265c
JM
72872013-05-13 Joseph Myers <joseph@codesourcery.com>
7288
68fc074c
JM
7289 * math/libm-test.inc (struct test_fl_f_data): New type.
7290 (RUN_TEST_LOOP_fl_f): New variable.
7291 (scalbln_test_data): New variable.
7292 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7293
243216e1
JM
7294 * math/libm-test.inc (struct test_fi_f_data): New type.
7295 (RUN_TEST_LOOP_fi_f): New macro.
7296 (ldexp_test_data): New variable.
7297 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7298 (scalbn_test_data): New variable.
7299 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7300
6a1992e2
JM
7301 * math/libm-test.inc (struct test_c_f_data): New type.
7302 (RUN_TEST_LOOP_c_f): New macro.
7303 (cabs_test_data): New variable.
7304 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7305 (carg_test_data): New variable.
7306 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7307 (cimag_test_data): New variable.
7308 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7309 (creal_test_data): New variable.
7310 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7311
0e400df5
JM
7312 * math/libm-test.inc (struct test_if_f_data): New type.
7313 (RUN_TEST_LOOP_if_f): New macro.
7314 (jn_test_data): New variable.
7315 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7316 (yn_test_data): New variable.
7317 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7318
6d33265c
JM
7319 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7320
f98ece5f
AZ
73212013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7322
7323 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7324 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7325
0f7d347b
SP
73262013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7327
43fe811b
SP
7328 * benchtests/Makefile (CPPFLAGS-nonlib): Add
7329 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7330 (bench-deps): Add bench-timing.h.
7331 * benchtests-bench-skeleton.c: Include bench-timing.h.
7332 (main): Use TIMING_* macros instead of clock_gettime.
7333 * benchtests/bench-timing.h: New file.
7334
0f7d347b
SP
7335 [BZ #14582]
7336 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7337 Renamed from _LIB_VERSION.
7338 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7339
601a3a5f
JM
73402013-05-12 Joseph Myers <joseph@codesourcery.com>
7341
4f184d30
JM
7342 * math/libm-test.inc (struct test_fff_f_data): New type.
7343 (RUN_TEST_LOOP_fff_f): New macro.
7344 (fma_test_data): New variable.
7345 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7346 (fma_towardzero_test_data): New variable.
7347 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7348 (fma_downward_test_data): New variable.
7349 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7350 (fma_upward_test_data): New variable.
7351 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7352
08198877
JM
7353 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7354 (struct test_c_c_data): New type.
7355 (RUN_TEST_LOOP_c_c): New macro.
7356 (cacos_test_data): New variable.
7357 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7358 (cacosh_test_data): New variable.
7359 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7360 (casin_test_data): New variable.
7361 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7362 (casinh_test_data): New variable.
7363 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7364 (catan_test_data): New variable.
7365 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7366 (catanh_test_data): New variable.
7367 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7368 (ccos_test_data): New variable.
7369 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7370 (ccosh_test_data): New variable.
7371 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7372 (cexp_test_data): New variable.
7373 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7374 (clog_test_data): New variable.
7375 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7376 (clog10_test_data): New variable.
7377 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7378 (conj_test_data): New variable.
7379 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7380 (cproj_test_data): New variable.
7381 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7382 (csin_test_data): New variable.
7383 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7384 (csinh_test_data): New variable.
7385 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7386 (csqrt_test_data): New variable.
7387 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7388 (ctan_test_data): New variable.
7389 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7390 (ctan_tonearest_test_data): New variable.
7391 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7392 (ctan_towardzero_test_data): New variable.
7393 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7394 (ctan_downward_test_data): New variable.
7395 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7396 (ctan_upward_test_data): New variable.
7397 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7398 (ctanh_test_data): New variable.
7399 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
7400 (ctanh_tonearest_test_data): New variable.
7401 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7402 (ctanh_towardzero_test_data): New variable.
7403 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7404 (ctanh_downward_test_data): New variable.
7405 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7406 (ctanh_upward_test_data): New variable.
7407 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7408 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
7409 of BUILD_COMPLEX.
7410
601a3a5f
JM
7411 * math/libm-test.inc (struct test_ff_f_data): New type.
7412 (struct test_ff_f_data_nexttoward): Likewise.
7413 (RUN_TEST_LOOP_2_f): New macro.
7414 (RUN_TEST_LOOP_ff_f): Likewise.
7415 (atan2_test_data): New variable.
7416 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
7417 (copysign_test_data): New variable.
7418 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
7419 (fdim_test_data): New variable.
7420 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
7421 (fmax_test_data): New variable.
7422 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7423 (fmin_test_data): New variable.
7424 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7425 (fmod_test_data): New variable.
7426 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7427 (hypot_test_data): New variable.
7428 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7429 (nextafter_test_data): New variable.
7430 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7431 (nexttoward_test_data): New variable.
7432 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7433 (pow_test_data): New variable.
7434 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7435 (pow_tonearest_test_data): New variable.
7436 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7437 (pow_towardzero_test_data): New variable.
7438 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7439 (pow_downward_test_data): New variable.
7440 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7441 (pow_upward_test_data): New variable.
7442 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7443 (remainder_test_data): New variable.
7444 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7445 (scalb_test_data): New variable.
7446 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7447 * sysdeps/i386/fpu/libm-test-ulps: Update.
7448
74c57478
JM
74492013-05-11 Joseph Myers <joseph@codesourcery.com>
7450
8329e4da
JM
7451 * math/libm-test.inc (fma_test): Use max_value instead of local
7452 variable fltmax.
7453 (nextafter_test): Likewise.
7454
74c57478
JM
7455 * math/libm-test.inc (acos_towardzero_test_data): New variable.
7456 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7457 (acos_downward_test_data): New variable.
7458 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7459 (acos_upward_test_data): New variable.
7460 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7461 (acosh_test_data): New variable.
7462 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7463 (asin_test_data): New variable.
7464 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7465 (asin_tonearest_test_data): New variable.
7466 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7467 (asin_towardzero_test_data): New variable.
7468 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7469 (asin_downward_test_data): New variable.
7470 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7471 (asin_upward_test_data): New variable.
7472 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7473 (asinh_test_data): New variable.
7474 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7475 (atan_test_data): New variable.
7476 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7477 (atanh_test_data): New variable.
7478 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7479 (cbrt_test_data): New variable.
7480 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7481 (ceil_test_data): New variable.
7482 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7483 (cos_test_data): New variable.
7484 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7485 (cos_tonearest_test_data): New variable.
7486 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7487 (cos_towardzero_test_data): New variable.
7488 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7489 (cos_downward_test_data): New variable.
7490 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7491 (cos_upward_test_data): New variable.
7492 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7493 (cosh_test_data): New variable.
7494 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7495 (cosh_tonearest_test_data): New variable.
7496 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7497 (cosh_towardzero_test_data): New variable.
7498 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7499 (cosh_downward_test_data): New variable.
7500 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7501 (cosh_upward_test_data): New variable.
7502 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7503 (erf_test_data): New variable.
7504 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7505 (erfc_test_data): New variable.
7506 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7507 (exp_test_data): New variable.
7508 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7509 (exp_tonearest_test_data): New variable.
7510 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7511 (exp_towardzero_test_data): New variable.
7512 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7513 (exp_downward_test_data): New variable.
7514 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7515 (exp_upward_test_data): New variable.
7516 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7517 (exp10_test_data): New variable.
7518 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7519 (exp2_test_data): New variable.
7520 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7521 (expm1_test_data): New variable.
7522 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7523 (fabs_test_data): New variable.
7524 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7525 (floor_test_data): New variable.
7526 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7527 (j0_test_data): New variable.
7528 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7529 (j1_test_data): New variable.
7530 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7531 (log_test_data): New variable.
7532 (log_test): Run tests with RUN_TEST_LOOP_f_f.
7533 (log10_test_data): New variable.
7534 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7535 (log1p_test_data): New variable.
7536 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7537 (log2_test_data): New variable.
7538 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7539 (logb_test_data): New variable.
7540 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7541 (logb_downward_test_data): New variable.
7542 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7543 (nearbyint_test_data): New variable.
7544 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7545 (rint_test_data): New variable.
7546 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7547 (rint_tonearest_test_data): New variable.
7548 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7549 (rint_towardzero_test_data): New variable.
7550 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7551 (rint_downward_test_data): New variable.
7552 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7553 (rint_upward_test_data): New variable.
7554 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7555 (round_test_data): New variable.
7556 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7557 (sin_test_data): New variable.
7558 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7559 (sin_tonearest_test_data): New variable.
7560 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7561 (sin_towardzero_test_data): New variable.
7562 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7563 (sin_downward_test_data): New variable.
7564 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7565 (sin_upward_test_data): New variable.
7566 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7567 (sinh_test_data): New variable.
7568 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7569 (sinh_tonearest_test_data): New variable.
7570 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7571 (sinh_towardzero_test_data): New variable.
7572 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7573 (sinh_downward_test_data): New variable.
7574 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7575 (sinh_upward_test_data): New variable.
7576 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7577 (sqrt_test_data): New variable.
7578 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7579 (tan_test_data): New variable.
7580 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7581 (tan_tonearest_test_data): New variable.
7582 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7583 (tan_towardzero_test_data): New variable.
7584 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7585 (tan_downward_test_data): New variable.
7586 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7587 (tan_upward_test_data): New variable.
7588 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7589 (tanh_test_data): New variable.
7590 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7591 (tgamma_test_data): New variable.
7592 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7593 (trunc_test_data): New variable.
7594 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7595 (y0_test_data): New variable.
7596 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7597 (y1_test_data): New variable.
7598 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7599 (significand_test_data): New variable.
7600 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7601
7187d844
CG
76022013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7603
7604 [BZ #12387]
7605 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7606
f63fae73
PT
76072013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7608
7609 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7610
8a67a4b3
AJ
76112013-05-10 Andreas Jaeger <aj@suse.de>
7612
7613 [BZ #15448]
7614 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7615 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7616
51df539d
JM
76172013-05-10 Joseph Myers <joseph@codesourcery.com>
7618
7619 * math/gen-libm-test.pl (adjust_arg): New function.
7620 (special_functions): Handle generating output in both functions
7621 and arrays.
7622 (parse_args): Likewise.
7623 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7624 $in_func argument to parse_args.
7625 * math/libm-test.inc (struct test_f_f_data): New type.
7626 (IF_ROUND_INIT_): New macro.
7627 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7628 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7629 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7630 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7631 (ROUND_RESTORE_): Likewise.
7632 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7633 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7634 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7635 (ROUND_RESTORE_FE_UPWARD): Likewise.
7636 (RUN_TEST_LOOP_f_f): New macro.
7637 (acos_test_data): New variable.
7638 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7639 (acos_tonearest_test_data): New variable.
7640 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7641
5c637fe5
SP
76422013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7643
7644 * benchtests/bench-skeleton.c (startup): Fix coding style.
7645
ab2b9461
JM
76462013-05-10 Joseph Myers <joseph@codesourcery.com>
7647
7648 [BZ #6809]
7649 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7650 negative infinity argument.
7651 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7652 negative infinity argument.
7653 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7654 negative infinity argument.
7655 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7656 domain errors.
7657
4c0fe6fe
FW
76582013-05-10 Florian Weimer <fweimer@redhat.com>
7659
7660 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7661 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7662 * iconv/iconv_prog.c (main): Likewise.
7663 * locale/programs/charmap-dir.c (charmap_readdir)
7664 (fopen_uncompressed): Likewise.
7665 * locale/programs/locfile.c (siblings_uncached)
7666 (write_locale_data): Use lstat64 instead of lstat.
7667 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7668 stat.
7669
a3375d29
AJ
76702013-05-10 Andreas Jaeger <aj@suse.de>
7671
7672 [BZ #15395]
7673 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7674 localization.
7675 Include <locale.h>.
7676
36129722
CD
76772013-05-09 Carlos O'Donell <carlos@redhat.com>
7678
7679 * elf/dl-close.c (_dl_close_worker): Add comments.
7680
faa7f811
JM
76812013-05-09 Joseph Myers <joseph@codesourcery.com>
7682
ed41ffef
JM
7683 [BZ #15359]
7684 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7685 high part of pi/2.
7686 (__ieee754_rem_pio2l): Update comments.
7687
d0213cd0
JM
7688 [BZ #15429]
7689 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7690 high part of pi/2.
7691 (__ieee754_rem_pio2l): Update comments.
7692
0d3e777a
JM
7693 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7694 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7695
24f56066
JM
7696 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7697 M_PI_4l.
7698
faa7f811
JM
7699 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7700 (M_PI_34_LOG10El): Likewise.
7701 (M_PI2_LOG10El): Likewise.
7702 (M_PI4_LOG10El): Likewise.
7703 (M_PI_LOG10El): Likewise.
7704
e9a5e0fd
AZ
77052013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7706
7707 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7708
d8cd06db
JM
77092013-05-08 Joseph Myers <joseph@codesourcery.com>
7710
a0d9f9d7
JM
7711 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7712 (MINUS_ZERO_INIT): Likewise.
7713 (PLUS_INFTY_INIT): Likewise.
7714 (MINUS_INFTY_INIT): Likewise.
7715 (QNAN_VALUE_INIT): Likewise.
7716 (MAX_VALUE_INIT): Likewise.
7717 (MIN_VALUE_INIT): Likewise.
7718 (MIN_SUBNORM_VALUE_INIT): Likewise.
7719 (plus_zero): Initialize with PLUS_ZERO_INIT.
7720 (minus_zero): Initialize with MINUS_ZERO_INIT.
7721 (plus_infty): Initialize with PLUS_INFTY_INIT.
7722 (minus_infty): Initialize with MINUS_INFTY_INIT.
7723 (qnan_value): Initialize with QNAN_VALUE_INIT.
7724 (max_value): Initialize with MAX_VALUE_INIT.
7725 (min_value): Initialize with MIN_VALUE_INIT.
7726 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7727
ae08db3b
JM
7728 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7729 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7730 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7731 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7732
f44bf14a
JM
7733 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7734 (RUN_TEST_2_f): Likewise.
7735 (RUN_TEST_ff_f): Likewise.
7736 (RUN_TEST_fi_f): Likewise.
7737 (RUN_TEST_fl_f): Likewise.
7738 (RUN_TEST_fff_f): Likewise.
7739 (RUN_TEST_c_f): Likewise.
7740 (RUN_TEST_f_f1): Likewise.
7741 (RUN_TEST_fF_f1): Likewise.
7742 (RUN_TEST_fI_f1): Likewise.
7743 (RUN_TEST_ffI_f1): Likewise.
7744 (RUN_TEST_c_c): Likewise.
7745 (RUN_TEST_cc_c): Likewise.
7746 (RUN_TEST_f_i): Likewise.
7747 (RUN_TEST_f_i_tg): Likewise.
7748 (RUN_TEST_ff_i_tg): Likewise.
7749 (RUN_TEST_f_b): Likewise.
7750 (RUN_TEST_f_b_tg): Likewise.
7751 (RUN_TEST_f_l): Likewise.
7752 (RUN_TEST_f_L): Likewise.
7753 (RUN_TEST_sincos): Likewise.
7754 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7755 whether to show exceptions. Do not include ");\n" in return
7756 value.
7757 (special_functions): Output call to RUN_TEST_sincos instead of
7758 check_float calls. Update calls to new_test.
7759 (parse_args): Output call to single RUN_TEST_* macro instead of
7760 check_* calls and other assignments. Update calls to new_test.
7761
d8cd06db
JM
7762 [BZ #2546]
7763 [BZ #2560]
7764 [BZ #5159]
7765 [BZ #15426]
7766 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7767 input to result for tgamma overflow.
7768 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7769 (gamma_coeff): New variable.
7770 (NCOEFF): New macro.
7771 (gamma_positive): New function.
7772 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7773 underflow here. Use gamma_positive instead of exp (lgamma) for
7774 other arguments.
7775 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7776 (gamma_coeff): New variable.
7777 (NCOEFF): New macro.
7778 (gammaf_positive): New function.
7779 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7780 underflow here. Use gamma_positive instead of exp (lgamma) for
7781 other arguments.
7782 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7783 (gamma_coeff): New variable.
7784 (NCOEFF): New macro.
7785 (gammal_positive): New function.
7786 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7787 underflow here. Use gamma_positive instead of exp (lgamma) for
7788 other arguments.
7789 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7790 (gamma_coeff): New variable.
7791 (NCOEFF): New macro.
7792 (gammal_positive): New function.
7793 (__ieee754_gammal_r): Handle positive infinity, overflow and
7794 underflow here. Handle NaN the same as positive infinity. Remove
7795 check x < 0xffffffff for negative integers. Use gamma_positive
7796 instead of exp (lgamma) for other arguments.
7797 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7798 (gamma_coeff): New variable.
7799 (NCOEFF): New macro.
7800 (gammal_positive): New function.
7801 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7802 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7803 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7804 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7805 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7806 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7807 * sysdeps/generic/math_private.h (__gamma_productf): New
7808 prototype.
7809 (__gamma_product): Likewise.
7810 (__gamma_productl): Likewise.
7811 * math/Makefile (libm-calls): Add gamma_product.
7812 * math/libm-test.inc (tgamma_test): Add more tests.
7813 * sysdeps/i386/fpu/libm-test-ulps: Update.
7814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7815
bb7cf681
OB
78162013-05-08 Ondřej Bílka <neleai@seznam.cz>
7817
7818 * benchtests/bench-skeleton.c (main): Preheat CPU.
7819
ba853947
AJ
78202013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7821
7822 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7823
8347c74c
RM
78242013-05-07 Roland McGrath <roland@hack.frob.com>
7825
7826 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7827 and _dl_skip_args_internal.
7828
e8dd4791
CD
78292013-05-07 Carlos O'Donell <carlos@redhat.com>
7830
7831 * manual/message.texi (Message Translation): Talk about users.
7832 Message to key mapping impacts design.
7833
c7405830
RM
78342013-05-06 Roland McGrath <roland@hack.frob.com>
7835
a9173057
RM
7836 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7837
976e2f03
RM
7838 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7839
9723ffc5
RM
7840 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7841 * sysdeps/wordsize-64/glob64.c: ... here.
7842
962e6658
RM
7843 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7844 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7845 New macros.
7846
ee586a6d
RM
7847 * debug/getlogin_r_chk.c: Moved to ...
7848 * login/getlogin_r_chk.c: ... here.
7849 * debug/Makefile (routines): Move getlogin_r_chk to ...
7850 * login/Makefile (routines): ... here.
7851 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7852 * login/Versions (libc: GLIBC_2.4): ... here.
7853
355f9165
RM
7854 * io/poll.c (__poll): Renamed from poll.
7855 Add libc_hidden_def.
7856 (poll): Define as weak alias.
7857
bd9ffde6
RM
7858 * debug/ptsname_r_chk.c: Moved to ...
7859 * login/ptsname_r_chk.c: ... here.
7860 * debug/Makefile (routines): Move ptsname_r_chk to ...
7861 * login/Makefile (routines): ... here.
7862 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7863 * login/Versions (libc: GLIBC_2.4): ... here.
7864
8fb16a04
RM
7865 * posix/getlogin.c: Moved to ...
7866 * login/getlogin.c: ... here.
7867 * posix/getlogin_r.c: Moved to ...
7868 * login/getlogin_r.c: ... here.
7869 * posix/getlogin_r.c: Moved to ...
7870 * login/getlogin_r.c: ... here.
7871 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7872 * login/Makefile (routines): ... here.
7873 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7874 * login/Versions (libc: GLIBC_2.0): ... here.
7875
b99b892f
RM
7876 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7877 (setrlimit): Define as weak alias.
7878
c7405830
RM
7879 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7880 Call __ names for open, ftruncate, and close.
7881 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7882 (truncate): Define as weak alias.
7883
5bf96de5
JM
78842013-05-06 Joseph Myers <joseph@codesourcery.com>
7885
9ea3513c
JM
7886 * math/gen-libm-test.pl (parse_args): Initialize x before each
7887 test of frexp, modf and remquo.
7888
5bf96de5
JM
7889 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7890 test signgam value.
7891
16e616a7
AZ
78922013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7893
7894 [BZ #15418]
7895 [BZ #15419]
7896 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7897 internal tests.
7898 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7899
d5e82754
RM
79002013-05-06 Roland McGrath <roland@hack.frob.com>
7901
7902 * elf/dl-writev.h: New file.
7903 * elf/dl-misc.c: Include it.
7904 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7905 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7906
a7548d41
JM
79072013-05-04 Joseph Myers <joseph@codesourcery.com>
7908
b7dab1e4
JM
7909 * math/libm-test.inc (noXFails): Remove variable.
7910 (noXPasses): Likewise.
7911 (BUILD_COMPLEX_INT): Remove macro.
7912 (print_screen): Remove xfail argument.
7913 (print_screen_max_error): Likewise.
7914 (update_stats): Likewise.
7915 (print_max_error): Likewise. Update calls to other affected
7916 functions.
7917 (print_complex_max_error): Likewise.
7918 (test_single_exception): Update calls to print_screen.
7919 (test_single_errno): Likewise.
7920 (check_float_internal): Remove xfail argument. Update calls to
7921 other affected functions.
7922 (check_float): Likewise.
7923 (check_complex): Likewise.
7924 (check_int): Likewise.
7925 (check_long): Likewise.
7926 (check_bool): Likewise.
7927 (check_longlong): Likewise.
7928 (main): Don't print noXFails and noXPasses.
7929 * math/gen-libm-test.pl (top level): Don't mention expected
7930 failure handling in comment.
7931 (new_test): Don't handle expected failures.
7932 (parse_args): Don't mention expected failure handling in comment.
7933 (generate_testfile): Don't handle expected failures.
7934 (parse_ulps): Likewise.
7935 (print_ulps_file): Likewise.
7936 (get_failure): Remove function.
7937 (output_test): Don't handle expected failures.
7938 * make/README.libm-test: Don't mention expected failure handling.
7939
a7548d41
JM
7940 * math/libm-test.inc (plus_zero): Make const. Add initializer.
7941 (minus_zero): Likewise.
7942 (plus_infty): Likewise.
7943 (minus_infty): Likewise.
7944 (qnan_value): Likewise.
7945 (max_value): Likewise.
7946 (min_value): Likewise.
7947 (min_subnorm_value): Likewise.
7948 (initialize): Do not initialize those variables dynamically.
7949
60bfd54c
RM
79502013-05-03 Roland McGrath <roland@hack.frob.com>
7951
cc0e6ed8
RM
7952 * io/open.c (__open_2): Moved to ...
7953 * io/open_2.c: ... this new file.
7954 * io/open64.c (__open64_2): Moved to ...
7955 * io/open64_2.c: ... this new file.
7956 * io/openat.c (__openat_2): Moved to ...
7957 * io/openat_2.c: ... this new file.
7958 * io/openat64.c (__openat64_2): Moved to ...
7959 * io/openat64_2.c: ... this new file.
7960 * io/Makefile (routines): Add them.
7961 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7962 * sysdeps/unix/sysv/linux/open_2.c: File removed.
7963 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
7964 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
7965 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
7966 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
7967 (__openat64): Add hidden_ver.
7968 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
7969 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
7970
60bfd54c
RM
7971 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
7972 Separately conditionalize setting of GLRO(dl_sysinfo) so
7973 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
7974 as well, but the actual setting is only under [NEED_DL_SYSINFO].
7975
83e7640f
AZ
79762013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7977
7978 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
7979 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
7980 definition.
7981 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
7982 * sysdeps/unix/sysv/linux/powerpc/init-first.c
7983 (_libc_vdso_platform_setup): Add __vdso_time initialization.
7984 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
7985 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
7986
d5dc2af3
JM
79872013-05-03 Joseph Myers <joseph@codesourcery.com>
7988
c31a5b1e
JM
7989 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
7990 test signgam value.
7991
d5dc2af3
JM
7992 * math/libm-test.inc (hypot_test): Do not use
7993 IGNORE_ZERO_INF_SIGN.
7994
164fd39d
AJ
79952013-05-03 Andreas Jaeger <aj@suse.de>
7996
7997 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
7998 Linux 3.9.
7999 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8000 (PF_MAX): Adjust for VSOCK change.
8001
8237f48c
AZ
80022013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8003
8004 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8005
9df02941
CD
80062013-05-02 Carlos O'Donell <carlos@redhat.com>
8007
8008 [BZ #15264]
8009 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8010 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8011 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8012
d422395e
DM
80132013-05-02 David S. Miller <davem@davemloft.net>
8014
8015 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8016
a07c5731
OB
80172013-05-01 Ondřej Bílka <neleai@seznam.cz>
8018
8019 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8020
1324e37f
RM
80212013-05-01 Roland McGrath <roland@hack.frob.com>
8022
8023 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8024
0695940b
RS
80252013-05-01 Richard Smith <richard@metafoo.co.uk>
8026
bb5f27ad 8027 [BZ #14952]
0695940b
RS
8028 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8029 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8030 Use __attribute__ ((__gnu_inline__)).
8031 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8032 Don't use __attribute__ ((__gnu_inline__)).
8033
10de07f5
JM
80342013-05-01 Joseph Myers <joseph@codesourcery.com>
8035
8036 [BZ #15423]
8037 * math/s_catan.c (__catan): Handle small real or imaginary part of
8038 input specially to avoid spurious underflow.
8039 * math/s_catanf.c (__catanf): Likewise.
8040 * math/s_catanh.c (__catanh): Likewise.
8041 * math/s_catanhf.c (__catanhf): Likewise.
8042 * math/s_catanhl.c (__catanhl): Likewise.
8043 * math/s_catanl.c (__catanl): Likewise.
8044 * math/libm-test.inc (catan_test): Add more tests.
8045 (catanh_test): Likewise.
8046 * sysdeps/i386/fpu/libm-test-ulps: Update.
8047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8048
cb4d5414
AZ
80492013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8050
8051 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8052
caf84319
JM
80532013-04-30 Joseph Myers <joseph@codesourcery.com>
8054
8055 [BZ #15416]
8056 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8057 accurately for denominator in atan2.
8058 * math/s_catanf.c (__catanf): Likewise.
8059 * math/s_catanh.c (__catanh): Likewise.
8060 * math/s_catanhf.c (__catanhf): Likewise.
8061 * math/s_catanhl.c (__catanhl): Likewise.
8062 * math/s_catanl.c (__catanl): Likewise.
8063 * math/libm-test.inc (catan_test): Add more tests.
8064 (catanh_test): Likewise.
8065 * sysdeps/i386/fpu/libm-test-ulps: Update.
8066 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8067
d569c6ee
SP
80682013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8069
6dbe713d
SP
8070 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8071
f0ee064b
SP
8072 * benchtests/Makefile (bench): Remove slow benchmarks.
8073 * benchtests/atan-inputs: Add slow benchmark inputs.
8074 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8075 (BENCH_FUNC): Accept variant offset.
8076 (VARIANT): Define.
8077 * benchtests/bench-skeleton.c (main): Run benchmark for each
8078 variant.
8079 * benchtests/cos-inputs: Add slow benchmark inputs.
8080 * benchtests/exp-inputs: Likewise.
8081 * benchtests/pow-inputs: Likewise.
8082 * benchtests/sin-inputs: Likewise.
8083 * benchtests/slowatan-inputs: Remove.
8084 * benchtests/slowatan.c: Remove.
8085 * benchtests/slowcos-inputs: Remove.
8086 * benchtests/slowcos.c: Remove.
8087 * benchtests/slowexp-inputs: Remove.
8088 * benchtests/slowexp.c: Remove.
8089 * benchtests/slowpow-inputs: Remove.
8090 * benchtests/slowpow.c: Remove.
8091 * benchtests/slowsin-inputs: Remove.
8092 * benchtests/slowsin.c: Remove.
8093 * benchtests/slowtan-inputs: Remove.
8094 * benchtests/slowtan.c: Remove.
8095 * benchtests/tan-inputs: Add slow benchmark inputs.
8096 * scripts/bench.pl: Parse comments and directives.
8097
d569c6ee
SP
8098 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
8099 in CPPFLAGS.
8100 ($(objpfx)bench-%.c): Remove *-ITER.
8101 * benchtests/bench-modf.c: Remove definition of ITER.
8102 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8103 (main): Loop for DURATION seconds instead of fixed number of
8104 iterations.
8105 * scripts/bench.pl: Don't expect iterations in parameters.
8106
a6a242fe
RM
81072013-04-29 Roland McGrath <roland@hack.frob.com>
8108
8109 * io/fchdir.c (__fchdir): Renamed from fchdir.
8110 (fchdir): Define as weak alias.
8111
f2da7793
JM
81122013-04-29 Joseph Myers <joseph@codesourcery.com>
8113
8114 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8115 (ERRNO_EDOM): Likewise.
8116 (ERRNO_ERANGE): Likewise.
8117 (noErrnoTests): New variable.
8118 (init_max_error): Set errno to 0.
8119 (test_single_errno): New function.
8120 (test_errno): Likewise.
8121 (check_float_internal): Call test_errno. Set errno to 0.
8122 (check_complex): Refer to errno tests in comment.
8123 (check_int): Call test_errno. Set errno to 0.
8124 (check_long): Likewise.
8125 (check_bool): Likewise.
8126 (check_longlong): Likewise.
8127 (cos_test): Use ERRNO_* flags for errno tests instead of
8128 check_int.
8129 (expm1_test): Likewise.
8130 (fmod_test): Likewise.
8131 (ilogb_test): Likewise.
8132 (lgamma_test): Likewise.
8133 (pow_test): Likewise.
8134 (remainder_test): Likewise.
8135 (sin_test): Likewise.
8136 (tan_test): Likewise.
8137 (yn_test): Likewise.
8138 (initialize): Set errno to 0.
8139 (main): Print number of errno tests.
8140 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8141
b1a36ceb
AJ
81422013-04-29 Andreas Jaeger <aj@suse.de>
8143
c3ed8088
AJ
8144 [BZ #15084]
8145 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8146 and RES_USEVC.
8147
f1a24198
AJ
8148 [BZ #15085]
8149 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8150 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8151 unimplemented.
8152
9ce3b2cb
AJ
8153 [BZ #15380]
8154 * stdlib/random.c (__initstate): Return NULL if
8155 __initstate fails.
8156
f1a24198 8157 [BZ #15086]
b1a36ceb
AJ
8158 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8159 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8160 RES_SNGLKUPREOP.
8161
7e7b6f36
AZ
81622013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8163
8164 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8165
4d14f449
JM
81662013-04-29 Joseph Myers <joseph@codesourcery.com>
8167
8168 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8169 of individual tests.
8170 (casin_test): Likewise.
8171 (casinh_test): Likewise.
8172
5b4217d7
JM
81732013-04-27 Joseph Myers <joseph@codesourcery.com>
8174
8175 [BZ #15409]
8176 * math/s_catan.c (__catan): Handle arguments with large real or
8177 imaginary part separately without squaring.
8178 * math/s_catanf.c (__catanf): Likewise.
8179 * math/s_catanh.c (__catanh): Likewise.
8180 * math/s_catanhf.c (__catanhf): Likewise.
8181 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8182 and redefine.
8183 (__catanhl): Handle arguments with large real or imaginary part
8184 separately without squaring.
8185 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8186 and redefine.
8187 (__catanl): Handle arguments with large real or imaginary part
8188 separately without squaring.
8189 * math/libm-test.inc (catan_test): Add more tests.
8190 (catanh_test): Likewise.
8191 * sysdeps/i386/fpu/libm-test-ulps: Update.
8192 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8193
4220c3ef
AJ
81942013-04-27 Andreas Jaeger <aj@suse.de>
8195
8196 [BZ #15007]
8197 * stdlib/stdlib.h: Update guards for qecvt.
8198 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8199 <stdlib.h>.
8200
4721b2d1
AM
82012013-04-27 Allan McRae <allan@archlinux.org>
8202
8203 * sysdeps/i386/fpu/libm-test-ulps: Update.
8204
f0302940
JM
82052013-04-26 Joseph Myers <joseph@codesourcery.com>
8206
9457fd95
JM
8207 [BZ #15406]
8208 * math/s_catan.c: Include <float.h>.
8209 (__catan): Ensure underflow exception occurs for underflowed
8210 result.
8211 * math/s_catanf.c: Include <float.h>.
8212 (__catanf): Ensure underflow exception occurs for underflowed
8213 result.
8214 * math/s_catanh.c: Include <float.h>.
8215 (__catanh): Ensure underflow exception occurs for underflowed
8216 result.
8217 * math/s_catanhf.c: Include <float.h>.
8218 (__catanhf): Ensure underflow exception occurs for underflowed
8219 result.
8220 * math/s_catanhl.c: Include <float.h>.
8221 (__catanhl): Ensure underflow exception occurs for underflowed
8222 result.
8223 * math/s_catanl.c: Include <float.h>.
8224 (__catanl): Ensure underflow exception occurs for underflowed
8225 result.
8226 * math/libm-test.inc (catan_test): Add more tests.
8227 (catanh_test): Likewise.
8228
f0302940
JM
8229 [BZ #15405]
8230 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8231 underflowed result.
8232 * math/s_ccoshf.c (__ccoshf): Likewise.
8233 * math/s_ccoshl.c (__ccoshl): Likewise.
8234 * math/s_csin.c (__csin): Likewise.
8235 * math/s_csinf.c (__csinf): Likewise.
8236 * math/s_csinh.c (__csinh): Likewise.
8237 * math/s_csinhf.c (__csinhf): Likewise.
8238 * math/s_csinhl.c (__csinhl): Likewise.
8239 * math/s_csinl.c (__csinl): Likewise.
8240 * math/libm-test.inc (ccos_test): Add more tests.
8241 (ccosh_test): Likewise.
8242 (csin_test): Likewise.
8243 (csinh_test): Likewise.
8244
aa630f59
AZ
82452013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8246
8247 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8248 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8249 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8250 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8251 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8252 powerpc/power5+/fpu folders.
8253 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8254
8255
1b835983
MT
82562013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8257
8258 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8259
73709b26
JM
82602013-04-25 Joseph Myers <joseph@codesourcery.com>
8261
8262 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8263 additions to variable.
8264 [$(config-machine) = x86_64] (modules-names): Likewise.
8265 ($(objpfx)tst-audit3): Remove dependency.
8266 ($(objpfx)tst-audit3.out): Likewise.
8267 ($(objpfx)tst-audit4): Likewise.
8268 ($(objpfx)tst-audit4.out): Likewise.
8269 ($(objpfx)tst-audit5): Likewise.
8270 ($(objpfx)tst-audit5.out): Likewise.
8271 ($(objpfx)tst-audit6): Likewise.
8272 ($(objpfx)tst-audit6.out): Likewise.
8273 ($(objpfx)tst-audit7): Likewise.
8274 ($(objpfx)tst-audit7.out): Likewise.
8275 (tst-audit3-ENV): Remove variable.
8276 (tst-audit4-ENV): Likewise.
8277 (tst-audit5-ENV): Likewise.
8278 (tst-audit6-ENV): Likewise.
8279 (tst-audit7-ENV): Likewise.
8280 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8281 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8282 addition to variable.
8283 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8284 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8285 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8286 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8287 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8288 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8289 tst-audit3, tst-audit4 and tst-audit5.
8290 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8291 tst-audit6 and tst-audit7.
8292 [$(subdir) = elf] (modules-names): Add audit modules for those
8293 tests.
8294 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8295 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8296 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8297 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8298 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8299 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8300 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8301 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8302 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8303 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8304 [$(subdir) = elf] (tst-audit3-ENV): New variable.
8305 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8306 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8307 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8308 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8309 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8310 Likewise.
8311 [$(subdir) = elf && $(config-cflags-avx) = yes]
8312 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8313 [$(subdir) = elf && $(config-cflags-avx) = yes]
8314 (CFLAGS-tst-auditmod4a.c): Likewise.
8315 [$(subdir) = elf && $(config-cflags-avx) = yes]
8316 (CFLAGS-tst-auditmod4b.c): Likewise.
8317 [$(subdir) = elf && $(config-cflags-avx) = yes]
8318 (CFLAGS-tst-auditmod6b.c): Likewise.
8319 [$(subdir) = elf && $(config-cflags-avx) = yes]
8320 (CFLAGS-tst-auditmod6c.c): Likewise.
8321 [$(subdir) = elf && $(config-cflags-avx) = yes]
8322 (CFLAGS-tst-auditmod7b.c): Likewise.
8323 * elf/tst-audit3.c: Move to ...
8324 * sysdeps/x86_64/tst-audit3.c: ... here.
8325 * elf/tst-audit4.c: Move to ...
8326 * sysdeps/x86_64/tst-audit4.c: ... here.
8327 * elf/tst-audit5.c: Move to ...
8328 * sysdeps/x86_64/tst-audit5.c: ... here.
8329 * elf/tst-audit6.c: Move to ...
8330 * sysdeps/x86_64/tst-audit6.c: ... here.
8331 * elf/tst-audit7.c: Move to ...
8332 * sysdeps/x86_64/tst-audit7.c: ... here.
8333 * elf/tst-auditmod3a.c: Move to ...
8334 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8335 * elf/tst-auditmod3b.c: Move to ...
8336 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8337 * elf/tst-auditmod4a.c: Move to ...
8338 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8339 * elf/tst-auditmod4b.c: Move to ...
8340 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8341 * elf/tst-auditmod5a.c: Move to ...
8342 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8343 * elf/tst-auditmod5b.c: Move to ...
8344 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8345 * elf/tst-auditmod6a.c: Move to ...
8346 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8347 * elf/tst-auditmod6b.c: Move to ...
8348 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8349 * elf/tst-auditmod6c.c: Move to ...
8350 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8351 * elf/tst-auditmod7a.c: Move to ...
8352 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8353 * elf/tst-auditmod7b.c: Move to ...
8354 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8355
1ef74943
PP
83562013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8357
8358 [BZ #15366]
8359 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8360 define unconditionally.
8361 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8362 define unconditionally.
8363 (INT8_C, INT16_C, etc.): Likewise.
8364
93fd48c5
MR
83652013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
8366
ae9552cf
MR
8367 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8368 __ehdr_start with hidden visibility.
8369
93fd48c5
MR
8370 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8371
418601aa
CD
83722013-04-24 Carlos O'Donell <carlos@redhat.com>
8373
8374 * math/libm-test.inc (cos_test): Use accurate hex constants.
8375 (sincost_test): Likewise.
8376
2f38fbfe
JM
83772013-04-24 Joseph Myers <joseph@codesourcery.com>
8378
5e221800
JM
8379 * math/libm-test.inc (catan_test): Add more tests.
8380 (catanh_test): Likewise.
8381
77f143fd
JM
8382 * math/s_catanf.c (__catanf): Use suffixed floating-point
8383 constants.
8384 * math/s_catanhf.c (__catanhf): Likewise.
8385 * math/s_catanhl.c (__catanhl): Likewise.
8386 * math/s_catanl.c (__catanl): Likewise.
8387
2f38fbfe
JM
8388 [BZ #15394]
8389 * math/s_catan.c (__catan): Calculate imaginary part of result
8390 with log1p not log unless computing log of number close to 0.
8391 * math/s_catanf.c (__catanf): Likewise.
8392 * math/s_catanl.c (__catanl): Likewise.
8393 * math/s_catanh.c (__catanh): Calculate real part of result with
8394 log1p not log unless computing log of number close to 0.
8395 * math/s_catanhf.c (__catanhf): Likewise.
8396 * math/s_catanhl.c (__catanhl): Likewise.
8397 * math/libm-test.inc (catan_test): Add more tests.
8398 (catanh_test): Likewise.
8399 * sysdeps/i386/fpu/libm-test-ulps: Update.
8400 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8401
45d69176
SP
84022013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8403
8404 * benchtests/Makefile: Mention files in which fast and slow
8405 paths of math functions are implemented.
8406
87f51853
RM
84072013-04-23 Roland McGrath <roland@hack.frob.com>
8408
8409 * sysdeps/posix/timespec_get.c: New file.
8410
3c026539
AZ
84112013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8412
8413 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8414 POWER.
8415 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
8416 for POWER.
8417 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8418 powerpc/power5/fpu folders.
8419 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
8420 * benchtests/Makefile: Add modf testcase.
8421 * benchtests/bench-modf.c: New file: Benchmark test for mo
8422
ff491d14
SP
84232013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8424
8425 [BZ #14888]
8426 * time/Makefile (tests): Add tst-strptime-whitespace.
8427 * time/strptime_l.c (get_number): Use ISSPACE.
8428 (__strptime_internal): Likewise.
8429 * time/tst-strptime-whitespace.c: New test case.
8430
7ed3f4e8
AS
84312013-04-23 Andreas Schwab <schwab@linux-m68k.org>
8432
8433 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8434 member.
8435 (_nss_files_init): Set it here.
8436
5c95f7b6
HC
84372013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
8438
8439 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8440 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8441 unsigned.
8442
d34c9158
JBG
84432013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
8444
8445 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8446
2169712d
SP
84472013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8448
8449 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8450 size just once.
8451
29c5de99
DM
84522013-04-21 David S. Miller <davem@davemloft.net>
8453
8454 * po/ru.po: Update Russion translation from translation project.
8455
ccdad15d
AC
84562013-04-17 Adam Conrad <adconrad@0c3.net>
8457
8458 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8459 and setfsgid.
8460
0f122b8d
CD
84612013-04-17 Carlos O'Donell <carlos@redhat.com>
8462
5c5b07da 8463 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 8464 * configure: Regenerate.
5c5b07da 8465 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
8466 Add example to error message.
8467 * sysdeps/i386/configure: Regenerate.
8468
037714dd
SP
84692013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8470
8471 * benchtests/Makefile (bench): Add cos, tan, slowcos and
8472 slowtan.
8473 * benchtests/cos-inputs: New file.
8474 * benchtests/slowcos-inputs: New file.
8475 * benchtests/slowcos.c: New file.
8476 * benchtests/slowtan-inputs: New file.
8477 * benchtests/slowtan.c: New file.
8478 * benchtests/tan-inputs: New file.
8479
e913141d
RM
84802013-04-16 Roland McGrath <roland@hack.frob.com>
8481
8482 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8483 considered kosher.
8484
a2964074
SP
84852013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8486
4856bcd2
SP
8487 * benchtests/Makefile: Include cppflags-iterator.mk to add
8488 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8489
a2964074
SP
8490 * Makefile.in (bench-clean): New target.
8491 * benchtests/Makefile (bench-clean): Likewise.
8492
9fbf9aca
DH
84932013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
8494
8495 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8496
207d1e2a
TS
84972013-04-15 Thomas Schwinge <thomas@codesourcery.com>
8498
8499 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8500
306dfba9
AS
85012013-04-15 Andreas Schwab <schwab@suse.de>
8502
8503 * nscd/grpcache.c (cache_addgr): Properly check for short write.
8504 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8505 * nscd/pwdcache.c (cache_addpw): Likewise.
8506 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
8507 more than recsize.
8508
206a6699
SP
85092013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8510
8511 * benchtests/Makefile (bench): Write all output to
8512 bench-out.tmp together.
8513
0582f6b3
AS
85142013-04-15 Andreas Schwab <schwab@suse.de>
8515
8516 * nscd/nscd.c (main): Don't fork again after closing files.
8517
acb4325f
SP
85182013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8519
5cb26d0a
SP
8520 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8521
acb4325f
SP
8522 * benchtests/Rules (bench-deps): Collect dependencies into a
8523 single variable. Add Makefile to dependencies.
8524 ($(objpfx)bench-%.c): Depend on bench-deps.
8525
47792506
RM
85262013-04-12 Roland McGrath <roland@hack.frob.com>
8527 Xavier Roche <roche+kml2@exalead.com>
8528
8529 [BZ #15361]
8530 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8531 just that it's a file descriptor.
8532 * manual/llio.texi (Synchronizing AIO Operations): Update description
8533 for EBADF error from aio_fsync.
8534
8fc1bee5
SP
85352013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8536
8537 * Rules (bench): Move target definition...
8538 * benchtests/Makefile: ... here.
8539
aba5e333
CD
85402013-04-11 Carlos O'Donell <carlos@redhat.com>
8541
8542 * math/libm-test.inc (cos_test): Fix PI/2 test.
8543 (sincos_test): Likewise.
8544 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8545 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8546
273cdee8
AS
85472013-04-11 Andreas Schwab <schwab@suse.de>
8548
6ecec3b6
AS
8549 [BZ #13988]
8550 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8551 accept exponent character only when digits were seen.
8552 * stdio-common/Makefile (tests): Add bug26.
8553 * stdio-common/bug26.c: New file.
8554
273cdee8
AS
8555 [BZ #14293]
8556 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8557 non-freeable.
8558
8da491f5
SP
85592013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8560
01dc6df9
SP
8561 * Makeconfig (rtld-prefix): Define built linker prefix.
8562 * Rules (run-bench): Use it.
8563 * math/Makefile (run-regen-ulps): Likewise.
8564
8da491f5
SP
8565 * Rules (bench): Remove eval.
8566
abe7f530
SP
85672013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8568 Roland McGrath <roland@hack.frob.com>
8569 Ondrej Bilka <neleai@seznam.cz>
8570
8571 [BZ #15346]
8572 * time/getdate.c: Include ctype.h and alloca.h.
8573 (__getdate_r): Trim leading and trailing spaces of input.
8574 * time/tst-getdate.c (tests): Add tests with leading and
8575 trailing spaces.
8576
61c23e62
RM
85772013-04-08 Roland McGrath <roland@hack.frob.com>
8578
8579 [BZ #14280]
8580 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8581 when computing value.
8582
7208a313
CD
85832013-04-06 Carlos O'Donell <carlos@redhat.com>
8584
085b2d41
CD
8585 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8586 Use testrun.sh to run libm tests.
8587
7208a313
CD
8588 [BZ #15309]
8589 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8590
872c0acd
MM
85912013-04-06 Marko Myllynen <myllynen@redhat.com>
8592
8593 [BZ #15264]
8594 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8595
26510bdd
CD
85962013-04-06 Carlos O'Donell <carlos@redhat.com>
8597
8598 * Makefile.in (regen-ulps): New target.
8599 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8600 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8601 [ifneq (no,$(PERL)] (regen-ulps): New target.
8602 [ifeq (no,$(PERL)] (regen-ulps): New target.
8603 * math/libm-test.inc (ulps_file_name): Define.
8604 (output_dir): New variable.
8605 (options): Add "output-dir" option.
8606 (parse_opt): Handle 'o' case.
8607 (main): If output_dir is non-NULL use it as a prefix
8608 otherwise use "".
8609 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8610
a01f19c8
CD
86112013-04-06 Carlos O'Donell <carlos@redhat.com>
8612
8613 [BZ #10060, #10062]
8614 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8615 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8616 fail configure if __sync_val_compare_and_swap is not inlined.
8617 * sysdeps/i386/configure: Regenerate.
8618 * configure.in: Build for i686 when configured for i386.
8619 * configure: Regenerate.
8620 * README: Remove i386 reference.
8621
b7a329a5
CD
86222013-04-06 Carlos O'Donell <carlos@redhat.com>
8623
8624 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8625 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8626
bf0f50df
TS
86272013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8628
ee091edf
TS
8629 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8630 (lmsnanval): New variables.
8631 (F): Add conversion tests.
8632 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8633 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8634
a8b792d6
TS
8635 * stdio-common/tstdiomisc.c (F): Properly collect individual
8636 tests' results.
8637
a1cbf437
TS
8638 [BZ #14686, #15336]
8639 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8640 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8641 Instead, use input NaN values or generate a qNaN by arithmetic
8642 operation. Also fix bugs to comply with the standard.
8643 * math/libm-test.inc (remainder_test): Add more tests.
8644
8b43a0c9
TS
8645 [BZ #15335, #15342]
8646 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8647 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8648 input NaN values or generate a qNaN by arithmetic operation.
8649
d91da4ce
TS
8650 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8651 unreachable code.
8652
bf0f50df
TS
8653 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8654 definitions.
8655
05e166c8
JM
86562013-04-03 Joseph Myers <joseph@codesourcery.com>
8657
8658 [BZ #14478]
8659 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8660 underflowed result.
8661 * math/s_cexpf.c (__cexpf): Likewise.
8662 * math/s_cexpl.c (__cexpl): Likewise.
8663 * math/libm-test.inc (cexp_test): Add more tests.
8664
1cef1b19
AS
86652013-04-03 Andreas Schwab <schwab@suse.de>
8666
8667 [BZ #15330]
8668 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8669 order arrays from heap if bigger than alloca cutoff.
8670
74d87055
TS
86712013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8672
8673 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8674 (SNAN_TESTS_double): Refer to GCC PR56831.
8675 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8676 GCC PR56828.
8677
d755bba4
SP
86782013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8679
90d5d5bb
SP
8680 * Rules (bench): Move bench.out after the run is complete.
8681
73e0cd5d
SP
8682 * Rules (bench): Echo currently running benchmark.
8683
64aabd4b
SP
8684 * benchtests/Makefile (bench): Add atan and slowatan.
8685 * benchtests/atan-inputs: New file.
8686 * benchtests/slowatan-inputs: New file.
8687 * benchtests/slowatan.c: New file.
8688
c871eccd
SP
8689 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8690 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8691 its value.
8692
d755bba4
SP
8693 [BZ #15305]
8694 * sysdeps/unix/sysv/linux/kernel-features.h
8695 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8696 __ASSUME_XFS_RESTRICTED_CHOWN.
8697 * sysdeps/unix/sysv/linux/pathconf.c
8698 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8699 Save and restore errno.
8700
52ce4860
JM
87012013-04-02 Joseph Myers <joseph@codesourcery.com>
8702
8703 [BZ #15327]
8704 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8705 arguments using __kernel_casinh.
8706 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8707 arguments using __kernel_casinhf.
8708 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8709 arguments using __kernel_casinhl.
8710 * math/libm-test.inc (cacosh_test): Add more tests.
8711 * sysdeps/i386/fpu/libm-test-ulps: Update.
8712 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8713
81f311c2
SP
87142013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8715
e7906a47
SP
8716 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8717 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8718
92e3664b
SP
8719 * bench/Makefile (bench): Add sin and slowsin.
8720 * benchtests/sin-inputs: New file.
8721 * benchtests/slowsin-inputs: New file.
8722 * benchtests/slowsin.c: New file.
8723
81f311c2
SP
8724 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8725 (bench): Add slowexp and slowpow.
8726 (exp-ITER): Increase iterations.
8727 (pow-ITER): Likewise.
8728 * benchtests/exp-inputs: Change input.
8729 * benchtests/pow-inputs: Likewise.
8730 * benchtests/slowexp-inputs: New file.
8731 * benchtests/slowexp.c: New file.
8732 * benchtests/slowpow-inputs: New file.
8733 * benchtests/slowpow.c: New file.
8734
ab0f1aa9
AZ
87352013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8736
8737 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8738 instructions.
8739 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8740 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8741 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8742 * benchtests/Makefile: Add rint benchtest.
8743 * benchtests/rint-inputs: Input for rint benchtest.
8744
57267616
TS
87452013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8746
8747 * Versions.def (libm): Add GLIBC_2.18.
8748 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8749 hidden libm prototypes.
8750 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8751 * math/Makefile (libm-calls): Add s_issignaling.
8752 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8753 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8754 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8755 declaration.
8756 * math/math.h [__USE_GNU] (issignaling): New macro.
8757 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8758 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8759 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8760 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8761 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8762 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8763 * manual/arith.texi (issignaling): New section.
8764 * manual/libm-err-tab.pl (@all_functions): Update comment.
8765 * math/gen-libm-test.pl (parse_args): Apply special handling for
8766 issignaling.
8767 * math/libm-test.inc (print_float, issignaling_test): New
8768 functions.
8769 (check_float_internal): Add issignaling checks.
8770 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8771 default definition.
8772 * sysdeps/powerpc/math-tests.h: New file.
8773 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8774 tests.
8775 * math/test-snan.c (TEST_FUNC): Likewise.
8776
6142896d
DM
87772013-03-30 David S. Miller <davem@davemloft.net>
8778
8779 * po/de.po: Update from translation team.
8780
ccc8cadf
JM
87812013-03-30 Joseph Myers <joseph@codesourcery.com>
8782
8783 [BZ #10357]
8784 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8785 imaginary part less than 1.0 and real part less than 0.5
8786 specially.
8787 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8788 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8789 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8790 (cacos_test): Add more tests.
8791 (casin_test): Likewise.
8792 (casinh_test): Likewise.
8793 * sysdeps/i386/fpu/libm-test-ulps: Update.
8794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8795
0f6a8d4b
SP
87962013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8797
0d1029de
SP
8798 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8799 ONE with its value.
8800
c2d94018
SP
8801 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8802 (__pow_mp): Replace ONE and MONE with their values.
8803 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8804 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8805 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8806 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8807 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8808 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8809
27ec37f1
SP
8810 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8811
a64d7e0e
SP
8812 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8813 (__pow_mp): Replace ZERO and MZERO with their values.
8814 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8815 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8816 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8817 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8818 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8819 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8820 (__sqr): Likewise.
8821
d26dd3eb
SP
8822 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8823
0f6a8d4b
SP
8824 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8825
e57b0c61
RM
88262013-03-28 Roland McGrath <roland@hack.frob.com>
8827
8828 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8829 Declare with __attribute__ ((weak)).
8830 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8831 Call __call_tls_dtors only if it's not NULL.
8832
356b3480
RM
88332013-03-28 Roland McGrath <roland@hack.frob.com>
8834
288f7d79
RM
8835 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8836 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8837 magic __ehdr_start linker symbol if it's defined.
8838 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8839 them up here if it was already done.
8840
dc0a0263
RM
8841 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8842 (_dl_aux_init): Use const in cast when setting it.
8843 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8844 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8845 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8846
3d3436ae
RM
8847 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8848 Declare them here.
8849 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8850 * csu/libc-tls.c: Nor here.
8851 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8852
356b3480
RM
8853 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8854 (__libc_message): Never call vsyslog.
8855
b0f1246a
AM
88562013-03-28 Alan Modra <amodra@gmail.com>
8857
8858 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8859 Define as empty.
8860 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8861 Likewise.
8862
fbbe2b9a
AZ
88632013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8864
8865 [BZ #15214]
8866 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8867 underflow.
8868 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8869
1728ab37
SP
88702013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8871
7a86be6e
SP
8872 [BZ #15304]
8873 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8874 Don't add gid passed as argument.
8875
1728ab37
SP
8876 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8877
3a7182a1
JM
88782013-03-27 Joseph Myers <joseph@codesourcery.com>
8879
8880 [BZ #15307]
8881 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8882 imaginary part between 1.0 and 1.5 and real part less than 0.5
8883 specially.
8884 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8885 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8886 * math/libm-test.inc (cacos_test): Add more tests.
8887 (casin_test): Likewise.
8888 (casinh_test): Likewise.
8889 * sysdeps/i386/fpu/libm-test-ulps: Update.
8890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8891
6f2e90e7
SP
88922013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8893
5739f705
SP
8894 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8895 constants.
8896 (norm): Likewise.
8897 (denorm): Likewise.
8898 (__dbl_mp): Likewise.
8899 (add_magnitudes): Likewise.
8900 (sub_magnitudes): Likewise.
8901 (__add): Likewise.
8902 (__sub): Likewise.
8903 (__mul): Likewise.
8904 (__sqr): Likewise.
8905 (__inv): Likewise.
8906 (__dvd): Likewise.
8907
e375e83d
SP
8908 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8909 commented code.
8910 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8911 (__dubcos): Likewise.
8912 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8913 (__ieee754_acos): Likewise.
8914 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8915 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8916 (__exp1): Likewise.
8917 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8918 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8919 (log1): Likewise.
8920 (my_log2): Likewise.
8921 (checkint): Likewise.
8922 * sysdeps/ieee754/dbl-64/e_remainder.c
8923 (__ieee754_remainder): Likewise.
8924 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8925 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8926 (bsloww): Likewise.
8927 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8928
6f2e90e7
SP
8929 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8930 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8931 MANTISSA_STORE_T to store computations on mantissa. Use
8932 macros for rounding and division.
8933 (denorm): Likewise.
8934 (__dbl_mp): Likewise.
8935 (add_magnitudes): Likewise.
8936 (sub_magnitudes): Likewise.
8937 (__mul): Likewise.
8938 (__sqr): Likewise.
8939 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8940 powers of two in terms of TWOPOW macro.
8941 (mp_no): Make type of mantissa as MANTISSA_T.
8942 [!RADIXI]: Define RADIXI.
8943 [!TWO52]: Define TWO52.
8944 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8945
fce14d4e
AZ
89462013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8947
8948 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8949 llroundl symbol when building for PPC32.
8950
9ad027fb
MW
89512013-03-24 Mark H Weaver <mhw@netris.org>
8952
8953 * manual/arith.texi (Normalization Functions): Fix prototypes for
8954 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8955
e42a38dd
AZ
89562013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8957
8958 [BZ #13889]
8959 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8960 high value to check if expl overflow.
8961 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8962 to check for underflow and overflow.
8963 * math/libm-test.inc: Add exp test.
8964
2e0fb521
DL
89652013-03-21 Dmitry V. Levin <ldv@altlinux.org>
8966
8967 [BZ #11120]
8968 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
8969 with NOT_IN_libc.
8970
b5784d95
AZ
89712013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8972
8973 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
8974 symbol.
8975
5aa4a1a1
TS
89762013-03-21 Thomas Schwinge <thomas@codesourcery.com>
8977
bdef0be7
TS
8978 * math/gen-libm-test.pl (parse_args, special_functions): Properly
8979 wrap blocks consisting of several statements.
8980
5aa4a1a1
TS
8981 * sysdeps/generic/math-tests.h: New file.
8982 * sysdeps/i386/fpu/math-tests.h: Likewise.
8983 * math/test-snan.c: Include it.
8984 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
8985
98c48fe5
JM
89862013-03-21 Joseph Myers <joseph@codesourcery.com>
8987
8988 [BZ #15285]
8989 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
8990 (__ieee754_j0l): Do not improve calculations using cos of twice
8991 input for inputs above LDBL_MAX / 2.0L.
8992 (__ieee754_y0l): Likewise.
8993 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
8994 (__ieee754_j1l): Do not improve calculations using cos of twice
8995 input for inputs above LDBL_MAX / 2.0L.
8996 (__ieee754_y1l): Likewise.
8997 * math/libm-test.inc (j0_test): Add another test.
8998 (j1_test): Likewise.
8999 (y0_test): Likewise.
9000 (y1_test): Likewise.
9001 * sysdeps/i386/fpu/libm-test-ulps: Update.
9002
3775a8bc
SP
90032013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9004
9005 * Rules ($(objpfx)bench-%.c): Include code from a C source
9006 file.
9007
0a1b2ae6
JM
90082013-03-21 Joseph Myers <joseph@codesourcery.com>
9009
9010 [BZ #15287]
9011 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9012 imaginary part 1.0 and real part less than 0.5 specially.
9013 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9014 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9015 * math/libm-test.inc (cacos_test): Add more tests.
9016 (casin_test): Likewise.
9017 (casinh_test): Likewise.
9018 * sysdeps/i386/fpu/libm-test-ulps: Update.
9019 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9020
b33d4ce4
SP
90212013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9022
9023 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9024 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9025
bef0b507
JM
90262013-03-20 Joseph Myers <joseph@codesourcery.com>
9027
9028 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9029 * config.make.in (config-cflags-sse4): Remove variable.
9030 (config-cflags-avx): Likewise.
9031 (config-cflags-sse2avx): Likewise.
9032 (config-cflags-novzeroupper): Likewise.
9033 (config-asflags-i686): Likewise.
9034 (have-mfma4): Likewise.
9035 (have-as-vis3): Likewise.
9036 (MIG): Likewise.
9037 * configure.in (MIG): Do not AC_SUBST.
9038 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9039 (libc_cv_cc_sse4): Do not AC_SUBST.
9040 (libc_cv_cc_avx): Likewise.
9041 (libc_cv_cc_sse2avx): Likewise.
9042 (libc_cv_cc_novzeroupper): Likewise.
9043 (libc_cv_cc_fma4): Likewise.
9044 (libc_cv_as_i686): Likewise.
9045 (libc_cv_sparc_as_vis3): Likewise.
9046 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9047 LIBC_CONFIG_VAR.
9048 (config-asflags-i686): Likewise.
9049 (config-cflags-avx): Likewise.
9050 (config-cflags-sse2avx): Likewise.
9051 (have-mfma4): Likewise.
9052 (config-cflags-novzeroupper): Likewise.
9053 * sysdeps/mach/configure.in (MIG): Likewise.
9054 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9055 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9056 LIBC_CONFIG_VAR.
9057 (config-cflags-avx): Likewise.
9058 (config-cflags-sse2avx): Likewise.
9059 (have-mfma4): Likewise.
9060 (config-cflags-novzeroupper): Likewise.
9061 * configure: Regenerated.
9062 * sysdeps/i386/configure: Likewise.
9063 * sysdeps/mach/configure: Likewise.
9064 * sysdeps/sparc/configure: Likewise.
9065 * sysdeps/x86_64/configure: Likewise.
9066
912cc4b3
RM
90672013-03-20 Roland McGrath <roland@hack.frob.com>
9068
9069 [BZ #14812]
9070 * locale/programs/localedef.c (options): Put N_ translation marker
9071 on argument names, not just descriptions.
9072
04eed2b0
MS
90732013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9074
9075 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9076
a065ceff
OB
90772013-03-20 Ondřej Bílka <neleai@seznam.cz>
9078
9bb2a810 9079 [BZ #14176]
a065ceff
OB
9080 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9081
a600e5ce
RM
90822013-03-19 Roland McGrath <roland@hack.frob.com>
9083
9084 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9085 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9086 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9087 [!BEFORE_ABORT] (before_abort): New function.
9088 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9089 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9090 (writev_for_fatal): New function.
9091 (WRITEV_FOR_FATAL): New macro; call that.
9092 (backtrace_and_maps): New function.
9093 (BEFORE_ABORT): New macro; call that.
9094 (struct str_list): Type removed.
9095 (__libc_message, __libc_fatal): Functions removed.
9096 Include <sysdeps/posix/libc_fatal.c> instead.
9097
6b18bea6
JM
90982013-03-19 Joseph Myers <joseph@codesourcery.com>
9099
9100 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9101 constants.
9102 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9103 double constants.
9104
aaa8cb4b
AS
91052013-03-19 Andreas Schwab <schwab@suse.de>
9106
44673770
AS
9107 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9108 * sysdeps/gnu/configure: Regenerate.
9109
aaa8cb4b
AS
9110 * configure.in: Substitute libc_cv_rtlddir.
9111 * configure: Regenerate.
9112 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9113 * Makeconfig (rtlddir, inst_rtlddir): New variables.
9114 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9115 * elf/Makefile (install-others, CFLAGS-interp.c)
9116 (ldso_install, common-ldd-rewrite): Likewise.
9117 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9118 $(inst_slibdir)/$(rtld-installed-name).
9119 * scripts/rellns-sh: Add -p option.
9120 * Makerules (make-shlib-link): Use rellns-sh to get relative name
9121 for source.
9122
d3cfc668
SP
91232013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9124
9125 * manual/nptl.texi: Renamed to ...
9126 * manual/threads.texi: ... this.
9127 * manual/Makefile (chapters): Update.
9128
0e2b9cdd
RM
91292013-03-18 Roland McGrath <roland@hack.frob.com>
9130
9131 [BZ #14812]
9132 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9133 on argument names, not just descriptions.
0e2b9cdd
RM
9134 * malloc/memusagestat.c (options): Likewise.
9135 * nss/getent.c (options): Likewise.
63270c24
RM
9136
91372013-03-18 Benno Schulenberg <bensberg@justemail.net>
9138
9139 [BZ #14812]
9140 * iconv/iconv_prog.c (options): Put N_ translation marker
9141 on argument names, not just descriptions.
9142 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 9143
b2e1393c
OB
91442013-03-18 Ondrej Bilka <neleai@seznam.cz>
9145
9146 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9147 implementation which is faster on all x86_64 architectures.
9148 Tested on AMD, Intel Nehalem, SNB, IVB.
9149 * sysdeps/x86_64/strnlen.S: Likewise.
9150
9151 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9152 Remove all multiarch strlen and strnlen versions.
9153 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9154 Remove strlen and strnlen related parts.
9155
9156 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9157 Inline strlen part.
9158 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9159
9160 * sysdeps/x86_64/multiarch/strlen.S: Remove.
9161 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9162 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9163 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9164 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9165 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9166
ec4ff04d
CD
91672013-03-17 Carlos O'Donell <carlos@redhat.com>
9168
9169 * manual/memory.texi (Malloc Tunable Parameters):
9170 Sort parameters alphabetically. Add comments for missing entries.
9171
cd18e90a
DM
91722013-03-17 David S. Miller <davem@davemloft.net>
9173
9174 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9175
2a185d32
JM
91762013-03-16 Joseph Myers <joseph@codesourcery.com>
9177
d2f9799e
JM
9178 [BZ #15283]
9179 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9180 for arguments at most half maximum finite value.
9181 * math/libm-test.inc (j0_test): Add more tests.
9182 (j1_test): Likewise.
9183 (y0_test): Likewise.
9184 (y1_test): Likewise.
9185 * sysdeps/i386/fpu/libm-test-ulps: Update.
9186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9187
2a185d32
JM
9188 [BZ #14155]
9189 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9190 1 / x and functions P and Q for arguments above 0x1p256L.
9191 (__ieee754_y0l): Likewise.
9192 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9193 (__ieee754_y1l): Likewise.
9194 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9195 (j1_test): Likewise.
9196 (y0_test): Likewise.
9197 (y1_test): Likewise.
9198
6cbec759
TS
91992013-03-16 Thomas Schwinge <thomas@codesourcery.com>
9200
9201 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9202 variable.
9203
bc16e260
RM
92042013-03-15 Roland McGrath <roland@hack.frob.com>
9205
aefc9b8c
RM
9206 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9207 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9208 zero since it's initialized to EXEC_PAGESIZE.
9209
bc16e260
RM
9210 * sysdeps/unix/sysv/linux/ldsodefs.h
9211 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9212 * sysdeps/generic/ldsodefs.h: ... here.
9213
a57da955
TS
92142013-03-15 Thomas Schwinge <thomas@codesourcery.com>
9215
af00a34d
TS
9216 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9217
495ded2c
TS
9218 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9219 math/test-snan.c.
9220 * math/test-snan.c: Renamed from
9221 sysdeps/powerpc/fpu/test-powerpc-snan.c.
9222 * math/Makefile (tests): Add test-snan.
9223 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9224 test-powerpc-snan.
9225
777b0332
TS
9226 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9227 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9228 functions.
9229 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9230 __builtin_nan family of functions.
9231 * math/libm-test.inc (initialize): Initialize qnan_value with
9232 __builtin_nan family of functions.
9233 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9234 Remove variables.
9235 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9236 Remove functions.
9237 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9238 storage class. Initialize qNaN_var and sNaN_var with
9239 __builtin_nan and __builtin_nans families of functions,
9240 respectively.
9241
64d063b8
TS
9242 * math/libm-test.inc (acosh_test): Also test with qNaN input.
9243 (sqrt_test): Remove duplicate test with qNaN input.
9244 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9245 (round_test, signbit_test, significand_test): Note missing +/-Inf
9246 as well as qNaN tests.
9247
67e971f1
TS
9248 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9249 qNaN_var. Fix a few strings, too.
9250 * math/libm-test.inc (nan_value): Rename to qnan_value.
9251 * math/gen-libm-test.pl (%beautify): Adjust to that.
9252 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9253 * math/test-misc.c (main): Likewise.
9254 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9255 to __qnan_bytes, and __qnan_union, respectively.
9256 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9257 Likewise.
9258 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9259 and lqnanval, respectively.
9260 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9261 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9262 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9263 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9264
64487e12
TS
9265 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9266 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9267 doubles.
9268
e015e27b
TS
9269 * math/test-misc.c (main): Fix copy'n'pastos.
9270 * misc/tst-efgcvt.c (special): Likewise.
9271
a57da955
TS
9272 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9273 Remove declarations.
9274
1e380345
SP
92752013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9276
9277 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9278 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9279 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9280 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9281
ef26eece
AZ
92822013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9283
9284 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9285 macro to return vdso values correctly in IFUNC implementations.
9286 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9287 Optimization by using IFUNC.
9288
8cfdb7e0
SP
92892013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9290 Richard Henderson <rth@redhat.com>
9291 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9292
9293 * Makefile.in (bench): New target.
9294 * NEWS: Mention the benchmark framework.
9295 * Rules (bench): Likewise.
9296 (binaries-bench): Generate binaries for functions to
9297 benchmark.
9298 * benchtests/Makefile: New makefile for benchmark tests.
9299 * benchtests/bench-skeleton.c: New skeleton file for benchmark
9300 programs.
9301 * benchtests/exp-inputs: New input file for EXP function.
9302 * benchtests/pow-inputs: New input file for POW function.
9303 * scripts/bench.pl: New script to generate source files for
9304 benchmark programs.
9305
bcda9880
SP
93062013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9307
d22ca8cd
SP
9308 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9309 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9310 computations on mantissa. Use macros for rounding and
9311 division.
9312 (denorm): Likewise.
9313 (__dbl_mp): Likewise.
9314 (add_magnitudes): Likewise.
9315 (sub_magnitudes): Likewise.
9316 (__mul): Likewise.
9317 (__sqr): Likewise.
9318 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9319 powers of two in terms of TWOPOW macro.
9320 (mp_no): Make type of mantissa as MANTISSA_T.
9321 [!RADIXI]: Define RADIXI.
9322 [!TWO52]: Define TWO52.
9323 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9324
bcda9880
SP
9325 * manual/nptl.texi (cindex): Modify threads to pthreads.
9326
06d5adfb
JM
93272013-03-15 Joseph Myers <joseph@codesourcery.com>
9328
9329 * sysdeps/x86_64/preconfigure: Regenerated.
9330
41c7328e
JM
93312013-03-14 Joseph Myers <joseph@codesourcery.com>
9332
9333 [BZ #14155]
9334 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9335 0x1p28 and above.
9336 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9337 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9338 0x1p28 and above.
9339 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9340 * math/libm-test.inc (j0_test): Do not allow one spurious
9341 underflow exception.
9342 (y1_test): Likewise.
9343
e25cfa60
SP
93442013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9345
0409959c
SP
9346 * manual/Makefile (chapters): Add nptl.
9347 * manual/debug.texi (Debugging Support): Add link to Threads
9348 chapter.
9349 * manual/nptl.texi: New file.
9350
e25cfa60
SP
9351 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9352
58a1335e
PB
93532013-03-14 Petr Baudis <pasky@ucw.cz>
9354
9355 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9356 for non-NULL pointer before the memory validity test. Pointed
9357 out by Holger Brunck <holger.brunck@keymile.com>.
9358
9dc7c64f
AS
93592013-03-13 Andreas Schwab <schwab@suse.de>
9360
9361 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9362 instead of .os.
9363
54206aa6
JM
93642013-03-13 Joseph Myers <joseph@codesourcery.com>
9365
9366 * timezone/zic.c: Update from tzcode 2013b.
9367
e98cdb38
CD
93682013-03-12 Carlos O'Donell <carlos@redhat.com>
9369
9370 * manual/install.texi (Configuring and compiling):
9371 Mention i686 and i586.
9372 * INSTALL: Regenerate.
9373
9967e003
RM
93742013-03-12 Roland McGrath <roland@hack.frob.com>
9375
9376 * sysdeps/init_array/elf-init.c: New file.
9377 * csu/elf-init.c
9378 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9379 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9380
9381 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9382 __gmon_start__ as global, but as static with a .preinit_array pointer.
9383 * sysdeps/init_array/gmon-start.c: New file. Use that.
9384 * sysdeps/init_array/crti.S: New file, empty except for comments.
9385 * sysdeps/init_array/crtn.S: Likewise.
9386
e6b5a293 93872013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
9388
9389 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9390 definining bcopy.
80f844c9
OB
9391 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9392 Remove Prefer_SSE_for_memop.
9393 * sysdeps/x86_64/multiarch/init-arch.h: Remove
9394 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9395 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
9396 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9397 memset-x86-64.
80f844c9 9398 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 9399 Remove bzero, memset ifunc support.
80f844c9
OB
9400 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
9401 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
9402 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9403 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9404
fb6b0fcb
AS
94052013-03-11 Andreas Schwab <schwab@suse.de>
9406
9407 [BZ #15234]
9408 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9409 by SHLIB_COMPAT.
9410 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9411 (GLIBC_2.16): Remove pthread_atfork.
9412
3e6bd4b1
PP
94132013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9414
9415 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
9416 (ptestcases.h): Likewise.
9417
222d7f00
RM
94182013-03-08 Roland McGrath <roland@hack.frob.com>
9419
9420 * Makeconfig ($(common-objpfx)config.status): Depend on
9421 sysdeps/*/preconfigure{,.in} too.
9422
1ba4f030
JM
94232013-03-08 Joseph Myers <joseph@codesourcery.com>
9424
a222d91a
JM
9425 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9426 (__free_hook): Use void * instead of __malloc_ptr_t.
9427 (__malloc_hook): Likewise.
9428 (__realloc_hook): Likewise.
9429 (__memalign_hook): Likewise.
9430 (__after_morecore_hook): Likewise.
9431 * malloc/arena.c (save_malloc_hook): Likewise.
9432 (save_free_hook): Likewise.
9433 * malloc/hooks.c (malloc_hook_ini): Likewise.
9434 (realloc_hook_ini): Likewise.
9435 (memalign_hook_ini): Likewise.
9436 * malloc/malloc.c (malloc_hook_ini): Likewise.
9437 (realloc_hook_ini): Likewise.
9438 (memalign_hook_ini): Likewise.
9439 (__free_hook): Likewise.
9440 (__malloc_hook): Likewise.
9441 (__realloc_hook): Likewise.
9442 (__memalign_hook): Likewise.
9443 (__libc_malloc): Likewise.
9444 (__libc_free): Likewise.
9445 (__libc_realloc): Likewise.
9446 (__libc_memalign): Likewise.
9447 (__libc_valloc): Likewise.
9448 (__libc_pvalloc): Likewise.
9449 (__libc_calloc): Likewise.
9450 (__posix_memalign): Likewise.
9451 * malloc/morecore.c (__sbrk): Likewise.
9452 (__default_morecore): Likewise.
9453
5cc45e10
JM
9454 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9455
dd54b864
JM
9456 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9457 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9458 __malloc_ptrdiff_t.
9459
1ba4f030
JM
9460 * malloc/malloc.h (__malloc_size_t): Remove macro.
9461 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9462 __malloc_size_t.
9463 (old_memalign_hook): Likewise.
9464 (old_realloc_hook): Likewise.
9465 (struct hdr): Likewise.
9466 (flood): Likewise.
9467 (mallochook): Likewise.
9468 (memalignhook): Likewise.
9469 (reallochook): Likewise.
9470 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9471 (tr_old_realloc_hook): Likewise.
9472 (tr_old_memalign_hook): Likewise.
9473 (tr_mallochook): Likewise.
9474 (tr_reallochook): Likewise.
9475 (tr_memalignhook): Likewise.
9476
edf66e57
AZ
94772013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9478
9479 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9480 default_ldbl_pack and using as default implementation.
9481 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9482 implementation.
9483 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9484 redundant definition.
9485 (ldbl_insert_mantissa): Likewise.
9486 (ldbl_canonicalize): Likewise.
9487 (ldbl_nearbyint): Likewise.
9488 (ldbl_pack): Rename to ldbl_pack_ppc.
9489 (ldbl_unpack): Rename to ldbl_unpack_ppc.
9490 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9491 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9492
6d9145d8
SP
94932013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9494
9495 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9496 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9497 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9498 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9499 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9500 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9501 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9502 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9503
4dd4e157
AJ
95042013-03-07 Andreas Jaeger <aj@suse.de>
9505
9506 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9507 bits/mman-linux.h.
9508
adbb8027
SP
95092013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9510
ce544b5b
SP
9511 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9512 Include mpa.h and declare __MPEXP.
9513 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9514 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9515 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9516 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9517 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9518 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9519 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9520
4cc149fd
SP
9521 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9522 (__slowpow): Use long double EXPL and LOGL functions to
9523 compute POW.
9524 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9525 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9526 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9527 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9528 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9529 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9530
e6ebd4a7
SP
9531 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9532 intermediate variable to calculate exponent.
9533 (__sqr): Likewise.
9534 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9535 Likewise.
9536 (__sqr): Likewise.
9537
82a9811d
SP
9538 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9539 [!NO__SQR]: Define __sqr.
9540 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9541 and NO__SQR. Remove all code except __mul and __sqr. Include
9542 sysdeps/ieee754/dbl-64/mpa.c.
9543 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9544
adbb8027
SP
9545 [BZ #12723]
9546 * posix/Makefile (tests): Add tst-pathconf.
9547 * posix/tst-pathconf.c: New test case.
9548 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9549 _PC_PIPE_BUF.
9550 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9551
39120df9
PF
95522013-03-06 Patsy Franklin <pfrankli@redhat.com>
9553
9554 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9555
67525cb8
AJ
95562013-03-06 Andreas Jaeger <aj@suse.de>
9557
664a9ce4
AJ
9558 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9559 definition via __MAP_ANONYMOUS.
9560
8e39047d
AJ
9561 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9562 it's not part of Linux headers.
9563
67525cb8
AJ
9564 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9565 (MAP_HUGE_MASK): Define.
9566
9567 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9568 Define.
9569 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9570 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9571 Define.
9572 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9573 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9574 Define.
9575 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9576 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9577 Define.
9578 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9579
9580 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9581 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9582 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9583 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9584 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9585 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9586
9587 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9588 Handle f2fs.
9589
9590 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9591 Handle f2fs and efivarfs.
9592
9593 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9594 f2fs.
9595
9596 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9597 (EFIVARFS_MAGIC): Add.
9598 (F2FS_LINK_MAX): Add.
9599
e1b42695
PP
96002013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9601
9602 * stdio-common/vfprintf.c: Replace __builtin_expect with
9603 __glibc_unlikely.
9604
2d67d91a
JM
96052013-03-06 Joseph Myers <joseph@codesourcery.com>
9606
9607 [BZ #13550]
9608 * sysdeps/generic/bp-sym.h: Remove file.
9609 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9610 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9611 <bp-sym.h> and <bp-asm.h>.
9612 (__longjmp): Don't use BP_SYM.
9613 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9614 and <bp-asm.h>.
9615 (memcpy): Don't use BP_SYM.
9616 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9617 <bp-sym.h> and <bp-asm.h>.
9618 (memcpy): Don't use BP_SYM.
9619 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9620 <bp-asm.h>.
9621 (memcpy): Don't use BP_SYM.
9622 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9623 <bp-asm.h>.
9624 (memset): Don't use BP_SYM.
9625 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9626 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9627 (__bzero): Don't use BP_SYM.
9628 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9629 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9630 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9631 <bp-sym.h> and <bp-asm.h>.
9632 (memcmp): Don't use BP_SYM. Remove comment about bounded
9633 pointers.
9634 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9635 <bp-sym.h> and <bp-asm.h>.
9636 (memcpy): Don't use BP_SYM.
9637 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9638 <bp-sym.h> and <bp-asm.h>.
9639 (memset): Don't use BP_SYM.
9640 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9641 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9642 (__bzero): Don't use BP_SYM.
9643 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9644 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9645 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9646 <bp-sym.h> and <bp-asm.h>.
9647 (strncmp): Don't use BP_SYM. Remove comment about bounded
9648 pointers.
9649 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9650 <bp-sym.h> and <bp-asm.h>.
9651 (memcpy): Don't use BP_SYM.
9652 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9653 <bp-sym.h> and <bp-asm.h>.
9654 (memset): Don't use BP_SYM.
9655 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9656 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9657 (__bzero): Don't use BP_SYM.
9658 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9659 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9660 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9661 <bp-sym.h> and <bp-asm.h>.
9662 (__memchr): Don't use BP_SYM.
9663 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9664 <bp-sym.h> and <bp-asm.h>.
9665 (memcmp): Don't use BP_SYM. Remove comment about bounded
9666 pointers.
9667 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9668 <bp-sym.h> and <bp-asm.h>.
9669 (memcpy): Don't use BP_SYM.
9670 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9671 <bp-sym.h> and <bp-asm.h>.
9672 (__mempcpy): Don't use BP_SYM.
9673 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9674 <bp-sym.h> and <bp-asm.h>.
9675 (__memrchr): Don't use BP_SYM.
9676 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9677 <bp-sym.h> and <bp-asm.h>.
9678 (memset): Don't use BP_SYM.
9679 (__bzero): Likewise.
9680 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9681 <bp-sym.h> and <bp-asm.h>.
9682 (__rawmemchr): Don't use BP_SYM.
9683 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9684 <bp-sym.h> and <bp-asm.h>.
9685 (__STRCMP): Don't use BP_SYM.
9686 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9687 <bp-sym.h> and <bp-asm.h>.
9688 (strchr): Don't use BP_SYM.
9689 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9690 <bp-sym.h> and <bp-asm.h>.
9691 (__strchrnul): Don't use BP_SYM.
9692 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9693 <bp-sym.h> and <bp-asm.h>.
9694 (strlen): Don't use BP_SYM.
9695 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9696 <bp-sym.h> and <bp-asm.h>.
9697 (strncmp): Don't use BP_SYM. Remove comment about bounded
9698 pointers.
9699 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9700 <bp-sym.h> and <bp-asm.h>.
9701 (__strnlen): Don't use BP_SYM.
9702 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9703 <bp-sym.h> and <bp-asm.h>.
9704 (__GI__setjmp): Don't use BP_SYM.
9705 (_setjmp): Likewise.
9706 (__sigsetjmp): Likewise.
9707 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9708 (L(start_addresses)): Don't use BP_SYM.
9709 (_start): Likewise.
9710 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9711 <bp-asm.h>.
9712 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9713 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9714 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9715 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9716 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9717 <bp-asm.h>.
9718 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9719 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9720 about bounded pointers.
9721 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9722 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9723 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9724 <bp-asm.h>.
9725 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9726 about bounded pointers. Remove GKM FIXME comments.
9727 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9728 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9729 <bp-asm.h>.
9730 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9731 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9732 Remove GKM FIXME comments.
9733 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9734 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9735 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9736 <bp-asm.h>.
9737 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9738 about bounded pointers. Remove GKM FIXME comment.
9739 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9740 and <bp-asm.h>.
9741 (strncmp): Don't use BP_SYM. Remove comment about bounded
9742 pointers.
9743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9744 <bp-sym.h> and <bp-asm.h>.
9745 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9746 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9747 <bp-sym.h> and <bp-asm.h>.
9748 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9749 comment.
9750
cdcf361f
PP
97512013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9752
9753 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9754 call free(NULL).
9755
3c4a2b15
DM
97562013-03-05 David S. Miller <davem@davemloft.net>
9757
9758 * po/es.po: Update from translation team.
9759
cdcf361f 97602013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
9761
9762 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9763 <bits/mman-linux.h>.
9764 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9765 is fine.
9766 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9767 <bits/mman-linux.h> to end of file.
9768 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9769 is fine.
9770 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9771 <bits/mman-linux.h> to end of file.
9772 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9773 is fine.
9774 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9775 <bits/mman-linux.h> to end of file.
9776
9777 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9778 (MCL_CURRENT, MCL_FUTURE): Define here.
9779
5f67c04f
AK
97802013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9781
8a4473cc 9782 [BZ #15232]
5f67c04f
AK
9783 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9784 attribute_hidden.
9785 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9786
c3e94a95
AK
97872013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9788
9789 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9790 fourth parameter needed for rt_sigprocmask syscall.
9791 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9792 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9793 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9794 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9795 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9796 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9797
cfb6382a
JM
97982013-03-04 Joseph Myers <joseph@codesourcery.com>
9799
9800 [BZ #13550]
9801 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9802 comment about bounded pointers.
9803 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9804 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9805
539d8e01
AJ
98062013-03-04 Andreas Jaeger <aj@suse.de>
9807
9808 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9809 common definitions.
9810
9811 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9812 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9813 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9814 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9815 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
9816 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9817
2e167a70 98182013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
9819
9820 [BZ #15055]
9821 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9822 __ieee754_sqrl instead of __sqrl.
9823
68508633
JM
98242013-03-01 Joseph Myers <joseph@codesourcery.com>
9825
9826 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9827 * sysdeps/powerpc/fpu_control.h: ... here.
9828 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9829 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9830 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9831 * sysdeps/powerpc/bits/mathinline.h: ... here.
9832
7775448e
RM
98332013-03-01 Roland McGrath <roland@hack.frob.com>
9834
9835 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9836 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9837 to just [NEED_DL_SYSINFO_DSO].
9838 * elf/dl-support.c: Likewise.
9839 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9840 * elf/rtld.c (dl_main): Likewise.
9841 * elf/setup-vdso.h (setup_vdso): Likewise.
9842 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9843 * sysdeps/unix/sysv/linux/dl-sysdep.c
9844 (_dl_discover_osversion): Likewise.
9845
4e9b5995
CD
98462013-03-01 Carlos O'Donell <carlos@redhat.com>
9847
9848 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9849 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9850
e23872c8
SP
98512013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9852
e5c74c63
SP
9853 * NEWS: Mention libm performance improvements and non-x86 PI
9854 futex support.
9855
e23872c8
SP
9856 * csu/libc-start.c (__pthread_initialize_minimal): Change
9857 function arguments.
9858 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9859
b5510883
JM
98602013-02-28 Joseph Myers <joseph@codesourcery.com>
9861
9862 [BZ #13550]
9863 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9864 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9865 <bp-sym.h> and <bp-asm.h>.
9866 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9867 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9868 and <bp-asm.h>.
9869 (memcpy): Don't use BP_SYM.
9870 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9871 <bp-asm.h>.
9872 (__mpn_add_n): Don't use BP_SYM.
9873 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9874 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9875 and <bp-asm.h>.
9876 (__mpn_addmul_1): Don't use BP_SYM.
9877 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9878 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9879 <bp-sym.h>.
9880 (_setjmp): Don't use BP_SYM.
9881 (__novmx_setjmp): Likewise.
9882 (__GI__setjmp): Likewise.
9883 (__vmx_setjmp): Likewise.
9884 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9885 <bp-sym.h>.
9886 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9887 (__bzero): Don't use BP_SYM.
9888 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9889 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9890 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9891 <bp-sym.h> and <bp-asm.h>.
9892 (memcpy): Don't use BP_SYM.
9893 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9894 <bp-sym.h> and <bp-asm.h>.
9895 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9896 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9897 <bp-sym.h> and <bp-asm.h>.
9898 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9899 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9900 <bp-asm.h>.
9901 (__mpn_lshift): Don't use BP_SYM.
9902 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9903 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9904 <bp-asm.h>.
9905 (memset): Don't use BP_SYM.
9906 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9907 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9908 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9909 <bp-asm.h>.
9910 (__mpn_mul_1): Don't use BP_SYM.
9911 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9912 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9913 <bp-sym.h> and <bp-asm.h>.
9914 (memcmp): Don't use BP_SYM.
9915 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9916 <bp-sym.h> and <bp-asm.h>.
9917 (memcpy): Don't use BP_SYM.
9918 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9919 <bp-sym.h> and <bp-asm.h>.
9920 (memset): Don't use BP_SYM.
9921 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9922 <bp-sym.h> and <bp-asm.h>.
9923 (strncmp): Don't use BP_SYM.
9924 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9925 <bp-sym.h> and <bp-asm.h>.
9926 (memcpy): Don't use BP_SYM.
9927 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9928 <bp-sym.h> and <bp-asm.h>.
9929 (memset): Don't use BP_SYM.
9930 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9931 <bp-sym.h> and <bp-asm.h>.
9932 (__memchr): Don't use BP_SYM.
9933 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9934 <bp-sym.h> and <bp-asm.h>.
9935 (memcmp): Don't use BP_SYM.
9936 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9937 <bp-sym.h> and <bp-asm.h>.
9938 (memcpy): Don't use BP_SYM.
9939 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9940 <bp-sym.h> and <bp-asm.h>.
9941 (__mempcpy): Don't use BP_SYM.
9942 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9943 <bp-sym.h> and <bp-asm.h>.
9944 (__memrchr): Don't use BP_SYM.
9945 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9946 <bp-sym.h> and <bp-asm.h>.
9947 (memset): Don't use BP_SYM.
9948 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9949 <bp-sym.h> and <bp-asm.h>.
9950 (__rawmemchr): Don't use BP_SYM.
9951 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9952 <bp-sym.h> and <bp-asm.h>.
9953 (__STRCMP): Don't use BP_SYM.
9954 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9955 <bp-sym.h> and <bp-asm.h>.
9956 (strchr): Don't use BP_SYM.
9957 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9958 <bp-sym.h> and <bp-asm.h>.
9959 (__strchrnul): Don't use BP_SYM.
9960 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9961 <bp-sym.h> and <bp-asm.h>.
9962 (strlen): Don't use BP_SYM.
9963 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
9964 <bp-sym.h> and <bp-asm.h>.
9965 (strncmp): Don't use BP_SYM.
9966 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
9967 <bp-sym.h> and <bp-asm.h>.
9968 (__strnlen): Don't use BP_SYM.
9969 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
9970 <bp-asm.h>.
9971 (__mpn_rshift): Don't use BP_SYM.
9972 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9973 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
9974 <bp-sym.h> and <bp-asm.h>.
9975 (__sigsetjmp): Don't use BP_SYM.
9976 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
9977 (L(start_addresses)): Don't use BP_SYM.
9978 (_start): Likewise.
9979 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
9980 <bp-asm.h>.
9981 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
9982 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9983 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9984 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
9985 <bp-asm.h>.
9986 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
9987 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9988 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9989 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
9990 <bp-asm.h>.
9991 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
9992 comments.
9993 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9994 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
9995 <bp-asm.h>.
9996 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
9997 FIXME comments.
9998 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9999 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10000 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10001 <bp-asm.h>.
10002 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10003 comment.
10004 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10005 and <bp-asm.h>.
10006 (strncmp): Don't use BP_SYM,
10007 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10008 <bp-asm.h>.
10009 (__mpn_sub_n): Don't use BP_SYM.
10010 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10011 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10012 and <bp-asm.h>.
10013 (__mpn_submul_1): Don't use BP_SYM.
10014 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10016 <bp-sym.h> and <bp-asm.h>.
10017 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10019 <bp-sym.h> and <bp-asm.h>.
10020 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10021 comment.
10022
8d19fe64
SP
100232013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10024
10025 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10026 Use ZK to minimize writes to Z.
10027 (sub_magnitudes): Simplify code a bit.
10028 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10029 Use ZK to minimize writes to Z.
10030 (sub_magnitudes): Simplify code a bit.
10031
85bd816a
RM
100322013-02-27 Roland McGrath <roland@hack.frob.com>
10033
10034 * csu/gmon-start.c: Add special exception to license text.
10035
b5977bf2
RH
100362013-02-27 Richard Henderson <rth@redhat.com>
10037
10038 * scripts/config.guess: Update from config.git.
10039 * scripts/config.sub: Likewise.
10040
11d6e2f2
SP
100412013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10042
09c14ed2
SP
10043 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10044
a688864e
SP
10045 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10046
6295157a
SP
10047 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10048
b8de2202
SP
10049 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10050
11d6e2f2
SP
10051 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10052
7e80ddb8
RM
100532013-02-26 Roland McGrath <roland@hack.frob.com>
10054
10055 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10056 [$(build-shared = yes].
7e80ddb8 10057
7da6d9ed
SP
100582013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10059
45f05884
SP
10060 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10061 (__mul): Reduce iterations for calculating mantissa.
10062
2236d359
SP
10063 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10064 MPTWO.
10065 (__mpranred): Likewise.
10066
7da6d9ed
SP
10067 [BZ #15160]
10068 * malloc/memusagestat.c (main): Draw graphs for heap and stack
10069 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10070
b7688c42
PE
100712013-02-26 Paul Eggert <eggert@cs.ucla.edu>
10072
10073 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10074 Define __attribute__.
10075
53a5c423
SP
100762013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10077
10078 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10079 unused.
10080 * posix/regex_internal.h (__attribute): Remove.
10081 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10082 (re_string_context_at): Likewise.
10083 (bitset_not): Use __attribute__ and mark function as possibly
10084 unused.
10085 (bitset_merge): Likewise.
10086 (bitset_mask): Likewise.
10087 (re_string_char_size_at): Likewise.
10088 (re_string_wchar_at): Likewise.
10089 (re_string_elem_size_at): Likewise.
10090
60f5a8b5
SP
100912013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10092
2a983a2e
SP
10093 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10094 code.
10095 (cc32): Likewise.
10096
e69804d1
SP
10097 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10098 (__acr): Likewise.
10099 (__cpy): Likewise.
10100 (norm): Likewise.
10101 (denorm): Likewise.
10102 (__dbl_mp): Likewise.
10103 (add_magnitudes): Likewise.
10104 (sub_magnitudes): Likewise.
10105 (__mul): Likewise.
10106 (__inv): Likewise.
10107
2f22a1e8
SP
10108 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10109 style.
10110
8930ddc7
SP
10111 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10112 style.
10113
dc60cb11
SP
10114 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10115 code.
10116
60f5a8b5
SP
10117 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10118 up changes with default code.
10119 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10120 Likewise.
10121
b4d1fd33
AM
101222013-02-24 Allan McRae <allan@archlinux.org>
10123
faf6f8bc
AM
10124 * manual/socket.texi (The Internet Namespace): Order menu items
10125 to match that in the file.
10126
b4d1fd33
AM
10127 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10128 node listing of the info page menu.
10129
2366713d
JM
101302013-02-21 Joseph Myers <joseph@codesourcery.com>
10131
10132 [BZ #13550]
10133 * sysdeps/i386/bp-asm.h: Remove file.
10134 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10135 (PARMS): Do not use macros from bp-asm.h.
10136 (S1): Likewise.
10137 (S2): Likewise.
10138 (SIZE): Likewise.
10139 (__mpn_add_n): Do not use BP_SYM
10140 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10141 "bp-asm.h".
10142 (PARMS): Do not use macros from bp-asm.h.
10143 (S1): Likewise.
10144 (SIZE): Likewise.
10145 (__mpn_addmul_1): Do not use BP_SYM
10146 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10147 "bp-asm.h".
10148 (PARMS): Do not use macros from bp-asm.h.
10149 (SIGMSK): Likewise.
10150 (_setjmp): Likewise. Do not use BP_SYM.
10151 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10152 "bp-asm.h".
10153 (PARMS): Do not use macros from bp-asm.h.
10154 (SIGMSK): Likewise.
10155 (setjmp): Likewise. Do not use BP_SYM.
10156 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10157 "bp-asm.h".
10158 (PARMS): Do not use macros from bp-asm.h.
10159 (__frexp): Do not use BP_SYM.
10160 (frexp): Likewise.
10161 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10162 "bp-asm.h".
10163 (PARMS): Do not use macros from bp-asm.h.
10164 (__frexpf): Do not use BP_SYM.
10165 (frexpf): Likewise.
10166 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10167 "bp-asm.h".
10168 (PARMS): Do not use macros from bp-asm.h.
10169 (__frexpl): Do not use BP_SYM.
10170 (frexpl): Likewise.
10171 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10172 "bp-asm.h".
10173 (PARMS): Do not use macros from bp-asm.h.
10174 (__remquo): Do not use BP_SYM.
10175 (remquo): Likewise.
10176 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10177 "bp-asm.h".
10178 (PARMS): Do not use macros from bp-asm.h.
10179 (__remquof): Do not use BP_SYM.
10180 (remquof): Likewise.
10181 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10182 "bp-asm.h".
10183 (PARMS): Do not use macros from bp-asm.h.
10184 (__remquol): Do not use BP_SYM.
10185 (remquol): Likewise.
10186 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10187 "bp-asm.h".
10188 (PARMS): Do not use macros from bp-asm.h.
10189 (DEST): Likewise.
10190 (SRC): Likewise.
10191 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
10192 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10193 "bp-asm.h".
10194 (PARMS): Do not use macros from bp-asm.h.
10195 (strlen): Do not use BP_SYM.
10196 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10197 "bp-asm.h".
10198 (PARMS): Do not use macros from bp-asm.h.
10199 (S1): Likewise.
10200 (S2): Likewise.
10201 (SIZE): Likewise.
10202 (__mpn_add_n): Do not use BP_SYM.
10203 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10204 "bp-asm.h".
10205 (PARMS): Do not use macros from bp-asm.h.
10206 (S1): Likewise.
10207 (SIZE): Likewise.
10208 (__mpn_addmul_1): Do not use BP_SYM.
10209 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10210 weak_alias.
10211 (bzero): Likewise.
10212 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10213 "bp-asm.h".
10214 (PARMS): Do not use macros from bp-asm.h.
10215 (S): Likewise.
10216 (SIZE): Likewise.
10217 (__mpn_lshift): Do not use BP_SYM.
10218 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10219 "bp-asm.h".
10220 (PARMS): Do not use macros from bp-asm.h.
10221 (DEST): Likewise.
10222 (SRC): Likewise.
10223 (LEN): Likewise.
10224 (memcpy): Likewise. Do not use BP_SYM.
10225 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10226 libc_hidden_def and weak_alias.
10227 (mempcpy): Do not use BP_SYM in weak_alias.
10228 * sysdeps/i386/i586/memset.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 (LEN): Likewise.
10233 [!BZERO_P] (CHR): Likewise.
10234 (memset): Likewise. Do not use BP_SYM.
10235 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10236 "bp-asm.h".
10237 (PARMS): Do not use macros from bp-asm.h.
10238 (S1): Likewise.
10239 (SIZE): Likewise.
10240 (__mpn_mul_1): Do not use BP_SYM.
10241 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10242 "bp-asm.h".
10243 (PARMS): Do not use macros from bp-asm.h.
10244 (S): Likewise.
10245 (SIZE): Likewise.
10246 (__mpn_rshift): Do not use BP_SYM.
10247 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10248 "bp-asm.h".
10249 (PARMS): Do not use macros from bp-asm.h.
10250 (STR): Likewise.
10251 (CHR): Likewise.
10252 (strchr): Likewise. Do not use BP_SYM.
10253 (index): Do not use BP_SYM in weak_alias.
10254 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10255 "bp-asm.h".
10256 (PARMS): Do not use macros from bp-asm.h.
10257 (DEST): Likewise.
10258 (SRC): Likewise.
10259 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
10260 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10261 "bp-asm.h".
10262 (PARMS): Do not use macros from bp-asm.h.
10263 (strlen): Do not use BP_SYM.
10264 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10265 "bp-asm.h".
10266 (PARMS): Do not use macros from bp-asm.h.
10267 (S1): Likewise.
10268 (S2): Likewise.
10269 (SIZE): Likewise.
10270 (__mpn_sub_n): Do not use BP_SYM.
10271 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10272 "bp-asm.h".
10273 (PARMS): Do not use macros from bp-asm.h.
10274 (S1): Likewise.
10275 (SIZE): Likewise.
10276 (__mpn_submul_1): Do not use BP_SYM.
10277 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10278 "bp-asm.h".
10279 (PARMS): Do not use macros from bp-asm.h.
10280 (S1): Likewise.
10281 (S2): Likewise.
10282 (SIZE): Likewise.
10283 (__mpn_add_n): Do not use BP_SYM.
10284 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10285 weak_alias.
10286 (bzero): Likewise.
10287 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10288 "bp-asm.h".
10289 (PARMS): Do not use macros from bp-asm.h.
10290 (BLK2): Likewise.
10291 (LEN): Likewise.
10292 (memcmp): Do not use BP_SYM.
10293 (bcmp): Do not use BP_SYM in weak_alias.
10294 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10295 "bp-asm.h".
10296 (PARMS): Do not use macros from bp-asm.h.
10297 (DEST): Likewise.
10298 (SRC): Likewise.
10299 (LEN): Likewise.
10300 (memcpy): Likewise. Do not use BP_SYM.
10301 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10302 "bp-asm.h".
10303 (PARMS): Do not use macros from bp-asm.h.
10304 (DEST): Likewise.
10305 (SRC): Likewise.
10306 (LEN): Likewise.
10307 (memmove): Likewise. Do not use BP_SYM.
10308 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10309 "bp-asm.h".
10310 (PARMS): Do not use macros from bp-asm.h.
10311 (DEST): Likewise.
10312 (SRC): Likewise.
10313 (LEN): Likewise.
10314 (__mempcpy): Likewise. Do not use BP_SYM.
10315 (mempcpy): Do not use BP_SYM in weak_alias.
10316 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10317 "bp-asm.h".
10318 (PARMS): Do not use macros from bp-asm.h.
10319 (DEST): Likewise.
10320 (LEN): Likewise.
10321 [!BZERO_P] (CHR): Likewise.
10322 (memset): Likewise. Do not use BP_SYM.
10323 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10324 "bp-asm.h".
10325 (PARMS): Do not use macros from bp-asm.h.
10326 (STR2): Likewise.
10327 (strcmp): Do not use BP_SYM.
10328 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10329 "bp-asm.h".
10330 (PARMS): Do not use macros from bp-asm.h.
10331 (STR): Likewise.
10332 (DELIM): Likewise.
10333 [USE_AS_STRTOK_R] (SAVE): Likewise.
10334 (FUNCTION): Likewise. Do not use BP_SYM.
10335 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10336 aliases.
10337 (strtok_r): Likewise.
10338 (__GI___strtok_r): Likewise.
10339 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10340 (PARMS): Do not use macros from bp-asm.h.
10341 (S): Likewise.
10342 (SIZE): Likewise.
10343 (__mpn_lshift): Do not use BP_SYM.
10344 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10345 (PARMS): Do not use macros from bp-asm.h.
10346 (STR): Likewise.
10347 (CHR): Likewise.
10348 (__memchr): Do not use BP_SYM.
10349 (memchr): Do not use BP_SYM in weak_alias.
10350 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10351 (PARMS): Do not use macros from bp-asm.h.
10352 (BLK2): Likewise.
10353 (LEN): Likewise.
10354 (memcmp): Do not use BP_SYM.
10355 (bcmp): Do not use BP_SYM in weak_alias.
10356 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10357 (PARMS): Do not use macros from bp-asm.h.
10358 (S1): Likewise.
10359 (SIZE): Likewise.
10360 (__mpn_mul_1): Do not use BP_SYM.
10361 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
10362 "bp-asm.h".
10363 (PARMS): Do not use macros from bp-asm.h.
10364 (STR): Likewise.
10365 (CHR): Likewise.
10366 (__rawmemchr): Do not use BP_SYM.
10367 (rawmemchr): Do not use BP_SYM in weak_alias.
10368 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10369 (PARMS): Do not use macros from bp-asm.h.
10370 (S): Likewise.
10371 (SIZE): Likewise.
10372 (__mpn_rshift): Do not use BP_SYM.
10373 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10374 (PARMS): Do not use macros from bp-asm.h.
10375 (SIGMSK): Likewise.
10376 (__sigsetjmp): Likewise. Do not use BP_SYM.
10377 * sysdeps/i386/start.S: Do not include "bp-sym.h".
10378 (_start): Do not use BP_SYM.
10379 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10380 (PARMS): Do not use macros from bp-asm.h.
10381 (DEST): Likewise.
10382 (SRC): Likewise.
10383 (__stpcpy): Likewise. Do not use BP_SYM.
10384 (stpcpy): Do not use BP_SYM in weak_alias.
10385 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10386 "bp-asm.h".
10387 (PARMS): Do not use macros from bp-asm.h.
10388 (DEST): Likewise.
10389 (SRC): Likewise.
10390 (LEN): Likewise.
10391 (__stpncpy): Likewise. Do not use BP_SYM.
10392 (stpncpy): Do not use BP_SYM in weak_alias.
10393 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10394 (PARMS): Do not use macros from bp-asm.h.
10395 (STR): Likewise.
10396 (CHR): Likewise.
10397 (strchr): Likewise. Do not use BP_SYM.
10398 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10399 "bp-asm.h".
10400 (PARMS): Do not use macros from bp-asm.h.
10401 (STR): Likewise.
10402 (CHR): Likewise.
10403 (__strchrnul): Likewise. Do not use BP_SYM.
10404 (strchrnul): Do not use BP_SYM in weak_alias.
10405 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
10406 "bp-asm.h".
10407 (PARMS): Do not use macros from bp-asm.h.
10408 (STOP): Likewise.
10409 (strcspn): Do not use BP_SYM.
10410 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10411 "bp-asm.h".
10412 (PARMS): Do not use macros from bp-asm.h.
10413 (STR): Likewise.
10414 (STOP): Likewise.
10415 (strpbrk): Likewise. Do not use BP_SYM.
10416 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
10417 "bp-asm.h".
10418 (PARMS): Do not use macros from bp-asm.h.
10419 (STR): Likewise.
10420 (CHR): Likewise.
10421 (strrchr): Likewise. Do not use BP_SYM.
10422 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10423 (PARMS): Do not use macros from bp-asm.h.
10424 (SKIP): Likewise.
10425 (strspn): Do not use BP_SYM.
10426 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10427 (PARMS): Do not use macros from bp-asm.h.
10428 (STR): Likewise.
10429 (DELIM): Likewise.
10430 (SAVE): Likewise.
10431 (FUNCTION): Likewise. Do not use BP_SYM.
10432 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10433 aliases.
10434 (strtok_r): Likewise.
10435 (__GI___strtok_r): Likewise.
10436 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10437 (PARMS): Do not use macros from bp-asm.h.
10438 (S1): Likewise.
10439 (S2): Likewise.
10440 (SIZE): Likewise.
10441 (__mpn_sub_n): Do not use BP_SYM.
10442 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10443 "bp-asm.h".
10444 (PARMS): Do not use macros from bp-asm.h.
10445 (S1): Likewise.
10446 (SIZE): Likewise.
10447 (__mpn_submul_1): Do not use BP_SYM.
10448 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10449 <bp-sym.h>.
10450 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10451 and <bp-asm.h>.
10452 (PARMS): Do not use macros from bp-asm.h.
10453 (FLAGS): Likewise.
10454 (PTID): Likewise.
10455 (TLS): Likewise.
10456 (CTID): Likewise.
10457 (__clone): Do not use BP_SYM.
10458 (clone): Do not use BP_SYM in weak_alias.
10459 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10460 and <bp-asm.h>.
10461 (PARMS): Do not use macros from bp-asm.h.
10462 (LEN): Likewise.
10463 (__mmap64): Do not use BP_SYM.
10464 (mmap64): Do not use BP_SYM in weak_alias.
10465 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10466 <bp-sym.h> and <bp-asm.h>.
10467 (PARMS): Do not use macros from bp-asm.h.
10468 (__posix_fadvise64_l64): Do not use BP_SYM.
10469 * sysdeps/unix/sysv/linux/i386/semtimedop.S
10470 (PARMS): Do not use macros from bp-asm.h.
10471 (NSOPS): Likewise.
10472 (semtimedop): Do not use BP_SYM.
10473 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10474 and <bp-asm.h>.
10475
582a3cff
AM
104762013-02-21 Allan McRae <allan@archlinux.org>
10477
10478 * manual/message.texi (Charset conversion in gettext):
10479 Move @end statement to beginning of line.
10480
bab8a695
SP
104812013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10482
80945231
SP
10483 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10484 static.
10485 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10486 Likewise.
10487
bab8a695
SP
10488 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10489 (denorm): Likewise.
10490 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10492
e21d7aa7
AK
104932013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10494
10495 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10496 tail-call to the resolved function if pltexit isn't needed.
10497
4c7a4263
SP
104982013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10499
10500 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10501 or Y being zero as being unlikely.
10502 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10503 Likewise.
10504
41f49342
CD
105052013-02-20 Carlos O'Donell <carlos@redhat.com>
10506
10507 * manual/nss.texi (System Databases and Name Service Switch):
10508 Remove frobnicate @pxref.
10509
50022a93
TS
105102013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10511
10512 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10513 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10514
08cbd996
PM
105152013-02-20 Petr Machata <pmachata@redhat.com>
10516
10517 * elf/elf.h (R_ARM_TARGET1): New macro.
10518 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10519 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10520 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10521 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10522 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10523 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10524 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10525 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10526 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10527 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10528 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10529 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10530 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10531 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10532 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10533 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10534 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10535 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10536 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10537 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10538 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10539 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10540 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10541 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10542 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10543 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10544 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10545 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10546 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10547 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10548 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10549 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10550 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10551 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10552 (R_ARM_THM_GOT_BREL12): Likewise.
10553 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10554 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10555 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10556 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10557 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10558 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10559 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10560 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10561 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10562
c7b275d6
TS
105632013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10564
10565 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10566 __attribute_used__ to __attribute__ ((unused)).
10567
20cd7fb3
SP
105682013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10569
10570 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10571 powerpc mpa.c.
10572 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10573 comment formatting.
10574 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10575
92945b52
JM
105762013-02-19 Joseph Myers <joseph@codesourcery.com>
10577
10578 [BZ #13550]
10579 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10580 Remove macro.
10581 (ENTER): Remove both macro definitions.
10582 (LEAVE): Likewise.
10583 (CHECK_BOUNDS_LOW): Likewise.
10584 (CHECK_BOUNDS_HIGH): Likewise.
10585 (CHECK_BOUNDS_BOTH): Likewise.
10586 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10587 (RETURN_BOUNDED_POINTER): Likewise.
10588 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10589 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10590 (POP_ERRNO_LOCATION_RETURN): Likewise.
10591 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10592 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10593 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10594 macros.
10595 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10596 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10597 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10598 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10599 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10600 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10601 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10602 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10603 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10604 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10605 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10606 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10607 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10608 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10609 removed macros.
10610 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10611 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10612 macros.
10613 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10614 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10615 * sysdeps/i386/i586/memset.S (memset): Likewise.
10616 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10617 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10618 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10619 macros.
10620 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10621 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10622 Change uses of L(2) to L(out).
10623 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10624 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10625 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10626 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10627 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10628 removed macros.
10629 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10630 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10631 macros.
10632 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10633 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10634 (RETURN): Do not use macro LEAVE.
10635 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10636 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10637 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10638 * sysdeps/i386/i686/memset.S (memset): Likewise.
10639 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10640 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10641 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10642 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10643 Likewise.
10644 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10645 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10646 L(1_2) and L(1_3) into L(1).
10647 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10648 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10649 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10650 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10651 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10652 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10653 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10654 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10655 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10656 macros.
10657 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10658 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10659 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10660 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10661 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10662 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10663 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10664 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10665 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10666 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10667 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10668 * sysdeps/i386/strspn.S (strspn): Likewise.
10669 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10670 conditional code.
10671 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10672 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10673 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10674 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10675 L(1_3) into L(1_1).
10676 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10677 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10678 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10679 macros.
10680 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10681
2389741a
JJ
106822013-02-19 Jakub Jelinek <jakub@redhat.com>
10683
10684 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10685 macro.
10686
2016b3cd
SP
106872013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10688
e4f22324
SP
10689 * math/atest-exp.c (exp_mpn): Remove ROUND.
10690 * math/atest-exp2.c (exp_mpn): Likewise.
10691 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10692
2016b3cd
SP
10693 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10694 * stdlib/tst-tls-atexit-lib.c: Likewise.
10695 * stdlib/tst-tls-atexit.c: Likewise.
10696
4be9b544
MF
106972013-02-18 Mike Frysinger <vapier@gentoo.org>
10698
10699 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10700 and __attribute_alloc_size__.
10701
2f62b9ee
MF
107022013-02-18 Mike Frysinger <vapier@gentoo.org>
10703
10704 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10705 __attribute_alloc_size__.
10706 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10707 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10708
6ff444c4
MF
107092013-02-18 Mike Frysinger <vapier@gentoo.org>
10710
10711 * include/programs/xmalloc.h: New file.
10712 * catgets/gencat.c: Include it.
10713 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10714 * elf/pldd.c: Likewise.
10715 * iconv/iconv_charmap.c: Likewise.
10716 * iconv/iconvconfig.c: Likewise.
10717 * iconv/strtab.c: Likewise.
10718 * locale/programs/locale.c: Likewise.
10719 * locale/programs/localedef.h: Likewise.
10720 * locale/programs/simple-hash.c: Likewise.
10721 * nscd/nscd.h: Likewise.
10722 * nss/makedb.c: Likewise.
10723 * sysdeps/generic/ldconfig.h: Likewise.
10724
be179c8a
SP
107252013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10726
ba384f6e
SP
10727 * Versions.def: Add GLIBC_2.18.
10728 * include/link.h (struct link_map): New member l_tls_dtor_count.
10729 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10730 (__call_tls_dtors): Likewise.
10731 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10732 __cxa_thread_atexit_impl.
10733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10734 Likewise.
10735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10736 Likewise.
10737 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10738 Likewise.
10739 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10740 Likewise.
10741 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10742 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10743 Likewise.
10744 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10745 Likewise.
10746 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10747 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10748 Likewise.
10749 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10750 (tests): Add test case tst-tls-atexit.
10751 (modules-names): Add shared library for tst-tls-atexit.
85891aca 10752 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
10753 (GLIBC_PRIVATE): Add __call_tls_dtors.
10754 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10755 for libstdc++.
10756 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10757 * stdlib/tst-tls-atexit.c: New test case.
10758 * stdlib/tst-tls-atexit-lib.c: New test case.
10759
ffaa74cf 10760 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 10761
be179c8a
SP
10762 * elf/Versions (ld): Add _dl_find_dso_for_object.
10763 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10764 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10765 (dl_open_worker): Use _dl_find_dso_for_object.
10766 * elf/dl-sym.c (do_sym): Likewise.
10767 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10768
f78b5caa
AK
107692013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10770
10771 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10772 Syntactic changes only.
10773 (_dl_runtime_profile): Do a tail-call to the resolved function.
10774
29691210
JM
107752013-02-17 Joseph Myers <joseph@codesourcery.com>
10776
10777 [BZ #13550]
10778 * sysdeps/x86_64/bp-asm.h: Remove file.
10779 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10780 <bp-sym.h> and <bp-asm.h>.
10781 (__clone): Do not use BP_SYM.
10782 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10783 <bp-sym.h> and <bp-asm.h>.
10784 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10785 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10786 "bp-asm.h".
10787 (_setjmp): Do not use BP_SYM.
10788 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10789 "bp-asm.h".
10790 (setjmp): Do not use BP_SYM.
10791 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10792 libc_hidden_def.
10793 (mempcpy): Do not use BP_SYM in weak_alias.
10794 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10795 "bp-asm.h".
10796 (strchr): Do not use BP_SYM.
10797 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10798 "bp-asm.h".
10799 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10800 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10801 (_start): Do not use BP_SYM.
10802 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10803 "bp-asm.h".
10804 (strcat): Do not use BP_SYM.
10805 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10806 "bp-asm.h".
10807 (STRCMP): Do not use BP_SYM.
10808 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10809 "bp-asm.h".
10810 (STRCPY): Do not use BP_SYM.
10811 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10812 "bp-asm.h".
10813 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10814 "bp-asm.h".
10815 (FUNCTION): Do not use BP_SYM.
10816 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10817 weak_alias.
10818 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10819
f238fd19
AJ
108202013-02-17 Andreas Jaeger <aj@suse.de>
10821
10822 * time/Versions: Sort entries.
10823 * string/Versions: Likewise.
10824 * resolv/Versions: Likewise.
10825 * posix/Versions: Likewise.
10826 * iconv/Versions: Likewise.
10827 * elf/Versions: Likewise.
10828 * wcsmbs/Versions: Likewise.
10829
bd07f23c 108302013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 10831
22af19f9
SP
10832 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10833 loop termination condition.
10834
4709fe76
SP
10835 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10836 variable to calculate EZ.
10837 (__sqr): Likewise.
2d0e0f29
SP
10838
10839 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10840 the lower precision input.
10841
daaa7713
JM
108422013-02-15 Joseph Myers <joseph@codesourcery.com>
10843
10844 [BZ #13550]
10845 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10846 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10847 (run-via-rtld-prefix): Do not handle %-bp tests.
10848 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10849 (all-object-suffixes): Remove .ob.
10850 (bppfx): Remove variable.
10851 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10852 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10853 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10854 [$(build-bounded) = yes] (libtype.ob): Likewise.
10855 * Makerules (elide-routines.ob): Remove variable.
10856 (do-tests-clean): Do not handle *-bp.out.
10857 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10858 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10859 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10860 (tests): Do not include $(tests-bp.out).
10861 (xtests): Do not include $(xtests-bp.out).
10862 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10863 [$(build-bounded) = yes] ($(addprefix
10864 $(objpfx),$(binaries-bounded))): Remove rule.
10865 ($(objpfx)%-bp.out): Remove rule.
10866 * config.make.in (build-bounded): Remove variable.
10867 * crypt/Makefile [$(build-bounded) = yes]
10868 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10869 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10870 append to variable.
10871 [$(build-bounded) = yes] (install-lib): Likewise.
10872 [$(build-bounded) = yes] (generated): Likewise.
10873 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10874 Remove rule.
10875 * intl/Makefile [$(build-bounded) = yes]
10876 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10877 * math/Makefile [$(build-bounded) = yes]
10878 ($(tests:%=$(objpfx)%-bp): Likewise.
10879 * misc/Makefile [$(build-bounded) = yes]
10880 ($(objpfx)tst-tsearch-bp): Likewise.
10881 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10882 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10883 Remove dependency.
10884 * string/Makefile (o-objects.ob): Remove variable.
10885 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10886 (CFLAGS-.ob): Remove variable.
10887 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10888 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10889 both definitions of variable.
10890 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10891 (ASFLAGS-.ob): Remove variable.
10892
e97ed6dd
JM
108932013-02-14 Joseph Myers <joseph@codesourcery.com>
10894
2bdd4ca6
JM
10895 [BZ #13550]
10896 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10897 Remove __BOUNDED_POINTERS__ from condition.
10898 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10899 * string/bits/string2.h [!__NO_STRING_INLINES &&
10900 !__BOUNDED_POINTERS__]: Likewise.
10901 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10902 Likewise.
10903 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10904 Remove conditional code.
10905 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10906 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10907 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10908 condition.
10909
e97ed6dd
JM
10910 [BZ #13550]
10911 * csu/libc-start.c: Do not include <bp-sym.h>.
10912 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10913 * elf/dl-open.c: Do not include <bp-sym.h>.
10914 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10915 * math/fegetenv.c: Do not include <bp-sym.h>.
10916 (fegetenv): Do not use BP_SYM in versioned symbols.
10917 * nptl/sysdeps/pthread/bits/libc-lockP.h
10918 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10919 <bp-sym.h>.
10920 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10921 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10922 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10923 (__pthread_mutex_destroy): Likewise.
10924 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10925 (__pthread_mutex_lock): Likewise.
10926 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10927 (__pthread_mutex_trylock): Likewise.
10928 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10929 (__pthread_mutex_unlock): Likewise.
10930 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10931 (__pthread_mutexattr_init): Likewise.
10932 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10933 (__pthread_mutexattr_destroy): Likewise.
10934 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10935 (__pthread_mutexattr_settype): Likewise.
10936 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10937 (__pthread_rwlock_init): Likewise.
10938 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10939 (__pthread_rwlock_destroy): Likewise.
10940 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10941 (__pthread_rwlock_rdlock): Likewise.
10942 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10943 (__pthread_rwlock_tryrdlock): Likewise.
10944 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10945 (__pthread_rwlock_wrlock): Likewise.
10946 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10947 (__pthread_rwlock_trywrlock): Likewise.
10948 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10949 (__pthread_rwlock_unlock): Likewise.
10950 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10951 (__pthread_key_create): Likewise.
10952 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10953 (__pthread_setspecific): Likewise.
10954 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10955 (__pthread_getspecific): Likewise.
10956 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10957 Likewise.
10958 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10959 (_pthread_cleanup_push_defer): Likewise.
10960 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10961 (_pthread_cleanup_pop_restore): Likewise.
10962 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10963 (pthread_setcancelstate): Likewise.
10964 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
10965 <bp-sym.h>.
10966 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
10967 (memchr): Do not use BP_SYM in weak_alias.
10968 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
10969 (fegetenv): Do not use BP_SYM in versioned symbols.
10970 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
10971 (fesetenv): Do not use BP_SYM in versioned symbols.
10972 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10973 (feupdateenv): Do not use BP_SYM in versioned symbols.
10974 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10975 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10976 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
10977 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
10978 (open64): Do not use BP_SYM in weak_alias.
10979 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
10980 (fegetenv): Do not use BP_SYM in versioned symbols.
10981 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
10982 (fesetenv): Do not use BP_SYM in versioned symbols.
10983 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
10984 (feupdateenv): Do not use BP_SYM in versioned symbols.
10985 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
10986 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
10987 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
10988 (feraiseexcept): Do not use BP_SYM in versioned symbols.
10989 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
10990 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
10991 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
10992 <bp-sym.h>.
10993 (__libc_start_main): Do not use BP_SYM.
10994
d6752ccd
SP
109952013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
10996
cb57ce60
SP
10997 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
10998 redundant return line.
10999 (norm): Likewise.
11000 (denorm): Likewise.
11001 (dbl_mp): Likewise.
11002 (sub_magnitudes): Likewise.
11003 (__add): Likewise.
11004 (__sub): Likewise.
11005 (__mul): Likewise.
11006 (__inv): Likewise.
11007 (__dvd): Likewise.
11008 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11009 (norm): Likewise.
11010 (denorm): Likewise.
11011 (dbl_mp): Likewise.
11012 (sub_magnitudes): Likewise.
11013 (__add): Likewise.
11014 (__sub): Likewise.
11015 (__mul): Likewise.
11016 (__inv): Likewise.
11017 (__dvd): Likewise.
11018
f414520d
SP
11019 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11020 instead of __mul.
11021 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11022 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11023 (cc32): Likewise.
11024
d6752ccd
SP
11025 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11026 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11027 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11028 of __mul for squares.
11029 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11030 function
11031 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11032 Likewise.
11033 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11034 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11035
70d9946a
JM
110362013-02-13 Joseph Myers <joseph@codesourcery.com>
11037
11038 [BZ #13550]
11039 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11040 code.
11041 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11042 prototype or function definition. Rename ubp_* variables and
11043 parameters. Remove argv definitions conditional on
11044 [__BOUNDED_POINTERS__].
11045 * debug/backtrace.c (__backtrace): Do not use __unbounded.
11046 * elf/dl-runtime.c (_dl_fixup): Likewise.
11047 * include/set-hooks.h (RUN_HOOK): Likewise.
11048 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11049 definition.
11050 * string/strcpy.c (strcpy): Do not use __unbounded.
11051 * sysdeps/generic/frame.h (struct layout): Likewise.
11052 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11053 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11054 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11055 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11056 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11057 (__backtrace): Likewise.
11058 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11059 use __ptrvalue.
11060 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11061 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11062 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11063 Likewise.
11064 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11065 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11066 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11067 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11068 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11069 Do not use __unbounded.
11070 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11071 Rename __unboundedrlimits parameter to rlimits in prototype.
11072 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11073 Do not use __unbounded.
11074 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11075 not use __ptrvalue.
11076 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11077 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11078 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11079 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11080 __ptrvalue or __unbounded.
11081 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11082 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11083 use __unbounded.
11084 (__new_msgctl): Do not use __ptrvalue.
11085 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11086 __unbounded.
11087 (__libc_msgrcv): Do not use __ptrvalue.
11088 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11089 startup_info): Do not use __unbounded.
11090 (__libc_start_main): Likewise. Rename ubp_* variables and
11091 parameters. Remove argv definitions conditional on
11092 [__BOUNDED_POINTERS__].
11093 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11094 __ptrvalue.
11095 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11096 use __unbounded.
11097 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11098 or __ptrvalue.
11099 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11100 use __unbounded.
11101 (__new_shmctl): Do not use __ptrvalue.
11102 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11103 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11104 Likewise.
11105 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11106 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11107 (__libc_sigaction): Likewise.
11108 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11109 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11110 Likewise.
11111 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11112
cc7834d6
OB
111132013-02-13 Ondřej Bílka <neleai@seznam.cz>
11114
ffb1ec7b 11115 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
11116
11117 * string/mempcpy.c: Implement by calling memcpy.
11118
bdf02814
SP
111192013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11120
c2af38aa
SP
11121 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11122
4e92d59e
SP
11123 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11124 evaluation.
11125
909279a5
SP
11126 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11127 values in the mantissa.
11128
bdf02814
SP
11129 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11130 minimize writes to Z.
11131 (sub_magnitudes): Simplify code a bit.
11132
cd525923
RM
111332013-02-12 Roland McGrath <roland@hack.frob.com>
11134
11135 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11136 from the message. The linker prefixes all warnings with that already.
11137
7e2f0d2d
AS
111382013-02-12 Andreas Schwab <schwab@suse.de>
11139
a445af0b
AS
11140 [BZ #15078]
11141 * posix/regexec.c (extend_buffers): Add parameter min_len.
11142 (check_matching): Pass minimum needed length.
11143 (clean_state_log_if_needed): Likewise.
11144 (get_subexp): Likewise.
11145 * posix/Makefile (tests): Add bug-regex34.
11146 (bug-regex34-ENV): Define.
11147 * posix/bug-regex34.c: New file.
11148
7e2f0d2d
AS
11149 [BZ #11561]
11150 * posix/regcomp.c (parse_bracket_exp): When looking up collating
11151 elements compare against the byte sequence of it, not its name.
11152 * posix/Makefile (tests): Add bug-regex35.
11153 (bug-regex35-ENV): Define.
11154 * posix/bug-regex35.c: New file.
11155
a175b684
TV
111562013-02-11 Tom de Vries <tom@codesourcery.com>
11157
11158 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
11159 comment.
11160 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11161 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11162 (CHECK_EOL): Add undef.
11163
310998fe 111642013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
11165
11166 * bits/stdlib-bsearch.h: New file.
11167 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 11168 * stdlib/stdlib.h: Likewise.
41eda41d 11169
8ded91fb
RM
111702013-02-11 Roland McGrath <roland@hack.frob.com>
11171
11172 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11173 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11174 declaration.
11175 * manual/search.texi (Array Search Function): Add missing const in
11176 lfind prototype.
11177 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11178 declaration to use rlim_t.
11179 (Basic Scheduling Functions): Remove erroneous const from
11180 sched_getparam prototype. Remove erroneous * from
11181 sched_get_priority_max and sched_get_priority_min prototypes.
11182 (Resource Usage): Fix summary @comment on vtimes to refer to
11183 sys/vtimes.h rather than vtimes.h.
11184 Add missing *s in vtimes prototype.
11185 (Limits on Resources): Fix ulimit prototype to return long int.
11186 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11187 prototypes to use long int rather than double.
11188 (BSD Random): Fix initstate and setstate to use char *, not void *.
11189 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11190 prototype to make second argument 'struct aiocb64 *const[]'.
11191 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11192 (Status of AIO Operations): Remove erroneous const in aio_return and
11193 aio_return64 prototypes.
11194 (Synchronizing I/O): Fix sync prototype to return void.
11195 * manual/startup.texi (Suboptions): Remove an erroneous const in
11196 getsubopt prototype.
11197 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11198 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11199 use size_t rather than int.
11200 (Scanning All Users): Likewise for getpwent_r.
11201 (Setting Groups): Add missing const to setgroups prototype.
11202 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11203 * manual/socket.texi (Host Names): Fix gethostbyaddr and
11204 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11205 'const void *' rather than 'const char *'.
11206 (Host Address Functions): Likewise for inet_ntop.
11207 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11208 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11209 ssize_t for return value.
11210 (Sending Data): Likewise for send, sendto, sendmsg.
11211 (Socket Option Functions): Add a missing const in setsockopt prototype.
11212 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11213 use wchar_t for the argument.
11214 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11215 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11216 take no arguments.
11217 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11218 double/float/long double for second argument.
11219 Fix return types of significand, significandf, significandl.
11220 * manual/filesys.texi (Setting Permissions): Use mode_t for second
11221 argument in fchmod prototype.
11222 (File Owner): Use uid_t and gid_t in fchown prototype.
11223 (File Times): Add const to utimes, futimes, and lutimes prototypes.
11224 (Making Special Files): Use mode_t and dev_t in mknod prototype.
11225 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11226 use 'const struct dirent **' as argument types to CMP function pointer
11227 argument.
11228 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11229 (File Times): Fix summary magic @comment for struct utimbuf and utime
11230 to refer to utime.h, not time.h.
11231 * manual/string.texi (Argz Functions): Add missing const in
11232 argz_extract and argz_next prototypes.
11233 (Finding Tokens in a String): Likewise for basename.
11234 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11235 (Copying and Concatenation): Fix typo in wmemmove prototype.
11236 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11237 (Signal Stack): Remove erroneous const in sigstack prototype.
11238 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11239 prototype.
11240 (Simple Calendar Time): Likewise for stime.
11241 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11242 prototype.
11243 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11244 say sys/sysctl.h instead.
11245 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11246 and vsyslog prototypes.
11247
fe77fe6d
TV
112482013-02-11 Tom de Vries <tom@codesourcery.com>
11249
11250 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11251 Remove.
11252
3a09b620
RM
112532013-02-11 Roland McGrath <roland@hack.frob.com>
11254
11255 * misc/sys/mman.h: Fix typo in mremap comment.
11256
550a0b89
RM
112572013-02-08 Roland McGrath <roland@hack.frob.com>
11258
11259 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11260 the '\0' terminator.
11261
a2da1673
JM
112622013-02-08 Joseph Myers <joseph@codesourcery.com>
11263
11264 [BZ #13550]
11265 * debug/segfault.c: Don't include <bp-checks.h>.
11266 * sysdeps/generic/bp-checks.h: Remove file.
11267 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11268 (__GETDENTS): Don't use CHECK_N.
11269 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11270 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11271 (__getgroups): Don't use CHECK_N.
11272 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11273 (setgroups): Don't use CHECK_N.
11274 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11275 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11276 (__libc_msgrcv): Don't use CHECK_N.
11277 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11278 (__libc_msgsnd): Don't use CHECK_N.
11279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11280 <bp-checks.h>.
11281 (__libc_pread): Don't use CHECK_N.
11282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11283 include <bp-checks.h>.
11284 (__libc_pread64): Don't use CHECK_N.
11285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11286 include <bp-checks.h>.
11287 (__libc_pwrite): Don't use CHECK_N.
11288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11289 include <bp-checks.h>.
11290 (__libc_pwrite64): Don't use CHECK_N.
11291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11292 <bp-checks.h>.
11293 (__libc_pread): Don't use CHECK_N.
11294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11295 include <bp-checks.h>.
11296 (__libc_pread64): Don't use CHECK_N.
11297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11298 include <bp-checks.h>.
11299 (__libc_pwrite): Don't use CHECK_N.
11300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11301 include <bp-checks.h>.
11302 (__libc_pwrite64): Don't use CHECK_N.
11303 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11304 (do_pread): Don't use CHECK_N.
11305 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11306 (do_pread64): Don't use CHECK_N.
11307 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11308 (do_pwrite): Don't use CHECK_N.
11309 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11310 (do_pwrite64): Don't use CHECK_N.
11311 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11312 (__libc_readv): Don't use CHECK_N.
11313 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11314 (semop): Don't use CHECK_N.
11315 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11316 <bp-checks.h>.
11317 (semtimedop): Don't use CHECK_N.
11318 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11319 (__libc_pread): Don't use CHECK_N.
11320 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11321 <bp-checks.h>.
11322 (__libc_pread64): Don't use CHECK_N.
11323 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11324 <bp-checks.h>.
11325 (__libc_pwrite): Don't use CHECK_N.
11326 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11327 <bp-checks.h>.
11328 (__libc_pwrite64): Don't use CHECK_N.
11329 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11330 <bp-checks.h>.
11331 (__libc_msgrcv): Don't use CHECK_N.
11332 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11333 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
11334 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11335 (__libc_writev): Don't use CHECK_N.
11336
b84660a8
RM
113372013-02-08 Roland McGrath <roland@hack.frob.com>
11338
7f3e75f8
RM
11339 * string/strcpy.c: Removed unused variable.
11340
b84660a8
RM
11341 * Makeconfig (+sysdep-includes): Define with := rather than =.
11342 Use an existing include/ subdir of each sysdeps dir before it.
11343
471514d3
CD
113442013-02-08 Carlos O'Donell <carlos@redhat.com>
11345
11346 * nscd/connection.c (register_traced_file): Comment function.
11347 [HAVE_INOTIFY] (union __inev): Define.
11348 [HAVE_INOTIFY] (inotify_check_files): New function.
11349 [HAVE_INOTIFY] (clear_db_cache): Likewise.
11350 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11351 clear_db_cache.
11352 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11353
b2d3c3be
CD
113542013-02-08 Carlos O'Donell <carlos@redhat.com>
11355
11356 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11357 loaded if not already and that a failure is permanent.
11358
b39949d2
CD
113592013-02-08 Carlos O'Donell <carlos@redhat.com>
11360
ddacd1db 11361 [BZ #15006]
b39949d2
CD
11362 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11363 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11364
b2c9eff4
JM
113652013-02-08 Joseph Myers <joseph@codesourcery.com>
11366
f3aae3f3
JM
11367 [BZ #13550]
11368 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11369 (CHECK_1_NULL_OK): Likewise.
11370 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11371 (__fxstat): Do not use CHECK_1.
11372 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11373 <bp-checks.h>.
11374 (___fxstat64): Do not use CHECK_1.
11375 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11376 <bp-checks.h>.
11377 (__fxstatat): Do not use CHECK_1.
11378 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11379 <bp-checks.h>.
11380 (__fxstatat64): Do not use CHECK_1.
11381 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11382 <bp-checks.h>.
11383 (__fxstat): Do not use CHECK_1.
11384 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11385 <bp-checks.h>.
11386 (__fxstatat): Do not use CHECK_1.
11387 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11388 <bp-checks.h>.
11389 (__getresgid): Do not use CHECK_1.
11390 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11391 <bp-checks.h>.
11392 (__getresuid): Do not use CHECK_1.
11393 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11394 <bp-checks.h>.
11395 (__lxstat): Do not use CHECK_1.
11396 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11397 <bp-checks.h>.
11398 (__old_msgctl): Do not use CHECK_1.
11399 (__new_msgctl): Likewise.
11400 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11401 <bp-checks.h>.
11402 (__new_setrlimit): Do not use CHECK_1.
11403 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11404 <bp-checks.h>.
11405 (__old_shmctl): Do not use CHECK_1.
11406 (__new_shmctl): Likewise.
11407 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11408 <bp-checks.h>.
11409 (__xstat): Do not use CHECK_1.
11410 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
11411 (__lxstat): Do not use CHECK_1.
11412 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
11413 <bp-checks.h>.
11414 (___lxstat64): Do not use CHECK_1.
11415 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
11416 (__old_msgctl): Do not use CHECK_1.
11417 (__new_msgctl): Likewise.
11418 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
11419 <bp-checks.h>.
11420 (__gettimeofday): Do not use CHECK_1.
11421 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11422 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11423 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11424 <bp-checks.h>.
11425 (__gettimeofday): Do not use CHECK_1.
11426 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11427 (__old_shmctl): Do not use CHECK_1_NULL_OK.
11428 (__new_shmctl): Do not use CHECK_1.
11429 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11430 <bp-checks.h>.
11431 (do_sigtimedwait): Do not use CHECK_1.
11432 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11433 <bp-checks.h>.
11434 (do_sigwaitinfo): Do not use CHECK_1.
11435 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11436 <bp-checks.h>.
11437 (msgctl): Do not use CHECK_1.
11438 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11439 <bp-checks.h>.
11440 (shmctl): Do not use CHECK_1.
11441 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11442 (ustat): Do not use CHECK_1.
11443 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11444 <bp-checks.h>.
11445 (__fxstat): Do not use CHECK_1.
11446 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11447 <bp-checks.h>.
11448 (__fxstatat): Do not use CHECK_1.
11449 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11450 <bp-checks.h>.
11451 (__lxstat): Do not use CHECK_1.
11452 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11453 <bp-checks.h>.
11454 (__xstat): Do not use CHECK_1.
11455 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11456 (__xstat): Do not use CHECK_1.
11457 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11458 (___xstat64): Do not use CHECK_1.
11459
b2c9eff4
JM
11460 [BZ #13550]
11461 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11462 definitions.
11463 (CHECK_BOUNDS_HIGH): Likewise.
11464 * string/strcpy.c: Do not include <bp-checks.h>.
11465 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11466
f1d70dad
RM
114672013-02-07 Roland McGrath <roland@hack.frob.com>
11468
11469 * nscd/nscd-client.h (__nscd_drop_map_ref):
11470 Add __attribute__ ((unused)).
11471 * nis/nss-nisplus.h (niserr2nss): Likewise.
11472
11473 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11474 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11475
11476 * csu/libc-tls.c (init_static_tls, init_slotinfo):
11477 Remove inline keyword.
11478 * include/rounding-mode.h (round_away): Likewise.
11479 * libio/wfileops.c (adjust_wide_data): Likewise.
11480 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11481 (__m128i_strloadu_tolower): Likewise.
11482 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11483 (__m128i_strloadu_tolower): Likewise.
11484 * time/mktime.c (ydhms_diff): Likewise.
11485 * locale/elem-hash.h (elem_hash): Likewise.
11486 * locale/setlocale.c (setdata): Likewise.
11487 * posix/regex_internal.h (re_string_char_size_at): Likewise.
11488 (re_string_wchar_at): Likewise.
11489 (bitset_not, bitset_merge, bitset_mask): Likewise.
11490 [!(__GNUC__ > 3)] (inline): Remove macro.
11491 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11492 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11493 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11494 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11495 * string/memcmp.c (memcmp_bytes): Likewise.
11496 * locale/programs/locarchive.c (compute_hashval): Likewise.
11497 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11498 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11499 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11500 * nss/getent.c (print_rpc, print_protocols): Likewise.
11501 (print_passwd, print_group, print_aliases): Likewise.
11502 * nis/nss-nisplus.h (niserr2nss): Likewise.
11503 * nscd/connections.c (restart_p): Likewise.
11504 Change return type to bool.
11505
eab55bfb
RM
115062013-02-05 Roland McGrath <roland@hack.frob.com>
11507
7bd642f5
RM
11508 * Makeconfig (all-Depend-files): Add existing
11509 $(sorted-subdirs:=/Depend) files.
11510 (all-subdirs): Remove nss.
11511 * sysdeps/unix/inet/Subdirs: Add it here instead.
11512 * hesiod/Depend: New file.
11513
573c29b2
RM
11514 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11515 instead of calling alloca.
11516
b2e25af0
RM
11517 * io/lseek.c (__lseek): Rename to __libc_lseek.
11518 Define __lseek as an alias.
11519
eab55bfb
RM
11520 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11521
9a0d1941
CD
115222013-02-04 Carlos O'Donell <carlos@redhat.com>
11523
11524 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11525 else clause and remove check for non-standard endianness.
11526
b83bbec4
DM
115272013-02-04 David S. Miller <davem@davemloft.net>
11528
11529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11530
6277fdab
JM
115312013-02-04 Joseph Myers <joseph@codesourcery.com>
11532
11533 [BZ #13550]
11534 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11535 (__ubp_memchr): Remove prototype.
11536 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11537 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11538 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11539 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11540 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11541 Remove alias.
11542 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11543 (__ubp_memchr): Likewise.
11544 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11545 (__ubp_memchr): Likewise.
11546 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11547 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11548 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11549 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11550 CHECK_STRING.
11551 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11552 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11553 (__getcwd): Do not use CHECK_STRING.
11554 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11555 <bp-checks.h>.
11556 (__real_chown): Do not use CHECK_STRING.
11557 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11558 <bp-checks.h>.
11559 (fchownat): Do not use CHECK_STRING.
11560 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11561 CHECK_STRING.
11562 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11563 <bp-checks.h>.
11564 (__lchown): Do not use CHECK_STRING.
11565 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11566 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11567 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11568 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11570 include <bp-checks.h>.
11571 (truncate64): Do not use CHECK_STRING.
11572 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11573 <bp-checks.h>.
11574 (__real_chown): Do not use CHECK_STRING.
11575 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11576 <bp-checks.h>.
11577 (__lchown): Do not use CHECK_STRING.
11578 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11579 <bp-checks.h>.
11580 (__chown): Do not use CHECK_STRING.
11581 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11582 <bp-checks.h>.
11583 (truncate64): Do not use CHECK_STRING.
11584 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11585 Likewise.
11586 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11587 (__xmknod): Do not use CHECK_STRING.
11588 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11589 <bp-checks.h>.
11590 (__xmknodat): Do not use CHECK_STRING.
11591 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11592 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11593
903ae060
AS
115942013-02-04 Andreas Schwab <schwab@suse.de>
11595
11596 [BZ #14142]
11597 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11598 * include/netdb.h: Likewise for h_errno.
11599 * elf/tst-stackguard1.c: Include <tls.h>.
11600
542f9466
JK
116012013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11602
11603 * elf/link.h (struct link_map): Extend the l_addr comment.
11604 * include/link.h (struct link_map): Likewise.
11605
e782a927
JM
116062013-02-01 Joseph Myers <joseph@codesourcery.com>
11607
11608 [BZ #13550]
11609 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11610 (BOUNDED_1): Remove macro.
11611 * debug/backtrace.c: Don't include <bp-checks.h>.
11612 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11613 (__backtrace): Likewise.
11614 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11615 <bp-checks.h>.
11616 (__backtrace): Don't use BOUNDED_1.
11617 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11618 <bp-checks.h>.
11619 (__backtrace): Don't use BOUNDED_1.
11620 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11621 (__backtrace): Don't use BOUNDED_1.
11622 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11623 (shmat): Don't use BOUNDED_N.
11624
8cf28c5e
JM
116252013-01-31 Joseph Myers <joseph@codesourcery.com>
11626
3a7ac8a0
JM
11627 [BZ #13550]
11628 * sysdeps/generic/bp-start.h: Remove file.
11629 * csu/libc-start.c: Don't include <bp-start.h>.
11630 (LIBC_START_MAIN): Set up __environ directly instead of using
11631 INIT_ARGV_and_ENVIRON.
11632 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11633 <bp-start.h>.
11634
f3499f95
JM
11635 [BZ #13550]
11636 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11637 definitions.
11638 (CHECK_FCNTL): Likewise.
11639 (CHECK_N_PAGES): Likewise.
11640
32a45bea
JM
11641 [BZ #13550]
11642 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11643 definitions.
11644 (CHECK_SIGSET_NULL_OK): Likewise.
11645 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11646 <bp-checks.h>.
11647 (sigpending): Don't use CHECK_SIGSET.
11648 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11649 <bp-checks.h>.
11650 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11651 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11652 <bp-checks.h>.
11653 (do_sigsuspend): Don't use CHECK_SIGSET.
11654 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11655 use CHECK_SIGSET.
11656 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11657 (do_sigwait): Don't use CHECK_SIGSET.
11658 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11659 use CHECK_SIGSET.
11660 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11661 include <bp-checks.h>.
11662 (sigpending): Don't use CHECK_SIGSET.
11663 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11664 include <bp-checks.h>.
11665 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11666 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11667 <bp-checks.h>.
11668 (sigpending): Don't use CHECK_SIGSET.
11669 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11670 <bp-checks.h>.
11671 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11672
2e8a5c8c
JM
11673 [BZ #13550]
11674 * sysdeps/generic/bp-semctl.h: Remove file.
11675 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11676 <bp-checks.h> and <bp-semctl.h>.
11677 (__old_semctl): Don't use CHECK_SEMCTL.
11678 (__new_semctl): Likewise.
11679 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11680 and <bp-semctl.h>.
11681 (__old_semctl): Don't use CHECK_SEMCTL.
11682 (__new_semctl): Likewise.
11683 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11684 <bp-checks.h> and <bp-semctl.h>.
11685 (__old_semctl): Don't use CHECK_SEMCTL.
11686 (__new_semctl): Likewise.
11687 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11688 <bp-checks.h> and <bp-semctl.h>.
11689 (semctl): Don't use CHECK_SEMCTL.
11690
c2d54929
JM
11691 [BZ #13550]
11692 * Makerules (elide-bp-thunks): Remove variable.
11693 (elide-routines.oS): Don't use $(elide-bp-thunks).
11694 (elide-routines.os): Likewise.
11695 (elide-routines.o): Likewise.
11696 (elide-routines.op): Likewise.
11697 (elide-routines.og): Likewise.
11698 (objects): Don't use $(bp-thunks).
11699 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11700 include.
11701 (common-generated): Do not add s-proto-bp.d.
11702 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11703 (int): Likewise.
11704 (typ): Likewise.
11705 Do not generate makefile rules for bounded-pointer thunks.
11706 * sysdeps/generic/bp-thunks.h: Remove file.
11707 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11708 * sysdeps/unix/s-proto-bp.S: Likewise.
11709
8cf28c5e
JM
11710 [BZ #15062]
11711 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11712 parts of result separately when argument is not close to line from
11713 -i to i and one part of argument is small.
11714 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11715 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11716 * math/libm-test.inc (cacos_test): Add more tests.
11717 (casin_test): Likewise.
11718 (casinh_test): Likewise.
11719 * sysdeps/i386/fpu/libm-test-ulps: Update.
11720 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11721
c4e33b8d
DM
117222013-01-31 David S. Miller <davem@davemloft.net>
11723
11724 * po/de.po: Update from translation team.
11725
3b60b421
MK
117262013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11727
11728 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11729
bb931195
TS
117302013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11731
b5a5da23
TS
11732 * configure.in (_AC_PROG_CC_C89): New definition.
11733 * configure: Regenerate.
11734
bb931195
TS
11735 * configure.in (AC_PROG_CPP): New definition.
11736 * configure: Regenerate.
11737
8c53a12c
JM
117382013-01-23 Joseph Myers <joseph@codesourcery.com>
11739
11740 * debug/tst-backtrace.h: New file.
11741 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11742 (ret): Remove variable.
11743 (x): Likewise.
11744 (FAIL): Remove macro.
11745 (NO_INLINE): Likewise.
11746 (fn1): Use match function instead of strstr.
11747 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11748 (ret): Remove variable.
11749 (x): Likewise.
11750 (FAIL): Remove macro.
11751 (NO_INLINE): Likewise.
11752 (fn): Use match function instead of strstr.
11753 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11754 (ret): Remove variable.
11755 (x): Likewise.
11756 (FAIL): Remove macro.
11757 (NO_INLINE): Likewise.
11758 (handle_signal): Use match function instead of strstr.
11759 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11760 (ret): Remove variable.
11761 (x): Likewise.
11762 (FAIL): Remove macro.
11763 (NO_INLINE): Likewise.
11764 (handle_signal): Use match function instead of strstr.
11765
4858fa2a
RM
117662013-01-23 Roland McGrath <roland@hack.frob.com>
11767
11768 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11769
bae8e7f5
DM
117702013-01-23 David S. Miller <davem@davemloft.net>
11771
11772 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11773 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11774 argument of CAS if possible.
11775 * sysdeps/sparc/sparc64/bits/atomic.h
11776 (__arch_compare_and_exchange_val_32_acq): Likewise.
11777 (__arch_compare_and_exchange_val_64_acq): Likewise.
11778
9cbbc4ae
PT
117792013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11780
11781 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11782 * sysdeps/posix/ulimit.c: ... this.
92a601b8 11783 Include <limits.h>.
67b3f58c 11784 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 11785
5655a0b5
AC
117862013-01-23 Adam Conrad <adconrad@0c3.net>
11787
11788 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11789 (LDFLAGS-tst-array5): Likewise.
11790
052aff95
JM
117912013-01-23 Joseph Myers <joseph@codesourcery.com>
11792
11793 [BZ #15036]
11794 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11795 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11796 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11797 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11798
7c1e01aa
DM
117992013-01-21 David S. Miller <davem@davemloft.net>
11800
11801 * sysdeps/sparc/backtrace.c: New file.
11802 * sysdeps/sparc/sparc32/backtrace.h: New file.
11803 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11804 * sysdeps/sparc/sparc64/backtrace.h: New file.
11805 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11806 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11807 -funwind-tables.
11808
ab087e0a
AS
118092013-01-21 Andreas Schwab <schwab@suse.de>
11810
11811 [BZ #15020]
11812 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11813 closed its stdout.
11814
ed689c2f
AS
118152013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11816
11817 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11818 "mpa2.h".
11819 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11820
31d470ac
JM
118212013-01-18 Joseph Myers <joseph@codesourcery.com>
11822 Mark Mitchell <mark@codesourcery.com>
11823 Tom de Vries <tom@codesourcery.com>
11824 Paul Pluzhnikov <ppluzhnikov@google.com>
11825
11826 * debug/tst-backtrace2.c: New file.
11827 * debug/tst-backtrace3.c: Likewise.
11828 * debug/tst-backtrace4.c: Likewise.
11829 * debug/tst-backtrace5.c: Likewise.
11830 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11831 (CFLAGS-tst-backtrace3.c): Likewise.
11832 (CFLAGS-tst-backtrace4.c): Likewise.
11833 (CFLAGS-tst-backtrace5.c): Likewise.
11834 (LDFLAGS-tst-backtrace2): Likewise.
11835 (LDFLAGS-tst-backtrace3): Likewise.
11836 (LDFLAGS-tst-backtrace4): Likewise.
11837 (LDFLAGS-tst-backtrace5): Likewise.
11838 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11839 tst-backtrace4 and tst-backtrace5.
11840
90567f30 118412013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
11842 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11843
11844 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11845 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11846 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11847 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11848 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11849 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11850 "+r" and remove output regs list as redundant. Add explicit inline
11851 asm to specify register of return val to work around compiler codegen
11852 bug. Remove (int) cast on return value. Add return type parameter to
11853 use in macro so that this macro does not truncate return value for
11854 64-bit values.
11855 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11856 pass to INTERNAL_VSYSCALL_NCS.
11857 (INLINE_VSYSCALL): Add 'long int' as return type to
11858 INTERNAL_VSYSCALL_NCS macro invocation.
11859 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11860 INTERNAL_VSYSCALL_NCS macro invocation.
11861 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11862
d3b9ea61
SP
118632013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11864
0b57daeb
SP
11865 [BZ #14496]
11866 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11867 Fix application of SIMD FP exception mask.
11868
caa99d06
SP
11869 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11870 mp_no from a power of two.
11871 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11872 __mpexp_twomm1. Use __pow_mp.
11873
d3b9ea61
SP
11874 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11875 multiplication.
11876
1dbaee3c
DM
118772013-01-17 David S. Miller <davem@davemloft.net>
11878
11879 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11880
728d7b43
JM
118812013-01-17 Joseph Myers <joseph@codesourcery.com>
11882
11883 [BZ #15023]
11884 * include/complex.h: Condition contents on [!_COMPLEX_H].
11885 (__kernel_casinhf): New prototype.
11886 (__kernel_casinh): Likewise.
11887 (__kernel_casinhl): Likewise.
11888 * math/Makefile (libm_calls): Add k_casinh.
11889 * math/k_casinh.c: New file.
11890 * math/k_casinhf.c: Likewise.
11891 * math/k_casinhl.c: Likewise.
11892 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11893 finite nonzero arguments.
11894 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11895 finite nonzero arguments.
11896 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11897 finite nonzero arguments.
11898 * math/s_casinh.c: Do not include <float.h>.
11899 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11900 * math/s_casinhf.c: Do not include <float.h>.
11901 (__casinhf): Move code for finite nonzero arguments to
11902 k_casinhf.c.
11903 * math/s_casinhl.c: Do not include <float.h>.
11904 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11905 redefine.
11906 (__casinhl): Move code for finite nonzero arguments to
11907 k_casinhl.c.
11908 * math/libm-test.inc (cacos_test): Add more tests.
11909 * sysdeps/i386/fpu/libm-test-ulps: Update.
11910 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11911
2a26ef3a
PT
119122013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11913
11914 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11915 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11916 [!HAVE_MREMAP]: Remove [defined linux] case.
11917 * malloc/arena.c: Do not include <malloc-sysdep.h>.
11918
a897655d
SP
119192013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11920
11921 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11922
881ebe89 119232013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
11924
11925 * elf/elf.h (R_386_SIZE32): New relocation.
11926 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11927 R_386_SIZE32.
11928 (elf_machine_rela): Likewise.
11929 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11930 R_X86_64_SIZE64 and R_X86_64_SIZE32.
11931
59981e9b
JM
119322013-01-17 Joseph Myers <joseph@codesourcery.com>
11933
11934 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11935 (FP_FAST_FMA): Do not define.
11936 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11937 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11938 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11939 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11940 !_SOFT_FLOAT]: Likewise.
11941 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11942 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11943 value.
11944 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11945 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11946 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11947 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11948 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11949 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11950 file.
11951
cfa8054f
AS
119522013-01-16 Andreas Schwab <schwab@suse.de>
11953
11954 [BZ #14327]
11955 * include/stdlib.h (__mktemp): Add declaration.
11956 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11957 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11958
dd930cc5
SP
119592013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11960
881ebe89
SP
11961 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11962 definitions.
11963 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
11964 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
11965 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
11966 definitions here.
11967 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
11968 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
11969 definitions.
11970 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
11971 and ONE.
11972 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
11973 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
11974 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
11975 definitions.
11976 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
11977 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
11978 definitions.
11979 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 11980
dd930cc5
SP
11981 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
11982
c19a9f89
DM
119832013-01-15 David S. Miller <davem@davemloft.net>
11984
1aa61767
DM
11985 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
11986 trunc{,f} to libm-sysdep_routes.
11987 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
11988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
11989 file.
11990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
11991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
11992 file.
11993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
11994 file.
11995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
11996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
11997 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
11998 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
11999 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12000 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12001 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12002 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12003
c42d5e98
DM
12004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12005 nearbyint{,f} to libm-sysdep_routes.
12006 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12008 New file.
12009 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12010 file.
12011 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12012 New file.
12013 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12014 file.
12015 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12016 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12017 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12018 file.
12019 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12020 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12021 file.
12022 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12023 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12024 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12025
c19a9f89
DM
12026 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12027 libc_feholdexcept and libc_fesetenv.
12028
357679d2
MF
120292013-01-15 Mike Frysinger <vapier@gentoo.org>
12030
12031 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12032
65a82e3d
DM
120332013-01-14 David S. Miller <davem@davemloft.net>
12034
8b954ab9
DM
12035 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12036 (SPARC_ASM_VIS2_IFUNC): Likewise.
12037 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12038 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12039 use of 'siam' instruction.
12040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12041 Likewise.
12042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12043 Likewise.
12044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12045 Likewise.
12046 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12047 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12048 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12049 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12051 file.
12052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12053 file.
12054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12055 file.
12056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12057 file.
12058 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12059 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12060 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12061 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12063 new VIS2 routines.
12064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12067 Likewise.
12068 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12069 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12070 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12071 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12073 routines to libm-sysdep_routines.
12074 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12075
65a82e3d
DM
12076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12077 fdim/fdimf to libm-sysdep_routines.
12078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12079 file.
12080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12082 file.
12083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12084 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12085 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12086 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12087 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12088 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12089 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12090
e34ab705
SP
120912013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12092
2a91b573
SP
12093 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12094 to optimize copies.
12095
1066a534
SP
12096 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12097 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12098 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12099
e34ab705
SP
12100 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12101 local variable MPTWO.
12102 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12103 Likewise.
12104
aba5e596
MF
121052013-01-13 Mike Frysinger <vapier@gentoo.org>
12106
12107 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12108 GLOB_NOESCAPE.
12109
e557e9e5
MF
121102013-01-13 Mike Frysinger <vapier@gentoo.org>
12111
12112 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12113
0428cec9
MF
121142013-01-13 Mike Frysinger <vapier@gentoo.org>
12115
12116 * manual/pattern.texi (glob_t): Document gl_flags.
12117 (glob64_t): Likewise.
12118
8794a964
DM
121192013-01-11 David S. Miller <davem@davemloft.net>
12120
66438c3f
RM
12121 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12122 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12123 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
12124 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12125 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12126 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12127 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12128 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12129 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12130 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12131 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12132 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12133 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12134
4ae4244d
DM
12135 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12136 sparc V9 rather than using V8 code.
12137 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12138 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12139
8794a964
DM
12140 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12141 Move to...
12142 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12143 Here.
12144
6270516e
RM
121452013-01-11 Roland McGrath <roland@hack.frob.com>
12146
12147 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12148 not in the main loop.
12149 * configure: Regenerated.
12150
6a57d931
JM
121512013-01-11 Joseph Myers <joseph@codesourcery.com>
12152
12153 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12154 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12155 to just #else.
12156 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
12157 [!__GLIBC_HAVE_LONG_LONG] case.
12158 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12159 condition to just #else.
12160 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12161 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12162 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12163 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12164 unconditional.
12165 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12166 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12167 #elif condition to just #else.
12168 * sysdeps/unix/sysv/linux/sys/sysmacros.h
12169 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12170 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12171 #elif condition to just #else.
12172
0e8529e9
SE
121732013-01-11 Steve Ellcey <sellcey@mips.com>
12174
12175 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12176 (EF_MIPS_ARCH_64): Fix value.
12177 (EF_MIPS_ARCH_32R2): New.
12178 (EF_MIPS_ARCH_64R2): New.
12179
740b3dbe
L
121802013-01-11 H.J. Lu <hongjiu.lu@intel.com>
12181
12182 * Makeconfig (+link-pie-before-libc): New.
12183 (+link-pie-after-libc): Likewise.
12184 (+link-pie-tests): Likewise.
12185 (+link-pie): Rewritten.
12186 (link-before-libc): Remove $(config-LDFLAGS).
12187 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12188 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12189 (config-LDFLAGS): Renamed to ...
12190 (rtld-LDFLAGS): This.
12191 (rtld-tests-LDFLAGS): New macro.
12192 (link-libc-rpath-link): Likewise.
12193 (link-libc-tests-rpath-link): Likewise.
12194 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12195 (link-libc): Prepand $(link-libc-rpath-link).
12196 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12197 (test-program-prefix): New macro.
12198 (test-via-rtld-prefix): Likewise.
12199 (test-program-cmd): Likewise.
12200 (host-test-program-cmd): Likewise.
12201 * Makefile ($(common-objpfx)testrun.sh): Replace
12202 $(run-program-prefix) with $(test-program-prefix).
12203 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12204 $(rtld-LDFLAGS).
12205 ($(common-objpfx)shlib.lds): Likewise.
12206 (build-module-helper): Likewise.
12207 ($(common-objpfx)format.lds): Likewise.
12208 * Rules (binaries-pie-tests): New.
12209 (binaries-pie-notests): Likewise.
12210 (binaries-pie): Rewritten.
12211 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12212 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12213 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12214 (make-test-out): Replace $(host-built-program-cmd) with
12215 $(host-test-program-cmd).
12216 * config.make.in (build-hardcoded-path-in-tests): New variable.
12217 * configure.in (--enable-hardcoded-path-in-tests): New configure
12218 option.
12219 (hardcoded_path_in_tests): New AC_SUBST.
12220 * configure: Regenerated.
12221 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12222 $(built-program-cmd) with $(test-program-cmd).
12223 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12224 (test_program_cmd): This.
12225 * elf/Makefile ($(objpfx)order.out): Run test with
12226 $(test-program-prefix).
12227 ($(objpfx)order2.out): Likewise.
12228 ($(objpfx)tst-initorder.out): Likewise.
12229 ($(objpfx)tst-initorder2.out): Likewise.
12230 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12231 $(test-program-cmd).
12232 ($(objpfx)tst-array1-static.out): Likewise.
12233 ($(objpfx)tst-array2.out): Likewise.
12234 ($(objpfx)tst-array3.out): Likewise.
12235 ($(objpfx)tst-array4.out): Likewise.
12236 ($(objpfx)tst-array5.out): Likewise.
12237 ($(objpfx)tst-array5-static.out): Likewise.
12238 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12239 $(test-program-cmd).
12240 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12241 $(run-program-prefix) with $(test-program-prefix).
12242 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12243 (test_program_prefix): This.
12244 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12245 $(run-program-prefix) with $(test-program-prefix).
12246 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12247 (test_program_prefix): This.
12248 * iconvdata/tst-tables.sh: Likewise.
12249 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12250 $(run-program-prefix) with $(test-program-prefix).
12251 ($(objpfx)tst-translit.out): Likewise.
12252 ($(objpfx)tst-gettext2.out): Likewise.
12253 ($(objpfx)tst-gettext4.out): Likewise.
12254 ($(objpfx)tst-gettext6.out): Likewise.
12255 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12256 (test_program_prefix): This.
12257 * intl/tst-gettext2.sh: Likewise.
12258 * intl/tst-gettext4.sh Likewise.
12259 * intl/tst-gettext6.sh: Likewise.
12260 * intl/tst-translit.sh: Likewise.
12261 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12262 with $(test-program-cmd).
12263 * libio/Makefile ($(objpfx)test-freopen.out): Replace
12264 $(run-program-prefix) with $(test-program-prefix).
12265 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12266 (test_program_prefix): This.
12267 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12268 $(run-program-prefix) with $(test-program-prefix).
12269 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12270 (test_program_prefix): This.
12271 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12272 * posix/Makefile ($(objpfx)globtest.out): Replace
12273 $(run-via-rtld-prefix) and $(test-wrapper) with
12274 $(test-program-prefix) and $(test-via-rtld-prefix).
12275 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12276 $(test-program-prefix).
12277 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12278 $(host-test-program-cmd).
12279 (tst-spawn-ARGS): Likewise.
12280 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12281 $(test-program-prefix).
12282 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12283 (test_via_rtld_prefix): This.
12284 (test_wrapper): Renamed to ...
12285 (test_program_prefix): This.
12286 (run_program_prefix): Replaced by test_program_prefix.
12287 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12288 (test_program_prefix): This.
12289 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12290 with $(host-test-program-cmd).
12291 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12292 $(run-program-prefix) with $(test-program-prefix).
12293 ($(objpfx)tst-printf.out): Likewise.
12294 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12295 $(test-program-cmd).
12296 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12297 (test_program_prefix): This.
12298 * stdio-common/tst-unbputc.sh: Likewise.
12299 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12300 $(run-program-prefix) with $(test-program-prefix).
12301 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12302 (test_program_prefix): This.
12303 * string/Makefile ($(objpfx)tst-svc.out): Replace
12304 $(built-program-cmd) with $(test-program-cmd).
12305
c6fe55cf
AJ
123062013-01-11 Andreas Jaeger <aj@suse.de>
12307
12308 [BZ #15003]
12309 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12310 value. Sync with Linux 3.7.
12311
9e6919c8
DM
123122013-01-10 David S. Miller <davem@davemloft.net>
12313
12314 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12315 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12316 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12317
1c9f1a02
RM
123182013-01-10 Roland McGrath <roland@hack.frob.com>
12319
12320 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12321 never set.
12322 * configure: Regenerated.
12323
b9de2dde
DM
123242013-01-10 David S. Miller <davem@davemloft.net>
12325
12326 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12327 sparc V9 rather than using V8 code.
12328 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12329 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12330
e7f68ef4
RM
123312013-01-10 Roland McGrath <roland@hack.frob.com>
12332
12333 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12334 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12335 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12336 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12337 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12338 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12339 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12340 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12341 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12342 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12343 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12344 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12345 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12346 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12347 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12348 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12349 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12350 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12351 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12352 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12353 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12354 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12355 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12356 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12357 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12358 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12359 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12360
5a47cc9c
DM
123612013-01-10 David S. Miller <davem@davemloft.net>
12362
12363 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12364
4cf8f209
L
123652013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12366
12367 * posix/Makefile (tests-static): New variable.
12368 (tests): Add $(tests-static).
12369 (tst-exec-static-ARGS): New variable.
12370 (tst-spawn-static-ARGS): Likewise.
12371 * posix/tst-exec-static.c: New file.
12372 * posix/tst-spawn-static.c: Likewise.
12373 * posix/tst-exec.c: Support run directly.
12374 * posix/tst-spawn.c: Likewise.
12375
fed0faa1
JM
123762013-01-10 Joseph Myers <joseph@codesourcery.com>
12377
828beb13
JM
12378 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12379 long.
12380 * math/bits/mathcalls.h (llrint): Likewise.
12381 (llround): Likewise.
12382 * stdlib/stdlib.h (struct drand48_data): Likewise.
12383 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12384 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12385 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12386 Likewise.
12387 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12388 Likewise.
12389 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12390 (elf_greg_t): Likewise.
12391 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12392 (__jmp_buf): Likewise.
12393 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
12394 definitions.
12395 (llrint): Likewise, for all definitions.
12396 (llrintl): Likewise.
12397
fed0faa1
JM
12398 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
12399 Remove [__GNUC__] condition.
12400 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
12401 condition to just [__USE_ISOC99].
12402 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
12403
1a20cb20
L
124042013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12405
12406 [BZ #14200]
12407 * sysdeps/unix/sysv/linux/x86/bits/environments.h
12408 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12409 defined.
12410 (_POSIX_V6_ILP32_OFF32): Likewise.
12411 (_XBS5_ILP32_OFF32): Likewise.
12412 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
12413 (__ILP32_OFFBIG_LDFLAGS): Likewise.
12414
751b85f7
SP
124152013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12416
7490eb81
SP
12417 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12418
751b85f7
SP
12419 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
12420 doubles __mpexp_twomm1. Adjust usage.
12421 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12422 Remove.
12423
988197f0
AS
124242013-01-10 Andreas Schwab <schwab@suse.de>
12425
12426 [BZ #14964]
12427 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12428 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12429
e83d7298
DM
124302013-01-09 David S. Miller <davem@davemloft.net>
12431
034ed64b 12432 [BZ #15003]
e83d7298
DM
12433 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12434 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12435 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12436 TCP_FASTOPEN): Define.
12437 (tcp_repair_opt): New structure.
12438 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12439 enum values.
12440 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12441 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12442 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12443 (tcp_cookie_transactions): New structure.
12444
d5e0b9bd
AB
124452013-01-09 Anton Blanchard <anton@samba.org>
12446
12447 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12448 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12449 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12450 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12451
0c07e3ea
JM
124522013-01-09 Joseph Myers <joseph@codesourcery.com>
12453
12454 * include/features.h (__USE_ANSI): Remove.
12455
232f7002
RM
124562013-01-09 Roland McGrath <roland@hack.frob.com>
12457
ad98e30c
RM
12458 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12459
232f7002
RM
12460 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12461
950c99ca
SP
124622013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12463
b5792741
SP
12464 * sysdeps/s390/fpu/libm-test-ulps: Update.
12465
47cf2278
SP
12466 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12467
950c99ca
SP
12468 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12469 (__acr): Likewise.
12470 (__cpy): Likewise.
12471 (norm): Likewise.
12472 (denorm): Likewise.
12473 (__mp_dbl): Likewise.
12474 (__dbl_mp): Likewise.
12475 (add_magnitudes): Likewise.
12476 (sub_magnitudes): Likewise.
12477 (__add): Likewise.
12478 (__sub): Likewise.
12479 (__mul): Likewise.
12480 (__inv): Likewise.
12481 (__dvd): Likewise.
12482 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12483 (__acr): Likewise.
12484 (__cpy): Likewise.
12485 (norm): Likewise.
12486 (denorm): Likewise.
12487 (__mp_dbl): Likewise.
12488 (__dbl_mp): Likewise.
12489 (add_magnitudes): Likewise.
12490 (sub_magnitudes): Likewise.
12491 (__add): Likewise.
12492 (__sub): Likewise.
12493 (__mul): Likewise.
12494 (__inv): Likewise.
12495 (__dvd): Likewise.
12496 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12497 (__acr): Likewise.
12498 (__cpy): Likewise.
12499 (norm): Likewise.
12500 (denorm): Likewise.
12501 (__mp_dbl): Likewise.
12502 (__dbl_mp): Likewise.
12503 (add_magnitudes): Likewise.
12504 (sub_magnitudes): Likewise.
12505 (__add): Likewise.
12506 (__sub): Likewise.
12507 (__mul): Likewise.
12508 (__inv): Likewise.
12509 (__dvd): Likewise.
12510
eede9df9
JM
125112013-01-08 Joseph Myers <joseph@codesourcery.com>
12512
12513 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12514 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12515 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12516 2 && __USE_EXTERN_INLINES]: Likewise.
12517
c40ea3d9
AJ
125182013-01-08 Andreas Jaeger <aj@suse.de>
12519
12520 [BZ# 14985]
12521 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12522 Remove.
12523 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12524 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12525
2ccdea26
AB
125262013-01-07 Anton Blanchard <anton@samba.org>
12527
12528 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12529 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12530 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12531 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12532 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12533 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12534 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12535 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12536 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12537 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12538 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12539 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12540 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12541 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12542 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12543 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12544 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12545 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12546 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12547 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12548 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12549 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12550 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12551 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12552 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12553 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12554 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12555 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12556 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12557 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12558 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12559 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12560 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12561 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12562 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12563 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12564 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12565 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12566 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12567 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12568 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12569 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12570 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12571
a9708fed
JM
125722013-01-07 Joseph Myers <joseph@codesourcery.com>
12573
375607b9
JM
12574 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12575 (__MALLOC_PMT): Likewise.
12576 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12577 [__GNUC__], only on [_LIBC].
12578 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12579 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12580 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12581 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12582 forward declaration.
12583 (realloc_hook_ini): Likewise.
12584 (memalign_hook_ini): Likewise.
12585 (__libc_memalign): Do not use __MALLOC_PMT in variable
12586 declaration.
12587 (__libc_valloc): Likewise.
12588 (__libc_pvalloc): Likewise.
12589 (__libc_calloc): Likewise.
12590 (__posix_memalign): Likewise.
12591
a9708fed
JM
12592 [BZ #14996]
12593 * math/s_casinh.c: Include <float.h>.
12594 (__casinh): Do not do computation with squaring and square root
12595 for large arguments.
12596 * math/s_casinhf.c: Include <float.h>.
12597 (__casinhf): Do not do computation with squaring and square root
12598 for large arguments.
12599 * math/s_casinhl.c: Include <float.h>.
12600 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12601 (__casinhl): Do not do computation with squaring and square root
12602 for large arguments.
12603 * math/libm-test.inc (casin_test): Add more tests.
12604 (casinh_test): Likewise.
12605 * sysdeps/i386/fpu/libm-test-ulps: Update.
12606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12607
afec409a
L
126082013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12609
12610 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12611 (__x86_64_raw_data_cache_size): Likewise.
12612 (__x86_64_data_cache_size_half): Likewise.
12613 (__x86_64_raw_data_cache_size_half): Likewise.
12614 (__x86_64_shared_cache_size): Likewise.
12615 (__x86_64_raw_shared_cache_size): Likewise.
12616 (__x86_64_shared_cache_size_half): Likewise.
12617 (__x86_64_raw_shared_cache_size_half): Likewise.
12618 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12619 to ...
12620 (__x86_data_cache_size): This.
12621 (__x86_64_raw_data_cache_size): Renamed to ...
12622 (__x86_raw_data_cache_size): This.
12623 (__x86_64_data_cache_size_half): Renamed to ...
12624 (__x86_data_cache_size_half): This.
12625 (__x86_64_raw_data_cache_size_half): Renamed to ...
12626 (__x86_raw_data_cache_size_half): This.
12627 (__x86_64_shared_cache_size): Renamed to ...
12628 (__x86_shared_cache_size): This.
12629 (__x86_64_raw_shared_cache_size): Renamed to ...
12630 (__x86_raw_shared_cache_size): This.
12631 (__x86_64_shared_cache_size_half): Renamed to ...
12632 (__x86_shared_cache_size_half): This.
12633 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12634 (__x86_raw_shared_cache_size_half): This.
12635 * sysdeps/x86_64/memcpy.S: Updated.
12636 * sysdeps/x86_64/memset.S: Likewise.
12637 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12638 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12639 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12640
0b3986d0
DM
126412013-01-04 David S. Miller <davem@davemloft.net>
12642
12643 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12644
e47686e9
AS
126452013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12646
d643bac1
AS
12647 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12648 1 to avoid redefinition warning.
12649 (__USE_GNU): Don't define.
12650 (init_signaling_nan): Protoize.
12651
e47686e9
AS
12652 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12653
b18decba
SP
126542013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12655
fffb407f
SP
12656 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12657 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12658 (__cpymn): Likewise.
12659 (norm): Remove commented code.
12660 (denorm): Likewise.
12661 (__mp_dbl): Likewise.
12662 (__inv): Likewise.
12663 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12664 (__cpymn): Likewise.
12665 (norm): Remove commented code.
12666 (denorm): Likewise.
12667 (__mp_dbl): Likewise.
12668 (__inv): Likewise.
12669
b18decba
SP
12670 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12671 mp_no value for 1.0 and 2.0.
12672 (norm): Use RADIXI instead of radixi.d.
12673 (denorm): Likewise.
12674 (__mul): Use 0.0 instead of zero.d.
12675 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12676 mp_no value for 1.0 and 2.0.
12677 (norm): Use RADIXI instead of radixi.d.
12678 (denorm): Likewise.
12679 (__mul): Use 0.0 instead of zero.d.
12680
cdc1c96f
JM
126812013-01-04 Joseph Myers <joseph@codesourcery.com>
12682
12683 [BZ #14994]
12684 * math/s_casinh.c (__casinh): Reduce finite argument to first
12685 quadrant then set signs of results at the end.
12686 * math/s_casinhf.c (__casinhf): Likewise.
12687 * math/s_casinhl.c (__casinhl): Likewise.
12688 * math/libm-test.inc (casin_test): Add more tests.
12689 (casinh_test): Likewise.
12690 * sysdeps/i386/fpu/libm-test-ulps: Update.
12691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12692
302913e1
SP
126932013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12694
6420d207
SP
12695 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12696
a9e48ab4
SP
12697 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12698
b7837264
SP
12699 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12700 declarations.
12701 (denorm): Likewise.
12702 (__mp_dbl): Likewise.
12703 (__inv): Likewise.
12704
f8af25d2
SP
12705 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12706 and adjust the header comment.
12707
302913e1
SP
12708 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12709 variable name from declaration.
12710
5d7dd1ca
L
127112013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12712
12713 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12714 Initialize COMMON_CPUID_INDEX_7 element.
12715 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12716 (CPUID_RTM): Likewise.
12717 (HAS_RTM): Likewise.
12718 (COMMON_CPUID_INDEX_7): New enum.
12719
2f5f40f4
AS
127202013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12721
12722 [BZ #14981]
12723 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12724 size is zero, record memory as freed.
12725
4056f4a0
AJ
127262013-01-03 Andreas Jaeger <aj@suse.de>
12727
12728 * po/ia.po: Add new Interlingua translation.
12729
ab15736f 127302012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
12731
12732 * locale/programs/localedef.c: Fix description of '--posix' flag.
12733
568035b7
JM
127342013-01-02 Joseph Myers <joseph@codesourcery.com>
12735
e6898b8d
JM
12736 * NEWS: Update dates in second copyright notice.
12737 * README: Update copyright dates in example.
12738 * manual/libc.texinfo: Update copyright dates.
12739 * scripts/test-installation.pl: Update copyright date in --version
12740 output.
12741
0e2f9562
JM
12742 * hurd/ctty-input.c: Fix copyright notice formatting.
12743 * hurd/ctty-output.c: Likewise.
12744 * hurd/dtable.c: Likewise.
12745 * hurd/hurd-raise.c: Likewise.
12746 * hurd/hurdprio.c: Likewise.
12747 * hurd/msgportdemux.c: Likewise.
12748 * misc/sys/file.h: Likewise.
12749 * misc/sys/ioctl.h: Likewise.
12750 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12751 * sysdeps/mach/hurd/chdir.c: Likewise.
12752 * sysdeps/mach/hurd/fchdir.c: Likewise.
12753 * sysdeps/mach/hurd/rename.c: Likewise.
12754 * sysdeps/mach/hurd/rmdir.c: Likewise.
12755 * sysdeps/mach/hurd/seekdir.c: Likewise.
12756 * sysdeps/mach/hurd/setsid.c: Likewise.
12757 * sysdeps/posix/wait3.c: Likewise.
12758
568035b7
JM
12759 * All files with FSF copyright notices: Update copyright dates
12760 using scripts/update-copyrights.
12761 * intl/plural.c: Regenerated.
12762 * locale/programs/charmap-kw.h: Likewise.
12763 * locale/programs/locfile-kw.h: Likewise.
12764
da08f647
SP
127652013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12766
0f5477af
SP
12767 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12768 four values.
12769
44e0d4c2
SP
12770 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12771 calculation loop and add branch prediction.
12772
4d55b4e5
SP
12773 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12774 check access beyond bounds of m1np.
12775
da08f647
SP
12776 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12777 MPTWO.
12778 (__inv): Remove local variable MPTWO to use the global
12779 constant.
12780 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12781 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12782 variable MPTWO.
12783 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12784 MP3HALFS static const.
12785
8e051029
DM
127862013-01-01 David S. Miller <davem@davemloft.net>
12787
12788 * po/ca.po: Update from translation team.
12789
f4cf5f2d
JM
127902013-01-01 Joseph Myers <joseph@codesourcery.com>
12791
12792 * scripts/update-copyrights: New file.
12793 * Makeconfig: Reformat copyright notice.
12794 * ctype/ctype.h: Likewise.
12795 * debug/swprintf_chk.c: Likewise.
12796 * elf/dl-cache.c: Likewise.
12797 * elf/dl-debug.c: Likewise.
12798 * elf/dl-object.c: Likewise.
12799 * grp/initgroups.c: Likewise.
12800 * hurd/Makefile: Likewise.
12801 * hurd/hurd/signal.h: Likewise.
12802 * hurd/hurdfault.c: Likewise.
12803 * hurd/hurdioctl.c: Likewise.
12804 * hurd/hurdlookup.c: Likewise.
12805 * hurd/intr-msg.c: Likewise.
12806 * iconv/gconv_open.c: Likewise.
12807 * libio/swprintf.c: Likewise.
12808 * locale/lc-ctype.c: Likewise.
12809 * locale/nl_langinfo.c: Likewise.
12810 * mach/Machrules: Likewise.
12811 * mach/Makefile: Likewise.
12812 * malloc/obstack.h: Likewise.
12813 * manual/Makefile: Likewise.
12814 * manual/tsort.awk: Likewise.
12815 * misc/bits/stab.def: Likewise.
12816 * nis/nis_print_group_entry.c: Likewise.
12817 * nis/nis_table.c: Likewise.
12818 * nis/nss_compat/compat-pwd.c: Likewise.
12819 * nis/nss_compat/compat-spwd.c: Likewise.
12820 * po/Makefile: Likewise.
12821 * posix/fnmatch.c: Likewise.
12822 * posix/regex.h: Likewise.
12823 * resolv/Makefile: Likewise.
12824 * resolv/nss_dns/dns-network.c: Likewise.
12825 * resolv/res_hconf.c: Likewise.
12826 * scripts/gen-sorted.awk: Likewise.
12827 * soft-fp/soft-fp.h: Likewise.
12828 * stdio-common/printf.h: Likewise.
12829 * stdlib/monetary.h: Likewise.
12830 * stdlib/random.c: Likewise.
12831 * stdlib/random_r.c: Likewise.
12832 * sysdeps/generic/Makefile: Likewise.
12833 * sysdeps/gnu/Makefile: Likewise.
12834 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12835 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12836 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12837 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12838 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12839 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12840 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12841 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12842 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12843 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12844 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12845 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12846 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12847 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12848 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12849 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12850 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12851 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12852 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12853 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12854 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12855 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12856 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12857 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12858 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12859 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12860 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12861 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12862 * sysdeps/mach/hurd/errnos.awk: Likewise.
12863 * sysdeps/mach/hurd/fork.c: Likewise.
12864 * sysdeps/mach/hurd/getcwd.c: Likewise.
12865 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12866 * sysdeps/mach/hurd/mmap.c: Likewise.
12867 * sysdeps/mach/hurd/utimes.c: Likewise.
12868 * sysdeps/mach/hurd/xmknod.c: Likewise.
12869 * sysdeps/posix/profil.c: Likewise.
12870 * sysdeps/posix/readdir_r.c: Likewise.
12871 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12872 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12873 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12874 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12875 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12876 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12877 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12878 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12879 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12880 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12881 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12882 * sysdeps/pthread/lio_listio.c: Likewise.
12883 * sysdeps/sparc/dl-procinfo.h: Likewise.
12884 * sysdeps/unix/i386/sysdep.S: Likewise.
12885 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12886 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12887 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12888 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12889 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12890 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12891 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12892 * sysdeps/unix/sysv/linux/speed.c: Likewise.
12893 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12894 * sysdeps/wordsize-32/divdi3.c: Likewise.
12895 * time/sys/time.h: Likewise.
12896 * wcsmbs/Makefile: Likewise.
12897
0549fbba
DM
128982013-01-01 David S. Miller <davem@davemloft.net>
12899
a141f1a7
DM
12900 * po/fr.po: Update from translation team.
12901
0549fbba
DM
12902 * catgets/gencat.c: Update copyright year.
12903 * csu/version.c: Likewise.
12904 * debug/catchsegv.sh: Likewise.
12905 * debug/pcprofiledump.c: Likewise.
12906 * debug/xtrace.sh: Likewise.
12907 * elf/ldconfig.c: Likewise.
12908 * elf/ldd.bash.in: Likewise.
12909 * elf/pldd.c: Likewise.
12910 * elf/sotruss.ksh: Likewise.
12911 * elf/sprof.c: Likewise.
12912 * iconv/iconv_prog.c: Likewise.
12913 * iconv/iconvconfig.c: Likewise.
12914 * locale/programs/locale.c: Likewise.
12915 * locale/programs/localedef.c: Likewise.
12916 * login/programs/pt_chown.c: Likewise.
12917 * malloc/memusage.sh: Likewise.
12918 * malloc/memusagestat.c: Likewise.
12919 * malloc/mtrace.pl: Likewise.
12920 * nscd/nscd.c: Likewise.
12921 * nss/getent.c: Likewise.
12922 * nss/makedb.c: Likewise.
12923 * posix/getconf.c: Likewise.
12924
18ea052c
SP
129252012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12926
12927 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12928 numbers.
12929
9c89fca6
MF
129302012-12-30 Mike Frysinger <vapier@gentoo.org>
12931
12932 * math/bits/mathcalls.h (modf): Use __nonnull.
12933
085ec079
SP
129342012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12935
12936 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12937 (split): Use macro CN instead of the bare value.
12938 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12939 could be used.
12940 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12941 instead of the bare value.
12942 (power1): Likewise.
12943
6d9f97e1
SP
129442012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12945
d63f73be
SP
12946 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12947 __ATAN_TWOM.
12948 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12949
6d9f97e1
SP
12950 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12951 their values.
12952 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12953 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12954 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12955 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12956
4c4febf5
AJ
129572012-12-28 Andreas Jaeger <aj@suse.de>
12958
af5843ef
AJ
12959 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12960 values are from Linux 3.7.
12961
4c4febf5
AJ
12962 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
12963 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
12964
99136f82
SP
129652012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12966
2f216c3c 12967 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
12968 TRUE case.
12969
99136f82
SP
12970 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
12971 (norm): Likewise.
12972 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
12973 variables with preprocessor constants.
12974 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12975 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
12976 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
12977
7fffbdff
BH
129782012-12-27 Bruno Haible <bruno@clisp.org>
12979
12980 [BZ #14317]
12981 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
12982 only if needed.
12983
b76eb5f0
SP
129842012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
12985
31a7fe5c
SP
12986 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
12987 and use variable directly.
12988 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
12989
b76eb5f0
SP
12990 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12991 MPONE.
12992 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
12993 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12994 variable MPONE.
12995 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
12996 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
12997 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
12998 include directive. Remove local variable MPONE.
12999 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13000 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13001 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13002
2c8bfe7d
DM
130032012-12-25 David S. Miller <davem@davemloft.net>
13004
13005 * version.h (RELEASE): Set to "development".
13006 (VERSION): Set to "2.17.90".
13007 * NEWS: Add 2.18 section.
13008
147d03b0
DM
130092012-12-21 David S. Miller <davem@davemloft.net>
13010
13011 * po/hr.po: Update from translation team.
13012
a8ebb2b9
AK
130132012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13014
13015 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13016
95b4f1b6
SE
130172012-12-19 Steve Ellcey <sellcey@mips.com>
13018
b2d94007 13019 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 13020
cedb2a90
MS
130212012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13022
13023 * manual/contrib.texi (Contributors): Spelling correction.
13024
bbf527d6
DM
130252012-12-15 David S. Miller <davem@davemloft.net>
13026
13027 * po/ru.po: Update from translation team.
13028
bc38c906
DM
130292012-12-13 David S. Miller <davem@davemloft.net>
13030
85429b1a
DM
13031 * NEWS: Mention IFUNC testsuite enhancements.
13032
d283e353
DM
13033 * po/pl.po: Update from translation team.
13034 * po/bg.po: Likewise.
13035
bc38c906
DM
13036 * manual/contrib.texi (Contributors): Update entries for Hongjiu
13037 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
13038
a181b0d7
DM
130392012-12-11 David S. Miller <davem@davemloft.net>
13040
4641d57e
DM
13041 * po/sv.po: Update from translation team.
13042
f7bc6495
DM
13043 * po/vi.po: Update from translation team.
13044
6fc9048f
DM
13045 * po/cs.po: Update from translation team.
13046
a181b0d7
DM
13047 * po/de.po: Update from translation team.
13048 * po/eo.po: Likewise.
13049 * po/nl.po: Likewise.
13050
f70bfe80
SP
130512012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13052
3c8b4190
SP
13053 [BZ #14246]
13054 * manual/argp.texi (Argp Helper Functions): Move node to follow
13055 Argp Parsing State.
13056
f70bfe80
SP
13057 [BZ #14872]
13058 * manual/conf.texi (Limits on File System Capacity): Mention if
13059 terminating null is included in the max size.
13060
188f0adf
AJ
130612012-12-10 Andreas Jaeger <aj@suse.de>
13062
13063 * po/cs.po: Update from translation team.
13064
56e7d3ad
SP
130652012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13066
13067 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13068 void pointer and cast to uintptr_t.
13069 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13070 path.
13071 * sysdeps/s390/s390-64/memcpy.S: Likewise.
13072 * sysdeps/s390/s390-64/memset.S: Likewise.
13073
76f2d2ea 130742012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
13075
13076 [BZ #14833]
13077 * menual/message.texi (Message Translation): Fix typos.
13078 (Helper programs for gettext): Likewise.
13079
67cbf9a2
AS
130802012-12-07 Andreas Schwab <schwab@linux-m68k.org>
13081
13082 [BZ #14898]
13083 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13084 Change to -1.
13085
682d0e9a
DM
130862012-12-07 David S. Miller <davem@davemloft.net>
13087
13088 * po/libc.pot: Update.
13089
573cd484
RH
130902012-12-07 Richard Henderson <rth@redhat.com>
13091
7e9da188 13092 [BZ #10114]
573cd484
RH
13093 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13094 normal/normal case to before the switch.
13095 (_FP_DIV): Likewise.
13096
e933a943
MF
130972012-12-06 Carlos O'Donell <carlos@systemhalted.org>
13098 Mike Frysinger <vapier@gentoo.org>
13099
13100 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13101 check for __NR_fadvise64_64.
13102
82123268
CM
131032012-12-06 Chris Metcalf <cmetcalf@tilera.com>
13104
13105 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13106 0, not just to plain "0" as a statement.
13107 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13108 with cw.
13109
d9814526
JM
131102012-12-06 Joseph Myers <joseph@codesourcery.com>
13111
13112 * NEWS: Use sourceware.org in Bugzilla URL.
13113
7728c574
SP
131142012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13115
f16946dd
SP
13116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13117 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13118
5704bbcb
SP
13119 * stdio-common/tst-put-error.c (do_test): Add newline to the
13120 padded test to ensure flush.
13121
17aa0516
JL
131222012-12-05 Jeff Law <law@redhat.com>
13123
13124 * sunrpc/etc.rpc (fedfs_admin): Add entry.
13125
363313b5
JM
131262012-12-05 Joseph Myers <joseph@codesourcery.com>
13127
effbd42a
JM
13128 * README: Don't refer to ports add-on as distributed separately.
13129 Mention AArch64 in list of systems supported in the ports add-on.
13130
87600365
JM
13131 * LICENSES: Add more non-FSF copyright and license notices.
13132
a0d7066a
JM
13133 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13134 ((unused)).
13135
66ca5a5b
JM
13136 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13137
363313b5
JM
13138 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13139 10000 as width of padded output.
13140
b37984ad
JM
131412012-12-04 Joseph Myers <joseph@codesourcery.com>
13142
9003570a
JM
13143 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13144
b37984ad
JM
13145 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13146 variable LX with __attribute__ ((unused)).
13147 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13148 Likewise.
13149 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13150 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13151 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13152 with __attribute__ ((unused)).
13153
c8df52ec
DM
131542012-12-04 David S. Miller <davem@abraco.davemloft.net>
13155
13156 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13157
b3b099af
JM
131582012-12-04 Joseph Myers <joseph@codesourcery.com>
13159
c33aa6e3
JM
13160 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13161 (CFLAGS-nldbl-acos.c): New variable.
13162 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13163 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13164 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13165 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13166 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13167 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13168 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13169 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13170 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13171 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13172 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13173 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13174 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13175 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13176 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13177 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13178 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13179 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13180 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13181 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13182 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13183 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13184 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13185 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13186 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13187 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13188 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13189 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13190 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13191 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13192 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13193 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13194 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13195 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13196 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13197 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13198 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13199 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13200 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13201 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13202 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13203 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13204 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13205 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13206 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13207 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13208 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13209 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13210 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13211 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13212 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13213 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13214 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13215 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13216 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13217 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13218 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13219 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13220 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13221 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13222 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13223 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13224 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13225 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13226 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13227 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13228 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13229 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13230 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13231 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13232 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13233 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13234 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13235 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13236 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13237 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13238 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13239 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13240 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13241 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13242 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13243 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13244 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13245 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13246 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13247 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13248 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13249 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13250 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13251 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13252 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13253 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13254 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13255 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13256 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13257 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13258 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13259
20f0018d
JM
13260 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13261 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13262
b3b099af
JM
13263 [BZ #14914]
13264 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13265 whole low double instead of just low 47 bits when splitting values
13266 into two parts.
13267
029264d1
AM
132682012-12-03 Allan McRae <allan@archlinux.org>
13269
13270 * manual/stdio.texi (Predefined Printf Handlers): Remove
13271 @hsep and @vsep usage.
13272
c9d6789e
MF
132732012-12-03 Mike Frysinger <vapier@gentoo.org>
13274
13275 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13276 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13277
4b7634a5
JL
132782012-12-03 Jeff Law <law@redhat.com>
13279
13280 * time/sys/time.h (settimeofday): Do not mark TV argument
13281 as __nonnull.
13282
eb6cbd24
MF
132832012-12-01 Mike Frysinger <vapier@gentoo.org>
13284
13285 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13286 when currently writing and seek to current position when not.
13287 * libio/Makefile (tests): Remove bug-fclose1.
13288 * libio/bug-fclose1.c: Delete.
13289
f638872a
JM
132902012-12-01 Joseph Myers <joseph@codesourcery.com>
13291
13292 * manual/arith.texi (feenableexcept): Fix typo.
13293 (fedisableexcept): Likewise.
13294
48085d14
RM
132952012-11-30 Roland McGrath <roland@hack.frob.com>
13296
13297 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13298 second, differently-typed declaration, rather than a cast.
13299
1a538b9f
SP
133002012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13301
13302 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13303 * include/rpc/svc.h: ... here.
13304
d07f2ff1 133052012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
13306
13307 [BZ #13013]
13308 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13309 depending n and resplen2 to catch cases where answer
13310 equals answerp2.
13311
c93ec1f0
CD
133122012-11-29 Carlos O'Donell <carlos@systemhalted.org>
13313
13314 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13315 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13316
37db69de
MF
133172012-11-29 Mike Frysinger <vapier@gentoo.org>
13318
13319 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13320
e10c4e4f
RM
133212012-11-29 Roland McGrath <roland@hack.frob.com>
13322
13323 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13324
2af1b328
JL
133252012-11-28 Jeff Law <law@redhat.com>
13326
13327 [BZ #13761]
13328 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13329 dataset_temporary. Track alloca usage into alloca_used.
13330 If dataset is large allocate and release it via malloc/free.
13331
111db5b1
FW
133322012-06-04 Florian Weimer <fweimer@redhat.com>
13333
f06cc227 13334 [BZ #14197]
111db5b1
FW
13335 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13336
dd694abd
DM
133372012-11-28 David S. Miller <davem@davemloft.net>
13338
13339 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13340
9984dd01
JM
133412012-11-28 Joseph Myers <joseph@codesourcery.com>
13342
13343 [BZ #14803]
13344 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13345 of pi/2 rounded to nearest to 64 bits.
13346 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13347 nearest to 64 bits.
13348 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13349 bits.
13350
14bc93a9
JL
133512012-11-28 Jeff Law <law@redhat.com>
13352 Martin Osvald <mosvald@redhat.com>
13353
13354 [BZ #14889]
13355 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13356 * sunrpc/svc.c: Include time.h.
13357 (__svc_accept_failed): New function.
13358 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13359 any reason other than EINTR, call __svc_accept_failed.
13360 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13361 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13362
e3c6aa3a
AS
133632012-11-28 Andreas Schwab <schwab@suse.de>
13364
13365 * scripts/abilist.awk: Also handle indirect functions in .opd
13366 section.
13367
1bead169
JM
133682012-11-28 Joseph Myers <joseph@codesourcery.com>
13369
13370 [BZ #13881]
13371 * sysdeps/x86/fpu/powl_helper.c: New file.
13372 * sysdeps/x86/fpu/Makefile: Likewise.
13373 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13374 (p3): New object.
13375 (__ieee754_powl): Use __powl_helper for finite arguments except
13376 integer exponents below 8.
13377 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13378 (p3): New object.
13379 (__ieee754_powl): Use __powl_helper for finite arguments except
13380 integer exponents below 8.
13381 * math/libm-test.inc (pow_test): Add more tests and enable some
13382 previously disabled tests.
13383 * sysdeps/i386/fpu/libm-test-ulps: Update.
13384 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13385
0817d63d
SP
133862012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13387 Carlos O'Donell <carlos_odonell@mentor.com>
13388
13389 * nss/makedb.c (is_prime): Assert that input is odd and greater
13390 than 4. Note that fact in a comment too.
13391 (next_prime): Add 4 to input.
13392
de2fd463
SP
133932012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13394
13395 [BZ #11741]
13396 * libio/Makefile (tests): Add test case tst-fwrite-error.
13397 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13398 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13399 * libio/tst-fwrite-error.c: New test case.
13400
c515fb51
L
134012012-11-26 H.J. Lu <hongjiu.lu@intel.com>
13402
13403 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
13404 before casting to void *.
13405 * include/libc-internal.h (__pointer_type): New macro.
13406 (__integer_if_pointer_type_sub): Likewise.
13407 (__integer_if_pointer_type): Likewise.
13408 (cast_to_integer): Likewise.
13409 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
13410 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
13411 before casting to atomic64_t.
13412 (atomic_exchange_acq): Likewise.
13413 (__arch_exchange_and_add_body): Likewise.
13414 (__arch_add_body): Likewise.
13415 (atomic_add_negative): Likewise.
13416 (atomic_add_zero): Likewise.
13417
4cf77aa9
JM
134182012-11-26 Joseph Myers <joseph@codesourcery.com>
13419
13420 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
13421 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13422 (add_fdes): Likewise.
13423 (linear_search_fdes): Likewise.
13424 (binary_search_unencoded_fdes): Likewise.
13425
d260b3b4
AS
134262012-11-26 Andreas Schwab <schwab@linux-m68k.org>
13427
13428 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13429
67060746
AC
134302012-11-24 Adam Conrad <adconrad@0c3.net>
13431
13432 * configure.in: Autodetect C++ header directories.
13433 * configure: Regenerated.
13434
800938a1
MF
134352012-11-23 Mike Frysinger <vapier@gentoo.org>
13436
13437 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13438
4e6e34e6
AS
134392012-11-23 Andreas Schwab <schwab@linux-m68k.org>
13440
13441 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13442
7c7feb47
JM
134432012-11-22 Joseph Myers <joseph@codesourcery.com>
13444
7184dcdf
JM
13445 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13446 LDBL_MANT_DIG == 106]: Disable some tests.
13447 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13448 Likewise.
13449 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13450 Likewise.
13451
0a42601f
JM
13452 [BZ #14871]
13453 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13454 input for small inputs. Return +/- pi/2 for large inputs.
13455 * math/libm-test.inc (atan_test): Add more tests.
13456
79c9b9fe
JM
13457 * sysdeps/generic/unwind-dw2-fde-glibc.c
13458 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13459 __attribute__ ((unused)).
13460
c60d3bf2
JM
13461 [BZ #14645]
13462 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13463 x * y if x and y are nonzero and z is zero.
13464
ef1e0867
JM
13465 [BZ #14811]
13466 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13467 nonzero exponents with absolute value below 0x1p-117 to +/-
13468 0x1p-117.
13469
1468ded3
JM
13470 [BZ #14869]
13471 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13472 up arguments below 2**-450, not just those below 2**-500.
13473 * math/libm-test.inc (hypot_test): Add another test.
13474
8e27e3cc
JM
13475 [BZ #14868]
13476 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13477 Return a+b for ratio over 2**120, not 2**60.
13478 * math/libm-test.inc (hypot_test): Add another test.
13479
c9c0279b
JM
13480 * math/libm-test.inc (clog_test): Use
13481 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13482 (clog10_test): Likewise.
13483
7c7feb47
JM
13484 [BZ #6778]
13485 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13486
fff1530e
AS
134872012-11-22 Andreas Schwab <schwab@suse.de>
13488
13489 * sysdeps/i386/fpu/libm-test-ulps: Update.
13490
94558d30
PT
134912012-11-22 Pino Toscano <toscano.pino@tiscali.it>
13492
13493 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13494 printf output with newline.
13495
7e1be741
L
134962012-11-21 H.J. Lu <hongjiu.lu@intel.com>
13497
6bfea974
L
13498 [BZ #14865]
13499 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13500 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13501 -z nodlopen, -z initfirst and -z execstack support.
13502 * configure: Regenerated.
13503
7e1be741
L
13504 * elf/elf.h (DF_1_NODIRECT): New macro.
13505 (DF_1_IGNMULDEF): Likewise.
13506 (DF_1_NOKSYMS): Likewise.
13507 (DF_1_NOHDR): Likewise.
13508 (DF_1_EDITED): Likewise.
13509 (DF_1_NORELOC): Likewise.
13510 (DF_1_SYMINTPOSE): Likewise.
13511 (DF_1_GLOBAUDIT): Likewise.
13512 (DF_1_SINGLETON): Likewise.
13513 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13514 DT_1_SUPPORTED_MASK bits.
13515 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13516
105ce2ce
CD
135172012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
13518
13519 * sysdeps/unix/make-syscalls.sh: Document prefixes.
13520
123be9de
TS
135212012-11-20 Thomas Schwinge <thomas@codesourcery.com>
13522
d072f3f7
TS
13523 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13524 macro.
13525
123be9de
TS
13526 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13527 (sendmmsg): Move declarations...
13528 * socket/sys/socket.h: ... here.
13529 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13530 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13531 include it from...
13532 * socket/recvmmsg.c: ... this new file.
13533 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13534 (sendmmsg): Rename to __sendmmsg, create weak alias and make
13535 definition of __sendmmsg hidden.
13536 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13537 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13538 Move ENOSYS stub into and include it from...
13539 * socket/sendmmsg.c: ... this new file.
13540 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13541 (sysdep_routines): Move recvmmsg and sendmmsg...
13542 * socket/Makefile (routines): ... here.
13543 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13544 (GLIBC_PRIVATE): Add __sendmmsg.
13545 * include/sys/socket.h (__sendmmsg): Add declarations.
13546 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13547 sendmmsg.
13548
cf9a5d18
JM
135492012-11-20 Joseph Myers <joseph@codesourcery.com>
13550
13551 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13552 variable I1 with __attribute__ ((unused)).
13553 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13554
ecd4caf9
JM
135552012-11-19 Joseph Myers <joseph@codesourcery.com>
13556
be14d48f
JM
13557 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13558 DUMMY variables with __attribute__ ((unused)).
13559
ecd4caf9
JM
13560 * bits/byteswap.h: Include <bits/types.h>.
13561 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13562
986cab95
PT
135632012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13564
13565 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13566 string_t. Do not manually set errno.
13567 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13568 length with __strnlen. Make sure to both set errno and return it on
13569 failure.
13570
6d33cc9d
DM
135712012-11-19 David S. Miller <davem@davemloft.net>
13572
13573 With help from Joseph Myers.
13574 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13575 very large arguments properly.
13576 * math/libm-test.inc (atan_test): New tests.
13577 (atan2_test): New tests.
13578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13579 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13580
ee663277
JM
135812012-11-19 Joseph Myers <joseph@codesourcery.com>
13582
877f2d8e
JM
13583 [BZ #14856]
13584 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13585 Define to 3.
13586
116fc08a
JM
13587 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13588 [POSIX] (EADDRNOTAVAIL): Likewise.
13589 [POSIX] (EAFNOSUPPORT): Likewise.
13590 [POSIX] (EALREADY): Likewise.
13591 [POSIX] (ECONNABORTED): Likewise.
13592 [POSIX] (ECONNREFUSED): Likewise.
13593 [POSIX] (ECONNRESET): Likewise.
13594 [POSIX] (EDESTADDRREQ): Likewise.
13595 [POSIX] (EDQUOT): Likewise.
13596 [POSIX] (EHOSTUNREACH): Likewise.
13597 [POSIX] (EIDRM): Likewise.
13598 [POSIX] (EISCONN): Likewise.
13599 [POSIX] (ELOOP): Likewise.
13600 [POSIX] (EMULTIHOP): Likewise.
13601 [POSIX] (ENETDOWN): Likewise.
13602 [POSIX] (ENETUNREACH): Likewise.
13603 [POSIX] (ENOBUFS): Likewise.
13604 [POSIX] (ENODATA): Likewise.
13605 [POSIX] (ENOLINK): Likewise.
13606 [POSIX] (ENOMSG): Likewise.
13607 [POSIX] (ENOPROTOOPT): Likewise.
13608 [POSIX] (ENOSR): Likewise.
13609 [POSIX] (ENOSTR): Likewise.
13610 [POSIX] (ENOTCONN): Likewise.
13611 [POSIX] (ENOTSOCK): Likewise.
13612 [POSIX] (EOPNOTSUPP): Likewise.
13613 [POSIX] (EOVERFLOW): Likewise.
13614 [POSIX] (EPROTO): Likewise.
13615 [POSIX] (EPROTONOSUPPORT): Likewise.
13616 [POSIX] (EPROTOTYPE): Likewise.
13617 [POSIX] (ESTALE): Likewise.
13618 [POSIX] (ETIME): Likewise.
13619 [POSIX] (ETXTBSY): Likewise.
13620 [POSIX] (EWOULDBLOCK): Likewise.
13621 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13622 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13623 [POSIX] (SEEK_CUR): Likewise.
13624 [POSIX] (SEEK_END): Likewise.
13625 [POSIX || UNIX98] (mode_t): Do not require.
13626 [POSIX] (off_t): Likewise.
13627 [POSIX] (pid_t): Likewise.
13628 [POSIX] (sys/stat.h): Do not allow header.
13629 [POSIX] (unistd.h): Likewise.
13630 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13631 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13632 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13633 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13634 require.
13635 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13636 sigevent): Specify elements.
13637 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13638 entry.
13639 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13640 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13641
a483863f
JM
13642 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13643 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13644 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13645 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13646 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13647 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13648 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13649 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13650 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13651 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13652 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13653 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13654 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13655 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13656 Likewise.
13657 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13658 Likewise.
13659 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13660 Likewise.
13661 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13662 Likewise.
13663 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13664 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13665 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13666 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13667 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13668 Specify lower bound on value.
13669 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13670 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13671 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13672 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13673 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13674 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13675 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13676 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13677 value.
13678 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13679 as optional.
13680 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13681 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13682 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13683 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13684 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13685 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13686 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13687 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13688 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13689 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13690 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13691 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13692 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13693 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13694 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13695 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13696 entry.
13697 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13698 optional.
13699 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13700 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13701 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13702 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13703 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13704 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13705 Likewise.
13706 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13707 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13708 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13709 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13710 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13711 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13712 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13713 as optional.
13714 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13715 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13716 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13717 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13718 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13719 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13720 specify as optional.
13721 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13722 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13723 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13724 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13725 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13726 [XPG3] (NL_LANGMAX): Likewise.
13727 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13728 [POSIX || XPG3] (NL_NMAX): Likewise.
13729 [POSIX || XPG3] (NL_SETMAX): Likewise.
13730 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13731 [XPG3] (NZERO): Likewise.
13732 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13733 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13734 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13735 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13736 (REG_ERANGE): Expect.
13737 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13738 optional-constant.
13739 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13740 Use (void) in prototype.
13741 [POSIX] (*_t): Allow.
13742 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13743 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13744 (WRDE_BADVAL): Expect.
13745
5ba924e3
JM
13746 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13747 expect.
13748 [XPG3 || XPG4] (O_RSYNC): Likewise.
13749 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13750 Likewise.
13751 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13752 [XPG3 || XPG4] (sigqueue): Likewise.
13753 [XPG3 || XPG4] (sigtimedwait): Likewise.
13754 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13755 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13756 [XPG3 || XPG4] (vsnprintf): Likewise.
13757 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13758 Likewise.
13759 [XPG3 || XPG4] (blksize_t): Likewise.
13760 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13761 Likewise.
13762 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13763 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13764 [XPG3 || XPG4] (struct itimerspec): Likewise.
13765 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13766 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13767 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13768 [XPG3 || XPG4] (clockid_t): Likewise.
13769 [XPG3 || XPG4] (timer_t): Likewise.
13770 [XPG3 || XPG4] (clock_getres): Likewise.
13771 [XPG3 || XPG4] (clock_gettime): Likewise.
13772 [XPG3 || XPG4] (clock_settime): Likewise.
13773 [XPG3 || XPG4] (nanosleep): Likewise.
13774 [XPG3 || XPG4] (timer_create): Likewise.
13775 [XPG3 || XPG4] (timer_delete): Likewise.
13776 [XPG3 || XPG4] (timer_gettime): Likewise.
13777 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13778 [XPG3 || XPG4] (timer_settime): Likewise.
13779 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13780 [XPG3 || XPG4] (getlogin_r): Likewise.
13781 [XPG3 || XPG4] (pread): Likewise.
13782 [XPG3 || XPG4] (pthread_atfork): Likewise.
13783 [XPG3 || XPG4] (pwrite): Likewise.
13784
ee663277
JM
13785 [BZ #14835]
13786 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13787 <bits/siginfo.h>.
13788
942caa16
PT
137892012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13790
e19af380
PT
13791 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13792 finalizing MALLSTREAM.
13793
942caa16
PT
13794 * sysdeps/mach/hurd/syncfs.c: New file.
13795
cfde9b46
SP
137962012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13797
13798 [BZ #14719]
13799 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13800 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13801 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13802 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13803 (_nss_dns_gethostbyname4_r): Likewise.
13804 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13805 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13806
f6da27e5
PH
138072012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13808
13809 [BZ #13763]
13810 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13811
6665d4a2
SM
138122012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13813
1f51ee92
SM
13814 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13815 * elf/cache.c (print_entry): Print ",AArch64" for
13816 FLAG_AARCH64_LIB64
13817
6665d4a2
SM
13818 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13819 * elf/cache.c (print_entry): Print ",hard-float" for
13820 FLAG_ARM_LIBHF.
13821
05b227bd
DM
138222012-11-18 David S. Miller <davem@davemloft.net>
13823
13824 With help from Joseph Myers.
13825 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13826 cutoff to 2**-13.
13827 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13828 cutoff to 2**-25.
13829 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13830 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13831 small.
13832 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13833 * math/libm-test.inc (y0_test): New tests.
13834 (y1_test): New tests.
13835 * sysdeps/i386/fpu/libm-test-ulps: Update.
13836 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13837 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13838
786b0b67
AS
138392012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13840
13841 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13842 64-bit targets.
13843 * configure: Regenerated.
13844
8e18b86d
DM
138452012-11-17 David S. Miller <davem@davemloft.net>
13846
13847 [BZ #14811]
13848 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13849 nonzero exponents with absolute value below 0x1p-128 to +/-
13850 0x1p-128.
13851
531f1ae0
JM
138522012-11-17 Joseph Myers <joseph@codesourcery.com>
13853
12df29e2
JM
13854 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13855
150dc1a0
JM
13856 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13857
531f1ae0
JM
13858 * posix/getconf-speclist.c: New file.
13859 * posix/posix-envs.def: Likewise.
13860 * posix/confstr.c (START_ENV_GROUP): New macro.
13861 (END_ENV_GROUP): Likewise.
13862 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13863 (KNOWN_PRESENT_ENV_STRING): Likewise.
13864 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13865 (UNKNOWN_ENVIRONMENT): Likewise.
13866 (confstr): Include posix-envs.def instead of handling
13867 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13868 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13869 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13870 (END_ENV_GROUP): Likewise.
13871 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13872 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13873 (UNKNOWN_ENVIRONMENT): Likewise.
13874 (__sysconf): Include posix-envs.def instead of handling associated
13875 cases directly here.
13876 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13877 preprocessing getconf-speclist.c rather than running getconf or
13878 generating empty file.
13879
a93f9cbc
PT
138802012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13881
13882 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13883
d64d9f87
AL
138842012-11-16 Andrej Lajovic <natrij@gmail.com>
13885
13886 [BZ #14672]
13887 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13888
447885eb
DM
138892012-11-16 David S. Miller <davem@davemloft.net>
13890
13891 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13892 smaller than LDBL_EPSILON/2.0L, just return xm1.
13893
bcbf9830
L
138942012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13895
13896 * elf/tst-array1.c (init): Set constructor priority to 1000.
13897 (fini): Set destructor priority to 1000.
13898 * elf/tst-array2dep.c: Likewise.
13899
2b766585
SP
139002012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13901
13902 [BZ #11741]
13903 * libio/fileops.c (_IO_new_file_write): Correctly return error.
13904 (_IO_new_file_xsputn): Also return EOF if none of the input
13905 data was written when overflow failed.
13906 * libio/iopadn.c (_IO_padn): Likewise.
13907 * libio/iowpadn.c (_IO_wpadn): Likewise.
13908 * stdio-common/tst-put-error.c: Add copyright notice.
13909 (do_test): Add case for printing padded string.
13910 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13911 _IO_padn returned error.
13912 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13913 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13914 return EOF.
13915
b1848fde
SP
139162012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13917
13918 * libio/libioP.h: Add comment note that the references to C++
13919 bits are now obsolete.
13920
2fd89785
MS
139212012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13922
13923 * math/libm-test.inc (check_complex): Use asprintf.
13924
e3ea5409
JM
139252012-11-14 Joseph Myers <joseph@codesourcery.com>
13926
13927 * debug/pcprofiledump.c (print_version): Update copyright year.
13928 * malloc/memusagestat.c (print_version): Likewise.
13929
2e64d265
L
139302012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13931
13932 [BZ #14831]
13933 * elf/Makefile (tests): Add tst-audit8.
13934 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13935 ($(objpfx)tst-audit8.out): New target.
13936 (tst-audit8-ENV): New variable.
13937 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13938 audit if l_reloc_result is NULL.
13939 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13940 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13941 * elf/tst-audit8.c: New file.
13942
c485e4d2
MS
139432012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13944
13945 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13946 * misc/Makefile (CFLAGS-select.c): Define.
13947 * posix/Makefile (CFLAGS-pause.c): Define.
13948
3a0d900a
DM
139492012-11-13 David S. Miller <davem@davemloft.net>
13950
13951 * crypt/Makefile: Move test targets after toplevel Rules
13952 inclusion. Grab any necessary sysdep routines when linking.
13953 * crypt/md5.c (md5_process_block): Remove define, we will always
13954 name it __md5_process_block.
13955 (md5_finish_ctx): Update md5_process_block call.
13956 (md5_stream): Likewise.
13957 (md5_process_bytes): Likewise.
13958 (md5_process_block): Rename to __md5_process_block and move to ...
13959 * crypt/md5-block.c: ... here.
13960 * crypt/sha256.c (sha256_process_block): Move to ...
13961 * crypt/sha256-block.c: ... here.
13962 * crypt/sha512.c (sha512_process_block): Move to ...
13963 * crypt/sha512-block.c: ... here.
13964 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
13965 path.
13966 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
13967 * sysdeps/sparc/sparc64/multiarch/Makefile
13968 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
13969 crypt subdir.
13970 (localedef-aux): Add md5 crypto assembler when in locale subdir.
13971 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
13972 multiarch changes.
13973 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
13974 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
13975 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
13976 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
13977 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
13978 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
13979 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
13980 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
13981 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
13982 file.
13983 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
13984 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
13985 file.
13986 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
13987
8ca89318
JM
139882012-11-13 Joseph Myers <joseph@codesourcery.com>
13989
e27d476a
JM
13990 * timezone/tzselect.ksh: Update from tzcode git revision
13991 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
13992 * timezone/zdump.c: Likewise.
13993 * timezone/zic.c: Likewise.
13994 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
13995 in TZVERSION setting, not $(PKGVERSION).
13996 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
13997 REPORT_BUGS_TO settings.
13998
8ca89318
JM
13999 [BZ #14838]
14000 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14001 macro.
14002
47594329
MS
140032012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14004
14005 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14006 detection to immediately after _FP_ROUND().
14007 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14008 bits are 0.
14009
640ac3f1
DM
140102012-11-11 David S. Miller <davem@davemloft.net>
14011
14012 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14013 inttypes.h
14014 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14015 __close rather than their public counterparts.
14016
3d2577bb
JM
140172012-11-10 Joseph Myers <joseph@codesourcery.com>
14018
14019 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14020 file.
14021 [UNIX98] (sem_timedwait): Do not expect.
14022 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14023 [XPG4 || UNIX98] (sockatmark): Do not expect.
14024 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14025 (clock_getcpuclockid): Do not expect.
14026 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14027 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14028 Do not expect.
14029 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14030 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14031 [UNIX98] (vwscanf): Likewise.
14032 [UNIX98] (vswscanf): Likewise.
14033
fb1ae1ee
JM
140342012-11-09 Joseph Myers <joseph@codesourcery.com>
14035
9ec6f8bd
JM
14036 * timezone/version.h: Remove file.
14037 * timezone/README: Do not refer to version.h.
14038 * timezone/Makefile ($(objpfx)zic.o): New dependency on
14039 $(objpfx)version.h.
14040 ($(objpfx)zdump.o): Likewise.
c3f81911 14041 ($(objpfx)version.h): New target.
9ec6f8bd 14042
0aa8f8a1
JM
14043 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14044 2012i.
14045 * timezone/README: Don't mention modification to tzselect.ksh.
14046 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14047 work on unmodified tzselect.ksh. Substitute version numbers in
14048 tzselect.ksh.
14049
4e87147f
JM
14050 * Makefile (format-me): Remove.
14051 (INSTALL): Adjust indentation. Use commands directly instead of
14052 using $(format-me).
14053
8b748aed
JM
14054 * aclocal.m4 (ACX_PKGVERSION): New macro.
14055 (ACX_BUGURL): Likewise.
14056 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14057 (PKGVERSION): New AC_DEFINE_UNQUOTED.
14058 (REPORT_BUGS_TO): Likewise.
14059 * configure: Regenerated.
14060 * config.h.in (PKGVERSION): New macro.
14061 (REPORT_BUGS_TO): Likewise.
14062 * config.make.in (PKGVERSION): New variable.
14063 (PKGVERSION_TEXI): Likewise.
14064 (REPORT_BUGS_TO): Likewise.
14065 (REPORT_BUGS_TEXI): Likewise.
14066 * Makefile (format-me): Use -I$(common-objpfx)manual.
14067 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14068 ($(common-objpfx)manual/%): New target.
14069 (manual/%): Remove target.
14070 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14071 (print_version): Use PKGVERSION.
14072 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14073 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14074 and REPORT_BUGS_TO.
14075 ($(objpfx)xtrace): Likewise.
14076 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14077 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14078 (print_version): Use PKGVERSION.
14079 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14080 (do_version): Use PKGVERSION.
14081 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14082 REPORT_BUGS_TO.
14083 (common-ldd-rewrite): Likewise.
14084 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14085 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14086 (print_version): Use PKGVERSION.
14087 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14088 * elf/pldd.c (argp_program_bug_address): Remove variable.
14089 (more_help): New function.
14090 (argp): Use more_help.
14091 (print_version): Use PKGVERSION.
14092 * elf/sln.c (main): Use PKGVERSION.
14093 (usage): Use REPORT_BUGS_TO.
14094 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14095 (top level): Use PKGVERSION.
14096 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14097 (print_version): Use PKGVERSION.
14098 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14099 (print_version): Use PKGVERSION.
14100 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14101 (print_version): Use PKGVERSION.
14102 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14103 (print_version): Use PKGVERSION.
14104 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14105 (print_version): Use PKGVERSION.
14106 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14107 (print_version): Use PKGVERSION.
14108 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14109 and BUGURL.
14110 ($(objpfx)memusage): Likewise.
14111 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14112 (do_version): Use PKGVERSION.
14113 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14114 (print_version): Use PKGVERSION.
14115 * malloc/mtrace.pl ($PACKAGE): Remove variable.
14116 ($PKGVERSION): New variable.
14117 ($REPORT_BUGS_TO): Likewise.
14118 (usage): Use $REPORT_BUGS_TO.
14119 (top level): Use $PKGVERSION.
14120 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14121 ($(objpfx)pkgvers.texi): New rule.
14122 ($(objpfx)stamp-pkgvers): Likewise.
14123 * manual/install.texi: Include pkgvers.texi.
14124 (--with-pkgversion): Document new configure option.
14125 (--with-bugurl): Likewise.
14126 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14127 than necessarily for this particular distribution. Use
14128 REPORT_BUGS_TO for where to report bugs.
14129 * INSTALL: Regenerated.
14130 * manual/libc.texinfo: Include pkgvers.texi.
14131 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14132 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14133 (print_version): Use PKGVERSION.
14134 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14135 (print_version): Use PKGVERSION.
14136 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14137 (print_version): Use PKGVERSION.
14138 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14139 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14140 macro.
14141 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14142 (print_version): Use PKGVERSION.
14143 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14144 (print_version): Use PKGVERSION.
14145 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14146 and PKGVERSION.
14147
92e4b6a9
JM
14148 * timezone/checktab.awk: Update from tzcode 2012i.
14149 * timezone/ialloc.c: Likewise.
14150 * timezone/private.h: Likewise.
14151 * timezone/scheck.c: Likewise.
14152 * timezone/tzfile.h: Likewise.
14153 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14154 (TZVERSION): Hardcode tzcode version number.
14155 * timezone/zdump.c: Update from tzcode 2012i.
14156 * timezone/zic.c: Likewise.
14157 * timezone/version.h: New file.
14158 * timezone/README: Describe version.h. Update upstream location.
14159
9bde902c
JM
14160 [BZ #14824]
14161 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14162 (mktemp): Enable declaration.
14163 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14164 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14165 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14166 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14167 Likewise.
14168 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14169 Likewise.
14170 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14171 Likewise.
14172 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14173 Likewise.
14174 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14175 Likewise.
14176 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14177 Likewise.
14178
fb1ae1ee
JM
14179 [BZ #14821]
14180 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14181 offset in buffer as u_int32_t not u_long. Consistently use memcpy
14182 for copies of such integer values.
14183 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14184 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14185
2c1adbcb
AJ
141862012-11-09 Andreas Jaeger <aj@suse.de>
14187
14188 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14189 definitions and declarations that are provided by
14190 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14191
d0f8457e
AK
141922012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14193
3a235abb 14194 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
14195 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14196 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14197 definition.
14198
57241e26
MS
141992012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14200
14201 * elf/elf.h: Update comment before AArch64 relocations.
14202
60e8270d
DM
142032012-11-07 David S. Miller <davem@davemloft.net>
14204
14205 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14206 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14207 (__start_context): Declare.
14208 (__makecontext_ret): Delete.
14209 (__makecontext): Hook up __start_context instead of
14210 __makecontext_ret.
14211 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14212 (sysdep_routines): Add __start_context when in stdlib.
14213
0fbb0fbc
JM
142142012-11-07 Joseph Myers <joseph@codesourcery.com>
14215
14216 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14217 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14218 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
14219 hardcoded "nm".
14220 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
14221 (READELF): New variable. Use it instead of hardcoded "readelf".
14222
eb48db7e
L
142232012-11-07 H.J. Lu <hongjiu.lu@intel.com>
14224
14225 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14226 * sysdeps/x86/Makefile: Here.
14227 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14228 * sysdeps/x86/tst-xmmymm.sh: This.
14229
05bcf62a
JM
142302012-11-07 Joseph Myers <joseph@codesourcery.com>
14231
c4b6cf53
JM
14232 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14233 expectations.
14234 [UNIX98] (pthread_barrier_t): Do not expect.
14235 [UNIX98] (pthread_barrierattr_t): Likewise.
14236 [UNIX98] (pthread_spinlock_t): Likewise.
14237 [UNIX98] (pthread_barrier_destroy): Likewise.
14238 [UNIX98] (pthread_barrier_init): Likewise.
14239 [UNIX98] (pthread_barrier_wait): Likewise.
14240 [UNIX98] (pthread_barrierattr_destroy): Likewise.
14241 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14242 [UNIX98] (pthread_barrierattr_init): Likewise.
14243 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14244 [UNIX98] (pthread_getcpuclockid): Likewise.
14245 [UNIX98] (pthread_mutex_timedlock): Likewise.
14246 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14247 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14248 [UNIX98] (pthread_sigmask): Likewise.
14249 [UNIX98] (pthread_spin_destroy): Likewise.
14250 [UNIX98] (pthread_spin_init): Likewise.
14251 [UNIX98] (pthread_spin_lock): Likewise.
14252 [UNIX98] (pthread_spin_trylock): Likewise.
14253 [UNIX98] (pthread_spin_unlock): Likewise.
14254 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14255 Do not expect.
14256 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14257 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14258 [XPG3 || XPG4] (pthread_cond_t): Likewise.
14259 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14260 [XPG3 || XPG4] (pthread_key_t): Likewise.
14261 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14262 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14263 [XPG3 || XPG4] (pthread_once_t): Likewise.
14264 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14265 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14266 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14267 [XPG3 || XPG4] (pthread_t): Likewise.
14268
cbe6e120
JM
14269 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14270 not expect.
14271 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14272
1b126443
JM
14273 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14274 Change function return type to int.
14275
b961a573
JM
14276 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14277 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14278 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14279 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14280 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14281 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14282 [!POSIX] (posix_madvise): Likewise.
14283 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14284 && !UNIX98].
14285 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14286 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14287 (mode_t): Likewise.
14288 (posix_mem_offset): Likewise.
14289 (posix_typed_mem_get_info): Likewise.
14290 (posix_typed_mem_open): Likewise.
14291
9e188909
JM
14292 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14293 Change condition to [XOPEN2K8].
14294
05bcf62a
JM
14295 * conform/conformtest.pl: Preprocess allow-header data with -x c
14296 instead of from stdin.
14297 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14298 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14299 [C99-based standards] (cerfc): Likewise.
14300 [C99-based standards] (cexp2): Likewise.
14301 [C99-based standards] (cexpm1): Likewise.
14302 [C99-based standards] (clog10): Likewise.
14303 [C99-based standards] (clog1p): Likewise.
14304 [C99-based standards] (clog2): Likewise.
14305 [C99-based standards] (clgamma): Likewise.
14306 [C99-based standards] (ctgamma): Likewise.
14307 [C99-based standards] (cerff): Likewise.
14308 [C99-based standards] (cerfcf): Likewise.
14309 [C99-based standards] (cexp2f): Likewise.
14310 [C99-based standards] (cexpm1f): Likewise.
14311 [C99-based standards] (clog10f): Likewise.
14312 [C99-based standards] (clog1pf): Likewise.
14313 [C99-based standards] (clog2f): Likewise.
14314 [C99-based standards] (clgammaf): Likewise.
14315 [C99-based standards] (ctgammaf): Likewise.
14316 [C99-based standards] (cerfl): Likewise.
14317 [C99-based standards] (cerfcl): Likewise.
14318 [C99-based standards] (cexp2l): Likewise.
14319 [C99-based standards] (cexpm1l): Likewise.
14320 [C99-based standards] (clog10l): Likewise.
14321 [C99-based standards] (clog1pl): Likewise.
14322 [C99-based standards] (clog2l): Likewise.
14323 [C99-based standards] (clgammal): Likewise.
14324 [C99-based standards] (ctgammal): Likewise.
14325 * conform/data/inttypes.h-data [C99-based standards]: Include
14326 stdint.h-data. Remove all expectations for stdint.h contents.
14327 [C99-based standards] (PRI*): Do not allow.
14328 [C99-based standards] (SCN*): Likewise.
14329 [C99-based standards] (*_t): Likewise.
14330 [C99-based-standards] (PRId8): Expect macro.
14331 [C99-based-standards] (PRIi8): Likewise.
14332 [C99-based-standards] (PRIo8): Likewise.
14333 [C99-based-standards] (PRIu8): Likewise.
14334 [C99-based-standards] (PRIx8): Likewise.
14335 [C99-based-standards] (PRIX8): Likewise.
14336 [C99-based-standards] (SCNd8): Likewise.
14337 [C99-based-standards] (SCNi8): Likewise.
14338 [C99-based-standards] (SCNo8): Likewise.
14339 [C99-based-standards] (SCNu8): Likewise.
14340 [C99-based-standards] (SCNx8): Likewise.
14341 [C99-based-standards] (PRIdLEAST8): Likewise.
14342 [C99-based-standards] (PRIiLEAST8): Likewise.
14343 [C99-based-standards] (PRIoLEAST8): Likewise.
14344 [C99-based-standards] (PRIuLEAST8): Likewise.
14345 [C99-based-standards] (PRIxLEAST8): Likewise.
14346 [C99-based-standards] (PRIXLEAST8): Likewise.
14347 [C99-based-standards] (SCNdLEAST8): Likewise.
14348 [C99-based-standards] (SCNiLEAST8): Likewise.
14349 [C99-based-standards] (SCNoLEAST8): Likewise.
14350 [C99-based-standards] (SCNuLEAST8): Likewise.
14351 [C99-based-standards] (SCNxLEAST8): Likewise.
14352 [C99-based-standards] (PRIdFAST8): Likewise.
14353 [C99-based-standards] (PRIiFAST8): Likewise.
14354 [C99-based-standards] (PRIoFAST8): Likewise.
14355 [C99-based-standards] (PRIuFAST8): Likewise.
14356 [C99-based-standards] (PRIxFAST8): Likewise.
14357 [C99-based-standards] (PRIXFAST8): Likewise.
14358 [C99-based-standards] (SCNdFAST8): Likewise.
14359 [C99-based-standards] (SCNiFAST8): Likewise.
14360 [C99-based-standards] (SCNoFAST8): Likewise.
14361 [C99-based-standards] (SCNuFAST8): Likewise.
14362 [C99-based-standards] (SCNxFAST8): Likewise.
14363 [C99-based-standards] (PRId16): Likewise.
14364 [C99-based-standards] (PRIi16): Likewise.
14365 [C99-based-standards] (PRIo16): Likewise.
14366 [C99-based-standards] (PRIu16): Likewise.
14367 [C99-based-standards] (PRIx16): Likewise.
14368 [C99-based-standards] (PRIX16): Likewise.
14369 [C99-based-standards] (SCNd16): Likewise.
14370 [C99-based-standards] (SCNi16): Likewise.
14371 [C99-based-standards] (SCNo16): Likewise.
14372 [C99-based-standards] (SCNu16): Likewise.
14373 [C99-based-standards] (SCNx16): Likewise.
14374 [C99-based-standards] (PRIdLEAST16): Likewise.
14375 [C99-based-standards] (PRIiLEAST16): Likewise.
14376 [C99-based-standards] (PRIoLEAST16): Likewise.
14377 [C99-based-standards] (PRIuLEAST16): Likewise.
14378 [C99-based-standards] (PRIxLEAST16): Likewise.
14379 [C99-based-standards] (PRIXLEAST16): Likewise.
14380 [C99-based-standards] (SCNdLEAST16): Likewise.
14381 [C99-based-standards] (SCNiLEAST16): Likewise.
14382 [C99-based-standards] (SCNoLEAST16): Likewise.
14383 [C99-based-standards] (SCNuLEAST16): Likewise.
14384 [C99-based-standards] (SCNxLEAST16): Likewise.
14385 [C99-based-standards] (PRIdFAST16): Likewise.
14386 [C99-based-standards] (PRIiFAST16): Likewise.
14387 [C99-based-standards] (PRIoFAST16): Likewise.
14388 [C99-based-standards] (PRIuFAST16): Likewise.
14389 [C99-based-standards] (PRIxFAST16): Likewise.
14390 [C99-based-standards] (PRIXFAST16): Likewise.
14391 [C99-based-standards] (SCNdFAST16): Likewise.
14392 [C99-based-standards] (SCNiFAST16): Likewise.
14393 [C99-based-standards] (SCNoFAST16): Likewise.
14394 [C99-based-standards] (SCNuFAST16): Likewise.
14395 [C99-based-standards] (SCNxFAST16): Likewise.
14396 [C99-based-standards] (PRId32): Likewise.
14397 [C99-based-standards] (PRIi32): Likewise.
14398 [C99-based-standards] (PRIo32): Likewise.
14399 [C99-based-standards] (PRIu32): Likewise.
14400 [C99-based-standards] (PRIx32): Likewise.
14401 [C99-based-standards] (PRIX32): Likewise.
14402 [C99-based-standards] (SCNd32): Likewise.
14403 [C99-based-standards] (SCNi32): Likewise.
14404 [C99-based-standards] (SCNo32): Likewise.
14405 [C99-based-standards] (SCNu32): Likewise.
14406 [C99-based-standards] (SCNx32): Likewise.
14407 [C99-based-standards] (PRIdLEAST32): Likewise.
14408 [C99-based-standards] (PRIiLEAST32): Likewise.
14409 [C99-based-standards] (PRIoLEAST32): Likewise.
14410 [C99-based-standards] (PRIuLEAST32): Likewise.
14411 [C99-based-standards] (PRIxLEAST32): Likewise.
14412 [C99-based-standards] (PRIXLEAST32): Likewise.
14413 [C99-based-standards] (SCNdLEAST32): Likewise.
14414 [C99-based-standards] (SCNiLEAST32): Likewise.
14415 [C99-based-standards] (SCNoLEAST32): Likewise.
14416 [C99-based-standards] (SCNuLEAST32): Likewise.
14417 [C99-based-standards] (SCNxLEAST32): Likewise.
14418 [C99-based-standards] (PRIdFAST32): Likewise.
14419 [C99-based-standards] (PRIiFAST32): Likewise.
14420 [C99-based-standards] (PRIoFAST32): Likewise.
14421 [C99-based-standards] (PRIuFAST32): Likewise.
14422 [C99-based-standards] (PRIxFAST32): Likewise.
14423 [C99-based-standards] (PRIXFAST32): Likewise.
14424 [C99-based-standards] (SCNdFAST32): Likewise.
14425 [C99-based-standards] (SCNiFAST32): Likewise.
14426 [C99-based-standards] (SCNoFAST32): Likewise.
14427 [C99-based-standards] (SCNuFAST32): Likewise.
14428 [C99-based-standards] (SCNxFAST32): Likewise.
14429 [C99-based-standards] (PRId64): Likewise.
14430 [C99-based-standards] (PRIi64): Likewise.
14431 [C99-based-standards] (PRIo64): Likewise.
14432 [C99-based-standards] (PRIu64): Likewise.
14433 [C99-based-standards] (PRIx64): Likewise.
14434 [C99-based-standards] (PRIX64): Likewise.
14435 [C99-based-standards] (SCNd64): Likewise.
14436 [C99-based-standards] (SCNi64): Likewise.
14437 [C99-based-standards] (SCNo64): Likewise.
14438 [C99-based-standards] (SCNu64): Likewise.
14439 [C99-based-standards] (SCNx64): Likewise.
14440 [C99-based-standards] (PRIdLEAST64): Likewise.
14441 [C99-based-standards] (PRIiLEAST64): Likewise.
14442 [C99-based-standards] (PRIoLEAST64): Likewise.
14443 [C99-based-standards] (PRIuLEAST64): Likewise.
14444 [C99-based-standards] (PRIxLEAST64): Likewise.
14445 [C99-based-standards] (PRIXLEAST64): Likewise.
14446 [C99-based-standards] (SCNdLEAST64): Likewise.
14447 [C99-based-standards] (SCNiLEAST64): Likewise.
14448 [C99-based-standards] (SCNoLEAST64): Likewise.
14449 [C99-based-standards] (SCNuLEAST64): Likewise.
14450 [C99-based-standards] (SCNxLEAST64): Likewise.
14451 [C99-based-standards] (PRIdFAST64): Likewise.
14452 [C99-based-standards] (PRIiFAST64): Likewise.
14453 [C99-based-standards] (PRIoFAST64): Likewise.
14454 [C99-based-standards] (PRIuFAST64): Likewise.
14455 [C99-based-standards] (PRIxFAST64): Likewise.
14456 [C99-based-standards] (PRIXFAST64): Likewise.
14457 [C99-based-standards] (SCNdFAST64): Likewise.
14458 [C99-based-standards] (SCNiFAST64): Likewise.
14459 [C99-based-standards] (SCNoFAST64): Likewise.
14460 [C99-based-standards] (SCNuFAST64): Likewise.
14461 [C99-based-standards] (SCNxFAST64): Likewise.
14462 [C99-based-standards] (PRIdMAX): Likewise.
14463 [C99-based-standards] (PRIiMAX): Likewise.
14464 [C99-based-standards] (PRIoMAX): Likewise.
14465 [C99-based-standards] (PRIuMAX): Likewise.
14466 [C99-based-standards] (PRIxMAX): Likewise.
14467 [C99-based-standards] (PRIXMAX): Likewise.
14468 [C99-based-standards] (SCNdMAX): Likewise.
14469 [C99-based-standards] (SCNiMAX): Likewise.
14470 [C99-based-standards] (SCNoMAX): Likewise.
14471 [C99-based-standards] (SCNuMAX): Likewise.
14472 [C99-based-standards] (SCNxMAX): Likewise.
14473 [C99-based-standards] (PRIdPTR): Likewise.
14474 [C99-based-standards] (PRIiPTR): Likewise.
14475 [C99-based-standards] (PRIoPTR): Likewise.
14476 [C99-based-standards] (PRIuPTR): Likewise.
14477 [C99-based-standards] (PRIxPTR): Likewise.
14478 [C99-based-standards] (PRIXPTR): Likewise.
14479 [C99-based-standards] (SCNdPTR): Likewise.
14480 [C99-based-standards] (SCNiPTR): Likewise.
14481 [C99-based-standards] (SCNoPTR): Likewise.
14482 [C99-based-standards] (SCNuPTR): Likewise.
14483 [C99-based-standards] (SCNxPTR): Likewise.
14484 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14485 allow.
14486 * conform/data/stdint.h-data: Update comments to clarify
14487 requirements.
14488 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
14489 type.
14490 [C99-based standards] (INT8_MAX): Likewise.
14491 [C99-based standards] (INT16_MIN): Likewise.
14492 [C99-based standards] (INT16_MAX): Likewise.
14493 [C99-based standards] (INT32_MIN): Likewise.
14494 [C99-based standards] (INT32_MAX): Likewise.
14495 [C99-based standards] (INT64_MIN): Likewise.
14496 [C99-based standards] (INT64_MAX): Likewise.
14497 [C99-based standards] (UINT8_MAX): Likewise.
14498 [C99-based standards] (UINT16_MAX): Likewise.
14499 [C99-based standards] (UINT32_MAX): Likewise.
14500 [C99-based standards] (UINT64_MAX): Likewise.
14501 [C99-based standards] (INT_LEAST8_MIN): Likewise.
14502 [C99-based standards] (INT_LEAST8_MAX): Likewise.
14503 [C99-based standards] (INT_LEAST16_MIN): Likewise.
14504 [C99-based standards] (INT_LEAST16_MAX): Likewise.
14505 [C99-based standards] (INT_LEAST32_MIN): Likewise.
14506 [C99-based standards] (INT_LEAST32_MAX): Likewise.
14507 [C99-based standards] (INT_LEAST64_MIN): Likewise.
14508 [C99-based standards] (INT_LEAST64_MAX): Likewise.
14509 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14510 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14511 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14512 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14513 [C99-based standards] (INT_FAST8_MIN): Likewise.
14514 [C99-based standards] (INT_FAST8_MAX): Likewise.
14515 [C99-based standards] (INT_FAST16_MIN): Likewise.
14516 [C99-based standards] (INT_FAST16_MAX): Likewise.
14517 [C99-based standards] (INT_FAST32_MIN): Likewise.
14518 [C99-based standards] (INT_FAST32_MAX): Likewise.
14519 [C99-based standards] (INT_FAST64_MIN): Likewise.
14520 [C99-based standards] (INT_FAST64_MAX): Likewise.
14521 [C99-based standards] (UINT_FAST8_MAX): Likewise.
14522 [C99-based standards] (UINT_FAST16_MAX): Likewise.
14523 [C99-based standards] (UINT_FAST32_MAX): Likewise.
14524 [C99-based standards] (UINT_FAST64_MAX): Likewise.
14525 [C99-based standards] (INTPTR_MIN): Likewise.
14526 [C99-based standards] (INTPTR_MAX): Likewise.
14527 [C99-based standards] (UINTPTR_MAX): Likewise.
14528 [C99-based standards] (INTMAX_MIN): Likewise.
14529 [C99-based standards] (INTMAX_MAX): Likewise.
14530 [C99-based standards] (UINTMAX_MAX): Likewise.
14531 [C99-based standards] (PTRDIFF_MIN): Likewise.
14532 [C99-based standards] (PTRDIFF_MAX): Likewise.
14533 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14534 [C99-based standards] (SIZE_MAX): Likewise.
14535 [C99-based standards] (WCHAR_MAX): Likewise.
14536 [C99-based standards] (WINT_MAX): Likewise.
14537 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
14538 constraint on value.
14539 [C99-based standards] (WCHAR_MIN): Likewise.
14540 [C99-based standards] (WINT_MIN): Likewise.
14541 [C99-based standards] (*_t): Allow.
14542 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14543 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14544 Include math.h-data and complex.h-data. Remove all expectations
14545 of math.h and complex.h contents.
14546 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14547 at end of line.
14548 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14549 (struct tm): Expect tag.
14550 [C99-based-standards] (wcstof): Expect function.
14551 [C99-based-standards] (wcstold): Likewise.
14552 [C99-based-standards] (wcstoll): Likewise.
14553 [C99-based-standards] (wcstoull): Likewise.
14554 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14555 macro-int-constant. Specify type.
14556 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14557 constraint on value.
14558 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14559 Specify type.
14560 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14561 Specify value.
14562 [ISO C standards]: Do not allow headers.
14563 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14564 wcs[abcdefghijklmnopqrstuvwxyz]*.
14565 [ISO C standards] (*_t): Do not allow.
14566 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14567 Expect function.
14568 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14569 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14570 Specify type.
14571 [ISO C standards]: Do not allow headers.
14572 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14573 is[abcdefghijklmnopqrstuvwxyz]*.
14574 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14575 to[abcdefghijklmnopqrstuvwxyz]*.
14576 [ISO C standards] (*_t): Do not allow.
14577 * conform/data/stdalign.h-data: New file.
14578 * conform/data/stdbool.h-data: Likewise.
14579 * conform/data/stdnoreturn.h-data: Likewise.
14580
7514feb8
RM
145812012-11-07 Roland McGrath <roland@hack.frob.com>
14582
14583 [BZ #14815]
14584 * manual/filesys.texi (Directory Entries): Typo fix.
14585 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14586
19b2ecfc
MS
145872012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14588
14589 * elf/elf.h (EM_AARCH64): New macro.
14590 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14591 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14592 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14593 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14594 (R_AARCH64_TLSDESC): Likewise.
14595 (NT_ARM_TLS): Likewise.
14596 (NT_ARM_HW_BREAK): Likewise.
14597 (NT_ARM_HW_WATCH): Likewise.
14598
60e235ee
JM
145992012-11-07 Joseph Myers <joseph@codesourcery.com>
14600
14601 [BZ #14811]
14602 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14603 (__ieee754_powl): Saturate nonzero exponents with absolute value
14604 below 0x1p-79 to +/- 0x1p-79.
14605 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14606 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14607 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14608 nonzero exponents with absolute value below 0x1p-32 to +/-
14609 0x1p-32.
14610 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14611 (__ieee754_powl): Saturate nonzero exponents with absolute value
14612 below 0x1p-79 to +/- 0x1p-79.
14613 * math/libm-test.inc (pow_test): Add more tests.
14614
0ab234b7
AK
146152012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14616
14617 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14618 _dl_s390_cap_flags with kernel. Increase string length.
14619 (_dl_s390_platforms): Add z196 and zEC12.
14620
45832f74
JM
146212012-11-07 Joseph Myers <joseph@codesourcery.com>
14622
14623 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14624 Change XOPEN21K to XOPEN2K.
14625
19218757
MK
146262012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14627
14628 * string/memmove.c: Use memcpy when possible.
14629
c5f45721
AJ
146302012-11-06 Andreas Jaeger <aj@suse.de>
14631
14632 * po/eo.po: Update from translation team.
14633
82477c28
JM
146342012-11-06 Joseph Myers <joseph@codesourcery.com>
14635
14636 [BZ #14793]
14637 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14638 exponent and small x and y exponents, scale x or y up. Increase
14639 by 2 the exponent used in scaling up.
14640 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14641 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14642 * math/libm-test.inc (fma_test): Add more tests.
14643 (fma_test_towardzero): Likewise.
14644 (fma_test_downward): Likewise.
14645 (fma_test_upward): Likewise.
14646
99252c8c
JM
146472012-11-05 Joseph Myers <joseph@codesourcery.com>
14648
acfa885f
JM
14649 [BZ #14805]
14650 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14651 fenv_t *.
14652
99252c8c
JM
14653 [BZ #14801]
14654 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14655 namespace for names of struct fields.
14656 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14657 fenv_t fields.
14658 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14659 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14660
d6d98dea
ST
146612012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14662
14663 [BZ #3665]
14664 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14665
e10bb107
TS
146662012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14667
14668 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14669 PTR_DEMANGLE.
14670
14671 [BZ #5246]
14672 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14673 PTR_DEMANGLE.
14674
a0c2940d
JM
146752012-11-04 Joseph Myers <joseph@codesourcery.com>
14676
14677 [BZ #14797]
14678 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14679 definitely overflow as x * y not x * y + z.
14680 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14681 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14682 * math/libm-test.inc (fma_test): Add more tests.
14683 (fma_test_towardzero): Likewise.
14684 (fma_test_downward): Likewise.
14685 (fma_test_upward): Likewise.
14686
b830319d
TS
146872012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14688
14689 [BZ #157]
14690
14691 * include/stub-tag.h: Remove file.
14692 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14693 '#include' of it.
14694 * manual/maint.texi (Porting): Don't reference it.
14695 * Makerules ($(objpfx)stubs): Likewise.
14696 * dirent/closedir.c: Don't include <stub-tag.h>.
14697 * dirent/dirfd.c: Likewise.
14698 * dirent/fdopendir.c: Likewise.
14699 * dirent/getdents.c: Likewise.
14700 * dirent/getdents64.c: Likewise.
14701 * dirent/opendir.c: Likewise.
14702 * dirent/readdir.c: Likewise.
14703 * dirent/readdir64.c: Likewise.
14704 * dirent/readdir64_r.c: Likewise.
14705 * dirent/readdir_r.c: Likewise.
14706 * dirent/rewinddir.c: Likewise.
14707 * dirent/seekdir.c: Likewise.
14708 * dirent/telldir.c: Likewise.
14709 * gmon/profil.c: Likewise.
14710 * grp/setgroups.c: Likewise.
14711 * inet/if_index.c: Likewise.
14712 * io/access.c: Likewise.
14713 * io/chdir.c: Likewise.
14714 * io/chmod.c: Likewise.
14715 * io/chown.c: Likewise.
14716 * io/close.c: Likewise.
14717 * io/dup.c: Likewise.
14718 * io/dup2.c: Likewise.
14719 * io/dup3.c: Likewise.
14720 * io/euidaccess.c: Likewise.
14721 * io/faccessat.c: Likewise.
14722 * io/fchdir.c: Likewise.
14723 * io/fchmod.c: Likewise.
14724 * io/fchmodat.c: Likewise.
14725 * io/fchown.c: Likewise.
14726 * io/fchownat.c: Likewise.
14727 * io/fcntl.c: Likewise.
14728 * io/flock.c: Likewise.
14729 * io/fstatfs.c: Likewise.
14730 * io/fstatfs64.c: Likewise.
14731 * io/fstatvfs.c: Likewise.
14732 * io/fstatvfs64.c: Likewise.
14733 * io/futimens.c: Likewise.
14734 * io/fxstat.c: Likewise.
14735 * io/fxstat64.c: Likewise.
14736 * io/fxstatat.c: Likewise.
14737 * io/fxstatat64.c: Likewise.
14738 * io/getcwd.c: Likewise.
14739 * io/isatty.c: Likewise.
14740 * io/lchmod.c: Likewise.
14741 * io/lchown.c: Likewise.
14742 * io/link.c: Likewise.
14743 * io/linkat.c: Likewise.
14744 * io/lseek.c: Likewise.
14745 * io/lseek64.c: Likewise.
14746 * io/lxstat64.c: Likewise.
14747 * io/mkdir.c: Likewise.
14748 * io/mkdirat.c: Likewise.
14749 * io/mkfifo.c: Likewise.
14750 * io/mkfifoat.c: Likewise.
14751 * io/open.c: Likewise.
14752 * io/open64.c: Likewise.
14753 * io/openat.c: Likewise.
14754 * io/openat64.c: Likewise.
14755 * io/pipe.c: Likewise.
14756 * io/pipe2.c: Likewise.
14757 * io/poll.c: Likewise.
14758 * io/posix_fadvise.c: Likewise.
14759 * io/posix_fadvise64.c: Likewise.
14760 * io/posix_fallocate.c: Likewise.
14761 * io/posix_fallocate64.c: Likewise.
14762 * io/read.c: Likewise.
14763 * io/readlink.c: Likewise.
14764 * io/readlinkat.c: Likewise.
14765 * io/rmdir.c: Likewise.
14766 * io/sendfile.c: Likewise.
14767 * io/sendfile64.c: Likewise.
14768 * io/statfs.c: Likewise.
14769 * io/statfs64.c: Likewise.
14770 * io/statvfs.c: Likewise.
14771 * io/statvfs64.c: Likewise.
14772 * io/symlink.c: Likewise.
14773 * io/symlinkat.c: Likewise.
14774 * io/ttyname.c: Likewise.
14775 * io/ttyname_r.c: Likewise.
14776 * io/umask.c: Likewise.
14777 * io/unlink.c: Likewise.
14778 * io/unlinkat.c: Likewise.
14779 * io/utime.c: Likewise.
14780 * io/utimensat.c: Likewise.
14781 * io/write.c: Likewise.
14782 * io/xmknod.c: Likewise.
14783 * io/xmknodat.c: Likewise.
14784 * io/xstat.c: Likewise.
14785 * io/xstat64.c: Likewise.
14786 * login/getpt.c: Likewise.
14787 * login/grantpt.c: Likewise.
14788 * login/unlockpt.c: Likewise.
14789 * math/e_acoshl.c: Likewise.
14790 * math/e_acosl.c: Likewise.
14791 * math/e_asinl.c: Likewise.
14792 * math/e_atan2l.c: Likewise.
14793 * math/e_atanhl.c: Likewise.
14794 * math/e_coshl.c: Likewise.
14795 * math/e_expl.c: Likewise.
14796 * math/e_fmodl.c: Likewise.
14797 * math/e_gammal_r.c: Likewise.
14798 * math/e_hypotl.c: Likewise.
14799 * math/e_j0l.c: Likewise.
14800 * math/e_j1l.c: Likewise.
14801 * math/e_jnl.c: Likewise.
14802 * math/e_lgammal_r.c: Likewise.
14803 * math/e_log10l.c: Likewise.
14804 * math/e_log2l.c: Likewise.
14805 * math/e_logl.c: Likewise.
14806 * math/e_powl.c: Likewise.
14807 * math/e_rem_pio2l.c: Likewise.
14808 * math/e_sinhl.c: Likewise.
14809 * math/e_sqrtl.c: Likewise.
14810 * math/fclrexcpt.c: Likewise.
14811 * math/fedisblxcpt.c: Likewise.
14812 * math/feenablxcpt.c: Likewise.
14813 * math/fegetenv.c: Likewise.
14814 * math/fegetexcept.c: Likewise.
14815 * math/fegetround.c: Likewise.
14816 * math/feholdexcpt.c: Likewise.
14817 * math/fesetenv.c: Likewise.
14818 * math/fesetround.c: Likewise.
14819 * math/feupdateenv.c: Likewise.
14820 * math/fgetexcptflg.c: Likewise.
14821 * math/fraiseexcpt.c: Likewise.
14822 * math/fsetexcptflg.c: Likewise.
14823 * math/ftestexcept.c: Likewise.
14824 * math/k_cosl.c: Likewise.
14825 * math/k_rem_pio2l.c: Likewise.
14826 * math/k_sinl.c: Likewise.
14827 * math/k_tanl.c: Likewise.
14828 * math/s_asinhl.c: Likewise.
14829 * math/s_atanl.c: Likewise.
14830 * math/s_cbrtl.c: Likewise.
14831 * math/s_erfl.c: Likewise.
14832 * math/s_expm1l.c: Likewise.
14833 * math/s_log1pl.c: Likewise.
14834 * math/s_tanhl.c: Likewise.
14835 * misc/acct.c: Likewise.
14836 * misc/brk.c: Likewise.
14837 * misc/chflags.c: Likewise.
14838 * misc/chroot.c: Likewise.
14839 * misc/fchflags.c: Likewise.
14840 * misc/fgetxattr.c: Likewise.
14841 * misc/flistxattr.c: Likewise.
14842 * misc/fremovexattr.c: Likewise.
14843 * misc/fsetxattr.c: Likewise.
14844 * misc/fsync.c: Likewise.
14845 * misc/ftruncate.c: Likewise.
14846 * misc/futimes.c: Likewise.
14847 * misc/futimesat.c: Likewise.
14848 * misc/getdomain.c: Likewise.
14849 * misc/getdtsz.c: Likewise.
14850 * misc/gethostid.c: Likewise.
14851 * misc/gethostname.c: Likewise.
14852 * misc/getloadavg.c: Likewise.
14853 * misc/getpagesize.c: Likewise.
14854 * misc/getsysstats.c: Likewise.
14855 * misc/getxattr.c: Likewise.
14856 * misc/gtty.c: Likewise.
14857 * misc/ioctl.c: Likewise.
14858 * misc/lgetxattr.c: Likewise.
14859 * misc/listxattr.c: Likewise.
14860 * misc/llistxattr.c: Likewise.
14861 * misc/lremovexattr.c: Likewise.
14862 * misc/lsetxattr.c: Likewise.
14863 * misc/lutimes.c: Likewise.
14864 * misc/madvise.c: Likewise.
14865 * misc/mincore.c: Likewise.
14866 * misc/mlock.c: Likewise.
14867 * misc/mlockall.c: Likewise.
14868 * misc/mmap.c: Likewise.
14869 * misc/mprotect.c: Likewise.
14870 * misc/msync.c: Likewise.
14871 * misc/munlock.c: Likewise.
14872 * misc/munlockall.c: Likewise.
14873 * misc/munmap.c: Likewise.
14874 * misc/preadv.c: Likewise.
14875 * misc/preadv64.c: Likewise.
14876 * misc/ptrace.c: Likewise.
14877 * misc/pwritev.c: Likewise.
14878 * misc/pwritev64.c: Likewise.
14879 * misc/readv.c: Likewise.
14880 * misc/reboot.c: Likewise.
14881 * misc/remap_file_pages.c: Likewise.
14882 * misc/removexattr.c: Likewise.
14883 * misc/revoke.c: Likewise.
14884 * misc/select.c: Likewise.
14885 * misc/setdomain.c: Likewise.
14886 * misc/setegid.c: Likewise.
14887 * misc/seteuid.c: Likewise.
14888 * misc/sethostid.c: Likewise.
14889 * misc/sethostname.c: Likewise.
14890 * misc/setregid.c: Likewise.
14891 * misc/setreuid.c: Likewise.
14892 * misc/setxattr.c: Likewise.
14893 * misc/sstk.c: Likewise.
14894 * misc/stty.c: Likewise.
14895 * misc/swapoff.c: Likewise.
14896 * misc/swapon.c: Likewise.
14897 * misc/sync.c: Likewise.
14898 * misc/syncfs.c: Likewise.
14899 * misc/syscall.c: Likewise.
14900 * misc/truncate.c: Likewise.
14901 * misc/ualarm.c: Likewise.
14902 * misc/usleep.c: Likewise.
14903 * misc/ustat.c: Likewise.
14904 * misc/utimes.c: Likewise.
14905 * misc/vhangup.c: Likewise.
14906 * misc/writev.c: Likewise.
14907 * posix/_exit.c: Likewise.
14908 * posix/alarm.c: Likewise.
14909 * posix/execve.c: Likewise.
14910 * posix/fexecve.c: Likewise.
14911 * posix/fork.c: Likewise.
14912 * posix/fpathconf.c: Likewise.
14913 * posix/getaddrinfo.c: Likewise.
14914 * posix/getegid.c: Likewise.
14915 * posix/geteuid.c: Likewise.
14916 * posix/getgid.c: Likewise.
14917 * posix/getgroups.c: Likewise.
14918 * posix/getlogin.c: Likewise.
14919 * posix/getlogin_r.c: Likewise.
14920 * posix/getpgid.c: Likewise.
14921 * posix/getpid.c: Likewise.
14922 * posix/getppid.c: Likewise.
14923 * posix/getresgid.c: Likewise.
14924 * posix/getresuid.c: Likewise.
14925 * posix/getsid.c: Likewise.
14926 * posix/getuid.c: Likewise.
14927 * posix/glob64.c: Likewise.
14928 * posix/nanosleep.c: Likewise.
14929 * posix/pathconf.c: Likewise.
14930 * posix/pause.c: Likewise.
14931 * posix/posix_madvise.c: Likewise.
14932 * posix/pread.c: Likewise.
14933 * posix/pread64.c: Likewise.
14934 * posix/pwrite.c: Likewise.
14935 * posix/pwrite64.c: Likewise.
14936 * posix/sched_getaffinity.c: Likewise.
14937 * posix/sched_getp.c: Likewise.
14938 * posix/sched_gets.c: Likewise.
14939 * posix/sched_primax.c: Likewise.
14940 * posix/sched_primin.c: Likewise.
14941 * posix/sched_rr_gi.c: Likewise.
14942 * posix/sched_setaffinity.c: Likewise.
14943 * posix/sched_setp.c: Likewise.
14944 * posix/sched_sets.c: Likewise.
14945 * posix/sched_yield.c: Likewise.
14946 * posix/setgid.c: Likewise.
14947 * posix/setlogin.c: Likewise.
14948 * posix/setpgid.c: Likewise.
14949 * posix/setresgid.c: Likewise.
14950 * posix/setresuid.c: Likewise.
14951 * posix/setsid.c: Likewise.
14952 * posix/setuid.c: Likewise.
14953 * posix/sleep.c: Likewise.
14954 * posix/spawni.c: Likewise.
14955 * posix/sysconf.c: Likewise.
14956 * posix/times.c: Likewise.
14957 * posix/wait.c: Likewise.
14958 * posix/wait3.c: Likewise.
14959 * posix/wait4.c: Likewise.
14960 * posix/waitpid.c: Likewise.
14961 * resolv/gai_sigqueue.c: Likewise.
14962 * resource/getpriority.c: Likewise.
14963 * resource/getrlimit.c: Likewise.
14964 * resource/getrusage.c: Likewise.
14965 * resource/nice.c: Likewise.
14966 * resource/setpriority.c: Likewise.
14967 * resource/setrlimit.c: Likewise.
14968 * resource/ulimit.c: Likewise.
14969 * rt/aio_cancel.c: Likewise.
14970 * rt/aio_fsync.c: Likewise.
14971 * rt/aio_read.c: Likewise.
14972 * rt/aio_sigqueue.c: Likewise.
14973 * rt/aio_suspend.c: Likewise.
14974 * rt/aio_write.c: Likewise.
14975 * rt/clock_getres.c: Likewise.
14976 * rt/clock_gettime.c: Likewise.
14977 * rt/clock_nanosleep.c: Likewise.
14978 * rt/clock_settime.c: Likewise.
14979 * rt/lio_listio.c: Likewise.
14980 * rt/mq_close.c: Likewise.
14981 * rt/mq_getattr.c: Likewise.
14982 * rt/mq_notify.c: Likewise.
14983 * rt/mq_open.c: Likewise.
14984 * rt/mq_receive.c: Likewise.
14985 * rt/mq_send.c: Likewise.
14986 * rt/mq_setattr.c: Likewise.
14987 * rt/mq_timedreceive.c: Likewise.
14988 * rt/mq_timedsend.c: Likewise.
14989 * rt/mq_unlink.c: Likewise.
14990 * rt/shm_open.c: Likewise.
14991 * rt/shm_unlink.c: Likewise.
14992 * rt/timer_create.c: Likewise.
14993 * rt/timer_delete.c: Likewise.
14994 * rt/timer_getoverr.c: Likewise.
14995 * rt/timer_gettime.c: Likewise.
14996 * rt/timer_settime.c: Likewise.
14997 * setjmp/__longjmp.c: Likewise.
14998 * setjmp/setjmp.c: Likewise.
14999 * signal/kill.c: Likewise.
15000 * signal/killpg.c: Likewise.
15001 * signal/raise.c: Likewise.
15002 * signal/sigaction.c: Likewise.
15003 * signal/sigaltstack.c: Likewise.
15004 * signal/sigblock.c: Likewise.
15005 * signal/sigignore.c: Likewise.
15006 * signal/sigintr.c: Likewise.
15007 * signal/signal.c: Likewise.
15008 * signal/sigpause.c: Likewise.
15009 * signal/sigpending.c: Likewise.
15010 * signal/sigqueue.c: Likewise.
15011 * signal/sigreturn.c: Likewise.
15012 * signal/sigset.c: Likewise.
15013 * signal/sigsetmask.c: Likewise.
15014 * signal/sigstack.c: Likewise.
15015 * signal/sigsuspend.c: Likewise.
15016 * signal/sigtimedwait.c: Likewise.
15017 * signal/sigvec.c: Likewise.
15018 * signal/sigwait.c: Likewise.
15019 * signal/sigwaitinfo.c: Likewise.
15020 * signal/sysv_signal.c: Likewise.
15021 * socket/accept.c: Likewise.
15022 * socket/accept4.c: Likewise.
15023 * socket/bind.c: Likewise.
15024 * socket/connect.c: Likewise.
15025 * socket/getpeername.c: Likewise.
15026 * socket/getsockname.c: Likewise.
15027 * socket/getsockopt.c: Likewise.
15028 * socket/isfdtype.c: Likewise.
15029 * socket/listen.c: Likewise.
15030 * socket/recv.c: Likewise.
15031 * socket/recvfrom.c: Likewise.
15032 * socket/recvmsg.c: Likewise.
15033 * socket/send.c: Likewise.
15034 * socket/sendmsg.c: Likewise.
15035 * socket/sendto.c: Likewise.
15036 * socket/setsockopt.c: Likewise.
15037 * socket/shutdown.c: Likewise.
15038 * socket/sockatmark.c: Likewise.
15039 * socket/socket.c: Likewise.
15040 * socket/socketpair.c: Likewise.
15041 * stdio-common/ctermid.c: Likewise.
15042 * stdio-common/cuserid.c: Likewise.
15043 * stdio-common/remove.c: Likewise.
15044 * stdio-common/rename.c: Likewise.
15045 * stdio-common/renameat.c: Likewise.
15046 * stdio-common/tempname.c: Likewise.
15047 * stdlib/getcontext.c: Likewise.
15048 * stdlib/makecontext.c: Likewise.
15049 * stdlib/setcontext.c: Likewise.
15050 * stdlib/swapcontext.c: Likewise.
15051 * stdlib/system.c: Likewise.
15052 * streams/fattach.c: Likewise.
15053 * streams/fdetach.c: Likewise.
15054 * streams/getmsg.c: Likewise.
15055 * streams/getpmsg.c: Likewise.
15056 * streams/putmsg.c: Likewise.
15057 * streams/putpmsg.c: Likewise.
15058 * sysdeps/unix/bsd/getpt.c: Likewise.
15059 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15060 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15061 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15063 Likewise.
15064 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15065 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15066 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15067 * sysvipc/msgctl.c: Likewise.
15068 * sysvipc/msgget.c: Likewise.
15069 * sysvipc/msgrcv.c: Likewise.
15070 * sysvipc/msgsnd.c: Likewise.
15071 * sysvipc/semctl.c: Likewise.
15072 * sysvipc/semget.c: Likewise.
15073 * sysvipc/semop.c: Likewise.
15074 * sysvipc/semtimedop.c: Likewise.
15075 * sysvipc/shmat.c: Likewise.
15076 * sysvipc/shmctl.c: Likewise.
15077 * sysvipc/shmdt.c: Likewise.
15078 * sysvipc/shmget.c: Likewise.
15079 * termios/tcdrain.c: Likewise.
15080 * termios/tcflow.c: Likewise.
15081 * termios/tcflush.c: Likewise.
15082 * termios/tcgetattr.c: Likewise.
15083 * termios/tcgetpgrp.c: Likewise.
15084 * termios/tcsendbrk.c: Likewise.
15085 * termios/tcsetattr.c: Likewise.
15086 * termios/tcsetpgrp.c: Likewise.
15087 * time/adjtime.c: Likewise.
15088 * time/clock.c: Likewise.
15089 * time/getitimer.c: Likewise.
15090 * time/gettimeofday.c: Likewise.
15091 * time/setitimer.c: Likewise.
15092 * time/settimeofday.c: Likewise.
15093 * time/stime.c: Likewise.
15094 * time/time.c: Likewise.
15095
150962012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 15097
a20492cf
PT
15098 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15099 /usr/old/bin.
15100
72e182e3
PT
15101 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15102 instead of spaces.
15103 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15104
fbeafede
JM
151052012-11-03 Joseph Myers <joseph@codesourcery.com>
15106
5b5b04d6
JM
15107 [BZ #14796]
15108 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15109 FE_TONEAREST before applying Dekker multiplication and Knuth
15110 addition. Clear inexact exceptions and check for exact zero
15111 results afterwards.
15112 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15113 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15114 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15115 * math/libm-test.inc (fma_test): Add more tests.
15116 (fma_test_towardzero): Likewise.
15117 (fma_test_downward): Likewise.
15118 (fma_test_upward): Likewise.
15119 * sysdeps/generic/math_private.h (default_libc_fesetround): New
15120 function.
15121 (libc_fesetround): New macro.
15122 (libc_fesetroundf): Likewise.
15123 (libc_fesetroundl): Likewise.
15124 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15125 function.
15126 (libc_fesetround_387): Likewise.
15127 (libc_fesetroundf): New macro.
15128 (libc_fesetround): Likewise.
15129 (libc_fesetroundl): Likewise.
15130 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15131 function.
15132 (libc_fesetroundf): New macro.
15133 (libc_fesetround): Likewise.
15134 (libc_fesetroundl): Likewise.
15135 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15136 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15137 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15138 libm_hidden_ver.
15139 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15140 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15141 libm_hidden_def.
15142 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15143 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15144 libm_hidden_ver.
15145 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15146 libm_hidden_def.
15147
fbeafede
JM
15148 [BZ #3439]
15149 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15150 integer constant usable in #if and use that to give value to enum
15151 constant.
15152 (FE_DIVBYZERO): Likewise.
15153 (FE_UNDERFLOW): Likewise.
15154 (FE_OVERFLOW): Likewise.
15155 (FE_INVALID): Likewise.
15156 (FE_INVALID_SNAN): Likewise.
15157 (FE_INVALID_ISI): Likewise.
15158 (FE_INVALID_IDI): Likewise.
15159 (FE_INVALID_ZDZ): Likewise.
15160 (FE_INVALID_IMZ): Likewise.
15161 (FE_INVALID_COMPARE): Likewise.
15162 (FE_INVALID_SOFTWARE): Likewise.
15163 (FE_INVALID_SQRT): Likewise.
15164 (FE_INVALID_INTEGER_CONVERSION): Likewise.
15165 (FE_TONEAREST): Likewise.
15166 (FE_TOWARDZERO): Likewise.
15167 (FE_UPWARD): Likewise.
15168 (FE_DOWNWARD): Likewise.
15169 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15170 (FE_DIVBYZERO): Likewise.
15171 (FE_OVERFLOW): Likewise.
15172 (FE_UNDERFLOW): Likewise.
15173 (FE_INEXACT): Likewise.
15174 (FE_TONEAREST): Likewise.
15175 (FE_DOWNWARD): Likewise.
15176 (FE_UPWARD): Likewise.
15177 (FE_TOWARDZERO): Likewise.
15178 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15179 (FE_UNDERFLOW): Likewise.
15180 (FE_OVERFLOW): Likewise.
15181 (FE_DIVBYZERO): Likewise.
15182 (FE_INVALID): Likewise.
15183 (FE_TONEAREST): Likewise.
15184 (FE_TOWARDZERO): Likewise.
15185 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15186 (FE_OVERFLOW): Likewise.
15187 (FE_UNDERFLOW): Likewise.
15188 (FE_DIVBYZERO): Likewise.
15189 (FE_INEXACT): Likewise.
15190 (FE_TONEAREST): Likewise.
15191 (FE_TOWARDZERO): Likewise.
15192 (FE_UPWARD): Likewise.
15193 (FE_DOWNWARD): Likewise.
15194 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15195 (FE_DIVBYZERO): Likewise.
15196 (FE_OVERFLOW): Likewise.
15197 (FE_UNDERFLOW): Likewise.
15198 (FE_INEXACT): Likewise.
15199 (FE_TONEAREST): Likewise.
15200 (FE_DOWNWARD): Likewise.
15201 (FE_UPWARD): Likewise.
15202 (FE_TOWARDZERO): Likewise.
15203
105ca950
CM
152042012-11-02 Chris Metcalf <cmetcalf@tilera.com>
15205
15206 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15207
a542b389
AS
152082012-11-03 Andreas Schwab <schwab@linux-m68k.org>
15209
15210 * scripts/cross-test-ssh.sh (command): Use newlines to separate
15211 commands. Quote $PWD.
15212 (blacklist_exports): Don't use remove_newlines. Replace "declare
15213 -x" by "export".
15214 (remove_newlines): Remove.
15215
f62c8abc
L
152162012-11-02 H.J. Lu <hongjiu.lu@intel.com>
15217
15218 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15219 * stdlib/stdlib.h (atof): Moved to ...
15220 * include/bits/stdlib-float.h: Here. New file.
15221 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15222 * stdlib/bits/stdlib-float.h: New file.
15223 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15224 -mno-sse -mno-mmx.
15225 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15226 <xmmintrin.h>.
15227
0155d5b2
JM
152282012-11-02 Joseph Myers <joseph@codesourcery.com>
15229
a68d0680
JM
15230 * conform/conformtest.pl (@headers): Add fenv.h.
15231 * conform/data/fenv.h-data: New file.
15232 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15233 include of <math/fenv.h>.
15234
caf7f573
JM
15235 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15236 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15237 && !UNIX98]. Enables tests for XOPEN2K8.
15238 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15239 POSIX2008]: Likewise.
15240
6c073ad6
JM
15241 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15242 (struct rusage): Do not expect type or its members.
15243
0155d5b2
JM
15244 [BZ #3439]
15245 * math/math.h (FP_NAN): Define macro to integer constant usable in
15246 #if and use that to give value to enum constant.
15247 (FP_INFINITE): Likewise.
15248 (FP_ZERO): Likewise.
15249 (FP_SUBNORMAL): Likewise.
15250 (FP_NORMAL): Likewise.
15251
b5dcacb4
AS
152522012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15253
15254 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15255 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15256 arguments.
15257
f7934be8
RM
152582012-11-02 Roland McGrath <roland@hack.frob.com>
15259
15260 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15261 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15262 autoconf-time if not.
15263 * configure.in: Remove AC_PREREQ.
15264
d7d08bde
TMQMF
152652012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15266
15267 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15268 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15269 of the internal implementation.
15270
dcdae19a
JM
152712012-11-02 Joseph Myers <joseph@codesourcery.com>
15272
15273 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15274 except include of <misc/sys/syslog.h>.
15275
d6cffd3e
AS
152762012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15277
15278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15279 function returns with a NULL context exit with zero.
15280
b3563932
TMQMF
152812012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15282
15283 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15284
b288a93d
L
152852012-11-01 H.J. Lu <hongjiu.lu@intel.com>
15286
15287 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15288 (run_program_cmd): This.
15289 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15290 (tst_langinfo): New variable. Use it.
15291
a2421a68
SAS
152922012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
15293
15294 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15295 floating point opcodes.
15296
6f796e1b
TS
152972012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15298
7402596b
TS
15299 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15300 variable.
15301
d0d4f868
TS
15302 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15303
6f796e1b
TS
15304 * sysdeps/mach/hurd/powerpc: Remove directory.
15305 * sysdeps/mach/powerpc: Likewise.
15306
4da224a2
AS
153072012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15308
15309 * scripts/check-local-headers.sh: Ignore c++ headers.
15310
341dd673
TS
153112012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15312
15313 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15314 __libc_cleanup_region_start argument.
15315
473611b2
JM
153162012-11-01 Joseph Myers <joseph@codesourcery.com>
15317
15318 [BZ #14784]
15319 [BZ #14785]
15320 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15321 x * y using scaling, not as x * y + z.
15322 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15323 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15324 * math/libm-test.inc (fma_test): Add more tests.
15325 (fma_test_towardzero): Likewise.
15326 (fma_test_downward): Likewise.
15327 (fma_test_upward): Likewise.
15328
4078da3d
TS
153292012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15330
15331 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15332
903252aa
JM
153332012-10-31 Joseph Myers <joseph@codesourcery.com>
15334
15335 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15336 New variable.
15337
cbc818d0
TS
153382012-10-31 Thomas Schwinge <thomas@codesourcery.com>
15339
15340 * rt/tst-shm.c (worker): Correct checking for mmap failure.
15341
5a03cb1e
AS
153422012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15343
15344 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15345 Fix sort order.
15346 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15347 Likewise.
15348
90aff2ff
TMQMF
153492012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15350
15351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15352 Fix the order of the list for glibc 2.17.
15353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15354 Likewise.
15355
1818fcb7
AS
153562012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15357
15358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15359
ef82f4da
JM
153602012-10-31 Joseph Myers <joseph@codesourcery.com>
15361
16a0e2ec
JM
15362 [BZ #14610]
15363 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15364 for low part of x being zero before using __atanl (y).
15365 * math/libm-test.inc (atan2_test): Add another test.
15366
0eb69512
JM
15367 * manual/install.texi (Configuring and compiling): Document
15368 general use of test-wrapper and test-wrapper-env.
15369 * INSTALL: Regenerated.
15370
ef82f4da
JM
15371 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15372 (__fma): Do not extract and scale down low bits on after-rounding
15373 systems when result rounded to normal precision would have normal
15374 exponent.
15375 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15376 (__fmal): Do not extract and scale down low bits on after-rounding
15377 systems when result rounded to normal precision would have normal
15378 exponent.
15379 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15380 (__fmal): Do not extract and scale down low bits on after-rounding
15381 systems when result rounded to normal precision would have normal
15382 exponent.
15383 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15384 macro.
15385 (fma_test): Add more tests.
15386 (fma_test_towardzero): Likewise.
15387 (fma_test_downward): Likewise.
15388 (fma_test_upward): Likewise.
15389
954ef0d9
L
153902012-10-30 H.J. Lu <hongjiu.lu@intel.com>
15391
15392 * sysdeps/i386/tininess.h: Renamed to ...
15393 * sysdeps/x86/tininess.h: This.
15394 * sysdeps/x86_64/tininess.h: Removed.
15395
df61ffb2
JM
153962012-10-30 Joseph Myers <joseph@codesourcery.com>
15397
15398 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
15399 input. Use $(build-program-cmd).
15400 ($(objpfx)tst-array1-static.out): Likewise.
15401 ($(objpfx)tst-array2.out): Likewise.
15402 ($(objpfx)tst-array3.out): Likewise.
15403 ($(objpfx)tst-array4.out): Likewise.
15404 ($(objpfx)tst-array5.out): Likewise.
15405 ($(objpfx)tst-array5-static.out): Likewise.
15406
01767843
CM
154072012-10-30 Chris Metcalf <cmetcalf@tilera.com>
15408
47cc1490
CM
15409 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15410 if defined.
15411
01767843
CM
15412 * nss/nsswitch.h (nss_interface_function): Provide new
15413 macro for use with NSS functions.
15414 * grp/initgroups.c: Use new macro.
15415 * nss/getXXbyYY.c: Likewise.
15416 * nss/getXXbyYY_r.c: Likewise.
15417 * nss/getXXent.c: Likewise.
15418 * nss/getXXent_r.c: Likewise.
15419 * sysdeps/posix/getaddrinfo.c: Likewise.
15420
8321aa97
AJ
154212012-10-30 Andreas Jaeger <aj@suse.de>
15422
15423 * po/ru.po: Update Russion translation from translation project.
15424
2a27fd6d
JM
154252012-10-30 Joseph Myers <joseph@codesourcery.com>
15426
8627a232
JM
15427 [BZ #14152]
15428 [BZ #14783]
15429 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15430 result and shift together with sticky bit instead of replicating
15431 round-to-nearest rounding.
15432 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15433 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15434 * math/libm-test.inc (fma_test): Add more tests. Do not permit
15435 missing underflow exceptions.
15436 (fma_test_towardzero): Add more tests.
15437 (fma_test_downward): Likewise.
15438 (fma_test_upward): Likewise.
15439
2a27fd6d
JM
15440 [BZ #14047]
15441 * sysdeps/generic/tininess.h: New file.
15442 * sysdeps/i386/tininess.h: Likewise.
15443 * sysdeps/sh/tininess.h: Likewise.
15444 * sysdeps/x86_64/tininess.h: Likewise.
15445 * stdlib/tst-strtod-underflow.c: Likewise.
15446 * stdlib/tst-tininess.c: Likewise.
15447 * stdlib/strtod_l.c: Include <tininess.h>.
15448 (round_and_return): Do not set errno for exact underflow cases.
15449 Force an underflow exception when setting errno for underflow.
15450 Determine underflow based on rounding to normal precision if
15451 TININESS_AFTER_ROUNDING.
15452 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15453 ERANGE for exact underflow cases.
15454 * stdlib/Makefile (tests): Add tst-tininess and
15455 tst-strtod-underflow.
15456 ($(objpfx)tst-tininess): Use $(link-libm).
15457 ($(objpfx)tst-strtod-underflow): Likewise.
15458
e7170363
AJ
154592012-10-30 Andreas Jaeger <aj@suse.de>
15460
e5088dc6
AJ
15461 [BZ#14767]
15462 * elf/Makefile (tests): Remove conditional for have-initfini-array
15463 since this is now always required and the variable does not exist
15464 anymore.
15465 (tests-static): Likewise.
15466 (modules-names): Likewise.
15467
e7170363 15468 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
15469
15470 * elf/tst-array1.c (fini_array): Make writeable so that it can be
15471 merged with constructor/destructor.
15472 (init_array): Likewise.
15473 * elf/tst-array2dep.c (fini_array): Likewise.
15474 (init_array): Likewise.
15475
60457d8a
MF
154762012-10-29 Mike Frysinger <vapier@gentoo.org>
15477
15478 * manual/message.texi: Delete @cartouche tags.
15479
8bece752
PT
154802012-10-29 Pino Toscano <toscano.pino@tiscali.it>
15481
94ce799f
PT
15482 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15483 EOPNOTSUPP.
15484 * sysdeps/mach/hurd/fsync.c: Likewise.
15485
8bece752
PT
15486 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15487 [_POSIX_REALTIME_SIGNALS]: Change condition to
15488 [_POSIX_REALTIME_SIGNALS > 0].
15489
86ebe6b1
AJ
154902012-10-27 Andreas Jaeger <aj@suse.de>
15491
15492 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15493 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15494 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15495 [__WORDSIZE != 64]: Likewise.
15496
54399c08
L
154972012-10-26 H.J. Lu <hongjiu.lu@intel.com>
15498
15499 * iconvdata/tst-table.sh: Remove ${SHELL}.
15500 * iconvdata/tst-tables.sh: Likewise.
15501
e2211bed
DM
155022012-10-25 David S. Miller <davem@davemloft.net>
15503
15504 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15505 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15506 of strtoull.
15507
f303f97c
DM
15508 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15509 ifunc-impl-list.c
15510 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15511 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15512 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15513 file.
15514
1e9d84cd
RM
155152012-10-25 Roland McGrath <roland@hack.frob.com>
15516
15517 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15518 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15519 __getdirentries.
15520
df381762
JM
155212012-10-25 Joseph Myers <joseph@codesourcery.com>
15522 Jim Blandy <jimb@codesourcery.com>
15523
15524 * scripts/cross-test-ssh.sh: New file.
15525 * manual/install.texi (Configuring and compiling): Document use of
15526 cross-test-ssh.sh.
15527 * INSTALL: Regenerated.
15528
bff64913
PT
155292012-10-25 Pino Toscano <toscano.pino@tiscali.it>
15530
15531 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15532 EOPNOTSUPP.
15533
25fe8932
JM
155342012-10-25 Joseph Myers <joseph@codesourcery.com>
15535
15536 * Makeconfig (run-program-prefix): Fix comment.
15537
cc1290d0
JM
155382012-10-24 Joseph Myers <joseph@codesourcery.com>
15539 Jim Blandy <jimb@codesourcery.com>
15540
15541 * Makeconfig (test-wrapper): New variable,
15542 (test-wrapper-env): Likewise.
15543 [$(cross-compiling) = yes && $(test-wrapper) != ""]
15544 (run-built-tests): Define to yes.
15545 (run-program-prefix): Use $(test-wrapper).
15546 (built-program-cmd): Likewise.
15547 * Rules (make-test-out): Use $(test-wrapper-env) and
15548 $(host-built-program-cmd).
15549 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15550 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15551 tst-pathopt.sh.
15552 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15553 $(test-wrapper-env) to tst-rtld-load-self.sh.
15554 ($(objpfx)order2.out): Use $(test-wrapper).
15555 ($(objpfx)tst-initorder.out): Likewise.
15556 ($(objpfx)tst-initorder2.out): Likewise.
15557 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15558 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15559 (test_wrapper_env): New variable. Use it to run ld.so.
15560 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15561 Use it to run ld.so.
15562 (test_wrapper_env): Likewise.
15563 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15564 $(test-wrapper) to run-iconv-test.sh.
15565 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15566 (ICONV): Use $test_wrapper.
15567 * posix/Makefile ($(objpfx)globtest.out): Pass
15568 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15569 globtest.sh, not $(run-program-prefix).
15570 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15571 (test_wrapper): Likewise.
15572 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15573 set together with run_via_rtld_prefix.
15574 (run_program_prefix): Define in terms of test_wrapper and
15575 run_via_rtld_prefix.
15576
6e6249d0
RM
155772012-10-24 Roland McGrath <roland@hack.frob.com>
15578
15579 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15580 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15581 Targets removed.
15582
15583 [BZ #14743]
15584 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15585 Declare __clock_getres, __clock_gettime, __clock_settime,
15586 __clock_nanosleep, and __clock_getcpuclockid.
15587 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15588 Remove librt_hidden_def (clock_gettime).
15589 * sysdeps/unix/clock_gettime.c: Likewise.
15590 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15591 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15592 * rt/clock_getres.c: Define __clock_getres as an alias.
15593 * sysdeps/posix/clock_getres.c: Likewise.
15594 * rt/clock_settime.c: Define __clock_settime as an alias.
15595 * sysdeps/unix/clock_settime.c: Likewise.
15596 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15597 * sysdeps/unix/clock_nanosleep.c: Likewise.
15598 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15599 * rt/clock-compat.c: New file.
15600 * rt/Makefile (librt-routines): Add clock-compat and move
15601 $(clock-routines) to ...
15602 (routines): ... here, new variable.
15603 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15604 Don't add get_clockfreq here.
15605 * rt/Versions (libc: GLIBC_2.17): New version set.
15606 Add clock_* symbols here.
15607 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15608 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15609 (GLIBC_2.17): Add clock_* symbols.
15610 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15611 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15612 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15613 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15614 Likewise.
15615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15616 Likewise.
15617 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15618 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15619 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15620 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15621 * NEWS: Mention the move.
15622
15623 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15624 Use __open, __read, __close rather than their public counterparts.
15625 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15626 (__get_clockfreq_via_cpuinfo): Likewise.
15627 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15628 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15629
15630 * config.h.in (HAVE_IFUNC): New #undef.
15631 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15632 was successful.
15633 * configure: Regenerated.
15634
0cae3f4b
MF
156352012-10-24 Mike Frysinger <vapier@gentoo.org>
15636
15637 * configure.in: Move READELF check to start of file.
15638 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15639 libc_cv_asm_gnu_indirect_function in the process.
15640 * configure: Regenerated.
15641
8175a253
MF
156422012-10-24 Mike Frysinger <vapier@gentoo.org>
15643
15644 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15645 send the output to /dev/null.
15646 (libc_cv_cc_with_libunwind): Likewise.
15647 (libc_cv_as_noexecstack): Likewise.
15648 * configure: Regenerate.
15649
0708a7d1
JM
156502012-10-24 Joseph Myers <joseph@codesourcery.com>
15651
10b40d85
JM
15652 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15653
0708a7d1
JM
15654 * posix/globtest.sh (TMPDIR): Do not set.
15655 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15656 (testout): Likewise.
15657
9fddec1a
AJ
156582012-10-24 Andreas Jaeger <aj@suse.de>
15659
3a8db22f
AJ
15660 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15661 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15662 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15663 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15664 posix_fadvise64, posix_fallocate64.
15665
9fddec1a
AJ
15666 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15667 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15668 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15669 Likewise.
15670 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15671 Likewise.
15672 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15673
15674 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15675 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15676 <bits/fcntl-linux.h>.
15677 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15678
15679 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15680 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15681 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15682 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15683 [__WORDSIZE != 64]: Likewise.
15684
ebfd1bbd
JM
156852012-10-23 Joseph Myers <joseph@codesourcery.com>
15686
03ac099f
JM
15687 * Makeconfig (run-built-tests): New variable.
15688 * Rules [$(cross-compiling) = yes]: Change condition to
15689 [$(run-built-tests) = no].
15690 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15691 to [$(run-built-tests) = yes].
15692 * elf/Makefile [$(cross-compiling) = no]: Likewise
15693 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15694 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15695 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15696 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15697 * io/Makefile [$(cross-compiling) = no]: Likewise.
15698 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15699 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15700 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15701 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15702 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15703 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15704 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15705 * string/Makefile [$(cross-compiling) = no]: Likewise.
15706
ebfd1bbd
JM
15707 * posix/Makefile ($(objpfx)globtest.out): Pass
15708 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15709 $(rtld-installed-name).
15710 * posix/globtest.sh (elf_objpfx): Remove variable.
15711 (rtld_installed_name): Likewise.
15712 (library_path): Likewise.
15713 (run_program_prefix): New variable. Use for running globtest
15714 binary.
15715
166bca24
JB
157162012-10-23 Jim Blandy <jimb@codesourcery.com>
15717 Joseph Myers <joseph@codesourcery.com>
15718
15719 * Makeconfig (host-built-program-cmd): New variable.
15720 * elf/Makefile (tst-stackguard1-ARGS): Use
15721 $(host-built-program-cmd).
15722 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15723 (tst-spawn-ARGS): Likewise.
15724 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15725
88866099
JM
157262012-10-23 Joseph Myers <joseph@codesourcery.com>
15727 Jim Blandy <jimb@codesourcery.com>
15728
15729 * Makeconfig (run-via-rtld-prefix): New variable.
15730 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15731 (built-program-cmd): Likewise.
15732
b4b4c296
AJ
157332012-10-22 Andreas Jaeger <aj@suse.de>
15734
15735 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15736 __O_RSYNC if it exists, otherwise to O_SYNC.
15737
6fb54a22
JB
157382012-10-22 Jim Blandy <jimb@codesourcery.com>
15739 Joseph Myers <joseph@codesourcery.com>
15740
15741 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15742 /dev/null.
15743 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15744 from /dev/null
15745 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15746 /dev/null.
15747
481b90b9
AJ
157482012-10-22 Andreas Jaeger <aj@suse.de>
15749
2a0e2669
AJ
15750 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15751 Define always.
15752 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15753
76e38f9a
AJ
15754 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15755 bits/fcntl-linux.h.
15756
7cd37b43
AJ
15757 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15758 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15759
481b90b9
AJ
15760 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15761 to __O_LARGEFILE.
15762 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15763 to __O_LARGEFILE.
15764
aba75984
JB
157652012-10-21 Jim Blandy <jimb@codesourcery.com>
15766 Joseph Myers <joseph@codesourcery.com>
15767
15768 * config.make.in (NM): New variable.
15769
88d4247f
AJ
157702012-10-21 Andreas Jaeger <aj@suse.de>
15771
15772 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15773 definitions and declarations that are provided by
15774 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15775
f2eed205
L
157762012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15777
15778 [BZ #14683]
15779 * elf/Makefile (tests-static): Add tst-leaks1-static.
15780 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15781 ($(objpfx)tst-leaks1-static): New rule.
15782 ($(objpfx)tst-leaks1-static-mem): Likewise.
15783 (tst-leaks1-static-ENV): New macro.
15784 * elf/dl-open.c (dl_open_worker): Check the main application
15785 only if SHARED is defined.
15786 * elf/tst-leaks1-static.c: New file.
15787
335e6931
AJ
157882012-10-20 Andreas Jaeger <aj@suse.de>
15789
15790 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15791 generic values for Linux.
15792 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15793 and declarations that are provided by <bits/fcntl-linux.h> and
15794 include <bits/fcntl-linux.h>.
15795 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15796 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15797
ac5c94d3
RM
157982012-10-20 Roland McGrath <roland@hack.frob.com>
15799
15800 * io/fcntl.h: Move include of <bits/types.h> to the top and
15801 include it unconditionally.
15802
de54b33a
L
158032012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15804
228cfb01
L
15805 * wcsmbs/Makefile (tests-ifunc): New variable.
15806 (tests): Add $(tests-ifunc).
15807 * wcsmbs/test-wcschr-ifunc.c: New file.
15808 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15809 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15810 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15811 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15812 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15813
69f07e5f
L
15814 * string/Makefile (tests-ifunc): New variable.
15815 (tests): Add $(tests-ifunc).
15816 * string/test-memccpy.c (TEST_NAME): New macro.
15817 * string/test-memchr.c (TEST_NAME): Likewise.
15818 * string/test-memcmp.c (TEST_NAME): Likewise.
15819 * string/test-memcpy.c (TEST_NAME): Likewise.
15820 * string/test-memmem.c (TEST_NAME): Likewise.
15821 * string/test-memmove.c (TEST_NAME): Likewise.
15822 * string/test-memset.c (TEST_NAME): Likewise.
15823 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15824 * string/test-stpcpy.c (TEST_NAME): Likewise.
15825 * string/test-stpncpy.c (TEST_NAME): Likewise.
15826 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15827 * string/test-strcasestr.c (TEST_NAME): Likewise.
15828 * string/test-strcat.c (TEST_NAME): Likewise.
15829 * string/test-strchr.c (TEST_NAME): Likewise.
15830 * string/test-strcmp.c(TEST_NAME): Likewise.
15831 * string/test-strcpy.c (TEST_NAME): Likewise.
15832 * string/test-strcspn.c (TEST_NAME): Likewise.
15833 * string/test-strlen.c (TEST_NAME): Likewise.
15834 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15835 * string/test-strncmp.c (TEST_NAME): Likewise.
15836 * string/test-strncpy.c (TEST_NAME): Likewise.
15837 * string/test-strnlen.c (TEST_NAME): Likewise.
15838 * string/test-strpbrk.c (TEST_NAME): Likewise.
15839 * string/test-strrchr.c (TEST_NAME): Likewise.
15840 * string/test-strspn.c (TEST_NAME): Likewise.
15841 * string/test-strstr.c (TEST_NAME): Likewise.
15842 * string/test-bcopy-ifunc.c: New file.
15843 * string/test-bzero-ifunc.c: Likewise.
15844 * string/test-memccpy-ifunc.c: Likewise.
15845 * string/test-memchr-ifunc.c: Likewise.
15846 * string/test-memcmp-ifunc.c: Likewise.
15847 * string/test-memcpy-ifunc.c: Likewise.
15848 * string/test-memmem-ifunc.c: Likewise.
15849 * string/test-memmove-ifunc.c: Likewise.
15850 * string/test-mempcpy-ifunc.c: Likewise.
15851 * string/test-memset-ifunc.c: Likewise.
15852 * string/test-rawmemchr-ifunc.c: Likewise.
15853 * string/test-stpcpy-ifunc.c: Likewise.
15854 * string/test-stpncpy-ifunc.c: Likewise.
15855 * string/test-strcasecmp-ifunc.c: Likewise.
15856 * string/test-strcasestr-ifunc.c: Likewise.
15857 * string/test-strcat-ifunc.c: Likewise.
15858 * string/test-strchr-ifunc.c: Likewise.
15859 * string/test-strchrnul-ifunc.c: Likewise.
15860 * string/test-strcmp-ifunc.c: Likewise.
15861 * string/test-strcpy-ifunc.c: Likewise.
15862 * string/test-strcspn-ifunc.c: Likewise.
15863 * string/test-strlen-ifunc.c: Likewise.
15864 * string/test-strncasecmp-ifunc.c: Likewise.
15865 * string/test-strncat-ifunc.c: Likewise.
15866 * string/test-strncmp-ifunc.c: Likewise.
15867 * string/test-strncpy-ifunc.c: Likewise.
15868 * string/test-strnlen-ifunc.c: Likewise.
15869 * string/test-strpbrk-ifunc.c: Likewise.
15870 * string/test-strrchr-ifunc.c: Likewise.
15871 * string/test-strspn-ifunc.c: Likewise.
15872 * string/test-strstr-ifunc.c: Likewise.
15873
de54b33a
L
15874 * debug/Makefile (tests-ifunc): New variable.
15875 (tests): Add $(tests-ifunc).
15876 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15877 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15878 * debug/test-stpcpy_chk-ifunc.c: New file.
15879 * debug/test-strcpy_chk-ifunc.c: Likewise.
15880
88481c16
SP
158812012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15882
15883 [BZ #13601]
15884 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15885 header is not read in.
15886
135948bd
JM
158872012-10-19 Joseph Myers <joseph@codesourcery.com>
15888
89f1c388
JM
15889 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
15890 script to $(SHELL) as $<. Pass $(common-objpfx) to script
15891 directly. Pass built executable to script as
15892 $(built-program-cmd).
15893 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
15894 $testprogram without using LD_LIBRARY_PATH and $ldso.
15895
e40a0d21
JM
15896 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15897 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15898 $(rtld-installed-name).
15899 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15900 (rtld_installed_name): Likewise.
15901 (library_path): Likewise.
15902 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
15903 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15904 $(run-program-prefix) to tst-tables.sh.
15905 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
15906 it to run tst-table-from and tst-table-to.
15907 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15908 Pass it to tst-table.sh.
15909 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15910 $(run-program-prefix) to tst-gettext.sh.
15911 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15912 tst-translit.sh.
15913 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15914 tst-gettext2.sh.
15915 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
15916 to run tst-gettext.
15917 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
15918 to run tst-gettext2.
15919 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
15920 to run tst-translit.
15921 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15922 $(run-program-prefix) to tst-mtrace.sh.
15923 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
15924 to run tst-mtrace.
15925 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15926 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15927 $(rtld-installed-name).
15928 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15929 (rtld_installed_name): Likewise.
15930 (run_program_prefix): New variable. Use it to run wordexp-test.
15931
728e272a
JM
15932 * Makeconfig (ARCH): Remove all definitions.
15933 (machine): Likewise.
15934 [ARCH]: Remove conditional code.
15935 [!objdir]: Give error.
15936 [!objdir] (objpfx): Remove.
15937 [!objdir] (common-objpfx): Likewise.
15938 [!objdir] (common-objdir): Likewise.
15939 * configure.in (config_makefile): Remove. Hardcode Makefile in
15940 AC_CONFIG_FILES call.
15941 * configure: Regenerated.
15942
d528cdcf
JM
15943 [BZ #13888]
15944 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15945 or TMPDIR.
15946 (testout): Likewise.
15947
135948bd
JM
15948 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15949 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15950 $(rtld-installed-name).
15951 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15952 (rtld_installed_name): Likwise.
15953 (runit): Remove function.
15954 (run_getconf): New variable, Use it for running getconf binary.
15955
38c78296
L
159562012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15957
15958 [BZ #14716]
15959 * string/test-memmem.c (check_result): New function.
15960 (do_one_test): Use it.
15961 (check1): New function.
15962 (test_main): Use it.
15963
d077f65f
MT
159642012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
15965
15966 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
15967
ced52c71
JM
159682012-10-18 Joseph Myers <joseph@codesourcery.com>
15969
15970 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
15971 (_G_LSEEK64): Likewise.
15972 (_G_MMAP64): Likewise.
15973 (_G_FSTAT64): Likewise.
15974 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
15975 (_G_LSEEK64): Likewise.
15976 (_G_MMAP64): Likewise.
15977 (_G_FSTAT64): Likewise.
15978 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
15979 unconditional. Call __mmap64 directly.
15980 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
15981 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
15982 __lseek64 directly.
15983 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
15984 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
15985 __mmap64 directly.
15986 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
15987 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
15988 __lseek64 directly.
15989 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
15990 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
15991 __lseek64 directly.
15992 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
15993 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
15994 __lseek64 directly.
15995 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
15996 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
15997 __fxstat64 directly.
15998 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
15999 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16000 unconditional.
16001 (freopen64) [!_G_OPEN64]: Remove conditional code.
16002 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16003 unconditional.
16004 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16005 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16006 unconditional.
16007 (ftello64) [!_G_LSEEK64]: Remove conditional code.
16008 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16009 unconditional.
16010 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16011 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16012 unconditional.
16013 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16014 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16015 unconditional.
16016 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16017 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16018 unconditional.
16019 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16020 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16021 unconditional.
16022 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16023
b741de23
SP
160242012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16025
16026 [BZ #12140]
16027 * manual/memory.texi (Malloc Tunable Parameters): Add note
16028 about free list pointers overwriting some perturb bytes.
16029 Wording suggested by Roland McGrath.
16030
f9b9d9c9
JM
160312012-10-17 Joseph Myers <joseph@codesourcery.com>
16032
16033 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16034 (lgamma_test): Likewise.
16035 (tgamma_test): Likewise.
16036
172a631a
FW
160372012-10-16 Florian Weimer <fweimer@redhat.com>
16038
16039 [BZ #14700]
16040 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16041 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16042
e9f37252
MK
160432012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
16044
16045 * NEWS: Mention BZ #14716.
16046 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16047 when removing AVAILABLE1_USES_J macro.
16048
d394eb74
L
160492012-10-12 H.J. Lu <hongjiu.lu@intel.com>
16050
16051 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16052 (__bswap_64): __uint64_t for unsigned 64-bit int.
16053
ca38dc17
AS
160542012-10-12 Andreas Schwab <schwab@linux-m68k.org>
16055
16056 * include/string.h (memmem): Declare libc hidden alias.
16057 * string/memmem.c (memmem): Define libc hidden alias.
16058 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16059 __read, __close instead of open, read, close.
16060
9a387d1f
L
160612012-10-11 H.J. Lu <hongjiu.lu@intel.com>
16062
ac49ecaf
L
16063 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16064 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16065 global and hidden.
16066 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16067 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16068 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16069 Likewise.
16070 (__rawmemchr_sse2): Likewise.
16071 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16072 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16073 (__strchr_sse2): Likewise.
16074 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16075 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16076 (__strcasecmp_sse2): Likewise.
16077 (__strncasecmp_sse2): Likewise.
16078 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16079 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16080 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16081 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16082 (__strrchr_sse2): Likewise.
16083 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16084 ifunc-impl-list.c.
16085 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16086 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16087 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16088 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16089 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16090 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16091 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16092 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16093 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16094 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16095 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16096 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16097 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16098 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16099 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16100 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16101 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16102 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16103 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16104 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16105 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16106 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16107 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16108 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16109 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16110 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16111 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16112 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16113 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16114 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16115
b090e8ea
L
16116 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16117 global and hidden.
16118 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16119 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16120 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16121 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16122 Likewise.
16123 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16124 Likewise.
16125 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16126 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16127 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16128 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16129 ifunc-impl-list.c.
16130 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16131 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16132 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16133 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16134 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16135 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16136 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16137 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16138 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16139 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16140 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16141 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16142 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16143 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16144 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16145 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16146 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16147 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16148 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16149 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16150 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16151 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16152 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16153 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16154 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16155 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16156 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16157 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16158 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16159 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16160 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16161 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16162 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16163 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16164 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16165 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16166 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16167 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16168 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16169 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16170 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16171
11dd4af6
L
16172 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16173 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16174 * include/ifunc-impl-list.h: New file.
16175 * misc/ifunc-impl-list.c: Likewise.
16176 * misc/Makefile (routines): Add ifunc-impl-list.
16177 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16178 * string/test-string.h: Include <ifunc-impl-list.h>.
16179 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16180 impl_array): New variables.
16181 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16182 are defined.
16183 (test_init): Call __libc_ifunc_impl_list to initialize
16184 func_list if TEST_IFUNC and TEST_NAME are defined.
16185
9a387d1f
L
16186 * string/Makefile (strop-tests): Add bcopy and bzero.
16187 * string/test-bcopy.c: New file.
16188 * string/test-bzero.c: Likewise.
16189 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16190 defined.
16191 * string/test-memset.c: Support bzero test if TEST_BZERO is
16192 defined.
16193 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16194 __libc_memmove.
16195 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16196 __libc_memset.
16197 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16198 of memset.
16199
472371b9
JM
162002012-10-10 Joseph Myers <joseph@codesourcery.com>
16201
1e4a9536
JM
16202 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16203 * configure: Regenerated.
16204
d173d12e
JM
16205 * Makeconfig (+link-static-before-libc): Don't include
16206 $(link-static-libc).
16207
472371b9
JM
16208 * libio/libio.h (_IO_pos_t): Remove.
16209
89a3ad0b
AO
162102012-10-10 Alexandre Oliva <aoliva@redhat.com>
16211
16212 * NEWS: Add note about FIPS mode. Wording suggested by Roland
16213 McGrath.
16214
e7451425
AO
162152012-10-10 Alexandre Oliva <aoliva@redhat.com>
16216
16217 * crypt/crypt-entry.c: Include fips-private.h.
16218 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16219 * crypt/md5c-test.c (main): Tolerate disabled MD5.
16220 * sysdeps/unix/sysv/linux/fips-private.h: New file.
16221 * sysdeps/generic/fips-private.h: New file, dummy fallback.
16222
4ba74a35
AO
162232012-10-10 Alexandre Oliva <aoliva@redhat.com>
16224
16225 * crypt/crypt-private.h: Include stdbool.h.
16226 (_ufc_setup_salt_r): Return bool.
16227 * crypt/crypt-entry.c: Include errno.h.
16228 (__crypt_r): Return NULL with EINVAL for bad salt.
16229 * crypt/crypt_util.c (bad_for_salt): New.
16230 (_ufc_setup_salt_r): Check that salt is long enough and within
16231 the specified alphabet.
16232 * crypt/badsalttest.c: New file.
16233 * crypt/Makefile (tests): Add it.
16234 ($(objpfx)badsalttest): New.
16235
f96f1242
MK
162362012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16237
16238 * NEWS: Add entry for BZ #14602.
16239
0e8e0c1c
JM
162402012-10-09 Joseph Myers <joseph@codesourcery.com>
16241
16242 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16243 type-generic.
16244 * math/libm-test.inc: Update comment listing what functions and
16245 macros are tested.
16246 (isgreater_test): New function.
16247 (isgreaterequal_test): Likewise.
16248 (isless_test): Likewise.
16249 (islessequal_test): Likewise.
16250 (islessgreater_test): Likewise.
16251 (isunordered_test): Likewise.
16252 (main): Call the new functions.
16253
273edc5e
RM
162542012-10-09 Roland McGrath <roland@hack.frob.com>
16255
b8493de0
RM
16256 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16257 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16258 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16259 * sysdeps/i386/configure: Regenerated.
16260 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16261 * sysdeps/mach/configure: Regenerated.
16262 * sysdeps/mach/hurd/configure: Regenerated.
16263 * sysdeps/powerpc/configure: Regenerated.
16264 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16265 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16266 * sysdeps/s390/s390-32/configure: Regenerated.
16267 * sysdeps/s390/s390-64/configure: Regenerated.
16268 * sysdeps/sh/configure: Regenerated.
16269 * sysdeps/sparc/configure: Regenerated.
16270 * sysdeps/unix/sysv/linux/configure: Regenerated.
16271 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16272 * sysdeps/x86_64/configure: Regenerated.
16273
273edc5e
RM
16274 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16275 defined. Don't check if MAP is NULL.
16276
c8450f70
JM
162772012-10-09 Joseph Myers <joseph@codesourcery.com>
16278
16279 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16280 (_G_stat64): Likewise.
16281 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16282 (_G_stat64): Likewise.
16283 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16284 instead of struct _G_stat64.
16285 * libio/fileops.c (mmap_remap_check): Likewise.
16286 (decide_maybe_mmap): Likewise.
16287 (_IO_new_file_seekoff): Likewise.
16288 (_IO_file_stat): Likewise.
16289 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16290 _G_off64_t.
16291 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16292 instead of struct _G_stat64.
16293 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16294
57e605ba
MK
162952012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
16296
16297 [BZ #14602]
16298 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16299 Replace with ...
16300 (CHECK_EOL): New macro.
16301 (two_way_short_needle): Check beginning of haystack for EOL. Use
16302 CHECK_EOL.
16303 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16304 Replace with CHECK_EOL.
16305 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16306 Replace with CHECK_EOL.
16307
ef1bb361
JM
163082012-10-08 Joseph Myers <joseph@codesourcery.com>
16309
16310 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16311 type-generic.
16312 * math/libm-test.inc: Update comment listing what functions and
16313 macros are tested.
16314 (finite_test): New function.
16315 (isinf_test): Likewise.
16316 (isnan_test): Likewise.
16317 (fpclassify_test): Test subnormal input.
16318 (isfinite_test): Likewise.
16319 (isnormal_test): Likewise.
16320 (main): Call the new functions.
16321
55f11534
JN
163222012-10-08 Jonathan Nieder <jrnieder@gmail.com>
16323
16324 [BZ #14660]
16325 * Makerules (%.dynsym): Force C locale when running
16326 $(OBJDUMP) --dynamic-syms.
16327
1ab29350
AS
163282012-10-08 Andreas Schwab <schwab@linux-m68k.org>
16329
16330 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16331 <stdint.h>.
16332
f1ecb7ef
DM
163332012-10-06 David S. Miller <davem@davemloft.net>
16334
16335 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16336 upper 32-bits of the length value in %o2 since we use branch-on-register
16337 tests which consider the entire 64-bit register.
16338
5d41d91a
L
163392012-10-06 H.J. Lu <hongjiu.lu@intel.com>
16340
16341 * string/test-strstr.c (check2): Add a test for page boundary.
16342
3baddb72
DM
163432012-10-05 David S. Miller <davem@davemloft.net>
16344
16345 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16346 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16347 file.
16348 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16349 sysdep_routines.
16350 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16351 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16352 and bzero when HWCAP_SPARC_CRYPTO is present.
16353
9cee5585
L
163542012-10-05 H.J. Lu <hongjiu.lu@intel.com>
16355
d7e0dab9
L
16356 [BZ #14602]
16357 * string/test-strstr.c (check2): New function.
16358 (test_main): Call check2.
16359
03759f47
L
16360 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16361 and bug-strchr1.
16362 * string/bug-strcasestr1.c (do_test): Moved to ...
16363 * string/test-strcasestr.c (check1): Here. New function.
16364 (do_one_test): Break out result checking code into ...
16365 (check_result): This. New function.
16366 (do_one_test): Call check_result.
16367 (test_main): Call check1.
16368 * string/bug-strchr1.c (do_test): Moved to ...
16369 * string/test-strchr.c (check1): Here. New function.
16370 (do_one_test): Break out result checking code into ...
16371 (check_result): This. New function.
16372 (do_one_test): Call check_result.
16373 (test_main): Call check1.
16374 * string/bug-strstr1.c (main): Moved to ...
046f153e 16375 * string/test-strstr.c (check1): Here. New function.
03759f47
L
16376 (do_one_test): Break out result checking code into ...
16377 (check_result): This. New function.
16378 (do_one_test): Call check_result.
16379 (test_main): Call check1.
16380 * string/bug-strcasestr1.c: Removed.
16381 * string/bug-strchr1.c: Likewise.
16382 * string/bug-strstr1.c: Likewise.
16383
53cea63e
L
16384 * elf/Makefile (dl-routines): Add hwcaps.
16385 * elf/dl-support.c (_dl_important_hwcaps): Removed.
16386 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16387 (_dl_important_hwcaps): Moved to ...
16388 * elf/dl-hwcaps.c: Here. New file.
16389 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16390
9cee5585 16391 [BZ #14557]
bb859b06
L
16392 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16393 if IS_IN_rtld isn't defined.
16394
9cee5585
L
16395 * elf/dl-support.c (_dl_sysinfo_map): New.
16396 Include "get-dynamic-info.h" and "setup-vdso.h".
16397 (_dl_non_dynamic_init): Call setup_vdso.
16398 * elf/dynamic-link.h: Don't include <assert.h>.
16399 (elf_get_dynamic_info): Moved to ...
16400 * elf/get-dynamic-info.h: Here. New file.
16401 * elf/dynamic-link.h: Include "get-dynamic-info.h".
16402 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
16403 * elf/setup-vdso.h: Here. New file.
16404 * elf/rtld.c: Include "setup-vdso.h".
16405 (dl_main): Call setup_vdso.
16406
23c31b76
JM
164072012-10-05 Joseph Myers <joseph@codesourcery.com>
16408
28234b07
JM
16409 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
16410 creal in comment listing functions tested. List finite, isinf,
16411 isnan, isless, islessequal, isgreater, isgreaterequal,
16412 islessgreater, isunordered, lgamma_r and pow10 as functions and
16413 macros not tested. Mention which functions not tested are aliases
16414 for other functions. Fix typo. Note that signs of NaNs are not
16415 tested.
16416
23c31b76
JM
16417 * scripts/config.guess: Update from config.git.
16418 * scripts/config.sub: Likewise.
16419
9043e228
RM
164202012-10-04 Roland McGrath <roland@hack.frob.com>
16421
16422 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16423 * misc/madvise.c (madvise): Renamed to __madvise.
16424 Make madvise a weak alias.
16425 * include/sys/mman.h: Declare __madvise.
16426 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16427 * sysdeps/unix/syscalls.list
16428 (madvise): Make __madvise the strong name, and madvise a weak alias.
16429 * sysdeps/unix/sysv/linux/syscalls.list
16430 (madvise, mmap): Remove redundant entries.
16431 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16432 * malloc/malloc.c (mtrim): Likewise.
16433 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16434
f57f8055
RM
164352012-10-03 Roland McGrath <roland@hack.frob.com>
16436
16437 * sysdeps/mach/hurd/dl-cache.c: File removed.
16438 * config.h.in (USE_LDCONFIG): New #undef.
16439 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16440 * configure: Regenerated.
16441 * elf/Makefile (dl-routines): Add dl-cache only under
16442 [$(use-ldconfig) = yes].
16443 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16444 cache on [USE_LDCONFIG].
16445 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16446 [USE_LDCONFIG].
16447 * elf/rtld.c (dl_main): Likewise.
16448
5bb0c10a
PT
164492012-10-03 Pino Toscano <toscano.pino@tiscali.it>
16450
16451 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16452 _SC_LEVEL4_CACHE_LINESIZE.
16453
010188c6
RM
164542012-10-03 Roland McGrath <roland@hack.frob.com>
16455
16456 * sysdeps/unix/bsd/confstr.h: File removed.
16457
b6c5ec07
AO
164582012-10-02 Alexandre Oliva <aoliva@redhat.com>
16459
16460 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16461 sys/sdt-config.h.
16462
408223d4
RM
164632012-10-02 Roland McGrath <roland@hack.frob.com>
16464
16465 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16466 Make 'mapoff' field ElfW(Off) rather than off_t.
16467
bb9510dc
DL
164682012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16469
fc997c6e
DL
16470 * nscd/Makefile: Remove nscd-cflags and all its users.
16471 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16472 (CFLAGS-nonlib): Add compiler flags for nscd modules.
16473
bb9510dc
DL
16474 [BZ #10631]
16475 * malloc.c (malloc_printerr): Clarify error message.
16476
05699367
L
164772012-10-02 H.J. Lu <hongjiu.lu@intel.com>
16478
16479 [BZ #14648]
16480 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16481 Set bit_FMA_Usable if FMA is supported.
16482 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16483 macro.
16484 (bit_FMA4_Usable): Updated.
16485 (index_FMA_Usable): New macro.
16486 (CPUID_FMA): Likewise
16487 (HAS_FMA): Defined with bit_FMA_Usable.
16488
51367701
RM
164892012-10-01 Roland McGrath <roland@hack.frob.com>
16490
16491 * bits/types.h (__swblk_t): Type removed.
16492 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16493 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16494 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16495 (__SWBLK_T_TYPE): Likewise.
16496 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16497 (__SWBLK_T_TYPE): Likewise.
16498 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16499 (__SWBLK_T_TYPE): Likewise.
16500 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16501 (__SWBLK_T_TYPE): Likewise.
16502
4d57bf63 165032012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 16504 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
16505
16506 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16507 (xdr_mapname): Use YPMAXMAP as maxsize.
16508 (xdr_peername): Use YPMAXPEER as maxsize.
16509 (xdr_keydat): Use YPAXRECORD as maxsize.
16510 (xdr_valdat): Use YPMAXRECORD as maxsize.
16511
93c65d43
RM
165122012-10-01 Roland McGrath <roland@hack.frob.com>
16513
497a03d6
RM
16514 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16515
93c65d43
RM
16516 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16517 * csu/init-first.c: ... here.
16518 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16519 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16520 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16521 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16522 * sysdeps/i386/init-first.c: File removed.
16523 * sysdeps/sh/init-first.c: File removed.
16524
bec749fd
JM
165252012-10-01 Joseph Myers <joseph@codesourcery.com>
16526
16527 [BZ #14645]
16528 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16529 if x * y might underflow to zero and z is zero.
16530 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16531 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16532 * math/libm-test.inc (min_subnorm_value): New variable.
16533 (fma_test): Add more tests.
16534 (fma_test_towardzero): Likewise.
16535 (fma_test_downward): Likewise
16536 (fma_test_upward): Likewise.
16537 (initialize): Set min_subnorm_value.
16538
8ec5b013
JM
165392012-09-29 Joseph Myers <joseph@codesourcery.com>
16540
16541 [BZ #14638]
16542 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16543 0 + 0.
16544 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16545 mode for addition resulting in exact zero.
16546 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16547 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16548 exact 0 + 0.
16549 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16550 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16551 * math/libm-test.inc (fma_test): Add more tests.
16552 (fma_test_towardzero): New function.
16553 (fma_test_downward): Likewise.
16554 (fma_test_upward): Likewise.
16555 (main): Call the new functions.
16556
b1fa802e
DM
165572012-09-28 David S. Miller <davem@davemloft.net>
16558
16559 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16560
d3b9fd9e
RM
165612012-09-28 Roland McGrath <roland@hack.frob.com>
16562
ea4d37b3
RM
16563 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16564 instead of SIGALRM.
16565
ac51c949
RM
16566 * sysdeps/gnu/_G_config.h: Moved to ...
16567 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16568 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16569 * sysdeps/generic/_G_config.h: ... here.
16570
28c195f7
RM
16571 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16572
848917f9
RM
16573 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16574
6bacf05b
RM
16575 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16576 Conditionalize target on [libnss_test1.so-version].
16577
91363dbb
RM
16578 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16579
cc87f7d8
RM
16580 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16581 (elfobjdir): Move out of conditionals.
16582
b1c608fe
RM
16583 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16584 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16585 (__nss_lookup_function): Conditionalize label remove_from_tree on
16586 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 16587
1d9a6d96
DM
165882012-09-28 David S. Miller <davem@davemloft.net>
16589
16590 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16591 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16592 file.
16593 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16594 sysdep_routines.
16595 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16596 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16597 when HWCAP_SPARC_CRYPTO is present.
16598
72581615
PT
165992012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16600
16601 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16602
715a900c
JL
166032012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16604
16605 [BZ #6530]
16606 * stdio-common/vfprintf.c (process_string_arg): Revert
16607 2000-07-22 change.
16608
166092011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16610
16611 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16612 for testcase.
16613 * stdio-common/tst-sprintf.c: Include <locale.h>
16614 (main): Test sprintf's handling of incomplete multibyte
16615 characters.
16616
9bac1d86
L
166172012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16618
16619 * elf/dl-runtime.c (VERSYMIDX): Removed.
16620 * elf/dl-version.c (VERSYMIDX): Likewise.
16621 * elf/do-rel.h (VERSYMIDX): Likewise.
16622 (VALIDX): Likewise.
16623 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16624 * elf/rtld.c (VALIDX): Likewise.
16625 (ADDRIDX): Likewise.
9bac1d86
L
16626 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16627 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16628 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
16629 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16630 (VALIDX): Likewise.
16631 (ADDRIDX): Likewise.
9bac1d86 16632
b31606c0
PT
166332012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16634
16635 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16636
11541177
JL
166372012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16638
16639 [BZ #11438]
16640 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16641 to global scope.
16642 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16643 addresses are in the same scope as 192.0.2/24.
16644 * posix/gai.conf: Document new scope table defaults.
16645
adb26fae
SP
166462012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16647
16648 [BZ #5298]
16649 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16650 for ftell. Compute offsets from write pointers instead.
16651 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16652
4573c6b0
SP
166532012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16654
16655 [BZ #14543]
16656 * libio/Makefile (tests): New test case tst-fseek.
16657 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16658 combination works in wide mode.
16659 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16660 state when the external buffer state changes.
16661
aa9bbfe6
DM
166622012-09-27 David S. Miller <davem@davemloft.net>
16663
16664 [BZ #14376]
16665 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16666 pass reloc->r_addend in as the 'high' argument to
16667 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16668
784421e7
DM
16669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16670
c39bc8b8
PT
166712012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16672
16673 * rt/tst-aio2.c: Include <pthread.h>.
16674 * rt/tst-aio3.c: Likewise.
16675
1ccc2399
SE
166762012-09-27 Steve Ellcey <sellcey@mips.com>
16677
16678 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16679
31ed4153
L
166802012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16681
25f5f885
L
16682 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16683 contents on [SHARED].
31ed4153 16684
b7bfe116
MP
166852012-09-26 Marek Polacek <polacek@redhat.com>
16686
16687 [BZ #14530]
16688 [BZ #13741]
16689 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16690 for C++ and GCC <4.3 as well as for non GCC compilers.
16691
43c4edba
MT
166922012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16693
16694 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16695
6a1bf82f
RM
166962012-09-25 Roland McGrath <roland@hack.frob.com>
16697
16698 * Makefile.in (all, install): Declare with .PHONY.
16699 Reported by Michael Hope <michael.hope@linaro.org>.
16700
8ad11b9a
TMQMF
167012012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16702
16703 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16704 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16705 system header.
16706 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16707 Likewise.
16708 (sydep_routines): Add the new and the internal functions.
16709 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16710 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16712 (GLIBC_2.17): Add the new function.
16713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16714 (GLIBC_2.17): Likewise.
16715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16716 (GLIBC_2.17): Likewise.
16717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16718 (GLIBC_2.17): Likewise.
16719 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16720
7e2fca8d
AM
167212012-09-25 Alan Modra <amodra@gmail.com>
16722
16723 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16724 Add release barrier before setting once_control to say
16725 initialisation is done. Add hints on lwarx. Use macro in
16726 place of isync.
16727 (clear_once_control): Add release barrier.
16728
b87c4b24
JM
167292012-09-25 Joseph Myers <joseph@codesourcery.com>
16730
d032e0d2
JM
16731 [BZ #13629]
16732 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16733 specially.
16734 * math/s_clog10.c (__clog10): Likewise.
16735 * math/s_clog10f.c (__clog10f): Likewise.
16736 * math/s_clog10l.c (__clog10l): Likewise.
16737 * math/s_clogf.c (__clogf): Likewise.
16738 * math/s_clogl.c (__clogl): Likewise.
16739 * math/Makefile (libm-calls): Add x2y2m1.
16740 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16741 (__x2y2m1): Likewise.
16742 (__x2y2m1l): Likewise.
16743 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16744 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16745 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16746 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16747 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16748 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16749 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16750 * sysdeps/i386/fpu/libm-test-ulps: Update.
16751 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16752
b87c4b24
JM
16753 [BZ #14621]
16754 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16755 int as type of variable DEPTH.
16756 (glob): Use size_t instead of int as type of variables NEWCOUNT
16757 and OLD_PATHC.
16758
6d3bf199
LD
167592012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16760
22bf5c17
LD
16761 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16762 Add s_sincosf-sse2.
16763 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16764 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16765 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16766 macros for using routine as __sincosf_ia32.
16767 Use macro for function declaration and weak_alias.
16768 * sysdeps/i386/fpu/libm-test-ulps: Update.
16769
16770 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16771 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16772
16773 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
16774 subnormal argument.
16775 * math/s_cexpf.c (__cexpf): Likewise.
16776 * math/s_csinf.c (__csinf): Likewise.
16777 * math/s_csinhf.c (__csinhf): Likewise.
16778 * math/s_ctanf.c (__ctanf): Likewise.
16779 * math/s_ctanhf.c (__ctanhf): Likewise.
16780 * math/s_ccosh.c (__ccoshf): Likewise.
16781 * math/s_cexp.c (__cexpl): Likewise.
16782 * math/s_csin.c (__csin): Likewise.
16783 * math/s_csinh.c (__csinh): Likewise.
16784 * math/s_ctan.c (__ctan): Likewise.
16785 * math/s_ctanh.c (ctanh): Likewise.
16786 * math/s_ccoshl.c (__ccoshl): Likewise.
16787 * math/s_cexpl.c (__cexpl): Likewise.
16788 * math/s_csinl.c (__csinl): Likewise.
16789 * math/s_csinhl.c (__csinhl): Likewise.
16790 * math/s_ctanl.c (__ctanl): Likewise.
16791 * math/s_ctanhl.c (__ctanhl): Likewise.
16792
203e5603
JM
167932012-09-25 Joseph Myers <joseph@codesourcery.com>
16794
16795 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16796 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16797 (_IO_off_t): Define to __off_t, not _G_off_t.
16798 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16799 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16800 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16801 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16802 type of __dummy and __dummy2 fields.
16803 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16804 (_G_ssize_t): Likewise.
16805 (_G_off_t): Likewise.
16806 (_G_pid_t): Likewise.
16807 (_G_uid_t): Likewise.
16808 (_G_wchar_t): Likewise.
16809 (_G_wint_t): Likewise.
16810 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16811 (_G_ssize_t): Likewise.
16812 (_G_off_t): Likewise.
16813 (_G_pid_t): Likewise.
16814 (_G_uid_t): Likewise.
16815 (_G_wchar_t): Likewise.
16816 (_G_wint_t): Likewise.
16817 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16818 (_G_ssize_t): Likewise.
16819 (_G_off_t): Likewise.
16820 (_G_pid_t): Likewise.
16821 (_G_uid_t): Likewise.
16822 (_G_wchar_t): Likewise.
16823 (_G_wint_t): Likewise.
16824
9fab36eb
SP
168252012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16826
16827 * malloc/arena.c: Include malloc-sysdep.h.
16828 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16829 is sufficient to shrink the heap or an unmap is needed.
16830 * sysdeps/generic/malloc-sysdep.h: New file. Define
16831 new function check_may_shrink_heap.
16832 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16833 new function check_may_shrink_heap.
16834
2b4f00d1
SP
168352012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16836
16837 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16838 comments.
16839
9a9028b1
DL
168402012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16841
57c69bef
DL
16842 * catgets/test-gencat.sh: Add "set -e".
16843 * elf/tst-pathopt.sh: Likewise.
16844 * grp/tst_fgetgrent.sh: Likewise.
16845 * iconvdata/run-iconv-test.sh: Likewise.
16846 * intl/tst-gettext.sh: Likewise.
16847 * intl/tst-gettext2.sh: Likewise.
16848 * intl/tst-gettext4.sh: Likewise.
16849 * intl/tst-gettext6.sh: Likewise.
16850 * intl/tst-translit.sh: Likewise.
16851 * io/ftwtest-sh: Likewise.
16852 * libio/test-freopen.sh: Likewise.
16853 * malloc/tst-mtrace.sh: Likewise.
16854 * posix/globtest.sh: Likewise.
16855 * posix/tst-getconf.sh: Likewise.
16856 * posix/wordexp-tst.sh: Likewise.
16857 * stdio-common/tst-printf.sh: Likewise.
16858 * stdio-common/tst-unbputc.sh: Likewise.
16859 * stdlib/tst-fmtmsg.sh: Likewise.
16860 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16861 * catgets/Makefile: Do not specify -e option when running
16862 testsuite shell scripts.
16863 * elf/Makefile: Likewise.
16864 * grp/Makefile: Likewise.
16865 * iconvdata/Makefile: Likewise.
16866 * intl/Makefile: Likewise.
16867 * io/Makefile: Likewise.
16868 * libio/Makefile: Likewise.
16869 * malloc/Makefile: Likewise.
16870 * posix/Makefile: Likewise.
16871 * stdio-common/Makefile: Likewise.
16872 * stdlib/Makefile: Likewise.
16873 * sysdeps/x86_64/Makefile: Likewise.
16874
9a9028b1
DL
16875 * io/ftwtest-sh: Add copyright header.
16876 * posix/globtest.sh: Likewise.
16877 * posix/tst-getconf.sh: Likewise.
16878 * posix/wordexp-tst.sh: Likewise.
16879 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16880
ced6f16e
L
168812012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16882
94b32c39
L
16883 [BZ #13679]
16884 * Makeconfig (+link): Defined as $(+link-static) if
16885 $(build-shared) isn't yes.
16886 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16887 isn't yes.
16888 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16889
189e935b
L
16890 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16891
ced6f16e
L
16892 [BZ #14562]
16893 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16894 new chunk size with MALLOC_ALIGN_MASK.
16895
a9f8e53a
JM
168962012-09-24 Joseph Myers <joseph@codesourcery.com>
16897
16898 [BZ #5044]
16899 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16900 <rounding-mode.h>.
16901 (__printf_fphex): Determine rounding using get_rounding_mode and
16902 round_away.
16903 * stdio-common/tst-printf-round.c (struct hex_test): New
16904 structure.
16905 (hex_tests): New variable.
16906 (test_hex_in_one_mode): New function.
16907 (do_test): Also run tests for hex float output.
16908
43153109
JM
169092012-09-21 Joseph Myers <joseph@codesourcery.com>
16910
16911 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16912 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16913 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16914 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16915 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16916 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16917 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16918 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16919
8a26625d
JM
169202012-09-20 Joseph Myers <joseph@codesourcery.com>
16921
16922 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16923 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16924 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16925 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16926
f3fd569c
DL
169272012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16928
16929 [BZ #14579]
16930 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16931 mode only.
16932 * elf/tst-rtld-load-self.sh: New test.
16933 * elf/Makefile: Run it.
16934
63bbedd4
JM
169352012-09-18 Joseph Myers <joseph@codesourcery.com>
16936
16937 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16938 (tst-writev-ENV): Remove.
16939 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16940
626f8b6a
CM
169412012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16942
16943 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16944
b7aaa4d6
JM
169452012-09-17 Joseph Myers <joseph@codesourcery.com>
16946
16947 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16948 unconditional.
16949 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16950 Likewise.
16951 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16952 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16953 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16954 Likewise.
16955
65513990
L
169562012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16957
16958 [BZ #14587]
16959 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16960 * config.make.in (have-cpp-asm-debuginfo): Removed.
16961 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16962 * configure: Regenerated.
16963
784761be
JM
169642012-09-14 Joseph Myers <joseph@codesourcery.com>
16965
16966 [BZ #5044]
16967 * stdio-common/printf_fp.c: Include <stdbool.h> and
16968 <rounding-mode.h>.
16969 (___printf_fp): Determine rounding using get_rounding_mode and
16970 round_away.
16971 * stdio-common/tst-printf-round.c: New file.
16972 * stdio-common/Makefile (tests): Add tst-printf-round.
16973 (link-libm): New variable.
16974 ($(objpfx)tst-printf-round): Depend in $(link-libm).
16975
9503345f
L
169762012-09-13 H.J. Lu <hongjiu.lu@intel.com>
16977
16978 [BZ #14576]
16979 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
16980 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
16981 Likewise.
16982 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
16983 Likewise.
16984
ad35fc00
JM
169852012-09-13 Joseph Myers <joseph@codesourcery.com>
16986
16987 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
16988 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16989 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16990 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
16991
6c9b0f68
JM
169922012-09-12 Joseph Myers <joseph@codesourcery.com>
16993
16994 [BZ #14518]
16995 * include/rounding-mode.h: New file.
16996 * sysdeps/generic/get-rounding-mode.h: Likewise.
16997 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
16998 * stdlib/strtod_l.c: Include <rounding-mode.h>.
16999 (MAX_VALUE): New macro.
17000 (MIN_VALUE): Likewise.
17001 (overflow_value): New function.
17002 (underflow_value): Likewise.
17003 (round_and_return): Use overflow_value and underflow_value to
17004 determine return values in overflow and underflow cases. Use
17005 round_away to determine rounding depending on rounding mode.
17006 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17007 determine return values in overflow and underflow cases.
17008 * stdlib/tst-strtod-round.c: Include <fenv.h>.
17009 (struct test_results): New structure.
17010 (struct test): Use struct test_results to store expected results
17011 for all rounding modes.
17012 (TEST): Include expected results for all rounding modes.
17013 (test_in_one_mode): New function.
17014 (do_test): Use test_in_one_mode to compute and check results.
17015 Check results for all rounding modes.
17016 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17017 $(link-libm).
17018
19fcedd5
AM
170192012-12-09 Allan McRae <allan@archlinux.org>
17020
1e9d84cd 17021 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 17022
8bbfd2f1
JM
170232012-09-11 Joseph Myers <joseph@codesourcery.com>
17024
17025 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17026 (_G_int32_t): Likewise.
17027 (_G_uint16_t): Likewise.
17028 (_G_uint32_t): Likewise.
17029 (_G_HAVE_BOOL): Likewise.
17030 (_G_HAVE_ATEXIT): Likewise.
17031 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17032 (_G_HAVE_IO_FILE_OPEN): Likewise.
17033 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17034 (_G_int32_t): Likewise.
17035 (_G_uint16_t): Likewise.
17036 (_G_uint32_t): Likewise.
17037 (_G_HAVE_BOOL): Likewise.
17038 (_G_HAVE_ATEXIT): Likewise.
17039 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17040 (_G_HAVE_IO_FILE_OPEN): Likewise.
17041 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17042 (_G_int32_t): Likewise.
17043 (_G_uint16_t): Likewise.
17044 (_G_uint32_t): Likewise.
17045 (_G_HAVE_BOOL): Likewise.
17046 (_G_HAVE_ATEXIT): Likewise.
17047 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17048 (_G_HAVE_IO_FILE_OPEN): Likewise.
17049
b1dc5912
L
170502012-09-11 H.J. Lu <hongjiu.lu@intel.com>
17051
17052 * csu/libc-tls.c: Update copyright years.
17053
0e886ef9
JM
170542012-09-10 Joseph Myers <joseph@codesourcery.com>
17055
28361c5e
JM
17056 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17057 [!_G_USING_THUNKS]: Remove conditional code.
17058 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17059 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17060
0e886ef9
JM
17061 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17062 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17063 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17064 (_G_VTABLE_LABEL_PREFIX): Likewise.
17065 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17066 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17067 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17068 (_G_VTABLE_LABEL_PREFIX): Likewise.
17069 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17070 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17071 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17072 (_G_VTABLE_LABEL_PREFIX): Likewise.
17073 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17074
bcba7aa2
L
170752012-09-10 H.J. Lu <hongjiu.lu@intel.com>
17076
17077 * libio/Makefile: Include ../Makeconfig before tests.
17078 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17079 only if $(build-shared) is yes.
17080
06585ee8
L
17081 * iconv/gconv_db.c: Update copyright years.
17082
80ccd52c
LD
170832012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17084
17085 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17086 unwind info if defined PIC. Fix special cases description.
17087 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17088
17089 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17090 DP_HI_MASK entry.
17091 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17092
691bc9c1
L
170932012-09-07 H.J. Lu <hongjiu.lu@intel.com>
17094
3d9b46b3
L
17095 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17096
de2139a9
L
17097 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17098 is NULL.
17099
5ca78dd0
L
17100 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17101 (LDLIBS-tst-chk4): This.
17102 (LDFLAGS-tst-chk5): Renamed to ...
17103 (LDLIBS-tst-chk5): This.
17104 (LDFLAGS-tst-chk6): Renamed to ...
17105 (LDLIBS-tst-chk6): This.
17106 (LDFLAGS-tst-lfschk4): Renamed to ...
17107 (LDLIBS-tst-lfschk4): This.
17108 (LDFLAGS-tst-lfschk5): Renamed to ...
17109 (LDLIBS-tst-lfschk5): This.
17110 (LDFLAGS-tst-lfschk6): Renamed to ...
17111 (LDLIBS-tst-lfschk6): This.
17112
691bc9c1
L
17113 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17114 on $(common-objpfx)soversions.mk.
17115
65cafb1c
JM
171162012-09-07 Joseph Myers <joseph@codesourcery.com>
17117
17118 [BZ #10014]
17119 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17120 example host name.
17121
c78ab094
SP
171222012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17123
17124 * malloc/arena.c (arena_get_retry): New function that gets
17125 another arena for the caller to try its request on.
17126 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17127 current arena cannot fulfill the request.
17128 (__libc_memalign): Likewise.
17129 (__libc_memalign): Likewise.
17130 (__libc_pvalloc): Likewise.
17131 (__libc_calloc): Likewise.
17132
01f49f59
JT
171332012-09-05 John Tobey <john.tobey@gmail.com>
17134
17135 [BZ #13542]
17136 * manual/arith.texi (Operations on Complex): Fix description
17137 of carg branch cut.
17138
4c23fed5
JM
171392012-09-06 Joseph Myers <joseph@codesourcery.com>
17140
1d3c8572
JM
17141 [BZ #10014]
17142 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17143 host name.
17144
4c23fed5
JM
17145 [BZ #10038]
17146 * manual/memory.texi (Memory): Make order of menu items match
17147 order of sections.
17148
04570aaa
L
171492012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17150
17151 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17152 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
17153 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17154
b80af2f4
L
171552012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17156
17157 * csu/libc-tls.c (static_dtv): Renamed to ...
17158 (_dl_static_dtv): This. Make it global.
17159 (_dl_initial_dtv): Removed.
17160 (__libc_setup_tls): Updated.
17161 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17162 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17163 DL_INITIAL_DTV.
17164
2abe9f15
PM
171652012-09-06 Petr Machata <pmachata@redhat.com>
17166
17167 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17168 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17169 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17170 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17171
0948c3af
L
171722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17173
17174 [BZ #14545]
17175 * csu/libc-tls.c (_dl_initial_dtv): New variable.
17176 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17177 freeing dtv[-1].
17178
a5055ad1
L
171792012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17180
17181 [BZ #14544]
17182 * Makeconfig (link-static-before-libc): Replace $(+prector)
17183 with $(+prectorT).
17184 (link-static-after-libc): Replace $(+postctor) with
17185 $(+postctorT).
17186 (link-bounded): Replace $(+prector)/$(+postctor) with
17187 $(+prectorT)/$(+postctorT).
17188 (+prectorT): New macro.
17189 (+postctorT): Likewise.
17190
ed8c2ecd
JM
171912012-09-06 Joseph Myers <joseph@codesourcery.com>
17192
17193 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17194 (round_str): Handle values above the maximum for IBM long double
17195 as inexact.
17196 * stdlib/tst-strtod-round.c (tests): Regenerated.
17197
14c996c8
AK
171982012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17199
17200 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17201 assembler flag.
17202 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17203 zarch_nohighgprs around the zarch optimized routines.
17204 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17205 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17206 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17207 for zarch.
17208
430d6ce6
DM
172092012-09-05 David S. Miller <davem@davemloft.net>
17210
17211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17212
ff04dda4
DM
17213 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17214 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17215 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17216 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17217 entries.
17218
24d4e01b
AO
172192012-09-05 Alexandre Oliva <aoliva@redhat.com>
17220
17221 * malloc/arena.c: Fold copyright years.
17222 * malloc/mcheck.c, malloc/memusage.c: Likewise.
17223
61d58174
AO
172242012-09-05 Alexandre Oliva <aoliva@redhat.com>
17225
17226 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17227
20196a5e
AO
172282012-09-05 Alexandre Oliva <aoliva@redhat.com>
17229
17230 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17231
5c447383
AO
172322012-09-05 Alexandre Oliva <aoliva@redhat.com>
17233
17234 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17235 change internal state upon failure.
17236
fad64255
AO
172372012-09-05 Alexandre Oliva <aoliva@redhat.com>
17238
17239 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17240 * malloc/memusage.c (mmap): Likewise.
17241 (mmap64, mremap): Likewise. Adjust name in comment.
17242
1ffb8c90
SP
172432012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17244
17245 * libio/fileops.c: Fix typos in comments.
17246 * libio/oldfileops.c: Likewise.
17247 * libio/wfileops.c: Likewise.
17248
6ef9cc37
SP
172492012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17250
17251 [BZ #1349]
17252 * malloc/Makefile (tests): Add tst-malloc-usable test case.
17253 (tst-malloc-usable-ENV): Set environment for test case.
17254 * malloc/hooks.c (malloc_check_get_size): New function to get
17255 requested size.
17256 * malloc/malloc.c (musable): Use malloc_check_get_size.
17257 * malloc/tst-malloc-usable.c: New test case.
17258
4d038ae3
AS
172592012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17260
17261 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17262
c4e85184
AM
172632012-09-05 Allan McRae <allan@archlinux.org>
17264
b9dafc56 17265 [BZ #13966]
c4e85184
AM
17266 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17267 determine header location.
17268 * configure: Regenerated.
17269
e1343020
AS
172702012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17271
17272 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17273 float format.
17274 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
17275 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17276 format.
e1343020
AS
17277 (test): Regenerate.
17278
0a9f1987
DM
172792012-09-04 David S. Miller <davem@davemloft.net>
17280
17281 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17282 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17283 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17284
29237804
FW
172852012-09-04 Florian Weimer <fweimer@redhat.com>
17286
17287 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17288 failures.
17289
edb3cb88
FW
17290 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17291
60160d83
JM
172922012-09-04 Joseph Myers <joseph@codesourcery.com>
17293
17294 [BZ #9914]
17295 * libio/iogetdelim.c: Include <limits.h>.
17296 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17297 + len + 1 would overflow.
17298
bcd6c8dc
AJ
172992012-09-03 Andreas Jaeger <aj@suse.de>
17300
17301 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17302 * sysdeps/i386/fpu/libm-test-ulps: Update.
17303
4ffffbd2
LD
173042012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17305
17306 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17307 Add s_sinf-sse2, s_conf-sse2.
17308
17309 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17310 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17311 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17312 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17313
17314 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17315 for using routine as __sinf_ia32.
17316 Use macro for function declaration and weak_alias.
17317 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17318 for using routine as __cosf_ia32.
17319 Use macro for function declaration and weak_alias.
17320
17321 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17322 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17323
17324 * sysdeps/x86_64/fpu/s_sinf.S: New file.
17325 * sysdeps/x86_64/fpu/s_cosf.S: New file.
17326 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17327
17328 * math/libm-test.inc (cos_test): Add more test cases.
17329 (sin_test): Likewise.
17330 (sincos_test): Likewise.
17331
511fa286
AK
173322012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17333
17334 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17335 (IFUNC_RESOLVE): Make pointers to the specialized implementations
17336 hidden.
17337 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17338
5f30cfec
L
173392012-09-02 H.J. Lu <hongjiu.lu@intel.com>
17340
17341 [BZ #14538]
17342 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17343 first element of the GOT.
17344 (elf_machine_load_address): Return the difference between
17345 the runtime address of _DYNAMIC and elf_machine_dynamic ().
17346
0786794f
AM
173472012-09-01 Allan McRae <allan@archlinux.org>
17348
5f30cfec
L
17349 [BZ #13412]
17350 * configure.in (AWK): Require gawk version 3.0 or later.
17351 * configure: Regenerated.
0786794f 17352
26889eac
JM
173532012-09-01 Joseph Myers <joseph@codesourcery.com>
17354
17355 * sysdeps/unix/sysv/linux/kernel-features.h
17356 (__ASSUME_POSIX_CPU_TIMERS): Remove.
17357 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17358 [__NR_clock_getres]: Make code unconditional.
17359 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17360 (clock_getcpuclockid): Remove code left unreachable by removal of
17361 conditionals.
17362 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17363 code unconditional.
17364 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17365 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17366 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17367 Make code unconditional.
17368 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17369 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17370 * sysdeps/unix/sysv/linux/clock_settime.c
17371 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17372 conditional code.
17373 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17374 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17375
d22e28b0
L
173762012-08-29 H.J. Lu <hongjiu.lu@intel.com>
17377
17378 [BZ #14476]
17379 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17380 scripts/test-installation.pl.
17381
17382 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17383 and $ld_so_version if it is set.
17384
050af9c4
SP
173852012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17386
17387 [BZ #14516]
17388 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17389 failure if reading from procfs failed.
17390 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17391
ad845c0b
JM
173922012-08-27 Joseph Myers <joseph@codesourcery.com>
17393
17394 * sysdeps/unix/sysv/linux/kernel-features.h
17395 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
17396 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17397 Remove conditional code.
17398 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17399 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
17400 Remove conditional code.
17401 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17402 * sysdeps/unix/sysv/linux/i386/fxstat.c
17403 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17404 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17405 * sysdeps/unix/sysv/linux/i386/fxstatat.c
17406 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17407 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17408 * sysdeps/unix/sysv/linux/i386/lxstat.c
17409 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17410 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17411 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
17412 Remove conditional code.
17413 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17414 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17415 Remove conditional code.
17416 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17417 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
17418 <kernel-features.h>.
17419 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
17420 Remove.
17421 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17422 Remove conditional code.
17423 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17424 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17425 Remove conditional.
17426
5dbf56af
MF
174272012-08-27 Mike Frysinger <vapier@gentoo.org>
17428
17429 [BZ #5400]
17430 * NEWS: Add fixed bug number.
17431
d6e70f43
JM
174322012-08-27 Joseph Myers <joseph@codesourcery.com>
17433
7efb4737
JM
17434 [BZ #14519]
17435 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17436 underflowing exponent in case of negative sign.
17437 * stdlib/tst-strtod-round-data: Add more tests.
17438 * stdlib/tst-strtod-round.c (tests): Regenerated.
17439
af92131a
JM
17440 [BZ #3479]
17441 * stdlib/strtod_l.c (NDIG): Remove.
17442 (HEXNDIG): Likewise.
17443 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17444 smallest representable value.
17445 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17446 lie within an exact representation of 1/2 ulp of the result.
17447 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17448 unconditionally.
17449 (TENS_P9_IDX): Define unconditionally.
17450 (TENS_P9_SIZE): Likewise.
17451 (TENS_P10_IDX): Likewise.
17452 (TENS_P10_SIZE): Likewise.
17453 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17454 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17455 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17456 entries for 10^2^13 and 10^2^14.
17457 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17458 (TENS_P13_IDX): Define.
17459 (TENS_P13_SIZE): Likewise.
17460 (TENS_P14_IDX): Likewise.
17461 (TENS_P14_SIZE): Likewise.
17462 (_fpioconst_pow10): Change array size to
17463 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
17464 unconditional.
17465 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17466 1024]: Add entries for 10^2^13 and 10^2^14.
17467 [LAST_POW10 > _LAST_POW10]: Remove #error.
17468 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17469 (_fpioconst_pow10): Change array size to
17470 FPIOCONST_POW10_ARRAY_SIZE.
17471 * stdlib/gen-fpioconst.c: New file.
17472 * stdlib/gen-tst-strtod-round.c: Likewise.
17473 * stdlib/tst-strtod-round-data: Likewise.
17474 * stdlib/tst-strtod-round.c: Likewise.
17475 * stdlib/Makefile (tests): Add tst-strtod-round.
17476
d6e70f43
JM
17477 [BZ #14459]
17478 * stdlib/strtod_l.c: Include <stdint.h>.
17479 (NDEBUG): Do not define.
17480 (round_and_return): Change EXPONENT parameter to type intmax_t.
17481 Rearrange calculations to avoid internal overflow possibilities.
17482 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17483 Rearrange calculations to avoid internal overflow possibilities.
17484 Assert that number fits inside MPNSIZE limbs.
17485 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17486 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
17487 calculations and add assertions to avoid internal overflow
17488 possibilities. Add casts to avoid signed/unsigned operations.
17489 * stdlib/tst-strtod-overflow.c: New file.
17490 * stdlib/Makefile (tests): Add tst-strtod-overflow.
17491
1f529f7d
MP
174922012-08-25 Marek Polacek <polacek@redhat.com>
17493
17494 * time/time.h: Fix some typos in comments.
17495
59a629f1
RM
174962012-08-23 Roland McGrath <roland@hack.frob.com>
17497
17498 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17499 * posix/tst-rfc3484-2.c: Likewise.
17500 * posix/tst-rfc3484-3.c: Likewise.
17501
d3bafbc9
SM
175022012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
17503
17504 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17505 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17506
4efcc022
JM
175072012-08-23 Joseph Myers <joseph@codesourcery.com>
17508
17509 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17510 #include of fxstatat64.c.
17511
3cc3ef96
RM
175122012-08-22 Roland McGrath <roland@hack.frob.com>
17513
f04e2132
RM
17514 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17515 * shadow/getspent_r.c: Likewise.
17516 * shadow/getspnam.c: Likewise.
17517 * shadow/getspnam_r.c: Likewise.
17518 * gshadow/getsgent.c: Likewise.
17519 * gshadow/getsgent_r.c: Likewise.
17520 * gshadow/getsgnam.c: Likewise.
17521 * gshadow/getsgnam_r.c: Likewise.
17522 * inet/getnetbyad.c: Likewise.
17523 * inet/getnetbyad_r.c: Likewise.
17524 * inet/getnetbynm.c: Likewise.
17525 * inet/getnetbynm_r.c: Likewise.
17526 * inet/getnetent.c: Likewise.
17527 * inet/getnetent_r.c: Likewise.
17528 * inet/getproto.c: Likewise.
17529 * inet/getproto_r.c: Likewise.
17530 * inet/getprtent.c: Likewise.
17531 * inet/getprtent_r.c: Likewise.
17532 * inet/getprtname.c: Likewise.
17533 * inet/getprtname_r.c: Likewise.
17534 * inet/getrpcbyname.c: Likewise.
17535 * inet/getrpcbyname_r.c: Likewise.
17536 * inet/getrpcbynumber.c: Likewise.
17537 * inet/getrpcbynumber_r.c: Likewise.
17538 * inet/getrpcent.c: Likewise.
17539 * inet/getrpcent_r.c: Likewise.
17540 * inet/getaliasent.c: Likewise.
17541 * inet/getaliasent_r.c: Likewise.
17542 * inet/getaliasname.c: Likewise.
17543 * inet/getaliasname_r.c: Likewise.
17544 * nscd/getgrgid_r.c: Likewise.
17545 * nscd/getgrnam_r.c: Likewise.
17546 * nscd/gethstbyad_r.c: Likewise.
17547 * nscd/gethstbynm3_r.c: Likewise.
17548 * nscd/getpwnam_r.c: Likewise.
17549 * nscd/getpwuid_r.c: Likewise.
17550 * nscd/getsrvbynm_r.c: Likewise.
17551 * nscd/getsrvbypt_r.c: Likewise.
17552 * nscd/gai.c: Likewise.
17553
c53d909c
RM
17554 * configure.in (build_nscd): New substituted variable, set
17555 by --disable-build-nscd and defaults to $use_nscd.
17556 * configure: Regenerated.
17557 * config.make.in (build-nscd): New substituted variable.
17558 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17559 Change conditional to require [$(build-nscd) = yes] as well.
17560 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17561
3cc3ef96
RM
17562 [BZ# 13696]
17563 * configure.in (use_nscd): New substituted variable, set by
17564 --disable-nscd. If enabled, define USE_NSCD.
17565 * configure: Regenerated.
17566 * config.h.in: Add USE_NSCD.
17567 * config.make.in (use-nscd): New substituted variable.
17568 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17569 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17570 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17571 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17572 (CFLAGS-getgrnam_r.c): Likewise.
17573 (CFLAGS-initgroups.c): Likewise.
17574 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17575 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17576 Variables removed.
17577 * inet/getnetgrent_r.c
17578 (nscd_setnetgrent): New function, broken out of ...
17579 (setnetgrent): ... here. Call it.
17580 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17581 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17582 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17583 * nscd/Makefile (routines, aux): Move definitions after include of
17584 Makeconfig. Conditionalize on [$(use-nscd) != no].
17585 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17586 Conditionalize on [USE_NSCD].
17587 (is_nscd, nscd_init_cb): Likewise.
17588 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17589 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17590 * nss/nss_db/db-init.c: Likewise.
17591 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17592 [USE_NSCD].
17593 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17594 (make_request): Use it.
17595 (cache_valid_p): New function.
17596 (__check_pf): Use it.
17597 * NEWS: Add item for --disable-nscd.
17598
07e51550
DL
175992012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17600
17601 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17602 to support sed >= 4.2.1-20-ga9bf076.
17603 * configure: Regenerated.
17604
35a5b08b
RM
176052012-08-22 Roland McGrath <roland@hack.frob.com>
17606
17607 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17608 Conditionalize whole body on [IREL].
17609
8479f23a
JL
176102012-08-22 Jeff Law <law@redhat.com>
17611
17612 [BZ #14505]
17613 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17614 if the family is PF_UNSPEC.
17615
48da0b21
MF
176162012-08-22 Mike Frysinger <vapier@gentoo.org>
17617
17618 * Makerules (lib-version): Rename from V.
17619 (install-lib-nosubdir): Change V to lib-version.
17620
15d0da8c
WS
176212012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17622
17623 [BZ #14252]
17624 * powerpc32/power6/wcschr.c: New file.
17625 * powerpc32/power6/wcscpy.c: New file.
17626 * powerpc32/power6/wcsrchr.c: New file.
17627 * powerpc64/power6/wcschr.c: New file.
17628 * powerpc64/power6/wcscpy.c: New file.
17629 * powerpc64/power6/wcsrchr.c: New file.
17630
bcca0895
MK
176312012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17632
17633 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17634 (two_way_short_needle): Use it.
5a4aaa33
RM
17635 * string/strstr.c (AVAILABLE1_USES_J): Define.
17636 * string/strcasestr.c: Likewise.
99677e57
MK
17637
17638 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17639 array references.
17640 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17641
400726de
MK
17642 [BZ #11607]
17643 * NEWS: Add an entry.
17644 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17645 define their defaults.
17646 (two_way_short_needle): Detect end-of-string on-the-fly.
17647 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17648 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17649 * string/bug-strcasestr1.c: New test.
17650 * string/Makefile: Run it.
17651
20a71f2c
MK
176522012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17653
17654 [BZ #11607]
17655 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17656 the first character.
17657
21ad0558
RM
176582012-08-21 Roland McGrath <roland@hack.frob.com>
17659
17660 * csu/elf-init.c (__libc_csu_irel): Function removed.
17661 * csu/libc-start.c (apply_irel): New function.
17662 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17663
0e1d9911
JM
176642012-08-21 Joseph Myers <joseph@codesourcery.com>
17665
17666 * sysdeps/unix/sysv/linux/kernel-features.h
17667 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17668 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17669 <kernel-features.h>.
17670 [__NR_fadvise64_64]: Make code unconditional.
17671 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17672 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17673 !__NR_fadvise64_64)]: Likewise.
17674 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17675 !__NR_fadvise64_64))]: Likewise.
17676 [__NR_fadvise64]: Make code unconditional.
17677 [!__NR_fadvise64]: Remove conditional code.
17678 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17679 <kernel-features.h>.
17680 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17681 unconditional.
17682 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17683 conditional code.
17684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17685 not include <kernel-features.h>.
17686 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17687 unconditional.
17688 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17689 conditional code.
17690 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17691 include <kernel-features.h>.
17692 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17693 unconditional.
17694 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17695 conditional code.
17696
14a50c9d
WS
176972012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17698
17699 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17700 slight instruction rearrangements per scrollpipe analysis.
17701 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17702
c0f4faf0
RM
177032012-08-20 Roland McGrath <roland@hack.frob.com>
17704
696da859
RM
17705 * manual/syslog.texi (syslog; vsyslog, closelog):
17706 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17707 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17708
c0f4faf0
RM
17709 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17710 DSOCAPS to match condition on defining it.
17711
348363b2
JM
177122012-08-20 Joseph Myers <joseph@codesourcery.com>
17713
a35cbf28
JM
17714 * sysdeps/unix/sysv/linux/kernel-features.h
17715 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17716 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17717 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17718 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17720 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17721 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17723 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17724 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17725
445f7ecd
JM
17726 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17727 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17728
348363b2
JM
17729 * sysdeps/unix/sysv/linux/kernel-features.h
17730 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17731 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17732 unconditional.
17733 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17734 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17735 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17736 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17737 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17738 Make code unconditional.
17739 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17740 (__mmap64) [!__NR_mmap2]: Likewise.
17741 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17742 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17743 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17744 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17745 [__NR_mmap2]: Make code unconditional.
17746 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17747 (__mmap64) [!__NR_mmap2]: Likewise.
17748
bc5bc0e5
AK
177492012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17750
17751 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17752
88d506de
AJ
177532012-08-18 Andreas Jaeger <aj@suse.de>
17754
17755 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17756
493387d2
MF
177572012-08-18 Mike Frysinger <vapier@gentoo.org>
17758
17759 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17760 * include/unistd.h (__have_sock_cloexec): Likewise.
17761 (__have_pipe2): Likewise.
17762 (__have_dup3): Likewise.
17763
a277af22
MF
177642012-08-18 Mike Frysinger <vapier@gentoo.org>
17765
17766 [BZ #9685]
17767 * include/unistd.h (__have_pipe2): Change define into an extern int.
17768 (__have_dup3): Likewise.
17769 * socket/have_sock_cloexec.c: Include fcntl.h.
17770 (__have_pipe2): New variable.
17771 (__have_dup3): Likewise.
17772
fdab8fd3
MF
177732012-08-17 Mike Frysinger <vapier@gentoo.org>
17774
17775 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17776
31035e80
MP
177772012-08-17 Marek Polacek <polacek@redhat.com>
17778
17779 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17780 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17781
3bd9e993
RM
177822012-08-17 Roland McGrath <roland@hack.frob.com>
17783
c91c505f
RM
17784 * configure.in: Add AC_SUBST for sysheaders.
17785 * configure: Regenerated.
17786 * config.make.in (sysheaders): New substituted variable.
17787
7c6f9d53
RM
17788 * sysdeps/unix/mkfifo.c: Moved ...
17789 * sysdeps/posix/mkfifo.c: ... here.
17790 * sysdeps/unix/mkfifoat.c: Moved ...
17791 * sysdeps/posix/mkfifoat.c: ... here.
17792
17793 * sysdeps/unix/utime.c: Moved ...
17794 * sysdeps/posix/utime.c: ... here.
17795
17796 * sysdeps/unix/time.c: Moved ...
17797 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
17798 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17799 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
17800
17801 * sysdeps/unix/nice.c: Moved ...
17802 * sysdeps/posix/nice.c: ... here.
17803
17804 * sysdeps/unix/alarm.c: Moved ...
17805 * sysdeps/posix/alarm.c: ... here.
17806
3bd9e993
RM
17807 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17808
d1f09384
JL
178092012-08-17 Jeff Law <law@redhat.com>
17810
17811 * intl/Makefile (codeset_mo): New variable.
17812 ($(codeset_mo)): New target.
17813 (tst-codeset.out): Depend on that. Remove explicit rule.
17814 (tst-gettext3.out, tst-gettext5.out): Likewise.
17815 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17816 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17817 * intl/tst-codeset.sh: Remove.
17818 * intl/tst-gettext3.sh: Likewise.
17819 * intl/tst-gettext5.sh: Likewise.
17820
2ae1ae5c
RM
178212012-08-17 Roland McGrath <roland@hack.frob.com>
17822
c31fdb83
RM
17823 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17824 * sysdeps/unix/syscalls.list: ... here.
17825
a0844057
RM
17826 * sysdeps/posix/getaddrinfo.c
17827 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17828 (gaiconf_init, gaiconf_reload): Use them.
17829 [!_STATBUF_ST_NSEC]
17830 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17831 Define using time_t rather than struct timespec.
17832
750c1f2a
RM
17833 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17834 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17835 Macros removed.
17836 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17837 [!NO_THREADS].
17838 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17839 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17840 Likewise.
17841
2ae1ae5c
RM
17842 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17843 __libc_cleanup_push argument.
17844
e66a42f5
RM
17845 * bits/param.h: New file.
17846 * misc/sys/param.h: New file.
17847 * include/sys/param.h: New file.
17848 * misc/Makefile (headers): Add bits/param.h.
17849 * sysdeps/generic/sys/param.h: File removed.
17850 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17851 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17852 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 17853 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 17854
b7c08a66
RM
17855 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17856 last change.
17857
b2e1c562
RM
17858 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17859 [_IO_MTSAFE_IO].
17860 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17861 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17862 New macros.
17863
c75ccd4c
RM
17864 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17865 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17866 rather than -D_IO_MTSAFE_IO conditionally.
17867 * stdio-common/Makefile (CPPFLAGS): Likewise.
17868 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17869 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17870 Use $(libio-mtsafe).
17871 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17872 of -D_IO_MTSAFE_IO.
17873 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17874 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17875 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17876 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17877 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17878 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17879 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17880 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17881 (CFLAGS-fread_u_chk.c): Likewise.
17882 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17883 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17884 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17885 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17886 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17887 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17888 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17889 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17890 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17891
17892 * libio/Makefile: Test [$(libc-reentrant) = yes]
17893 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17894
17895 * Makeconfig
17896 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17897 * sysdeps/pthread/configure: File removed.
17898 * sysdeps/pthread/Makeconfig: New file.
17899 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17900 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17901
d9195db8
GB
179022012-08-16 Gary Benson <gbenson@redhat.com>
17903
17904 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17905 unmapping the first object in a namespace.
17906
86466cd9
RM
179072012-08-16 Roland McGrath <roland@hack.frob.com>
17908
17909 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17910 (__internal_setnetgrent): ... this. Add internal_function to
17911 definition. Add libc_hidden_def.
17912 (setnetgrent): Update caller.
17913 (internal_endnetgrent): Renamed to ...
17914 (__internal_endnetgrent): ... this. Add internal_function to
17915 definition. Add libc_hidden_def.
17916 (endnetgrent): Update caller.
17917 (internal_getnetgrent_r): Renamed to ...
17918 (__internal_getnetgrent_r): ... this. Add internal_function to
17919 definition. Add libc_hidden_def.
17920 (__getnetgrent_r): Update caller.
17921 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
17922
c3c8283c
JM
179232012-08-16 Joseph Myers <joseph@codesourcery.com>
17924
17925 * stdlib/longlong.h: Update from GCC.
17926
db1ee0a8
RM
179272012-08-16 Roland McGrath <roland@hack.frob.com>
17928
17929 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17930 on _QL, which is set by umul_ppmm but never used.
17931 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17932 variables, which are set by GMP macros but never used.
17933 * stdio-common/_itowa.c (_itowa): Likewise.
17934 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17935 * stdlib/mod_1.c (mpn_mod_1): Likewise.
17936
30f69637
CD
179372012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17938
17939 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17940 struct La_sh_regs is not constant.
17941 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17942 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17943 and struct La_sparc64_regs are not constant.
17944
93a78ac4
JM
179452012-08-16 Joseph Myers <joseph@codesourcery.com>
17946
17947 * sysdeps/unix/sysv/linux/kernel-features.h
17948 (__ASSUME_POSIX_TIMERS): Remove.
17949 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17950 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17951 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17952 Make code unconditional.
17953 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17954 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17955 Make code unconditional.
17956 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17957 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17958 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17959 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17960 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17961 Make code unconditional.
17962 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17963 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
17964 (__libc_missing_posix_timers): Remove.
17965
dd924cd7
RM
179662012-08-15 Roland McGrath <roland@hack.frob.com>
17967
4b4f2771
RM
17968 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
17969 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
17970
601c888b
RM
17971 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
17972
176790a7
RM
17973 * elf/dl-sym.c: Include <stdlib.h>.
17974
329bc018
RM
17975 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
17976 constants, which avoids warnings in 32-bit builds.
17977
e04e272d
RM
17978 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
17979 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
17980
952bf94a
RM
17981 * misc/lseek.c: File moved to ...
17982 * io/lseek.c: ... here.
17983
7c99b50a
RM
17984 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
17985
dd924cd7
RM
17986 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
17987 shifting LEN more than 31 bits at once.
17988
b3f479a8
LD
179892012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17990
17991 [BZ #14195]
8c4ae0d4
RM
17992 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
17993 segmentation fault for a case of two empty input strings.
b3f479a8
LD
17994 * string/test-strncasecmp.c (check1): Renamed to...
17995 (bz12205): ...this.
17996 (bz14195): Add new testcase for two empty input strings and N > 0.
17997 (test_main): Call new testcase, adapt for renamed function.
17998
9c55864e
AJ
179992012-08-15 Andreas Jaeger <aj@suse.de>
18000
18001 [BZ #14090]
18002 * crypt/md5test2.c: New test, based on test supplied by Serge
18003 Belyshev <belyshev@depni.sinp.msu.ru>.
18004 * crypt/Makefile (xtests): Add md5test-giant..
18005 * crypt/Makefile ($(objpfx)md5test-giant): Add.
18006
02dcb6c5
PE
180072012-08-15 Paul Eggert <eggert@cs.ucla.edu>
18008
18009 [BZ #14090]
18010 * crypt/md5.c (md5_process_block): Don't assume the buffer
18011 length is less than 2**32.
18012 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18013 length is less than 2**64.
18014
a3f95dcc
RM
180152012-08-15 Roland McGrath <roland@hack.frob.com>
18016
be75d758
RM
18017 * string/str-two-way.h: Include <sys/param.h>.
18018 (MAX): Macro removed.
18019
7312ca90
RM
18020 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18021 Move #define and #undef of memmove to just before and after
18022 including <string.h>.
18023
9a0a5486
RM
18024 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18025 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18026 and after including <string.h>. Move declarations of
18027 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18028 to before #include "string/memmove.c".
18029
67cc348d
RM
18030 * include/dirent.h: Declare __getdirentries.
18031
a3f95dcc
RM
18032 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18033 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18034
ca98e171
MF
180352012-08-14 Mike Frysinger <vapier@gentoo.org>
18036
18037 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18038 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18039 * sysdeps/i386/configure: Regenerated.
18040 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18041 STABS_CURRENT_FILE, and STABS_FUN.
18042 (END): Remove call to STABS_FUN_END.
18043 (STABS_CURRENT_FILE1): Delete.
18044 (STABS_CURRENT_FILE): Likewise.
18045 (STABS_FUN): Likewise.
18046 (STABS_FUN_END): Likewise.
18047 (STABS_FUN2): Likewise.
18048 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18049 * sysdeps/x86_64/configure: Regenerated.
18050
5908bf46
RM
180512012-08-14 Roland McGrath <roland@hack.frob.com>
18052
18053 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 18054 * elf/dl-lookup.c: Likewise.
5908bf46 18055
f2c05b9e
JM
180562012-08-14 Joseph Myers <joseph@codesourcery.com>
18057
18058 * sysdeps/unix/sysv/linux/kernel-features.h
18059 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18060 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18061 unconditionally.
18062 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18063 unconditionally.
18064 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18065 condition on __ASSUME_CLONE_THREAD_FLAGS.
18066
e11f5155
AJ
180672012-08-14 Andreas Jaeger <aj@suse.de>
18068
18069 * sysdeps/i386/fpu/libm-test-ulps: Update.
18070
51a9ba86
MK
180712012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
18072
2fdd4f78
AJ
18073 * include/atomic.h (atomic_exchange_and_add): Split into ...
18074 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18075 New atomic macros.
51a9ba86 18076
ba6cba9e
MT
180772012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
18078
18079 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18080
42443a47
JL
180812012-08-13 Jeff Law <law@redhat.com>
18082
18083 * manual/stdio.texi (snprintf): Clarify handling of the trailing
18084 null byte in the output string.
18085
121dce05
JM
180862012-08-10 Joseph Myers <joseph@codesourcery.com>
18087
18088 * sysdeps/unix/sysv/linux/kernel-features.h
18089 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18090 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18091 (__ASSUME_ARG_MAX_STACK_BASED): Define.
18092 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18093 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18094 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
18095 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18096
bf51f568
JL
180972012-08-09 Jeff Law <law@redhat.com>
18098
18099 [BZ #13939]
18100 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18101 When avoid_arena is set, don't retry in the that arena. Pick the
18102 next one, whatever it might be.
18103 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18104 (arena_lock): Pass in new parameter to arena_get2.
18105 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18106 arena_get2.
18107 (__libc_malloc): Unify retrying after main arena failure with
18108 __libc_memalign version.
18109 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18110
f85fa270
L
181112012-08-09 H.J. Lu <hongjiu.lu@intel.com>
18112
18113 [BZ #14166]
18114 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18115 to __redirect_strstr.
18116 (__strstr_sse42): Use typeof __redirect_strstr.
18117 (__strstr_ia32): Likewise.
18118 (__libc_strstr): New prototype.
18119 (strstr): Renamed to ...
18120 (__libc_strstr): This.
18121 (strstr): New strong alias of __libc_strstr.
18122 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18123 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18124 __redirect_time.
18125 Include <time.h>.
18126 (__libc_time): New prototype.
18127 (time_ifunc): Replace time with __libc_time.
18128 (time): New strong alias and hidden definition of __libc_time.
18129 (__GI_time): Remove strong alias.
18130 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18131 Include <stddef.h>.
18132 (memmove): Redefined to __redirect_memmove.
18133 (__memmove_sse2): Use typeof __redirect_memmove.
18134 (__memmove_ssse3): Likewise.
18135 (__memmove_ssse3_back): Likewise.
18136 (__libc_memmove): New prototype.
18137 (memmove): Renamed to ...
18138 (__libc_memmove): This.
18139 (memmove): New strong alias of __libc_memmove.
18140
33b4a91e
MS
181412012-08-08 Mark Salter <msalter@redhat.com>
18142
18143 * elf/elf.h
18144 (R_MN10300_TLS_GD): Define.
18145 (R_MN10300_TLS_LD): Likewise.
18146 (R_MN10300_TLS_LDO): Likewise.
18147 (R_MN10300_TLS_GOTIE): Likewise.
18148 (R_MN10300_TLS_IE): Likewise.
18149 (R_MN10300_TLS_LE): Likewise.
18150 (R_MN10300_TLS_DTPMOD): Likewise.
18151 (R_MN10300_TLS_DTPOFF): Likewise.
18152 (R_MN10300_TLS_TPOFF): Likewise.
18153 (R_MN10300_SYM_DIFF): Likewise.
18154 (R_MN10300_ALIGN): Likewise.
18155 (R_MN10300_NUM): Update.
18156
b36137f1
JM
181572012-08-08 Joseph Myers <joseph@codesourcery.com>
18158
18159 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18160 Remove.
18161
cdd915fd
RM
181622012-08-08 Roland McGrath <roland@hack.frob.com>
18163
a2433aac
RM
18164 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18165
cdd915fd
RM
18166 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18167 sysdeps/unix -> sysdeps/posix move.
18168 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18169
bf9b740a
AM
181702012-08-07 Allan McRae <allan@archlinux.org>
18171
18172 [BZ #14303]
18173 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18174 (SUNOS_CPP): Likewise.
18175 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18176 not found.
18177 (open_input): Call CPP using execvp.
18178
93df14ee
JM
181792012-08-07 Joseph Myers <joseph@codesourcery.com>
18180
18181 * sysdeps/unix/sysv/linux/kernel-features.h
18182 (__ASSUME_PROT_GROWSUPDOWN): Remove.
18183 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18184 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18185 (__ASSUME_WAITID_SYSCALL): Likewise.
18186 * sysdeps/unix/sysv/linux/dl-execstack.c
18187 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18188 code unconditional.
18189 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18190 conditional code.
18191 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18192 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18193 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18194 code.
18195 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18196 unconditional.
18197 [__ASSUME_WAITID_SYSCALL]: Likewise.
18198 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18199
d34689de
RM
182002012-08-07 Roland McGrath <roland@hack.frob.com>
18201
a281decc
RM
18202 * sysdeps/unix/closedir.c: Renamed to ...
18203 * sysdeps/posix/closedir.c: ... here.
18204 * sysdeps/unix/dirfd.c: Renamed to ...
18205 * sysdeps/posix/dirfd.c: ... here.
18206 * sysdeps/unix/dirstream.h: Renamed to ...
18207 * sysdeps/posix/dirstream.h: ... here.
18208 * sysdeps/unix/fdopendir.c: Renamed to ...
18209 * sysdeps/posix/fdopendir.c: ... here.
18210 * sysdeps/unix/opendir.c: Renamed to ...
18211 * sysdeps/posix/opendir.c: ... here.
18212 * sysdeps/unix/readdir.c: Renamed to ...
18213 * sysdeps/posix/readdir.c: ... here.
18214 * sysdeps/unix/readdir_r.c: Renamed to ...
18215 * sysdeps/posix/readdir_r.c: ... here.
18216 * sysdeps/unix/rewinddir.c: Renamed to ...
18217 * sysdeps/posix/rewinddir.c: ... here.
18218 * sysdeps/unix/seekdir.c: Renamed to ...
18219 * sysdeps/posix/seekdir.c: ... here.
18220 * sysdeps/unix/telldir.c: Renamed to ...
18221 * sysdeps/posix/telldir.c: ... here.
18222 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18223 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18224 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18225 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18226
22895b47
RM
18227 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18228 * bits/fcntl.h: ... here.
18229
707a53b6
RM
18230 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18231 not 0.
18232 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18233 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18234 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18235 (struct flock): Move l_start, l_len to the beginning.
18236 Use __pid_t for l_pid.
18237 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18238 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18239 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18240 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18241 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18242 [__USE_LARGEFILE64] (struct flock64): New type.
18243 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18244
f0bd3e25
RM
18245 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18246 * bits/dirent.h: ... here.
18247
d34689de
RM
18248 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18249 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18250
6dad2c06
JM
182512012-08-07 Joseph Myers <joseph@codesourcery.com>
18252
18253 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18254 Change from 2.6.0 to 2.6.16.
18255 * sysdeps/unix/sysv/linux/configure: Regenerated.
18256 * sysdeps/unix/sysv/linux/kernel-features.h
18257 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18258 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18259 version.
18260 (__ASSUME_UTIMES): Likewise.
18261 (__ASSUME_CLONE_STOPPED): Remove.
18262 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18263 architectures, not kernel version.
18264 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18265 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18266 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18267 (__ASSUME_WAITID_SYSCALL): Likewise.
18268 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18269 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18270 * README: State 2.6.16 as minimum Linux kernel version. Do not
18271 refer to older versions.
18272
03af9520
RM
182732012-08-06 Roland McGrath <roland@hack.frob.com>
18274
8e49df1d
RM
18275 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18276 Define alphasort64 as an alias.
18277 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18278 Define versionsort64 as an alias.
18279 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18280 Define scandir64 as an alias.
18281 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18282 Define scandirat64 as an alias.
18283 * dirent/alphasort64.c (alphasort64):
18284 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18285 * dirent/versionsort64.c: Likewise.
18286 * dirent/scandir64.c: Likewise.
18287 * dirent/scandirat64.c: Likewise.
18288 * sysdeps/wordsize-64/alphasort.c: File removed.
18289 * sysdeps/wordsize-64/alphasort64.c: File removed.
18290 * sysdeps/wordsize-64/scandir.c: File removed.
18291 * sysdeps/wordsize-64/scandir64.c: File removed.
18292 * sysdeps/wordsize-64/scandirat.c: File removed.
18293 * sysdeps/wordsize-64/scandirat64.c: File removed.
18294 * sysdeps/wordsize-64/versionsort.c: File removed.
18295 * sysdeps/wordsize-64/versionsort64.c: File removed.
18296 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18297 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18298 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18299 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18300 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18301 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18302 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18303 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18304
18305 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18306 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18307 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18308 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18309 [defined __arch64__ || defined __sparcv9]
18310 (__INO_T_MATCHES_INO64_T): New macro.
18311 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18312 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18313 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18314 * sysdeps/unix/sysv/linux/bits/dirent.h
18315 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18316 (_DIRENT_MATCHES_DIRENT64): New macro.
18317
03af9520
RM
18318 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18319 Define lockf64 as an alias.
18320 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18321 Define fseeko64 as an alias.
18322 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18323 Define ftello64 as an alias.
18324 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18325 Define _IO_fgetpos64 and fgetpos64 as aliases.
18326 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18327 Define _IO_fsetpos64 and fsetpos64 as aliases.
18328 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18329 Conditionalize body on this.
18330 * libio/fseeko64.c: Likewise.
18331 * libio/ftello64.c: Likewise.
18332 * libio/iofgetpos64.c: Likewise.
18333 * libio/iofsetpos64.c: Likewise.
18334 * sysdeps/wordsize-64/lockf.c: File removed.
18335 * sysdeps/wordsize-64/lockf64.c: File removed.
18336 * sysdeps/wordsize-64/fseeko.c: File removed.
18337 * sysdeps/wordsize-64/fseeko64.c: File removed.
18338 * sysdeps/wordsize-64/ftello.c: File removed.
18339 * sysdeps/wordsize-64/ftello64.c: File removed.
18340 * sysdeps/wordsize-64/iofgetpos.c: File removed.
18341 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18342 * sysdeps/wordsize-64/iofsetpos.c: File removed.
18343 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18344 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18345 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18346 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18347 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18348 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18349 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18350 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18351 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18352 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18353 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18354
18355 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18356 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18357 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18358 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18359 [defined __arch64__ || defined __sparcv9]
18360 (__OFF_T_MATCHES_OFF64_T): New macro.
18361 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18362 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18363 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18364 (__OFF_T_MATCHES_OFF64_T): New macro.
18365
c5757acd
L
183662012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18367
18368 * stdlib/secure-getenv.c (__secure_getenv): Replace
18369 GLIBC_2_16 with GLIBC_2_17.
18370
3a31811e
L
183712012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18372
18373 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18374 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18375
faa2bccb
DM
183762012-08-03 David S. Miller <davem@davemloft.net>
18377
18378 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18379
85fe1997
JM
183802012-08-03 Joseph Myers <joseph@codesourcery.com>
18381
18382 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18383 Remove.
18384 (__ASSUME_CORRECT_SI_PID): Likewise.
18385 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18386 (__ASSUME_TMPFS_NAME): Likewise.
18387 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18388 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18389 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18390 (HAVE_AUX_SECURE): Make definition unconditional.
18391 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18392 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
18393
4f75b7a0
RM
183942012-08-03 Roland McGrath <roland@hack.frob.com>
18395
18396 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
18397 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
18398 * sysdeps/mach/hurd/eloop-threshold.h: New file.
18399 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18400 __eloop_threshold instead of SYMLOOP_MAX.
18401
18402 * sysdeps/generic/eloop-threshold.h: New file.
18403 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18404 of MAXSYMLINKS.
18405 * elf/chroot_canon.c (chroot_canon): Likewise.
18406
7aab07e4
JM
184072012-08-03 Joseph Myers <joseph@codesourcery.com>
18408
18409 [BZ #13717]
18410 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18411 Change to 2.6.0 everywhere.
18412 * sysdeps/unix/sysv/linux/configure: Regenerated.
18413 * sysdeps/unix/sysv/linux/kernel-features.h
18414 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
18415 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
18416 kernel versions.
18417 (__ASSUME_POSIX_TIMERS): Define unconditionally.
18418 (__ASSUME_FUTEX_REQUEUE): Remove.
18419 (__ASSUME_STATFS64): Define unconditionally.
18420 (__ASSUME_AT_SECURE): Likewise.
18421 (__ASSUME_CORRECT_SI_PID): Likewise.
18422 (__ASSUME_TGKILL): Define without depending on kernel version for
18423 i386.
18424 (__ASSUME_UTIMES): Likewise.
18425 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18426 kernel version.
18427 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18428 (__ASSUME_TMPFS_NAME): Likewise.
18429 * README: Update reference to Linux kernel versions.
18430
b67e9372
MP
184312012-08-02 Marek Polacek <polacek@redhat.com>
18432
1f529f7d 18433 [BZ# 14150]
b67e9372
MP
18434 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
18435 libc_cv_asm_type_prefix with %.
18436 * configure: Regenerated.
d2441631
RM
18437 * include/libc-symbols.h: Remove comment about
18438 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
18439 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18440 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18441 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18442 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18443 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18444 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18445 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18446 * elf/tst-unique2mod1.c: Likewise.
18447 * elf/tst-unique1mod2.c: Likewise.
18448 * elf/tst-unique1mod1.c: Likewise.
18449 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18450 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18451 Replace ASM_TYPE_DIRECTIVE with .type.
18452 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18453 * sysdeps/i386/sysdep.h: Likewise.
18454 * sysdeps/x86_64/sysdep.h: Likewise.
18455 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
18456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18457 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 18458 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
18459 * sysdeps/powerpc/powerpc32/sysdep.h:
18460 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
18461 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18462 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18463 * sysdeps/i386/fpu/e_powf.S: Likewise.
18464 * sysdeps/i386/fpu/e_expl.S: Likewise.
18465 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18466 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18467 * sysdeps/i386/fpu/e_pow.S: Likewise.
18468 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18469 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18470 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18471 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18472 * sysdeps/i386/fpu/e_log2.S: Likewise.
18473 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18474 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18475 * sysdeps/i386/fpu/e_powl.S: Likewise.
18476 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18477 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18478 * sysdeps/i386/fpu/e_logl.S: Likewise.
18479 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18480 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18481 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18482 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18483 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18484 * sysdeps/i386/fpu/e_log.S: Likewise.
18485 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18486 * sysdeps/i386/fpu/e_logf.S: Likewise.
18487 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18488 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18489 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18490 * sysdeps/i386/fpu/e_log10.S: Likewise.
18491 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18492 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18493 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18494 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18495 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18496 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18497 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18498 * sysdeps/i386/i686/strtok.S: Likewise.
18499 * sysdeps/i386/i386-mcount.S: Likewise.
18500 * sysdeps/i386/strtok.S: Likewise.
18501 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18502 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18503 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18504 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18505 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18506 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18507 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18508 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18509 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18510 * sysdeps/x86_64/_mcount.S: Likewise.
18511 * sysdeps/x86_64/strtok.S: Likewise.
18512 * sysdeps/sh/_mcount.S: Likewise.
18513
2747bf9a
RM
185142012-08-01 Roland McGrath <roland@hack.frob.com>
18515
18516 * libio/iofopen.c: Include <fcntl.h>.
18517 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18518 (_IO_fopen64, fopen64): Define as aliases.
18519 * libio/iofopen64.c: Include <fcntl.h>.
18520 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18521 Conditionalize body on this.
18522 * sysdeps/wordsize-64/iofopen.c: File removed.
18523 * sysdeps/wordsize-64/iofopen64.c: File removed.
18524
3fb791b8
MP
185252012-08-01 Marek Polacek <polacek@redhat.com>
18526
18527 * libc/Makeconfig: Use elf in place of binfmt-subdir.
18528 Use dlfcn directly instead of a variable.
18529 (binfmt-subdir): Do not define.
18530 (dlfcn): Likewise.
18531
a9f1039f
JM
185322012-08-01 Joseph Myers <joseph@codesourcery.com>
18533
23bddc06
JM
18534 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18535 Remove all definitions.
18536 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18537 <kernel-features.h>.
18538 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18539 (miss_F_GETOWN_EX): Remove all definitions.
18540 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18541 macro definition.
18542 [!__ASSUME_FCNTL64]: Remove conditional code.
18543 [__ASSUME_FCNTL64]: Make code unconditional.
18544 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18545 <kernel-features.h>.
18546 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18547 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18548 (lockf64) [__NR_fcntl64]: Make code unconditional.
18549 (lockf64) [__ASSUME_FCNTL64]: Likewise.
18550
a9f1039f
JM
18551 * sysdeps/unix/sysv/linux/kernel-features.h
18552 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18553 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18554 Make code unconditional.
18555 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18556 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18557 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18558 [__NR_vfork]: Make code unconditional.
18559 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18560 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18561 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18562 [__NR_vfork]: Make code unconditional.
18563 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18564 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18565
09c0ee5f
RM
185662012-08-01 Roland McGrath <roland@hack.frob.com>
18567
48aec5b9
RM
18568 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18569 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18570
cd97c966
RM
18571 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18572 Define mkstemp64 as an alias.
3f55550c
RM
18573 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18574 Define mkstemps64 as an alias.
cd97c966
RM
18575 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18576 Define mkostemp64 as an alias.
b8625cfc
RM
18577 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18578 Define mkostemps64 as an alias.
cd97c966
RM
18579 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18580 Conditionalize body on this.
18581 * misc/mkostemp64.c: Likewise.
b8625cfc 18582 * misc/mkostemps64.c: Likewise.
3f55550c 18583 * misc/mkstemps64.c: Likewise.
cd97c966
RM
18584 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18585 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18586 * sysdeps/wordsize-64/mkostemp.c: File removed.
18587 * sysdeps/wordsize-64/mkstemp.c: File removed.
18588 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18589 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18590 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18591 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18592
09c0ee5f
RM
18593 [BZ #14138]
18594 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18595 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18596 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18597 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18598
18599 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18600 compat_symbol macros from <shlib-compat.h> rather than the underlying
18601 default_symbol_version and symbol_version macros, so that DEFAULT
18602 lines in shlib-versions are respected.
18603 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18604
7e66ee51
FW
186052012-08-01 Florian Weimer <fweimer@redhat.com>
18606
18607 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18608 Declare with warn_unused_result.
18609 (setgid, setregid, setegid, setresgid): Likewise.
18610 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18611 Likewise.
18612 * WUR-REPORT: Remove set*id functions.
18613
d2a54255
PT
186142012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18615
18616 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18617
7ecdb005
RM
186182012-07-31 Roland McGrath <roland@hack.frob.com>
18619
b4180a5e 18620 [BZ #10191]
789bd351
RM
18621 * include/sys/socket.h (__libc_accept, __libc_accept4):
18622 Add attribute_hidden.
18623 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18624
40ce302d
RM
18625 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18626 use of PTR_MANGLE.
18627 * inet/getnetgrent_r.c (setup): Likewise.
18628
7ecdb005
RM
18629 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18630
e2eabb2c
DM
186312012-07-31 David S. Miller <davem@davemloft.net>
18632
18633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18634
d0419dbf
JM
186352012-07-31 Joseph Myers <joseph@codesourcery.com>
18636
18637 [BZ #13629]
18638 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18639 value between 1.0 and 2.0 and smaller part has absolute value less
18640 than 1.0.
18641 * math/s_clog10.c (__clog10): Likewise.
18642 * math/s_clog10f.c (__clog10f): Likewise.
18643 * math/s_clog10l.c (__clog10l): Likewise.
18644 * math/s_clogf.c (__clogf): Likewise.
18645 * math/s_clogl.c (__clogl): Likewise.
18646 * math/libm-test.inc (clog_test): Add more tests.
18647 (clog10_test): Likewise.
18648 * sysdeps/i386/fpu/libm-test-ulps: Update.
18649 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18650
2bc13872
FW
186512012-07-31 Florian Weimer <fweimer@redhat.com>
18652
18653 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18654 Exit with zero in case no suitable GID is found, and write a
18655 message to standard error.
18656
bea9b193
RM
186572012-07-30 Roland McGrath <roland@hack.frob.com>
18658
18659 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18660 rather than to 1.
18661 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18662 (MAXPATHLEN): Removed.
18663 (NOGROUP, NODEV): New macros.
18664 (setbit, clrbit, isset, isclr): New macros.
18665 (howmany, roundup, powerof2): New macros.
18666 (DEV_BSIZE): New macro.
18667
18668 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18669 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18670
18671 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18672 definition on [!__NO_LONG_DOUBLE_MATH].
18673
18674 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18675 PTR_MANGLE and PTR_DEMANGLE.
18676
18677 * socket/accept4.c (accept4): Rename to __libc_accept4.
18678 Define accept4 as a weak alias.
18679
18680 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18681 on [_DIRENT_HAVE_D_TYPE].
18682 * io/ftw.c (ftw_dir): Likewise.
18683
18684 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18685
18686 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18687
18688 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18689 Use the BSD numbers rather than the arbitrary ones we had.
18690 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18691 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18692 (SIGXCPU, SIGXFSZ): New macros.
18693 (_NSIG): Now 32.
18694
18695 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18696 initializer on [_LIBC_REENTRANT].
18697
18698 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18699 definitions inside [_POSIX_MAPPED_FILES].
18700
18701 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18702
18703 * dirent/opendir.c: Include <fcntl.h>.
18704
18705 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18706 (__libc_getspecific): Likewise.
18707 (__libc_key_create): Likewise.
18708
18709 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18710 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18711 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18712 (tmpfile64): Define as alias.
18713 * sysdeps/wordsize-64/tmpfile.c: File removed.
18714 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18715 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18716 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18717
18718 * stdio-common/vfscanf.c: Include <stdbool.h>.
18719 * nss/makedb.c: Likewise.
18720 * stdio-common/_i18n_number.h: Likewise.
18721 * argp/argp-help.c: Likewise.
18722 * posix/wordexp.c: Likewise.
18723 * sysdeps/posix/spawni.c: Likewise.
18724 * nss/nss_files/files-initgroups.c: Likewise.
18725 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18726 * nss/nss_files/files-initgroups.c: Likewise.
18727 * nss/nss_db/db-netgrp.c: Likewise.
18728 * nss/nss_db/db-initgroups.c: Likewise.
18729 * io/fchmodat.c: Include <sys/stat.h>.
18730
18731 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18732 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18733
18734 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18735 [HAVE_MMAP].
18736
18737 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18738 Add multiple inclusion protection.
18739
e5abc686
DM
187402012-07-27 David S. Miller <davem@davemloft.net>
18741
18742 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18743
815e6fa3
GB
187442012-07-27 Gary Benson <gbenson@redhat.com>
18745
18746 [BZ #14298]
18747 * elf/rtld.c: Include <stap-probe.h>.
18748 (dl_main): Added static probes "init_start" and "init_complete".
18749 * elf/dl-load.c: Include <stap-probe.h>.
18750 (lose): Take new parameter "nsid".
18751 Added static probe "map_failed".
18752 (_dl_map_object_from_fd): Pass namespace id to lose.
18753 Added static probe "map_start".
18754 (open_verify): Pass namespace id to lose.
18755 * elf/dl-open.c: Include <stap-probe.h>.
18756 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18757 and "reloc_complete".
18758 * elf/dl-close.c: Include <stap-probe.h>.
18759 (_dl_close_worker): Added static probes "unmap_start" and
18760 "unmap_complete".
18761 * elf/rtld-debugger-interface.txt: New file documenting the above.
18762
9f98c16c
RM
187632012-07-26 Roland McGrath <roland@hack.frob.com>
18764
18765 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18766 rather than a string variable.
18767 * sunrpc/rpc_main.c (h_output): Likewise.
18768 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18769
f3c22df3
PT
187702012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18771
18772 * inet/check_native.c: New file.
18773
3129cfc6
JM
187742012-07-26 Joseph Myers <joseph@codesourcery.com>
18775
da865e95
JM
18776 [BZ #13629]
18777 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18778 if larger part has absolute value 1.0.
18779 * math/s_clog10.c (__clog10): Likewise.
18780 * math/s_clog10f.c (__clog10f): Likewise.
18781 * math/s_clog10l.c (__clog10l): Likewise.
18782 * math/s_clogf.c (__clogf): Likewise.
18783 * math/s_clogl.c (__clogl): Likewise.
18784 * math/libm-test.inc (clog_test): Add more tests.
18785 (clog10_test): Likewise.
18786 * sysdeps/i386/fpu/libm-test-ulps: Update.
18787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18788
3129cfc6
JM
18789 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18790 (pltexit): Likewise.
18791 (La_regs): Likewise.
18792 (La_retval): Likewise.
18793 (int_retval): Likewise.
18794 Update #error for removed macros to refer only to definitions in
18795 tst-audit.h.
18796 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18797 macro.
18798 (pltexit): Likewise.
18799 (La_regs): Likewise.
18800 (La_retval): Likewise.
18801 (int_retval): Likewise.
18802 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18803 macro.
18804 (pltexit): Likewise.
18805 (La_regs): Likewise.
18806 (La_retval): Likewise.
18807 (int_retval): Likewise.
18808 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18809 macro.
18810 (pltexit): Likewise.
18811 (La_regs): Likewise.
18812 (La_retval): Likewise.
18813 (int_retval): Likewise.
18814 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18815 macro.
18816 (pltexit): Likewise.
18817 (La_regs): Likewise.
18818 (La_retval): Likewise.
18819 (int_retval): Likewise.
18820 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18821 macro.
18822 (pltexit): Likewise.
18823 (La_regs): Likewise.
18824 (La_retval): Likewise.
18825 (int_retval): Likewise.
18826 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18827 macro.
18828 (pltexit): Likewise.
18829 (La_regs): Likewise.
18830 (La_retval): Likewise.
18831 (int_retval): Likewise.
18832 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18833 macro definitions in tst-audit.h.
18834 * sysdeps/i386/tst-audit.h: New file.
18835 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18836 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18837 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18838 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18839 * sysdeps/sh/tst-audit.h: Likewise.
18840 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18841 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18842 * sysdeps/x86_64/tst-audit.h: Likewise.
18843
bfc07087
AJ
188442012-07-26 Andreas Jaeger <aj@suse.de>
18845
b1b2aaf8
AJ
18846 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18847 ptrace.
18848
18849 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18850 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18851 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18852 PTRACE_O_MASK.
18853 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18854 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18855 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18856
bfc07087
AJ
18857 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18858 value.
18859
18860 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18861 _sigsys.
18862 (si_call_addr, si_syscall, si_arch): Define new macro.
18863 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18864 _sigsys.
18865 (si_call_addr, si_syscall, si_arch): Define new marcro.
18866 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18867 _sigsys.
18868 (si_call_addr, si_syscall, si_arch): Define new macro.
18869 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18870 _sigsys.
18871 (si_call_addr, si_syscall, si_arch): Define new macro.
18872
89b4b02f
JM
188732012-07-25 Joseph Myers <joseph@codesourcery.com>
18874
18875 [BZ #13717]
18876 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18877 Change to 2.4.21 where previously 2.4.1.
18878 * sysdeps/unix/sysv/linux/configure: Regenerated.
18879 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18880 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18881 Linux kernel version.
18882 (__ASSUME_STD_AUXV): Remove.
18883 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18884 kernel version.
18885 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18886 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18887 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18888 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18889 (__ASSUME_NETLINK_SUPPORT): Likewise.
18890 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18891 (__no_netlink_support): Remove conditional definition.
18892 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18893 Remove.
18894 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18895 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18896 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18897 (if_nameindex_ioctl): Remove.
18898 (if_nameindex_netlink): Do not handle __no_netlink_support.
18899 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18900 code.
18901 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18902 Remove conditional code.
18903 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18904 code.
18905 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18906 unconditional.
18907 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18908 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18909 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18910 Remove.
18911 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18912 [!__ASSUME_STD_AUXV]: Remove conditional code.
18913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18914 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18915 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18917 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18918 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18919 code.
18920 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18921 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18922 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18923 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18924 conditional code.
18925 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18927 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18928 code.
18929 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18930 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18931 conditional code.
18932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18933 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18934 code unconditional.
18935 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18936 conditional code.
18937 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18938 unconditional.
18939 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18940 conditional code.
18941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18942 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18943 unconditional.
18944 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18945 conditional code.
18946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18947 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18948 code unconditional.
18949 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18950 conditional code.
18951 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18952 unconditional.
18953 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18954 conditional code.
18955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18956 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18957 code unconditional.
18958 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18959 conditional code.
18960 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18961 unconditional.
18962 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18963 conditional code.
18964
842a39cd
AS
189652012-07-25 Andreas Schwab <schwab@linux-m68k.org>
18966
18967 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
18968 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
18969 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
18970 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
18971 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
18972 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
18973 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
18974 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
18975 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
18976 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
18977 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
18978 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
18979 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
18980 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
18981 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
18982 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
18983 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
18984 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
18985 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
18986 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
18987 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
18988 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
18989 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
18990
84b3fd84
FW
189912012-07-25 Florian Weimer <fweimer@redhat.com>
18992
18993 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
18994 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
18995 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
18996 Introduce __libc_secure_getenv.
0c7936d5
FW
18997 * stdlib/Versions (2.17): Add secure_getenv
18998 (GLIBC_PRIVATE): Add __libc_secure_getenv.
18999 * stdlib/secure-getenv.c: Rename __secure_getenv to
19000 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
19001 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
19002 * stdlib/tst-secure-getenv.c: New.
19003 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
19004 * manual/startup.texi (Environment Access): Document
19005 secure_getenv.
84b3fd84
FW
19006 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19007 __libc_secure_getenv.
19008 * inet/ruserpass.c (ruserpass): Likewise.
19009 * malloc/mtrace.c (mtrace): Likewise.
19010 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 19011 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
19012 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19013 * sysdeps/posix/tempname.c: Likewise. Evaluate
19014 HAVE_SECURE_GETENV.
19015 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 19016 __secure_getenv to __libc_secure_getenv.
84b3fd84 19017 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
19018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19019 Likewise.
19020 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19021 Likewise.
19022 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19023 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19024 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19025 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19026 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19027 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 19029
56e49b71
JM
190302012-07-25 Joseph Myers <joseph@codesourcery.com>
19031
19032 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19033 (struct La_i86_retval): Likewise.
19034 (struct La_x86_64_regs): Likewise.
19035 (struct La_x86_64_retval): Likewise.
19036 (struct La_x32_regs): Likewise.
19037 (struct La_x32_retval): Likewise.
19038 (struct La_ppc32_regs): Likewise.
19039 (struct La_ppc32_retval): Likewise.
19040 (struct La_ppc64_regs): Likewise.
19041 (struct La_ppc64_retval): Likewise.
19042 (struct La_sh_regs): Likewise.
19043 (struct La_sh_retval): Likewise.
19044 (struct La_s390_32_regs): Likewise.
19045 (struct La_s390_32_retval): Likewise.
19046 (struct La_s390_64_regs): Likewise.
19047 (struct La_s390_64_retval): Likewise.
19048 (struct La_sparc32_regs): Likewise.
19049 (struct La_sparc32_retval): Likewise.
19050 (struct La_sparc64_regs): Likewise.
19051 (struct La_sparc64_retval): Likewise.
19052 (struct audit_ifaces): Remove architecture-specific pltenter and
19053 pltexit members.
19054 * sysdeps/i386/ldsodefs.h: New file.
19055 * sysdeps/powerpc/ldsodefs.h: Likewise.
19056 * sysdeps/s390/ldsodefs.h: Likewise.
19057 * sysdeps/sh/ldsodefs.h: Likewise.
19058 * sysdeps/sparc/ldsodefs.h: Likewise.
19059 * sysdeps/x86_64/ldsodefs.h: Likewise.
19060
354691b7
MP
190612012-07-25 Marek Polacek <polacek@redhat.com>
19062
19063 [BZ #6808]
19064 * math/libm-test.inc (yn_test): Add another test.
19065 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19066 to ERANGE when the result is +-Inf.
19067 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19068 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19069 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19070 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19071
bf9e2071
JM
190722012-07-24 Joseph Myers <joseph@codesourcery.com>
19073
19074 * conform/data/time.h-data (NULL): Use macro-constant. Require
19075 equal to 0.
19076 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
19077 clock_t.
19078 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
19079
57633811
TS
190802012-07-23 Thomas Schwinge <thomas@codesourcery.com>
19081
19082 * configure.in <sysdeps resolving>: Correct printing
19083 Implies_before.
19084 * configure: Regenerate.
19085
c23c33b0
TS
190862012-07-22 Thomas Schwinge <thomas@codesourcery.com>
19087
19088 * math/w_ilogb.c: Include <limits.h>.
19089 * math/w_ilogbl.c: Likewise.
19090
b5982523
JM
190912012-07-20 Joseph Myers <joseph@codesourcery.com>
19092
19093 * manual/lang.texi (__va_copy): Document primarily as ISO C99
19094 va_copy. Document allowing for unavailable va_copy only as
19095 pre-C99 compatibility.
19096 * manual/string.texi (Copying and Concatenation): Use va_copy
19097 instead of __va_copy in concat example.
19098
ac4ea442
PT
190992012-07-20 Pino Toscano <toscano.pino@tiscali.it>
19100
19101 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19102 (__sendto): Use create_address_port. Initialize APORT and deallocate
19103 it if not null.
19104
f98eafbd
PT
19105 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19106 with O_NOLINK passed to __file_name_lookup.
19107
898c7aab
PT
19108 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19109 with O_NOLINK passed to __file_name_lookup.
19110
0ced335a
PT
19111 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19112 negative N or less than NGIDS.
19113
b3404dbd
PT
19114 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19115 type to string_t. Set ERANGE as errno and return it if NAME is not big
19116 enough. Use memcpy instead of strncpy.
19117
0f48659e
JM
191182012-07-20 Joseph Myers <joseph@codesourcery.com>
19119
19120 * elf/Makefile (check-data): Remove.
19121 (localplt.data): New vpath directive.
19122 ($(objpfx)check-localplt.out): Use localplt.data from vpath
19123 instead of $(check-data).
19124 * scripts/data/localplt-generic.data: Move to ...
19125 * sysdeps/generic/localplt.data: ... here.
19126 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19127 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19128 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19130 ... here.
19131 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19133 ... here.
19134 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19136 ... here.
19137 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19138 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19139 ... here.
19140 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19142 ... here.
19143 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19144 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19145 ... here.
19146
d37cbdaa
AZ
191472012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19148
19149 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19150 PPC32 and PPC64 files.
19151 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19152 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19153
46f85fc2
AK
191542012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19155
19156 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19157 __makecontext_ret to ...
19158 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19159 ... here and call exit if uc_link is NULL. New file.
19160 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19161 __makecontext_ret.S.
19162 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19163 __makecontext_ret to ...
19164 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19165 ... here and call exit if uc_link is NULL. New file.
19166 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19167 __makecontext_ret.S.
19168
08f43f9b
AK
191692012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19170
19171 * elf/elf.h (R_390_IRELATIVE): New definition.
19172 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19173 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
19174 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19175 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19176 (elf_machine_lazy_rel): Likewise.
19177 * sysdeps/s390/dl-irel.h: New file.
19178 * sysdeps/s390/s390-64/memcpy.S: New asm code.
19179 * sysdeps/s390/s390-64/memset.S: New asm code.
19180 * sysdeps/s390/s390-64/memcmp.S: New asm code.
19181 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19182 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19183 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19184 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19185 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19186 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19187 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19188 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19189 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19190 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19191 * sysdeps/s390/s390-32/memcpy.S: New asm code.
19192 * sysdeps/s390/s390-32/memset.S: New asm code.
19193 * sysdeps/s390/s390-32/memcmp.S: New asm code.
19194
3b05db33
MP
191952012-07-17 Marek Polacek <polacek@redhat.com>
19196
19197 [BZ #14349]
19198 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19199 * sysdeps/s390/s390-64/configure.in: Likewise.
19200 * sysdeps/sparc/configure.in: Likewise.
19201 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19202 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19203 * sysdeps/i386/configure.in: Likewise.
19204 * sysdeps/x86_64/configure.in: Likewise.
19205 * sysdeps/sh/configure.in: Likewise.
19206 * sysdeps/s390/s390-32/configure: Regenerated.
19207 * sysdeps/s390/s390-64/configure: Likewise.
19208 * sysdeps/x86_64/configure: Likewise.
19209 * sysdeps/sh/configure: Likewise.
19210 * sysdeps/powerpc/powerpc64/configure: Likewise.
19211 * sysdeps/powerpc/powerpc32/configure: Likewise.
19212 * sysdeps/sparc/configure: Likwise.
19213 * sysdeps/i386/configure: Likewise.
19214
a66877c6
MP
19215 * elf/dl-open.c: Comment fixes.
19216
cfc82fd8
JM
192172012-07-17 Joseph Myers <joseph@codesourcery.com>
19218
bd29910a
JM
19219 * Makefile [CXX] (check-data): Remove.
19220 [CXX] (c++-types.data): New vpath directive.
19221 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19222 vpath. Do not allow for C++ type data being missing.
19223 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19224 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19225 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19226 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19227 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19228 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19229 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19231 ... here.
19232 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19233 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19234 ... here.
19235 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19236 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19237 ... here.
19238 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19239 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19240 ... here.
19241 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19242 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19243 ... here.
19244 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19246 ... here.
19247 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19248 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19249 ... here.
19250 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19252
cfc82fd8
JM
19253 * elf/tls-macros.h (TLS_LE): Move architecture-specific
19254 definitions to architecture-specific files.
19255 (TLS_IE): Likewise.
19256 (TLS_LD): Likewise.
19257 (TLS_GD): Likewise.
19258 * sysdeps/i386/tls-macros.h: New file.
19259 * sysdeps/powerpc/tls-macros.h: Likewise.
19260 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19261 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19262 * sysdeps/sh/tls-macros.h: Likewise.
19263 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19264 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19265 * sysdeps/x86_64/tls-macros.h: Likewise.
19266
f7db3170
TS
192672012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19268
07cbfc23
TS
19269 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19270 zero value for regular exit case.
19271
f7db3170
TS
19272 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19273 (__start_context): Preserve zero value for regular exit case.
19274
dc97c227
TS
192752012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19276 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19277
19278 * manual/setjmp.texi (setcontext): Clarify normal process
19279 termination when uc_link is the null pointer.
19280 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19281 exit call.
19282
d0cd7d02
AS
192832012-07-16 Andreas Schwab <schwab@linux-m68k.org>
19284
19285 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19286 preprocessor. Test for each exception mask separately.
19287
dd318934
AJ
192882012-07-16 Andreas Jaeger <aj@suse.de>
19289
19290 * po/ru.po: Update from translation team.
19291
8048311a
JM
192922012-07-15 Joseph Myers <joseph@codesourcery.com>
19293
19294 * conform/data/string.h-data (NULL): Use macro-constant. Require
19295 equal to 0.
19296 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19297 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19298 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19299 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19300 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19301
b637d46e
AJ
193022012-07-13 Andreas Jaeger <aj@suse.de>
19303
19304 * po/fr.po: Update from translation team.
19305
541428fe
MP
193062012-07-12 Marek Polacek <polacek@redhat.com>
19307
19308 [BZ #14173]
19309 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19310 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19311 loop condition.
19312
ec332e94
JM
193132012-07-12 Joseph Myers <joseph@codesourcery.com>
19314
19315 [BZ #13717]
19316 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19317 Change to 2.4.1 where previously 2.4.0.
19318 * sysdeps/unix/sysv/linux/configure: Regenerated.
19319 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19320 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19321 version.
19322 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19323 (__ASSUME_AT_CLKTCK): Remove.
19324 (__ASSUME_AT_PAGESIZE): Likewise.
19325 (__ASSUME_AT_XID): Likewise.
19326 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19327 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19328 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19329 unconditionally.
19330 (HAVE_AUX_PAGESIZE): Likewise.
19331 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19332 [__ASSUME_AT_CLKTCK]: Make code unconditional.
19333 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19334
7b6e99be
JB
193352012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
19336
19337 [BZ #14307]
19338 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19339 the temporary buffer used to invoke __gethostbyname2_r,
19340 __gethostbyaddr_r and gethostbyname4_r to make room for struct
19341 host_data / struct gaih_addrtuple.
19342 * resolv/nss_dns/dns-host.c (global scope): Move definition of
19343 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19344 header file nss/nsswitch.h.
19345 * nss/nsswitch.h (global scope): Add definition of implementation
19346 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19347 resolv/nss_dns/dns-host.c).
19348
608404eb
AJ
193492012-07-11 Andreas Jaeger <aj@suse.de>
19350
19351 * po/fr.po: Update from translation team.
19352
71220aca
AJ
19353 * po/sv.po: Update from translation team
19354 * po/fr.po: Another update from translation team.
19355
28cfe843
AZ
193562012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19357
19358 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19359 for subnormals or multiply small sinh result by itself.
19360 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19361 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19362
6b90f981
DM
193632012-07-11 David S. Miller <davem@davemloft.net>
19364
19365 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19366
c6825772
AS
193672012-07-10 Andreas Schwab <schwab@linux-m68k.org>
19368
19369 [BZ #14347]
19370 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19371 (INTERNAL_MARK): Shift it here.
19372
7b8e0d49
MP
193732012-07-10 Marek Polacek <polacek@redhat.com>
19374
19375 [BZ #14151]
19376 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
19377 libc_cv_asm_global_directive with .globl.
19378 * configure: Regenerated.
19379 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19380 with .globl.
19381 * sysdeps/i386/configure: Regenerated.
19382 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19383 with .globl.
19384 * sysdeps/x86_64/configure: Regenerated.
19385 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19386 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19387 * elf/tst-unique2mod2.c: Likewise.
19388 * elf/tst-unique2mod1.c: Likewise.
19389 * elf/tst-unique1mod2.c: Likewise.
19390 * elf/tst-unique1mod1.c: Likewise.
19391 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19392 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19393 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19394 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19395 * sysdeps/mach/sysdep.h: Likewise.
19396 * sysdeps/i386/sysdep.h: Likewise.
19397 * sysdeps/i386/i386-mcount.S: Likewise.
19398 * sysdeps/x86_64/_mcount.S: Likewise.
19399 * sysdeps/x86_64/sysdep.h: Likewise.
19400 * sysdeps/sh/_mcount.S: Likewise.
19401 * sysdeps/sh/sysdep.h: Likewise.
19402 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
19403 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
19404 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
19405 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19406 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
19407 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
19408 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
19409 * locale/localeinfo.h: Likewise.
19410 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
19411 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
19412
6c55cda3
RM
194132012-07-09 Roland McGrath <roland@hack.frob.com>
19414
19415 [BZ #14336]
19416 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
19417 system".
19418 * manual/message.texi (The Uniforum approach): Likewise.
19419 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19420 (glibc iconv Implementation): Likewise.
19421
638a572e
JM
194222012-07-09 Joseph Myers <joseph@codesourcery.com>
19423
19424 [BZ #14337]
19425 * math/s_clog.c (__clog): Avoid scaling a value down where that
19426 could result in underflow.
19427 * math/s_clog10.c (__clog10): Likewise.
19428 * math/s_clog10f.c (__clog10f): Likewise.
19429 * math/s_clog10l.c (__clog10l): Likewise.
19430 * math/s_clogf.c (__clogf): Likewise.
19431 * math/s_clogl.c (__clogl): Likewise.
19432 * math/libm-test.inc (clog_test): Add more tests.
19433 (clog10_test): Likewise.
19434 * sysdeps/i386/fpu/libm-test-ulps: Update.
19435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19436
261f4859
AS
194372012-07-06 Andreas Schwab <schwab@linux-m68k.org>
19438
0abaf3e4
AS
19439 [BZ #14283]
19440 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19441 by 7 not 8 to examine high bit of fractional part.
19442
261f4859
AS
19443 [BZ #14042]
19444 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19445 for call to __mcount_internal.
19446 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19447 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19448 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19449
f17ac40d
JM
194502012-07-06 Joseph Myers <joseph@codesourcery.com>
19451
9ad63c23
JM
19452 [BZ #14154]
19453 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19454 approximation for values within 0x1p-13f of an odd multiple of
19455 pi/4.
19456 * math/libm-test.inc (tan_test): Do not allow spurious underflow
19457 exception. Add more tests.
19458 * sysdeps/i386/fpu/libm-test-ulps: Update.
19459
f17ac40d
JM
19460 [BZ #6778]
19461 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19462 inputs and return -1 for them. Do not check for +Inf in case not
19463 reachable for +Inf.
19464 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19465 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19466 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19467 and return -1 for them. Do not check for +Inf in case not
19468 reachable for +Inf.
19469 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19470 define.
19471 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19472 and return -1 for them. Do not check for +Inf in case not
19473 reachable for +Inf.
19474 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
19475 spurious underflow.
19476 * sysdeps/i386/fpu/libm-test-ulps: Update.
19477 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19478
fb21f89b
MF
194792012-07-06 Mike Frysinger <vapier@gentoo.org>
19480
19481 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19482
cdfe2c5e
JM
194832012-07-05 Joseph Myers <joseph@codesourcery.com>
19484
19485 [BZ #14157]
19486 [BZ #14331]
19487 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19488 could result in spurious underflow. Scale down values above
19489 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19490 * math/s_csqrtf.c (__csqrtf): Likewise.
19491 * math/s_csqrtl.c (__csqrtl): Likewise.
19492 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
19493 spurious underflow.
19494 * sysdeps/i386/fpu/libm-test-ulps: Update.
19495 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19496
70d35b67
AS
194972012-07-04 Andreas Schwab <schwab@linux-m68k.org>
19498
704bc459
AS
19499 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19500 xopen-msg.sed.
19501 * catgets/xopen-msg.awk: New file.
19502 * catgets/xopen-msg.sed: Removed.
19503
70d35b67
AS
19504 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19505 po2text.sed.
19506 * intl/po2test.awk: New file.
19507 * intl/po2test.sed: Removed.
19508
ca61cf32
JM
195092012-07-04 Joseph Myers <joseph@codesourcery.com>
19510
19511 [BZ #14328]
19512 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19513 or multiply small sinh result by itself.
19514 * math/s_ctanf.c (__ctanf): Likewise.
19515 * math/s_ctanh.c (__ctanh): Likewise.
19516 * math/s_ctanhf.c (__ctanhf): Likewise.
19517 * math/s_ctanhl.c (__ctanhl): Likewise.
19518 * math/s_ctanl.c (__ctanl): Likewise.
19519 * math/libm-test.inc (ctan_test_tonearest): New function.
19520 (ctan_test_towardzero): Likewise.
19521 (ctan_test_downward): Likewise.
19522 (ctan_test_upward): Likewise.
19523 (ctanh_test_tonearest): Likewise.
19524 (ctanh_test_towardzero): Likewise.
19525 (ctanh_test_downward): Likewise.
19526 (ctanh_test_upward): Likewise.
19527 (main): Call these new functions.
19528 * sysdeps/i386/fpu/libm-test-ulps: Update.
19529 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19530
ca48a46a
MF
195312012-07-03 Mike Frysinger <vapier@gentoo.org>
19532
19533 * .gitignore: Delete /ports entry.
19534
9d63d37d
AJ
195352012-07-03 Andreas Jaeger <aj@suse.de>
19536
19537 * po/bg.po: Update from translation team.
19538 * po/cs.po: Likewise.
19539 * po/de.po: Likewise.
19540 * po/hr.po: Likewise.
19541 * po/nl.pl: Likewise.
19542 * po/pl.po: Likewise.
19543 * po/vi.po: Likewise.
19544
370ca3d2
JM
195452012-07-03 Joseph Myers <joseph@codesourcery.com>
19546
95f5a9a8
JM
19547 * Makeconfig [!+link] (+link-before-libc): New variable.
19548 [!+link] (+link-after-libc): Likewise.
19549 [!+link] (+link-tests): Likewise.
19550 [!+link] (+link): Define in terms of $(+link-before-libc) and
19551 $(+link-after-libc).
19552 [!+link-static] (+link-static-before-libc): New variable.
19553 [!+link-static] (+link-static-after-libc): Likewise.
19554 [!+link-static] (+link-static-tests): Likewise.
19555 [!+link-static] (+link-static): Define in terms of
19556 $(+link-static-before-libc) and $(+link-static-after-libc).
19557 [build-shared] (link-libc-before-gnulib): New variable.
19558 [build-shared] (link-libc-tests): Likewise.
19559 [build-shared] (link-libc): Define in terms of
19560 $(link-libc-before-gnulib).
19561 [!build-shared] (link-libc-tests): New variable.
19562 (link-libc-static-tests): New variable.
19563 [!gnulib] (gnulib-arch): New variable.
19564 [!gnulib] (gnulib-tests): Likewise.
19565 [!gnulib] (static-gnulib-arch): Likewise.
19566 [!gnulib] (static-gnulib-tests): Likewise.
19567 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19568 Define with "=" instead of ":=".
19569 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19570 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19571 * Rules (binaries-all-notests): New variable.
19572 (binaries-all-tests): Likewise.
19573 (binaries-static-notests): Likewise.
19574 (binaries-static-tests): Likewise.
19575 (binaries-all): Define using $(binaries-all-notests) and
19576 $(binaries-all-tests).
19577 (binaries-static): Define using $(binaries-static-notests) and
19578 $(binaries-static-tests).
19579 (binaries-shared-tests): New variable.
19580 (binaries-shared-notests): Likewise.
19581 (binaries-shared): Remove variable.
19582 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19583 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19584 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19585 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19586 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19587 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19588 * elf/Makefile (sln-modules): New variable.
19589 (extra-objs): Add $(sln-modules:=.o).
19590 (ldconfig-modules): Add static-stubs.
19591 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19592 * elf/static-stubs.c: New file.
19593
7a845b2c
JM
19594 [BZ #14283]
19595 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19596 by 7 not 8 to examine high bit of fractional part. Use volatile
19597 variables when splitting into final array of floats if
19598 __FLT_EVAL_METHOD__ != 0.
19599 * math/libm-test.inc (cos_test): Add another test.
19600 (sin_test): Likewise.
19601 * sysdeps/i386/fpu/libm-test-ulps: Update.
19602
e2283f38
JM
19603 [BZ #14273]
19604 * math/libm-test.inc (cosh_test): Add more tests.
19605
370ca3d2
JM
19606 * version.h (RELEASE): Set to "development".
19607 (VERSION): Set to "2.16.90".
19608
ee9247c3
CD
196092012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19610
19611 * NEWS: Update copyright. Remove last-updated date.
19612 Mention math library bug fixes and timezone data changes.
19613 * README: Mention GNU/Hurd, x32, and HPPA support status.
19614
4648c381
TS
196152012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19616
19617 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19618
aac78a43
AJ
196192012-06-27 Andreas Jaeger <aj@suse.de>
19620
19621 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19622
ed3dbfad
AJ
196232012-06-25 Andreas Jaeger <aj@suse.de>
19624
19625 * sysdeps/s390/fpu/libm-test-ulps: Update.
19626
4d0ee855
AS
196272012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19628 Thomas Schwinge <thomas@codesourcery.com>
19629
19630 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19631 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19632 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19633 fanotify_mark.
19634
af1bce34
TS
196352012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19636
a9fa33ba
TS
19637 * sysdeps/mach/start.c: Remove file.
19638 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19639 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19640 * sysdeps/sh/init-first.c: Likewise.
19641
58f902b8
TS
19642 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19643 registers for frame unwinding purposes, add CFI directives.
19644 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19645 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19646 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19647 Likewise.
19648
1518f58b
TS
19649 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19650 __fortify_fail returning.
19651 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19652
db9b5059
TS
19653 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19654 sysdeps/sh/____longjmp_chk.S.
19655 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19656 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19657 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19658 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19659
967705fe
TS
19660 * sysdeps/sh/abort-instr.h: New file.
19661 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19662 process in case exit returns.
19663
a9def8c4
TS
19664 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19665 initialize the GOT register before use.
19666
2a649725
TS
19667 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19668 calculation of ARGC > 4.
19669
af1bce34
TS
19670 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19671 meaningful names to some local labels.
19672
d230f50a
KK
196732012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19674 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19675
19676 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19677 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19678 (__arch_compare_and_exchange_val_16_acq): Likewise.
19679 (__arch_compare_and_exchange_val_32_acq): Likewise.
19680 (atomic_exchange_and_add): Fix gUSA sequence.
19681 (atomic_add): Likewise.
19682 (atomic_add_negative): Likewise.
19683 (atomic_add_zero): Likewise.
19684 (atomic_bit_test_set): Likewise.
19685
0479b305
AS
196862012-06-22 Andreas Schwab <schwab@redhat.com>
19687
19688 [BZ #13579]
19689 * include/link.h (struct link_map): Add l_free_initfini.
19690 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19691 l_initfini.
19692 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19693 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19694 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19695 set.
19696
0e3933b9
CD
196972012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19698
19699 * configure.in: Use AC_LANG_SOURCE.
19700 * configure: Regenerate.
19701
4248b1b1
RM
197022012-06-22 Roland McGrath <roland@hack.frob.com>
19703
19704 * configure.in (libc_cv_localstatedir): New substituted variable.
19705 * configure: Regenerated.
19706 * config.make.in (localstatedir): New variable, substituted from
19707 libc_cv_localstatedir.
19708 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19709 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19710 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19711 * sysdeps/gnu/configure: Regenerated.
19712
006dd861
JL
197132012-06-21 Jeff Law <law@redhat.com>
19714
19715 [BZ #14277]
19716 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19717 free. Simplify list management for _LIBC case.
19718
79662d42
JM
197192012-06-21 Joseph Myers <joseph@codesourcery.com>
19720
b7abb4bf
JM
19721 [BZ #14273]
19722 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19723 Clear sign bit of 64-bit integer value before comparing against
19724 overflow value.
19725
79662d42
JM
19726 * sysdeps/mach/configure: Regenerated.
19727
1f150908
L
197282012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19729
19730 [BZ #14278]
19731 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19732
28363bbf
JL
197332012-06-21 Jeff Law <law@redhat.com>
19734
19735 [BZ #13882]
19736 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19737 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 19738 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
19739 * elf/dl-open.c (dl_open_worker): Likewise.
19740
09615db4
CD
197412012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19742
19743 * scripts/list-sources.sh: Scan PORTS for translations.
19744 * po/libc.pot: Regenerated.
19745
2174c6dd
AJ
197462012-06-21 Andreas Jaeger <aj@suse.de>
19747
19748 [BZ #12194]
19749 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19750 warning.
19751 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19752 * bits/byteswap-16.h (__bswap_16): Likewise.
19753 * bits/byteswap.h (__bswap_constant_16): Likewise.
19754
3ee947b1
L
197552012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19756
19757 [BZ #14117]
a2f34833
L
19758 * sysdeps/i386/fpu_control.h: Removed.
19759 * sysdeps/x86_64/fpu_control.h: Moved to ...
19760 * sysdeps/x86/fpu_control.h: Here.
19761
3ee947b1
L
19762 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19763 (_FPU_SETCW): Likewise.
19764
ed1825f8
L
197652012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19766
25f1282a
L
19767 [BZ #14117]
19768 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19769 * sysdeps/x86/fpu/bits/mathinline.h: This.
19770 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19771
ed1825f8
L
19772 [BZ #14050]
19773 [BZ #14117]
19774 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19775 functions if __x86_64__ is defined.
19776
36d54b74
CLT
197772012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19778
19779 * string/endian.h: Add !__ASSEMBLER__ condition for including
19780 conversion interfaces.
19781
10285c21
JM
197822012-06-15 Joseph Myers <joseph@codesourcery.com>
19783
19784 [BZ #14241]
19785 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19786 of ABS(x) in calculating zero to negative powers other than odd
19787 integers.
19788 * math/libm-test.inc (pow_test): Add more tests.
19789
06c5abbd
AJ
197902012-06-15 Andreas Jaeger <aj@suse.de>
19791
19792 * manual/contrib.texi (Contributors): Update entry of Liubov
19793 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19794 Machado Filho.
19795
a3aeac40
CH
197962012-06-15 Cyril Hrubis <metan@ucw.cz>
19797
19798 * string/string.h: Add __wur to GNU version of strerror_r.
19799
49bdf4c1
L
198002012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19801
19802 [BZ #14229]
19803 * string/Makefile (tests): Add tst-strtok_r.
19804 * string/tst-strtok_r.c: New file.
19805 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19806 RAX_LP/RDX_LP on SAVE_PTR.
19807
834f9b8d
RM
198082012-06-14 Roland McGrath <roland@hack.frob.com>
19809
19810 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19811
75fa1921
JM
198122012-06-14 Joseph Myers <joseph@codesourcery.com>
19813
19814 * libm_test.inc (csqrt_test): Allow more spurious underflow
19815 exceptions.
19816 (j0_test): Likewise.
19817 (j1_test): Likewise.
19818 (y0_test): Likewise.
19819 (y1_test): Likewise.
19820
771766df
CD
198212012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19822
19823 * po/Makefile (libc.pot): Use UTF-8 charset.
19824
ceb9e56b
PP
198252012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19826
19827 [BZ #14210]
19828 Suppress sign-conversion warning from FD_SET.
19829 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19830 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19831 not unsigned long int.
19832 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19833
ddb28975
L
198342012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19835
19836 [BZ #14050]
19837 [BZ #14117]
19838 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19839 __extern_always_inline instead of __extern_inline.
19840 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19841 (__signbit): Likewise.
19842 (__signbitl): Support C++ namespace.
19843 (lrintf): New inline function.
19844 (lrint): Likewise.
19845 (llrintf): Likewise.
19846 (llrint): Likewise.
19847 (fmaxf): Likewise.
19848 (fmax): Likewise.
19849 (fminf): Likewise.
19850 (fmin): Likewise.
19851 (rint): Likewise.
19852 (rintf): Likewise.
19853 (ceil): Likewise.
19854 (ceilf): Likewise.
19855 (floor): Likewise.
19856 (floorf): Likewise.
19857 (nearbyint): Likewise.
19858 (nearbyintf): Likewise.
19859
d7b4fb26
TS
198602012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19861
19862 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19863 non-default versions.
19864
eb55f5c2
RM
198652012-06-11 Roland McGrath <roland@hack.frob.com>
19866
19867 [BZ #14218]
19868 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19869
366af02c
TS
198702012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19871
99ff6e5c
TS
19872 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19873 (FE_UPWARD, FE_DOWNWARD): Don't define.
19874 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19875 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19876
366af02c
TS
19877 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19878 reading it.
19879 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19880 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19881
793ea851
KK
198822012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19883
19884 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19885 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19886 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19887 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19888
a728a38f
L
198892012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19890
19891 [BZ #14117]
c08010c7
L
19892 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19893 * sysdeps/i386/fpu/Implies: New file.
19894 * sysdeps/x86_64/fpu/Implies: Likewise.
19895 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19896 * sysdeps/x86/fpu/bits/fenv.h: This.
19897
a728a38f
L
19898 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19899 __SSE_MATH__.
19900
6e230d11
SP
199012012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19902
19903 [BZ #14134]
19904 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19905 character 0xffff that matches the last element of the
19906 conversion table.
19907
1b671feb
AZ
199082012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19909
19910 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19911 fmodl commit.
19912
6043738b
AZ
199132012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19914
19915 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19916 values higher than 25.6283.
19917
34ae0b32
AZ
199182012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19919
19920 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19921 subnormal exponent extraction and add some __builtin_expect.
19922 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19923 Fix for subnormal mantissa calculation.
19924
1214ec8f
MF
199252012-06-04 Mike Frysinger <vapier@gentoo.org>
19926
19927 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19928 cpu2 is -1 and errno is not ENOSYS.
19929
f3d1f93c
L
199302012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19931
19932 [BZ #14117]
0e4a3cd7
L
19933 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19934 * sysdeps/x86/bits/string.h: This.
19935 * sysdeps/x86_64/bits/string.h: Removed.
19936
6704c645
L
19937 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19938 if not compiling for x86-64, but compiling for >= i486.
19939
48495318
L
19940 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19941 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19942
14adcbfc
L
19943 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19944 New macro from Linux kernel 3.4.0.
19945 (FP_XSTATE_MAGIC2): Likewise.
19946 (FP_XSTATE_MAGIC2_SIZE): Likewise.
19947 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19948 (struct _fpx_sw_bytes): New struct.
19949 (struct _xsave_hdr): Likewise.
19950 (struct _ymmh_state): Likewise.
19951 (struct _xstate): Likewise.
19952
68e408ab
L
19953 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19954 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19955 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19956 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19957 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19958 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19959
f3d1f93c
L
19960 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19961 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19962 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
19963 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
19964 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
19965 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
19966
d9dc34cd
TMQMF
199672012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
19968
19969 [BZ #13743]
19970 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
19971 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
19972 (sysdep_headers): Include sys/platform/ppc.h.
19973 * sysdeps/powerpc/test-gettimebase.c: Test for
19974 __ppc_get_timebase() to catch future ISA opcode/insn changes.
19975 * manual/Makefile (appendices): Include platform.texi.
19976 * manual/contrib.texi (Contributors): Update @node pointers.
19977 * manual/maint.texi (Maintenance): Likewise.
19978 (Platform): New node.
19979 * manual/platform.texi: New file. Document the new features.
19980
4af3879c
SP
199812012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19982 Jakub Jelinek <jakub@redhat.com>
19983
19984 [BZ #14188]
19985 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
19986 where __builtin_expect is unavailable.
19987
2fd6ff13
DM
199882012-06-03 David S. Miller <davem@davemloft.net>
19989
19990 * stdlib/longlong.h: Updated from GCC.
19991
173f7220
AS
199922012-06-02 Andreas Schwab <schwab@linux-m68k.org>
19993
19994 [BZ #14042]
19995 * sysdeps/powerpc/powerpc32/mcount.c: New file.
19996 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
19997 __mcount_internal.
19998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
19999 (GLIBC_2.16): Likewise.
20000
f34a1c6f
L
200012012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20002
20003 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20004
88a4576f
JM
200052012-06-01 Joseph Myers <joseph@codesourcery.com>
20006
ea32bcdd
JM
20007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20008 (default-abi): New variable.
20009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20010 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20011 variable.
20012 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20013 Likewise.
20014 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20015 Likewise.
20016 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20017 Likewise.
20018
88a4576f
JM
20019 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20020 definition. Document in comment.
20021
402fe938
DM
200222012-06-01 David S. Miller <davem@davemloft.net>
20023
20024 * stdlib/longlong.h: Updated from GCC.
20025
3553723f
L
200262012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20027
20028 [BZ #14117]
3bd872c4
L
20029 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20030 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20031 sys/debugreg.h sys/io.h here.
20032 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20033 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20034 sys/io.h.
20035 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20036 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20037 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20038 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20039 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20040 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20041
3553723f
L
20042 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20043 Define only if __x86_64__ is defined.
20044
4842e4fe
JM
200452012-06-01 Joseph Myers <joseph@codesourcery.com>
20046
c5bfe3d5
JM
20047 [BZ #14048]
20048 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20049 Use int64_t for variable i.
20050 * math/libm-test.inc (fmod_test): Add more tests.
20051
4842e4fe
JM
20052 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20053 z computation is not scheduled after fetestexcept.
20054 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20055 Use math_force_eval instead of asm to ensure calculation scheduled
20056 before exception test.
20057 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20058 Ensure a1 + u.d computation is not scheduled after fetestexcept.
20059
efb73488
AJ
200602012-06-01 Aurelien Jarno <aurelien@aurel32.net>
20061
20062 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20063 computation is not scheduled after fetestexcept.
20064
29bcce7c
L
200652012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20066
20067 [BZ #14117]
20068 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20069 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20070
73a68f94
AZ
200712012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20072
20073 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20074 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20075
67b6df78
L
200762012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20077
edf2933a 20078 [BZ #14117]
ebc64a18
L
20079 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20080 <bits/wordsize.h>.
20081 (__WCHAR_MIN): Support __WORDSIZE == 64.
20082 (__WCHAR_MAX): Likewise.
20083
edf2933a
L
20084 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20085 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20086
57c6cf40
L
20087 [BZ #14183]
20088 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20089 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20090
67b6df78 20091 [BZ #14117]
8eb6281e
L
20092 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20093 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20094
aac639f4
L
20095 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20096 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20097
67b6df78
L
20098 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20099 Defined to 1 if __x86_64__ isn't defined.
20100 (_STAT_VER_LINUX_OLD): New.
20101 (st_atime): Remove duplicate.
20102 (st_mtime): Likewise.
20103 (st_ctime): Likewise.
20104
1c2cfe81
DM
201052012-05-31 David S. Miller <davem@davemloft.net>
20106
20107 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20108 entries.
20109
5be8418c
AS
201102012-06-01 Andreas Schwab <schwab@linux-m68k.org>
20111
e7725326
AS
20112 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20113 gen-libm-test.pl.
20114
5be8418c
AS
20115 [BZ #14132]
20116 * elf/dl-reloc.c: Include <_itoa.h>.
20117 (_dl_reloc_bad_type): Remove use of INTUSE.
20118 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20119 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20120 * stdio-common/psiginfo.c (psiginfo): Likewise.
20121 * stdio-common/psignal.c (psignal): Likewise.
20122 * string/strsignal.c (strsignal): Likewise.
20123 * include/signal.h (_sys_siglist): Declare hidden proto.
20124 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
20125 INTVARDEF with libc_hidden_data_def.
20126 * stdio-common/itoa-udigits.c: Likewise.
20127 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20128 (_itoa_lower_digits_internal): Remove declaration.
20129 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20130 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20131 (_sys_sigabbrev_internal): Remove aliases.
20132 (_sys_siglist): Define hidden alias.
20133
507352f1
MT
201342012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
20135
20136 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20137 bits/sysctl.h.
20138
42bbb1c3
L
201392012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20140
20141 [BZ #14117]
6bd784b6
L
20142 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20143 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20144
8bca20f0
L
20145 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20146 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20147 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20148 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20149 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20150 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20151
f9e890a9
L
20152 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20153 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20154 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20155
471101a1
L
20156 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20157 with __addr.
20158 (insw): Likewise.
20159 (insl): Likewise.
20160 (outsb): Likewise.
20161 (outsw): Likewise.
20162 (outsl): Likewise.
20163
6451c862
L
20164 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20165 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20166 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20167
a254b8c9
L
20168 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20169 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20170 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20171 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20172 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20173 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20174
b8dfdd92
L
20175 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20176 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20177
578cd270
L
20178 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20179 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20180
de662f5f
L
20181 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20182 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20183 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20184
25653439
L
20185 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20186 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20187 to ...
20188 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20189
6bad24a0
L
20190 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20191 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20192 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20193
42bbb1c3
L
20194 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20195 for x86-64.
20196 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20197
2d10d547
JM
201982012-05-31 Joseph Myers <joseph@codesourcery.com>
20199
20200 * math/math.h (M_El): Use two more decimal places.
20201 (M_LOG2El): Likewise.
20202 (M_LOG10El): Likewise.
20203 (M_LN2l): Likewise.
20204 (M_LN10l): Likewise.
20205 (M_PIl): Likewise.
20206 (M_PI_2l): Likewise.
20207 (M_PI_4l): Likewise.
20208 (M_1_PIl): Likewise.
20209 (M_2_PIl): Likewise.
20210 (M_2_SQRTPIl): Likewise.
20211 (M_SQRT2l): Likewise.
20212 (M_SQRT1_2l): Likewise.
20213
f230c29b
DM
202142012-05-31 David S. Miller <davem@davemloft.net>
20215
20216 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20217 values between float registers.
20218 * sysdeps/sparc/sparc64/memset.S: Likewise.
20219 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20220
fed806c3
MF
202212012-05-31 Mike Frysinger <vapier@gentoo.org>
20222
20223 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20224 -D_FORTIFY_SOURCE=1.
20225 (CPPFLAGS-tst-longjmp_chk.c): Define.
20226 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20227 (CPPFLAGS-tst-longjmp_chk2.c): Define.
20228 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20229 CFLAGS-tst-wchar-h.c.
20230
30917259
MP
202312012-05-31 Marek Polacek <polacek@redhat.com>
20232
20233 [BZ #14132]
20234 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20235 __endmntent_internal): Remove declaration.
20236 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20237 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20238 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20239
1c58d5dc
DM
202402012-05-30 David S. Miller <davem@davemloft.net>
20241
20242 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20243 (___Q_simulate_exceptions): Use real FP ops rather than writing
20244 into the %fsr.
20245 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20246 Likewise.
20247
7dc00e0d
L
202482012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20249
20250 [BZ #14117]
0bd53985
L
20251 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20252 * sysdeps/x86/bits/xtitypes.h: This.
20253
3a257e66
L
20254 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20255 * sysdeps/x86/bits/wordsize.h: This.
20256
62f62904
L
20257 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20258 * sysdeps/x86/bits/huge_vall.h: This.
20259
404fe9d9
L
20260 * sysdeps/i386/bits/select.h: Removed.
20261 * sysdeps/x86_64/bits/select.h: Renamed to ...
20262 * sysdeps/x86/bits/select.h: This.
20263
d48d0446
L
20264 * sysdeps/i386/bits/setjmp.h: Removed.
20265 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20266 * sysdeps/x86/bits/setjmp.h: This.
20267
7dc00e0d
L
20268 * sysdeps/i386/bits/mathdef.h: Removed.
20269 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20270 * sysdeps/x86/bits/mathdef.h: This.
20271
03277f8f
AS
202722012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20273
20274 [BZ #14132]
20275 * include/sys/socket.h (__connect_internal)
20276 (__libc_sa_len_internal): Remove declaration.
20277 (__connect, __libc_sa_len): Declare hidden_proto.
20278 (SA_LEN): Remove use of INTUSE.
20279 * socket/connect.c: Add libc_hidden_def.
20280 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20281 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20282 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20283 alias.
20284 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20285 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20286 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20287 of adding _internal alias.
20288
13764867
L
202892012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20290
20291 [BZ #14117]
6bd97696
L
20292 * sysdeps/i386/bits/link.h: Removed.
20293 * sysdeps/i386/bits/linkmap.h: Likewise.
20294 * sysdeps/x86_64/bits/link.h: Renamed to ...
20295 * sysdeps/x86/bits/link.h: This.
20296 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20297 * sysdeps/x86/bits/linkmap.h: This.
20298
f726f0bb
L
20299 * sysdeps/i386/bits/endian.h: Removed.
20300 * sysdeps/x86_64/bits/endian.h: Renamed to ...
20301 * sysdeps/x86/bits/endian.h: This.
20302
13764867
L
20303 * sysdeps/i386/bits/byteswap.h: Removed.
20304 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20305 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20306 * sysdeps/x86/bits/byteswap.h: This.
20307 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20308 * sysdeps/x86/bits/byteswap-16.h: This.
20309 * sysdeps/i386/Implies: Add x86.
20310 * sysdeps/x86_64/Implies: Likewise.
20311
ae251b0b
DM
203122012-05-30 David S. Miller <davem@davemloft.net>
20313
20314 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20315 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20316 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20317 (FP_TRAPPING_EXCEPTIONS): Define.
20318 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20319 (FP_TRAPPING_EXCEPTIONS): Define.
20320 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20321 subnormals only when inexact has been signalled or underflow
20322 exceptions are enabled.
20323 (_FP_PACK_CANONICAL): Likewise.
20324
d5c90867
L
203252012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20326
20327 [BZ #14183]
20328 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20329 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20330
63f1549e
RH
203312012-05-30 Richard Henderson <rth@twiddle.net>
20332
8d8f2279
RH
20333 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20334 with #ifndef NOT_IN_libc.
20335
63f1549e
RH
20336 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
20337 marked to avoid plt entry.
20338
0ab0291b
L
203392012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20340
20341 [BZ #14112]
20342 * Makeconfig (default-abi): New macro.
20343 (abi-includes): Likewise.
20344 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
20345 $(abi-$(default-abi)-lib-soname) for soname if defined.
20346 ($(common-objpfx)gnu/lib-names.stmp): Generate from
20347 abi-variants.
20348 * Makefile (installed-stubs): Likewise.
20349 * include/stubs-biarch.h: Removed.
20350 * scripts/lib-names.awk: Only handle one library at a time.
20351 * scripts/soversions.awk: Remove WORDSIZE support.
20352 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20353 entries.
20354 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20355 Removed.
20356 (syscall-list-default-condition): Likewise.
20357 (syscall-list-default-condition): Likewise.
20358 (syscall-list-includes): Likewise.
20359 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20360 syscall-list-* with abi-*. Handle undefined abi-variants.
20361 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20362 * sysdeps/unix/sysv/linux/i386/Implies: New file.
20363 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20364 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20365 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20366 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20367 Removed.
20368 (syscall-list-32-options): Likewise.
20369 (syscall-list-32-condition): Likewise.
20370 (syscall-list-64-options): Likewise.
20371 (syscall-list-64-condition): Likewise.
20372 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20373 macro.
20374 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20375 Renamed to ...
20376 (abi-*): This.
20377 (abi-64-ld-soname): New macro.
20378 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20379 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20380 Renamed to ...
20381 (abi-*): This.
20382 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20383 * sysdeps/x86_64/x32/shlib-versions: Likewise.
20384
4da0431d
JM
203852012-05-30 Joseph Myers <joseph@codesourcery.com>
20386
3a85279c
JM
20387 * sysdeps/unix/sysv/linux/kernel-features.h
20388 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20389 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20390 include <kernel-features.h>.
20391 [!__NR_ftruncate64]: Remove conditional code.
20392 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20393 [__NR_ftruncate64]: Make code unconditional.
20394 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20395 * sysdeps/unix/sysv/linux/truncate64.c: Do not
20396 include <kernel-features.h>.
20397 [!__NR_ftruncate64]: Remove conditional code.
20398 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20399 [__NR_ftruncate64]: Make code unconditional.
20400 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20401 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
20402 include <kernel-features.h>.
20403 [!__NR_ftruncate64]: Remove conditional code.
20404 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20405 [__NR_ftruncate64]: Make code unconditional.
20406 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20408 include <kernel-features.h>.
20409 [!__NR_ftruncate64]: Remove conditional code.
20410 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20411 [__NR_ftruncate64]: Make code unconditional.
20412 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20413
4da0431d
JM
20414 * configure.in (libc_cv_fpie): Weaken to a compile test using
20415 LIBC_TRY_CC_OPTION.
20416 * configure: Regenerated.
20417
11ef492c
AK
204182012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20419
20420 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
20421 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20423 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20424 Refreshed.
20425 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20426 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20431 Refreshed.
20432
d66ef399
DM
204332012-05-27 David S. Miller <davem@davemloft.net>
20434
20435 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20436 (___Q_zero): New.
20437 (__Q_simulate_exceptions): Return void. Change to simulate
20438 exceptions by writing into the %fsr.
20439 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20440 (__Qp_handle_exceptions): Likewise.
20441 (numbers): Delete.
20442 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20443 __Qp_handle_exceptions.
20444 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20445 __Qp_handle_exceptions.
20446 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20447 as unused and give dummy FP_RND_NEAREST initializer.
20448 (FP_INHIBIT_RESULTS): Define.
20449 (___Q_simulate_exceptions): Update declaration.
20450 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20451 formatting.
20452 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20453 as unused and give dummy FP_RND_NEAREST initializer.
20454 (__Qp_handle_exceptions): Update declaration.
20455 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20456 formatting.
20457
04fb54b5
TS
204582012-05-27 Thomas Schwinge <thomas@codesourcery.com>
20459
20460 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20461 the temporary FPU control word.
20462 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20463 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20464 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20465 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20466 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20467 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20468 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20469 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20470 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20471 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20472 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20473
3f99608f
KK
204742012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20475
20476 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20477 fields.
20478
65a4de4e
CLT
204792012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
20480
20481 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20482 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20483 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20484 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20485 Likewise.
20486 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20487 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20488 Likewise.
20489
15749d40
UD
204902012-05-27 Ulrich Drepper <drepper@gmail.com>
20491
20492 * po/h.po: Update from translation team.
20493
25dbcb27
AS
204942012-05-26 Andreas Schwab <schwab@linux-m68k.org>
20495
3d3f8e55
AS
20496 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20497
25dbcb27
AS
20498 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20499 handling of denormals.
20500 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20501 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20502 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20503 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20504 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20505 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20506 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20507 Likewise.
20508
7ad47a80 205092012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
20510
20511 [BZ #14152]
20512 * math/libm-test.inc (fma_test): Don't always expect underflow
20513 exception.
20514
9c6ea9fa
SP
205152012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20516
20517 [BZ #12416]
20518 * elf/tst-execstack.c: Include stackinfo.h.
20519 (do_test): Adjust test case to ensure that pthread_getattr_np
20520 behaviour remains the same after marking stack executable.
20521
a8239222
JM
205222012-05-25 Joseph Myers <joseph@codesourcery.com>
20523
20524 * sysdeps/unix/sysv/linux/kernel-features.h
20525 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20526 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20527 kernel-features.h.
20528 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20529 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20530 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20531 kernel-features.h.
20532 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20533 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20534
918b5606
L
205352012-05-25 H.J. Lu <hongjiu.lu@intel.com>
20536
20537 * configure.in: Define the default includes to being none.
20538 * configure: Regenerated.
20539
3a097cc7
RM
205402012-05-25 Roland McGrath <roland@hack.frob.com>
20541
8422c9a5
RM
20542 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20543 * sysdeps/x86_64/setjmp.S: Likewise.
20544 * sysdeps/i386/bsd-setjmp.S: Likewise.
20545 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20546 * sysdeps/i386/setjmp.S: Likewise.
20547 * sysdeps/i386/__longjmp.S: Likewise.
20548 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20549 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20550
3a097cc7
RM
20551 * include/stap-probe.h: New file.
20552 * configure.in: Handle --enable-systemtap.
20553 * configure: Regenerated.
20554 * config.h.in (USE_STAP_PROBE): New #undef.
20555 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20556 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20557 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20558
21708942
JM
205592012-05-25 Joseph Myers <joseph@codesourcery.com>
20560
20561 [BZ #13717]
20562 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20563 to 2.4.0 where earlier.
20564 * sysdeps/unix/sysv/linux/configure: Regenerated.
20565 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20566 <kernel-features.h>.
20567 [__ASSUME_32BITUIDS]: Make code unconditional.
20568 [!__ASSUME_32BITUIDS]: Remove conditional code.
20569 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20570 <kernel-features.h>.
20571 [__ASSUME_32BITUIDS]: Make code unconditional.
20572 [!__ASSUME_32BITUIDS]: Remove conditional code.
20573 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20574 [__ASSUME_32BITUIDS]: Make code unconditional.
20575 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20576 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20577 <kernel-features.h>.
20578 [__ASSUME_32BITUIDS]: Make code unconditional.
20579 [!__ASSUME_32BITUIDS]: Remove conditional code.
20580 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
20581 <kernel-features.h>.
20582 [__ASSUME_32BITUIDS]: Make code unconditional.
20583 [!__ASSUME_32BITUIDS]: Remove conditional code.
20584 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
20585 <kernel-features.h>.
20586 [__ASSUME_32BITUIDS]: Make code unconditional.
20587 [!__ASSUME_32BITUIDS]: Remove conditional code.
20588 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20589 <kernel-features.h>.
20590 [__ASSUME_32BITUIDS]: Make code unconditional.
20591 [!__ASSUME_32BITUIDS]: Remove conditional code.
20592 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20593 <kernel-features.h>.
20594 [__ASSUME_32BITUIDS]: Make code unconditional.
20595 [!__ASSUME_32BITUIDS]: Remove conditional code.
20596 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20597 <kernel-features.h>.
20598 [__ASSUME_32BITUIDS]: Make code unconditional.
20599 [!__ASSUME_32BITUIDS]: Remove conditional code.
20600 * sysdeps/unix/sysv/linux/i386/getuid.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/lchown.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/msgctl.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/semctl.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/setegid.c: Do not include
20617 <kernel-features.h>.
20618 [__NR_setresgid] (__setresgid): Do not declare.
20619 [__ASSUME_32BITUIDS]: Make code unconditional.
20620 [!__ASSUME_32BITUIDS]: Remove conditional code.
20621 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20622 <kernel-features.h>.
20623 [__NR_setresuid] (__setresuid): Do not declare.
20624 [__ASSUME_32BITUIDS]: Make code unconditional.
20625 [!__ASSUME_32BITUIDS]: Remove conditional code.
20626 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20627 <kernel-features.h>.
20628 [__ASSUME_32BITUIDS]: Make code unconditional.
20629 [!__ASSUME_32BITUIDS]: Remove conditional code.
20630 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20631 <kernel-features.h>.
20632 [__ASSUME_32BITUIDS]: Make code unconditional.
20633 [!__ASSUME_32BITUIDS]: Remove conditional code.
20634 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20635 <kernel-features.h>.
20636 [__ASSUME_32BITUIDS]: Make code unconditional.
20637 [!__ASSUME_32BITUIDS]: Remove conditional code.
20638 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20639 <kernel-features.h>.
20640 [__ASSUME_32BITUIDS]: Make code unconditional.
20641 [!__ASSUME_32BITUIDS]: Remove conditional code.
20642 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20643 <kernel-features.h>.
20644 [__ASSUME_32BITUIDS]: Make code unconditional.
20645 [!__ASSUME_32BITUIDS]: Remove conditional code.
20646 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20647 <kernel-features.h>.
20648 [__ASSUME_32BITUIDS]: Make code unconditional.
20649 [!__ASSUME_32BITUIDS]: Remove conditional code.
20650 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20651 <kernel-features.h>.
20652 [__ASSUME_32BITUIDS]: Make code unconditional.
20653 [!__ASSUME_32BITUIDS]: Remove conditional code.
20654 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20655 <kernel-features.h>.
20656 [__ASSUME_32BITUIDS]: Make code unconditional.
20657 [!__ASSUME_32BITUIDS]: Remove conditional code.
20658 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20659 <kernel-features.h>.
20660 [__ASSUME_32BITUIDS]: Make code unconditional.
20661 [!__ASSUME_32BITUIDS]: Remove conditional code.
20662 * sysdeps/unix/sysv/linux/i386/shmctl.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/kernel-features.h
20667 (__ASSUME_SETRESUID_SYSCALL): Remove.
20668 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20669 (__ASSUME_32BITUIDS): Likewise.
20670 (__ASSUME_LDT_WORKS): Likewise.
20671 (__ASSUME_O_DIRECTORY): Likewise.
20672 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20673 architecture but not kernel version.
20674 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20675 (__ASSUME_MMAP2_SYSCALL): Likewise.
20676 (__ASSUME_STAT64_SYSCALL): Likewise.
20677 (__ASSUME_IPC64): Likewise.
20678 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20679 <kernel-features.h>.
20680 [__ASSUME_32BITUIDS]: Make code unconditional.
20681 [!__ASSUME_32BITUIDS]: Remove conditional code.
20682 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20683 <kernel-features.h>.
20684 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20685 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20686 132096]: Remove conditional code.
20687 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20688 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20689 <kernel-features.h>.
20690 [__ASSUME_32BITUIDS]: Make code unconditional.
20691 [!__ASSUME_32BITUIDS]: Remove conditional code.
20692 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20693 <kernel-features.h>.
20694 [__ASSUME_32BITUIDS]: Make code unconditional.
20695 [!__ASSUME_32BITUIDS]: Remove conditional code.
20696 * sysdeps/unix/sysv/linux/setegid.c: Do not include
20697 <kernel-features.h>.
20698 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20699 unconditional.
20700 (__setresgid): Do not declare.
20701 [__ASSUME_32BITUIDS]: Make code unconditional.
20702 [!__ASSUME_32BITUIDS]: Remove conditional code.
20703 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20704 <kernel-features.h>.
20705 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20706 unconditional.
20707 (__setresuid): Do not declare.
20708 [__ASSUME_32BITUIDS]: Make code unconditional.
20709 [!__ASSUME_32BITUIDS]: Remove conditional code.
20710 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20711 <kernel-features.h>.
20712 [__ASSUME_32BITUIDS]: Make code unconditional.
20713 [!__ASSUME_32BITUIDS]: Remove conditional code.
20714 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20715 <kernel-features.h>.
20716 [__ASSUME_32BITUIDS]: Make code unconditional.
20717 [!__ASSUME_32BITUIDS]: Remove conditional code.
20718
a386f1cc
RH
207192012-05-25 Richard Henderson <rth@twiddle.net>
20720
20721 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20722 dl_hwcap to ifunc resolver.
20723 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20724 elf_ifunc_invoke.
20725 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20726 dl_hwcap to ifunc resolver.
20727 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20728
b6550497
JM
207292012-05-24 Joseph Myers <joseph@codesourcery.com>
20730
20731 [BZ #14153]
20732 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20733 for |x| <= 2**-26, not 2**-57.
20734 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20735 exception.
20736
b0bc23a1
JL
207372012-05-24 Jeff Law <law@redhat.com>
20738
20739 * stdio-common/Makefile (tests): Add bug25.
20740 * stdio-common/bug25.c: New test.
20741
347c92e9
L
207422012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20743
20744 [BZ #13576]
20745 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20746 multiple of MALLOC_ALIGNMENT in size.
20747 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20748
6bcc8b3f
JM
207492012-05-24 Joseph Myers <joseph@codesourcery.com>
20750
20751 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20752 Require >= 256.
20753 (FILENAME_MAX): Use macro-int-constant.
20754 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20755 (_IOFBF): Use macro-int-constant.
20756 (_IOLBF): Likewise.
20757 (_IONBF): Likewise.
20758 (SEEK_CUR): Likewise.
20759 (SEEK_END): Likewise.
20760 (SEEK_SET): Likewise.
20761 (TMP_MAX): Likewise.
20762 (EOF): Use macro-int-constant. Require < 0.
20763 (NULL): Use macro-constant. Require == 0.
20764 (stdin): Require type to be FILE *.
20765 (stdout): Likewise.
20766 (stderr): Likewise.
20767 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20768 macro-int-constant.
20769 (EXIT_SUCCESS): Likewise.
20770 (NULL): Use macro-constant. Require == 0.
20771 (RAND_MAX): Use macro-int-constant.
20772 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20773 [C99-based standards] (strtof): Require function.
20774 [C99-based standards] (strtold): Likewise.
20775 [C99-based standards] (strtoll): Likewise.
20776 [C99-based standards] (strtoull): Likewise.
20777 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20778 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20779 [ISO || ISO99 || ISO11] (math.h): Likewise.
20780 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20781 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20782 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20783
d18ea0c5
AS
207842012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20785
20786 [BZ #14132]
56d25bb8
AS
20787 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20788 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20789 * intl/dgettext.c (DCGETTEXT): Likewise.
20790 * intl/gettext.c (DCGETTEXT): Likewise.
20791 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20792 * posix/regex_internal.h (gettext): Likewise.
20793 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20794 Remove declaration.
20795 * include/argz.h (__argz_count_internal)
20796 (__argz_stringify_internal): Remove declaration.
20797 (__argz_count, __argz_stringify): Declare hidden proto.
20798 * intl/dcgettext.c: Remove use of INTDEF.
20799 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20800 * string/argz-stringify.c: Likewise.
20801 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20802 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20803 Declare hidden proto.
d18ea0c5
AS
20804 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20805 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20806 Declare hidden proto.
20807 * include/stdio.h (__asprintf_internal): Don't declare.
20808 (__asprintf): Don't define as macro. Declare hidden proto.
20809 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20810 (__fsetlocking): Declare hidden proto.
20811 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20812 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20813 hidden proto.
20814 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20815 (_IO_setlinebuf): Remove use of INTUSE.
20816 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20817 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20818 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20819 Remove declaration.
20820 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20821 (_IO_do_flush): Remove use of INTUSE.
20822 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20823 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20824 (_IO_adjust_column, _IO_least_wmarker)
20825 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20826 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20827 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20828 (_IO_default_doallocate, _IO_wdefault_doallocate)
20829 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20830 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20831 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20832 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20833 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20834 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20835 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20836 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20837 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20838 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20839 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20840 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20841 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20842 proto.
20843 (_IO_flush_all_internal, _IO_adjust_column_internal)
20844 (_IO_default_uflow_internal, _IO_default_finish_internal)
20845 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20846 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20847 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20848 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20849 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20850 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20851 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20852 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20853 (_IO_file_close_internal, _IO_file_close_it_internal)
20854 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20855 (_IO_file_init_internal, _IO_file_attach_internal)
20856 (_IO_file_fopen_internal, _IO_file_read_internal)
20857 (_IO_file_sync_internal, _IO_file_seek_internal)
20858 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20859 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20860 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20861 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20862 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20863 (_IO_list_all_internal, _IO_link_in_internal)
20864 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20865 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20866 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20867 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20868 (_IO_do_write_internal, _IO_padn_internal)
20869 (_IO_getline_info_internal, _IO_getline_internal)
20870 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20871 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20872 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20873 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20874 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20875 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20876 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20877 with libc_hidden_ver, remove use of INTUSE.
20878 * libio/genops.c: Likewise.
20879 * libio/freopen.c: Likewise.
20880 * libio/freopen64.c: Likewise.
20881 * libio/iofclose.c: Likewise.
20882 * libio/iofdopen.c: Likewise.
20883 * libio/iofflush.c: Likewise.
20884 * libio/iofflush_u.c: Likewise.
20885 * libio/iofgets.c: Likewise.
20886 * libio/iofgets_u.c: Likewise.
20887 * libio/iofopen.c: Likewise.
20888 * libio/iofopncook.c: Likewise.
20889 * libio/iofread.c: Likewise.
20890 * libio/iofread_u.c: Likewise.
20891 * libio/ioftell.c: Likewise.
20892 * libio/iofwrite.c: Likewise.
20893 * libio/iogetline.c: Likewise.
20894 * libio/iogets.c: Likewise.
20895 * libio/iogetwline.c: Likewise.
20896 * libio/iopadn.c: Likewise.
20897 * libio/iopopen.c: Likewise.
20898 * libio/ioseekoff.c: Likewise.
20899 * libio/ioseekpos.c: Likewise.
20900 * libio/iosetbuffer.c: Likewise.
20901 * libio/iosetvbuf.c: Likewise.
20902 * libio/ioungetc.c: Likewise.
20903 * libio/ioungetwc.c: Likewise.
20904 * libio/iovdprintf.c: Likewise.
20905 * libio/iovsprintf.c: Likewise.
20906 * libio/iovsscanf.c: Likewise.
20907 * libio/memstream.c: Likewise.
20908 * libio/obprintf.c: Likewise.
20909 * libio/oldfileops.c: Likewise.
20910 * libio/oldiofclose.c: Likewise.
20911 * libio/oldiofdopen.c: Likewise.
20912 * libio/oldiofopen.c: Likewise.
20913 * libio/oldiopopen.c: Likewise.
20914 * libio/oldstdfiles.c: Likewise.
20915 * libio/putc.c: Likewise.
20916 * libio/setbuf.c: Likewise.
20917 * libio/setlinebuf.c: Likewise.
20918 * libio/stdfiles.c: Likewise.
20919 * libio/strops.c: Likewise.
20920 * libio/vasprintf.c: Likewise.
20921 * libio/vscanf.c: Likewise.
20922 * libio/vsnprintf.c: Likewise.
20923 * libio/vswprintf.c: Likewise.
20924 * libio/wfiledoalloc.c: Likewise.
20925 * libio/wfileops.c: Likewise.
20926 * libio/wgenops.c: Likewise.
20927 * libio/wmemstream.c: Likewise.
20928 * libio/wstrops.c: Likewise.
20929 * libio/__fpurge.c: Likewise.
20930 * libio/__fsetlocking.c: Likewise.
20931 * assert/assert.c: Likewise.
20932 * debug/fgets_chk.c: Likewise.
20933 * debug/fgets_u_chk.c: Likewise.
20934 * debug/fread_chk.c: Likewise.
20935 * debug/fread_u_chk.c: Likewise.
20936 * debug/gets_chk.c: Likewise.
20937 * debug/obprintf_chk.c: Likewise.
20938 * debug/vasprintf_chk.c: Likewise.
20939 * debug/vdprintf_chk.c: Likewise.
20940 * debug/vsnprintf_chk.c: Likewise.
20941 * debug/vsprintf_chk.c: Likewise.
20942 * malloc/mtrace.c: Likewise.
20943 * misc/error.c: Likewise.
20944 * misc/syslog.c: Likewise.
20945 * stdio-common/asprintf.c: Likewise.
20946 * stdio-common/fxprintf.c: Likewise.
20947 * stdio-common/getw.c: Likewise.
20948 * stdio-common/isoc99_fscanf.c: Likewise.
20949 * stdio-common/isoc99_scanf.c: Likewise.
20950 * stdio-common/isoc99_vfscanf.c: Likewise.
20951 * stdio-common/isoc99_vscanf.c: Likewise.
20952 * stdio-common/isoc99_vsscanf.c: Likewise.
20953 * stdio-common/printf-prs.c: Likewise.
20954 * stdio-common/printf_fp.c: Likewise.
20955 * stdio-common/printf_fphex.c: Likewise.
20956 * stdio-common/printf_size.c: Likewise.
20957 * stdio-common/putw.c: Likewise.
20958 * stdio-common/scanf.c: Likewise.
20959 * stdio-common/sprintf.c: Likewise.
20960 * stdio-common/tmpfile.c: Likewise.
20961 * stdio-common/vfprintf.c: Likewise.
20962 * stdio-common/vfscanf.c: Likewise.
20963 * stdlib/strfmon_l.c: Likewise.
20964 * sunrpc/openchild.c: Likewise.
20965 * sunrpc/xdr_stdio.c: Likewise.
20966 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
20967 * sysdeps/mach/hurd/tmpfile.c: Likewise.
20968
d6c33fda
RM
209692012-05-24 Roland McGrath <roland@hack.frob.com>
20970
c1487492
RM
20971 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
20972
20973 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
20974 in the third column, to generate for the shared library an IFUNC
20975 that uses _dl_vdso_vsym.
20976 * Makerules (COMPILE.c, compile-stdin.c): New variables.
20977 * Makeconfig (object-suffixes-noshared): New variable.
20978
20979 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
20980 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
20981 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
20982 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
20983
d6c33fda
RM
20984 [BZ #14132]
20985 * include/sys/time.h (__gettimeofday): Remove macro.
20986 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
20987 * time/gettimeofday.c (__gettimeofday): Remove #undef.
20988 Remove INTDEF.
20989 (__gettimeofday): Add libc_hidden_def.
20990 (gettimeofday): Add libc_hidden_weak.
20991 * sysdeps/mach/gettimeofday.c: Likewise.
20992 * sysdeps/posix/gettimeofday.c: Likewise.
20993 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
20994 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20995 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
20996 (__gettimeofday_internal): Remove strong_alias.
20997 (__gettimeofday): Add libc_hidden_def.
20998 (gettimeofday): Add libc_hidden_weak.
20999 * sysdeps/unix/syscalls.list (gettimeofday):
21000 Remove __gettimeofday_internal alias.
21001
b5a2bbe6
L
210022012-05-24 Daniel Jacobowitz <drow@false.org>
21003 H.J. Lu <hongjiu.lu@intel.com>
21004
21005 [BZ #12495]
21006 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21007 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21008 (largebin_index_32_big): New.
21009 (largebin_index): Use it for 16-byte alignment.
21010 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
21011 correction with front_misalign.
21012
cfba4fda
L
210132012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21014
7f907421
L
21015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21017 Likewise.
21018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21019 Likewise.
21020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21021 Likewise.
21022 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21023 Likewise.
21024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21025 Likewise.
21026 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21027 Likewise.
21028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21029 Likewise.
21030 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21031 Likewise.
21032 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21033 Likewise.
21034 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21035 Likewise.
21036 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21037 Likewise.
21038 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21039 Likewise.
21040
cfba4fda
L
21041 * scripts/data/c++-types-x32-linux-gnu.data: New file.
21042 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21043
80bad0cc
JM
210442012-05-24 Joseph Myers <joseph@codesourcery.com>
21045
7a25eb06
JM
21046 [BZ #10846]
21047 [BZ #14036]
21048 * math/libm-test.inc (exp_test): Add test from bug 14036.
21049 (pow_test): Add test from bug 10846.
21050
795405f9
JM
21051 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21052 and other flags.
21053 (special_function): Do not include flags in test name.
21054 (parse_args): Likewise.
21055 * sysdeps/i386/fpu/libm-test-ulps: Update.
21056 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21057 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21058 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21060
80bad0cc
JM
21061 * math/gen-libm-test.pl (%beautify): Add entries for underflow
21062 exceptions.
21063 * math/libm-test.inc ("Philosophy"): Update comment about
21064 exception testing.
21065 (UNDERFLOW_EXCEPTION): New macro.
21066 (UNDERFLOW_EXCEPTION_OK): Likewise.
21067 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21068 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21069 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21070 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21071 (INVALID_EXCEPTION_OK): Update value.
21072 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21073 (OVERFLOW_EXCEPTION_OK): Likewise.
21074 (IGNORE_ZERO_INF_SIGN): Likewise.
21075 (test_exceptions): Handle underflow exceptions.
21076 (acos_test): Update for underflow exception expectations.
21077 (cexp_test): Likewise.
21078 (clog_test): Likewise.
21079 (clog10_test): Likewise.
21080 (csqrt_test): Likewise.
21081 (ctan_test): Likewise.
21082 (ctanh_test): Likewise.
21083 (exp_test): Likewise.
21084 (exp10_test): Likewise.
21085 (exp2_test): Likewise.
21086 (expm1_test): Likewise.
21087 (fma_test): Likewise.
21088 (j0_test): Likewise.
21089 (jn_test): Likewise.
21090 (nexttoward_test): Likewise.
21091 (pow_test): Likewise.
21092 (scalbn_test): Likewise.
21093 (scalbln_test): Likewise.
21094 (tan_test): Likewise.
21095 (y1_test): Likewise.
21096 * sysdeps/i386/fpu/libm-test-ulps: Update.
21097 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21098
9e0e3d0b
DM
210992012-05-23 David S. Miller <davem@davemloft.net>
21100
21101 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21102 (__libc_sigaction): Remove unused local variables.
21103
ccd0a08f
L
211042012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21105
21106 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21107
62bdf9a6
PE
211082012-05-23 Paul Eggert <eggert@cs.ucla.edu>
21109
f8591f80
PE
21110 mktime: avoid signed integer overflow
21111 * time/mktime.c (__mktime_internal): Do not mishandle the case
21112 where diff == INT_MIN.
21113
94c7d826
PE
21114 mktime: simplify computation of average
21115 * time/mktime.c (ranged_convert): Use new time_t_avg function
21116 instead of rolling our own (probably-slower) code.
21117
ce73d683
PE
21118 mktime: do not assume signed right shift propagates sign bit
21119 * time/mktime.c (isdst_differ): New static function.
21120 (__mktime_internal): No need to normalize tm_isdst now.
21121 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21122 tm_isdst values.
21123
72a22e59
PE
21124 mktime: merge another wrapv change from gnulib
21125 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21126 from some compilers.
21127
68605433
PE
21128 mktime: remove incorrect attempt at unusual arithmetics
21129 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21130 The code didn't really work on such machines anyway.
21131 (TYPE_MINIMUM): Assume two's complement.
21132 (twos_complement_arithmetic): Verify that long_int and time_t
21133 are two's complement (or unsigned, in the latter case).
21134
03cf7fe3
PE
21135 mktime: check signed shifts on long_int and time_t, too
21136 * time/mktime.c (SHR): Check that shifts work as desired
21137 on the types long_int and time_t too, as SHR is used on
21138 such types.
21139
f04dfbc2
PE
21140 mktime: do not assume 'long' is wide enough
21141 * time/mktime.c (verify): Move decl up.
21142 (long_int): New type.
21143 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21144 to remove assumption in the code that 'long' is wide enough to
21145 store year values. This assumption is not true on x32 and on
21146 some non-glibc platforms.
21147
62bdf9a6
PE
21148 mktime: merge wrapv change from gnulib
21149 * time/mktime.c (WRAPV): New macro.
21150 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21151 (guess_time_tm, __mktime_internal): Do not assume that signed
21152 integer overflow wraps around; modern compilers generate code
21153 where this assumption is no longer valid.
21154
5e292e4f
L
211552012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21156
21157 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21158 Replace "jmp L(pseudo_end)" with "ret".
21159 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21160 Likewise.
21161
8caf8c87
AJ
211622012-05-23 Andreas Jaeger <aj@suse.de>
21163
21164 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21165 * sysdeps/unix/sysv/linux/poll.c: Remove file.
21166
1a09dc56
AJ
211672012-05-23 Andreas Jaeger <aj@suse.de>
21168 Maximilian Attems <max@stro.at>
21169
21170 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21171 New macros.
21172
1c87aba0
L
211732012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21174
21175 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21176 code so that pseudo_end is just ret and the stack pointer is
21177 correct also for static library in error case.
21178
40e45bd5
JM
211792012-05-23 Joseph Myers <joseph@codesourcery.com>
21180
c2670533
JM
21181 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21182 move to syscalls.list.
21183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21186 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21187
40e45bd5
JM
21188 * manual/install.texi (Running make install): Do not mention Linux
21189 kernel version for which pt_chown is not needed.
21190 (Linux): Do not mention problems with nscd with 2.0 kernels.
21191 * INSTALL: Regenerated.
21192
be08eda5
AJ
211932012-05-23 Andreas Jaeger <aj@suse.de>
21194
21195 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21196 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21197 macro.
21198 * sysdeps/unix/sysv/linux/s390/bits/mman.h
21199 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21200 * sysdeps/unix/sysv/linux/sh/bits/mman.h
21201 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21202 * sysdeps/unix/sysv/linux/i386/bits/mman.h
21203 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21204 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21205 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21206 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21207 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21208 * sysdeps/unix/sysv/linux/bits/in.h
21209 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21210
a6a056bb
RM
212112012-05-22 Roland McGrath <roland@hack.frob.com>
21212
21213 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21214 (PREPARE_VERSION): Just use assert instead, it will be elided
21215 under [NDEBUG] anyway.
21216
c9009328
L
212172012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21218
21219 * sysdeps/unix/sysv/linux/Makefile: Include
21220 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 21221 (sysdep_routines): Remove sysctl.
c9009328
L
21222 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21223 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21224 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21225 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21226 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21227
73338355
AJ
212282012-05-22 Andreas Jaeger <aj@suse.de>
21229
21230 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21231 that pseudo_end is just ret and the stack pointer is correct also
21232 for static library in error case.
21233
d44638b0
PP
212342012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21235
21236 [BZ #14122]
21237 * nss/nsswitch.c (defconfig_entries): New variable.
21238 (__nss_database_lookup): Don't leak defconfig entries.
21239 (nss_parse_service_list): Don't leak on error paths.
21240 (free_database_entries): New function.
21241 (free_defconfig): New function.
21242 (free_mem): Move common code to free_database_entries.
21243
31a39bd8
L
212442012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21245
da0331a8
L
21246 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21247 Add arch_prctl.
21248 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21249
31a39bd8
L
21250 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21251 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21252 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21253 New macro.
21254 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21255 (INTERNAL_SYSCALL_TYPES): Likewise.
21256 (LOAD_ARGS_TYPES_[1-6]): Likewise.
21257 (LOAD_REGS_TYPES_[1-6]): Likewise.
21258 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21259 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21260
45470df3
AZ
212612012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21262
21263 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21264 copysignl for GLIBC_2_0.
21265 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21266 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21267 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21268 logbl for GLIBC_2_0.
21269 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21270 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21271
98a61bcb
L
212722012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21273
a4f6e481
L
21274 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21275 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21276
f63d5db6
L
21277 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21278 Use "neg %eax".
21279
98a61bcb
L
21280 * time/mktime.c: Update copyright years.
21281
95770f14
PE
212822012-05-22 Paul Eggert <eggert@cs.ucla.edu>
21283
6226efbd
PE
21284 mktime: merge comment-quoting-style change from gnulib
21285 * time/mktime.c: Quote 'like this' in comments.
21286 The GNU coding standards suggest that we no longer quote `like this',
21287 as "`" and "'" are typically rendered asymmetrically nowadays.
21288 The typical gnulib style is to quote 'like this' when quoting
21289 code, and "like this" when quoting English.
21290
b99e4f78
PE
21291 * time/mktime.c (compile-command): Add "-I.".
21292
643e01e6
PE
21293 mktime: merge mktime-internal.h change from gnulib
21294 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21295
2554247d
PE
21296 mktime: merge time_r change from gnulib
21297 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21298
826dd0ab
PE
21299 mktime: merge DEBUG change from gnulib
21300 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21301 case system <time.h> has a #define.
21302
bd83aabe
PE
21303 mktime: merge <sys/types.h> change from gnulib
21304 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21305 since <time.t> is now guaranteed to define time_t.
21306
95770f14
PE
21307 mktime: merge HAVE_CONFIG_H change from gnulib
21308 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21309
5e1a27a9
L
213102012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21311
0e44a77e
L
21312 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21313 Use "neg %eax".
21314
5e1a27a9
L
21315 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21316 __rlim_t cast.
21317 (struct rusage): Use anonymous union to pad each field to
21318 __syscall_slong_t.
21319
46259bec
DM
213202012-05-21 David S. Miller <davem@davemloft.net>
21321
21322 * Makefules (o-iterator): Remove .s cases.
21323 (compile-command.s): Delete.
21324 (COMPILE.s): Delete.
21325 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21326
59f0c22e
JM
213272012-05-21 Joseph Myers <joseph@codesourcery.com>
21328
21329 * configure.in (libc_cv_predef_stack_protector): Only consider
21330 "foobar" and "__stack_chk_fail" lines in libc_undefs.
21331 * configure: Regenerated.
21332
20c07380
L
213332012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21334
bbb3154b
L
21335 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21336 New macro. Use R*LP on int and pointer.
21337 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
21338 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21339 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
21340 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21341
20c07380
L
21342 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21343 [__WORDSIZE_TIME64_COMPAT32] instead of
21344 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21345 (struct utmp): Likewise.
21346 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21347 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21348 Renamed to ...
21349 (__WORDSIZE_TIME64_COMPAT32): This.
21350 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21351 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21352 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21353 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21354 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21355 (__WORDSIZE_TIME64_COMPAT32): New macro.
21356
d8d1017e
AJ
213572012-05-21 Andreas Jaeger <aj@suse.de>
21358
21359 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21360 only if [SHARED]. Add prototype for __wcschr_ia32.
21361
6c7fb145
RM
213622012-05-21 Roland McGrath <roland@hack.frob.com>
21363
21364 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21365 of %rbp unmolested in the jmp_buf while mangling the low bits.
21366 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21367 unmolested high bits of %rbp while demangling the low bits.
21368 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21369
66274218
AJ
213702012-05-21 Andreas Jaeger <aj@suse.de>
21371
07c58f8f
AJ
21372 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21373 * sunrpc/svc_simple.c: Use it for registerrpc.
21374 * sunrpc/xcrypt.c: Use it for passwd2des.
21375
66274218
AJ
21376 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21377
61f65140
L
213782012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21379
21380 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21381 Don't define if [__SYSCALL_WORDSIZE != 32].
21382 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21383 New macro.
21384
5fefb436
AJ
213852012-05-21 Bruno Haible <bruno@clisp.org>
21386 Andreas Jaeger <aj@suse.de>
21387
21388 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21389 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21390 inptr and inend for must_buffer_ch.
21391 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21392 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
21393 * stdio-common/Makefile (tests): Remove bug15.
21394 (bug15-ENV): Remove macro.
21395 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
21396 anymore.
21397
d8e272ab
AJ
213982012-05-19 Andreas Jaeger <aj@suse.de>
21399 Roland McGrath <roland@hack.frob.com>
21400
21401 * manual/contrib.texi: Completely rewritten. It contains now an
21402 alphabetical list of contributors and their contributions.
21403
4a56a162
RH
214042012-05-21 Richard Henderson <rth@twiddle.net>
21405
21406 * misc/getauxval.c (__getauxval): Use unsigned long int.
21407 * misc/sys/auxv.h: Include <sys/cdefs.h>.
21408 (getauxval): Use unsigned long int.
21409
d024d23c
L
214102012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21411
21412 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21413
cbc00a03
RM
214142012-05-21 Roland McGrath <roland@hack.frob.com>
21415
21416 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
21417 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
21418 __alignof__ (long double).
21419
478143fa
AZ
214202012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21421
21422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21423
c7683a6d
RH
214242012-05-20 Richard Henderson <rth@twiddle.net>
21425
21426 * misc/getauxval.c: New file.
21427 * misc/sys/auxv.h: New file.
21428 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21429 (routines): Add getauxval.
21430 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21431 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21432 * elf/dl-sysdep.c (_dl_auxv): Remove.
21433 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21434 * elf/dl-support.c (_dl_auxv): New variable.
21435 (_dl_aux_init): Initialize it.
21436 * manual/startup.texi (Auxiliary Vector): New node.
21437 * sysdeps/generic/bits/hwcap.h: New file.
21438 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21439 * sysdeps/powerpc/sysdep.h: ... here. Include it.
21440 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21441 * sysdeps/sparc/sysdep.h: ... here. Include it.
21442 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21443 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
21444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21445 Update.
c7683a6d
RH
21446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21447 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21448 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21449 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21450 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21451 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21452 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21453 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21454
a6f1845d
AZ
214552012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21456
21457 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21458
cbcbe830
DM
214592012-05-19 David S. Miller <davem@davemloft.net>
21460
21461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21462
e0b16cc2
JM
214632012-05-19 Joseph Myers <joseph@codesourcery.com>
21464
21465 [BZ #14123]
21466 * math/s_ccosh.c: Include <float.h>
21467 (__ccosh): Avoid internal overflow calculating sinh and cosh
21468 values before multiplying by sin and cos values.
21469 * math/s_ccoshf.c: Likewise.
21470 * math/s_ccoshl.c: Likewise.
21471 * math/s_csin.c: Likewise.
21472 * math/s_csinf.c: Likewise.
21473 * math/s_csinl.c: Likewise.
21474 * math/s_csinh.c: Likewise.
21475 * math/s_csinhf.c: Likewise.
21476 * math/s_csinhl.c: Likewise.
21477 * math/libm-test.inc (ccos_test): Add more tests.
21478 (ccosh_test): Likewise.
21479 (csin_test): Likewise.
21480 (csinh_test): Likewise.
21481 * sysdeps/i386/fpu/libm-test-ulps: Update.
21482 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21483
6ad13e08
L
214842012-05-19 H.J. Lu <hongjiu.lu@intel.com>
21485
f66f0ce8
L
21486 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21487 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21488
6ad13e08
L
21489 * sysdeps/x86_64/x32/_itoa.h: Add comment.
21490
b1d072a7
JM
214912012-05-19 Joseph Myers <joseph@codesourcery.com>
21492
21493 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21494 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21495 * sysdeps/powerpc/soft-fp/Versions: Likewise.
21496 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21497 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21498 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21499 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21500 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21501 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21502 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21503 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21504 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21505 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21506 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21507 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21508 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21509 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21510 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21511 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21512 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21513 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21514 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21515 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21516 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21517 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21518 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21519 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21520 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21521 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21522 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21523 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21524
9eae47cb
AJ
215252012-05-18 Andreas Jaeger <aj@suse.de>
21526
21527 * csu/.gitignore: Delete.
21528
bb07f69f
L
215292012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21530
21531 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21532 (timex): Use __syscall_slong_t.
21533
e6bdb741
AJ
215342012-05-18 Andreas Jaeger <aj@suse.de>
21535 Carlos O'Donell <carlos_odonell@mentor.com>
21536
21537 * manual/install.texi (Configuring and compiling): Update
21538 description about files modified in the source directory.
d6c33fda 21539 * INSTALL: Regenerated.
e6bdb741 21540
1b74487e
L
215412012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21542
21543 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21544 value. Use "or" to set return value to -1.
21545 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21546 negate return value.
21547
a88b64b9
TMQMF
215482012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21549
21550 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21551 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21552 failure if the compiler has Graphite support disabled.
21553 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21554 Likewise.
21555 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21556 CFLAGS-memmove.c): Likewise.
21557 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21558 Likewise.
21559
3707636e
L
215602012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21561
610b8622
L
21562 * sysdeps/x86_64/x32/_itoa.h: New file.
21563
7cd195df
L
21564 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21565 getdents system call only if kernel and user dirents have the
21566 same d_ino and d_off.
21567
94b07d20
L
21568 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21569 LLONG_MAX != LONG_MAX.
21570 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21571 (_fitoa_word): Likewise.
21572
18298070
L
21573 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21574 years.
21575 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21576 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21577 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21578
553c7ea4
L
21579 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21580 include <bits/wordsize.h>. Check __x86_64__ instead of
21581 __WORDSIZE.
21582 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21583 if __x86_64__ is defined. Use anonymous union on fpstate.
21584
3707636e
L
21585 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21586 anonymous union.
21587
b53ef01a
AS
215882012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21589
37fb1dc0
AS
21590 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21591 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21592 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21593 Refer to _rtld_local_ro instead of _rtld_global_ro.
21594 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21595 Likewise.
21596 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21597 Likewise.
21598 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21599 Likewise.
21600 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21601 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21602 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21603
b53ef01a
AS
21604 * sysdeps/powerpc/powerpc32/dl-machine.c
21605 (__elf_machine_runtime_setup) [PROF]: Don't reference
21606 _dl_prof_resolve.
21607
7a185db2
AJ
216082012-05-18 Andreas Jaeger <aj@suse.de>
21609
21610 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21611 function only available for GCCs before 3.4 since GCC 3.4
21612 introduced a builtin.
21613 (lrint): Likewise.
21614 (llrintf): Likewise.
21615 (llrint): Likewise.
21616 (fmaxf): Likewise.
21617 (fmax): Likewise.
21618 (fminf): Likewise.
21619 (fmin): Likewise.
21620 (rint): Likewise.
21621 (rintf): Likewise.
21622 (nearbyint): Likewise.
21623 (nearbyintf): Likewise.
21624 (ceil): Likewise.
21625 (ceilf): Likewise.
21626 (floor): Likewise.
21627 (floorf): Likewise.
21628
3e5aef87
L
216292012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21630
428bd707
L
21631 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21632 on both fields and cast pointer to __syscall_ulong_t.
21633
3e5aef87
L
21634 * bits/types.h (__fsword_t): New type.
21635 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21636 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21637 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21638 (__FSWORD_T_TYPE): Likewise.
21639 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21640 (__FSWORD_T_TYPE): Likewise.
21641 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21642 (__FSWORD_T_TYPE): Likewise.
21643 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21644 (__FSWORD_T_TYPE): Likewise.
21645 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21646 __SWORD_TYPE with __fsword_t.
21647 (statfs64): Likewise.
21648
1ba7c3dc
DM
216492012-05-17 David S. Miller <davem@davemloft.net>
21650
21651 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21652
59910343
AJ
216532012-05-17 Andreas Jaeger <aj@suse.de>
21654
21655 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21656 warning.
21657
2e4c1e9e
L
216582012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21659
21660 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21661
de7f5ce7
AJ
216622012-05-17 Andreas Jaeger <aj@suse.de>
21663
21664 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21665 when it is used.
21666
286abc3d
CM
216672012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21668
21669 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21670
477cc68e
L
216712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21672
21673 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21674 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21675
1a0994f5
CD
216762012-05-17 Andreas Jaeger <aj@suse.de>
21677 Carlos O'Donell <carlos_odonell@mentor.com>
21678
21679 [BZ #14059]
21680 * sysdeps/x86_64/multiarch/init-arch.h
21681 (bit_YMM_Usable): Rename to...
21682 (bit_AVX_Usable): ... this.
21683 (bit_FMA4_Usable): New macro.
21684 (bit_XMM_state): New macro.
21685 (bit_YMM_state): New macro.
21686 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21687 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21688 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21689 (CPUID_OSXSAVE): New macro.
21690 (CPUID_AVX): New macro.
21691 (CPUID_FMA4): New macro.
21692 (index_YMM_Usable): Rename to...
21693 (index_AVX_Usable): ... this.
21694 (HAS_AVX): Use HAS_ARCH_FEATURE.
21695 (HAS_FMA4): Likewise.
21696 (HAS_YMM_USABLE): Remove.
21697 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21698 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21699 are present.
21700 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21701 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21702 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21703 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21704 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21705
0af797de
CM
217062012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21707
21708 * math/libm-test.c: Support platforms without multiple rounding modes.
21709 * math/bug-nextafter.c: Support platforms without FP exceptions.
21710 * math/bug-nexttoward.c: Likewise.
21711 * math/test-fenv.c: Likewise.
21712 * math/test-misc.c: Likewise.
21713 * stdlib/bug-getcontext.c: Likewise.
21714
e39745ff
AJ
217152012-05-17 Andreas Jaeger <aj@suse.de>
21716
21717 * manual/examples/search.c (critter_cmp): Change signature to
21718 avoid warnings.
21719 * manual/string.texi (Collation Functions): Likewise.
21720
48970aba
L
217212012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21722
21723 * bits/types.h: Fold copyright years.
21724 * bits/typesizes.h: Likewise.
21725 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21726 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21727 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21728 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21729 * time/time.h: Likewise.
21730
bedee953
PP
217312012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21732
21733 [BZ #208]
21734 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21735 in instead of returning them. Return void.
21736 (__libc_mallinfo): Accumulate over all arenas.
21737 (__malloc_stats): Adjust for change in int_mallinfo interface.
21738
61653dfb
RM
217392012-05-16 Roland McGrath <roland@hack.frob.com>
21740
30b99d79
RM
21741 [BZ #10375]
21742 * configure.in (NM): Add AC_CHECK_TOOL for it.
21743 (libc_extra_cflags): New substituted variable.
21744 Check for -fstack-protector being used implicitly.
21745 * configure: Regenerated.
21746 * config.make.in (config-extra-cflags): New variable,
21747 gets @libc_extra_cflags@.
21748 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21749
61653dfb
RM
21750 [BZ #10375]
21751 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21752 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21753 * configure: Regenerated.
21754 * config.make.in (CPPUNDEFS): New substituted variable.
21755 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21756 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21757 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21758
661768bb
L
217592012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21760
21761 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21762 (mq_attr): Use __syscall_slong_t.
21763
d4261567
L
217642012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21765
21766 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21767 Check __x86_64__ instead of __WORDSIZE.
21768 (_STAT_VER_LINUX): Likewise.
21769 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21770 __syscall_ulong_t and __syscall_slong_t.
21771 (stat64): Likewise.
21772
cf3ff365
L
217732012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21774
21775 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21776
76cf3e4d
L
217772012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21778
21779 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21780
a637753a
L
217812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21782
21783 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21784 __syscall_ulong_t.
21785
d5e05119
L
21786 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21787 include <bits/wordsize.h>. Check __x86_64__ instead of
21788 __WORDSIZE.
21789 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21790 defined.
21791 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21792
f62ee380
L
21793 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21794 include <bits/wordsize.h>. Check __x86_64__ instead of
21795 __WORDSIZE.
21796 (user_regs_struct): Use "__extension__ unsigned long long"
21797 instead of "unsigned long" if __x86_64__ is defined.
21798 (user): Likewise. Pad after pointer field if __ILP32__ is
21799 defined.
21800
4e124ced
JM
218012012-05-16 Joseph Myers <joseph@codesourcery.com>
21802
6a3951a0
JM
21803 * configure.in (makeinfo): Require version 4.5 or later. Allow
21804 versions 5 to 9.
21805 * configure: Regenerated.
21806 * manual/install.texi (texinfo): Increase version requirement to
21807 4.5 or later.
21808 * INSTALL: Regenerated.
21809
4e124ced
JM
21810 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21811
953ca31a
L
218122012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21813
21814 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21815
617aca05
L
21816 * sysdeps/x86_64/x32/ffs.c: New file.
21817
5762f7ae
L
21818 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21819 __syscall_ulong_t.
21820 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21821 defined. Use __syscall_ulong_t.
21822 (shminfo): Use __syscall_ulong_t.
21823 (shm_info): Likewise.
21824
a26b6856
L
21825 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21826 __syscall_ulong_t.
21827
cb2b9ef7
L
21828 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21829 <bits/wordsize.h>.
21830 (msgqnum_t): Use __syscall_ulong_t.
21831 (msglen_t): Likewise.
21832 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21833 __syscall_ulong_t.
21834
34683bb0
L
21835 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21836 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21837
84a68786
L
21838 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21839
48baa5f1
L
21840 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21841 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21842
180be88b
L
21843 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21844 __syscall_slong_t.
21845
5e90c8ad
L
21846 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21847 include <bits/wordsize.h>. Check __x86_64__ instead of
21848 __WORDSIZE.
21849
23dfb58b
L
21850 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21851 "unsigned long long int" if __x86_64__ is defined.
21852 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21853
ce5d54b0
L
21854 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21855 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21856 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21857
13dc9eac
L
21858 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21859 <stdint.h>.
21860 (GET_PC): Cast to uintptr_t first.
21861 (GET_FRAME): Likewise.
21862 (GET_STACK): Likewise.
21863
a7895d15
L
21864 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21865 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21866 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21867 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21868 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21869 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21870 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21871 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21872 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21873 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21874 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21875 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21876 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21877 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21878 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21879 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21880 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21881 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21882 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21883 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21884 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21885 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21886 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21887 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21888 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21889 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21890 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21891 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21892 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21893
656416c9
AS
218942012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21895
5bd66283
AS
21896 * Makerules (+depfiles): Also collect depfiles from .oS in
21897 $(extra-objs).
21898 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21899 .oS, $(libnldbl-routines)).
21900
656416c9
AS
21901 * Makerules (native-compile-mkdep-flags): Define.
21902 * sunrpc/Makefile (extra-objs): Add $(addprefix
21903 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21904 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21905 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
21906 calling $(make-target-directory).
21907
a46f2169
L
219082012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21909
21910 * bits/types.h (__snseconds_t): Removed.
21911 * time/time.h (struct timespec): Replace __snseconds_t with
21912 __syscall_slong_t.
21913 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21914 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21915 Likewise.
21916 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21917 (__SNSECONDS_T_TYPE): Likewise.
21918 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21919 (__SNSECONDS_T_TYPE): Likewise.
21920 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21921 (__SNSECONDS_T_TYPE): Likewise.
21922
6af6528b
L
219232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21924
21925 * sysdeps/mach/hurd/bits/typesizes.h
21926 (__SYSCALL_SLONG_TYPE): New macro.
21927 (__SYSCALL_ULONG_TYPE): Likewise.
21928
de986b56
L
219292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21930
21931 * bits/types.h (__syscall_slong_t): New type.
21932 (__syscall_ulong_t): Likewise.
21933
21934 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21935 (__SYSCALL_ULONG_TYPE): Likewise.
21936 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21937 (__SYSCALL_SLONG_TYPE): Likewise.
21938 (__SYSCALL_ULONG_TYPE): Likewise.
21939 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21940 (__SYSCALL_SLONG_TYPE): Likewise.
21941 (__SYSCALL_ULONG_TYPE): Likewise.
21942 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21943 (__SYSCALL_SLONG_TYPE): Likewise.
21944 (__SYSCALL_ULONG_TYPE): Likewise.
21945
85736dc7
L
219462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21947
21948 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21949 Add sigaltstack-offsets.sym.
21950 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21951 <sigaltstack-offsets.h>.
21952 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
21953 longjmp_msg pointer.
21954 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
21955 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21956 signal stack.
21957 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21958
cc03b296
JM
219592012-05-15 Joseph Myers <joseph@codesourcery.com>
21960
a9538892
JM
21961 * elf/stackguard-macros.h: Remove file.
21962 * sysdeps/generic/stackguard-macros.h: New file.
21963 * sysdeps/i386/stackguard-macros.h: Likewise.
21964 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21965 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21966 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21967 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21968 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21969 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21970 * sysdeps/x86_64/stackguard-macros.h: Likewise.
21971 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
21972 <elf/stackguard-macros.h>.
21973
cc03b296
JM
21974 [BZ #14109]
21975 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
21976 __aligned__ in attribute.
21977 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
21978 (gregset_t): Likewise.
21979
93171016
L
219802012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21981
21982 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
21983 * sysdeps/x86_64/64/Implies-after: Here. New file.
21984 * sysdeps/x86_64/x32/Implies-after: New file.
21985
d86813a0
L
219862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21987
21988 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
21989 and access return value for _dl_profile_fixup. Use R10_LP to
21990 load frame size.
21991
2953ec75
L
219922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21993
21994 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
21995
3b550e9e
L
219962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21997
21998 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
21999 * sysdeps/x86_64/x32/sysdep.h: New file.
22000
eda41706
L
220012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22002
22003 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22004 * sysdeps/x86_64/setjmp.S: Likewise.
22005
9ea01d93
AZ
220062012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22007
22008 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22009 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22010 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22011 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22012 remove unused global constant.
22013
02a91938
CM
220142012-05-15 Chris Metcalf <cmetcalf@tilera.com>
22015
22016 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22017 include of <not-cancel.h>.
22018
6540185f
RM
220192012-05-15 Roland McGrath <roland@hack.frob.com>
22020
22021 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22022
509072a0
AJ
220232012-05-15 Jeff Law <law@redhat.com>
22024 Andreas Jaeger <aj@suse.de>
22025
22026 [BZ #13594]
22027 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22028 out from...
22029 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22030 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22031 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22032 code changing __hst_map_handle.map.
22033
ba75122d
RM
220342012-05-15 Roland McGrath <roland@hack.frob.com>
22035
22036 * configure.in (sysnames): Look for Implies-before and Implies-after
22037 files.
22038 * configure: Regenerated.
22039
890d8bd8
L
220402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22041
22042 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22043 8-byte data alignment with LP_SIZE alignment.
22044
f6ee6623
L
220452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22046
22047 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22048 into R10_LP.
22049
ea2626f6
L
220502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22051
22052 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22053
085f715e
L
220542012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22055
22056 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22057 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22058 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22059 Likewise.
22060 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22061
be8498fc
L
220622012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22063
22064 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22065 (stackinfo_sub_sp): Likewise.
22066
70bc83b9
L
220672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22068
22069 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22070 RAX_LP.
22071
9bc0b730
L
220722012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22073
22074 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22075 into R*_LP.
22076
6d2850e7
L
220772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22078
22079 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22080 sizes into R*_LP.
22081
3cb84561
L
220822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22083
22084 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22085
54e2ed81
L
220862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22087
22088 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22089 into R11_LP and load __x86_64_shared_cache_size_half into
22090 R8_LP.
22091
8a17f349
L
220922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22093
22094 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22095 R8_LP.
22096
777b1eea
AZ
220972012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22098
22099 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22100 logb for POWER7.
22101 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22102 logbf for POWER7.
22103 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22104 logbl for POWER7.
22105 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22106 powerpc32/power7/fpu/s_logb.c via #include.
22107 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22108 powerpc32/power7/fpu/s_logbf.c via #include.
22109 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22110 powerpc32/power7/fpu/s_logbl.c via #include.
22111
d20d4ac2
JM
221122012-05-15 Joseph Myers <joseph@codesourcery.com>
22113
22114 * README.libm: Remove file.
22115
6cdef1ab
L
221162012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22117
22118 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22119 count for x32. Use R*_LP and omit operand-size suffix.
22120
0b254d8f
L
221212012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22122
22123 * shlib-versions: Move x86_64-.*-linux.* entries to ...
22124 * sysdeps/x86_64/64/shlib-versions: Here. New file.
22125 * sysdeps/x86_64/x32/shlib-versions: New file.
22126
ceb809dc
RM
221272012-05-14 Roland McGrath <roland@hack.frob.com>
22128
22129 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22130 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22131 Use _dl_fatal_printf instead.
22132
37f1abd4
JM
221332012-05-14 Joseph Myers <joseph@codesourcery.com>
22134
22135 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22136 set if not set by the user. Do not allow for being unset.
22137 * sysdeps/unix/sysv/linux/configure: Regenerated.
22138
11de3a33
L
221392012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22140
22141 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22142 the `q' suffix from lea and replace .quad with ASM_ADDR.
22143
e02f153a
L
221442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22145
22146 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22147 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
22148 instead of $17.
22149 (PTR_DEMANGLE): Likewise.
22150
520ae0fd
L
221512012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22152
22153 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22154 (LP_OP): Likewise.
22155 (ASM_ADDR): Likewise.
22156 (RAX_LP): Likewise.
22157 (RBP_LP): Likewise.
22158 (RBX_LP): Likewise.
22159 (RCX_LP): Likewise.
22160 (RDI_LP): Likewise.
22161 (RSI_LP): Likewise.
22162 (RSP_LP): Likewise.
22163 (R8_LP): Likewise.
22164 (R9_LP): Likewise.
22165 (R10_LP): Likewise.
22166 (R10_LP): Likewise.
22167 (R11_LP): Likewise.
22168 (R12_LP): Likewise.
22169 (R13_LP): Likewise.
22170 (R14_LP): Likewise.
22171 (R15_LP): Likewise.
22172
b985be81
L
221732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22174
22175 * sysdeps/x86_64/x32/dl-machine.h: New file.
22176
6a4888ff
AJ
221772012-05-14 Andreas Jaeger <aj@suse.de>
22178
22179 * manual/Makefile (subdir): Remove export of subdir.
22180 (all): Remove target.
22181 (.PHONY): Remove all from list.
22182 (mkinstalldirs): Remove.
22183 (.PHONY): Remove installdirs from list.
22184 ($(inst_infodir)/libc.info): Use make-target-directory.
22185 (installdirs): Remove.
22186 (subdir_%): Remove.
22187 (glibc-targets): Remove.
22188 (lib): Remove.
22189 (stubs): Remove.
22190 ($(objpfx)stubs ../po/manual.pot): Remove.
22191 ($(objpfx)stamp%): Remove.
22192 (make-target-directory): Remove.
22193 (subdir_install): Remove.
22194 (routines): Remove.
22195 (aux): Remove.
22196 (sources): Remove.
22197 (objects): Remove.
22198 (headers): Remove.
22199
22200 [BZ #13750]
22201 * manual/.gitignore: Remove, it's not needed anymore.
22202 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22203 all files in it.
22204 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22205 directory.
22206 (texis): Renamed to $(objpfx)texis.
22207 (texis-path): New, contains path to generated files.
22208 (chapters.%): Use texis-path for complete path, add extra argument
22209 libc-texinfo.sh.
22210 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22211 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22212 (summary,texi, stamp-summary): Use complete path of
22213 files. Generate files in build dir.
22214 (dir-add.texi): Build in build dir.
22215 (libm-err.texi,stamp-libm-err): Likewise.
22216 (version.texi, stamp-version): Likewise.
22217 (.%c.texi): Likewise.
22218 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22219 (mostlyclean): Remove target.
22220 (realclean): Remove target.
22221 (generated): Add new variable with contents from mostlyclean and
22222 realclean, remove entries duplicated in common-mostlyclean, add
22223 stamp-libm-err and stamp-version.
22224 (generated-dirs): Add libc directory.
22225 ($(inst_infodir)/libc.info): Install files from build dir.
22226
22227 * manual/install.texi (Configuring and compiling): Adjust since
22228 the info files are not part of the tar ball anymore.
22229
7ac77294
AJ
222302012-05-14 Andreas Jaeger <aj@suse.de>
22231
22232 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22233 variable.
22234
ffb7875d
JM
222352012-05-14 Joseph Myers <joseph@codesourcery.com>
22236
22237 [BZ #13717]
22238 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22239 to 2.2.0 where earlier.
22240 * sysdeps/unix/sysv/linux/configure: Regenerated.
22241 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22242 Remove conditional code.
22243 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22244 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22245 Remove conditional code.
22246 [!__NR_lchown]: Likewise.
22247 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22248 [__NR_lchown]: Likewise.
22249 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22250 comment referencing __ASSUME_LCHOWN_SYSCALL.
22251 * sysdeps/unix/sysv/linux/i386/sigaction.c
22252 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22253 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22254 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22255 Remove conditional code.
22256 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22257 (__protocol_available): Remove #if 0 code.
22258 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22259 conditional code.
22260 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22261 * sysdeps/unix/sysv/linux/kernel-features.h
22262 (__ASSUME_GETCWD_SYSCALL): Don't define.
22263 (__ASSUME_REALTIME_SIGNALS): Likewise.
22264 (__ASSUME_PREAD_SYSCALL): Likewise.
22265 (__ASSUME_PWRITE_SYSCALL): Likewise.
22266 (__ASSUME_POLL_SYSCALL): Likewise.
22267 (__ASSUME_LCHOWN_SYSCALL): Likewise.
22268 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22269 non-SPARC.
22270 (__ASSUME_SIOCGIFNAME): Don't define.
22271 (__ASSUME_MSG_NOSIGNAL): Likewise.
22272 (__ASSUME_SENDFILE): Define unconditionally.
22273 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22274 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22275 conditional code.
22276 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22277 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22278 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22279 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22280 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22281 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22282 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22284 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22285 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22287 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22288 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22290 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22291 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22293 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22294 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22296 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22297 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22299 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22300 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22302 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22303 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22305 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22306 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22307 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22308 Remove conditional code.
22309 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22310 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22311 Remove conditional code.
22312 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22313 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22314 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22315 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22316 Remove conditional code.
22317 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22318 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22319 Remove conditional code.
22320 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22321 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22322 Remove conditional code.
22323 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22324 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22325 Remove conditional code.
22326 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22327 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22328 Remove conditional code.
22329 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22330 * sysdeps/unix/sysv/linux/sh/pwrite64.c
22331 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22332 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22333 * sysdeps/unix/sysv/linux/sigaction.c
22334 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22335 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22336 * sysdeps/unix/sysv/linux/sigpending.c
22337 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22338 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22339 * sysdeps/unix/sysv/linux/sigprocmask.c
22340 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22341 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22342 * sysdeps/unix/sysv/linux/sigsuspend.c
22343 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22344 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22345 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22346 (__libc_missing_rt_sigs): Remove.
22347 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22348 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22349 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22350 Remove conditional code.
22351 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22352 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22353 return 1.
22354 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22355 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22356 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22357 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22358
1bfb7291
AJ
223592012-05-14 Andreas Jaeger <aj@suse.de>
22360
caae5a81
AJ
22361 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22362 it's not used in glibc.
22363 (__coshm1): Likewise.
22364 (__acosh1p): Likewise.
22365 (__sgn): Likewise.
22366
1bfb7291
AJ
22367 * manual/string.texi (Copying and Concatenation): Add missing
22368 variable in concat example.
22369 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22370
c044d724
L
223712012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22372
144c5467 22373 [BZ #14103]
c044d724
L
22374 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22375 __builtin_clzl with __builtin_clzll.
22376
2523c62b
L
223772012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22378
22379 [BZ #14104]
22380 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22381 libc_freeres_ptr.
22382
d7bb4c42
LD
223832012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22384
22385 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22386 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22387 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22388 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22389
9dc4e1fb
MF
223902012-05-14 Mike Frysinger <vapier@gentoo.org>
22391
22392 * NEWS: Update ia64 info.
22393
c7df0112
AS
223942012-05-12 Andreas Schwab <schwab@linux-m68k.org>
22395
22396 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22397 used as bcopy.
22398
dc70356c
TS
223992012-05-12 Thomas Schwinge <thomas@codesourcery.com>
22400
22401 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
22402 * sysdeps/unix/syscalls.list (dup3): Likewise.
22403 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
22404 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
22405
9fb1a21f
L
224062012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22407
22408 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22409 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22410
4822a2a5
L
224112012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22412
22413 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
22414 thread pointer.
22415 (TLS_IE): Use mov/add instead of movq/addq to load thread
22416 pointer.
22417 (TLS_GD_PREFIX): New.
22418 (TLS_GD): Use it.
22419
842b81d6
DM
224202012-05-11 David S. Miller <davem@davemloft.net>
22421
22422 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22423 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22424 (_FPU_SETCW): Likewise.
22425
1cf463cd
L
224262012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22427
22428 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22429 is 32-byte aligned.
22430
60cc4a18
AS
224312012-05-11 Andreas Schwab <schwab@linux-m68k.org>
22432
22433 [BZ #11837]
22434 * iconvdata/gb18030.c: Update tables.
22435 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
22436 characters specially.
22437 (BODY for TO_LOOP): Add encoding of missing ranges.
22438
febb44a4
TS
224392012-05-11 Thomas Schwinge <thomas@codesourcery.com>
22440
22441 [BZ #13673]
22442 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22443 * sysdeps/mach/hurd/dup3.c: Likewise.
22444 * sysdeps/mach/hurd/readlinkat.c: Likewise.
22445 * sysdeps/powerpc/memmove.c:: Likewise.
22446
0a10fb9e
L
224472012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22448
22449 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22450 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22451
df8a552f
L
224522012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22453
22454 * elf/elf.h (R_X86_64_RELATIVE64): New.
22455 (R_X86_64_NUM): Updated.
22456 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22457 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
22458 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22459 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22460 tst-quad1pie tst-quad2pie
22461 (modules-names): Add tst-quadmod1 tst-quadmod2.
22462 ($(objpfx)tst-quad1): New dependency.
22463 ($(objpfx)tst-quad2): Likewise.
22464 ($(objpfx)tst-quad1pie): Likewise.
22465 ($(objpfx)tst-quad2pie): Likewise.
22466 * sysdeps/x86_64/tst-quad1.c: New file.
22467 * sysdeps/x86_64/tst-quad1pie.c: New file.
22468 * sysdeps/x86_64/tst-quad2.c: Likewise.
22469 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22470 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22471 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22472 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22473 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22474
f34d6f84
ST
224752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22476
f42d41d1
ST
22477 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22478 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22479 * streams/stropts.h (t_scalar_t): Define type.
22480
3c3571fc
ST
22481 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22482 (_PATH_PRESERVE): Set to "/var/lib".
22483 (_PATH_RWHODIR): Set to "/var/spool/rwho".
22484
61f06bd3
ST
22485 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22486 instead of int.
22487
918d4d71
ST
22488 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22489 if __dir_mkfile succeeded.
22490
f34d6f84
ST
22491 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22492 checking for _hurd_dtablesize. Unlock it right after having
22493 finished _hurd_dtable allocation.
22494
10589b4a
TS
224952012-05-10 Thomas Schwinge <thomas@schwinge.name>
22496
674cdbc7
TS
22497 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22498 * sysdeps/mach/hurd/configure: Regenerated.
22499 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22500 special-casing to...
22501 * sysdeps/gnu/configure.in: ... this new file.
22502 * sysdeps/unix/sysv/linux/configure: Regenerated.
22503 * sysdeps/gnu/configure: New generated file.
22504
8e41b99f
TS
22505 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22506 for Linux: use nsec instead of usec, as well as:
22507 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22508 members of type struct timespec.
22509 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22510 New macros.
22511 (struct stat64): Likewise.
22512 (_STATBUF_ST_NSEC): New macro.
22513 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22514
10589b4a
TS
22515 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22516 __strtoul_internal rather than strtoul.
22517
63643c85
PT
225182012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22519
22520 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22521 and reject them.
22522
3faebe6a
ST
225232012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22524
22525 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22526 which preserves existing values.
22527 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22528
c6474b07
PT
225292012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22530
22531 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22532 TIMEOUT values. Return EINVAL for NFDS values either negative or
22533 greater than FD_SETSIZE.
22534
1043890b
ST
225352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22536
22537 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22538 allocated, call __vm_protect to finish enabling the existing space, and
22539 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22540 allocate the remainder.
22541
37ed8b9b
PT
225422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22543
22544 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22545 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
22546
db653660
ST
225472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22548
37ed8b9b
PT
22549 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22550 sysdeps/mach/hurd/readlink.c.
b29d4053 22551
db653660
ST
22552 * posix/tst-sysconf.c (posix_options): Only use
22553 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22554 _POSIX_SYNCHRONIZED_IO when they are defined
22555 * sysdeps/mach/hurd/bits/posix_opt.h:
22556 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22557 (_XOPEN_REALTIME): Undefine macro.
22558 (_XOPEN_REALTIME_THREADS): Undefine macro.
22559 (_XOPEN_SHM): Undefine macro.
22560 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22561 macro to -1.
22562 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22563 macro to -1.
22564 (_POSIX_ASYNC_IO): Undefine macro.
22565 (_POSIX_PRIORITIZED_IO): Undefine macro.
22566 (_POSIX_SPIN_LOCKS): Define macro to -1.
22567
ee16e894
ST
22568 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22569 SA_NODEFER, SA_RESETHAND.
22570 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22571 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22572 F_DUPFD_CLOEXEC.
22573
6103ae3b
TS
225742012-05-10 Thomas Schwinge <thomas@schwinge.name>
22575
22576 * elf/Makefile (pldd-modules): Define unconditionally.
22577
80b4e5f3
TS
225782012-05-10 Thomas Schwinge <thomas@schwinge.name>
22579
22580 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22581
edadcbd6
ST
225822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22583
22584 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22585 Return ENOENT when name is empty.
22586 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22587
80694780
TS
225882012-05-10 Thomas Schwinge <thomas@schwinge.name>
22589
1792c087
TS
22590 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22591
80694780
TS
22592 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22593
6b645f0d
ST
225942012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22595
80694780
TS
22596 Fix mlock in all cases except non-readable pages.
22597 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22598 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 22599
6b645f0d
ST
22600 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22601 (__mkdir): When path is `/', just fail with EEXIST.
22602 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22603
e468f8a3
TS
226042012-05-10 Thomas Schwinge <thomas@schwinge.name>
22605
22606 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22607 <sys/uio.h> (for writev).
22608 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22609 and <sys/param.h> (for MIN).
22610
a4186cff
PT
226112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22612
22613 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22614 REQUESTED_TIME. Properly set the remaining time and return EINTR
22615 if interrupted.
22616
510bbf14
TS
226172012-05-10 Thomas Schwinge <thomas@schwinge.name>
22618
22619 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22620 Depend on against $(link-rpcuserlibs).
22621
5d5722e8
ST
226222012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22623
a4186cff
PT
22624 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22625 (__libc_stack_end): Do not use attribute_relro.
22626 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22627 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 22628 to libthread-provided value.
a4186cff
PT
22629 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22630 attribute_relro.
5d5722e8 22631
37233df9
TS
226322012-05-10 Thomas Schwinge <thomas@schwinge.name>
22633
be971a2b
TS
22634 [BZ #3748]
22635 * bits/libc-lock.h (__libc_once_get): New macro.
22636 * sysdeps/mach/bits/libc-lock.h: Likewise.
22637 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22638 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22639 instead of using implementation details.
22640
37233df9
TS
22641 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22642 * libio/freopen.c: Likewise.
22643 * libio/freopen64.c: Likewise.
22644 * misc/syslog.c: Likewise.
22645 * nscd/connections.c: Likewise.
22646 * nscd/netgroupcache.c: Likewise.
22647 * sysdeps/posix/getcwd.c: Likewise.
22648
38de94a5
RM
226492012-05-10 Roland McGrath <roland@hack.frob.com>
22650
22651 * math/w_ilogbf.c: Add #include <limits.h>.
22652
67530489
ST
226532012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22654
a4186cff 22655 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
22656 path instead of returning without unlocking.
22657
67530489
ST
22658 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22659 immediate-write ioctls.
22660 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22661
5aa3a74a
TS
226622012-05-10 Thomas Schwinge <thomas@schwinge.name>
22663
18bad2ae
TS
22664 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22665 __builtin_frame_address instead of making assumptions about the
22666 location of the return address relative to DATA. Force early load of
22667 the return address.
22668 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22669 __builtin_frame_address.
22670
5aa3a74a
TS
22671 dup3 for GNU Hurd.
22672 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22673 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22674 implement dup3 and do some further code clean-ups.
22675 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22676 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22677
ecd0de9a
ST
226782012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22679
cd9fa985
ST
22680 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22681
a4186cff
PT
22682 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22683 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22684 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22685 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22686 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22687 d->port.lock.
802ca5a5 22688
a4186cff
PT
22689 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22690 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22691 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 22692
bcf55240
TS
226932012-05-10 Thomas Schwinge <thomas@schwinge.name>
22694
6960eb42
TS
22695 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22696 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22697 definitions.
22698
eb43375f
TS
22699 accept4 for GNU Hurd.
22700 * include/sys/socket.h (__libc_accept4): New prototype.
22701 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22702 to implement __libc_accept4.
22703 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22704 __libc_accept4.
22705 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22706
bcf55240
TS
22707 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22708 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22709 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22710 signal-defines.sym.
22711
6178c55b
ST
227122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22713
a4186cff 22714 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 22715
6f080c2f
TS
227162012-05-10 Thomas Schwinge <thomas@schwinge.name>
22717
22718 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22719 assertion on O_CLOEXEC flag.
22720 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22721 * hurd/intern-fd.c: Likewise.
22722 * hurd/port2fd.c: Likewise.
22723
bcfe3a54
ST
227242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22725
22726 [BZ #3906]
22727 * bits/in.h (IPV6_PKTINFO): Define new macro.
22728 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22729
89c9aa49
AZ
227302012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22731
22732 [BZ #13954]
22733 [BZ #13955]
22734 [BZ #13956]
22735 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22736 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22737 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22738 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22739 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22740 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22741 * math/libm-test.inc (logb_test) : Additional logb tests.
22742
021db4be
AJ
227432012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22744 Andreas Jaeger <aj@suse.de>
22745
22746 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22747 * configure: Regenerated.
22748 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22749 * config.make.in (link-obsolete-rpc): New substituted variable.
22750 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22751 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22752 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22753 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22754 so that libc.a contains the symbols.
22755 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22756 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22757 * sunrpc/auth_none.c: Likewise.
22758 * sunrpc/auth_unix.c: Likewise.
22759 * sunrpc/authdes_prot.c: Likewise.
22760 * sunrpc/authuxprot.c: Likewise.
22761 * sunrpc/clnt_gen.c: Likewise.
22762 * sunrpc/clnt_perr.c: Likewise.
22763 * sunrpc/clnt_raw.c: Likewise.
22764 * sunrpc/clnt_simp.c: Likewise.
22765 * sunrpc/clnt_tcp.c: Likewise.
22766 * sunrpc/clnt_udp.c: Likewise.
22767 * sunrpc/clnt_unix.c: Likewise.
22768 * sunrpc/des_crypt.c: Likewise.
22769 * sunrpc/des_soft.c: Likewise.
22770 * sunrpc/get_myaddr.c: Likewise.
22771 * sunrpc/key_call.c: Likewise.
22772 * sunrpc/key_prot.c: Likewise.
22773 * sunrpc/netname.c: Likewise.
22774 * sunrpc/pm_getmaps.c: Likewise.
22775 * sunrpc/pm_getport.c: Likewise.
22776 * sunrpc/pmap_clnt.c: Likewise.
22777 * sunrpc/pmap_prot.c: Likewise.
22778 * sunrpc/pmap_prot2.c: Likewise.
22779 * sunrpc/pmap_rmt.c: Likewise.
22780 * sunrpc/publickey.c: Likewise.
22781 * sunrpc/rpc_cmsg.c: Likewise.
22782 * sunrpc/rpc_common.c: Likewise.
22783 * sunrpc/rpc_dtable.c: Likewise.
22784 * sunrpc/rpc_prot.c: Likewise.
22785 * sunrpc/rpc_thread.c: Likewise.
22786 * sunrpc/rtime.c: Likewise.
22787 * sunrpc/svc.c: Likewise.
22788 * sunrpc/svc_auth.c: Likewise.
22789 * sunrpc/svc_raw.c: Likewise.
22790 * sunrpc/svc_run.c: Likewise.
22791 * sunrpc/svc_tcp.c: Likewise.
22792 * sunrpc/svc_udp.c: Likewise.
22793 * sunrpc/svc_unix.c: Likewise.
22794 * sunrpc/svcauth_des.c: Likewise.
22795 * sunrpc/xcrypt.c: Likewise.
22796 * sunrpc/xdr.c: Likewise.
22797 * sunrpc/xdr_array.c: Likewise.
22798 * sunrpc/xdr_float.c: Likewise.
22799 * sunrpc/xdr_intXX_t.c: Likewise.
22800 * sunrpc/xdr_mem.c: Likewise.
22801 * sunrpc/xdr_rec.c: Likewise.
22802 * sunrpc/xdr_ref.c: Likewise.
22803 * sunrpc/xdr_sizeof.c: Likewise.
22804 * sunrpc/xdr_stdio.c: Likewise.
22805
b5c086a2
RM
228062012-05-10 Roland McGrath <roland@hack.frob.com>
22807
22808 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22809 change. Update copyright years.
22810
6d74dd09
JM
228112012-05-10 Joseph Myers <joseph@codesourcery.com>
22812
22813 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22814
28e72501
MK
228152012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22816 Joseph Myers <joseph@codesourcery.com>
22817 Paul Pluzhnikov <ppluzhnikov@google.com>
22818
22819 [BZ #14012]
22820 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22821 requiring rpcgen.
22822 [cross-compiling] (extra-libs): Likewise.
22823 [cross-compiling] (extra-libs-others): Likewise.
22824 [cross-compiling] (librpcsvc-routines): Likewise.
22825 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22826 [cross-compiling] (omit-deps): Likewise.
22827 (sunrpc-CPPFLAGS): New variable.
22828 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22829 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22830 (cross-rpcgen-objs): New variable.
22831 (extra-objs): Append $(cross-rpcgen-objs).
22832 ($(cross-rpcgen-objs)): New rule.
22833 ($(objpfx)cross-rpcgen): Likewise.
22834 (rpcgen-cmd): Define to use $(built-program-file). Expand
22835 comment.
22836 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22837 ($(objpfx)x%.stmp): Likewise.
22838 * sunrpc/proto.h [IS_IN_build] (_): Define.
22839 [IS_IN_build] (_libc_intl_domainname): Likewise.
22840
c8c59454
L
228412012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22842
22843 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22844 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22845 and R_X86_64_TPOFF64.
22846
6f27cd16
JM
228472012-05-10 Joseph Myers <joseph@codesourcery.com>
22848
22849 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22850 sysdeps/unix/sysv/syscalls.list.
22851 (stime): Likewise.
22852 (utime): Likewise.
22853 * sysdeps/unix/sysv/syscalls.list: Remove file.
22854
02467e1c
PE
228552012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22856
22857 [BZ #3440]
22858 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22859 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22860 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22861 (__LC_IDENTIFICATION): Make these macros useful in #if
22862 expressions, as required by C99.
22863
da392631
AS
228642012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22865
22866 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22867 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22868 after this.
22869
8115f29b
L
228702012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22871
22872 * stdlib/longlong.h: Updated from GCC.
22873
bdd74070
AJ
228742012-05-09 Andreas Jaeger <aj@suse.de>
22875
edfe0dbe
AJ
22876 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22877 default is first entry.
22878 (run_mode): Set type.
22879 (main): Remove informal message about syslog.
22880 (options): Fix typo.
22881
bcfe3a54
ST
22882 [BZ #14053]
22883 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 22884 to asm.
bcfe3a54
ST
22885 (lrint): Likewise.
22886 (llrintf): Likewise.
22887 (llrint): Likewise.
22888 (rint): Likewise.
22889 (rintf): Likewise.
22890 (nearbyint): Likewise.
22891 (nearbyintf): Likewise.
bdd74070 22892
91d8d69e
AJ
228932012-05-09 Andreas Jaeger <aj@suse.de>
22894 Pedro Alves <palves@redhat.com>
22895
22896 * nscd/nscd.c (run_mode): Use enum.
22897 (main): Cleanup coding style issue.
22898
bb90b80b
AJ
228992012-05-09 Alexandre Oliva <aoliva@redhat.com>
22900 Andreas Jaeger <aj@suse.de>
22901
bcfe3a54
ST
22902 * nscd/nscd.c (go_background): Replaced with...
22903 (run_mode): ... this.
bb90b80b 22904 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
22905 (options): Add -F --foreground.
22906 (main): Implement it.
22907 (parse_opt): Parse it.
bb90b80b 22908
1a4b75a1
AJ
229092012-05-09 Andreas Jaeger <aj@suse.de>
22910
22911 [BZ #14083]
22912 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22913 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22914 -Wconversion warning.
22915 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22916 Likewise.
22917
b1cc2472
JM
229182012-05-09 Joseph Myers <joseph@codesourcery.com>
22919
22920 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22921 == 0.
22922 (LC_ALL): Use macro-int-constant.
22923 (LC_COLLATE): Likewise.
22924 (LC_CTYPE): Likewise.
22925 (LC_MESSAGES): Likewise.
22926 (LC_MONETARY): Likewise.
22927 (LC_NUMERIC): Likewise.
22928 (LC_TIME): Likewise.
22929 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22930 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22931 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22932 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22933 Specify type.
22934 [C99-based standards] (float_t): Expect type.
22935 [C99-based standards] (double_t): Expect type.
22936 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
22937 type.
22938 [C99-based standards] (HUGE_VALL): Likewise.
22939 [C99-based standards] (INFINITY): Likewise.
22940 [C99-based standards] (NAN): Likewise.
22941 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22942 [C99-based standards] (FP_NAN): Likewise.
22943 [C99-based standards] (FP_NORMAL): Likewise.
22944 [C99-based standards] (FP_SUBNORMAL): Likewise.
22945 [C99-based standards] (FP_ZERO): Likewise.
22946 [C99-based standards] (FP_FAST_FMA): Use
22947 optional-macro-int-constant. Specify type. Require == 1.
22948 [C99-based standards] (FP_FAST_FMAF): Likewise.
22949 [C99-based standards] (FP_FAST_FMAL): Likewise.
22950 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22951 [C99-based standards] (FP_ILOGBNAN): Likewise.
22952 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22953 Specify type.
22954 [C99-based standards] (MATH_ERREXCEPT): Likewise.
22955 [C99-based standards] (math_errhandling): Specify type.
22956 [ISO99 || ISO11] (signgam): Do not allow.
22957 [non-C99-based standards] (copysignf): Do not allow.
22958 [non-C99-based standards] (exp2f): Likewise.
22959 [non-C99-based standards] (log2f): Likewise.
22960 [non-C99-based standards] (modff): Allow.
22961 [non-C99-based standards] (erff): Do not allow.
22962 [non-C99-based standards] (erfcf): Likewise.
22963 [non-C99-based standards] (gammaf): Likewise.
22964 [non-C99-based standards] (hypotf): Likewise.
22965 [non-C99-based standards] (j0f): Likewise.
22966 [non-C99-based standards] (j1f): Likewise.
22967 [non-C99-based standards] (jnf): Likewise.
22968 [non-C99-based standards] (lgammaf): Likewise.
22969 [non-C99-based standards] (tgammaf): Likewise.
22970 [non-C99-based standards] (y0f): Likewise.
22971 [non-C99-based standards] (y1f): Likewise.
22972 [non-C99-based standards] (ynf): Likewise.
22973 [non-C99-based standards] (isnanf): Likewise.
22974 [non-C99-based standards] (acoshf): Likewise.
22975 [non-C99-based standards] (asinhf): Likewise.
22976 [non-C99-based standards] (atanhf): Likewise.
22977 [non-C99-based standards] (cbrtf): Likewise.
22978 [non-C99-based standards] (expm1f): Likewise.
22979 [non-C99-based standards] (ilogbf): Likewise.
22980 [non-C99-based standards] (log1pf): Likewise.
22981 [non-C99-based standards] (logbf): Likewise.
22982 [non-C99-based standards] (nextafterf): Likewise.
22983 [non-C99-based standards] (remainderf): Likewise.
22984 [non-C99-based standards] (rintf): Likewise.
22985 [non-C99-based standards] (scalbf): Likewise.
22986 [non-C99-based standards] (copysignl): Likewise.
22987 [non-C99-based standards] (exp2l): Likewise.
22988 [non-C99-based standards] (log2l): Likewise.
22989 [non-C99-based standards] (modfl): Allow.
22990 [non-C99-based standards] (erfl): Do not allow.
22991 [non-C99-based standards] (erfcl): Likewise.
22992 [non-C99-based standards] (gammal): Likewise.
22993 [non-C99-based standards] (hypotl): Likewise.
22994 [non-C99-based standards] (j0l): Likewise.
22995 [non-C99-based standards] (j1l): Likewise.
22996 [non-C99-based standards] (jnl): Likewise.
22997 [non-C99-based standards] (lgammal): Likewise.
22998 [non-C99-based standards] (tgammal): Likewise.
22999 [non-C99-based standards] (y0l): Likewise.
23000 [non-C99-based standards] (y1l): Likewise.
23001 [non-C99-based standards] (ynl): Likewise.
23002 [non-C99-based standards] (isnanl): Likewise.
23003 [non-C99-based standards] (acoshl): Likewise.
23004 [non-C99-based standards] (asinhl): Likewise.
23005 [non-C99-based standards] (atanhl): Likewise.
23006 [non-C99-based standards] (cbrtl): Likewise.
23007 [non-C99-based standards] (expm1l): Likewise.
23008 [non-C99-based standards] (ilogbl): Likewise.
23009 [non-C99-based standards] (log1pl): Likewise.
23010 [non-C99-based standards] (logbl): Likewise.
23011 [non-C99-based standards] (nextafterl): Likewise.
23012 [non-C99-based standards] (remainderl): Likewise.
23013 [non-C99-based standards] (rintl): Likewise.
23014 [non-C99-based standards] (scalbl): Likewise.
23015 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23016 [non-C99-based standards] (FP_*): Do not allow.
23017 [C99-based standards] (FP_*): Change to
23018 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23019 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23020 allow.
23021 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23022 (SIG_ERR): Likewise.
23023 [X/Open-based standards] (SIG_HOLD): Likewise.
23024 (SIG_IGN): Likewise.
23025 (SIGABRT): Use macro-int-constant. Specify type. Require
23026 positive value.
23027 (SIGFPE): Likewise.
23028 (SIGILL): Likewise.
23029 (SIGINT): Likewise.
23030 (SIGSEGV): Likewise.
23031 (SIGTER): Likewise.
23032 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23033 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23034 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23035 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23036 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23037 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23038 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23039 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23040 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23041 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23042 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23043 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23044 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23045 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23046 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23047 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23048 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23049 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23050 [X/Open-based standards] (SIGTRAP): Likewise.
23051 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23052 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23053 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23054 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23055 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23056 allow.
23057
b9f1922d
IW
230582012-05-08 Ian Wienand <ianw@vmware.com>
23059
23060 [BZ #14080]
23061 * time/tzset.c (__tzset_parse_tz): Update default rules for
23062 daylight time changes in the Energy Policy Act of 2005.
23063
1db86e88
AJ
230642012-05-09 Andreas Jaeger <aj@suse.de>
23065
23066 [BZ #13983]
23067 * elf/ldconfig.c (parse_conf): Change string to make clear that
23068 ldconfig only issued a warning if ld.so.conf does not exist.
23069
dee4a4e3
DM
230702012-05-08 David S. Miller <davem@davemloft.net>
23071
ee0db190
DM
23072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23073 movxtod instead of popping the value on the stack.
23074
dee4a4e3
DM
23075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23076
6a43ec98
CD
230772012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
23078
23079 * config.h.in: Add HAVE_ARM_PCS_VFP.
23080
05c2c961
RMG
230812012-05-08 Roland Mc Grath <roland@hack.frob.com>
23082
bcfe3a54
ST
23083 [BZ #13979]
23084 * include/features.h: Warn if user requests __FORTIFY_SOURCE
23085 checking but the checks are disabled for any reason.
05c2c961 23086
4b30f61a
L
230872012-05-08 H.J. Lu <hongjiu.lu@intel.com>
23088
23089 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23090 and ELF64_R_TYPE with ELFW(R_TYPE).
23091
eee2bc67
JM
230922012-05-08 Joseph Myers <joseph@codesourcery.com>
23093
7ea5391a
JM
23094 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23095 (ulimit): Likewise.
23096
eee2bc67
JM
23097 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23098 (settimeofday): Likewise.
23099
abb66a67
MF
231002012-05-08 Mike Frysinger <vapier@gentoo.org>
23101
23102 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
23103 a struct th_u2 inside the union, and move tu_block/tu_code into
23104 a new th_u3 union of tu_block/tu_code inside of that. Move
23105 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
23106 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
23107 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23108 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23109 (th_stuff): Change to th_u1.tu_stuff.
23110 (th_data): Define.
23111 (th_msg): Change to th_u1.th_u2.tu_data.
23112
7f18b530
DM
231132012-05-07 David S. Miller <davem@davemloft.net>
23114
05760585
DM
23115 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23116
7f18b530
DM
23117 [BZ #14074]
23118 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23119 (SETUP_PIC_REG): Use it.
23120 (SETUP_PIC_REG_LEAF): Use it.
23121
495fd99f
JM
231222012-05-07 Joseph Myers <joseph@codesourcery.com>
23123
23124 [BZ #13885]
23125 [BZ #13923]
23126 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23127 USE_AS_EXPM1L.
23128 (EXPL_FINITE): Likewise.
23129 (FLDLOG): Likewise.
23130 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23131 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23132 e_expl.S.
23133 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23134 USE_AS_EXPM1L.
23135 (EXPL_FINITE): Likewise.
23136 (FLDLOG): Likewise.
23137 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23138 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23139 e_expl.S.
23140 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
23141 test of -max_value argument for long double.
23142 * sysdeps/i386/fpu/libm-test-ulps: Update.
23143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23144
6693d694
DM
231452012-05-06 David S. Miller <davem@davemloft.net>
23146
23147 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23148 quad soft-float symbols whose references which are compiler
23149 generated.
23150 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23151
6c23e11c
JM
231522012-05-06 Joseph Myers <joseph@codesourcery.com>
23153
d8b82cad
JM
23154 [BZ #13884]
23155 [BZ #13914]
23156 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23157 USE_AS_EXP10L.
23158 (EXPL_FINITE): Likewise.
23159 (FLDLOG): Likewise.
23160 (c0): Likewise.
23161 (c1): Likewise.
23162 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23163 Adjust comments for base varying.
23164 (__expl_finite): Change alias to EXPL_FINITE.
23165 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23166 e_expl.S.
23167 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23168 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23169 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23170 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23171 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23172 USE_AS_EXP10L.
23173 (EXPL_FINITE): Likewise.
23174 (FLDLOG): Likewise.
23175 (c0): Likewise.
23176 (c1): Likewise.
23177 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23178 Adjust comments for base varying.
23179 (__expl_finite): Change alias to EXPL_FINITE.
23180 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
23181 tests for bugs.
23182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23183
6c23e11c
JM
23184 [BZ #14064]
23185 * math/libm-test.inc (check_float_internal): Correct ulp
23186 calculation for subnormal expected results.
23187
29ba805c
AJ
231882012-05-06 Andreas Jaeger <aj@suse.de>
23189
23190 * Makeconfig (+math-flags): New, set to -frounding-math.
23191 (+cflags): Add +math-flags so that all of glibc gets compiled with
23192 it.
23193
23194 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23195
7b17aeda
JM
231962012-05-05 Joseph Myers <joseph@codesourcery.com>
23197
5779f134
JM
23198 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23199 Disable one test.
23200
41498f4d
JM
23201 [BZ #13787]
23202 [BZ #13922]
23203 [BZ #14036]
23204 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23205 (__ieee754_expl): Allow for and saturate large arguments.
23206 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23207 (u_threshold): Likewise.
23208 (__exp): Call __ieee754_exp before checking for overflow and
23209 underflow.
23210 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23211 (u_threshold): Likewise.
23212 (__expf): Call __ieee754_expf before checking for overflow and
23213 underflow.
23214 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23215 (u_threshold): Likewise.
23216 (__expl): Call __ieee754_expl before checking for overflow and
23217 underflow.
23218 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23219 (__ieee754_expl): Allow for and saturate large arguments.
23220 * math/libm-test.inc (exp_test): Add another test. Do not allow
23221 missing overflow exception on overflow.
23222 (expm1_test): Do not allow missing overflow exception on overflow.
23223
6698b8bf
JM
23224 * sysdeps/i386/fpu/e_expl.c: Move to ...
23225 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
23226 rather than using inline asm.
23227 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23228 * sysdeps/x86_64/fpu/e_expl.S: Copy from
23229 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23230
7b17aeda
JM
23231 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23232 (nice): Likewise.
23233 (poll): Likewise.
23234 (signal): Likewise.
23235 (time): Likewise.
23236 (times): Likewise.
23237
f7c85819
JM
232382012-05-04 Joseph Myers <joseph@codesourcery.com>
23239
23240 * sysdeps/unix/syscalls.list (adjtime): Add entry from
23241 sysdeps/unix/common/syscalls.list.
23242 (fchmod): Likewise.
23243 (fchown): Likewise.
23244 (ftruncate): Likewise.
23245 (getrusage): Likewise.
23246 (gettimeofday): Likewise.
23247 (setpgid): Likewise.
23248 (setregid): Likewise.
23249 (setreuid): Likewise.
23250 (sigaction): Likewise.
23251 (truncate): Likewise.
23252 (vhangup): Likewise.
23253 * sysdeps/unix/common/syscalls.list: Remove file.
23254 * sysdeps/unix/bsd/Implies: Don't include unix/common.
23255 * sysdeps/unix/sysv/linux/Implies: Likewise.
23256
336270d0
L
232572012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23258
23259 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23260 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23261 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23262 Moved to ...
23263 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23264 Here.
23265 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23266 to ...
23267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23268 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23269 to ...
23270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23271 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23272 to ...
23273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23274 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23275 to ...
23276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23277 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23278 to ...
23279 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23280 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23281 to ...
23282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23283 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23284 to ...
23285 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23286 Here.
23287 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23288 to ...
23289 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23290 Here.
23291 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23292 to ...
23293 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23294 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23295 Moved to ...
23296 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23297 Here.
23298 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23299 to ...
23300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23301
d128e450
JM
233022012-05-04 Joseph Myers <joseph@codesourcery.com>
23303
fa8ee516
JM
23304 * sysdeps/unix/common/bits/dirent.h: Remove file.
23305 * sysdeps/unix/common/bits/fcntl.h: Likewise.
23306
d128e450
JM
23307 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23308 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23309 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23310 * sysdeps/unix/bsd/isatty.c: Likewise.
23311 * sysdeps/unix/bsd/tcdrain.c: Likewise.
23312 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23313 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23314
ff8faaf0 233152012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 23316
62881be4 23317 [BZ #13563]
31dc8730
AZ
23318 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23319 long double comparison inaccuracies.
23320 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23321 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23322
6fef930c
AS
233232012-05-04 Andreas Schwab <schwab@linux-m68k.org>
23324
23325 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23326 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23327
8f203e6c
JM
233282012-05-04 Joseph Myers <joseph@codesourcery.com>
23329
23330 [BZ #14049]
23331 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23332 nonzero digits before rounding a hex value.
23333 * stdlib/tst-strtod.c (tests): Add another test.
23334
5197d9c2
AK
233352012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23336
23337 * sysdeps/s390/fpu/libm-test-ulps: Update.
23338
f0c1dedf
AJ
233392012-05-03 Andreas Jaeger <aj@suse.de>
23340
23341 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23342 does not get optimized out.
23343 (malloc_opt_barrier): New.
23344
a65ef2ae 233452012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 23346 Roland McGrath <roland@hack.frob.com>
a65ef2ae 23347
2b942cb7 23348 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 23349 intermediate file deletion.
2b942cb7 23350 (generated): Add .symlist files.
a65ef2ae 23351
54b71e02
JM
233522012-05-03 Joseph Myers <joseph@codesourcery.com>
23353
23354 [BZ #13775]
23355 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23356 Redirect under this condition.
23357 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23358 [__USE_GNU] (__dprintf_chk): Not under this condition.
23359 [__USE_GNU] (__vdprintf_chk): Likewise.
23360 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23361 under this condition.
23362 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23363 [__USE_XOPEN2K8] (dprintf): Define under this condition.
23364 [__USE_XOPEN2K8] (vdprintf): Likewise.
23365 [__USE_GNU] (__dprintf_chk): Not under this condition.
23366 [__USE_GNU] (__vdprintf_chk): Likewise.
23367 [__USE_GNU] (dprintf): Likewise.
23368 [__USE_GNU] (vdprintf): Likewise.
23369
d3dfcc41
RM
233702012-05-03 Roland McGrath <roland@hack.frob.com>
23371
23372 * elf/Makefile (common-generated): Set this instead of generated for
23373 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
23374 $(all-built-dso)-derived lists.
23375
7ac30cc5
AJ
233762012-05-03 Andreas Jaeger <aj@suse.de>
23377
0c51e550
AJ
23378 * sysdeps/i386/fpu/libm-test-ulps: Update.
23379
7ac30cc5
AJ
23380 * FAQ: Removed.
23381 * FAQ.in: Likewise.
23382 * scripts/gen-FAQ.pl: Likewise.
23383 * manual/install.texi (Installation): Point to online location of
23384 FAQ.
23385 * Makefile (files-for-dist): Remove FAQ.
23386 (FAQ): Remove.
23387
d4c2917f
AM
233882012-05-02 Allan McRae <allan@archlinux.org>
23389
23390 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23391 (LDFLAGS-reldepmod5.so): Likewise.
23392 (LDFLAGS-reldep6mod1.so): Likewise.
23393 (LDFLAGS-reldep6mod4.so): Likewise.
23394 (LDFLAGS-reldep8mod3.so): Likewise.
23395 (LDFLAGS-unload4mod1.so): Likewise.
23396 (LDFLAGS-unload4mod2.so): Likewise.
23397 (LDFLAGS-tst-initorder): Likewise.
23398 (LDFLAGS-tst-initordera2.so): Likewise.
23399 (LDFLAGS-tst-initordera3.so): Likewise.
23400 (LDFLAGS-tst-initordera4.so): Likewise.
23401 (LDFLAGS-tst-initorderb2.so): Likewise.
23402 (LDFLAGS-noload): Likewise.
23403 (LDFLAGS-next): Likewise.
23404 (LDFLAGS-order2mod1.so): Likewise.
23405 (LDFLAGS-order2mod2.so): Likewise.
23406 (LDFLAGS-tst-initorder2): Likewise.
23407 (LDFLAGS-tst-initorder2a.so): Likewise.
23408 (LDFLAGS-tst-initorder2b.so): Likewise.
23409 (LDFLAGS-tst-initorder2c.so): Likewise.
23410 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
23411
d77f993f
DM
234122012-05-02 David S. Miller <davem@davemloft.net>
23413
23414 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23415
171a70b4
PP
234162012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
23417
23418 [BZ #14055]
23419 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23420
0be196ad
AJ
234212012-05-02 Andreas Jaeger <aj@suse.de>
23422
23423 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23424 since we manipulate rounding mode.
23425 (CPPFLAGS-test-idouble.c): Likewise.
23426 (CPPFLAGS-test-ifloat.c): Likewise.
23427 (CFLAGS-test-ldouble.c): Likewise.
23428 (CFLAGS-test-double.c): Likewise.
23429 (CFLAGS-test-float.c): Likewise.
23430 (CFLAGS-test-misc.c): Likewise.
23431 (CFLAGS-test-test-fenv.c): Likewise.
23432
4f9d04aa
AZ
234332012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23434
2b942cb7
RM
23435 [BZ #2550]
23436 [BZ #2570]
23437 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23438 comparisons to determine direction to adjust input.
4f9d04aa 23439
82a79e7d
RM
234402012-05-01 Roland McGrath <roland@hack.frob.com>
23441
f5a01ca9
RM
23442 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23443 output to the target.
23444
90fe4186
RM
23445 * scripts/localplt.awk: New file.
23446 * elf/Makefile ($(objpfx)check-localplt): Target removed.
23447 (check-localplt-CFLAGS): Variable removed.
23448 ($(all-built-dso:=.jmprel)): New static pattern rule.
23449 (generated): Add those targets.
23450 (localplt-built-dso): New variable.
23451 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23452
23453 * elf/check-localplt.c: File removed.
23454
82397ed6
RM
23455 * scripts/check-execstack.awk: New file.
23456 * elf/Makefile ($(objpfx)check-execstack): Target removed.
23457 (check-execstack-CFLAGS): Variable removed.
23458 ($(objpfx)check-execstack.h): Target removed.
23459 ($(objpfx)execstack-default): New target.
23460 (generated): Add that instead of check-execstack.h.
23461 ($(all-built-dso:=.phdr)): New static pattern rule.
23462 (generated): Add those targets.
23463 * elf/check-execstack.c: File removed.
23464
82a79e7d
RM
23465 * scripts/check-textrel.awk: New file.
23466 * elf/Makefile ($(objpfx)check-textrel): Target removed.
23467 (check-textrel-CFLAGS): Variable removed.
23468 (all-built-dso): Use := to define.o
23469 ($(all-built-dso:=.dyn)): New static pattern rule.
23470 (generated): Add those targets.
23471 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23472 * config.make.in (READELF): New substituted variable.
23473 * elf/check-textrel.c: File removed.
23474
62fde54f 234752012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 23476
615605c9
JM
23477 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23478 allow.
23479 * conform/data/ctype.h-data [C99-based standards] (isblank):
23480 Expect function.
23481 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23482 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23483 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23484 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23485 Specify type. Require positive value.
23486 (EILSEQ): Likewise.
23487 (ERANGE): Likewise.
23488 [ISO || POSIX] (EILSEQ): Do not expect.
23489 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23490 Specify type. Require positive value.
23491 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23492 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23493 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23494 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23495 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23496 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23497 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23498 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23499 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23500 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23501 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23502 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23503 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23504 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23505 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23506 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23507 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23508 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23509 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23510 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23511 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23512 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23513 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23514 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23515 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23516 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23517 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23518 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23519 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23520 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23521 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23522 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23523 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23524 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23525 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23526 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23527 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23528 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23529 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23530 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23531 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23532 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23533 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23534 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23535 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23536 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23537 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23538 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23539 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23540 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23541 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23542 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23543 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23544 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23545 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23546 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23547 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23548 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23549 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23550 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23551 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23552 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23553 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23554 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23555 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23556 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23557 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23558 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23559 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23560 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23561 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23562 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23563 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23564 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23565 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23566 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23567 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23568 Require >= 2.
23569 (FLT_ROUNDS): Expect as macro, not constant.
23570 (FLT_MANT_DIG): Use macro-int-constant.
23571 (DBL_MANT_DIG): Likewise.
23572 (LDBL_MANT_DIG): Likewise.
23573 (FLT_DIG): Likewise.
23574 (DBL_DIG): Likewise.
23575 (LDBL_DIG): Likewise.
23576 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23577 (DBL_MIN_EXP): Likewise.
23578 (LDBL_MIN_EXP): Likewise.
23579 (FLT_MAX_EXP): Use macro-int-constant.
23580 (DBL_MAX_EXP): Likewise.
23581 (LDBL_MAX_EXP): Likewise.
23582 (FLT_MAX_10_EXP): Likewise.
23583 (DBL_MAX_10_EXP): Likewise.
23584 (LDBL_MAX_10_EXP): Likewise.
23585 (FLT_MAX): Use macro-constant.
23586 (DBL_MAX): Likewise.
23587 (LDBL_MAX): Likewise.
23588 (FLT_EPSILON): Use macro-constant. Give upper bound.
23589 (DBL_EPSILON): Likewise.
23590 (LDBL_EPSILON): Likewise.
23591 (FLT_MIN): Likewise.
23592 (DBL_MIN): Likewise.
23593 (LDBL_MIN): Likewise.
23594 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23595 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23596 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23597 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23598 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23599 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23600 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23601 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23602 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23603 [ISO11] (FLT_TRUE_MIN): Likewise.
23604 [ISO11] (LDBL_TRUE_MIN): Likewise.
23605 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23606 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23607 (SCHAR_MIN): Use macro-int-constant. Specify type.
23608 (SCHAR_MAX): Likewise.
23609 (UCHAR_MAX): Likewise.
23610 (CHAR_MIN): Likewise.
23611 (CHAR_MAX): Likewise.
23612 (MB_LEN_MAX): Use macro-int-constant.
23613 (SHRT_MIN): Use macro-int-constant. Specify type.
23614 (SHRT_MAX): Likewise.
23615 (USHRT_MAX): Likewise.
23616 (INT_MAX): Likewise.
23617 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23618 bound negative.
23619 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23620 bound with "U".
23621 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23622 bound with "L".
23623 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23624 bound negative. Suffix upper bound with "L".
23625 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23626 bound with "UL".
23627 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23628 Specify type.
23629 [C99-based standards] (LLONG_MAX): Likewise.
23630 [C99-based standards] (ULLONG_MAX): Likewise.
23631 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23632 == 0.
23633 [ISO11] (max_align_t): Require type.
23634 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23635
c9140a62
JM
23636 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23637 from $CFLAGS, without defining away __attribute__ calls.
23638 (checknamespace): Use $CFLAGS_namespace.
23639
9af0bf29
JM
23640 * conform/conformtest.pl (@keywords): Only include C99 keywords
23641 for standards based on C99 or C11.
23642
343222a2
JM
23643 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23644 Disable tests.
23645 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23646 UNIX98]: Likewise.
23647
661f8cf0
JM
23648 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23649 usability of symbols in #if.
23650
ee74b9cb
JM
23651 * conform/conformtest.pl: If macro or constant types start
23652 "promoted:", expect the symbol to be of the following type
23653 promoted by the integer promotions.
62fde54f 23654
aafc49b3
JM
23655 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23656 in one place. Also handle "macro-constant".
23657
fefdf574
JM
23658 * conform/conformtest.pl: Only accept expected macro values with
23659 "==". Parse all "macro" lines in one place.
23660 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23661
f2d922fe
JM
23662 * conform/conformtest.pl: Handle braced types on "constant" lines
23663 instead of handling "typed-constant".
23664 * conform/data/signal.h-data: Use "constant" instead of
23665 "typed-constant".
23666
d22956c9
JM
23667 * conform/conformtest.pl: Handle "optional-" at start of lines in
23668 one place rather than duplicating several cases. Handle each
23669 format of "macro" line with initial "optional-".
23670
028e2e38
JM
23671 * conform/conformtest.pl: Only accept expected constant or
23672 optional-constant values with "==". Parse all "constant" lines in
23673 one place. Parse all "optional-constant" lines in one place.
23674 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23675 * conform/data/fmtmsg.h-data: Likewise.
23676 * conform/data/netinet/in.h-data: Likewise.
23677 * conform/data/tar.h-data: Likewise.
23678 * conform/data/limits.h-data: Use "==" form on "constant" and
23679 "optional-constant" lines.
23680
1b8f2850
JM
23681 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23682 Use -std=c99 for XOPEN2K.
23683 (@knownproblems): Remove.
23684 (newtoken): Don't check %isknown.
23685
a05a144b
JM
23686 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23687 Do not expect macro.
23688 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23689 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23690 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23691 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23692 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23693 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23694 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23695 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23696 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23697 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23698 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23699 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23700 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23701 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23702 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23703 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23704 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23705 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23706 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23707 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23708 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23709 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23710 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23711 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23712 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23713 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23714 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23715 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23716 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23717 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23718 [XPG3] (acosh): Likewise.
23719 [XPG3] (asinh): Likewise.
23720 [XPG3] (atanh): Likewise.
23721 [XPG3] (cbrt): Likewise.
23722 [XPG3] (expm1): Likewise.
23723 [XPG3] (ilogb): Likewise.
23724 [XPG3] (log1p): Likewise.
23725 [XPG3] (logb): Likewise.
23726 [XPG3] (nextafter): Likewise.
23727 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23728 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23729 [XPG3] (remainder): Likewise.
23730 [XPG3] (rint): Likewise.
23731 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23732 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23733 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23734 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23735 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23736 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23737 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23738 [UNIX98 || XOPEN2K] (scalb): Expect.
23739 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23740 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23741 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23742 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23743 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23744 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23745 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23746 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23747 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23748 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23749 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23750 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23751 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23752 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23753 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23754 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23755 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23756 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23757 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23758 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23759 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23760 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23761 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23762 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23763 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23764 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23765 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23766 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23767 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23768 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23769 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23770 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23771 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23772 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23773 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23774 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23775 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23776 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23777 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23778 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23779 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23780 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23781 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23782 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23783 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23784 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23785 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23786 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23787 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23788 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23789 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23790 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23791 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23792 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23793 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23794 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23795 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23796 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23797 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23798 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23799 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23800 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23801 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23802 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23803 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23804 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23805 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23806 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23807 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23808 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23809 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23810 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23811 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23812 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23813 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23814 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23815 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23816 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23817 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23818 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23819 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23820 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23821 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23822 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23823 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23824 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23825 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23826 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23827 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23828 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23829 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23830 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23831 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23832 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23833 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23834 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23835 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23836 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23837 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23838 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23839 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23840 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23841 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23842 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23843 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23844 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23845 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23846 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23847 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23848 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23849 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23850 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23851 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23852 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23853 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23854 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23855 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23856 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23857 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23858 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23859 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23860 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23861 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23862 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23863 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23864 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23865 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23866 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23867 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23868 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23869 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23870 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23871 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23872 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23873 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23874 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23875 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23876
73c5ebe3
JM
23877 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23878 _XOPEN_SOURCE_EXTENDED for XPG4.
23879
39c33b6c
JM
23880 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23881
62fde54f
JM
23882 * Makeconfig (localtime): Remove variable.
23883 (inst_localtime-file): Likewise.
23884
0741d64c
AS
238852012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23886
23887 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23888 Update.
23889 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23890 Update.
23891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23892 Update.
23893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23894 Update.
23895 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23896 Update.
23897 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23898 Update.
23899 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23900 Update.
23901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23902 Update.
23903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23904 Update.
23905
7cb029ee
JM
239062012-05-01 Joseph Myers <joseph@codesourcery.com>
23907
23908 [BZ #2550]
23909 [BZ #2570]
23910 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23911 comparisons to determine direction to adjust input.
23912 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23913 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23914 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23915 Likewise.
23916 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23917 Likewise.
23918 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23919 Likewise.
23920 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23921 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23922 Likewise.
23923 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23924 Likewise.
23925 * math/libm-test.inc (nexttoward_test): Add more tests.
23926
412bd966
AS
239272012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23928
23929 [BZ #14040]
23930 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23931 in version GLIBC_2.1, not GLIBC_2.0.
23932 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23933 Likewise.
23934
9568c0c2
JM
239352012-04-30 Joseph Myers <joseph@codesourcery.com>
23936
adfbc8ac
JM
23937 [BZ #13942]
23938 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23939 (1 - x) * (1 + x).
23940 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23941 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23942 * math/libm-test.inc (acos_test): Add more tests.
23943 (asin_test): Likewise.
23944 * sysdeps/i386/fpu/libm-test-ulps: Update.
23945 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23946
5ba3cc69
JM
23947 [BZ #14034]
23948 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23949 of square root.
23950 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23951 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23952 * math/libm-test.inc (acos_test_tonearest): New function.
23953 (acos_test_towardzero): Likewise.
23954 (acos_test_downward): Likewise.
23955 (acos_test_upward): Likewise.
23956 (asin_test_tonearest): Likewise.
23957 (asin_test_towardzero): Likewise.
23958 (asin_test_downward): Likewise.
23959 (asin_test_upward): Likewise.
23960 (main): Call the new functions.
23961 * sysdeps/i386/fpu/libm-test-ulps: Update.
23962 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23963
9568c0c2
JM
23964 [BZ #13884]
23965 [BZ #13924]
23966 * math/e_exp10.c: Include <float.h>.
23967 (__ieee754_exp10): Handle underflow here rather than multiplying
23968 large negative argument by M_LN10.
23969 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
23970 of __ieee754_expf.
23971 * math/e_exp10l.c: Include <float.h>.
23972 (__ieee754_exp10l): Handle underflow here rather than multiplying
23973 large negative argument by M_LN10l.
23974 * math/libm-test.inc (exp10_test): Add another test. Do not allow
23975 spurious overflow exception on underflow.
23976
5ac3ea17
MP
239772012-04-29 Marek Polacek <polacek@redhat.com>
23978
23979 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
23980 (__fortify_function): New macro.
23981 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
23982 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
23983 __extern_always_inline.
23984 * libio/bits/stdio2.h: Likewise.
23985 * libio/bits/stdio.h: Likewise.
23986 * string/string.h: Likewise.
23987 * string/bits/string3.h: Likewise.
23988 * include/stdio.h: Likewise.
23989 * stdlib/bits/stdlib.h: Likewise.
23990 * stdlib/stdlib.h: Likewise.
23991 * rt/bits/mqueue2.h: Likewise.
23992 * rt/mqueue.h: Likewise.
23993 * posix/bits/unistd.h: Likewise.
23994 * posix/unistd.h: Likewise.
23995 * io/bits/poll2.h: Likewise.
23996 * io/bits/fcntl2.h: Likewise.
23997 * io/fcntl.h: Likewise.
23998 * io/sys/poll.h: Likewise.
23999 * misc/bits/syslog.h: Likewise.
24000 * misc/bits/syslog-ldbl.h: Likewise.
24001 * misc/sys/syslog.h: Likewise.
24002 * socket/bits/socket2.h: Likewise.
24003 * socket/sys/socket.h: Likewise.
24004 * debug/tst-chk1.c: Likewise.
24005 * wcsmbs/bits/wchar2.h: Likewise.
24006 * wcsmbs/bits/wchar-ldbl.h: Likewise.
24007 * wcsmbs/wchar.h: Likewise.
24008
ecf0ebfb
AJ
240092012-04-29 Andreas Jaeger <aj@suse.de>
24010
24011 * Makerules (tests): Remove enable-check-abi protection.
24012 (check-abi-warn): Remove.
24013 (check-abi-%): Remove check-abi-warn usage.
24014
24015 * configure.in: Remove check-abi configure option.
24016 * configure: Regenerated.
24017 * config.make.in (enable-check-abi): Remove.
24018
6d5c57fa
AS
240192012-04-28 Andreas Schwab <schwab@linux-m68k.org>
24020
24c5d07e 24021 [BZ #14033]
ded5180a
AS
24022 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24023 double functions to double *_finite functions.
24024
7e0d315d
AS
24025 [BZ #13941]
24026 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24027 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24028 LDBL_MIN_EXP.
24029 * stdio-common/Makefile (tests): Add tst-sprintf3.
24030 * stdio-common/tst-sprintf3.c: New file.
24031
6d5c57fa
AS
24032 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24033 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24034
0749ff8b
JM
240352012-04-28 Joseph Myers <joseph@codesourcery.com>
24036
24037 * conform/conformtest.pl: Remove duplicate typed-constant
24038 handling.
24039
8dbd5d7b
DM
240402012-04-28 David S. Miller <davem@davemloft.net>
24041
24042 * Makerules (%.abilist): Add vpath on sysdep_dirs.
24043 (check-abi-%): Remove AWK script prerequisite and explicit
24044 abilist directory.
24045 (check-abi): Rewrite to just diff the symlist with the abilist.
24046 (config-tls, config-abi-config): Delete, no longer used.
24047 (update-abi-%): Remove AWK script and explicit abilist directory.
24048 (update-abi): Rewrite to simply compare and conditionally copy the
24049 symlist and the sysdep abilist file. Remove update-abi-config
24050 checks.
24051 * abilist/ld.abilist: Remove.
24052 * abilist/libBrokenLocale.abilist: Remove.
24053 * abilist/libanl.abilist: Remove.
24054 * abilist/libcrypt.abilist: Remove.
24055 * abilist/libdl.abilist: Remove.
24056 * abilist/librt.abilist: Remove.
24057 * abilist/libthread_db.abilist: Remove.
24058 * abilist/libutil.abilist: Remove.
24059 * scripts/extract-abilist.awk: Remove.
24060 * scripts/merge-abilist.awk: Remove.
24061 * sysdeps/generic/libcidn.abilist: New file.
24062 * sysdeps/generic/libnss_compat.abilist: New file.
24063 * sysdeps/generic/libnss_db.abilist: New file.
24064 * sysdeps/generic/libnss_dns.abilist: New file.
24065 * sysdeps/generic/libnss_files.abilist: New file.
24066 * sysdeps/generic/libnss_hesiod.abilist: New file.
24067 * sysdeps/generic/libnss_nis.abilist: New file.
24068 * sysdeps/generic/libnss_nisplus.abilist: New file.
24069 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24070 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24071 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24072 file.
24073 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24074 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24075 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24076 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24077 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24078 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24079 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24080 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24081 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24082 file.
24083 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24084 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24085 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24086 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24087 file.
24088 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24089 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24090 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24091 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24092 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24093 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24094 file.
24095 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24096 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24097 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24098 file.
24099 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24100 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24101 New file.
24102 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24103 New file.
24104 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24105 New file.
24106 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24107 New file.
24108 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24109 New file.
24110 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24111 New file.
24112 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24113 New file.
24114 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24115 New file.
24116 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24117 New file.
24118 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24119 New file.
24120 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24121 New file.
24122 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24123 New file.
24124 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24125 New file.
24126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24127 file.
24128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24129 New file.
24130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24131 New file.
24132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24133 file.
24134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24135 New file.
24136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24137 New file.
24138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24139 file.
24140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24141 New file.
24142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24143 New file.
24144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24145 New file.
24146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24147 New file.
24148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24149 New file.
24150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24151 New file.
24152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24154 file.
24155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24156 New file.
24157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24158 file.
24159 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24160 file.
24161 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24162 file.
24163 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24164 file.
24165 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24166 file.
24167 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24168 New file.
24169 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24170 file.
24171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24172 file.
24173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24174 New file.
24175 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24176 file.
24177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24179 file.
24180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24181 New file.
24182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24183 file.
24184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24185 file.
24186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24187 file.
24188 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24189 file.
24190 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24191 file.
24192 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24193 New file.
24194 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24195 file.
24196 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24197 file.
24198 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24199 New file.
24200 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24201 file.
24202 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24203 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24204 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24205 file.
24206 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24207 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24208 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24209 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24210 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24211 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24212 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24213 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24214 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24215 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24218 file.
24219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24220 New file.
24221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24222 file.
24223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24224 file.
24225 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24226 file.
24227 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24228 file.
24229 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24230 file.
24231 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24232 New file.
24233 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24234 New file.
24235 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24236 file.
24237 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24238 New file.
24239 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24240 file.
24241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24243 file.
24244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24245 New file.
24246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24247 file.
24248 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24249 file.
24250 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24251 file.
24252 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24253 file.
24254 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24255 file.
24256 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24257 New file.
24258 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24259 New file.
24260 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24261 file.
24262 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24263 New file.
24264 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24265 file.
24266
41d73a1b
JM
242672012-04-28 Joseph Myers <joseph@codesourcery.com>
24268
24269 * conform/conformtest.pl: Fix typo in handling typed-constant from
24270 allow-header.
24271
28aeeda4
JM
242722012-04-27 Joseph Myers <joseph@codesourcery.com>
24273
adae8f5e
JM
24274 * README: Cut down references to pre-2.6 Linux kernels and
24275 Linuxthreads. Update lists of configurations in libc and ports
24276 and sort alphabetically. Say "or newer" with Linux kernel version
24277 requirements.
24278
28aeeda4
JM
24279 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24280
a462cb63
RA
242812012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24282
24283 [BZ #887]
24284 * math/libm-test.inc (logb_test_downward): New test to expose
24285 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24286 rounding mode.
24287
6ad3493e
JM
242882012-04-27 Joseph Myers <joseph@codesourcery.com>
24289
24290 [BZ #14027]
24291 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24292 to be done.
24293 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24294 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24295
2ce4f015
JM
242962012-04-26 Joseph Myers <joseph@codesourcery.com>
24297
5aeb141a
JM
24298 * sysdeps/unix/i386/brk.S: Remove file.
24299 * sysdeps/unix/i386/dl-brk.S: Likewise.
24300 * sysdeps/unix/i386/pipe.S: Likewise.
24301 * sysdeps/unix/i386/sigreturn.S: Likewise.
24302 * sysdeps/unix/i386/syscall.S: Likewise.
24303 * sysdeps/unix/i386/vfork.S: Likewise.
24304 * sysdeps/unix/i386/wait.S: Likewise.
24305
7143acae
JM
24306 * sysdeps/unix/common/tcsendbrk.c: Move to ...
24307 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24308
2ce4f015
JM
24309 * configure.in (arm*-none*): Do not allow without
24310 --enable-hacker-mode.
24311 (netbsd*): Remove case setting base_os.
24312 (386bsd*): Likewise.
24313 (freebsd*): Likewise.
24314 (bsdi*): Likewise.
24315 (osf*): Likewise.
24316 (sunos*): Likewise.
24317 (ultrix*): Likewise.
24318 (newsos*): Likewise.
24319 (dynix*): Likewise.
24320 (*bsd*): Likewise.
24321 (sysv*): Likewise.
24322 (isc*): Likewise.
24323 (esix*): Likewise.
24324 (sco*): Likewise.
24325 (minix*): Likewise.
24326 (irix4*): Likewise.
24327 (irix6*): Likewise.
24328 (solaris[2-9]*): Likewise.
24329 (none): Likewise.
24330 * configure: Regenerated.
24331
0ac229c8
AZ
243322012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24333
24334 [BZ #11521]
24335 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24336 overflow or cancellation in calculating denominator.
24337 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24338 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24339 down expression to avoid unexpected rounding in newer GCCs.
24340 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24341
33f244f4
DM
243422012-04-26 David S. Miller <davem@davemloft.net>
24343
24344 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24345 long-double compat symbols.
24346 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24347 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24348 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24349 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24350 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24351 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24352 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24353 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24354 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24359
cfa1f3e8
DM
243602012-04-25 David S. Miller <davem@davemloft.net>
24361
24362 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24363 HWCAP_* values only after the memory barriers have been defined.
24364 (atomic_full_barrier): Define.
24365 (atomic_read_barrier): Define.
24366 (atomic_write_barrier): Define.
24367
6e236b92
SP
243682012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24369
24370 * shlib-versions: Add libgcc_s version information.
24371 * sysdeps/generic/libgcc_s.h: Remove.
24372 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24373 libgcc_s.h.
24374 * sysdeps/gnu/unwind-resume.c: Likewise.
24375 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24376
aab39a09
DM
243772012-04-25 David S. Miller <davem@davemloft.net>
24378
24379 * sysdeps/unix/sparc/brk.S: Delete.
24380 * sysdeps/unix/sparc/dl-brk.S: Delete.
24381 * sysdeps/unix/sparc/pipe.S: Delete.
24382 * sysdeps/unix/sparc/sysdep.S: Delete.
24383 * sysdeps/unix/sparc/sysdep.h: Delete.
24384 * sysdeps/unix/sparc/vfork.S: Delete.
24385 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24386 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24387 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24388 ret_ERRVAL, r0, r1, MOVE): Define.
24389 (JUMPTARGET): Remove.
24390 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24391 sysdeps/unix/sparc/sysdep.h
24392 (ENTRY, END): Remove.
24393 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24394
a3cc4f48
JM
243952012-04-25 Joseph Myers <joseph@codesourcery.com>
24396
2ed8cda2
JM
24397 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24398 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24399 -DIS_IN_build.
24400
35d76d59
JM
24401 * timezone/README: Update upstream location and email address for
24402 tzcode and tzdata.
24403 * timezone/zdump.c: Update from tzcode 2012b.
24404 * timezone/zic.c: Likewise.
24405
a3cc4f48
JM
24406 * configure.in (libc_cv_as_needed): Remove test.
24407 * configure: Regenerated.
24408 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
24409 conditional definition.
24410 [$(have-as-needed) != yes] (no-as-needed): Likewise.
24411 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
24412 * config.make.in (have-as-needed): Remove variable.
24413
ceab42c3
SP
244142012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24415 Paul Pluzhnikov <ppluzhnikov@google.com>
24416
24417 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24418 strings correctly.
24419
3ce2865f
CLT
244202012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
24421
24422 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24423 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24424 * sysdeps/sh/strlen.S: Likewise.
24425
f37e0d68
JM
244262012-04-24 Joseph Myers <joseph@codesourcery.com>
24427
ae186e9a
JM
24428 * sysdeps/unix/fork.S: Remove file.
24429 * sysdeps/unix/i386/fork.S: Likewise.
24430 * sysdeps/unix/sparc/fork.S: Likewise.
24431
b96914af
JM
24432 * sysdeps/unix/system.c: Remove file.
24433 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24434
f37e0d68
JM
24435 * sysdeps/unix/getegid.S: Remove file.
24436 * sysdeps/unix/geteuid.S: Likewise.
24437
87ef29ca
RM
244382012-04-24 Roland McGrath <roland@hack.frob.com>
24439
83bcd236
RM
24440 * scripts/check-localplt.awk: New file.
24441 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24442 of diff.
24443 * scripts/data/localplt-generic.data: Add a comment.
24444
87ef29ca
RM
24445 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24446 NODE when __dir_mkfile failed.
24447 * sysdeps/mach/hurd/symlinkat.c: Likewise.
24448 Reported by Ludovic Courtès <ludo@gnu.org>.
24449
e5a6e567
AJ
244502012-04-24 Andreas Jaeger <aj@suse.de>
24451
24452 * Makerules (common-clean): Also remove gen-as-const-headers
24453 files.
24454
c1820385
JM
244552012-04-24 Joseph Myers <joseph@codesourcery.com>
24456
24457 * Makerules (native-compile): Do not change working directory for
24458 build. Use $(OUTPUT_OPTION) in command.
24459 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24460
94e02fc4
AZ
244612012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24462
24463 [BZ #13886]
24464 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24465 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24466 * math/libm-test.inc (floor_test): Add more tests.
24467 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24468
3a533ca3
JM
244692012-04-24 Joseph Myers <joseph@codesourcery.com>
24470
940ab4b3
JM
24471 * sysdeps/unix/getdents.c: Remove file.
24472 * sysdeps/unix/sysv/getdents.c: Likewise.
24473 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24474
90e037bd
JM
24475 * sysdeps/unix/syscalls.list (madvise): Add syscall from
24476 sysdeps/unix/mman/syscalls.list.
24477 (mmap): Likewise.
24478 (mprotect): Likewise.
24479 (msync): Likewise.
24480 (munmap): Likewise.
24481 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24482 * sysdeps/unix/mman/syscalls.list: Remove.
24483 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24484
3a533ca3
JM
24485 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24486 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24487 * configure: Regenerated.
24488 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24489 $(libgcc_s_suffix).
24490 * config.make.in (libgcc_s_suffix): Remove variable.
24491
1ad743de
JM
244922012-04-23 Joseph Myers <joseph@codesourcery.com>
24493
4ad451e2
JM
24494 * sysdeps/unix/sysv/gethostname.c: Move to ...
24495 * sysdeps/posix/gethostname.c: ... here.
24496
5e37ce39
JM
24497 * sysdeps/unix/execve.S: Remove file.
24498
1ad743de
JM
24499 * sysdeps/unix/_exit.S: Remove file.
24500
4e681b5b
AJ
245012012-04-23 Andreas Jaeger <aj@suse.de>
24502
24503 [BZ #13739]
24504 * manual/Makefile: Remove make dist support, there's no
24505 need for a stand-alone documentation tar ball.
24506 (TEXI2DVI): Define always, it's not in Makeconfig.
24507 (dist): Removed.
24508 (tar-it): Removed.
24509 (edition): Removed.
24510 (glibc-doc-$(edition).tar): Removed
24511 (%.Z): Removed.
24512 (%.gz): Removed.
24513 (%.uu): Removed.
24514 (ETAGS): Remove, it's in Makeconfig.
24515 (move-if-change): Remove, it's in Makeconfig.
24516
38686a03 245172012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
24518
24519 [BZ #13970]
24520 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24521 (strtod, strtof, strtold, strtol, strtoul, strtoq)
24522 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24523 (strtod_l, strtof_l, strtold_l): Remove __wur.
24524 It is not necessarily an error to ignore strtol's return value.
24525 One can reliably look at the stored endptr to decide whether
24526 the number had valid syntax.
24527
7c0616fa
AJ
245282012-04-21 Andreas Jaeger <aj@suse.de>
24529
803cb6b7 24530 [BZ #13739]
7c0616fa
AJ
24531 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24532
b0fe253f
JM
245332012-04-21 Joseph Myers <joseph@codesourcery.com>
24534
24535 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24536 * sysdeps/unix/sysv/Versions: Remove file.
24537
8280f22d
MT
245382012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
24539
24540 [BZ #13927]
24541 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24542
75ce411f 245432012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
24544
24545 [BZ #7064]
24546 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24547 version from __vm86.
24548
097d59fa
JM
245492012-04-20 Joseph Myers <joseph@codesourcery.com>
24550
a90f3bcb
JM
24551 * sysdeps/unix/common/lxstat.c: Remove file.
24552 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24553
edc7ea78
JM
24554 * sysdeps/unix/sysv/Makefile: Remove file.
24555
cb78c221
JM
24556 * sysdeps/unix/sysv/direct.h: Remove file.
24557
efa6a45f
JM
24558 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24559 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24560 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24561 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24562 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24563 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24564 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24565
9c9f2d0c
JM
24566 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24567
4541c83b
JM
24568 * sysdeps/unix/xmknod.c: Remove file.
24569 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24570
f5d153a0
JM
24571 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24572
aa746595
JM
24573 * sysdeps/unix/sysv/i386/time.S: Remove file.
24574
cce5905e
JM
24575 * sysdeps/unix/fxstat.c: Remove file.
24576 * sysdeps/unix/xstat.c: Likewise.
24577 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24578
37fa3841
JM
24579 * sysdeps/unix/sysv/sigaction.c: Remove file.
24580
ff1962a3
JM
24581 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24582 (sysdep_headers): Remove variable.
24583 [termio.h not in sysdep_headers] (generated): Likewise.
24584 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24585 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24586 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24587 * sysdeps/unix/sysv/tcflow.c: Likewise.
24588 * sysdeps/unix/sysv/tcflush.c: Likewise.
24589 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24590 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24591 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24592 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24593 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24594
e7740d31
JM
24595 * sysdeps/unix/siglist.c: Remove file.
24596
ee06f18b
JM
24597 * sysdeps/unix/getppid.S: Remove file.
24598
097d59fa
JM
24599 * sysdeps/unix/mkdir.c: Remove file.
24600 * sysdeps/unix/rmdir.c: Likewise.
24601
ff3d51ec
AS
246022012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24603
24604 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24605 ERR_MAX value.
24606 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24607 errlist-compat value.
24608
50f81fd7
DM
246092012-04-18 David S. Miller <davem@davemloft.net>
24610
24611 * sysdeps/generic/memcopy.h (reg_char): Delete.
24612 * debug/strcat_chk.c: Use char, not reg_char.
24613 * debug/strcpy_chk.c: Likewise.
24614 * debug/strncat_chk.c: Likewise.
24615 * debug/strncpy_chk.c: Likewise.
24616 * string/memchr.c: Likewise.
24617 * string/memrchr.c: Likewise.
24618 * string/rawmemchr.c: Likewise.
24619 * string/strcat.c: Likewise.
24620 * string/strchr.c: Likewise.
24621 * string/strchrnul.c: Likewise.
24622 * string/strcmp.c: Likewise.
24623 * string/strcpy.c: Likewise.
24624 * string/strncat.c: Likewise.
24625 * string/strncmp.c: Likewise.
24626 * string/strncpy.c: Likewise.
24627
8ff41c46
WS
246282012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24629
24630 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24631 __builtin_memcopy is called when src and dest ranges are known to not
24632 overlap.
24633
6b652f46
WS
246342012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24635
24636 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24637 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24638 fwd_align_merge macro call.
24639 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24640 bwd_align_merge macro call.
24641 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24642
b282631e
WS
246432012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24644
24645 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24646 bwd_align_merge macros.
24647 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24648 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24649 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24650
95aa737c
DM
246512012-04-18 David S. Miller <davem@davemloft.net>
24652
24653 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24654
7a99a614
AJ
246552012-04-18 Andreas Jaeger <aj@suse.de>
24656
24657 [BZ# 6794]
24658 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24659 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24660 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24661
24662 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24663 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24664 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24665
24666 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24667 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24668 Adjust for changed ldbl-128 files.
24669
24670 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24671 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24672 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24673
e5270c23
DM
246742012-04-17 David S. Miller <davem@davemloft.net>
24675
24676 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24677
fb5e92c9
AS
246782012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24679
24680 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24681 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24682 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24683 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24684 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24685 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24686
76da7265
AZ
246872012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24688
24689 [BZ #6794]
24690 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24691 * math/libm-test.inc: Add ilogb errno and exception tests.
24692 * math/w_ilogb.c: New file: ilogb wrapper.
24693 * math/w_ilogbf.c: New file: ilogbf wrapper.
24694 * math/w_ilogbl.c: New file: ilogbl wrapper.
24695 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24696 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24697 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24698 exception being thrown with 0.0 as argument.
24699 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24700 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24701 exception being thrown with 0.0 as argument.
24702 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24703 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24704 exception being thrown with 0.0 as argument.
24705 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24706 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24707 exception being thrown with 0.0 as argument.
24708 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24709 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 24710 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
24711 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24712 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24713 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24714 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24715 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24716 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24717
0396e69d
PB
247182012-04-17 Petr Baudis <pasky@ucw.cz>
24719
24720 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24721 with altivec.
24722
750b5926
MP
247232012-04-16 Marek Polacek <polacek@redhat.com>
24724
24725 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24726
751728a1
MP
247272012-04-16 Marek Polacek <polacek@redhat.com>
24728
24729 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24730 operands of fdivp instruction.
24731
34a27407
L
247322012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24733
24734 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24735 * elf/tst-auditmod3b.c: Likewise.
24736 * elf/tst-auditmod4b.c: Likewise.
24737 * elf/tst-auditmod5b.c: Likewise.
24738 * elf/tst-auditmod6b.c: Likewise.
24739 * elf/tst-auditmod6c.c: Likewise.
24740 * elf/tst-auditmod7b.c: Likewise.
24741 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24742 * sysdeps/x86_64/preconfigure.in: Likewise.
24743 * sysdeps/x86_64/preconfigure: Regenerated.
24744
7e73e17d
L
247452012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24746
24747 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24748 __ILP32__.
24749
c7a6ab72
AB
247502012-04-13 Antoine Balestrat <merkil33@gmail.com>
24751
24752 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24753 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24754
a9e8e0e0
CL
247552012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24756
24757 [BZ #13973]
24758 * locale/iso-639.def: Fix gl language name. Spotted by
24759 Yaron Shahrabani.
24760
ec98af7d
RM
247612012-04-12 Roland McGrath <roland@hack.frob.com>
24762
24763 [BZ #2074]
24764 * libio/libio.h (__io_write_fn): Update comment.
24765
247c3ede
PB
247662012-04-12 Petr Baudis <pasky@ucw.cz>
24767
24768 [BZ #2074]
24769 * stdio.texi (Hook Functions): The user provided writer function
24770 is not allowed to return -1.
24771
55939d6d
DM
247722012-04-11 David S. Miller <davem@davemloft.net>
24773
24774 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24775
90020f5a
MF
247762012-04-11 Mike Frysinger <vapier@gentoo.org>
24777
24778 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24779 Add a leading slash to rtkaio.
24780
288f9098
JM
247812012-04-11 Jim Meyering <meyering@redhat.com>
24782
90020f5a
MF
24783 [BZ #11959]
24784 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24785 It is not necessarily an error to ignore fwrite's return
24786 value. One can reliably use ferror to test for errors after
24787 the fact.
288f9098 24788
4be2b570
L
247892012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24790
24791 * bits/types.h (__snseconds_t): New type.
24792 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24793
24794 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24795 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24796 (__SNSECONDS_T_TYPE): Likewise.
24797 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24798 (__SNSECONDS_T_TYPE): Likewise.
24799 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24800 (__SNSECONDS_T_TYPE): Likewise.
24801
288f9098 248022012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
24803
24804 [BZ #2636]
24805 * manual/time.texi (Processor Time): Return type of times is
24806 elapsed real time since an arbitrary point in the past.
24807 (CPU Time): Move CLK_TCK from here...
24808 (Processor Time): ...to here. Correct description.
24809 * manual/conf.texi (Constants for Sysconf): Correct description of
24810 _SC_CLK_TCK.
24811
d7dd4413
DM
248122012-04-10 David S. Miller <davem@davemloft.net>
24813
24814 [BZ #13967]
24815 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24816 where the is a gap between DT_REL(A) and DT_JMPREL.
24817
b46068fc
L
248182012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24819
24820 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24821 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24822 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24823
73d65cc3
SP
248242012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24825
24826 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24827 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24828 (dl_main): Handle --inhibit-cache.
24829 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24830 _dl_inhibit_cache.
24831 * elf/dl-load.c (_dl_map_object): Use it.
24832 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24833
bcc8d661
JM
248342012-04-09 Joseph Myers <joseph@codesourcery.com>
24835
8f9a2fae
JM
24836 [BZ #13872]
24837 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24838 (__ieee754_powl): Saturate large exponents rather than testing for
24839 overflow of y*log2(x).
24840 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24841 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24842 exceptions.
24843
bcc8d661
JM
24844 [BZ #11521]
24845 * math/s_ctan.c: Include <float.h>.
24846 (__ctan): Avoid internal overflow or cancellation in calculating
24847 denominator.
24848 * math/s_ctanf.c: Likewise.
24849 * math/s_ctanl.c: Likewise.
24850 * math/s_ctanh.c: Likewise.
24851 * math/s_ctanhf.c: Likewise.
24852 * math/s_ctanhl.c: Likewise.
24853 * math/libm-test.inc (ctan_test): Add more tests.
24854 (ctanh_test): Likewise.
24855 * sysdeps/i386/fpu/libm-test-ulps: Update.
24856 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24857
823fbbb4
AJ
248582012-04-09 Andreas Jaeger <aj@suse.de>
24859
03879793
AJ
24860 [BZ #6894]
24861 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24862 is an optional BSD extension.
24863
823fbbb4
AJ
24864 [BZ #10254]
24865 * manual/stdio.texi (Opening Streams): Document additional fopen
24866 parameters.
24867
8de131cb
RM
248682012-04-09 Roland McGrath <roland@hack.frob.com>
24869
24870 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24871 %eax without telling the compiler.
24872
c0ed9d7d
CD
248732012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24874
24875 [BZ # 13963]
24876 * manual/install.texi: Use sourceware.org.
24877
c483f6b4
JM
248782012-04-09 Joseph Myers <joseph@codesourcery.com>
24879
d7dd9453
JM
24880 [BZ #13873]
24881 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24882 (__ieee754_pow): Generate overflow and underflow using huge*huge
24883 and tiny*tiny rather than just returning constant infinity or zero
24884 for large exponents.
24885 * math/libm-test.inc (pow_test): Require overflow exceptions for
24886 applicable cases of large exponents.
24887
c483f6b4
JM
24888 [BZ #706]
24889 * sysdeps/i386/fpu/e_pow.S (p10): New object.
24890 (__ieee754_pow): Use iterative multiplication algorithm only for
24891 integer exponents with absolute value below 1024. Check for odd
24892 integer exponents when using algorithm for real exponents.
24893 * math/libm-test.inc (pow_test): Add more tests.
24894 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24895
d2de7579
JM
248962012-04-08 Joseph Myers <joseph@codesourcery.com>
24897
24898 [BZ #13705]
24899 * math/libm-test.inc (exp_test): Do not allow overflow exception
24900 on underflow test.
24901
f77f1232
AJ
249022012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24903
24904 [BZ #13705]
24905 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24906 instead of __kernel_standard_f.
24907
3884932b
MF
249082012-04-08 Mike Frysinger <vapier@gentoo.org>
24909
24910 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24911 * sysdeps/x86_64/memset_chk.S: Likewise.
24912
54472e9c
AJ
249132012-04-08 Andreas Jaeger <aj@suse.de>
24914
6ab0fbfc
AJ
24915 [BZ #10153]
24916 * manual/startup.texi (Environment Access): Describe return value
24917 for putenv and setenv.
24918
61efba8c
AJ
24919 [BZ #6895]
24920 * manual/filesys.texi (Directory Entries): Add description for
24921 DT_LNK.
24922
95c3f29a
AJ
24923 [BZ #6890]
24924 * manual/filesys.texi (Directory Entries): Clarify that it's file
24925 system not operating system in the description of DT_UNKNOWN.
24926
54472e9c
AJ
24927 [BZ #6578]
24928 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24929
624254b1
SC
249302012-04-08 Stephen Compall <s11@member.fsf.org>
24931
24932 [BZ #6649]
24933 * manual/llio.texi (Opening and Closing Files): Add cross
24934 reference to explain mode argument.
24935
1e4920e0
MF
249362012-04-07 Mike Frysinger <vapier@gentoo.org>
24937
24938 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24939 * sysdeps/x86_64/memset_chk.S: Likewise.
24940
5ed848f3
DM
249412012-04-07 David S. Miller <davem@davemloft.net>
24942
24943 * elf/elf.h (R_SPARC_WDISP10): Define.
24944 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24945 R_SPARC_SIZE32.
24946 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24947 R_SPARC_SIZE64 and R_SPARC_H34.
24948
96154cd8
CD
249492012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24950
24951 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24952 conditions and remove no longer applicable assertion.
24953
9904dc47
L
249542012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24955
24956 * bits/byteswap.h: Include <features.h>.
24957 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24958 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24959
f8887d0a
L
249602012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24961
24962 * bits/byteswap.h (__bswap_16): Removed.
24963 Include <bits/byteswap-16.h> to get __bswap_16.
24964 * sysdeps/i386/bits/byteswap.h: Likewise.
24965 * sysdeps/s390/bits/byteswap.h: Likewise.
24966 * sysdeps/x86_64/bits/byteswap.h: Likewise.
24967 * bits/byteswap-16.h: New file.
24968 * sysdeps/i386/bits/byteswap-16.h: Likewise.
24969 * sysdeps/s390/bits/byteswap-16.h: Likewise.
24970 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
24971 * string/Makefile (headers): Add bits/byteswap-16.h.
24972
62470f60
PP
249732012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
24974
24975 [BZ #13895]
24976 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
24977 extra indirection.
24978 * nss/Makefile (tests-static, tests): Add tst-nss-static.
24979 * nss/tst-nss-static.c: New.
24980
4dad7bab
RM
249812012-04-06 Robert Millan <rmh@gnu.org>
24982
24983 [BZ #6486]
24984 * manual/llio.texi (File Position Primitive): lseek
24985 refers to WHENCE when it really means OFFSET.
24986
e9142a17
AJ
249872012-04-06 Andreas Jaeger <aj@suse.de>
24988
2c040eff
AJ
24989 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
24990 strncmp declarations.
24991
e9142a17
AJ
24992 * abilist/libc.abilist: Add __poll and __ppoll.
24993
ff9f1c5f
DM
249942012-04-05 David S. Miller <davem@davemloft.net>
24995
dcd2ae90
DM
24996 * scripts/check-local-headers.sh: Accept a host triplet in the
24997 path matched by the exclude regexp.
24998
993eb054
DM
24999 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25000 definition.
25001 * sysdeps/powerpc/powerpc32/dl-machine.h
25002 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25003 * sysdeps/s390/s390-32/dl-machine.h
25004 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25005 * sysdeps/sparc/sparc32/dl-machine.h
25006 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25007 * sysdeps/sparc/sparc64/dl-machine.h
25008 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25009
ff9f1c5f
DM
25010 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25011 lazy binding.
48e2e132 25012 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
25013 undefined symbol errors.
25014
48e2e132 25015 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
25016 DT_NEEDED entries.
25017
e80d6f94
MM
250182012-04-05 Michael Matz <matz@suse.de>
25019
25020 [BZ #13592]
25021 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25022
349fa79f
AJ
250232012-04-05 Andreas Jaeger <aj@suse.de>
25024
25025 [BZ #13908]
25026 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25027 comment.
25028
f402708f
KK
250292012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25030
25031 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25032 which ROUND is no valid rounding mode.
25033
2ecccfc9
KK
250342012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25035
25036 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25037 read again.
25038 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25039
8a53f50f
KK
250402012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25041
25042 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25043 an exception using FPU order intentionally.
25044
250452012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25046
25047 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25048 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25049 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25050 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25051
d653abb7
SJ
250522012-04-05 Simon Josefsson <simon@josefsson.org>
25053
25054 [BZ #12340]
25055 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25056 EINVAL when BUFLEN is too smal.
25057
c3b1bf7d
TS
250582012-04-05 Thomas Schwinge <thomas@codesourcery.com>
25059
25060 [BZ #13553]
25061 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25062 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25063
b1aa60f3
AJ
250642012-04-03 Andreas Jaeger <aj@suse.de>
25065
c3b1bf7d 25066 [BZ #13938]
67f60a26
AJ
25067 * manual/setjmp.texi (System V contexts): Fix sentence.
25068
b1aa60f3
AJ
25069 [BZ #13926]
25070 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25071 New macro for this case.
25072 [!__GNUC__] (__bswap_64): New inline function for this case.
25073 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25074 * bits/byteswap.h: Likewise.
25075 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25076 ull, guard with __GLIBC_HAVE_LONG_LONG.
25077
25078 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25079 __GLIBC_HAVE_LONG_LONG.
25080
25081 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25082 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25083
39c59c35
TMQMF
250842012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25085
25086 [BZ #13691]
25087 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25088 inptr and inend, rather than using last_ch.
25089
135ffda8
DM
250902012-04-02 David S. Miller <davem@davemloft.net>
25091
25092 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25093 * stdio-common/printf-parse.h (read_int): Change return type to
25094 'int', return -1 on INT_MAX overflow.
25095 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25096 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
25097 overflows INT_MAX. Check for overflow of in-format-string precision
25098 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
25099 SIZE_MAX not INT_MAX for integer overflow test.
25100 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25101 skip the construct in the format string but do not record anything.
25102 * stdio-common/bug22.c: Adjust to test both width/prevision
25103 INT_MAX overflow as well as total length INT_MAX overflow. Check
25104 explicitly for proper errno values.
25105
228c019e
TS
251062012-04-02 Thomas Schwinge <thomas@codesourcery.com>
25107
302cadd3
TS
25108 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25109 CHAR_MAX.
25110 * string/test-strcmp.c [! WIDE]: Likewise.
25111 * time/tst-mktime2.c: Likewise for INT_MAX.
25112 * string/test-string.h: #include <sys/param.h> for MIN.
25113
228c019e
TS
25114 * csu/init-first.c (__libc_init_first): Call __ctype_init.
25115 * sysdeps/i386/init-first.c (init): Likewise.
25116 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25117 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25118 * sysdeps/sh/init-first.c (init): Likewise.
25119
cfa633f5
UD
251202012-04-01 Ulrich Drepper <drepper@gmail.com>
25121
25122 * po/ru.po: Update from translation team.
d1635ef8 25123 * po/vi.po: Likewise.
cfa633f5 25124
6cd0a5ea
SP
251252012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25126
25127 * resolv/nss_dns/dns-host.c: Merge copyright years.
25128
4b43400f
LD
251292012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25130
25131 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25132 Optimize memcpy with prefetch if
25133 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
25134 src, dst pointers have unequal 16 byte alignments.
25135
48c41d04
SP
251362012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25137
25138 [BZ #13928]
25139 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25140 from a CNAME entry and return the minimum ttl for the query.
25141 (gaih_getanswer_slice): Likewise.
25142
b8dc394d
JL
251432012-03-30 Jeff Law <law@redhat.com>
25144
25145 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25146 due to long keys.
25147 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25148 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25149
2f5a5ed0
JL
25150 * resolv/nss_dns/dns-host.c: Update copyright year.
25151
1d39e359
UD
251522012-03-30 Ulrich Drepper <drepper@gmail.com>
25153
c030f70c 25154 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 25155 requests to save a system call. Fix check that all bytes are sent.
c030f70c 25156
1d39e359
UD
25157 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25158 comments for sendmmsg.
25159
251602012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
25161
25162 [BZ #13691]
25163 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25164 with only 1 character between 0x0041 and 0x01b0.
25165 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25166 * wcsmbs/tst-mbsnrtowcs.c: New file.
25167
20fde227
DM
251682012-03-29 David S. Miller <davem@davemloft.net>
25169
25170 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25171 small copies by hand.
25172
984a4237
JL
251732012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25174
25175 [BZ #13761]
25176 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25177 _nss_compat_initgroups_dyn): Fall back to malloc/free
25178 for large group memberships.
25179
18c9d62b
DM
251802012-03-28 David S. Miller <davem@davemloft.net>
25181
88d85d4f
DM
25182 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25183 that branches into memcpy.
25184 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25185 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25186 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25187 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25188 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25189 bits.
25190 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25191 implementation too.
25192 * sysdeps/sparc/mempcpy.S: New file.
25193
e5aa83e1
DM
25194 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25195 the IFUNC routine in the libc case.
25196 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25197
88570753
DM
25198 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25199 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25200 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25201 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25202 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25203 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25204 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25205 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25206
249d7567
DM
25207 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25208 loop to 256 bytes instead of 64 bytes and fix test signedness.
25209
18c9d62b
DM
25210 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25211 * sysdeps/sparc/sparc32/Makefile: rather than here...
25212 * sysdeps/sparc/sparc64/Makefile: and here.
25213
05f3d1f6
UD
252142012-03-28 Ulrich Drepper <drepper@gmail.com>
25215
25216 * malloc/mallocbug.c: Avoid warnings about unused variables.
25217
86ae07a8
JL
252182012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25219
25220 [BZ #13760]
25221 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25222 in the right place. Discard and retry query if response is
25223 larger than input buffer size.
25224
41bf21a1
JM
252252012-03-28 Joseph Myers <joseph@codesourcery.com>
25226
d6270972
JM
25227 [BZ #369]
25228 [BZ #2678]
25229 [BZ #3866]
25230 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25231 x for large integer exponent.
25232 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25233 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25234 sign of result as needed afterwards.
25235 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25236 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25237 result for underflowing pow the same as for overflow.
25238 (__kernel_standard_l): Handle powl overflow and underflow here
25239 rather than calling __kernel_standard.
25240 * math/libm-test.inc (pow_test): Add more tests.
25241
414fca03 25242 [BZ #3868]
41bf21a1
JM
25243 [BZ #13879]
25244 [BZ #13910]
25245 [BZ #13911]
25246 [BZ #13912]
25247 [BZ #13913]
25248 [BZ #13915]
25249 [BZ #13916]
25250 [BZ #13917]
25251 [BZ #13918]
25252 [BZ #13919]
25253 [BZ #13920]
25254 [BZ #13921]
25255 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25256 * sysdeps/ieee754/k_standard.c: Include <float.h>.
25257 (__kernel_standard_l): New function.
25258 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25259 __kernel_standard.
25260 * math/w_acosl.c (__acosl): Likewise.
25261 * math/w_asinl.c (__asinl): Likewise.
25262 * math/w_atan2l.c (__atan2l): Likewise.
25263 * math/w_atanhl.c (__atanhl): Likewise.
25264 * math/w_coshl.c (__coshl): Likewise.
25265 * math/w_exp10l.c (__exp10l): Likewise.
25266 * math/w_exp2l.c (__exp2l): Likewise.
25267 * math/w_fmodl.c (__fmodl): Likewise.
25268 * math/w_hypotl.c (__hypotl): Likewise.
25269 * math/w_j0l.c (__j0l, __y0l): Likewise.
25270 * math/w_j1l.c (__j1l, __y1l): Likewise.
25271 * math/w_jnl.c (__jnl, __ynl): Likewise.
25272 * math/w_lgammal.c (__lgammal): Likewise.
25273 * math/w_log10l.c (__log10l): Likewise.
25274 * math/w_log2l.c (__log2l): Likewise.
25275 * math/w_logl.c (__logl): Likewise.
25276 * math/w_powl.c (__powl): Likewise.
25277 * math/w_remainderl.c (__remainderl): Likewise.
25278 * math/w_scalbl.c (sysv_scalbl): Likewise.
25279 * math/w_sinhl.c (__sinhl): Likewise.
25280 * math/w_sqrtl.c (__sqrtl): Likewise.
25281 * math/w_tgammal.c (__tgammal): Likewise.
25282 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25283 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25284 * math/libm-test.inc (acos_test): Add more tests.
25285 (acosh_test): Likewise.
25286 (asin_test): Likewise.
25287 (atanh_test): Likewise.
25288 (exp_test): Likewise.
25289 (exp10_test): Likewise.
25290 (exp2_test): Likewise.
25291 (expm1_test): Likewise.
25292 (lgamma_test): Likewise.
25293 (log_test): Likewise.
25294 (log10_test): Likewise.
25295 (log1p_test): Likewise.
25296 (log2_test): Likewise.
25297 (pow_test): Do not allow some spurious overflow exceptions.
25298 (sqrt_test): Add more tests.
25299 (tgamma_test): Likewise.
25300 (y0_test): Likewise.
25301 (y1_test): Likewise.
25302 (yn_test): Likewise.
25303
dd62fda6
AB
253042012-03-27 Anton Blanchard <anton@samba.org>
25305
25306 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25307 MAP_HUGETLB.
25308 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25309 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25310 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25311
1e3cdfda
AJ
253122012-03-27 David S. Miller <davem@davemloft.net>
25313
b855ab85
DM
25314 * conform/Makefile: Run run-conformtest.sh using $(BASH).
25315
1e3cdfda
AJ
25316 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25317 have-as-vis3 check.
25318
253192012-03-27 Andreas Jaeger <aj@suse.de>
25320
25321 * sysdeps/x86_64/elf/configure.in: Moved to ...
25322 * sysdeps/x86_64/configure.in: ... here.
25323 * sysdeps/x86_64/elf/start.S: Moved to ...
25324 * sysdeps/x86_64/start.S: ... here.
25325 * sysdeps/x86_64/elf/configure: Delete.
25326
25327 * sysdeps/x86_64/configure.in: Merge contents from
25328 sysdeps/i386/configure.in (without i686 check).
25329
25330 * sysdeps/i386/elf/Versions: Merge into ...
25331 * sysdeps/i386/Versions: ... this.
25332 * sysdeps/i386/elf/Versions: Delete file.
25333 * sysdeps/i386/elf/start.S: Moved to ...
25334 * sysdeps/i386/start.S: ...here.
25335 * sysdeps/i386/elf/configure.in: Merge into...
25336 * sysdeps/i386/configure.in: ...here.
25337 * sysdeps/i386/elf/configure.in: Delete file.
25338 * sysdeps/i386/elf/configure: Delete file.
25339
25340 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25341 * debug/backtracesyms.c: ... here.
25342 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25343 * debug/backtracesymsfd.c: ... here.
25344 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25345 * sysdeps/generic/ifunc-sel.h: ... here.
25346
25347 * sysdeps/unix/i386/start.c: Delete file.
25348 * sysdeps/unix/sparc/start.c: Delete file.
25349 * sysdeps/unix/start.c: Delete file.
25350
25351 * sysdeps/sh/elf/configure.in: Moved to ...
25352 * sysdeps/sh/configure.in: ... here.
25353 * sysdeps/sh/elf/start.S: Moved to ...
25354 * sysdeps/sh/start.S: ... here.
25355 * sysdeps/sh/elf/configure: Delete file.
25356
25357 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25358 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25359 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25360 * sysdeps/powerpc/powerpc64/entry.h: ... here.
25361 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25362 * sysdeps/powerpc/powerpc64/start.S: here.
25363 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25364 * sysdeps/powerpc/powerpc64/Makefile: ... this.
25365 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25366 * sysdeps/powerpc/powerpc64/configure.in: ... this.
25367 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25368
25369 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25370 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25371 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25372 * sysdeps/powerpc/powerpc32/start.S: ... here.
25373 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25374 * sysdeps/powerpc/powerpc32/configure.in: ... this.
25375 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25376
25377 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25378 * sysdeps/powerpc/ifunc-sel.h: ... here.
25379 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25380 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25381
25382 * sysdeps/sparc/elf/configure.in: Moved to ...
25383 * sysdeps/sparc/configure.in: ... here.
25384 * sysdeps/sparc/elf/configure: Delete file.
25385 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25386 * sysdeps/sparc/sparc32/start.S: ... here.
25387 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25388 * sysdeps/sparc/sparc64/start.S: ... here.
25389 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25390 * sysdeps/sparc/sparc32/Makefile: ... this.
25391 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25392 * sysdeps/sparc/sparc64/Makefile: ... this.
25393
25394 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
25395 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
25396 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
25397 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
25398 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
25399 * sysdeps/s390/s390-32/setjmp.S: ... here.
25400 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
25401 * sysdeps/s390/s390-32/configure.in: ... here.
25402 * sysdeps/s390/s390-32/elf/configure: Delete file.
25403 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
25404 * sysdeps/s390/s390-32/start.S: ... here.
25405
25406 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
25407 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
25408 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
25409 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
25410 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
25411 * sysdeps/s390/s390-64/setjmp.S: ... here.
25412 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
25413 * sysdeps/s390/s390-64/configure.in: ... here
25414 * sysdeps/s390/s390-64/elf/configure: Delete file.
25415 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
25416 * sysdeps/s390/s390-64/start.S: ... here.
25417 * sysdeps/s390/s390-64/elf/configure: Delete.
25418
25419 * configure.in: Remove support for elf directories in sysdeps.
25420
25421 * configure: Regenerated.
25422 * sysdeps/i386/configure: Regenerated.
25423 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25424 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25425 * sysdeps/s390/s390-32/configure: Regenerated.
25426 * sysdeps/s390/s390-64/configure: Regenerated.
25427 * sysdeps/sh/configure: Regenerated.
25428 * sysdeps/sparc/configure: Regenerated.
25429 * sysdeps/x86_64/configure: Regenerated.
25430
a3f61311
AS
254312012-03-26 Andreas Schwab <schwab@linux-m68k.org>
25432
c876e002
AS
25433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25434
a3f61311
AS
25435 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25436 denormal result into account.
25437
ac4c54f0
RM
254382012-03-25 Roland McGrath <roland@hack.frob.com>
25439
25440 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25441 Reported by Allan McRae <allan@archlinux.org>.
25442
6a9b9c02
JL
254432012-03-23 Jeff Law <law@redhat.com>
25444
25445 * nss/getnssent.c (__nss_getent): Fix typo.
25446
4c42a0c1
DM
254472012-03-23 David S. Miller <davem@davemloft.net>
25448
25449 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25450
1532c7ac
L
254512012-03-23 H.J. Lu <hongjiu.lu@intel.com>
25452
25453 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25454 to pad to uint64_t for each field.
25455 (dl_tls_index): Replace unsigned long with uint64_t.
25456
3ff42526
PP
254572012-03-23 Daniel Jacobowitz <dmj@google.com>
25458 Paul Pluzhnikov <ppluzhnikov@google.com>
25459
25460 [BZ #6528]
25461 * grp/Makefile (otherlibs): Don't set it.
25462 * inet/Makefile (otherlibs): Likewise.
25463 * login/Makefile (otherlibs): Likewise.
25464 * nscd/Makefile (otherlibs): Likewise.
25465 * posix/Makefile (otherlibs): Likewise.
25466 * pwd/Makefile (otherlibs): Likewise.
25467 * rt/Makefile (otherlibs): Likewise.
25468 * sunrpc/Makefile (otherlibs): Likewise.
25469 * nss/Makefile (otherlibs): Likewise.
25470 Add libnss_files to routines and static-only-routines.
25471 ($(objpfx)getent): Remove rule.
25472 * resolv/Makefile: Add libnss_dns and libresolv to routines and
25473 static-only-routines.
25474
7c69cd14
JM
254752012-03-22 Joseph Myers <joseph@codesourcery.com>
25476
25477 [BZ #13892]
25478 * math/s_cexp.c: Include <float.h>.
25479 (__cexp): Handle exp result overflowing not necessarily
25480 overflowing both real and imaginary parts of result.
25481 * math/s_cexpf.c: Likewise.
25482 * math/s_cexpl.c: Likewise.
25483 * math/libm-test.inc (cexp_test): Add more tests.
25484 * sysdeps/i386/fpu/libm-test-ulps: Update.
25485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25486
81b035fe
L
254872012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25488
25489 * include/link.h (ELFW): New macro.
25490 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25491 Replace ELF64_R_TYPE with ELFW(R_TYPE).
25492
1da7940c
L
254932012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25494
25495 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25496 with uint64_t.
25497
b749dbb9
L
254982012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25499
25500 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25501 declaration.
25502 (struct La_x32_retval): Likewise.
25503
2ff87f3f
L
255042012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25505
25506 * sysdeps/x86_64/preconfigure.in: New file.
25507 * sysdeps/x86_64/preconfigure: New generated file.
25508
c0df8e69
JM
255092012-03-22 Joseph Myers <joseph@codesourcery.com>
25510
48e44791
JM
25511 [BZ #13824]
25512 * math/e_exp2l.c: Include <float.h>.
25513 (__ieee754_exp2l): Handle overflow and underflow cases
25514 separately. Only pass fractional part of argument to
25515 __ieee754_expl.
25516 * math/libm-test.inc (exp2_test): Add more tests.
25517
c0df8e69
JM
25518 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25519 negating x to take absolute value.
25520 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25521 Likewise.
25522 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25523 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25524 Likewise.
25525 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25526 computing low part if x was negated.
25527 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25528
c8e43ba7
L
255292012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25530
25531 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25532 la_x32_gnu_pltexit.
25533 (pltexit): Cast int_retval to ptrdiff_t.
25534 * elf/tst-auditmod3b.c: Likewise.
25535 * elf/tst-auditmod4b.c: Likewise.
25536 * elf/tst-auditmod5b.c: Likewise.
25537 * elf/tst-auditmod6b.c: Likewise.
25538 * elf/tst-auditmod6c.c: Likewise.
25539 * elf/tst-auditmod7b.c: Likewise.
25540
25541 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25542 and x32_gnu_pltexit.
25543
25544 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25545 __ELF_NATIVE_CLASS.
25546 (La_x32_regs): New macro.
25547 (La_x32_retval): Likewise.
25548 (la_x32_gnu_pltenter): New function prototype.
25549 (la_x32_gnu_pltexit): Likewise.
25550
7998fa78
AS
255512012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25552
dcb33988
AS
25553 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25554 exponent.
25555
233fc563
AS
25556 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25557
7998fa78
AS
25558 * configure.in (libc_cv_cc_nofma): Check for option to disable
25559 generation of FMA instructions.
25560 * configure: Regenerate.
25561 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25562 * sysdeps/ieee754/dbl-64/Makefile: New file.
25563 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25564 Remove brandred-fma4.
25565 (CFLAGS-brandred-fma4.c): Remove.
25566 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25567 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25568 define.
25569 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25570 define.
25571
8e95c99a
L
255722012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25573
25574 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25575 LLONG_MAX != LONG_MAX.
25576 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25577 (_fitoa_word): Likewise.
25578 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25579 LLONG_MAX != LONG_MAX.
25580 * stdio-common/_itowa.h: Include <_itoa.h>.
25581 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25582 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25583 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25584 only if not defined.
25585 (_ITOA_WORD_TYPE): Likewise.
25586 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25587 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25588
6f4db457
DM
255892012-03-21 David S. Miller <davem@davemloft.net>
25590
25591 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25592
7785fe5a
L
255932012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25594
25595 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25596 of x86_64 when setting libc_cv_slibdir, libdir and
25597 libc_cv_localedir.
25598 * sysdeps/unix/sysv/linux/configure: Regenerated.
25599
4535cd55
JM
256002012-03-21 Joseph Myers <joseph@codesourcery.com>
25601
25602 * manual/lang.texi (Old Varargs): Remove section.
25603 (How Variadic): Update menu.
25604 (va_start): Do not mention varargs.h.
25605
17228132
TS
256062012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25607 Joseph Myers <joseph@codesourcery.com>
25608
25609 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25610 link test.
25611 * configure: Regenerated.
25612
8149f976
TS
256132012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25614
05f3d1f6
UD
25615 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25616 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25617 conformtest.pl
8149f976 25618
1a4ac776
JM
256192012-03-21 Joseph Myers <joseph@codesourcery.com>
25620
be22ce65
JM
25621 * NOTES: Remove.
25622 * Makefile (files-for-dist): Remove NOTES.
25623 (NOTES): Remove rule.
25624 * README: Don't refer to NOTES.
25625 * manual/creature.texi: Don't include macros.texi.
25626 * manual/intro.texi (creature.texi): Remove comment referring to
25627 NOTES.
25628
40b601fb
JM
25629 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25630 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25631 * configure: Regenerated.
25632 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25633 LIBC_TRY_CC_OPTION.
25634 (libc_cv_as_i686): Likewise.
25635 (libc_cv_cc_avx): Likewise.
25636 (libc_cv_cc_sse2avx): Likewise.
25637 (libc_cv_cc_fma4): Likewise.
25638 (libc_cv_cc_novzeroupper): Likewise.
25639 * sysdeps/i386/configure: Regenerated.
25640
1a4ac776
JM
25641 [BZ #13883]
25642 * sysdeps/i386/fpu/s_cexp.S: Remove.
25643 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25644 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25645 * math/libm-test.inc (cexp_test): Add more tests.
25646 * sysdeps/i386/fpu/libm-test-ulps: Update.
25647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25648
a458e7fe
AM
256492012-03-21 Allan McRae <allan@archlinux.org>
25650
25651 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25652
0cb7efc5
JM
256532012-03-21 Joseph Myers <joseph@codesourcery.com>
25654
25655 [BZ #13871]
25656 * math/w_exp2.c: Do not include <float.h>.
25657 (o_threshold, u_threshold): Remove.
25658 (__exp2): Calculate result before checking finiteness and calling
25659 __kernel_standard.
25660 * math/w_exp2f.c: Likewise.
25661 * math/w_exp2l.c: Likewise.
25662 * math/libm-test.inc (exp2_test): Require overflow exception for
25663 1e6 input.
2460d3aa
JM
25664
25665 [BZ #3866]
25666 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25667 range of signed 64-bit integers before using fistpll. Remove
25668 checks for whether integers fit in mantissa bits.
25669 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25670 the range of signed 32-bit integers before using fistpl. Remove
25671 checks for whether integers fit in mantissa bits.
25672 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25673 (__ieee754_powl): Test for y outside the range of signed 64-bit
25674 integers before using fistpll. Reduce 64-bit values to 63-bit
25675 ones as needed.
25676 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25677 divide-by-zero is raised for zero to large negative powers.
25678 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25679 (__ieee754_powl): Test for y outside the range of signed 64-bit
25680 integers before using fistpll. Reduce 64-bit values to 63-bit
25681 ones as needed.
25682 * math/libm-test.inc (pow_test): Add more tests.
25683
eb96ffb0
L
256842012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25685
25686 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25687 <stdio-common/_itoa.h>.
25688 * debug/segfault.c: Likewise.
25689 * elf/dl-cache.c: Likewise.
25690 * elf/dl-minimal.c: Likewise.
25691 * elf/dl-misc.c: Likewise.
25692 * elf/dl-sysdep.c: Likewise.
25693 * elf/dl-version.c: Likewise.
25694 * elf/rtld.c: Likewise.
25695 * hurd/hurdsock.c: Likewise.
25696 * hurd/lookup-retry.c: Likewise.
25697 * malloc/malloc.c: Likewise.
25698 * malloc/mtrace.c: Likewise.
25699 * nscd/nscd_getgr_r.c: Likewise.
25700 * nscd/nscd_getpw_r.c: Likewise.
25701 * nscd/nscd_getserv_r.c: Likewise.
25702 * posix/getopt_init.c: Likewise.
25703 * posix/wordexp.c: Likewise.
25704 * stdio-common/_itoa.c: Likewise.
25705 * stdio-common/printf_fphex.c: Likewise.
25706 * stdio-common/vfprintf.c: Likewise.
25707 * string/_strerror.c: Likewise.
25708 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25709 * sysdeps/i386/i686/hp-timing.h: Likewise.
25710 * sysdeps/mach/_strerror.c: Likewise.
25711 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25712 * sysdeps/mach/hurd/sethostid.c: Likewise.
25713 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25714 * sysdeps/mach/xpg-strerror.c: Likewise.
25715 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25716 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25717 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25718 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25719 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25720 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25721 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25722 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25723 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25724 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25725 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25726 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25727 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25728 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25729 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25730 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25731 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25732 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25733 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25734 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25735 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25736
25737 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25738
25739 * stdio-common/_itoa.h: Moved to ...
25740 * sysdeps/generic/_itoa.h: Here.
25741
25742 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25743
25744 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25745 instead of "_itoa.h" and "_itowa.h".
25746 * stdio-common/vfprintf.: Likewise.
25747
d1af992d
L
257482012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25749
25750 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25751 <bits/wordsize.h>.
25752 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25753 (__signbit): Likwise.
25754 (llrintf): Likwise.
25755 (llrint): Likwise.
25756
114883e0
L
257572012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25758
25759 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25760 __WORDSIZE != 64.
25761
c135cc1b
JM
257622012-03-20 Joseph Myers <joseph@codesourcery.com>
25763
25764 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25765 OVERFLOW_EXCEPTION_OK.
25766 * math/libm-test.inc ("Philosophy"): Update comment about
25767 exception testing.
25768 (OVERFLOW_EXCEPTION): Define.
25769 (OVERFLOW_EXCEPTION_OK): Likewise.
25770 (INVALID_EXCEPTION_OK): Renumber.
25771 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25772 (IGNORE_ZERO_INF_SIGN): Likewise.
25773 (test_exceptions): Handle FE_OVERFLOW.
25774 (exp10_test): Expect overflow exceptions.
25775 (exp2_test): Likewise.
25776 (expm1_test): Likewise.
25777 (nextafter_test): Likewise.
25778 (pow_test): Likewise.
25779 (scalbn_test): Likewise.
25780 (scalbln_test): Likewise.
25781
95443d88
L
257822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25783
25784 * sysdeps/x86_64/bits/atomic.h
25785 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25786 64bit integer.
25787 (atomic_exchange_acq): Likewise.
25788 (__arch_exchange_and_add_body): Likewise.
25789 (__arch_add_body): Likewise.
25790 (atomic_add_negative): Likewise.
25791 (atomic_add_zero): Likewise.
25792
490df6c4
L
257932012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25794
c2722551 25795 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
25796 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25797
5e52b189
L
257982012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25799
25800 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25801 Check __x86_64__ instead of __WORDSIZE.
25802
a9879d4c
L
258032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25804
25805 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25806
5df98260
DM
258072012-03-19 David S. Miller <davem@davemloft.net>
25808
e1497744
DM
25809 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25810
5df98260
DM
25811 * sysdeps/sparc/fpu/fenv_private.h: New file.
25812 * sysdeps/sparc/fpu/math_private.h: Use it.
25813 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25814 Remove.
25815 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25816 (libc_feholdexcept_setroundl): Remove.
25817 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25818 Remove.
25819 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25820 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25821
b4c35121
L
258222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25823
25824 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25825 int64_t instead of long int.
25826 (INSERT_WORDS64): Likwise.
25827
56965fd7
L
258282012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25829
25830 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25831 _Unwind_GetCFA return to _Unwind_Ptr first.
25832
83d1aec8
JM
258332012-03-19 Joseph Myers <joseph@codesourcery.com>
25834
1897ad44
JM
25835 [BZ #13629]
25836 * math/s_clog.c: Include <float.h>.
25837 (__clog): Scale large or subnormal inputs.
25838 * math/s_clogf.c: Likewise.
25839 * math/s_clogl.c: Likewise.
25840 * math/s_clog10.c: Include <float.h>.
25841 (M_LOG10_2): Define.
25842 (__clog10): Scale large or subnormal inputs.
25843 * math/s_clog10f.c: Likewise.
25844 * math/s_clog10l.c: Likewise.
25845 * math/libm-test.inc (clog_test): Add more tests.
25846 (clog10_test): Likewise.
25847 * sysdeps/i386/fpu/libm-test-ulps: Update.
25848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25849
7726d6a9
JM
25850 [BZ #11451]
25851 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25852 x and y.
25853 * math/libm-test.inc (atan2_test): Add another test.
25854
83d1aec8
JM
25855 * Makerules (common-objdir-compile): Remove.
25856 * sysdeps/unix/Makefile (config-generated): Do not add
25857 $(unix-generated) to variable.
25858 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25859 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25860 Remove rule.
25861 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25862 Likewise.
25863 [generic bits/local_lim.h] (before-compile): Do not append to
25864 variable.
25865 [generic bits/local_lim.h] (common-generated): Likewise.
25866 [generic sys/param.h] (before-compile): Do not append to variable.
25867 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25868 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25869 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25870 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25871 include.
25872 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25873 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25874 [generic sys/param.h] ($(addprefix
25875 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25876 [generic sys/param.h] (common-generated): Do not append to
25877 variable.
25878 [generic sys/param.h] (sysdep_headers): Likewise.
25879 [generic bits/errno.h] (before-compile): Do not append to
25880 variable.
25881 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25882 rule.
25883 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25884 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25885 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25886 [generic bits/errno.h] (common-generated): Do not append to
25887 variable.
25888 [generic bits/ioctls.h] (before-compile): Do not append to
25889 variable.
25890 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25891 rule.
25892 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25893 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25894 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25895 rule.
25896 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25897 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25898 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25899 [generic bits/ioctls.h] (common-generated): Do not append to
25900 variable.
25901 [generic sys/syscall.h] (syscall.h): Remove variable.
25902 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25903 rule.
25904 [generic sys/syscall.h] (before-compile): Do not append to
25905 variable.
25906 [generic sys/syscall.h] (common-generated): Likewise.
25907 * sysdeps/unix/errnos-tmpl.c: Remove file.
25908 * sysdeps/unix/errnos.awk: Likewise.
25909 * sysdeps/unix/ioctls-tmpl.c: Likewise.
25910 * sysdeps/unix/ioctls.awk: Likewise.
25911 * sysdeps/unix/mk-local_lim.c: Likewise.
25912 * sysdeps/unix/snarf-ioctls: Likewise.
25913
4851a949
RH
259142012-03-19 Richard Henderson <rth@twiddle.net>
25915
bd37f2ee
RH
25916 * sysdeps/i386/fpu/fenv_private.h: New file.
25917 * sysdeps/i386/fpu/math_private.h: Use it.
25918 (math_opt_barrier, math_force_eval): Remove.
25919 (libc_feholdexcept_setround_53bit): Remove.
25920 (libc_feupdateenv_53bit): Remove.
25921 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25922 (math_opt_barrier, math_force_eval): Remove.
25923 (libc_feholdexcept): Remove.
25924 (libc_feholdexcept_setround): Remove.
25925 (libc_fetestexcept, libc_fesetenv): Remove.
25926 (libc_feupdateenv_test): Remove.
25927 (libc_feupdateenv, libc_feholdsetround): Remove.
25928 (libc_feresetround): Remove.
25929
d0adc922
RH
25930 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25931 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25932
0fe0f1f8
RH
25933 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25934 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25935 (libc_feupdateenv_testl): New.
25936 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25937 (libc_feupdateenv_testf): New.
25938 (libc_feupdateenv): Use libc_feupdateenv_test.
25939 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25940 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25941
eb92c487
RH
25942 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25943 (libc_feholdsetroundf, libc_feholdsetroundl): New.
25944 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25945 (libc_feresetround_noex): New.
25946 (libc_feresetround_noexf): New.
25947 (libc_feresetround_noexl): New.
25948 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25949 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25950 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25951 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25952 SET_RESTORE_ROUND.
25953 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25954 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25955 (__cos): Likewise.
25956 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25957 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25958 SET_RESTORE_ROUND_NOEX.
25959 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25960 SET_RESTORE_ROUND_NOEXF.
25961 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25962 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
25963 (libc_feholdsetroundf): New.
25964 (libc_feresetround, libc_feresetroundf): New.
25965
7d2e8012
RH
25966 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
25967 (libc_feholdexcept_setround_53bit): Convert from macro to function.
25968 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
25969
b4dabbb4
RH
25970 * sysdeps/generic/math_private.h: Include <fenv.h>.
25971 (default_libc_feholdexcept): New.
25972 (default_libc_feholdexcept_setround): New.
25973 (default_libc_fesetenv, default_libc_feupdateenv): New.
25974 (libc_feholdexcept): Only define if undefined.
25975 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
25976 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
25977 (libc_feholdexcept_setroundl): Likewise.
25978 (libc_feholdexcept_setround_53bit): Likewise.
25979 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
25980 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
25981 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
25982 (libc_feupdateenv_53bit): Likewise.
25983 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
25984 (libc_feholdexcept): Convert from macro to inline function.
25985 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
25986 (libc_fesetenv, libc_feupdateenv): Likewise.
25987
4851a949
RH
25988 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
25989 not previously defined.
25990 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
25991 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
25992 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
25993 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
25994 * sysdeps/ieee754/flt-32/math_private.h: New file.
25995 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
25996 math_private.h below SET_FLOAT_WORD.
25997 (__isnan, __isinf_ns, __finite): Remove.
25998 (__isnanf, __isinf_nsf, __finitef): Remove.
25999
e79d442e
AS
260002012-03-18 Andreas Schwab <schwab@linux-m68k.org>
26001
26002 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26003
90b80344
DM
260042012-03-17 David S. Miller <davem@davemloft.net>
26005
26006 [BZ #6471]
26007 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26008 for 2.16.
26009
edc21804
DM
260102012-03-16 David S. Miller <davem@davemloft.net>
26011
77e927af
DM
26012 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26013 warnings.
26014
374976dd
DM
26015 [BZ #6471]
26016 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26017 properly.
26018 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26019 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26020 sysdep_routines when subdir is sysvipc.
26021 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26022 __getshmlba helper.
26023
edc21804
DM
26024 * sysdeps/sparc/fpu/libm-test/ulps: Update.
26025
473c3ef3
L
260262012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26027
26028 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26029 [__LP64__].
26030
eb0f39b6
L
260312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26032
26033 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26034 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26035 (__lround): Renamed to ...
26036 (__llround): This. Replace long int with long long int.
26037 Define lround functions as aliases of llround functions.
26038 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26039
6b6cd74b
L
260402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26041
26042 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26043 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
26044 adresses to uintptr_t. Replace "long int" and "unsigned long
26045 int" with "greg_t" on va_arg.
26046
f1a77b01
L
260472012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26048
26049 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26050 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26051
26052 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26053 Move e_machine check before EI_CLASS check. Handle x32
26054 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26055 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26056 SKIP_EM_IA_64 and include
26057 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26058
26059 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26060 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26061 (add_system_dir): New macro.
26062
26063 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26064 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26065
11b90b9f
JM
260662012-03-16 Joseph Myers <joseph@codesourcery.com>
26067
c36e1d23
JM
26068 [BZ #2551]
26069 [BZ #2552]
26070 [BZ #2553]
26071 [BZ #2554]
26072 [BZ #2562]
26073 [BZ #2563]
26074 [BZ #2565]
26075 [BZ #2566]
26076 [BZ #2576]
26077 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26078 (y0): Likewise.
26079 * math/w_j0f.c (j0f): Likewise.
26080 (y0f): Likewise.
26081 * math/w_j0l.c (__j0l): Likewise.
26082 (__y0l): Likewise.
26083 * math/w_j1.c (j1): Likewise.
26084 (y1): Likewise.
26085 * math/w_j1f.c (j1f): Likewise.
26086 (y1f): Likewise.
26087 * math/w_j1l.c (__j1l): Likewise.
26088 (__y1l): Likewise.
26089 * math/w_jn.c (jn): Likewise.
26090 (yn): Likewise.
26091 * math/w_jnf.c (jnf): Likewise.
26092 (ynf): Likewise.
26093 * math/w_jnl.c (__jnl): Likewise.
26094 (__ynl): Likewise.
26095 * math/libm-test.inc (j0_test): Add more tests.
26096 (j1_test): Likewise.
26097 (jn_test): Likewise. Add trailing semicolon to existing test.
26098 (y0_test): Likewise.
26099 (y1_test): Likewise.
26100 * sysdeps/i386/fpu/libm-test-ulps: Update.
26101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26102
11b90b9f
JM
26103 [BZ #13851]
26104 [BZ #13854]
26105 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26106 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26107 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26108 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26109 (__tanl): Set errno for infinite argument.
26110 * sysdeps/i386/fpu/mptan.c: Remove.
26111 * sysdeps/i386/fpu/s_tan.S: Likewise.
26112 * sysdeps/i386/fpu/s_tanl.S: Likewise.
26113 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26114 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26115 * math/libm-test.inc (tan_test): Add more tests and enable more
26116 tests for double and long double.
26117 * sysdeps/i386/fpu/libm-test-ulps: Update.
26118 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26119
6a1bd2a1
JK
261202012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
26121
26122 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26123 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26124
10a803e0
RM
261252012-03-16 Roland McGrath <roland@hack.frob.com>
26126
26127 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26128 * configure.in: Use it for both main tree and add-ons.
26129 * configure: Regenerated.
26130
f196c7f7
L
261312012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26132
26133 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26134
8848d99d
JM
261352012-03-16 Joseph Myers <joseph@codesourcery.com>
26136
96cbe7f4
JM
26137 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26138 in comment.
26139
8848d99d
JM
26140 [BZ #13851]
26141 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26142 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26143 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26144 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26145 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26146 infinite argument.
26147 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26148 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26149 != 0 for prec == 2.
26150 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26151 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26152 * sysdeps/i386/fpu/s_cosl.S: Likewise.
26153 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26154 * sysdeps/i386/fpu/s_sinl.S: Likewise.
26155 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26156 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26157 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26158 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26159 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26160 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26161 * math/libm-test.inc (cos_test): Add more tests and enable more
26162 tests for long double.
26163 (sin_test): Likewise.
26164 (sincos_test): Likewise.
26165 * sysdeps/i386/fpu/libm-test-ulps: Update.
26166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26167
dd7f4703
DM
261682012-03-16 David S. Miller <davem@davemloft.net>
26169
26170 * sysdeps/sparc/fpu/math_private.h: New file.
26171
006f1daa
DM
261722012-03-15 David S. Miller <davem@davemloft.net>
26173
c0c83bc8
DM
26174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26175 file.
e6a62e18 26176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
26177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26178 file.
e6a62e18
DM
26179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26180 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26181 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26184 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26185 sysdep routines.
26186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26187
88cb87d9
DM
26188 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26189 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26190
006f1daa 26191 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
26192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26193 sparc-ifunc.h
006f1daa 26194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
26195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26196 Likewise.
26197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26198 Likewise.
006f1daa
DM
26199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
26202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26203 Likewise.
006f1daa
DM
26204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
26208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26209 Likewise.
26210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26211 Likewise.
006f1daa
DM
26212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26216 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26217 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26218 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26219 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26220 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26221 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26222 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26223 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26224 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26225 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26226 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26227 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26228 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26229 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26230 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26231 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26232 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26233 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26234 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26235 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26236
11e0098e
AS
262372012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26238
26239 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26240 scaling.
26241 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26242
e85b09d0
AJ
262432012-03-15 Andreas Jaeger <aj@suse.de>
26244
26245 [BZ #13852]
26246 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26247 ieee754/flt-32 implementation for sin, cos and sincos.
26248 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26249 * sysdeps/i386/fpu/s_cosf.S: Likewise.
26250 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26251 * sysdeps/i386/fpu/s_sinf.S: Likewise.
26252 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26253 ieee754/flt-32 implementation for tan.
26254
26255 * math/libm-test.inc (cos_test): Enable some large input tests for
26256 float as well
26257 (sin_test): Likewise.
26258 (sincos_test): Likewise.
26259 (tan_test): Add tests for large input.
26260
26261 * sysdeps/i386/fpu/libm-test-ulps: Update.
26262
81c64153
AJ
262632012-03-15 Andreas Jaeger <aj@suse.de>
26264
26265 [BZ #13658]
26266 * math/libm-test.inc (cos_test): Add more test cases.
26267 (sin_test): Likewise.
26268 (sincos_test): Likewise.
26269
7bbfa5c6
AJ
262702012-03-15 Andreas Jaeger <aj@suse.de>
26271
26272 [BZ #13837]
26273 * math/libm-test.inc (cos_test): Add a test case for large input
26274 value.
26275 (sin_test): Likewise.
26276 (sincos_test): Likewise.
26277
262782012-03-15 Andreas Jaeger <aj@suse.de>,
26279 Joseph Myers <joseph@codesourcery.com>
26280
26281 [BZ #13658]
0671f479 26282 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
26283 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26284 * sysdeps/i386/fpu/branred.c: Likewise.
26285 * sysdeps/i386/fpu/dosincos.c: Likewise.
26286 * sysdeps/i386/fpu/mpa.c: Likewise.
26287 * sysdeps/i386/fpu/s_cos.S: Likewise.
26288 * sysdeps/i386/fpu/s_sin.S: Likewise.
26289 * sysdeps/i386/fpu/s_sincos.S: Likewise.
26290 * sysdeps/i386/fpu/sincos32.c: Likewise.
26291
26292 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26293 Define.
26294 (libc_feupdateenv_53bit): Define.
26295 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26296 Define.
26297 (libc_feupdateenv_53bit): Define.
26298
26299 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26300 53 bit (without extend i386 double precision).
26301
26302 * math/libm-test.inc (sincos_test): Add tests for large input.
26303 (sin): Likewise.
26304 (cos): Likewise.
26305
26306 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26307
9cad04ea
AS
263082012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26309
26310 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26311
f7062b9a
DM
263122012-03-15 David S. Miller <davem@davemloft.net>
26313
26314 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26315 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26316 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26317 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26318 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26319 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26320 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26321 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26322 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26323 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26324 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26325 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26326 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26327 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26328 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
26329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26330 file.
f7062b9a 26331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
26332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26333 file.
f7062b9a 26334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
26335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26336 file.
f7062b9a 26337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
26338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26339 file.
f7062b9a
DM
26340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26341 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26342 fmin/fmax sysdep routines.
26343 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26344
7bd951ff
DM
263452012-03-14 David S. Miller <davem@davemloft.net>
26346
559398ab
DM
26347 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26348 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26349 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26350 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26351 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26352 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26353 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26354 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26355 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26356 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26357 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26358 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26359 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26360 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26361 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26362 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26363 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26364 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26365 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26366 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26367 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26368 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26369 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26370 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26371 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26372 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26373 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26374 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26375 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26376 routines.
26377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26378 file.
559398ab 26379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
26380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26381 file.
559398ab 26382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
26383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26384 file.
559398ab 26385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
26386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26387 file.
559398ab 26388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
26389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26390 file.
559398ab 26391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
26392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26393 file.
26394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26395 file.
26396 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26397 file.
26398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26399 file.
26400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26401 New file.
26402 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26403 file.
26404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26405 file.
559398ab 26406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
26407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26408 file.
559398ab 26409 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26410 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26411 file.
559398ab 26412 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
26413 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
26414 file.
559398ab 26415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
26416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
26417 VIS3 routines.
559398ab
DM
26418
26419 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26420 New file.
26421
5a1c1e32
DM
26422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26423
eae47a36
DM
26424 * sysdeps/sparc/configure.in: New file.
26425 * sysdeps/sparc/configure: Generate.
26426 * configure.in (libc_cv_sparc_as_vis3): Substitute.
26427 * configure: Regenerate.
26428 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26429 * config.make.in (have-as-vis3): New.
26430 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26431 available use -Av9d instead of -Av9a.
26432 * sysdeps/sparc/sparc64/Makefile: Likewise.
26433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
26434 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26435 New file.
26436 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26437 file.
26438 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26439 New file.
26440 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26441 file.
eae47a36
DM
26442 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26443 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26444 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26445 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26446 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26447
c0c83bc8
DM
26448 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26449 fzeros/fnegs to load 0x80000000 into a float register instead of
26450 using the stack.
7bd951ff
DM
26451 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26452
bd951ccb
JM
264532012-03-14 Joseph Myers <joseph@codesourcery.com>
26454
26455 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26456 bits/syscall.h.
26457 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26458 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26459 ($(inst_includedir)/bits/syscall.h): Remove rule.
26460 ($(objpfx)bits/syscall.d): Include instead of
26461 $(objpfx)syscall-list.d.
26462 (generated): Change syscall-list.h and syscall-list.d to
26463 bits/syscall.h and bits/syscall.d.
26464
bb4e6db2
RM
264652012-03-14 Roland McGrath <roland@hack.frob.com>
26466
26467 [BZ #13846]
26468 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26469
aa4a2ae1
JM
264702012-03-14 Joseph Myers <joseph@codesourcery.com>
26471
e456826d
JM
26472 [BZ #13841]
26473 * math/s_csqrt.c: Include <float.h>.
26474 (__csqrt): Scale large or subnormal inputs.
26475 * math/s_csqrtf.c: Likewise.
26476 * math/s_csqrtl.c: Likewise.
26477 * math/libm-test.inc (csqrt_test): Add more tests.
26478 * sysdeps/i386/fpu/libm-test-ulps: Update.
26479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26480
aa4a2ae1
JM
26481 [BZ #13840]
26482 * math/libm-test.inc (hypot_test): Add more tests.
26483
7c10fd35
DM
264842012-03-13 David S. Miller <davem@davemloft.net>
26485
26486 [BZ #13840]
26487 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26488 double-precision for the calculation instead of scaling.
26489
f453b98b
JM
264902012-03-13 Joseph Myers <joseph@codesourcery.com>
26491
26492 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26493 manipulate bits before adding and subtracting TWO52[sx].
26494 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26495 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26496 Likewise.
26497 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26498
09a3453f
DM
264992012-03-13 David S. Miller <davem@davemloft.net>
26500
8e59da90
DM
26501 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26502 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26503 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26504 rtld-global-offsets.h
26505 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26506
2a8ab7f2
DM
26507 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26508 large parameters.
26509
10f62770
DM
26510 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26511
5f0bdb18
DM
26512 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26513 'err' in the ifdef scope in which it is actually used.
26514
09a3453f
DM
26515 * nss/nss_db/db-init.c: Include string.h
26516
b4b2eb5e
DM
265172012-03-12 David S. Miller <davem@davemloft.net>
26518
98bb2f1c
DM
26519 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26520 masking out of the most significant byte of random value used.
26521 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26522 Fix coding style in previous change.
26523
b4b2eb5e
DM
26524 * sysdeps/unix/sysv/linux/kernel-features.h
26525 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26526 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26527 expression.
26528 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26529 later.
26530
6e226b09
DM
265312012-03-11 David S. Miller <davem@davemloft.net>
26532
a1bcbd40
DM
26533 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26534 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26535 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26536 for 'resultvar' otherwise things get truncated on 64-bit.
26537
cb9d6174
DM
26538 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26539 Fix masking out of the most significant byte of random value used.
26540
6e226b09
DM
26541 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26542
058c132d
AS
265432012-03-10 Andreas Schwab <schwab@linux-m68k.org>
26544
26545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26546
2d2cd515
DM
265472012-03-09 David S. Miller <davem@davemloft.net>
26548
26549 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26550 variables with appropriate CPP guards.
26551 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26552 frame pointer, not the stack pointer. Correct layout comments. Fix test
26553 on resulting framesize and the management of the outregs buffer for pltexit.
26554 Preserve floating point return values across _dl_call_pltexit call.
26555 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26556 framesize and the management of the outregs buffer for pltexit.
26557 Preserve floating point return values across _dl_call_pltexit
26558 call.
26559 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26560 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26561 (print_exit): Fix format string for return register value.
26562
9a07f9d0
JM
265632012-03-10 Joseph Myers <joseph@codesourcery.com>
26564
26565 * sunrpc/Makefile (others): Add rpcgen.
26566 ($(objpfx)rpcgen): Remove special build rule and dependency on
26567 libc.
26568 * sunrpc/rpcgen.c: New file.
26569
547b5e30
PE
265702012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26571
c524201a
PE
26572 [BZ #13673]
26573 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26574 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26575 * sysdeps/i386/crti.S: Likewise.
26576 * sysdeps/i386/crtn.S: Likewise.
26577 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26578 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26579 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26580 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26581 * sysdeps/sh/crti.S: Likewise.
26582 * sysdeps/sh/crtn.S: Likewise.
26583 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26584
7b6235f2
PE
26585 [BZ #13673]
26586 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26587 with URL.
26588 * locale/programs/locfile-kw.gperf: Likewise.
26589 * locale/programs/charmap-kw.h: Regenerated.
26590 * locale/programs/locfile-kw.h: Likewise.
26591
547b5e30
PE
26592 [BZ #13673]
26593 * intl/plural.y: Replace FSF snail mail address with URL.
26594 * intl/plural.c: Regenerated.
26595
5f0a5dae
RH
265962012-03-09 Richard Henderson <rth@twiddle.net>
26597
26598 * include/math_private.h: Remove file.
26599 * math/math_private.h: Move file ...
26600 * sysdeps/generic/math_private.h: ... here.
26601
b8c03620
RH
26602 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26603 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26604 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26605
4e234f5d 26606 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
26607 and <math_private.h>.
26608 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26609 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26610 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26611 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26612 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26613 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26614 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26615 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26616 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26617 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26618 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26619 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26620 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26621 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26622 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26623 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26624 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26625 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26626 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26627 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26628 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26629 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26630 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26631 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26632 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26633 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26634 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26635 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26636 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26637 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26638 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26639 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26640 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26641 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26642 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26643 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26644 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26645 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26646 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26647 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26648 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26649 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26650 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26651 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26652 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26653 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26654 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26655 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26656 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26657 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26658 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26659 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26660 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26661 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26662 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26663 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26664 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26665 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26666 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26667 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26668 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26669 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26670 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26671 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26672 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26673 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26674 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26675 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26676 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26677 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26678 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26679 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26680 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26681 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26682 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26683 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26684 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26685 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26686 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26687 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26688 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26689 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26690 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26691 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26692 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26693 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26694 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26695 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26696 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26697 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26698 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26699 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26700 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26701 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26702 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26703 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26704 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26705 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26706 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26707 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26708 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26709 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26710 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26711 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26712 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26713 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26714 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26715 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26716 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26717 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26718 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26719 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26720 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26721 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26722 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26723 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26724 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26725 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26726 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26727 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26728 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26729 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26730 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26731 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26732 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26733 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26734 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26735 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26736 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26737 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26738 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26739 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26740 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26741 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26742 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26743 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26744 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26745 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26746 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26747 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26748 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26749 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26750 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26751 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26752 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26753 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26754 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26755 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26756 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26757 * sysdeps/ieee754/k_standard.c: Likewise.
26758 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26759 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26760 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26761 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26762 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26763 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26764 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26765 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26766 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26767 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26768 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26769 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26770 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26771 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26772 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26773 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26774 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26775 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26776 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26777 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26778 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26779 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26780 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26781 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26782 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26783 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26784 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26785 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26786 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26787 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26788 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26789 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26790 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26791 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26792 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26793 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26794 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26795 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26796 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26797 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26798 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26799 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26800 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26801 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26802 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26803 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26804 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26805 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26806 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26807 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26808 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26809 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26810 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26811 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26812 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26813 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26814 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26815 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26816 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26817 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26818 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26819 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26820 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26821 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26822 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26823 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26824 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26825 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26826 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26827 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26828 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26829 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26830 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26831 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26832 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26833 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26834 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26835 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26836 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26837 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26838 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26839 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26840 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26841 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26842 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26843 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26844 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26845 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26846 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26847 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26848 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26849 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26850 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26851 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26852 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26853 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26854 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26855 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26856 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26857 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26858 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26859 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26860 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26861 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26862 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26863 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26864 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26865 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26866 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26867 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26868 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26869 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26870 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26871 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26872 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26873 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26874 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26875 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26876 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26877 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26878 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26879 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26880 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26881 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26882 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26883 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26884 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26885 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26886 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26887 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26888 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26889 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26890 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26891 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26892 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26893 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26894 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26895 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26896 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26897 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26898 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26899 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26900 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26901 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26902 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26903 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26904 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26905 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26906 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26907 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26908 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26909 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26910 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26911 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26912 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26913 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26914 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26915 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26916 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26917 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26918 * sysdeps/ieee754/s_lib_version.c: Likewise.
26919 * sysdeps/ieee754/s_matherr.c: Likewise.
26920 * sysdeps/ieee754/s_signgam.c: Likewise.
26921 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26922 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26923 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26924 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26925 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26926 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26927 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26928 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26929 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26930 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26931 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26932 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26933 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26934 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26935 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26936 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26937 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26938 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26939 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26940 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26941 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 26942
1991fa03
JM
269432012-03-09 Joseph Myers <joseph@codesourcery.com>
26944
26945 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26946 * sunrpc/rpc_main.c: Likewise.
26947 * sunrpc/rpc_svcout.c: Likewise.
26948
60d6f5a6
DM
269492012-03-09 David S. Miller <davem@davemloft.net>
26950
26951 * include/math_private.h: New file.
26952
4962050e
JM
269532012-03-09 Joseph Myers <joseph@codesourcery.com>
26954
02a6f887
JM
26955 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26956 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26957 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26958 from <bits/socket_type.h>.
26959 (enum __socket_type): Don't define here.
26960 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26961 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26962 bits/socket_type.h.
26963
c6e013c1
JM
26964 [BZ #13566]
26965 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
26966 checking __USE_GNU.
26967
4962050e
JM
26968 * Makerules ($(inst_includedir)/%.h): New rule.
26969 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
26970 (install-others): Remove variable setting.
26971 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
26972
38842f45
RH
269732012-03-08 Richard Henderson <rth@twiddle.net>
26974
67bb6da6
RH
26975 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
26976 from macro to inline function; merge with the
26977 !__LIBC_INTERNAL_MATH_INLINES version.
26978 (__ieee754_sqrtf): Likewise.
26979
15194b4b
RH
26980 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
26981 to inline function.
26982 (__rintf, __floor, __floorf): Likewise.
26983
64e21ede
RH
26984 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
26985 macro to inline function.
26986 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
26987
38842f45
RH
26988 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
26989 not <math/math_private.h>.
26990
c64bf5fe
DM
269912012-03-08 David S. Miller <davem@davemloft.net>
26992
26993 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
26994 copyright year.
26995 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26996
82d86f28
TS
269972012-03-08 Thomas Schwinge <thomas@codesourcery.com>
26998
26999 * resolv/gai_misc.c (handle_requests): Fix struct timespec
27000 normalization.
27001 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27002 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27003
aea5d727
UD
270042012-03-08 Ulrich Drepper <drepper@gmail.com>
27005
27006 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
27007 be defined individually, they must be defined as a block. Define
27008 S for printing a string instead of hidint the different by using a
27009 macro for adding the 'l'.
27010 * stdio-common/tst-fphex-wide.c: Adjust.
27011
70bca0a3
MP
270122012-03-07 Marek Polacek <polacek@redhat.com>
27013
27014 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27015
65b81130
MP
270162012-03-08 Marek Polacek <polacek@redhat.com>
27017
27018 [BZ #13806]
27019 * stdio-common/Makefile (tests): Add tst-fphex-wide.
27020 * stdio-common/tst-fphex.c: Define a few macros to make the
27021 test reusable. Use them.
27022 * stdio-common/tst-fphex-wide.c: New file.
27023
07037eeb
JM
270242012-03-08 Joseph Myers <joseph@codesourcery.com>
27025
a7a93d50
JM
27026 [BZ #6911]
27027 * manual/macros.texi (gnusystems): New macro.
27028 (nongnusystems): Likewise.
27029 (gnulinuxhurdsystems): Likewise.
27030 (gnuhurdsystems): Likewise..
27031 (gnulinuxsystems): Likewise.
27032 * manual/charset.texi: Use new macros or @theglibc{} to refer to
27033 variants of the GNU system, not "GNU system".
27034 * manual/conf.texi: Likewise.
27035 * manual/errno.texi: Likewise. Update example of errno macro
27036 expansion.
27037 * manual/filesys.texi: Likewise.
27038 (getumask): Document as specific to GNU/Hurd.
27039 * manual/install.texi: Likewise. Reword some references to
27040 GNU/Linux.
27041 * manual/intro.texi: Likewise.
27042 * manual/io.texi: Likewise.
27043 (File Name Portability): Detail which constraints are inapplicable
27044 to all GNU systems and which are only inapplicable to GNU/Hurd.
27045 * manual/job.texi: Likewise.
27046 * manual/llio.texi: Likewise.
27047 (O_NOCTTY): Document as present on GNU/Linux.
27048 * manual/maint.texi: Likewise.
27049 * manual/memory.texi: Likewise.
27050 * manual/pattern.texi: Likewise.
27051 * manual/pipe.texi: Likewise.
27052 * manual/process.texi: Likewise.
27053 * manual/resource.texi: Likewise.
27054 (RUSAGE_CHILDREN): Remove statement about specifying a particular
27055 child on GNU/Hurd.
27056 * manual/setjmp.texi: Likewise.
27057 * manual/signal.texi: Likewise.
27058 * manual/startup.texi: Likewise.
27059 * manual/stdio.texi: Likewise.
27060 * manual/terminal.texi: Likewise.
27061 (ONLCR): Document as POSIX.
27062 (OXTABS): Document availability on GNU/Linux as XTABS.
27063 (ONOEOT): Document availability separately from other bits.
27064 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27065 * manual/time.texi: Likewise.
27066 * manual/users.texi: Likewise.
27067 * INSTALL: Regenerated.
27068 * sysdeps/gnu/errlist.c: Regenerated.
27069
07037eeb
JM
27070 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27071 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27072 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
27073 puts.
27074 * configure: Regenerated.
27075
d1d3431a
JM
270762012-03-07 Joseph Myers <joseph@codesourcery.com>
27077
af6a1e37
JM
27078 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27079 default includes instead of AC_HEADER_CHECK.
27080 * sysdeps/i386/configure: Regenerated.
27081
d1d3431a
JM
27082 [BZ #10716]
27083 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27084 * math/s_cacoshf.c (__cacoshf): Likewise.
27085 * math/s_cacoshl.c (__cacoshl): Likewise.
27086 * math/s_casinh.c (__casinh): Set signs of result from argument.
27087 * math/s_casinhf.c (__casinhf): Likewise.
27088 * math/s_casinhl.c (__casinhl): Likewise.
27089 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27090 (casinh_test): Add more tests.
27091 * sysdeps/i386/fpu/libm-test-ulps: Update.
27092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27093
482ff4da
UD
270942012-03-07 Ulrich Drepper <drepper@gmail.com>
27095
872fda05
UD
27096 * po/zh_TW.po: Update from translation team.
27097
a4300c7a
UD
27098 * login/Makefile (distribute): Remove variable.
27099 * catgets/Makefile: Likewise.
27100 * mach/Makefile: Likewise.
27101 * malloc/Makefile: Likewise.
27102 * misc/Makefile: Likewise.
27103 * iconv/Makefile: Likewise.
27104 * nscd/Makefile: Likewise.
27105 * hurd/Makefile: Likewise.
27106 * manual/Makefile: Likewise.
27107 * locale/Makefile: Likewise.
27108 * intl/Makefile: Likewise.
27109 * conform/Makefile: Likewise.
27110 * nss/Makefile: Likewise.
27111 * time/Makefile: Likewise.
27112 * soft-fp/Makefile: Likewise.
27113 * dirent/Makefile: Likewise.
27114 * gmon/Makefile: Likewise.
27115 * po/Makefile: Likewise.
27116 * rt/Makefile: Likewise.
27117 * socket/Makefile: Likewise.
27118 * math/Makefile: Likewise.
27119 * signal/Makefile: Likewise.
27120 * debug/Makefile: Likewise.
27121 * elf/Makefile: Likewise.
27122 * timezone/Makefile: Likewise.
27123 * stdlib/Makefile: Likewise.
27124 * iconvdata/Makefile: Likewise.
27125 * sunrpc/Makefile: Likewise.
27126 * io/Makefile: Likewise.
27127 * argp/Makefile: Likewise.
27128 * inet/Makefile: Likewise.
27129 * hesiod/Makefile: Likewise.
27130 * grp/Makefile: Likewise.
27131 * csu/Makefile: Likewise.
27132 * wctype/Makefile: Likewise.
27133 * crypt/Makefile: Likewise.
27134 * libio/Makefile: Likewise.
27135 * string/Makefile: Likewise.
27136 * nis/Makefile: Likewise.
27137 * resolv/Makefile: Likewise.
27138 * stdio-common/Makefile: Likewise.
27139 * wcsmbs/Makefile: Likewise.
27140 * dlfcn/Makefile: Likewise.
27141 * posix/Makefile: Likewise.
27142
3b7c4e74 27143 [BZ #6959]
482ff4da
UD
27144 * timezone/Makefile: Don't install timezone files, just the programs
27145 and scripts.
27146
f72ed77d
UD
271472012-03-06 Ulrich Drepper <drepper@gmail.com>
27148
a000466f
UD
27149 * nss/databases.def: Add missing gshadow entry.
27150
f72ed77d
UD
27151 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
27152
a53b7a4e
MP
271532012-03-06 Marek Polacek <polacek@redhat.com>
27154
27155 [BZ #13726]
27156 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27157 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27158 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27159 * stdio-common/tst-long-dbl-fphex.c: New file.
27160
e9258400
DM
271612012-03-06 David S. Miller <davem@davemloft.net>
27162
27163 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27164 (set_obp_int): New function.
27165 (get_obp_int): New function.
27166 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
27167 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27168 Avoid unused variable warnings on 'val' and use builtin_expect.
27169 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27170 __builtin_expect.
e9258400
DM
27171 (INLINE_CLONE_SYSCALL): Likewise.
27172
3bd2c723
DM
271732012-03-05 David S. Miller <davem@davemloft.net>
27174
27175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27176
bbb78d03
AS
271772012-03-05 Andreas Schwab <schwab@linux-m68k.org>
27178
884c5db4
AS
27179 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27180
bbb78d03
AS
27181 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27182 only for |x| >= 40.
27183 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27184
1c9f702a 271852012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
27186
27187 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27188 Replace gettimeofday with __vdso_gettimeofday.
27189
7be16f82
RM
27190 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27191 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27192 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
27193
27194 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27195 time with __vdso_time.
27196
ed58a00f
JM
271972012-03-05 Joseph Myers <joseph@codesourcery.com>
27198
27199 * manual/lang.texi (size_t): Note types to which size_t may be
27200 equivalent with the GNU C Library, but do not describe when
27201 differences between them are significant.
27202
30ee4ced
AJ
272032012-03-05 Andreas Jaeger <aj@suse.de>
27204
27205 * sysdeps/i386/fpu/libm-test-ulps: Update.
27206
b7cd39e8
JM
272072012-03-05 Joseph Myers <joseph@codesourcery.com>
27208
27209 [BZ #3976]
27210 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27211 (__ieee754_pow): Save and restore rounding mode and use
27212 round-to-nearest for main computations.
27213 * math/libm-test.inc (pow_test_tonearest): New function.
27214 (pow_test_towardzero): Likewise.
27215 (pow_test_downward): Likewise.
27216 (pow_test_upward): Likewise.
27217 (main): Call the new functions.
27218 * sysdeps/i386/fpu/libm-test-ulps: Update.
27219 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
27220
27221 [BZ #3976]
27222 * math/libm-test.inc (cosh_test_tonearest): New function.
27223 (cosh_test_towardzero): Likewise.
27224 (cosh_test_downward): Likewise.
27225 (cosh_test_upward): Likewise.
27226 (sinh_test_tonearest): Likewise.
27227 (sinh_test_towardzero): Likewise.
27228 (sinh_test_downward): Likewise.
27229 (sinh_test_upward): Likewise.
27230 (main): Call the new functions.
27231 * sysdeps/i386/fpu/libm-test-ulps: Update.
27232 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27233
6c6a98c9
TV
272342012-03-05 Tom de Vries <tom@codesourcery.com>
27235
27236 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27237 default stack guard is set in last bytes.
27238 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27239
21bb2d2e 272402012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 27241
21bb2d2e 27242 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 27243
21bb2d2e
AJ
27244 [BZ #13656]
27245 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27246 possibly allocate from heap instead of stack.
27247 * stdio-common/bug-vfprintf-nargs.c: New file.
27248 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 27249
c6922934
AS
272502012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27251
27252 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27253
bc957d53
MP
272542012-03-03 Marek Polacek <polacek@redhat.com>
27255
27256 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27257 * math/math_private.h: Likewise.
27258 * stdlib/tst-strtod.c: Likewise.
27259 * sysdeps/i386/i486/bits/atomic.h: Likewise.
27260 * sysdeps/x86_64/bits/atomic.h: Likewise.
27261
6358490d
DM
272622012-03-02 David S. Miller <davem@davemloft.net>
27263
27264 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27265 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27266 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27267 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27268 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27269 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27270 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27271 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27272
01ae168d
RM
272732012-03-02 Roland McGrath <roland@hack.frob.com>
27274
d9a17c07
RM
27275 [BZ #13792]
27276 * manual/examples/README: New file, says the example source files
27277 can be used under GPL>=2.
27278 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27279 line containing just "*/".
27280 * manual/examples/add.c: Add copyright header (GPL>=2).
27281 * manual/examples/argp-ex1.c: Likewise.
27282 * manual/examples/argp-ex2.c: Likewise.
27283 * manual/examples/argp-ex3.c: Likewise.
27284 * manual/examples/argp-ex4.c: Likewise.
27285 * manual/examples/atexit.c: Likewise.
27286 * manual/examples/db.c: Likewise.
27287 * manual/examples/dir.c: Likewise.
27288 * manual/examples/dir2.c: Likewise.
27289 * manual/examples/execinfo.c: Likewise.
27290 * manual/examples/filecli.c: Likewise.
27291 * manual/examples/filesrv.c: Likewise.
27292 * manual/examples/fmtmsgexpl.c: Likewise.
27293 * manual/examples/genpass.c: Likewise.
27294 * manual/examples/inetcli.c: Likewise.
27295 * manual/examples/inetsrv.c: Likewise.
27296 * manual/examples/isockad.c: Likewise.
27297 * manual/examples/longopt.c: Likewise.
27298 * manual/examples/memopen.c: Likewise.
27299 * manual/examples/memstrm.c: Likewise.
27300 * manual/examples/mkfsock.c: Likewise.
27301 * manual/examples/mkisock.c: Likewise.
27302 * manual/examples/mygetpass.c: Likewise.
27303 * manual/examples/pipe.c: Likewise.
27304 * manual/examples/popen.c: Likewise.
27305 * manual/examples/rprintf.c: Likewise.
27306 * manual/examples/search.c: Likewise.
27307 * manual/examples/select.c: Likewise.
27308 * manual/examples/setjmp.c: Likewise.
27309 * manual/examples/sigh1.c: Likewise.
27310 * manual/examples/sigusr.c: Likewise.
27311 * manual/examples/stpcpy.c: Likewise.
27312 * manual/examples/strdupa.c: Likewise.
27313 * manual/examples/strftim.c: Likewise.
27314 * manual/examples/strncat.c: Likewise.
27315 * manual/examples/subopt.c: Likewise.
27316 * manual/examples/swapcontext.c: Likewise.
27317 * manual/examples/termios.c: Likewise.
27318 * manual/examples/testopt.c: Likewise.
27319 * manual/examples/testpass.c: Likewise.
27320 * manual/examples/timeval_subtract.c: Likewise.
27321
01ae168d
RM
27322 [BZ #13792]
27323 * manual/time.texi (Elapsed Time): Move timeval_subtract example
27324 function to ...
27325 * manual/timeval_subtract.c.texi: ... here, new file.
27326
49efa33d
DM
273272012-03-02 David S. Miller <davem@davemloft.net>
27328
27329 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27330
28afd92d
JM
273312012-03-02 Joseph Myers <joseph@codesourcery.com>
27332
804360ed
JM
27333 [BZ #3976]
27334 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27335 (__sin): Save and restore rounding mode and use round-to-nearest
27336 for all computations.
27337 (__cos): Save and restore rounding mode and use round-to-nearest
27338 for all computations.
27339 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27340 <fenv.h>.
27341 (tan): Save and restore rounding mode and use round-to-nearest for
27342 all computations.
27343 * math/libm-test.inc (cos_test_tonearest): New function.
27344 (cos_test_towardzero): Likewise.
27345 (cos_test_downward): Likewise.
27346 (cos_test_upward): Likewise.
27347 (sin_test_tonearest): Likewise.
27348 (sin_test_towardzero): Likewise.
27349 (sin_test_downward): Likewise.
27350 (sin_test_upward): Likewise.
27351 (tan_test_tonearest): Likewise.
27352 (tan_test_towardzero): Likewise.
27353 (tan_test_downward): Likewise.
27354 (tan_test_upward): Likewise.
27355 (main): Call the new functions.
27356 * sysdeps/i386/fpu/libm-test-ulps: Update.
27357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27358
a6d06d7b
JM
27359 [BZ #10135]
27360 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27361 small n, then large n, before computing and testing k+n.
27362 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27363 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27364 Likewise.
27365 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27366 Likewise.
27367 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27368 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27369 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27370 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27371 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27372 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27373 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27374 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27375 * math/libm-test.inc (scalbn_test): Add more tests.
27376 (scalbln_test): Likewise.
27377
07e12bb3
JM
27378 * manual/filesys.texi (mode_t): Describe constraints on size and
27379 signedness, not exact equivalence to a particular type.
27380 (ino_t): Likewise.
27381 (ino64_t): Likewise.
27382 (dev_t): Likewise.
27383 (nlink_t): Likewise.
27384 (blkcnt_t): Likewise.
27385 (blkcnt64_t): Likewise.
27386 * manual/llio.texi (off_t): Likewise.
27387
28afd92d
JM
27388 [BZ #3976]
27389 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27390 (__ieee754_exp): Save and restore rounding mode and use
27391 round-to-nearest for all computations.
27392 * math/libm-test.inc (exp_test_tonearest): New function.
27393 (exp_test_towardzero): Likewise.
27394 (exp_test_downward): Likewise.
27395 (exp_test_upward): Likewise.
27396 (main): Call the new functions.
27397 * sysdeps/i386/fpu/libm-test-ulps: Update.
27398 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27399
b1eeb65d
CD
274002012-03-01 Chris Demetriou <cgd@google.com>
27401
27402 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27403 have predictable order.
27404
53362a4b
DM
274052012-03-01 David S. Miller <davem@davemloft.net>
27406
3c969083
DM
27407 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27408
759707de
DM
27409 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
27410 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
27411 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
27412 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
27413
dfdb8ff2
DM
27414 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
27415 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
27416 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
27417 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
27418 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
27419 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
27420 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
27421 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27422 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27423
ead89f96
DM
27424 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27425
7f66bd07
DM
27426 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27427 * sysdeps/sparc/fpu/libm-test-ulps: to here.
27428 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27429
53362a4b
DM
27430 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27431 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27432 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27433 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27434 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27435 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27436 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27437 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27438 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27439 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27440 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27441 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27442 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27443 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27444 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27445 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27446 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27447 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27448 * sysdeps/sparc/elf/configure: Regenerated.
27449
7b1902cb
JM
274502012-03-01 Joseph Myers <joseph@codesourcery.com>
27451
bec039bc
JM
27452 * configure.in (AS, LD): Require binutils 2.20 or later.
27453 * configure: Regenerated.
27454 * manual/install.texi (Tools for Compilation): Give binutils 2.20
27455 as required minimum version.
27456 * INSTALL: Regenerated.
27457
7b1902cb
JM
27458 [BZ #2541]
27459 [BZ #4108]
27460 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27461 before squaring exponent.
27462 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27463 bottom long double and 27 bits of top long double before squaring
27464 exponent.
27465 * math/libm-test.inc (erfc_test): Add more tests.
27466 * sysdeps/i386/fpu/libm-test-ulps: Update.
27467 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27468 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27469
f775c276
KT
274702012-03-01 Kai Tietz <ktietz@redhat.com>
27471
27472 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27473 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27474 containing bit-fields.
27475 * soft-fp/extended.h (_FP_UNION_E): Likewise.
27476 * soft-fp/single.h (_FP_UNION_S): Likewise.
27477 * soft-fp/double.h (_FP_UNION_D): Likewise.
27478
5b8a4d4a
JM
274792012-02-29 Joseph Myers <joseph@codesourcery.com>
27480
0bab47b6
JM
27481 [BZ #13786]
27482 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27483 not include ../strcmp.S.
27484 [USE_AS_STRNCASECMP_L]: Likewise.
27485 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27486 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27487 * sysdeps/i386/i686/multiarch/strncase_l-c.c
27488 (__strncasecmp_l_ia32): Define as alias to
27489 __strncasecmp_l_nonascii.
27490
0fcad3e2
JM
27491 [BZ #5794]
27492 * math/libm-test.inc (expm1_test): Add test for bug 5794.
27493 * sysdeps/i386/fpu/libm-test-ulps: Update.
27494 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27495
5b8a4d4a
JM
27496 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27497 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27498
8fdceb2e
JL
274992012-02-29 Jeff Law <law@redhat.com>
27500
27501 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27502 out of bounds read.
27503
1f393a11
MP
275042012-02-29 Marek Polacek <polacek@redhat.com>
27505
27506 [BZ #13706]
27507 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27508 * elf/Makefile: Add rules to run tst-unused-dep.out.
27509
8847f037
DM
275102012-02-28 David S. Miller <davem@davemloft.net>
27511
27512 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27513 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27514 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27515 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27516 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27517 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27518
169d7f11
JM
275192012-02-29 Joseph Myers <joseph@codesourcery.com>
27520
27521 * math/libm-test.inc (llround_test): Move one test from
27522 lround_test. Use TEST_f_L in moved test.
27523 (lround_test): Move misplaced test to llround_test. Add testcase
27524 from bug 2561.
27525
39adf059
UD
275262012-02-28 Ulrich Drepper <drepper@gmail.com>
27527
27528 * sysdeps/x86_64/fpu/e_expf.S: New file.
27529 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27530
71b5d1c5
SB
275312012-02-28 Stanislav Brabec <sbrabec@suse.cz>
27532
27533 [BZ #13637]
27534 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27535 of remain_len that may cause incomplete multi-byte character and
27536 false match.
27537 * posix/bug-regex33.c: New file.
27538 * posix/Makefile (tests): Add bug-regex33.
27539
1f77f049
JM
275402012-02-28 Joseph Myers <joseph@codesourcery.com>
27541
27542 * manual/macros.texi: New file.
27543 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27544 * manual/libc.texinfo: Include macros.texi.
27545 * manual/creatute.texi: Likewise.
27546 * manual/install.texi: Likewise.
27547 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27548 @glibcadj{} in references to the GNU C Library.
27549 * manual/charset.texi: Likewise.
27550 * manual/conf.texi: Likewise.
27551 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27552 when not using those macros.
27553 * manual/creature.texi: Likewise.
27554 * manual/crypt.texi: Likewise.
27555 * manual/errno.texi: Likewise.
27556 * manual/filesys.texi: Likewise.
27557 * manual/header.texi: Likewise.
27558 * manual/install.texi: Likewise.
27559 * manual/intro.texi: Likewise.
27560 * manual/io.texi: Likewise.
27561 * manual/job.texi: Likewise.
27562 * manual/lang.texi: Likewise.
27563 * manual/libc.texiinfo: Likewise.
27564 * manual/llio.texi: Likewise.
27565 * manual/locale.texi: Likewise.
27566 * manual/maint.texi: Likewise.
27567 * manual/math.texi: Likewise.
27568 * manual/memory.texi: Likewise.
27569 * manual/message.texi: Likewise.
27570 * manual/nss.texi: Likewise.
27571 * manual/pattern.texi: Likewise.
27572 * manual/process.texi: Likewise.
27573 * manual/resource.texi: Likewise.
27574 * manual/search.texi: Likewise.
27575 * manual/setjmp.texi: Likewise.
27576 * manual/signal.texi: Likewise.
27577 * manual/socket.texi: Likewise.
27578 * manual/startup.texi: Likewise.
27579 * manual/stdio.texi: Likewise.
27580 * manual/string.texi: Likewise.
27581 * manual/sysinfo.texi: Likewise.
27582 * manual/syslog.texi: Likewise.
27583 * manual/terminal.texi: Likewise.
27584 * manual/time.texi: Likewise.
27585 * manual/users.texi: Likewise.
27586 * INSTALL: Regenerated.
27587 * NOTES: Regenerated.
d40c5d54 27588 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 27589
450bf206
AS
275902012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27591
27592 * include/dirent.h: Include <dirstream.h> before
27593 <dirent/dirent.h>.
27594
741a235b
DM
275952012-02-28 David S. Miller <davem@davemloft.net>
27596
27597 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27598 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27599 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27600 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27601
d6b5aa58
DM
276022012-02-27 David S. Miller <davem@davemloft.net>
27603
1aff59a3
DM
27604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27605 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27606 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27607 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27608
d6b5aa58
DM
27609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27610 frame pointer instead of stack pointer relative arg slot.
27611 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27612 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27613 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27614
433f48bf
CD
276152012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27616
27617 [BZ #3992]
27618 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27619
d674b76d
DM
276202012-02-27 David S. Miller <davem@davemloft.net>
27621
27622 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27623 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27624 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27625 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27626 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27627 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27628 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27629 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27630
0e7727f7
JM
276312012-02-27 Joseph Myers <joseph@codesourcery.com>
27632
27633 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27634 later. Allow versions 5-9.
43be4ca2 27635 * configure: Regenerated.
0e7727f7
JM
27636 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27637 required minimum version and 4.6 as recommended version. Do not
27638 mention bugs in GCC 2.7 and 2.8.
43be4ca2 27639 * INSTALL: Regenerated.
0e7727f7 27640
a78bc654
DM
276412012-02-27 David S. Miller <davem@davemloft.net>
27642
428d5830
DM
27643 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27644 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27645 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27647 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27648 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27649 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27650 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27651
a78bc654
DM
27652 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27653 manipulate bits before adding and subtracting TWO112[sx].
27654 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27655
4579f81c
RM
276562012-02-27 Roland McGrath <roland@hack.frob.com>
27657
36c8acb4
RM
27658 [BZ #13775]
27659 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27660 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27661 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27662 being in POSIX, because they are in 1003.1-2008.
27663
84ad622b
RM
27664 * rt/tst-aio.c: Include <fcntl.h>.
27665 * rt/tst-aio7.c: Likewise.
27666 * rt/tst-aio64.c: Likewise.
27667
4579f81c
RM
27668 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27669
abd923db
JM
276702012-02-27 Joseph Myers <joseph@codesourcery.com>
27671
27672 * manual/install.texi (--with-headers): Describe headers as
27673 interface headers, not private headers.
27674 (Specific advice for GNU/Linux systems): Describe use of headers
27675 from "make headers_install", not private headers from older
27676 kernels.
43be4ca2 27677 * INSTALL: Regenerated.
abd923db
JM
27678 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27679 Change to 2.6.19.
27680 * sysdeps/unix/sysv/linux/configure: Regenerated.
27681
6664049b
JM
27682 * manual/llio.texi (fclean): Remove documentation.
27683
bb8b6697
JM
27684 * manual/Makefile (libc-texi-generated): New variable. Include
27685 version.texi.
27686 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27687 $(libc-texi-generated), not duplicated list of files.
27688 (version.texi, stamp-version): New rules.
27689 (realclean): Remove $(libc-texi-generated), not individual files
27690 from that list. Do not remove dir-add.texinfo.
27691 * manual/libc.texinfo: Comment out uses of edition numbers and
27692 references to printed manual. Remove last-updated dates.
27693 (EDITION): Comment out.
27694 (ISBN): Likewise.
27695 (VERSION, UPDATED): Remove.
27696 (version.texi): Include.
27697
12e5c3b9
AS
276982012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27699
27700 * sysdeps/posix/spawni.c: Include <signal.h>.
27701 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27702 * sysdeps/pthread/aio_fsync.c: Likewise.
27703
4efeffc1 277042012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 27705
ba63ba08
UD
27706 * conform/Makefile (tests): Run only when not cross-compiling and
27707 when fast-check is not defined.
27708
d94a4670
UD
27709 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27710 * conform/data/limits.h-data: Fixes for POSIX2008.
27711 * conform/run-conformtest.sh: Run all tests.
27712 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27713 headers.
27714 * include/bits/dlfcn.h: Likewise.
27715 * include/langinfo.h: Likewise.
27716 * include/monetary.h: Likewise.
27717 * include/sys/poll.h: Likewise.
27718
27719 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27720 for __USE_GNU.
27721 * posix/spawn.h: Define __need_sigset_t.
27722 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27723 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27724 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27725 to get sigevent_t only.
27726 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27727 only for __USE_GNU.
27728 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27729 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27730 process_vm_writev only for __USE_GNU.
27731 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
27732
27733 * conform/Makefile: For now ignore errors from run-conformtest.
27734 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27735 POSIX to avoid namespace pollution. Don't prepend headers.
27736 * conform/data/aio.h-data: Fixes for POSIX testing.
27737 * conform/data/fcntl.h-data: Likewise.
27738 * conform/data/glob.h-data: Likewise.
27739 * conform/data/grp.h-data: Likewise.
27740 * conform/data/pthread.h-data: Likewise.
27741 * conform/data/pwd.h-data: Likewise.
27742 * conform/data/signal.h-data: Likewise.
27743 * conform/data/spawn.h-data: Likewise.
27744 * conform/data/stdio.h-data: Likewise.
27745 * conform/data/stdlib.h-data: Likewise.
27746 * conform/data/stropts.h-data: Likewise.
27747 * conform/data/sys/mman.h-data: Likewise.
27748 * conform/data/sys/stat.h-data: Likewise.
27749 * conform/data/sys/types.h-data: Likewise.
27750 * conform/data/sys/wait.h-data: Likewise.
27751 * conform/data/time.h-data: Likewise.
27752 * conform/data/unistd.h-data: Likewise.
27753 * conform/data/utime.h-data: Likewise.
27754
27755 * io/sys/stat.h: fchmod was always in POSIX.
27756 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27757 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27758 * rt/aio.h: Define __need_timespec before including <time.h>.
27759 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27760 struct. Add forward declaration of pthread_attr_t and use it in
27761 sigevent.
27762 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27763 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27764 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27765 always remove CLK_TCK definition.
27766
c20105c3
AS
277672012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27768
27769 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27770
7a270350
UD
277712012-02-25 Ulrich Drepper <drepper@gmail.com>
27772
31341567
UD
27773 * conform/run-conformtest.sh: New file.
27774 * conform/Makefile: Run run-conformtest for tests.
27775 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27776 support.
27777
27778 * conform/data/uchar.h-data: New file.
27779 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27780 * conform/data/arpa/inet.h-data: Likewise.
27781 * conform/data/assert.h-data: Likewise.
27782 * conform/data/complex.h-data: Likewise.
27783 * conform/data/cpio.h-data: Likewise.
27784 * conform/data/ctype.h-data: Likewise.
27785 * conform/data/dirent.h-data: Likewise.
27786 * conform/data/dlfcn.h-data: Likewise.
27787 * conform/data/errno.h-data: Likewise.
27788 * conform/data/fcntl.h-data: Likewise.
27789 * conform/data/float.h-data: Likewise.
27790 * conform/data/fmtmsg.h-data: Likewise.
27791 * conform/data/fnmatch.h-data: Likewise.
27792 * conform/data/ftw.h-data: Likewise.
27793 * conform/data/glob.h-data: Likewise.
27794 * conform/data/grp.h-data: Likewise.
27795 * conform/data/iconv.h-data: Likewise.
27796 * conform/data/inttypes.h-data: Likewise.
27797 * conform/data/langinfo.h-data: Likewise.
27798 * conform/data/libgen.h-data: Likewise.
27799 * conform/data/limits.h-data: Likewise.
27800 * conform/data/locale.h-data: Likewise.
27801 * conform/data/math.h-data: Likewise.
27802 * conform/data/monetary.h-data: Likewise.
27803 * conform/data/mqueue.h-data: Likewise.
27804 * conform/data/ndbm.h-data: Likewise.
27805 * conform/data/net/if.h-data: Likewise.
27806 * conform/data/netdb.h-data: Likewise.
27807 * conform/data/netinet/in.h-data: Likewise.
27808 * conform/data/nl_types.h-data: Likewise.
27809 * conform/data/poll.h-data: Likewise.
27810 * conform/data/pthread.h-data: Likewise.
27811 * conform/data/pwd.h-data: Likewise.
27812 * conform/data/regex.h-data: Likewise.
27813 * conform/data/sched.h-data: Likewise.
27814 * conform/data/search.h-data: Likewise.
27815 * conform/data/semaphore.h-data: Likewise.
27816 * conform/data/setjmp.h-data: Likewise.
27817 * conform/data/signal.h-data: Likewise.
27818 * conform/data/spawn.h-data: Likewise.
27819 * conform/data/stdarg.h-data: Likewise.
27820 * conform/data/stdio.h-data: Likewise.
27821 * conform/data/stdlib.h-data: Likewise.
27822 * conform/data/string.h-data: Likewise.
27823 * conform/data/strings.h-data: Likewise.
27824 * conform/data/stropts.h-data: Likewise.
27825 * conform/data/sys/ipc.h-data: Likewise.
27826 * conform/data/sys/mman.h-data: Likewise.
27827 * conform/data/sys/msg.h-data: Likewise.
27828 * conform/data/sys/resource.h-data: Likewise.
27829 * conform/data/sys/select.h-data: Likewise.
27830 * conform/data/sys/sem.h-data: Likewise.
27831 * conform/data/sys/shm.h-data: Likewise.
27832 * conform/data/sys/socket.h-data: Likewise.
27833 * conform/data/sys/stat.h-data: Likewise.
27834 * conform/data/sys/statvfs.h-data: Likewise.
27835 * conform/data/sys/time.h-data: Likewise.
27836 * conform/data/sys/timeb.h-data: Likewise.
27837 * conform/data/sys/times.h-data: Likewise.
27838 * conform/data/sys/types.h-data: Likewise.
27839 * conform/data/sys/uio.h-data: Likewise.
27840 * conform/data/sys/un.h-data: Likewise.
27841 * conform/data/sys/utsname.h-data: Likewise.
27842 * conform/data/sys/wait.h-data: Likewise.
27843 * conform/data/syslog.h-data: Likewise.
27844 * conform/data/tar.h-data: Likewise.
27845 * conform/data/termios.h-data: Likewise.
27846 * conform/data/utime.h-data: Likewise.
27847 * conform/data/utmpx.h-data: Likewise.
27848 * conform/data/varargs.h-data: Likewise.
27849 * conform/data/wchar.h-data: Likewise.
27850 * conform/data/wctype.h-data: Likewise.
27851 * conform/data/wordexp.h-data: Likewise.
27852
27853 * include/stropts.h: New file.
27854 * include/uchar.h: New file.
27855 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27856 * include/assert.h: Likewise.
27857 * include/ctype.h: Likewise.
27858 * include/dirent.h: Likewise.
27859 * include/dlfcn.h: Likewise.
27860 * include/fcntl.h: Likewise.
27861 * include/fnmatch.h: Likewise.
27862 * include/glob.h: Likewise.
27863 * include/grp.h: Likewise.
27864 * include/libio.h: Likewise.
27865 * include/locale.h: Likewise.
27866 * include/math.h: Likewise.
27867 * include/net/if.h: Likewise.
27868 * include/netdb.h: Likewise.
27869 * include/netinet/in.h: Likewise.
27870 * include/pthread.h: Likewise.
27871 * include/pwd.h: Likewise.
27872 * include/regex.h: Likewise.
27873 * include/sched.h: Likewise.
27874 * include/search.h: Likewise.
27875 * include/setjmp.h: Likewise.
27876 * include/signal.h: Likewise.
27877 * include/stdio.h: Likewise.
27878 * include/stdlib.h: Likewise.
27879 * include/string.h: Likewise.
27880 * include/sys/cdefs.h: Likewise.
27881 * include/sys/mman.h: Likewise.
27882 * include/sys/msg.h: Likewise.
27883 * include/sys/resource.h: Likewise.
27884 * include/sys/select.h: Likewise.
27885 * include/sys/socket.h: Likewise.
27886 * include/sys/stat.h: Likewise.
27887 * include/sys/statvfs.h: Likewise.
27888 * include/sys/time.h: Likewise.
27889 * include/sys/times.h: Likewise.
27890 * include/sys/uio.h: Likewise.
27891 * include/sys/utsname.h: Likewise.
27892 * include/sys/wait.h: Likewise.
27893 * include/termios.h: Likewise.
27894 * include/time.h: Likewise.
27895 * include/ulimit.h: Likewise.
27896 * include/unistd.h: Likewise.
27897 * include/utime.h: Likewise.
27898 * include/wchar.h: Likewise.
27899 * include/wctype.h: Likewise.
27900 * include/wordexp.h: Likewise.
27901
27902 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27903
7a270350
UD
27904 * time/time.h: TIME_UTC must be a macro.
27905 Make timespec_get available for ISO C11 only as well.
27906
7724defc
UD
279072012-02-24 Ulrich Drepper <drepper@gmail.com>
27908
27909 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27910 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27911
6b1d1d46
JM
279122012-02-24 Joseph Myers <joseph@codesourcery.com>
27913
27914 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 27915
0f8bbd69
JM
279162012-02-24 Joseph Myers <joseph@codesourcery.com>
27917
27918 * manual/texinfo.tex: Update to version 2012-01-19.16.
27919
66ab80bc
JM
279202012-02-24 Joseph Myers <joseph@codesourcery.com>
27921
27922 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27923
74981cc5
RM
279242012-02-24 Roland McGrath <roland@hack.frob.com>
27925
ee968201
RM
27926 [BZ #13738]
27927 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27928 * manual/fdl-1.3.texi: New file.
27929 * manual/fdl-1.1.texi: File removed.
27930
74981cc5
RM
27931 [BZ #13738]
27932 * manual/libc.texinfo (FDL_VERSION): New @set.
27933 Use it for mention of FDL in cover text.
27934 (Documentation License): Use it in @include file name.
27935
7bb764bc
JM
279362012-02-22 Joseph Myers <joseph@codesourcery.com>
27937 Roland McGrath <roland@hack.frob.com>
27938
27939 [BZ #5461]
27940 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27941 not LONG_LONG_MAX and LONG_LONG_MIN.
27942 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27943 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
27944 name.
27945 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27946
6cbeae47
JM
279472012-02-22 Joseph Myers <joseph@codesourcery.com>
27948
27949 [BZ #2547]
27950 [BZ #11365]
27951 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27952 manipulate bits before adding and subtracting TWO23[sx].
27953 * math/libm-test.inc (nearbyint_test): Add more tests.
27954
fe45ce09
JM
279552012-02-22 Joseph Myers <joseph@codesourcery.com>
27956
27957 [BZ #2548]
27958 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27959 bits before adding and subtracting TWO23[sx].
27960 * math/libm-test.inc (rint_test): Add more tests.
27961 (rint_test_tonearest): Likewise.
27962 (rint_test_towardzero): Likewise.
27963 (rint_test_downward): Likewise.
27964 (rint_test_upward: Likewise.
27965
ff3b3d82
JM
279662012-02-22 Joseph Myers <joseph@codesourcery.com>
27967
27968 [BZ #10110]
27969 * include/stdc-predef.h: New file. Extracted from features.h.
27970 * include/features.h: Include stdc-predef.h.
27971 * Makefile (headers): Add stdc-predef.h.
27972 * CONFORMANCE (Compiler limitations): Update.
27973
ef0aab35
JM
279742012-02-22 Joseph Myers <joseph@codesourcery.com>
27975
27976 * manual/libc.texinfo (VERSION, UPDATED): Revert.
27977
58639409
DM
279782012-02-21 David S. Miller <davem@davemloft.net>
27979
27980 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
27981 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
27982
c0e70b25
DM
279832012-02-20 David S. Miller <davem@davemloft.net>
27984
27985 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
27986 using a normal save/restore sequence, rather than allocating a
27987 dummy stack frame just to store a frame pointer and restore.
27988 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27989
fb06851d
JM
279902012-02-21 Joseph Myers <joseph@codesourcery.com>
27991
27992 * manual/install.texi: Fix stray word in line-wrapped comment.
27993
7a8b71c3
DM
279942012-02-20 David S. Miller <davem@davemloft.net>
27995
d510c123
DM
27996 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
27997 both binutils and gcc support GOTDATA.
27998
0722d7c2
DM
27999 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28000 "rd %pc" in the PIC register setup sequences.
28001
3d2b3019
DM
28002 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28003 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28004 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28005 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28006 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28007 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28008 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28009 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28010 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28011 (SYSCALL_ERROR_HANDLER): Likewise.
28012 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28013 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28014 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28015 (SYSCALL_ERROR_HANDLER): Likewise.
28016
c80098a9
DM
28017 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28018 (HAVE_GCC_GOTDATA): New.
28019 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28020 relocation support in both binutils and gcc.
28021 * sysdeps/sparc/elf/configure: Regenerate.
28022
3a2545a0
DM
28023 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28024 * sysdeps/sparc/sparc32/elf/configure: Delete.
28025 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28026 * sysdeps/sparc/sparc64/elf/configure: Delete.
28027 * sysdeps/sparc/elf/configure.in: New file.
28028 * sysdeps/sparc/elf/configure: Generate.
28029
7a8b71c3
DM
28030 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28031 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28032 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28033 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28034 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28035
f1e86fca
JM
280362012-02-21 Joseph Myers <joseph@codesourcery.com>
28037
28038 * manual/install.texi: Do not mention specific glibc version
28039 numbers.
28040 * manual/libc.texinfo (VERSION, UPDATED): Update.
28041 (@copying): Use @copyright{} and range of years.
28042
0e7dfaef
JM
280432012-02-21 Joseph Myers <joseph@codesourcery.com>
28044
28045 [BZ #13695]
28046 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28047 [crti.S not in sysdirs] (generated): Do not append.
28048 [crti.S not in sysdirs] (omit-deps): Likewise.
28049 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28050 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28051 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28052 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28053 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28054 Likewise.
28055 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28056 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28057 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28058 * csu/defs.awk: Remove file.
28059 * sysdeps/generic/initfini.c: Likewise.
28060 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28061 variable.
28062 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28063 Likewise.
28064
599af3ca
JM
280652012-02-20 Joseph Myers <joseph@codesourcery.com>
28066
28067 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28068 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28069 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28070 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28071 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28072 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28073 <bits/epoll.h>.
28074 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28075 (__EPOLL_PACKED): Define to empty if not defined by
28076 <bits/epoll.h>.
28077 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28078 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28079 bits/epoll.h.
28080
0e499750
JM
280812012-02-20 Joseph Myers <joseph@codesourcery.com>
28082
28083 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28084 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28085 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28086 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28087 <bits/timerfd.h>.
28088 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28089 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28090 bits/timerfd.h.
28091
5ad91f6e
JM
280922012-02-20 Joseph Myers <joseph@codesourcery.com>
28093
28094 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28095 in C locale.
28096 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28097 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28098 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28099 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28100
06b99b02
AJ
281012012-02-20 Aurelien Jarno <aurelien@aurel32.net>
28102
28103 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28104 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28105
7638c0fd
AS
281062012-02-19 Andreas Schwab <schwab@linux-m68k.org>
28107
28108 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28109 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28110 defined.
28111 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28112 Likewise.
28113 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28114 entry for 2.16.
28115
92221550
AJ
281162012-02-19 Aurelien Jarno <aurelien@aurel32.net>
28117
28118 * math/w_acos.c: Use non-signaling floating-point comparisons.
28119 * math/w_acosf.c: Likewise.
28120 * math/w_acosh.c: Likewise.
28121 * math/w_acoshf.c: Likewise.
28122 * math/w_acoshl.c: Likewise.
28123 * math/w_acosl.c: Likewise.
28124 * math/w_asin.c: Likewise.
28125 * math/w_asinf.c: Likewise.
28126 * math/w_asinl.c: Likewise.
28127 * math/w_atanh.c: Likewise.
28128 * math/w_atanhf.c: Likewise.
28129 * math/w_atanhl.c: Likewise.
28130 * math/w_exp2.c: Likewise.
28131 * math/w_exp2f.c: Likewise.
28132 * math/w_exp2l.c: Likewise.
28133 * math/w_j0.c: Likewise.
28134 * math/w_j0f.c: Likewise.
28135 * math/w_j0l.c: Likewise.
28136 * math/w_j1.c: Likewise.
28137 * math/w_j1f.c: Likewise.
28138 * math/w_j1l.c: Likewise.
28139 * math/w_jn.c: Likewise.
28140 * math/w_jnf.c: Likewise.
28141 * math/w_log.c: Likewise.
28142 * math/w_log10.c: Likewise.
28143 * math/w_log10f.c: Likewise.
28144 * math/w_log10l.c: Likewise.
28145 * math/w_log2.c: Likewise.
28146 * math/w_log2f.c: Likewise.
28147 * math/w_log2l.c: Likewise.
28148 * math/w_logf.c: Likewise.
28149 * math/w_logl.c: Likewise.
28150 * math/w_sqrt.c: Likewise.
28151 * math/w_sqrtf.c: Likewise.
28152 * math/w_sqrtl.c: Likewise.
28153 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28154 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28155 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28156 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28157 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28158
ebaf36eb
JM
281592012-02-19 Joseph Myers <joseph@codesourcery.com>
28160
28161 [BZ #9739]
28162 * manual/string.texi (strnlen): Use correct parameter name in
28163 equivalent expression.
28164
71c254a6
JM
281652012-02-19 Joseph Myers <joseph@codesourcery.com>
28166
28167 [BZ #11174]
28168 * manual/users.texi (seteuid): Consistently use neweuid for
28169 argument name.
28170
16d2c631
JM
281712012-02-19 Joseph Myers <joseph@codesourcery.com>
28172
28173 [BZ #13704]
28174 * manual/nss.texi (Services in the NSS configuration): Correct
28175 list of services in example configuration file.
28176
cd837b09
NB
281772012-02-19 Nick Bowler <nbowler@draconx.ca>
28178
28179 [BZ #11322]
28180 * manual/arith.texi: Remove statements about negative zero
28181 behaving identically to zero.
28182
02c4bbad
JM
281832012-02-18 Joseph Myers <joseph@codesourcery.com>
28184
28185 [BZ #5993]
28186 * manual/install.texi: Do not document upgrading from libc5.
28187
366842e7
JM
281882012-02-18 Joseph Myers <joseph@codesourcery.com>
28189
28190 [BZ #4596]
28191 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28192
dd54084d
DM
281932012-02-18 David S. Miller <davem@davemloft.net>
28194
28195 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28196 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28197 %o7 across the call.
28198 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28199 instead.
28200 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28201 SETUP_PIC_REG_LEAF.
28202 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28203 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28204 * sysdeps/sparc/crtn.S: Likewise.
28205
2bcc53a3
UD
282062012-02-17 Ulrich Drepper <drepper@gmail.com>
28207
28208 * aout/Makefile: Remove.
28209
09c093b5
RK
282102012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
28211
28212 [BZ #13058]
28213 * manual/examples/argp-ex1.c (main): Format definition in GNU
28214 style.
28215 * manual/examples/argp-ex2.c (main): Likewise.
28216 * manual/examples/argp-ex3.c (main): Likewise.
28217 * manual/examples/argp-ex4.c (main): Likewise.
28218 * manual/examples/longopt.c (main): Use new-style prototype
28219 definition.
28220 * manual/examples/strncat.c (main): Specify return type and use
28221 (void) for arguments.
28222 * manual/examples/subopt.c (main): Use char **argv argument.
28223
2ee633a2
JM
282242012-02-17 Joseph Myers <joseph@codesourcery.com>
28225
28226 [BZ #5077]
28227 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28228 rounding modes.
28229
0520adde
FB
282302012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28231
28232 [BZ #6907]
28233 * manual/string.texi (strchr): Change when strchrnul is
28234 recommended.
28235
3f4081cd
DGM
282362012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28237
28238 [BZ #174]
28239 * manual/locale.texi (setlocale): Document LOCPATH.
28240
d1b10e78
JM
282412012-02-17 Joseph Myers <joseph@codesourcery.com>
28242
28243 [BZ #10210]
28244 * manual/process.texi (execle): Move @dots{} before last argument.
28245
79c6869c
PB
282462012-02-17 Paul Bolle <pebolle@tiscali.nl>
28247
28248 [BZ #12047]
28249 * manual/charset.texi (Generic Charset Conversion): Fix typo
28250 (LC_TYPE -> LC_CTYPE).
28251
cc6e48bc
NB
282522012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28253
28254 [BZ #5805]
28255 * manual/arith.texi (scalbn): Use @var{} on parameter names.
28256 (scalbnf): Likewise.
28257 (scalbnl): Likewise.
28258 (scalbln): Likewise.
28259 (scalblnf): Likewise.
28260 (scalblnl): Likewise.
28261 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28262 (vwarnx): Likewise.
28263 (verr): Likewise.
28264 (verrx): Likewise.
28265 * manual/filesys.texi (telldir): Use braces around return type.
28266 * manual/llio.texi (mmap): Add space after comma.
28267 (mmap64): Likewise.
28268 * manual/math.texi (jn): Use @var{} on parameter names.
28269 (jnf): Likewise.
28270 (jnl): Likewise.
28271 (yn): Likewise.
28272 (ynf): Likewise.
28273 (ynl): Likewise.
28274 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28275 line.
28276 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28277 "...".
28278 (sched_get_priority_min): Remove semicolon on @deftypefun line.
28279 (sched_get_priority_max): Likewise.
28280 * manual/signal.texi (sigvec): Add space after comma.
28281 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28282 names.
28283 (if_indextoname): Likewise.
28284 (if_freenameindex): Likewise.
28285 (sendto): Use ',' instead of '.' in prototype.
28286 * manual/startup.texi (syscall): Use @dots{} instead of literal
28287 "...".
28288 * manual/stdio.texi (__fpending): Separate initial words of
28289 paragraph from @deftypefun line.
28290 * manual/syslog.texi (syslog): Use @dots{} instead of literal
28291 "...".
28292 (vsyslog): Use @var{} on parameter names.
28293 * manual/terminal.texi (stty): Use @var{} on parameter names.
28294 * manual/users.texi (getutmp): Use @var{} on parameter names.
28295 (getutmpx): Likewise.
28296
5b23062f
JM
282972012-02-17 Joseph Myers <joseph@codesourcery.com>
28298
28299 [BZ #6884]
28300 * manual/stdio.texi (fopen): Fix typos in description of
28301 ",ccs=STRING".
28302
8dee4833
AJ
283032012-02-17 Aurelien Jarno <aurelien@aurel32.net>
28304
28305 [BZ #4026]
28306 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28307 get clock_id definition.
28308
9078ce93
TS
283092012-02-17 Thomas Schwinge <thomas@schwinge.name>
28310
28311 [BZ #4822]
28312 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28313 (madvise): Cast every argument to void on its own.
28314
3835c55f
JM
283152012-02-17 Joseph Myers <joseph@codesourcery.com>
28316
28317 [BZ #9902]
28318 * manual/startup.texi (Exit Status): Fix typo.
28319
35c47e37
JM
283202012-02-17 Joseph Myers <joseph@codesourcery.com>
28321
28322 [BZ #10140]
28323 * manual/examples/argp-ex1.c: Include <stdlib.h>.
28324 * manual/examples/argp-ex2.c: Likewise.
28325 * manual/examples/argp-ex3.c: Likewise.
28326
e3b69ca7
RH
283272012-02-16 Richard Henderson <rth@redhat.com>
28328
28329 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28330 * sysdeps/s390/s390-32/initfini.c: Remove.
28331 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28332 * sysdeps/s390/s390-64/initfini.c: Remove.
28333
df83af67
KK
283342012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28335
28336 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28337 compiler output for sysdeps/generic/initfini.c.
28338 * sysdeps/sh/elf/initfini.c: Remove file.
28339
f63f3380
DM
283402012-02-16 David S. Miller <davem@davemloft.net>
28341
fb59b3a4
DM
28342 [BZ #11494]
28343 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28344
f63f3380
DM
28345 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28346 * sysdeps/sparc/crti.S: New file.
28347 * sysdeps/sparc/crtn.S: New file.
28348 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28349 * sysdeps/sparc/sparc64/Makefile: Likewise.
28350
df6a4a4a
MF
283512012-02-15 Mike Frysinger <vapier@gentoo.org>
28352
6dd8f3dc 28353 [BZ #3335]
df6a4a4a
MF
28354 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28355
1cac7236
RM
283562012-02-15 Roland McGrath <roland@hack.frob.com>
28357
d2c736f8
RM
28358 [BZ #4822]
28359 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28360
1cac7236
RM
28361 * mach/devstream.c (cookie_io_functions_t): Macro removed.
28362 (write, read, close): Likewise.
28363 Patch by Aurelien Jarno <aurelien@aurel32.net>.
28364
8e475601
JM
283652012-02-15 Joseph Myers <joseph@codesourcery.com>
28366
28367 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28368 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28369 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28370 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28371 <bits/signalfd.h>.
28372 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28373 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28374 bits/signalfd.h.
28375
ed656b40
MP
283762012-02-14 Marek Polacek <polacek@redhat.com>
28377
28378 * sysdeps/x86_64/crti.S: New file.
28379 * sysdeps/x86_64/crtn.S: New file.
28380 * sysdeps/x86_64/elf/initfini.c: Remove file.
28381
2a979d3a
JM
283822012-02-13 Joseph Myers <joseph@codesourcery.com>
28383
28384 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28385 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28386 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28387 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28388 <bits/inotify.h>.
28389 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28390 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28391 bits/inotify.h.
28392
2a418ac3
JM
283932012-02-13 Joseph Myers <joseph@codesourcery.com>
28394
28395 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
28396 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
28397 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
28398 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
28399 <bits/eventfd.h>.
28400 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28401 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28402 bits/eventfd.h.
28403
fb779be7
TS
284042012-02-10 Thomas Schwinge <thomas@codesourcery.com>
28405
e19e83c5
RM
28406 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28407 __feraiseexcept instead of feraiseexcept.
7c35ffed 28408
fb779be7
TS
28409 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
28410 nanosleep invocations.
28411 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
28412 strings, and add error checking for a nanosleep invocations.
28413
59ba27a6
PE
284142012-02-09 Paul Eggert <eggert@cs.ucla.edu>
28415
28416 Replace FSF snail mail address with URLs, as per GNU coding standards.
28417 Most of the snail mail addresses were wrong anyway, and omitting
28418 them makes the source code easier to maintain. Almost all of the
28419 changes are to license notices and to locale LC_IDENTIFICATION
28420 addresses, except for this one:
28421 * manual/libc.texinfo: In "Published by", give the FSF's URL,
28422 not its snail mail address.
28423
57b957eb
RH
284242012-02-09 Richard Henderson <rth@twiddle.net>
28425
af850b1c
RH
28426 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28427 of kernel-features.h.
28428
57b957eb
RH
28429 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28430
6b73181a
MP
284312012-02-08 Marek Polacek <polacek@redhat.com>
28432
28433 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28434 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28435 * sysdeps/gnu/_G_config.h: Likewise.
28436 * sysdeps/generic/_G_config.h: Likewise.
28437
26ecc33a
AS
284382012-02-08 Andreas Schwab <schwab@linux-m68k.org>
28439
6c6dbc63
AS
28440 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28441 tests.
28442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28443
e216c012
AS
28444 * sysdeps/powerpc/powerpc32/crti.S: New file.
28445 * sysdeps/powerpc/powerpc32/crtn.S: New file.
28446 * sysdeps/powerpc/powerpc64/crti.S: New file.
28447 * sysdeps/powerpc/powerpc64/crtn.S: New file.
28448
26ecc33a
AS
28449 * Makeconfig (have-initfini): Don't set.
28450 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28451 * configure.in (nopic_initfini): Don't substitute.
28452 * config.h.in (HAVE_INITFINI): Don't #undef.
28453 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28454 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28455
3add8e13
JM
284562012-02-08 Joseph Myers <joseph@codesourcery.com>
28457
28458 Support crti.S and crtn.S provided directly by architectures.
28459 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28460 [crti.S in sysdirs] (omit-deps): Likewise.
28461 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28462 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28463 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28464 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28465 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28466 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28467 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28468 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28469 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28470 compiler output for sysdeps/generic/initfini.c.
28471 * sysdeps/i386/elf/Makefile: Remove file.
28472 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28473
a22f12b4
MP
284742012-02-07 Marek Polacek <polacek@redhat.com>
28475
28476 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28477 * sysdeps/gnu/_G_config.h: Likewise.
28478 * sysdeps/mach/hurd/_G_config.h: Likewise.
28479
148cf100
MP
284802012-02-07 Marek Polacek <polacek@redhat.com>
28481
28482 * math/Makefile (tests): Add tst-CMPLX2.
28483 * math/tst-CMPLX2.c: New file.
28484
cfdc0dd7
AS
284852012-02-07 Andreas Schwab <schwab@linux-m68k.org>
28486
84ba42c4
AS
28487 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28488
cfdc0dd7
AS
28489 * math/libm-test.inc (jn_test): Add missing L suffix.
28490
622c86f4
MP
284912012-02-06 Marek Polacek <polacek@redhat.com>
28492
28493 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28494 * sysdeps/i386/fpu/e_powf.S: Likewise.
28495 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28496 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28497 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28498 * sysdeps/i386/fpu/e_pow.S: Likewise.
28499 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28500 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28501 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28502 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28503 * sysdeps/i386/fpu/e_log2.S: Likewise.
28504 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28505 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28506 * sysdeps/i386/fpu/e_powl.S: Likewise.
28507 * sysdeps/i386/fpu/s_log1p.S: Likewise.
28508 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28509 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28510 * sysdeps/i386/fpu/e_logl.S: Likewise.
28511 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28512 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28513 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28514 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28515 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28516 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28517 * sysdeps/i386/fpu/e_log.S: Likewise.
28518 * sysdeps/i386/fpu/s_cexp.S: Likewise.
28519 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28520 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28521 * sysdeps/i386/fpu/e_logf.S: Likewise.
28522 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28523 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28524 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28525 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28526 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28527 * sysdeps/i386/fpu/e_log10.S: Likewise.
28528 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28529 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28530 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28531 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28532 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28533 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28534 * sysdeps/i386/asm-syntax.h: Likewise.
28535 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28536 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28537 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28538 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28539 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28540 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28541 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28542 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28543 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28544 * sysdeps/powerpc/sysdep.h: Likewise.
28545 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28546 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28547
d4a54ac6
JM
285482012-02-06 Joseph Myers <joseph@codesourcery.com>
28549
28550 [BZ #411]
28551 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28552
314054ea
JM
285532012-02-06 Joseph Myers <joseph@codesourcery.com>
28554
28555 * sysdeps/i386/sysdep.h: Include <features.h>.
28556 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28557 version.
28558
d8e0ca50
JM
285592012-02-05 Joseph Myers <joseph@codesourcery.com>
28560
28561 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28562 Define.
28563 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28564 LOAD_PIC_REG_STR.
28565
b1da7dd9
JM
285662012-02-03 Joseph Myers <joseph@codesourcery.com>
28567
28568 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28569 (SETUP_PIC_REG): Use GET_PC_THUNK.
28570 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28571 macro.
28572
9a1d9254
JM
285732012-02-03 Joseph Myers <joseph@codesourcery.com>
28574
28575 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28576 for non-PIC compilation.
28577 (SETUP_PIC_REG): Add .p2align directive.
28578 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28579 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28580 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28581 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28582 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28583 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28584 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28585 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28586 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28587 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28588 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28589 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28590 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28591 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28592 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28593 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28594 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28595 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28596 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28597 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28598 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28599 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28600 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28601 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28602 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28603 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28604 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28605 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28606 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28607 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28608 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28609 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28610 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28611 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28612 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28613 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28614 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28615 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28616 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28617 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28618 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28619
65dc3b75
JM
286202012-02-03 Joseph Myers <joseph@codesourcery.com>
28621
28622 * math/tst-CMPLX.c: Include <stdio.h>.
28623
d55bf177
JM
286242012-01-31 Joseph Myers <joseph@codesourcery.com>
28625
28626 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28627 float.
28628 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28629 * sysdeps/sparc/bits/mathdef.h: Likewise.
28630
69db4f8f
MP
286312012-01-31 Marek Polacek <polacek@redhat.com>
28632
28633 * libio/libio.h: Don't define _PARAMS.
28634 * locale/programs/config.h: Don't define PARAMS.
28635 * stdlib/strtol_l.c: Likewise.
28636 (__strtol_l): Remove PARAMS from the prototype.
28637
41b81892
UD
286382012-01-31 Ulrich Drepper <drepper@gmail.com>
28639
3b49edc0
UD
28640 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28641 names. Just use the correct names. Remove unnecessary wrapper
28642 functions.
28643 * malloc/arena.c: Likewise.
28644 * malloc/hooks.c: Likewise.
28645
41b81892
UD
28646 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28647 ARENA_TEST says not to. Simplify test for creation of a new arena.
28648 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28649
27a25b6e
UD
286502012-01-30 Ulrich Drepper <drepper@gmail.com>
28651
28652 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28653 into tail calls.
28654 (update_get_addr): New function.
28655 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28656 GET_ADDR_MODULE parameter.
28657
c8a89e7d
JM
286582012-01-30 Joseph Myers <joseph@codesourcery.com>
28659
28660 * crypt/cert.c: Remove __STDC__ conditionals.
28661 * crypt/crypt-entry.c: Likewise.
28662 * crypt/crypt_util.c: Likewise.
28663 * libio/filedoalloc.c: Likewise.
28664 * libio/fileops.c: Likewise.
28665 * libio/genops.c: Likewise.
28666 * libio/iofclose.c: Likewise.
28667 * libio/iofdopen.c: Likewise.
28668 * libio/iofopen.c: Likewise.
28669 * libio/iofopen64.c: Likewise.
28670 * libio/iogetdelim.c: Likewise.
28671 * libio/iopopen.c: Likewise.
28672 * libio/obprintf.c: Likewise.
28673 * libio/oldfileops.c: Likewise.
28674 * libio/oldiofclose.c: Likewise.
28675 * libio/oldiofdopen.c: Likewise.
28676 * libio/oldiofopen.c: Likewise.
28677 * libio/oldiopopen.c: Likewise.
28678 * libio/wfiledoalloc.c: Likewise.
28679 * libio/wgenops.c: Likewise.
28680 * locale/programs/xmalloc.c: Likewise.
28681 * misc/syslog.c: Likewise.
28682 * stdio-common/xbug.c: Likewise.
28683 * string/memchr.c: Likewise.
28684 * string/memcmp.c: Likewise.
28685 * string/memrchr.c: Likewise.
28686 * string/rawmemchr.c: Likewise.
28687 * sysdeps/posix/getcwd.c: Likewise.
28688 * time/strftime_l.c: Likewise.
28689
3b100462
JM
286902012-01-30 Joseph Myers <joseph@codesourcery.com>
28691
28692 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
28693 * config.make.in (config-cflags-sse2avx): Define.
28694 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28695 Fix typo.
28696
607998af
CM
286972012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28698
28699 * scripts/config.guess: Update from upstream config git repository.
28700 * scripts/config.sub: Likewise.
28701
3601428f
CM
287022012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28703
3ac8b282
CM
28704 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28705 (EM_NUM): Update.
28706 (R_TILEPRO_*, R_TILEGX_*): New macros.
28707
e034841e
CM
28708 * scripts/firstversions.awk: Fix bug in version range handling.
28709
540d7568
CM
28710 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28711
3601428f
CM
28712 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28713
463de862
CM
28714 * include/sys/epoll.h: New file.
28715 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28716 libc_hidden_def.
28717
73139a76
UD
287182012-01-28 Ulrich Drepper <drepper@gmail.com>
28719
96bc5b45
UD
28720 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28721 Avoid unnecessary __WORDSIZE == 64 test.
28722 (fmaxf): Use VEX format if possible.
28723 (fmax): Likewise.
28724 (fminf): Likewise.
28725 (fmin): Likewise.
28726
56f6f6a2
UD
28727 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28728 * math/math_private.h: Remove libc_fegetround* and
28729 libc_fesetround*.
28730 * sysdeps/i386/configure.in: Check for -msse2avx.
28731 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28732 also if SSE2AVX is defined.
28733 Remove libc_fegetround* and libc_fesetround*.
28734 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28735 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28736 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28737 of HAS_YMM_USABLE.
28738 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28739 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28740 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28741 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28742 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28743
73139a76
UD
28744 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28745
d73f93a4
AZ
287462012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28747
28748 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28749 size is not set.
28750 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28751
6ee65ed6
UD
287522012-01-27 Ulrich Drepper <drepper@gmail.com>
28753
28754 [BZ #13618]
28755 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28756 relocation.
28757 * Makeconfig (libm): Define.
28758 * elf/Makefile: Add rules to build and run tst-relsort1.
28759 * elf/tst-relsort1.c: New file.
28760 * elf/tst-relsort1mod1.c: New file.
28761 * elf/tst-relsort1mod2.c: New file.
28762
8db21882
JM
287632012-01-27 Joseph Myers <joseph@codesourcery.com>
28764
28765 * math/s_ldexp.c: Remove __STDC__ conditionals.
28766 * math/s_ldexpf.c: Likewise.
28767 * math/s_ldexpl.c: Likewise.
28768 * math/s_nextafter.c: Likewise.
28769 * math/s_nexttowardf.c: Likewise.
28770 * math/s_significand.c: Likewise.
28771 * math/s_significandf.c: Likewise.
28772 * math/s_significandl.c: Likewise.
28773 * math/w_jnl.c: Likewise.
28774 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28775 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28776 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28777 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28778 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28779 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28780 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28781 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28782 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28783 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28784 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28785 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28786 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28787 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28788 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28789 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28790 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28791 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28792 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28793 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28794 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28795 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28796 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28797 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28798 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28799 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28800 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28801 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28802 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28803 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28804 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28805 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28806 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28807 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28808 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28809 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28810 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28811 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28812 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28813 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28814 * sysdeps/ieee754/k_standard.c: Likewise.
28815 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28816 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28817 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28818 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28819 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28820 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28821 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28822 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28823 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28824 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28825 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28826 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28827 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28828 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28829 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28830 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28831 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28832 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28833 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28834 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28835 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28836 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28837 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28838 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28839 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28840 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28841 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28842 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28843 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28844 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28845 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28846 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28847 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28848 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28849 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28850 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28851 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28852 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28853 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28854 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28855 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28856 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28857 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28858 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28859 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28860 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28861 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28862 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28863 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28864 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28865 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28866 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28867 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28868 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28869 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28870 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28871 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28872 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28873 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28874 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28875 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28876 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28877 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28878 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28879 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28880 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28881 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28882 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28883 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28884 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28885 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28886 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28887 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28888 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28889 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28890 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28891 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28892 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28893 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28894 * sysdeps/ieee754/s_matherr.c: Likewise.
28895 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28896 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28897 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28898 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28899
965a54a4
JM
289002012-01-26 Joseph Myers <joseph@codesourcery.com>
28901
28902 * crypt/md5.h: Remove __STDC__ conditionals.
28903 * libio/libioP.h: Likewise.
28904 * locale/programs/config.h: Likewise.
28905 * sysdeps/generic/sysdep.h: Likewise.
28906 * sysdeps/i386/asm-syntax.h: Likewise.
28907 * sysdeps/s390/asm-syntax.h: Likewise.
28908 * sysdeps/unix/sysdep.h: Likewise.
28909 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28911
7071ad79
JM
289122012-01-26 Joseph Myers <joseph@codesourcery.com>
28913
28914 * libio/libio.h: Remove __STDC__ conditionals.
28915 * malloc/obstack.h: Likewise.
28916 * math/complex.h: Likewise.
28917 * math/math.h: Likewise.
28918 * sysdeps/generic/_G_config.h: Likewise.
28919 * sysdeps/gnu/_G_config.h: Likewise.
28920 * sysdeps/mach/hurd/_G_config.h: Likewise.
28921 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28922 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28923 * sysdeps/sparc/bits/mathdef.h: Likewise.
28924
afc5ed09
UD
289252012-01-26 Ulrich Drepper <drepper@gmail.com>
28926
28927 [BZ #13583]
28928 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 28929 Clean up HAS_* macros.
afc5ed09 28930 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
28931 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28932 possible.
28933 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28934 HAS_AVX.
28935 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28936 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28937 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28938 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28939 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 28940
bdb6de1d
JM
289412012-01-25 Joseph Myers <joseph@codesourcery.com>
28942
28943 * elf/tst-unique3.cc (gets): Remove declaration.
28944 * elf/tst-unique3lib.cc (gets): Likewise.
28945 * elf/tst-unique3lib2.cc (gets): Likewise.
28946 * elf/tst-unique4.cc (gets): Likewise.
28947
b15549e6
UD
289482012-01-24 Ulrich Drepper <drepper@gmail.com>
28949
28950 * include/stdio.h: Add C++ protection. Add gets declarations and
28951 definitions.
28952 * debug/tst-chk1.c: Don't declare gets here.
28953 * stdio-common/tst-gets.c: Likewise.
28954
a037381f
JM
289552012-01-24 Joseph Myers <joseph@codesourcery.com>
28956
28957 * posix/glob: Remove directory.
28958
f1d4aa75
JM
289592012-01-24 Joseph Myers <joseph@codesourcery.com>
28960
28961 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28962
81c0c964
PT
289632012-01-22 Pino Toscano <toscano.pino@tiscali.it>
28964
28965 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
28966 of the non-standard EPFNOSUPPORT.
28967
0ea698ae
ST
289682011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
28969
28970 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
28971 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
28972 ANYWHERE set to 1 only on KERN_NO_SPACE error.
28973
d220b117
UD
289742012-01-21 Ulrich Drepper <drepper@gmail.com>
28975
28976 * wcsmbs/uchar.h: Test __STDC_VERSION__.
28977
3e1aa84e
UD
289782012-01-20 Ulrich Drepper <drepper@gmail.com>
28979
28980 * nscd/aicache.c (addhstaiX): Do not cache negative results of
28981 transient errors.
28982 * nscd/grpcache.c (cache_addgr): Likewise.
28983 * nscd/hstcache.c (cache_addhst): Likewise.
28984 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28985 * nscd/pwdcache.c (cache_addpw): Likewise.
28986 * nscd/servicescache.c (cache_addserv): Likewise.
28987
400aa020
UD
289882012-01-16 Ulrich Drepper <drepper@gmail.com>
28989
d77e7869
UD
28990 * malloc/malloc.c: Various cleanups.
28991 * malloc/hooks.c: Likewise.
28992
400aa020
UD
28993 * stdlib/Makefile (tests): Add bug-fmtmsg1.
28994 * stdlib/bug-fmtmsg1.c: New file.
28995
28996 * stdlib/fmtmsg.c (init): Add missing unlock.
28997 Patch by Peng Haitao <penght@cn.fujitsu.com>.
28998
e0a309cf
MP
289992012-01-12 Marek Polacek <polacek@redhat.com>
29000
29001 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29002 and _GNU_SOURCE.
29003
929d11c7
WS
290042012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29005
29006 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29007 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29008 macro to ensure uniqueness of label name.
29009 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29010 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29011
41d0e869
UD
290122012-01-11 Ulrich Drepper <drepper@gmail.com>
29013
0cc5ed3b
UD
29014 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29015
41d0e869
UD
29016 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29017 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29018 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29019 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29020
a47a831a
UD
290212012-01-10 Ulrich Drepper <drepper@gmail.com>
29022
daa891c0
UD
29023 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29024
29025 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29026 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29027 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29028
e58ef0f2
UD
29029 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29030
a47a831a 29031 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
29032 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29033 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 29034 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
29035
29036 * math/bits/math-finite.h: Add ldexp support.
29037
a0bfc9c7
MP
290382012-01-10 Marek Polacek <polacek@redhat.com>
29039
29040 * locale/programs/localedef.h (show_archive_content): Add noreturn
29041 attribute.
29042
d6e97a1d
UD
290432012-01-09 Ulrich Drepper <drepper@gmail.com>
29044
29045 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29046
d5835c26
UD
290472012-01-08 Ulrich Drepper <drepper@gmail.com>
29048
e5f484c6
UD
29049 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29050
d5835c26
UD
29051 * io/Makefile (headers): Add bits/poll2.h.
29052
d1f741e9
WS
290532011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
29054
29055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29056 typo #include statement.
29057
ec09c1c4
UD
290582012-01-08 Ulrich Drepper <drepper@gmail.com>
29059
29060 * include/sys/cdefs.h: Define __attribute_alloc_size.
29061 * catgets/gencat.c: Add alloc_size attribute and apply consistently
29062 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29063 * elf/pldd.c: Likewise.
29064 * iconv/iconv_charmap.c: Likewise.
29065 * iconv/iconvconfig.c: Likewise.
29066 * iconv/strtab.c: Likewise.
29067 * locale/programs/locale.c: Likewise.
29068 * locale/programs/localedef.h: Likewise.
29069 * locale/programs/simple-hash.c: Likewise.
29070 * nscd/nscd.h: Likewise.
29071 * nss/makedb.c: Likewise.
29072 * sysdeps/generic/ldconfig.h: Likewise.
29073 * locale/programs/localedef.c: Remove xmalloc prototype.
29074 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29075
20b38e03
PP
290762012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29077
29078 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29079 appropriate.
29080
a0da5fe1
UD
290812012-01-08 Ulrich Drepper <drepper@gmail.com>
29082
1d5a644a 29083 * math/Makefile (tests): Add tst-CMPLX.
669704fd 29084 * math/tst-CMPLX.c: New file.
1d5a644a 29085
8784a6db
UD
29086 * math/complex.h (CMPLXL): Fix typo.
29087
d9a216c0
UD
29088 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29089 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29090 GLIBC_2.16.
29091 * debug/tst-chk1.c: Add poll and ppoll tests.
29092 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29093 * include/sys/poll.h: Add hidden proto for ppoll.
29094 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29095 * sysdeps/mach/hurd/ppoll.c: Likewise.
29096 * io/ppoll.c: Likewise.
29097 * debug/poll_chk.c: New file.
29098 * debug/ppoll_chk.c: New file.
29099 * include/bits/poll2.h: New file.
29100 * io/bits/poll2.h: New file.
29101
ac097f5c
UD
29102 [BZ #1350]
29103 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29104
2119dcfa
UD
29105 * configure.in: static is always set to yes. Remove.
29106 * config.make.in: Don't set build-static.
29107 * Makeconfig: Remove use of build-static.
29108 * dlfcn/Makefile: Likewise.
29109 * elf/Makefile: Likewise.
29110 * math/Makefile: Likewise.
29111 * misc/Makefile: Likewise.
29112 * nptl/Makefile: Likewise.
29113 * sysdeps/mach/hurd/Makefile: Likewise.
29114
121766a9
UD
29115 * configure.in: PWD_P is not used anymore.
29116 * config.make.in: Remove PWD_P entry.
29117
51a1d39c 29118 * configure.in: Remove last remnants of RANLIB.
8720d066 29119 No need to check for signed size_t anymore.
215f4bdc
UD
29120 Don't set libc_commonpagesize and libc_relro_required here for Alpha
29121 and IA-64.
3857022a 29122 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
29123 * aclocal.m4: Likewise.
29124
d3ed7225
UD
29125 * wcsmbs/mbrtoc16.c: Implement using towc function.
29126 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29127 * wcsmbs/wcsmbsload.c: Likewise.
29128 * iconv/gconv_simple.c: Likewise.
29129 * iconv/gconv_int.h: Likewise.
29130 * iconv/gconv_builtin.h: Likewise.
29131 * iconv/iconv_prog.c: Remove CHAR16 handling.
29132
29133 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29134
29135 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29136
a0da5fe1
UD
29137 * configure.in: Remove --with-elf and --enable-bounded options.
29138 Dont set base_machine for ia64. More non-ELF conditions removed.
29139 Remove testing and setting of leading underscore information.
29140 * config.make.in (build-bounded): Set to no.
29141 * config.h.in: Remove NO_UNDERSCORES entry.
29142 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
29143 them.
29144 * csu/start.c: Remove !NO_UNDERSCORE code.
29145 * locale/localeinfo.h: Likewise.
29146 * sysdeps/generic/machine-gmon.h: Likewise.
29147 * sysdeps/generic/sysdep.h: Likewise.
29148 * sysdeps/i386/sysdep.h: Likewise.
29149 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29150 * sysdeps/mach/sysdep.h: Likewise.
29151 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29152 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29153 * sysdeps/sh/sysdep.h: Likewise.
29154 * sysdeps/sparc/sparc32/alloca.S: Likewise.
29155 * sysdeps/unix/i386/sysdep.S: Likewise.
29156 * sysdeps/unix/sparc/start.c: Likewise.
29157 * sysdeps/unix/sparc/sysdep.S: Likewise.
29158 * sysdeps/unix/sparc/sysdep.h: Likewise.
29159 * sysdeps/unix/start.c: Likewise.
29160 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29161 * sysdeps/x86_64/sysdep.h: Likewise.
29162
df78418a
UD
291632012-01-07 Ulrich Drepper <drepper@gmail.com>
29164
a784e502
UD
29165 [BZ #13553]
29166 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29167 for non-gcc.
29168 * argp/argp-fmtstream.h: Use const instead __const.
29169 * argp/argp.h: Likewise.
29170 * assert/assert.h: Likewise.
29171 * bits/fenv.h: Likewise.
29172 * bits/sched.h: Likewise.
29173 * bits/sigset.h: Likewise.
29174 * bits/sigthread.h: Likewise.
29175 * catgets/nl_types.h: Likewise.
29176 * conform/data/pthread.h-data: Likewise.
29177 * crypt/crypt-private.h: Likewise.
29178 * crypt/crypt.h: Likewise.
29179 * crypt/crypt_util.c: Likewise.
29180 * ctype/ctype.h: Likewise.
29181 * debug/execinfo.h: Likewise.
29182 * debug/mbsnrtowcs_chk.c: Likewise.
29183 * debug/mbsrtowcs_chk.c: Likewise.
29184 * debug/wcsnrtombs_chk.c: Likewise.
29185 * debug/wcsrtombs_chk.c: Likewise.
29186 * debug/wcstombs_chk.c: Likewise.
29187 * dirent/dirent.h: Likewise.
29188 * dlfcn/dlfcn.h: Likewise.
29189 * elf/neededtest4.c: Likewise.
29190 * grp/grp.h: Likewise.
29191 * gshadow/gshadow.h: Likewise.
29192 * iconv/gconv.h: Likewise.
29193 * iconv/gconv_int.h: Likewise.
29194 * iconv/gconv_simple.c: Likewise.
29195 * iconv/iconv.h: Likewise.
29196 * iconv/loop.c: Likewise.
29197 * iconv/skeleton.c: Likewise.
29198 * include/aio.h: Likewise.
29199 * include/aliases.h: Likewise.
29200 * include/argz.h: Likewise.
29201 * include/arpa/inet.h: Likewise.
29202 * include/assert.h: Likewise.
29203 * include/dirent.h: Likewise.
29204 * include/dlfcn.h: Likewise.
29205 * include/execinfo.h: Likewise.
29206 * include/fcntl.h: Likewise.
29207 * include/fenv.h: Likewise.
29208 * include/glob.h: Likewise.
29209 * include/grp.h: Likewise.
29210 * include/libintl.h: Likewise.
29211 * include/mntent.h: Likewise.
29212 * include/netdb.h: Likewise.
29213 * include/pwd.h: Likewise.
29214 * include/rpc/netdb.h: Likewise.
29215 * include/sched.h: Likewise.
29216 * include/search.h: Likewise.
29217 * include/shadow.h: Likewise.
29218 * include/signal.h: Likewise.
29219 * include/stdio.h: Likewise.
29220 * include/stdlib.h: Likewise.
29221 * include/string.h: Likewise.
29222 * include/sys/socket.h: Likewise.
29223 * include/sys/stat.h: Likewise.
29224 * include/sys/statfs.h: Likewise.
29225 * include/sys/statvfs.h: Likewise.
29226 * include/sys/syslog.h: Likewise.
29227 * include/sys/time.h: Likewise.
29228 * include/sys/uio.h: Likewise.
29229 * include/time.h: Likewise.
29230 * include/unistd.h: Likewise.
29231 * include/utmp.h: Likewise.
29232 * include/wchar.h: Likewise.
29233 * include/wctype.h: Likewise.
29234 * inet/aliases.h: Likewise.
29235 * inet/arpa/inet.h: Likewise.
29236 * inet/netinet/ether.h: Likewise.
29237 * inet/netinet/in.h: Likewise.
29238 * intl/libintl.h: Likewise.
29239 * io/bits/fcntl2.h: Likewise.
29240 * io/fcntl.h: Likewise.
29241 * io/ftw.h: Likewise.
29242 * io/sys/poll.h: Likewise.
29243 * io/sys/stat.h: Likewise.
29244 * io/sys/statfs.h: Likewise.
29245 * io/sys/statvfs.h: Likewise.
29246 * io/utime.h: Likewise.
29247 * libio/bits/stdio.h: Likewise.
29248 * libio/bits/stdio2.h: Likewise.
29249 * libio/libio.h: Likewise.
29250 * libio/libioP.h: Likewise.
29251 * libio/stdio.h: Likewise.
29252 * locale/lc-ctype.c: Likewise.
29253 * locale/locale.h: Likewise.
29254 * login/utmp.h: Likewise.
29255 * malloc/arena.c: Likewise.
29256 * malloc/malloc.c: Likewise.
29257 * malloc/malloc.h: Likewise.
29258 * malloc/mcheck.c: Likewise.
29259 * malloc/mtrace.c: Likewise.
29260 * math/bits/mathcalls.h: Likewise.
29261 * math/fenv.h: Likewise.
29262 * math/math_private.h: Likewise.
29263 * misc/bits/error.h: Likewise.
29264 * misc/bits/syslog.h: Likewise.
29265 * misc/err.h: Likewise.
29266 * misc/error.h: Likewise.
29267 * misc/fstab.h: Likewise.
29268 * misc/mntent.h: Likewise.
29269 * misc/regexp.h: Likewise.
29270 * misc/search.h: Likewise.
29271 * misc/sgtty.h: Likewise.
29272 * misc/sys/mman.h: Likewise.
29273 * misc/sys/syslog.h: Likewise.
29274 * misc/sys/uio.h: Likewise.
29275 * misc/sys/xattr.h: Likewise.
29276 * misc/ttyent.h: Likewise.
29277 * nis/rpcsvc/ypclnt.h: Likewise.
29278 * nss/nss.h: Likewise.
29279 * posix/bits/unistd.h: Likewise.
29280 * posix/fnmatch.h: Likewise.
29281 * posix/glob.h: Likewise.
29282 * posix/sched.h: Likewise.
29283 * posix/spawn.h: Likewise.
29284 * posix/sys/wait.h: Likewise.
29285 * posix/unistd.h: Likewise.
29286 * posix/wordexp.h: Likewise.
29287 * pwd/pwd.h: Likewise.
29288 * resolv/netdb.h: Likewise.
29289 * resource/sys/resource.h: Likewise.
29290 * rt/aio.h: Likewise.
29291 * rt/bits/mqueue2.h: Likewise.
29292 * rt/mqueue.h: Likewise.
29293 * shadow/shadow.h: Likewise.
29294 * signal/signal.h: Likewise.
29295 * socket/send.c: Likewise.
29296 * socket/sendto.c: Likewise.
29297 * socket/sys/socket.h: Likewise.
29298 * stdio-common/printf.h: Likewise.
29299 * stdlib/bits/stdlib.h: Likewise.
29300 * stdlib/fmtmsg.h: Likewise.
29301 * stdlib/monetary.h: Likewise.
29302 * stdlib/stdlib.h: Likewise.
29303 * stdlib/ucontext.h: Likewise.
29304 * streams/stropts.h: Likewise.
29305 * string/argz.h: Likewise.
29306 * string/bits/string2.h: Likewise.
29307 * string/string.h: Likewise.
29308 * string/strings.h: Likewise.
29309 * sunrpc/rpc/auth.h: Likewise.
29310 * sunrpc/rpc/auth_des.h: Likewise.
29311 * sunrpc/rpc/clnt.h: Likewise.
29312 * sunrpc/rpc/netdb.h: Likewise.
29313 * sunrpc/rpc/pmap_clnt.h: Likewise.
29314 * sunrpc/rpc/xdr.h: Likewise.
29315 * sysdeps/generic/inttypes.h: Likewise.
29316 * sysdeps/generic/net/if.h: Likewise.
29317 * sysdeps/generic/sys/swap.h: Likewise.
29318 * sysdeps/gnu/net/if.h: Likewise.
29319 * sysdeps/gnu/utmpx.h: Likewise.
29320 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29321 * sysdeps/i386/i486/bits/string.h: Likewise.
29322 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29323 * sysdeps/s390/bits/string.h: Likewise.
29324 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29325 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29326 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29327 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29328 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29329 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29330 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29331 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29332 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29333 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29334 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29335 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29336 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29337 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29338 * sysdeps/unix/sysv/linux/readv.c: Likewise.
29339 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29340 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29341 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29342 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29343 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29344 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29345 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29346 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29347 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29348 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29349 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29350 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29351 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29352 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29353 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29354 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29355 * sysvipc/sys/ipc.h: Likewise.
29356 * sysvipc/sys/msg.h: Likewise.
29357 * sysvipc/sys/sem.h: Likewise.
29358 * sysvipc/sys/shm.h: Likewise.
29359 * termios/termios.h: Likewise.
29360 * time/sys/time.h: Likewise.
29361 * time/time.h: Likewise.
29362 * wcsmbs/bits/wchar2.h: Likewise.
29363 * wcsmbs/uchar.h: Likewise.
29364 * wcsmbs/wchar.h: Likewise.
29365 * wctype/wctype.h: Likewise.
29366
0269750c
UD
29367 [BZ #13551]
29368 * Makeconfig: Remove all but ELF support including AIX support.
29369 * Makerules: Likewise.
29370 * config.h.in: Likewise.
29371 * config.make.in: Likewise.
29372 * configure: Likewise.
29373 * configure.in: Likewise.
29374 * csu/Makefile: Likewise.
29375 * csu/version.c: Likewise.
29376 * debug/Makefile: Likewise.
29377 * dlfcn/Makefile: Likewise.
29378 * elf/Makefile: Likewise.
29379 * extra-lib.mk: Likewise.
29380 * iconv/Makefile: Likewise.
29381 * include/libc-symbols.h: Likewise.
29382 * include/shlib-compat.h: Likewise.
29383 * resolv/Makefile: Likewise.
29384 * resolv/res_libc.c: Likewise.
29385 * rt/Makefile: Likewise.
29386 * sysdeps/i386/asm-syntax.h: Likewise.
29387 * sysdeps/i386/sysdep.h: Likewise.
29388 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29389 * sysdeps/mach/sysdep.h: Likewise.
29390 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29391 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29392 * sysdeps/s390/asm-syntax.h: Likewise.
29393 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29394 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29395 * sysdeps/sh/sysdep.h: Likewise.
29396 * sysdeps/unix/sparc/sysdep.h: Likewise.
29397 * sysdeps/wordsize-32/divdi3.c: Likewise.
29398 * sysdeps/x86_64/sysdep.h: Likewise.
29399
00bbd29b
UD
29400 * argp/Versions: Remove _argp_unlock_xxx.
29401
29402 [BZ #13559]
29403 * abilist/ld.abilist: Update. Adjust for removal of tls option.
29404 * abilist/libBrokenLocale.abilist: Likewise.
29405 * abilist/libanl.abilist: Likewise.
29406 * abilist/libc.abilist: Likewise.
29407 * abilist/libcrypt.abilist: Likewise.
29408 * abilist/libdl.abilist: Likewise.
29409 * abilist/libm.abilist: Likewise.
29410 * abilist/libnsl.abilist: Likewise.
29411 * abilist/libpthread.abilist: Likewise.
29412 * abilist/libresolv.abilist: Likewise.
29413 * abilist/librt.abilist: Likewise.
29414 * abilist/libthread_db.abilist: Likewise.
29415 * abilist/libutil.abilist: Likewise.
29416 * abilist/libnss_db.abilist: New file.
29417
29418 * scripts/abilist.awk: Add support for indirect functions.
29419
a2693a0e
UD
29420 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29421
3f05895f
UD
29422 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29423
ecb6fb48
UD
29424 * shlib-versions: Remove entries for ports architectures.
29425
664f8cb9
UD
29426 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
29427 files in ports.
29428 * elf/stackguard-macros.h: Remove support for IA-64.
29429 * elf/tst-auditmod1.c: Likewise.
29430 * sysdeps/generic/ldsodefs.h: Likewise.
29431
7ae81d88
UD
29432 * sysdeps/unix/sysv/linux/configure.in: Ports should define
29433 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29434 configure files.
29435
bdeba135
UD
29436 [BZ #13552]
29437 * configure.in: Remove --enable-omitfp support.
29438 * FAQ.in: Adjust.
29439 * config.make.in: Likewise.
29440 * Makeconfig: Likewise.
29441 * manual/install.texi: Likewise.
29442
d75a0a62
UD
29443 In case anyone cares, the IA-64 architecture could move to ports.
29444 * sysdeps/ia64/*: Removed.
29445 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 29446 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 29447
dcc9756b
UD
29448 [BZ #13555]
29449 * configure.in: Remove entries for unsupported architectures.
29450
d3761ebc 29451 [BZ #13533]
9954432e
UD
29452 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29453 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
29454 routines.
29455 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29456 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29457 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
29458 fall back to using wcrtomb.
29459 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29460 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
29461 renaming.
29462 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29463 * wcsmbs/tst-c16c32-1.c: New file.
29464
29465 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29466 local variable.
29467
c3a87236
UD
29468 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29469
28926a1b
UD
29470 * elf/tst-unique3.cc: Add explicit declaration of gets.
29471 * elf/tst-unique3lib.cc: Likewise.
29472 * elf/tst-unique3lib2.cc: Likewise.
29473 * elf/tst-unique4.cc: Likewise.
29474
df78418a
UD
29475 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29476
8ecd6b2a
JM
294772012-01-06 Joseph Myers <joseph@codesourcery.com>
29478
29479 [BZ #13566]
29480 * assert/assert.h (static_assert): Don't define for C++.
29481 * libio/stdio.h (gets): Do declare for C++ <= C++11.
29482 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29483
9f115170
UD
294842012-01-03 Ulrich Drepper <drepper@gmail.com>
29485
5e0d0300
UD
29486 * iconv/loop.c (single loop): Fix assertion in storing of
29487 remaining bytes.
29488
9f115170
UD
29489 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29490
81fb02b0
UD
294912012-01-01 Ulrich Drepper <drepper@gmail.com>
29492
29493 * posix/getconf.c: Update copyright year.
29494 * nss/getent.c: Likewise.
a316c1f6 29495 * nss/makedb.c: Likewise.
81fb02b0
UD
29496 * iconv/iconvconfig.c: Likewise.
29497 * iconv/iconv_prog.c: Likewise.
29498 * elf/ldconfig.c: Likewise.
a316c1f6
UD
29499 * elf/pldd.c: Likewise.
29500 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
29501 * catgets/gencat.c: Likewise.
29502 * csu/version.c: Likewise.
29503 * elf/ldd.bash.in: Likewise.
29504 * elf/sprof.c (print_version): Likewise.
29505 * locale/programs/locale.c: Likewise.
29506 * locale/programs/localedef.c: Likewise.
a316c1f6 29507 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
29508 * nscd/nscd.c (print_version): Likewise.
29509 * debug/xtrace.sh: Likewise.
29510 * malloc/memusage.sh: Likewise.
29511 * malloc/mtrace.pl: Likewise.
29512 * debug/catchsegv.sh: Likewise.
29513
2ba92745
JJ
295142011-12-30 Jakub Jelinek <jakub@redhat.com>
29515
29516 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29517 pure attribute.
29518
dadebdae
UD
295192011-12-24 Ulrich Drepper <drepper@gmail.com>
29520
d3761ebc 29521 [BZ #13533]
db6af3eb
UD
29522 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29523 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29524 transformations.
29525 * iconv/gconv_int.h: Likewise.
29526 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29527 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29528 from libc for GLIBC_2.16.
29529 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29530 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29531 * wcsmbs/uchar.h: Really define mbstate_t.
29532 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29533 * wcsmbs/c16rtomb.c: New file.
29534 * wcsmbs/mbrtoc16.c: New file.
29535 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29536 for C/POSIX locale.
29537 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29538 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29539
dadebdae
UD
29540 * wcsmbs/wchar.h: Add missing __restrict.
29541
67371b56
UD
295422011-12-23 Ulrich Drepper <drepper@gmail.com>
29543
74033a25
UD
29544 [BZ #13532]
29545 * time/Makefile (routines): Add timespec_get.
29546 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29547 * time/time.h: Define TIME_UTC and declare timespec_get. Define
29548 timespec for ISO C11.
29549 * time/timespec_get.c: New file.
29550 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29551 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29552
380d7e87
UD
29553 [BZ #13531]
29554 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29555 * stdlib/stdlib.h: Declare aligned_alloc.
29556 * Versions.def: Add GLIBC_2.16 for libc.
29557 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29558
4e9e7a35
UD
29559 [BZ 13527]
29560 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29561 ISO C11.
29562
380d7e87 29563 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
29564 code.
29565
03a71829
UD
29566 [BZ #13528]
29567 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29568
839e283e
UD
29569 [BZ #13529]
29570 * assert/assert.h (static_assert): Define.
29571
ce5294e2 29572 * version.h: Update for 2.16 development version.
90fa7312 29573
8d44e150 29574 [BZ #13526]
d7809905
UD
29575 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29576 _ISOC11_SOURCE.
29577
c0da14cd
UD
29578 * version.h (RELEASE): Bump for 2.15 release.
29579 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29580
530a3249
MP
29581 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29582 Patch by Marek Polacek <mpolacek@redhat.com>.
29583
67371b56
UD
29584 * bits/byteswap.h: Protect long long constants with __extension__.
29585 * sysdeps/i386/bits/byteswap.h: Likewise.
29586 * sysdeps/ia64/bits/byteswap.h: Likewise.
29587 * sysdeps/s390/bits/byteswap.h: Likewise.
29588 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29589
15db4de1
LD
295902011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29591
29592 [BZ #13540]
bbe315ea
LD
29593 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29594 destination buffer.
15db4de1
LD
29595 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29596
2b2596b1
MP
295972011-12-23 Marek Polacek <polacek@redhat.com>
29598
29599 * elf/dl-addr.c (determine_info): Add inline keyword.
29600 * elf/tst-auditmod4b.c (check_avx): Likewise.
29601 * elf/tst-auditmod6b.c (check_avx): Likewise.
29602 * elf/tst-auditmod6c.c (check_avx): Likewise.
29603 * elf/tst-auditmod7b.c (check_avx): Likewise.
29604
70c6c246
UD
296052011-12-23 Ulrich Drepper <drepper@gmail.com>
29606
29607 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29608 !__SSE_MATH__.
29609
c044cf14
LD
296102011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29611
15db4de1 29612 [BZ #13540]
c044cf14
LD
29613 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29614 processing for last bytes.
29615
6b13d9d9
BH
296162011-08-06 Bruno Haible <bruno@clisp.org>
29617
d455f537
BH
29618 [BZ #13061]
29619 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29620 U+0385, not to U+1FEE.
29621
6b13d9d9
BH
29622 [BZ #13062]
29623 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29624 entry for U+00A5 U+0301.
29625
db910efd
UD
296262011-12-22 Ulrich Drepper <drepper@gmail.com>
29627
27deeafc
UD
29628 [BZ #13166]
29629 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29630 buffer for the output is too small.
29631
aed9d171
UD
29632 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29633 optimization.
29634
db910efd
UD
29635 [BZ #13185]
29636 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29637 SSE flags if possible.
29638
2bd779ae
LD
296392011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29640
e7f9dac3 29641 [BZ #13540]
2bd779ae
LD
29642 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29643 processing for last bytes.
29644
154bfc16
JM
296452011-12-22 Joseph Myers <joseph@codesourcery.com>
29646
29647 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29648 (syscall-list-default-options, syscall-list-default-condition)
29649 (syscall-list-includes): Define.
29650 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29651 list of ABIs and options and #if conditions for each ABI. Do not
29652 handle common syscalls between ABIs specially.
29653 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29654 Remove.
29655 (syscall-list-variants, syscall-list-32bit-options)
29656 (syscall-list-32bit-condition, syscall-list-64bit-options)
29657 (syscall-list-64bit-condition): Define.
29658 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29659 (syscall-list-variants, syscall-list-32bit-options)
29660 (syscall-list-32bit-condition, syscall-list-64bit-options)
29661 (syscall-list-64bit-condition): Define.
29662 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29663 Remove.
29664 (syscall-list-variants, syscall-list-32bit-options)
29665 (syscall-list-32bit-condition, syscall-list-64bit-options)
29666 (syscall-list-64bit-condition): Define.
29667 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29668 Remove.
29669 (syscall-list-variants, syscall-list-32bit-options)
29670 (syscall-list-32bit-condition, syscall-list-64bit-options)
29671 (syscall-list-64bit-condition): Define.
29672
21eaf3a5
UD
296732011-12-22 Ulrich Drepper <drepper@gmail.com>
29674
16c6f992
UD
29675 * locale/iso-639.def: Add brx entry.
29676
41043168
UD
29677 [BZ #13328]
29678 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29679 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29680
21eaf3a5
UD
29681 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29682 __feraiseexcept_renamed.
29683
e3a851a2
UD
296842011-12-21 Ulrich Drepper <drepper@gmail.com>
29685
4920765e
UD
29686 [BZ #13538]
29687 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29688 EPOLLET with unsigned values.
29689 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29690 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29691
e3a851a2
UD
29692 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29693 to large cancellation.
29694 * math/s_cacoshf.c: Likewise.
29695 * math/s_cacoshl.c: Likewise.
29696
b27e24b8
RK
296972011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29698
29699 [BZ #13305]
aebefeee 29700 [BZ #12786]
b27e24b8
RK
29701 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29702 * math/s_cacoshf.c: Likewise.
29703 * math/s_cacoshl.c: Likewise.
29704
ee190f67
UD
297052011-12-21 Ulrich Drepper <drepper@gmail.com>
29706
29707 [BZ #13439]
29708 * iconv/gconv.h: Define __GCONV_SWAP.
29709 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29710 * iconvdata/utf-16.c: Likewise.
29711 * iconvdata/utf-32.c: Likewise.
29712
707f25df
AS
297132011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29714
29715 [BZ #13524]
29716 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29717 numerator after shifting it by one limb.
29718
d2daaa1e
RÁE
297192011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29720
29721 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29722 under [__USE_EXTERN_INLINES].
29723
a4647e72
UD
297242011-12-17 Ulrich Drepper <drepper@gmail.com>
29725
29726 [BZ #13446]
29727 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29728
f0b264f1
AZ
297292011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29730
29731 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29732 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29733 optimized code.
29734 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29735 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29736 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29737 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29738 for strncasecmp/strncasecmp_l compilation.
29739 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29740 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29741
8ef4f244
MP
297422011-12-08 Marek Polacek <mpolacek@redhat.com>
29743
29744 [BZ #13484]
29745 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29746 of __asm__.
29747
97ac2654
UD
297482011-12-17 Ulrich Drepper <drepper@gmail.com>
29749
29750 [BZ #13506]
29751 * time/tzfile.c (__tzfile_read): Check values from file header.
29752
91d2a845
WS
297532011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29754
29755 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29756 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29757 * powerpc/powerpc32/dl-start.S: Likewise.
29758 * powerpc/powerpc32/elf/start.S: Likewise.
29759 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29760 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29761 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29762 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29763 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29764 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29765 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29766 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29767 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29768 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29769 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29770 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29771 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29772 * powerpc/powerpc32/memset.S: Likewise.
29773 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29774 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29775 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29776 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29777 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29778 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29779 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29780 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29781 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29782 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29783 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29784 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29785 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29786
a1267ba1
AZ
297872011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29788
29789 * math/libm-test.inc: Added more nearbyint tests.
29790 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29791 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29792 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29793 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29794
ad8ac1bd
RL
297952011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29796
29797 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29798 FD_CLOEXEC.
29799
1d3e4b61
UD
298002011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29801
29802 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29803 Add wcscpy-ssse3 wcscpy-c.
29804 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29805 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29806 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29807 * sysdeps/x86_64/wcschr.S: New file.
29808 * sysdeps/x86_64/wcsrchr.S: New file.
29809 * string/test-strcmp.c: Remove checking of wcscmp function for
29810 wrong alignments.
29811 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29812 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29813 wcsrchr-sse2 wcsrchr-c.
29814 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29815 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29816 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29817 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29818 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29819 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29820 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29821 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29822 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29823 * wcsmbc/wcschr.c (WCSCHR): New macro.
29824
5b330a2d
UD
298252011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29826
29827 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29828 * wcsmbs/test-wcsrchr.c: New file.
29829 * string/test-strrchr.c: Add wcsrchr support.
29830 (WIDE): New macro.
29831 * wcsmbs/test-wcscpy.c: New file.
29832 * string/test-strcpy.c: Add wcscpy support.
29833 (WIDE): New macro.
26428b7c 29834
f039c043
UD
298352011-12-10 Ulrich Drepper <drepper@gmail.com>
29836
29837 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29838 the inner loop.
29839
850fb039
AS
298402011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29841
29842 [BZ #13472]
29843 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29844
4efbd5cb
UD
298452011-12-04 Ulrich Drepper <drepper@gmail.com>
29846
52ff5dd0 29847 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 29848 Minor optimizations.
52ff5dd0 29849
4efbd5cb
UD
29850 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29851 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29852 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29853
8a426e12
UD
298542011-12-03 Ulrich Drepper <drepper@gmail.com>
29855
aff2453d
UD
29856 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29857 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29858 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29859 for gcc to avoid warnings.
29860 * inet/Makefile (tests): Add tst-checks.
29861 * inet/tst-checks.c: New file.
29862
29863 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29864 warning.
29865
29866 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29867 __wmemcmp_sse2.
29868
29869 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29870 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29871
8a426e12
UD
29872 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29873
9bea3473
UD
298742011-12-02 Ulrich Drepper <drepper@gmail.com>
29875
3a965496
UD
29876 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29877 problem.
29878
9bea3473
UD
29879 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29880
f101631b
UD
298812011-11-29 Joseph Myers <joseph@codesourcery.com>
29882
29883 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29884 conditional on GCC version.
29885 (__arch_compare_and_exchange_val_8_acq)
29886 (__arch_compare_and_exchange_val_16_acq)
29887 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29888 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29889 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29890
a98275aa
UD
298912011-12-02 Joseph Myers <joseph@codesourcery.com>
29892
29893 * sysdeps/sh/backtrace.c: New file.
29894
d4cc29a2
AS
298952011-12-02 Andreas Schwab <schwab@redhat.com>
29896
29897 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29898 parenthesis.
29899
6257af2d
AS
299002011-12-01 Andreas Schwab <schwab@redhat.com>
29901
29902 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29903 falling back to utime.
29904
b5f44c1a
AS
299052011-11-30 Andreas Schwab <schwab@redhat.com>
29906
29907 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29908 expectations for float.
29909
f3a6cc0a
AS
299102011-11-29 Andreas Schwab <schwab@redhat.com>
29911
29912 * locale/weight.h (findidx): Add parameter len.
29913 * locale/weightwc.h (findidx): Likewise.
29914 * posix/fnmatch_loop.c (FCT): Adjust caller.
29915 * posix/regcomp.c (build_equiv_class): Likewise.
29916 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29917 * posix/regexec.c (check_node_accept_bytes): Likewise.
29918 * string/strcoll_l.c (STRCOLL): Likewise.
29919 * string/strxfrm_l.c (STRXFRM): Likewise.
29920
9d65ea3a
UD
299212011-11-17 Ulrich Drepper <drepper@gmail.com>
29922
29923 * Makefile.in: Remove CVSOPT handling.
29924 * configure.in: Remove use of AC_REVISION.
29925 * iconvdata/Makefile (distribute): No need to filter out CVS.
29926 * scripts/list-sources.sh: Remove CVS, subversion and monotone
29927 handling.
29928
5583a086
AS
299292011-11-16 Andreas Schwab <schwab@redhat.com>
29930
29931 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29932 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29933 [USE_AS_STRNCASECMP_L]: Likewise.
29934 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29935 NO_TLS_DIRECT_SEG_REFS.
29936 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29937 Fix argument offsets for non-PIC.
29938 [USE_AS_STRNCASECMP_L]: Likewise.
29939 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29940 NO_TLS_DIRECT_SEG_REFS.
29941
d62a8200
UD
299422011-11-15 Ulrich Drepper <drepper@gmail.com>
29943
9d65ea3a 29944 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
29945 O_CLOEXEC.
29946 * locale/loadlocale.c (_nl_load_locale): Likewise.
29947
09f93bd3
AS
299482011-11-15 Andreas Schwab <schwab@redhat.com>
29949
446514f9
AS
29950 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29951 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29952 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29953 (SYSCALL_GETTIME): Set errno on error.
29954
09f93bd3
AS
29955 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29956 count references to noai6ai_cached.
29957
312be3f9
UD
299582011-11-15 Ulrich Drepper <drepper@gmail.com>
29959
29960 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29961
29962 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
29963 FD_CLOEXEC for /proc/self/maps.
29964
29965 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
29966 FD_CLOEXEC for /proc/meminfo.
29967
29968 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
29969 gai.conf.
29970
29971 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
29972 FD_CLOEXEC for given file.
29973
29974 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
29975
29976 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
29977 FD_CLOEXEC for /etc/hosts.
29978 (_gethtent): Likewise.
29979
29980 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
29981
29982 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
29983 cancellation and set FD_CLOEXEC for /etc/netgroup.
29984
29985 * nss/nss_files/files-key.c (search): Don't allow cancellation when
29986 reading /etc/publickey.
29987
29988 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
29989 allow cancellation when reading /etc/group.
29990
29991 * nss/nss_files/files-alias.c (internal_setent): Don't allow
29992 cancellation.
29993 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
29994
29995 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
29996 when using data file.
29997
29998 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
29999
30000 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30001 (write_nis_obj): Use "c" and "e" in fopen.
30002
30003 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30004
30005 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30006
30007 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30008
30009 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30010
30011 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30012 locale.alias.
30013
30014 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30015
30016 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30017
30018 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30019
30020 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30021 file parsing and set FD_CLOEXEC.
30022
82af0fa8
UD
300232011-11-14 Ulrich Drepper <drepper@gmail.com>
30024
30025 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30026
a5fb313c
AS
300272011-11-14 Andreas Schwab <schwab@redhat.com>
30028
30029 * malloc/arena.c (arena_get2): Don't call reused_arena when
30030 _int_new_arena failed.
30031
6abf3465
UD
300322011-11-14 Ulrich Drepper <drepper@gmail.com>
30033
30034 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30035 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30036 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30037 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30038 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30039 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30040 to compile strcasecmp and strncasecmp.
30041 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30042 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30043
30044 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30045
76e3966e
UD
300462011-11-13 Ulrich Drepper <drepper@gmail.com>
30047
30048 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30049 locale-defines.sym to gen-as-const-headers.
30050 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30051 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30052 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30053 to compile strcasecmp and strncasecmp.
30054 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30055 strcasecmp_l and strncasecmp_l.
30056 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30057 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30058 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30059 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30060 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30061 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30062 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30063 * sysdeps/i386/i686/multiarch/strncase.S: New file.
30064 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30065 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30066 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30067
ab26144e
UD
300682011-11-12 Ulrich Drepper <drepper@gmail.com>
30069
7edb22ef
UD
30070 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30071 result of SYSDEP_GETTIME_CPU to retval.
30072 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30073 parameter list to macro. Remove trailing semicolon. Adjust users.
30074
9694fc44
UD
30075 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30076 variable.
30077
8ad89ef8
UD
30078 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30079 mantissa words.
30080 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30081
0c822ef9
UD
30082 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30083 from unused variable.
30084
874e0564
UD
30085 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30086 DWARF definitions.
30087 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30088 for assembling.
30089
3a2edc79
UD
30090 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30091 over namespaces.
30092
f3c2577f
UD
30093 * sunrpc/rpc_prot.c (rejected): Fix case value.
30094
294ce126
UD
30095 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30096 unsigned long long int to avoid warnings in shift.
30097
5e2b63c6
UD
30098 * posix/regex_internal.c (re_string_reconstruct): Actually use result
30099 of use of trans.
30100 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30101 variable tmp.
30102
e7f4b08e
UD
30103 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30104 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30105 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30106
ab26144e
UD
30107 * nis/nis_table.c (nis_list): Use variable of correct type for
30108 result of __follow_path call.
30109
8a6d5255
AZ
301102011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30111
30112 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30113 of math functions ceil, trunc, floor, round, and sqrt, when
30114 avaliable on the platform.
30115 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30116 name clash.
30117 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30118 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30119 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30120
aaddc98c
MP
301212011-10-30 Marek Polacek <mpolacek@redhat.com>
30122
30123 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30124 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30125
95b7042b
RM
301262011-11-11 Roland McGrath <roland@hack.frob.com>
30127
30128 * include/unistd.h: Fix __readlink return type.
30129 Reported by Chris Metcalf <cmetcalf@tilera.com>.
30130
57769839
UD
301312011-11-11 Ulrich Drepper <drepper@gmail.com>
30132
30133 * stdlib/ucontext.h: Undo last change for makecontext.
30134
edc5984d
AS
301352011-11-11 Andreas Schwab <schwab@redhat.com>
30136
98591e58
AS
30137 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30138
edc5984d
AS
30139 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30140 * setjmp/setjmp.h: Mark functions as non-leaf.
30141 * setjmp/bits/setjmp2.h: Likewise.
30142 * stdlib/ucontext.h: Likewise.
30143
77cdc054
AS
301442011-11-10 Andreas Schwab <schwab@redhat.com>
30145
30146 * malloc/arena.c (_int_new_arena): Don't increment narenas.
30147 (reused_arena): Don't check arena limit.
30148 (arena_get2): Atomically check arena limit.
30149
fe72eebd
UD
301502011-11-08 Ulrich Drepper <drepper@gmail.com>
30151
5f078c32
UD
30152 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30153 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30154
fe72eebd
UD
30155 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30156 instructions.
30157
ae1bc2fa
AS
301582011-11-07 Andreas Schwab <schwab@redhat.com>
30159
7583a88d
AS
30160 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30161 handler when locking.
30162
ae1bc2fa
AS
30163 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30164 Fix size of allocated buffer.
30165
10fb0bfa
AS
301662011-11-04 Andreas Schwab <schwab@redhat.com>
30167
998832a4
AS
30168 [BZ #10103]
30169 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30170 declarations for long double functions.
30171 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30172
10fb0bfa
AS
30173 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30174
3d7ba52b
AS
301752011-11-03 Andreas Schwab <schwab@redhat.com>
30176
a9ae54a1
AS
30177 * nscd/nscd.c (main): Don't start AVC thread until credentials are
30178 installed.
30179
3d7ba52b
AS
30180 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30181 is disabled.
30182
bc8db248
ST
301832011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30184
30185 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30186
45b96dd6
AS
301872011-11-01 Andreas Schwab <schwab@linux-m68k.org>
30188
647776f6
AS
30189 * include/alloca.h (stackinfo_alloca_round): Define.
30190 (extend_alloca): Use it.
30191 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30192 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30193 here.
30194
d91a8b93
AS
30195 * scripts/check-local-headers.sh: Ignore libaudit.h.
30196
45b96dd6
AS
30197 * nscd/Makefile (extra-objs): Make recursively expanded.
30198
432d41ce
UD
301992011-11-01 Ulrich Drepper <drepper@gmail.com>
30200
34372fc6
UD
30201 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30202 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30203
fadb59f8
UD
30204 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30205 * posix/tst-rfc3484-2.c: Likewise.
30206 * posix/tst-rfc3484-3.c: Likewise.
30207
78239589
UD
30208 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30209 process_vm_writev.
30210 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30211 process_vm_writev.
30212 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30213 process_vm_writev from libc using GLIBC_2.15 version.
30214
432d41ce
UD
30215 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30216
02f9c6cf
PP
302172011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
30218
30219 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30220 stack usage.
30221
3a2c0242
UD
302222011-10-31 Ulrich Drepper <drepper@gmail.com>
30223
f4ec4833
UD
30224 [BZ #13367]
30225 * nss/getent.c (initgroups_keys): Show error message in case no group
30226 names are given.
30227
3a2c0242
UD
30228 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30229 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30230 __bump_nl_timestamp.
30231 * nscd/connections (nscd_init): When host database is served open
30232 netlink socket and request notification about configuration changes.
30233 (main_loop_poll): Track netlink file descriptor and bump timestamp
30234 in case data becomes available.
30235 (main_loop_epoll): Likewise.
30236 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30237 (database_pers_head): Add extra_data fileds.
30238 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30239 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30240 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30241 Adjust caller.
30242 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30243 in6ai data, call __free_in6ai.
30244 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30245 Add -DHAVE_NETLINK.
30246 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
30247 interface information. Reuse previous data if netlink timestamp
30248 is not changed.
30249 (__bump_nl_timestamp): New function.
30250 (__free_in6ai): New function.
30251
636064eb
UD
302522011-10-30 Ulrich Drepper <drepper@gmail.com>
30253
30254 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30255 close_not_cancel_no_status here.
30256 (__check_pf): Reorganize code a bit to not call close twice if OOM.
30257
9beb2334
UD
302582011-10-29 Ulrich Drepper <drepper@gmail.com>
30259
6ef76f3b
UD
30260 [BZ #13276]
30261 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30262 return value.
30263
0ffc4f3e 30264 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
30265 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30266 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30267
cb95113e
UD
302682011-07-03 Andreas Jaeger <aj@suse.de>
30269
30270 [BZ #10709]
30271 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30272 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30273 * math/libm-test.inc (sin_test): Add test case.
30274
a1b560ff
UD
302752011-10-29 Ulrich Drepper <drepper@gmail.com>
30276
c9aaface
UD
30277 [BZ #13337]
30278 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30279 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30280
d272e7f1
UD
30281 * elf/chroot_canon.c (chroot_canon): Cleanups.
30282
1bc33071
UD
30283 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30284
1760874d
TJ
30285 [BZ #13335]
30286 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30287 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30288
51d91b18
UD
30289 * string/test-strchr.c: Make usable for strchrnul testing.
30290 * string/test-strchrnul.c: New file.
30291 * string/Makefile (strop-tests): Add strchrnul.
30292
a1b560ff 30293 * po/it.po: Update from translation team.
b611fb81 30294 * po/es.po: Likewise.
a1b560ff 30295
a5b81e1f
UD
302962011-10-28 Ulrich Drepper <drepper@gmail.com>
30297
fd52bc6d
UD
30298 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30299 the three constants needed as parameters. Drop the others.
30300 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30301 __m128i_strloadu_tolower.
52e4b9eb
UD
30302 Create and initialize variable zero and use it in all the places
30303 where _mm_setzero_si128 was used.
fd52bc6d 30304
a5b81e1f
UD
30305 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30306 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30307 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30308 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30309 anymore.
30310 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30311 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30312 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30313 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30314 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30315 __mpranred, __mptan.
30316 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30317 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30318 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30319 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30320 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30321 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30322 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30323 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30324 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30325
b4343346
AS
303262011-10-28 Andreas Schwab <schwab@redhat.com>
30327
0c92d8a8
AS
30328 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30329 redefine if SHARED.
30330 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30331
b4343346
AS
30332 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30333 wide char related routines to wcsmbs subdir.
30334
3871f58f
AS
303352011-10-27 Andreas Schwab <schwab@redhat.com>
30336
30337 [BZ #13344]
30338 * misc/sys/cdefs.h (__THROWNL): Define.
30339 * posix/unistd.h: Use __THREADNL instead of __THREAD
30340 for memory synchronization functions.
30341
94d44d9f
RM
303422011-10-26 Roland McGrath <roland@hack.frob.com>
30343
21b64b15 30344 [BZ #13349]
94d44d9f
RM
30345 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30346 doesn't exist.
30347 * manual/stdio.texi (Obstack Streams): Node removed.
30348
f6ce9294
AS
303492011-10-26 Andreas Schwab <schwab@redhat.com>
30350
80479147
AS
30351 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30352 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30353 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30354
f6ce9294
AS
30355 * math/math_private.h (math_force_eval): Allow non-addressable
30356 arguments.
30357 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30358
618280a1
UD
303592011-10-25 Ulrich Drepper <drepper@gmail.com>
30360
e0016b11
UD
30361 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30362 file is not needed.
30363
30364 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30365 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30366 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30367 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30368 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30369 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30370 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30371 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30372 Add AVX variants.
30373 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30374 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30375 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30376 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30377 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30378 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30379 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30380 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30381 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30382 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30383 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30384 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30385 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30386 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30387 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30388 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30389 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30390 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30391 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30392
30393 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
30394 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
30395
618280a1
UD
30396 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30397 place. Use VEX encoding when compiling for AVX.
30398
37822576
AS
303992011-10-25 Andreas Schwab <schwab@redhat.com>
30400
1f1e1947
AS
30401 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30402 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30403
37822576
AS
30404 * string/test-strchr.c (do_test): Don't generate NUL bytes.
30405
31ea014d
UD
304062011-10-25 Ulrich Drepper <drepper@gmail.com>
30407
d7826aa1 30408 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 30409 useless if() expression.
d7826aa1
UD
30410 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30411 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30412 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30413 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30414 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30415 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30416 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30417 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30418 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30419 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30420 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30421 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30422 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30423 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30424 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30425 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30426 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30427 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30428 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30429
31ea014d
UD
30430 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30431
16437fec
AS
304322011-10-25 Andreas Schwab <schwab@redhat.com>
30433
30434 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30435 condition.
30436 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30437
31d3cc00
UD
304382011-10-25 Ulrich Drepper <drepper@gmail.com>
30439
30440 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30441 .text section. Avoid duplicate constants.
30442 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30443 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30444 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30445 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30446 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30447 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30448 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30449 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30450 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30451 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30452 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30453 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30454 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30455 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30456 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30457 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30458 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30459 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30460 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30461 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30462 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30463 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30464 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30465 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30466 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30467 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30468 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30469 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30470 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30471 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30472 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30473 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30474 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30475 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30476 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30477 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30478 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30479 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30480 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30481 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30482 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30483 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30484 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30485 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30486 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30487
58985aa9
UD
304882011-10-24 Ulrich Drepper <drepper@gmail.com>
30489
202c9deb
UD
30490 * sysdeps/x86_64/dla.h: Move to ...
30491 * sysdeps/x86_64/fpu/dla.h: ...here.
30492 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30493 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 30494
af968f62
UD
30495 * config.make.in: Add have-mfma4 entry.
30496 * configure.in: Substitute libc_cv_cc_fma4.
30497 * math/Makefile (dbl-only-routines): Add sincostab.
30498 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30499 Use __sincostab not sincos.
30500 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30501 name is a macro.
30502 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30503 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30504 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30505 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
30506 using __copysign.
30507 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
30508 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
30509 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30510 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30511 and __inv.
30512 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30513 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30514 __copysign.
30515 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
30516 define aliases when function name is a macro.
30517 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30518 sysdeps/ieee754/dbl-64/sincos.tbl.
30519 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30520 fma4-enabled routines.
30521 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30522 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30523 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30524 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30525 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30526 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30527 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30528 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30529 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30530 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30531 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30532 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30533 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30534 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30535 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30536 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30537 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30538 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30539 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30540 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30541 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30542 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30543 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30544 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30545 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30546 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30547 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30548 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30549 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30550 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30551
58985aa9
UD
30552 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30553 rename.
30554 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30555 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30556 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30557 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30558 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30559 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30560 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30561 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30562
a201fbcf
AS
305632011-10-24 Andreas Schwab <schwab@redhat.com>
30564
30565 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30566
fc2ee42a
LD
305672011-10-23 Ulrich Drepper <drepper@gmail.com>
30568
bb3129bd
UD
30569 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30570
0275fff8
UD
30571 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30572 prediction.
30573 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30574
2fa2ae85
UD
30575 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30576 Remove unused variable magic_bits.
30577 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30578
fc2ee42a
LD
30579 * string/strnlen.c: Define and use STRNLEN macro.
30580 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30581 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30582 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30583 * wcsmbs/wcslen.c: Define and use WCSLEN.
30584 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30585 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30586 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30587 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30588 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30589 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30590 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30591
ce7dd29f
LD
305922011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30593
30594 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30595 strnlen-sse2-no-bsf.
30596 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30597 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30598 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30599 Add strnlen support.
30600 (USE_AS_STRNLEN): New macro.
30601 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30602 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30603 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30604 * sysdeps/x86_64/wcslen.S: New file.
30605
979c70a3
MZ
306062011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30607
30608 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30609 XMM-moves are used for copying on small sizes.
30610
2d09f82f
LD
306112011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30612
30613 * wcsmbs/Makefile (strop-tests): Add wcschr.
30614 * wcsmbs/test-wcschr.c: New file.
30615 * string/test-strchr.c: Update.
30616 Add wcschr support.
30617 (WIDE): New macro.
30618
619fccca
LD
306192011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30620
2d09f82f 30621 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
30622 * wcsmbs/test-wcslen.c: New file.
30623 * string/test-strlen.c: Update.
30624 Add wcslen support.
30625 (WIDE): New macro.
30626
09f699ea
UD
306272011-10-23 Ulrich Drepper <drepper@gmail.com>
30628
30629 * po/it.po: Update from translation team.
30630
95584d3b
LD
306312011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30632
30633 * sysdeps/x86_64/wcscmp.S: Update.
30634 Fix wrong comparison semantics.
30635 wcscmp shall use signed comparison not unsigned.
30636 Don't use substraction to avoid overflow bug.
30637 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30638 * wcsmbc/wcscmp.c: Likewise.
30639 * string/test-strcmp.c: Likewise.
30640 Add new tests to check cases with negative values.
30641
c8b3296b
UD
306422011-10-23 Ulrich Drepper <drepper@gmail.com>
30643
30644 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30645 * sysdeps/x86_64/dla.h: ...here. New file.
30646 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30647 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30648 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30649 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30650 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30651 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30652 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30653 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30654 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30655
246ad57a
AS
306562011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30657
30658 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30659 __ynl_finite aliases.
30660
a1a87169
UD
306612011-10-22 Ulrich Drepper <drepper@gmail.com>
30662
0d355eb7
UD
30663 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30664
a1a87169
UD
30665 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30666 define DLA_FMA.
30667 [DLA_FMA] (EMULV): Use DLA_FMA.
30668 [DLA_FMA] (MUL12): Use EMULV.
30669 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30670 that are not needed.
30671 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30672 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30673 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30674 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30675 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30676 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30677 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30678
ee2aafe0
AS
306792011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30680
30681 * math/s_nan.c: Undef __nan.
30682 * math/s_nanf.c: Undef __nanf.
30683 * math/s_nanl.c: Undef __nanl.
30684 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30685 "math_private.h".
30686
bc62c2fb
UD
306872011-10-22 Ulrich Drepper <drepper@gmail.com>
30688
77425c63
UD
30689 * math/s_catan.c: Add branch predictions.
30690 * math/s_catanf.c: Likewise.
30691 * math/s_catanh.c: Likewise.
30692 * math/s_catanhf.c: Likewise.
30693 * math/s_catanhl.c: Likewise.
30694 * math/s_catanl.c: Likewise.
30695 * math/s_cexp.c: Likewise.
30696 * math/s_cexpf.c: Likewise.
30697 * math/s_cexpl.c: Likewise.
30698 * math/s_clog.c: Likewise.
30699 * math/s_clog10.c: Likewise.
30700 * math/s_clog10f.c: Likewise.
30701 * math/s_clog10l.c: Likewise.
30702 * math/s_clogf.c: Likewise.
30703 * math/s_clogl.c: Likewise.
30704 * math/s_csqrt.c: Likewise.
30705 * math/s_csqrtf.c: Likewise.
30706 * math/s_csqrtl.c: Likewise.
30707 * math/s_ctanf.c: Likewise.
30708 * math/s_ctanh.c: Likewise.
30709 * math/s_ctanhf.c: Likewise.
30710 * math/s_ctanhl.c: Likewise.
30711 * math/s_ctanl.c: Likewise.
30712
bc62c2fb
UD
30713 * math/math_private.h: Define __nan, __nanf, __nanl.
30714 * math/s_cacosh.c: Include <math_private.h>.
30715 * math/s_cacoshl.c: Likewise.
30716 * math/s_casinh.c: Likewise.
30717 * math/s_casinhf.c: Likewise.
30718 * math/s_casinhl.c: Likewise.
30719 * math/s_ccos.c: Rely entire on ccosh.
30720 * math/s_ccosf.c: Rely entire on ccoshf.
30721 * math/s_ccosl.c: Rely entirely on ccoshl.
30722 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30723 Remove tests for FE_INVALID.
30724 * math/s_ccoshf.c: Likewise.
30725 * math/s_ccoshl.c: Likewise.
30726 * math/s_csin.c: Likewise.
30727 * math/s_csinf.c: Likewise.
30728 * math/s_csinh.c Likewise.
30729 * math/s_csinhf.c: Likewise.
30730 * math/s_csinhl.c: Likewise.
30731 * math/s_csinl.c: Likewise.
30732 * math/s_ctan.c: Likewise.
30733 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30734 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30735 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30736
8ec250a4
UD
307372011-10-21 Ulrich Drepper <drepper@gmail.com>
30738
c196fed8
UD
30739 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30740 compilation problems.
30741
8ec250a4
UD
30742 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30743 __builtin_expect.
30744
8d4f46c6
UD
307452011-10-20 Ulrich Drepper <drepper@gmail.com>
30746
ed72b654
UD
30747 * sysdeps/i386/configure.in: Test for -mfma4 option.
30748 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30749 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30750 COMMON_CPUID_INDEX_80000001.
30751 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30752 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30753 use it if FMA3 is not supported.
30754 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30755
8d4f46c6
UD
30756 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30757 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30758
d45c60c2
AS
307592011-10-20 Andreas Schwab <schwab@redhat.com>
30760
30761 [BZ #12892]
30762 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30763 it would create a cycle with a link time dependency.
30764
d9a4d2ab
UD
307652011-10-19 Ulrich Drepper <drepper@gmail.com>
30766
855d1560
UD
30767 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30768 instruction.
30769 * string/Makefile (strop-tests): Add rawmemchr.
30770 * string/test-rawmemchr.c: New file.
30771
d9a4d2ab
UD
30772 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30773 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30774 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30775 when compiling str{,n}casecmp and when AVX is available. Hook up
30776 new optimized code in initializers.
30777
8f3b1ffe
AS
307782011-10-19 Andreas Schwab <schwab@redhat.com>
30779
30780 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30781 __feraiseexcept instead of feraiseexcept.
30782
d38f1dba
UD
307832011-10-18 Ulrich Drepper <drepper@gmail.com>
30784
d9a8d0ab
UD
30785 * math/math_private.h: Define defaults for libc_fetestexcept and
30786 libc_feupdateenv.
30787 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30788 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30789 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30790 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30791 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30792 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30793 libc_fetestexcept and libc_feupdateenv.
30794
4855e3dd
UD
30795 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30796 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30797 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30798 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30799 libc_feholdexcept_setround.
30800
581d30e3
UD
30801 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30802 Add s_nearbyint-c and s_nearbyintf-c.
30803 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30804 nearbyintf inlines.
30805 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30806 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30807 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30808 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30809
d38f1dba
UD
30810 * math/math_private.h: Define defaults for libc_fegetround,
30811 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30812 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30813 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30814 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30815 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30816 standard functions.
30817 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30818 Remove comments and hacks for old compiler versions.
30819 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30820 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30821 libc_feholdexceptl.
30822
caa6c9d8
AS
308232011-10-18 Andreas Schwab <schwab@redhat.com>
30824
30825 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
30826 (__feraiseexcept_renamed): Add __NTH.
30827 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
30828 namespace violations.
30829
97c066e6
UD
308302011-10-17 Ulrich Drepper <drepper@gmail.com>
30831
99ce7b04
UD
30832 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30833
1004d182
UD
30834 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30835
228a984d
UD
30836 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30837 recently added interfaces.
30838 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30839
c8553a6a
UD
30840 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30841 about macro parameter expansion.
30842
ed22dcf6
UD
30843 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30844 __NO_MATH_INLINES is defined. Cleanups.
30845
30846 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30847 and __floorf is target has SSE4.1.
30848 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30849 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30850 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30851 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30852
b171c137
UD
30853 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30854 name.
30855 (floorf): Likewise.
30856
97c066e6
UD
30857 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30858
629f62ef
AS
308592011-10-17 Andreas Schwab <schwab@redhat.com>
30860
49a43d80
AS
30861 * misc/sys/cdefs.h: Fix last change.
30862
629f62ef
AS
30863 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30864 database lookup.
30865
e453f6cd
UD
308662011-10-16 Ulrich Drepper <drepper@gmail.com>
30867
aa78043a
UD
30868 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30869
ad0f5cad
UD
30870 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30871 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30872 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30873 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30874 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30875 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30876 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30877 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30878 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30879 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30880 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30881 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30882 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30883 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30884 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30885 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30886 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30887 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30888 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30889 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30890 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30891 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30892
30893 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30894 ceil, ceilf, floor, floorf.
30895
30896 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30897 Perform IRELATIVE relocations last.
30898
e453f6cd
UD
30899 * elf/do-rel.h: Add another parameter nrelative, replacing the
30900 local variable with the same name. Change name of the function
30901 to end in Rel or Rela (uppercase).
30902 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30903 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
30904 elf_dynamic_do_##reloc function.
30905
fd5bdc09
UD
309062011-10-15 Ulrich Drepper <drepper@gmail.com>
30907
79b195b5
UD
30908 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30909 is sufficient, at least on modern CPUs.
30910
d4a28569
UD
30911 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30912
b61099b5
UD
30913 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30914 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30915
bcf01e6d
UD
30916 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30917 __expl_finite.
30918 * math/bits/math-finite.h: Add entries for exp.
30919 * math/e_expl.c: Add __*_finite alias.
30920 * sysdeps/i386/fpu/e_exp.S: Likewise.
30921 * sysdeps/i386/fpu/e_expf.S: Likewise.
30922 * sysdeps/i386/fpu/e_expl.c: Likewise.
30923 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30924 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30925 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30926 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30927 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30928 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30929 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30930
ba1a0d59
UD
30931 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30932 is sufficient, at least on modern CPUs.
30933
fd5bdc09
UD
30934 * ctype/ctype-info.c (__ctype_init): Define.
30935 * include/ctype.h (__ctype_init): Declare.
30936 (__ctype_b_loc): The variable is always initialized.
30937 (__ctype_toupper_loc): Likewise.
30938 (__ctype_tolower_loc): Likewise.
30939 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30940 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30941
7872cfb0
AS
309422011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30943
b468825a
AS
30944 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30945
7872cfb0
AS
30946 * configure.in: Also look in $cxxmachine/include for C++ system
30947 headers.
30948
be13f7bf
LD
309492011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30950
30951 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30952 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30953 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30954 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
30955 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30956 (USE_AS_WMEMCMP): New macro.
30957 Fixing indents.
30958 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30959 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30960 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30961 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30962 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
30963 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
30964 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
30965 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
30966 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
30967 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
30968 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
30969 (USE_AS_WMEMCMP): New macro.
30970 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
30971 * sysdeps/string/test-memcmp.c: Update.
30972 Fix simple_wmemcmp.
30973 Add new tests.
30974 * wcsmbs/wmemcmp.c: Update.
30975 (WMEMCMP): New macro.
30976 Fix overflow bug.
30977
556a2007
AJ
309782011-10-12 Andreas Jaeger <aj@suse.de>
30979
30980 [BZ #13268]
30981 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
30982
538faaa7
UD
309832011-10-15 Ulrich Drepper <drepper@gmail.com>
30984
ab6737ff
UD
30985 * libio/iofwide.c (do_length): Avoid warning.
30986
538faaa7
UD
30987 * ctype/ctype.h (__isctype_f): Add missing __THROW.
30988
396a21b1
UD
309892011-10-14 Ulrich Drepper <drepper@gmail.com>
30990
cdf2901f
UD
30991 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
30992
38ad40ce
UD
30993 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
30994 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
30995 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
30996 * sysdeps/i386/i686/fpu/e_log.S: New file.
30997 * sysdeps/i386/i686/fpu/e_logf.S: New file.
30998 * sysdeps/i386/i686/fpu/e_logl.S: New file.
30999
396a21b1
UD
31000 * ctype/ctype.h: Add support for inlined isXXX functions when
31001 compiling C++ code.
31002
6b1f68c9
AS
310032011-10-14 Andreas Schwab <schwab@redhat.com>
31004
349290c0
AS
31005 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31006
6b1f68c9
AS
31007 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31008
f2282d42
RM
310092011-10-13 Roland McGrath <roland@hack.frob.com>
31010
31011 [BZ #13291]
31012 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31013
5298ffa8
AS
310142011-10-13 Andreas Schwab <schwab@redhat.com>
31015
714fad23
AS
31016 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31017 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31018 feraiseexcept.
31019
81dcc7fb
AS
31020 * sysdeps/x86_64/memrchr.S: Check for zero size.
31021
5298ffa8
AS
31022 * string/stratcliff.c: Add memrchr tests.
31023
951fbcec
LD
310242011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31025
31026 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31027 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31028 rawmemchr-sse2 rawmemchr-sse2-bsf.
31029 * sysdeps/i386/i686/multiarch/memchr.S: New file.
31030 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31031 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31032 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31033 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31034 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31035 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31036 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31037 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31038 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31039 * string/memrchr.c (MEMRCHR): New macro.
31040
0ac5ae23
UD
310412011-10-12 Ulrich Drepper <drepper@gmail.com>
31042
31043 Add integration with gcc's -ffinite-math-only and optimize wrapper
31044 functions in libm.
31045 * Versions.def: Define GLIBC_2.15 version for libm.
31046 * math/Makefile (headers): Add bits/math-finite.h.
31047 * math/bits/math-finite.h: New file.
31048 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31049 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31050 * math/e_acoshl.c: Add __*_finite alias.
31051 * math/e_acosl.c: Likewise.
31052 * math/e_asinl.c: Likewise.
31053 * math/e_atan2l.c: Likewise.
31054 * math/e_atanhl.c: Likewise.
31055 * math/e_coshl.c: Likewise.
31056 * math/e_exp10.c: Likewise.
31057 * math/e_exp10f.c: Likewise.
31058 * math/e_exp10l.c: Likewise.
31059 * math/e_exp2l.c: Likewise.
31060 * math/e_fmodl.c: Likewise.
31061 * math/e_gammal_r.c: Likewise.
31062 * math/e_hypotl.c: Likewise.
31063 * math/e_j0l.c: Likewise.
31064 * math/e_j1l.c: Likewise.
31065 * math/e_jnl.c: Likewise.
31066 * math/e_lgammal_r.c: Likewise.
31067 * math/e_log10l.c: Likewise.
31068 * math/e_log2l.c: Likewise.
31069 * math/e_logl.c: Likewise.
31070 * math/e_powl.c: Likewise.
31071 * math/e_sinhl.c: Likewise.
31072 * math/e_sqrtl.c: Likewise.
31073 * math/e_scalb.c: Completely rewritten and optimized.
31074 * math/e_scalbf.c: Likewise.
31075 * math/e_scalbl.c: Likewise.
31076 * math/w_acos.c: Likewise.
31077 * math/w_acosf.c: Likewise.
31078 * math/w_acosl.c: Likewise.
31079 * math/w_acosh.c: Likewise.
31080 * math/w_acoshf.c: Likewise.
31081 * math/w_acoshl.c: Likewise.
31082 * math/w_asin.c: Likewise.
31083 * math/w_asinf.c: Likewise.
31084 * math/w_asinl.c: Likewise.
31085 * math/w_atan2.c: Likewise.
31086 * math/w_atan2f.c: Likewise.
31087 * math/w_atan2l.c: Likewise.
31088 * math/w_atanh.c: Likewise.
31089 * math/w_atanhf.c: Likewise.
31090 * math/w_atanhl.c: Likewise.
31091 * math/w_exp10.c: Likewise.
31092 * math/w_exp10f.c: Likewise.
31093 * math/w_exp10l.c: Likewise.
31094 * math/w_fmod.c: Likewise.
31095 * math/w_fmodf.c: Likewise.
31096 * math/w_fmodl.c: Likewise.
31097 * math/w_j0.c: Likewise.
31098 * math/w_j0f.c: Likewise.
31099 * math/w_j0l.c: Likewise.
31100 * math/w_j1.c: Likewise.
31101 * math/w_j1f.c: Likewise.
31102 * math/w_j1l.c: Likewise.
31103 * math/w_jn.c: Likewise.
31104 * math/w_jnf.c: Likewise.
31105 * math/w_log.c: Likewise.
31106 * math/w_logf.c: Likewise.
31107 * math/w_logl.c: Likewise.
31108 * math/w_log10.c: Likewise.
31109 * math/w_log10f.c: Likewise.
31110 * math/w_log10l.c: Likewise.
31111 * math/w_log2.c: Likewise.
31112 * math/w_log2f.c: Likewise.
31113 * math/w_log2l.c: Likewise.
31114 * math/w_pow.c: Likewise.
31115 * math/w_powf.c: Likewise.
31116 * math/w_powl.c: Likewise.
31117 * math/w_remainder.c: Likewise.
31118 * math/w_remainderf.c: Likewise.
31119 * math/w_remainderl.c: Likewise.
31120 * math/w_scalb.c: Likewise.
31121 * math/w_scalbf.c: Likewise.
31122 * math/w_scalbl.c: Likewise.
31123 * math/w_sqrt.c: Likewise.
31124 * math/w_sqrtf.c: Likewise.
31125 * math/w_sqrtl.c: Likewise.
31126 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31127 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
31128 used.
31129 * math/math_private.h: Declare __kernel_standard_f.
31130 * math/w_cosh.c: Remove cruft and optimize a bit.
31131 * math/w_coshf.c: Likewise.
31132 * math/w_coshl.c: Likewise.
31133 * math/w_exp2.c: Likewise.
31134 * math/w_exp2f.c: Likewise.
31135 * math/w_exp2l.c: Likewise.
31136 * math/w_hypot.c: Likewise.
31137 * math/w_hypotf.c: Likewise.
31138 * math/w_hypotl.c: Likewise.
31139 * math/w_lgamma.c: Likewise.
31140 * math/w_lgamma_r.c: Likewise.
31141 * math/w_lgammaf.c: Likewise.
31142 * math/w_lgammaf_r.c: Likewise.
31143 * math/w_lgammal.c: Likewise.
31144 * math/w_lgammal_r.c: Likewise.
31145 * math/w_sinh.c: Likewise.
31146 * math/w_sinhf.c: Likewise.
31147 * math/w_sinhl.c: Likewise.
31148 * math/w_tgamma.c: Likewise.
31149 * math/w_tgammaf.c: Likewise.
31150 * math/w_tgammal.c: Likewise.
31151 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31152 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31153 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31154 Minor optimizations. Pretty printing. Remove cruft.
31155 * sysdeps/i386/fpu/e_acosf.S: Likewise.
31156 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31157 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31158 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31159 * sysdeps/i386/fpu/e_acosl.c: Likewise.
31160 * sysdeps/i386/fpu/e_asin.S: Likewise.
31161 * sysdeps/i386/fpu/e_asinf.S: Likewise.
31162 * sysdeps/i386/fpu/e_atan2.S: Likewise.
31163 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31164 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31165 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31166 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31167 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31168 * sysdeps/i386/fpu/e_exp10.S: Likewise.
31169 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31170 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31171 * sysdeps/i386/fpu/e_exp2.S: Likewise.
31172 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31173 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31174 * sysdeps/i386/fpu/e_fmod.S: Likewise.
31175 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31176 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31177 * sysdeps/i386/fpu/e_hypot.S: Likewise.
31178 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31179 * sysdeps/i386/fpu/e_log.S: Likewise.
31180 * sysdeps/i386/fpu/e_log10.S: Likewise.
31181 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31182 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31183 * sysdeps/i386/fpu/e_log2.S: Likewise.
31184 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31185 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31186 * sysdeps/i386/fpu/e_logf.S: Likewise.
31187 * sysdeps/i386/fpu/e_logl.S: Likewise.
31188 * sysdeps/i386/fpu/e_pow.S: Likewise.
31189 * sysdeps/i386/fpu/e_powf.S: Likewise.
31190 * sysdeps/i386/fpu/e_powl.S: Likewise.
31191 * sysdeps/i386/fpu/e_remainder.S: Likewise.
31192 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31193 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31194 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31195 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31196 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31197 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31198 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31199 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31200 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31201 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31202 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31203 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31204 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31205 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31206 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31207 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31208 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31209 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31210 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31211 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31212 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31213 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31214 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31215 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31216 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31217 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31218 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31219 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31220 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31221 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31222 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31223 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31224 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31225 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31226 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31227 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31228 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31229 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31230 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31231 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31232 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31233 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31234 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31235 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31236 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31237 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31238 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31239 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31240 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31241 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31242 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31243 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31244 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31245 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31246 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31247 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31248 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31249 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31250 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31251 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31252 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31253 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31254 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31255 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31256 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31257 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31258 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31259 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31260 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31261 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31262 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31263 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31264 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31265 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31266 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31267 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31268 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31269 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31270 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31271 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31272 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31273 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31274 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31275 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31276 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31277 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31278 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31279 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31280 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31281 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31282 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31283 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31284 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31285 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31286 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31287 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31288 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31289 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31290 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31291 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31292 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31293 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31294 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31295 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31296 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31297 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31298 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31299 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31300 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31301 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31302 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31303 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31304 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31305 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31306 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31307 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31308 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31309 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31310 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
31311 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31312 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31313 (__isnanf): Likewise.
31314 (__isinf_ns): Likewise.
31315 (__isinf_nsf): Likewise.
31316 (__finite): Likewise.
31317 (__finitef): Likewise.
31318 (__ieee754_sqrt): Define as macro.
31319 (__ieee754_sqrtf): Define as macro.
31320 (__ieee754_sqrtl): Define as macro.
31321 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31322 inlined copy.
31323 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31324 __FINITE_MATH_ONLY__ consistent.
31325 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31326
12cc2fcd
AS
313272011-10-10 Andreas Schwab <schwab@linux-m68k.org>
31328
a843a204
AS
31329 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31330 of rawmemchr.
31331
12cc2fcd
AS
31332 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31333
c853acd5
UD
313342011-10-09 Ulrich Drepper <drepper@gmail.com>
31335
31336 * po/ja.po: Update from translation team.
31337
c658d255
RM
313382011-10-08 Roland McGrath <roland@hack.frob.com>
31339
110946e4
RM
31340 * locale/programs/locarchive.c (prepare_address_space): New function.
31341 (create_archive, enlarge_archive, open_archive): Use it.
31342
50604220
RM
31343 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31344 inside [SHARED], where it is used.
31345
c658d255
RM
31346 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31347
31348 * nss/getent.c (netgroup_keys): Remove unused variable.
31349 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31350
6a621eb7
UD
313512011-10-08 Ulrich Drepper <drepper@gmail.com>
31352
7edb55ce
UD
31353 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31354 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31355 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31356 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31357 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31358 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31359 * math/Makefile (libm-calls): Add s_isinf_ns.
31360 * math/divtc3.c: Use __isinf_nsl instead of isinf.
31361 * math/multc3.c: Likewise.
31362 * math/s_casin.c: Likewise.
31363 * math/s_casinf.c: Likewise.
31364 * math/s_casinl.c: Likewise.
31365 * math/s_ccos.c: Likewise.
31366 * math/s_ccosf.c: Likewise.
31367 * math/s_ccosl.c: Likewise.
31368 * math/s_ctan.c: Likewise.
31369 * math/s_ctanf.c: Likewise.
31370 * math/s_ctanh.c: Likewise.
31371 * math/s_ctanhf.c: Likewise.
31372 * math/s_ctanhl.c: Likewise.
31373 * math/s_ctanl.c: Likewise.
31374 * math/w_fmod.c: Likewise.
31375 * math/w_fmodf.c: Likewise.
31376 * math/w_fmodl.c: Likewise.
31377 * math/w_remainder.c: Likewise.
31378 * math/w_remainderf.c: Likewise.
31379 * math/w_remainderl.c: Likewise.
31380 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31381 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31382 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31383 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31384 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31385 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31386 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31387 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31388
187da0ae
UD
31389 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31390 of the number.
31391 * stdio-common/printf_fphex.c: Likewise.
31392 * stdio-common/printf_size.c: Likewise.
31393
9277c064
UD
31394 * math/e_exp10.c: Include math_private.h using <...> not "...".
31395 * math/e_exp10f.c: Likewise.
31396 * math/e_exp10l.c: Likewise.
31397 * math/e_exp2l.c: Likewise.
31398 * math/e_j0l.c: Likewise.
31399 * math/e_j1l.c: Likewise.
31400 * math/e_jnl.c: Likewise.
31401 * math/e_lgammal_r.c: Likewise.
31402 * math/e_rem_pio2l.c: Likewise.
31403 * math/e_scalb.c: Likewise.
31404 * math/e_scalbf.c: Likewise.
31405 * math/e_scalbl.c: Likewise.
31406 * math/k_cosl.c: Likewise.
31407 * math/k_sinl.c: Likewise.
31408 * math/k_tanl.c: Likewise.
31409 * math/s_cacoshf.c: Likewise.
31410 * math/s_catan.c: Likewise.
31411 * math/s_catanf.c: Likewise.
31412 * math/s_catanh.c: Likewise.
31413 * math/s_catanhf.c: Likewise.
31414 * math/s_catanhl.c: Likewise.
31415 * math/s_catanl.c: Likewise.
31416 * math/s_ccosh.c: Likewise.
31417 * math/s_ccoshf.c: Likewise.
31418 * math/s_ccoshl.c: Likewise.
31419 * math/s_cexp.c: Likewise.
31420 * math/s_cexpf.c: Likewise.
31421 * math/s_cexpl.c: Likewise.
31422 * math/s_clog.c: Likewise.
31423 * math/s_clog10.c: Likewise.
31424 * math/s_clog10f.c: Likewise.
31425 * math/s_clog10l.c: Likewise.
31426 * math/s_clogf.c: Likewise.
31427 * math/s_clogl.c: Likewise.
31428 * math/s_csin.c: Likewise.
31429 * math/s_csinf.c: Likewise.
31430 * math/s_csinh.c: Likewise.
31431 * math/s_csinhf.c: Likewise.
31432 * math/s_csinhl.c: Likewise.
31433 * math/s_csinl.c: Likewise.
31434 * math/s_csqrt.c: Likewise.
31435 * math/s_csqrtf.c: Likewise.
31436 * math/s_csqrtl.c: Likewise.
31437 * math/s_ctan.c: Likewise.
31438 * math/s_ctanf.c: Likewise.
31439 * math/s_ctanh.c: Likewise.
31440 * math/s_ctanhf.c: Likewise.
31441 * math/s_ctanhl.c: Likewise.
31442 * math/s_ctanl.c: Likewise.
31443 * math/s_ldexp.c: Likewise.
31444 * math/s_ldexpf.c: Likewise.
31445 * math/s_ldexpl.c: Likewise.
31446 * math/s_significand.c: Likewise.
31447 * math/s_significandf.c: Likewise.
31448 * math/s_significandl.c: Likewise.
31449 * math/w_acos.c: Likewise.
31450 * math/w_acosf.c: Likewise.
31451 * math/w_acosh.c: Likewise.
31452 * math/w_acoshf.c: Likewise.
31453 * math/w_acoshl.c: Likewise.
31454 * math/w_acosl.c: Likewise.
31455 * math/w_asin.c: Likewise.
31456 * math/w_asinf.c: Likewise.
31457 * math/w_asinl.c: Likewise.
31458 * math/w_atan2.c: Likewise.
31459 * math/w_atan2f.c: Likewise.
31460 * math/w_atan2l.c: Likewise.
31461 * math/w_atanh.c: Likewise.
31462 * math/w_atanhf.c: Likewise.
31463 * math/w_atanhl.c: Likewise.
31464 * math/w_cosh.c: Likewise.
31465 * math/w_coshf.c: Likewise.
31466 * math/w_coshl.c: Likewise.
31467 * math/w_dremf.c: Likewise.
31468 * math/w_exp10.c: Likewise.
31469 * math/w_exp10f.c: Likewise.
31470 * math/w_exp10l.c: Likewise.
31471 * math/w_exp2.c: Likewise.
31472 * math/w_exp2f.c: Likewise.
31473 * math/w_fmod.c: Likewise.
31474 * math/w_fmodf.c: Likewise.
31475 * math/w_fmodl.c: Likewise.
31476 * math/w_hypot.c: Likewise.
31477 * math/w_hypotf.c: Likewise.
31478 * math/w_hypotl.c: Likewise.
31479 * math/w_j0.c: Likewise.
31480 * math/w_j0f.c: Likewise.
31481 * math/w_j0l.c: Likewise.
31482 * math/w_j1.c: Likewise.
31483 * math/w_j1f.c: Likewise.
31484 * math/w_j1l.c: Likewise.
31485 * math/w_jn.c: Likewise.
31486 * math/w_jnf.c: Likewise.
31487 * math/w_jnl.c: Likewise.
31488 * math/w_lgamma.c: Likewise.
31489 * math/w_lgamma_r.c: Likewise.
31490 * math/w_lgammaf.c: Likewise.
31491 * math/w_lgammaf_r.c: Likewise.
31492 * math/w_lgammal.c: Likewise.
31493 * math/w_lgammal_r.c: Likewise.
31494 * math/w_log.c: Likewise.
31495 * math/w_log10.c: Likewise.
31496 * math/w_log10f.c: Likewise.
31497 * math/w_log10l.c: Likewise.
31498 * math/w_log2.c: Likewise.
31499 * math/w_log2f.c: Likewise.
31500 * math/w_log2l.c: Likewise.
31501 * math/w_logf.c: Likewise.
31502 * math/w_logl.c: Likewise.
31503 * math/w_pow.c: Likewise.
31504 * math/w_powf.c: Likewise.
31505 * math/w_powl.c: Likewise.
31506 * math/w_remainder.c: Likewise.
31507 * math/w_remainderf.c: Likewise.
31508 * math/w_remainderl.c: Likewise.
31509 * math/w_scalb.c: Likewise.
31510 * math/w_scalbf.c: Likewise.
31511 * math/w_scalbl.c: Likewise.
31512 * math/w_sinh.c: Likewise.
31513 * math/w_sinhf.c: Likewise.
31514 * math/w_sinhl.c: Likewise.
31515 * math/w_sqrt.c: Likewise.
31516 * math/w_sqrtf.c: Likewise.
31517 * math/w_sqrtl.c: Likewise.
31518 * math/w_tgamma.c: Likewise.
31519 * math/w_tgammaf.c: Likewise.
31520 * math/w_tgammal.c: Likewise.
31521
6a621eb7
UD
31522 * po/ja.po: Update from translation team.
31523
bf582445
AJ
315242011-09-29 Andreas Jaeger <aj@suse.de>
31525
f9efbf3a
AJ
31526 [BZ #13179]
31527 * sunrpc/netname.c (netname2host): Fix logic.
31528
bf582445
AJ
31529 [BZ #6779]
31530 [BZ #6783]
31531 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31532 correctly.
31533 * math/w_remainder.c (__remainder): Likewise.
31534 * math/w_remainderf.c (__remainderf): Likewise.
31535 * math/libm-test.inc (remainder_test): Add test cases.
31536
48693bea
AK
315372011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31538
31539 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
31540 sdiv_qrnnd.
31541
42622229
LD
315422011-10-07 Ulrich Drepper <drepper@gmail.com>
31543
31544 * string/test-memcmp.c: Avoid unncessary #defines.
31545 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31546
093ecf92
LD
315472011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31548
31549 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31550 Use new sse2 version for core i3 - i7 as it's faster
31551 than sse42 version.
31552 (bit_Prefer_PMINUB_for_stringop): New.
31553 * sysdeps/x86_64/rawmemchr.S: Update.
31554 Replace with faster SSE2 version.
31555 * sysdeps/x86_64/memrchr.S: New file.
31556 * sysdeps/x86_64/memchr.S: Update.
31557 Replace with faster SSE2 version.
31558
fde56e5c
MP
315592011-09-12 Marek Polacek <mpolacek@redhat.com>
31560
31561 * elf/dl-load.c (lose): Add cast to avoid warning.
31562
21fd49a9
UD
315632011-10-07 Ulrich Drepper <drepper@gmail.com>
31564
5a06e643
UD
31565 * po/ca.po: Update from translation team.
31566
684ae515
UD
31567 * inet/getnetgrent_r.c: Hook up nscd.
31568 * nscd/Makefile (routines): Add nscd_netgroup.
31569 (nscd-modules): Add netgroupcache.
31570 (CFLAGS-netgroupcache.c): Define.
31571 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31572 (cache_search): Add const to second parameter.
31573 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31574 INNETGR.
31575 (dbs): Add netgrdb entry.
31576 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31577 (verify_persistent_db): Handle netgrdb.
31578 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31579 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31580 GETFDNETGR.
31581 (netgroup_response_header): Define.
31582 (innetgroup_response_header): Define.
31583 (datahead): Add netgroup_response_header and innetgroup_response_header
31584 elements.
31585 * nscd/nscd.conf: Add entries for netgroup cache.
31586 * nscd/nscd.h (dbtype): Add netgrdb.
31587 (_PATH_NSCD_NETGROUP_DB): Define.
31588 (netgroup_iov_disabled): Declare.
31589 (xmalloc, xcalloc, xrealloc): Move declarations here.
31590 (cache_search): Adjust prototype.
31591 Add netgroup-related prototypes.
31592 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31593 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31594 (__nscd_innetgr): Declare.
31595 * nscd/selinux.c (perms): Use access_vector_t as element type and
31596 add netgroup-related initializers.
31597 * nscd/netgroupcache.c: New file.
31598 * nscd/nscd_netgroup.c: New file.
31599 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31600 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31601 For four parameters use innetgr.
31602 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31603 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31604 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31605 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31606
21fd49a9
UD
31607 * nscd/connections.c (register_traced_file): Don't register file
31608 for disabled databases.
31609
054c0457
UD
316102011-10-06 Ulrich Drepper <drepper@gmail.com>
31611
32b63198
UD
31612 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31613
054c0457
UD
31614 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31615 from tree and freeing node.
31616
64031225
JO
316172011-09-25 Jiri Olsa <jolsa@redhat.com>
31618
31619 * nss/nsswitch.c (__nss_database_lookup): Handle
31620 nss_parse_service_list out of memory case.
31621
0490345c
JO
316222011-09-15 Jiri Olsa <jolsa@redhat.com>
31623
31624 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31625 out of memory case.
31626
3a62d00d
AS
316272011-10-04 Andreas Schwab <schwab@redhat.com>
31628
31629 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31630 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31631 pass it down.
31632 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31633 elf_machine_rela, elf_machine_lazy_rel.
31634 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31635 (ELF_DYNAMIC_DO_REL): Likewise.
31636 (ELF_DYNAMIC_DO_RELA): Likewise.
31637 (ELF_DYNAMIC_RELOCATE): Likewise.
31638 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31639 to ELF_DYNAMIC_DO_REL.
31640 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31641 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31642 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31643 elf_machine_rela.
31644 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31645 skip_ifunc, don't call ifunc function if non-zero.
31646 (elf_machine_rela): Likewise.
31647 (elf_machine_lazy_rel): Likewise.
31648 (elf_machine_lazy_rela): Likewise.
31649 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31650 (elf_machine_lazy_rel): Likewise.
31651 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31652 Likewise.
31653 (elf_machine_lazy_rel): Likewise.
31654 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31655 Likewise.
31656 (elf_machine_lazy_rel): Likewise.
31657 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31658 (elf_machine_lazy_rel): Likewise.
31659 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31660 (elf_machine_lazy_rel): Likewise.
31661 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31662 (elf_machine_lazy_rel): Likewise.
31663 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31664 (elf_machine_lazy_rel): Likewise.
31665 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31666 (elf_machine_lazy_rel): Likewise.
31667 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31668 (elf_machine_lazy_rel): Likewise.
31669
68577918
UD
316702011-09-28 Ulrich Drepper <drepper@gmail.com>
31671
31672 * nss/nss_files/files-init.c (_nss_files_init): Use static
31673 initialization for all the *_traced_file variables.
31674
68822d74
AS
316752011-09-28 Andreas Schwab <schwab@redhat.com>
31676
31677 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31678
2056100b
RM
316792011-09-27 Roland McGrath <roland@hack.frob.com>
31680
31681 [BZ #13226]
31682 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31683
32c76b63
AS
316842011-09-27 Andreas Schwab <schwab@redhat.com>
31685
31686 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31687 Reread the line before reparsing it.
31688
bf972c9d
AS
316892011-09-26 Andreas Schwab <schwab@redhat.com>
31690
31691 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31692
e057a1b5
JM
316932011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31694 Maxim Kuvyrkov <maxim@codesourcery.com>
31695 Joseph Myers <joseph@codesourcery.com>
31696
31697 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31698 if needed for __stack_chk_guard.
31699
bc7e1c36
RM
317002011-09-19 Roland McGrath <roland@hack.frob.com>
31701
ecb1482f
RM
31702 * sysdeps/posix/spawni.c (script_execute): Always define it.
31703 It will be optimized away if unused.
31704 (maybe_script_execute): New function.
31705 (__spawni): Call it.
31706
bc7e1c36
RM
31707 * Makerules: Don't include tls.make.
31708 (config-tls): Always set to thread.
31709 * tls.make.c: File removed.
31710
1c3b002b
MF
317112011-09-19 Mike Frysinger <vapier@gentoo.org>
31712
31713 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31714 * config.make.in (CPPFLAGS-config): New substituted variable.
31715
2840865d
UD
317162011-09-15 Ulrich Drepper <drepper@gmail.com>
31717
88738eb6
UD
31718 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31719
cbf645a6 31720 [BZ #13192]
2840865d
UD
31721 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31722 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31723
b402e91a
RM
317242011-09-15 Roland McGrath <roland@hack.frob.com>
31725
31726 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31727 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31728 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31729 (CALL_FAIL): Likewise.
31730 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31731 (CALL_FAIL): Macro removed.
31732 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31733
4c1a1f71
UD
317342011-09-15 Ulrich Drepper <drepper@gmail.com>
31735
31736 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31737 for __FINITE_MATH_ONLY__ == 1.
31738
edc121be
AS
317392011-09-15 Andreas Schwab <schwab@redhat.com>
31740
31741 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31742 __ieee754_sqrt instead of sqrt.
31743 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31744 __ieee754_sqrtf instead of sqrtf.
31745 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31746 __floorf instead of floorf.
31747 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31748 __floorf, __truncf instead of floorf, truncf.
31749
cd205654
UD
317502011-09-14 Ulrich Drepper <drepper@gmail.com>
31751
ee4d0315
UD
31752 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31753
cd205654
UD
31754 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31755 __extern_always_inline.
31756 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31757 32-bit.
31758
48b67d71
AS
317592011-09-14 Andreas Schwab <schwab@redhat.com>
31760
31761 * elf/rtld.c (dl_main): Also relocate in dependency order when
31762 doing symbol dependency testing.
31763
1ae12c75
AS
317642011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31765
31766 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31767 Always define `refsym'.
31768
995a80df
AS
317692011-09-13 Andreas Schwab <schwab@redhat.com>
31770
e529793b
AS
31771 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31772 (__FD_ELT): Renamed from __FDELT.
31773 * misc/bits/select2.h (__FD_ELT): Likewise.
31774 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31775 __FD_MASK instead of __FDELT, __FDMASK.
31776 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31777 Likewise.
31778 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31779 Likewise.
31780
52d4fef8
AS
31781 * elf/Makefile (gen-ldd): Fix pattern.
31782
995a80df
AS
31783 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31784 (init_tls): Likewise.
31785
8682f8b0
UD
317862011-09-12 Ulrich Drepper <drepper@gmail.com>
31787
31788 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31789
de82006d
AS
317902011-09-12 Andreas Schwab <schwab@redhat.com>
31791
a7c8e6a1
AS
31792 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31793 `struct cmsghdr *' instead of `void *'.
31794 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31795 Likewise.
31796
0f31fe77
AS
317972011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31798
31799 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31800 if non-absolute.
31801 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31802 ldd_rewrite_script.
0f31fe77 31803
32b4c839
UD
318042011-09-11 Ulrich Drepper <drepper@gmail.com>
31805
83cd1420
UD
31806 * configure.in: Remove --with-tls option.
31807 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31808 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31809 out in case it is missing.
31810 * sysdeps/ia64/elf/configure.in: Likewise.
31811 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31812 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31813 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31814 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31815 * sysdeps/sh/elf/configure.in: Likewise.
31816 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31817 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31818 * sysdeps/x86_64/elf/configure.in: Likewise.
31819 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31820 * sysdeps/mach/hurd/tls.h: Likewise.
31821
633f745d
UD
31822 [BZ #13067]
31823 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31824
f318beb8
UD
31825 [BZ #13090]
31826 * configure.in: Fix use of AC_INIT.
31827
32b4c839
UD
31828 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31829
3ce1f295
UD
318302011-09-10 Ulrich Drepper <drepper@gmail.com>
31831
bb016596
UD
31832 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31833 __set_errno.
8e58439c
UD
31834 * malloc/hooks.c: Likewise.
31835
aebae053 31836 [BZ #11929]
02d46fc4
UD
31837 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31838 variables statically.
31839 (narenas): Initialize.
31840 (list_lock): Initialize.
bb016596
UD
31841 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31842 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
31843 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31844 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31845 Add initializers to main_arena and mp_.
31846 (malloc_state): Remove pagesize member. Change all users to use
31847 GLRO(dl_pagesize).
31848
31849 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31850 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31851 is always initialized.
31852
22a89187
UD
31853 * malloc/malloc.c: Removed unused configurations and dead code.
31854 * malloc/arena.c: Likewise.
31855 * malloc/hooks.c: Likewise.
02d46fc4 31856 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 31857
d063d164
UD
31858 * include/tls.h: Removed. USE___THREAD must always be defined.
31859 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31860 * elf/dl-libc.c: Likewise.
31861 * elf/dl-tsd.c: Likewise.
31862 * include/errno.h: Likewise.
31863 * include/netdb.h: Likewise.
31864 * include/resolv.h: Likewise.
31865 * inet/herrno-loc.c: Likewise.
31866 * inet/herrno.c: Likewise.
31867 * malloc/arena.c: Likewise.
31868 * malloc/hooks.c: Likewise.
31869 * malloc/malloc.c: Likewise.
31870 * resolv/res-state.c: Likewise.
31871 * resolv/res_libc.c: Likewise.
31872 * sysdeps/i386/dl-machine.h: Likewise.
31873 * sysdeps/ia64/dl-machine.h: Likewise.
31874 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31875 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31876 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31877 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31878 * sysdeps/sh/dl-machine.h: Likewise.
31879 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31880 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31881 * sysdeps/unix/i386/sysdep.S: Likewise.
31882 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31883 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31884 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31885 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31886 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31887 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31888 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31889 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31890 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31891 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31892 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31893 * sysdeps/x86_64/dl-machine.h: Likewise.
31894 * tls.make.c: Likewise.
31895
3ce1f295
UD
31896 * configure.in: Remove --with-__thread option. Make tests for
31897 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31898 tls_model attribute fail if no support is available. Remove
31899 USE_IN_LIBIO.
31900 * Makeconfig: Adjust for dropped configure option. All features are
31901 now mandatory.
31902 * Makerules: Likewise.
31903 * Versions.def: Likewise.
31904 * argp/argp-fmtstream.c: Likewise.
31905 * argp/argp-fmtstream.h: Likewise.
31906 * argp/argp-help.c: Likewise.
31907 * assert/assert.c: Likewise.
31908 * config.h.in: Likewise.
31909 * config.make.in: Likewise.
31910 * configure: Likewise.
31911 * configure.in: Likewise.
31912 * csu/Versions: Likewise.
31913 * csu/init.c: Likewise.
31914 * elf/tst-audit2.c: Likewise.
31915 * elf/tst-tls10.c: Likewise.
31916 * elf/tst-tls10.h: Likewise.
31917 * elf/tst-tls11.c: Likewise.
31918 * elf/tst-tls12.c: Likewise.
31919 * elf/tst-tls14.c: Likewise.
31920 * elf/tst-tlsmod11.c: Likewise.
31921 * elf/tst-tlsmod12.c: Likewise.
31922 * elf/tst-tlsmod13.c: Likewise.
31923 * elf/tst-tlsmod13a.c: Likewise.
31924 * elf/tst-tlsmod14a.c: Likewise.
31925 * elf/tst-tlsmod15b.c: Likewise.
31926 * elf/tst-tlsmod16a.c: Likewise.
31927 * elf/tst-tlsmod16b.c: Likewise.
31928 * elf/tst-tlsmod7.c: Likewise.
31929 * elf/tst-tlsmod8.c: Likewise.
31930 * elf/tst-tlsmod9.c: Likewise.
31931 * gmon/gmon.c: Likewise.
31932 * grp/fgetgrent_r.c: Likewise.
31933 * grp/putgrent.c: Likewise.
31934 * hurd/fopenport.c: Likewise.
31935 * include/libc-symbols.h: Likewise.
31936 * include/tls.h: Likewise.
31937 * intl/gettextP.h: Likewise.
31938 * intl/loadinfo.h: Likewise.
31939 * locale/global-locale.c: Likewise.
31940 * locale/localeinfo.h: Likewise.
31941 * mach/devstream.c: Likewise.
31942 * malloc/arena.c: Likewise.
31943 * malloc/set-freeres.c: Likewise.
31944 * misc/err.c: Likewise.
31945 * misc/getttyent.c: Likewise.
31946 * misc/mntent_r.c: Likewise.
31947 * posix/getopt.c: Likewise.
31948 * posix/wordexp.c: Likewise.
31949 * pwd/fgetpwent_r.c: Likewise.
31950 * resolv/Versions: Likewise.
31951 * resolv/res_hconf.c: Likewise.
31952 * shadow/fgetspent_r.c: Likewise.
31953 * shadow/putspent.c: Likewise.
31954 * stdio-common/printf_fphex.c: Likewise.
31955 * stdio-common/tmpfile.c: Likewise.
31956 * stdlib/abort.c: Likewise.
31957 * stdlib/fmtmsg.c: Likewise.
31958 * sunrpc/auth_unix.c: Likewise.
31959 * sunrpc/clnt_perr.c: Likewise.
31960 * sunrpc/clnt_tcp.c: Likewise.
31961 * sunrpc/clnt_udp.c: Likewise.
31962 * sunrpc/clnt_unix.c: Likewise.
31963 * sunrpc/openchild.c: Likewise.
31964 * sunrpc/svc_simple.c: Likewise.
31965 * sunrpc/svc_tcp.c: Likewise.
31966 * sunrpc/svc_udp.c: Likewise.
31967 * sunrpc/svc_unix.c: Likewise.
31968 * sunrpc/xdr.c: Likewise.
31969 * sunrpc/xdr_array.c: Likewise.
31970 * sunrpc/xdr_rec.c: Likewise.
31971 * sunrpc/xdr_ref.c: Likewise.
31972 * sunrpc/xdr_stdio.c: Likewise.
31973
1248c1c4
PB
319742011-09-09 Ulrich Drepper <drepper@gmail.com>
31975
31976 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31977
319782011-07-03 Andreas Jaeger <aj@suse.de>
31979
31980 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
31981 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
31982 regenerate with gen-libm-tests.pl.
31983
319842010-05-12 Petr Baudis <pasky@suse.cz>
31985
31986 [BZ #11589]
31987 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
31988 around j0() zero points by switching to j1().
31989 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31990 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31991 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
31992 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31993
f22e1074
UD
319942011-09-09 Ulrich Drepper <drepper@gmail.com>
31995
f19009c1
UD
31996 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
31997 instead of 0.
31998 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 31999 instead of 0.
f19009c1
UD
32000 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32001 Patch in part by Pavel Roskin <proski@gnu.org>.
32002
3f8cc204
UD
32003 [BZ #13138]
32004 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32005 realloc.
32006 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
32007 Free memory block if necessary.
32008
f22e1074
UD
32009 [BZ #12847]
32010 * libio/genops.c (INTDEF): For string streams the _lock pointer can
32011 be NULL. Don't lock in this case.
32012
0a2349f9
RM
320132011-09-09 Roland McGrath <roland@hack.frob.com>
32014
32015 * elf/elf.h (ELFOSABI_GNU): New macro.
32016 (ELFOSABI_LINUX): Define to that.
32017
f3cdd467
DZ
320182011-07-29 Denis Zaitceff <zaitceff@gmail.com>
32019
32020 * string/strncat.c (strncat): Undef the symbol in case it has been
32021 defined in bits/string.h.
32022
74718d13
UD
320232011-09-09 Ulrich Drepper <drepper@gmail.com>
32024
633e9e0f
UD
32025 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32026
0a2349f9 32027 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
32028 link map.
32029
f9924780
AJ
320302011-08-17 Andreas Jaeger <aj@suse.de>
32031
32032 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32033
7f5517aa
PP
320342011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
32035 Ian Lance Taylor <iant@google.com>
32036
32037 * math/libm-test.inc (lround_test): New testcase.
32038 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32039
762011fe
UD
320402011-09-08 Ulrich Drepper <drepper@gmail.com>
32041
92963737
UD
32042 * Makefile: Remove support for automatic cvs check-ins.
32043 * Makerules: Likewise.
32044 * config.make.in: Likewise.
32045 * configure.in: Likewise.
32046 * intl/Makefile: Likewise.
32047 * locale/Makefile: Likewise.
32048 * po/Makefile: Likewise.
32049 * posix/Makefile: Likewise.
32050 * sysdeps/gnu/Makefile: Likewise.
32051 * sysdeps/mach/hurd/Makefile: Likewise.
32052 * sysdeps/sparc/sparc32/Makefile: Likewise.
32053
b0727fd8
JS
32054 [BZ #13118]
32055 * posix/Makefile (bug-regex32-ENV): Define.
32056 Patch by John Stanley <jpsinthemix@verizon.net>.
32057
a0f33f99
UD
32058 * misc/Makefile (headers): Add bits/select2.h.
32059 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32060 * misc/bits/select2.h: New file.
32061 * include/bits/select2.h: New file.
32062 * debug/Makefile (routines): Add fdelt_chk.
32063 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32064 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32065 FD_ISSET.
32066 * debug/fdelt_chk.c: New file.
32067
762011fe
UD
32068 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
32069 * wcsmbs/test-wmemcmp.c: Likewise.
32070 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 32071 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
32072
320732011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32074
32075 * string/Makefile (strop-tests): Add memcmp.
32076 * string/test-wmemcmp.c: New file.
32077 * string/test-memcmp.c: Add wmemcmp support.
32078
7f513ec8
RM
320792011-09-08 Roland McGrath <roland@hack.frob.com>
32080
0442afb4
RM
32081 [BZ #13153]
32082 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32083 2011-07-19 change.
32084
7f513ec8
RM
32085 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32086 garbage value in a __mach_port_mod_refs call in the cases of the
32087 task-self and thread-self ports.
32088
a12b2239
ST
320892011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32090
32091 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32092
610f9ab4
AS
320932011-09-08 Andreas Schwab <schwab@redhat.com>
32094
7f513ec8 32095 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 32096
48882a1a
LD
320972011-09-07 Ulrich Drepper <drepper@gmail.com>
32098
b49865be
UD
32099 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32100
fdc86bc9
UD
32101 * elf/dl-libc.c (dlerror_run): Pass back error code from
32102 dl_catch_error.
32103
c966526a
UD
32104 [BZ #13123]
32105 * elf/dl-load.c (lose): Free l_origin if it is valid.
32106
48882a1a
LD
32107 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32108 names.
32109 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32110 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32111 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32112 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32113 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32114 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32115
77a2a8b4
AZ
321162011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32117
32118 * sysdeps/powerpc/fpu/e_hypot.c: New file.
32119 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32120 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32121 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32122 * sysdeps/powerpc/fpu/k_cosf.c: New file.
32123 * sysdeps/powerpc/fpu/k_sinf.c: New file.
32124 * sysdeps/powerpc/fpu/s_cosf.c: New file.
32125 * sysdeps/powerpc/fpu/s_sinf.c: New file.
32126 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32127 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32128
24f579d8
AM
321292011-08-15 Alan Modra <amodra@gmail.com>
32130
32131 [BZ #13092]
32132 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32133 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32134 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
32135 ppc_mcount to static-only-routines.
32136 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32137 __mcount_internal.
32138 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32139 __mcount_internal with usual JUMPTARGET. Remove useless nop.
32140
3d4837df
UD
321412011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
32142
32143 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32144 for finite and infinity parameters.
32145
22700377
WS
321462011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32147
32148 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32149 and add nop instructions for throughput optimization.
32150 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32151
5025581e
WS
321522011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
32153
32154 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32155 aligned copy for power7 with vector-scalar instructions.
32156 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32157
08a300c9
L
321582011-07-24 H.J. Lu <hongjiu.lu@intel.com>
32159
32160 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32161 AVX check.
32162
59178ef9
AS
321632011-09-07 Andreas Schwab <schwab@redhat.com>
32164
32165 [BZ #13144]
32166 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32167 last change.
32168
e38ba7ab
UD
321692011-09-07 Ulrich Drepper <drepper@gmail.com>
32170
32171 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32172 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32173 syscall wrapper around clock_gettime in __vdso_clock_gettime.
32174 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32175 clock_gettime.
32176
d53a73ac
UD
321772011-09-06 Ulrich Drepper <drepper@gmail.com>
32178
fc8bffcc
UD
32179 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32180 Forgot to demangle the pointer.
32181
ceaa0c5d
UD
32182 * sysdeps/i386/sysdep.h: Define atom_text_section.
32183 * sysdeps/x86_64/sysdep.h: Likewise.
32184 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32185 section with atom_text_section.
32186 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32187 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32188 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32189 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32190 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32191
a77d3c17
UD
32192 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32193 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32194 already be defined. Change to take two parameters and don't assign
32195 result to variable. Adjust all users.
32196 Define INTERNAL_GETTIME if not already defined.
32197 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32198 call.
32199 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32200 HAVE_CLOCK_GETTIME_VSYSCALL.
32201 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32202
d53a73ac
UD
32203 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32204 gettimeofday vsyscall, just use time.
32205
a8f84144
AS
322062011-09-06 Andreas Schwab <schwab@redhat.com>
32207
32208 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32209 <errno.h>.
32210
ef606249
UD
322112011-09-06 Ulrich Drepper <drepper@gmail.com>
32212
32213 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32214 syscall on x86-64.
32215 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32216 syscall.
32217 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32218 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32219 syscall if possible.
32220
6585cb60
UD
322212011-09-05 Ulrich Drepper <drepper@gmail.com>
32222
32223 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32224 e_ident. Don't pass to find_mapsXX.
32225 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32226
a5f524e4
LD
322272011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32228
32229 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32230 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32231 * sysdeps/x86_64/multiarch/strchr.S: Update.
32232 Check bit_slow_BSF bit.
32233 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32234 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32235 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32236
554881ef
UD
322372011-09-05 Ulrich Drepper <drepper@gmail.com>
32238
d96de963
UD
32239 [BZ #13134]
32240 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32241 before glibc 2.15.
32242 (tryshell): Define.
32243 (__spawni): Change last parameter to be flag. Test
32244 SPAWN_XFLAGS_USE_PATH flag to use path or not.
32245 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32246 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32247 * posix/spawni.c: Likewise.
32248 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32249 * posix/spawnp.c: Likewise. Change normal version to use
32250 SPAWN_XFLAGS_USE_PATH.
32251 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32252 SPAWN_XFLAGS_TRY_SHELL.
32253
d48e5868
UD
32254 [BZ #13150]
32255 * posix/glob.h: Remove gcc 1.x support.
32256
554881ef
UD
32257 [BZ #13068]
32258 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32259
693fb948
LD
322602011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32261
32262 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32263 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32264 strrchr-sse2-bsf
32265 * sysdeps/i386/i686/multiarch/strchr.S: New file.
32266 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32267 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32268 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32269 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32270 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32271
1b48c537
UD
322722011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32273
49d42c37
UD
32274 * sysdeps/x86_64/wcscmp.S: New file.
32275
1b48c537
UD
32276 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32277 wcscmp-c wcscmp-sse2
32278 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32279 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32280 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32281 * wcsmbs/wcscmp.c: Allow renaming.
32282
15c95c5d
DM
322832011-09-05 David S. Miller <davem@davemloft.net>
32284
32285 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32286 stack slot, rather than the struct return pointer slot.
32287 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32288 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32289 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32290 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32291
2f0ad8f3
UD
322922011-09-05 Ulrich Drepper <drepper@gmail.com>
32293
d88ae418
UD
32294 * po/ja.po: Update from translation team.
32295
2f0ad8f3
UD
32296 [BZ #13144]
32297 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32298 kernel in 64-bit binaries.
32299
5f4318d1
DM
323002011-09-01 David S. Miller <davem@davemloft.net>
32301
32302 * elf/elf.h (HWCAP_SPARC_*): Move to..
32303 * sysdeps/sparc/sysdep.h: this new file and add new values.
32304 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32305 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32306 _DL_HWCAP_COUNT to 24.
32307 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32308 entries.
32309 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32310 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32311 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32312 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32313 instead of magic constants.
32314 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32315
3ba57516
DM
323162011-08-31 David S. Miller <davem@davemloft.net>
32317
32318 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32319 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32320 Reimplement to do errno handling inline.
32321 (SYSCALL_ERROR_HANDLER): New macro.
32322 (__SYSCALL_STRING): Do not do errno handling in asm.
32323 (__CLONE_SYSCALL_STRING): Delete.
32324 (__INTERNAL_SYSCALL_STRING): Delete.
32325 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32326 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32327 (PSEUDO): Reimplement to do errno handling inline.
32328 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32329 (SYSCALL_ERROR_HANDLER): New macro.
32330 (__SYSCALL_STRING): Do not do errno handling in asm.
32331 (__CLONE_SYSCALL_STRING): Delete.
32332 (__INTERNAL_SYSCALL_STRING): Delete.
32333 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32334 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32335 i386.
32336 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32337 (inline_syscall*): Add 'err' argument.
32338 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32339 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32340 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32341 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32342
32343 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32344 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32345
2bc17433
AS
323462011-08-30 Andreas Schwab <schwab@redhat.com>
32347
32348 * elf/rtld.c (dl_main): Relocate objects in dependency order.
32349
fbeb5f4d
JO
323502011-08-29 Jiri Olsa <jolsa@redhat.com>
32351
32352 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32353 directive.
32354
ad69cc26
DM
323552011-08-24 David S. Miller <davem@davemloft.net>
32356
32357 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32358
39dd69df
AS
323592011-08-24 Andreas Schwab <schwab@redhat.com>
32360
32361 * elf/Makefile: Add rules to build and run unload8 test.
32362 * elf/unload8.c: New file.
32363 * elf/unload8mod1.c: New file.
32364 * elf/unload8mod1x.c: New file.
32365 * elf/unload8mod2.c: New file.
32366 * elf/unload8mod3.c: New file.
32367
32368 * elf/dl-close.c (_dl_close_worker): Reset private search list if
32369 it wasn't used.
32370
2c0b250a
DM
323712011-08-23 David S. Miller <davem@davemloft.net>
32372
32373 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32374 subtract stack bias.
32375 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32376 %sp not %fp in calculations.
32377 (_JMPBUF_UNWINDS_ADJ): Likewise.
32378
22044b48
DM
32379 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32380 (aio_suspend): Call it to force an exception region around the
32381 AIO_MISC_WAIT() invocation.
32382
2cae4995
AS
323832011-08-23 Andreas Schwab <schwab@redhat.com>
32384
32385 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32386 backslash.
32387
873a772e
AJ
323882011-07-04 Aurelien Jarno <aurelien@aurel32.net>
32389
32390 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32391 protection macro.
32392 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32393 and <dl-machine.h>.
32394 (Elf64_FuncDesc): Remove.
32395
25ad0df1
DM
323962011-08-22 David S. Miller <davem@davemloft.net>
32397
32398 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
32399 sigaltstack check, add missing cfi directives.
32400 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
32401 missing cfi directives, and sigaltstack handling.
32402
e888bcbe
AS
324032011-08-16 Andreas Schwab <schwab@redhat.com>
32404
32405 [BZ #11724]
32406 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
32407 object is seen twice.
32408 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32409
32410 * elf/Makefile (distribute): Add tst-initorder2.c.
32411 (tests): Add tst-initorder2.
32412 (modules-names): Add tst-initorder2a tst-initorder2b
32413 tst-initorder2c tst-initorder2d. Add rules to build them.
32414 ($(objpfx)tst-initorder2.out): New rule.
32415 * elf/tst-initorder2.c: New file.
32416 * elf/tst-initorder2.exp: New file.
32417
87162f46
AS
324182011-08-22 Andreas Schwab <schwab@redhat.com>
32419
70538b7f
AS
32420 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32421
f55ffe58
AS
32422 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32423 dependencies back to end of function.
32424
87162f46
AS
32425 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32426 $(elfobjdir)/ld.so.
32427
91b392a4
UD
324282011-08-21 Ulrich Drepper <drepper@gmail.com>
32429
32430 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32431 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32432 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32433 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32434 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32435 of __vdso_gettimeofday.
32436 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32437 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
32438 attribute_hidden.
32439 (_libc_vdso_platform_setup): Remove initialization of
32440 __vdso_gettimeofday and __vdso_time.
32441
5c43483f
UD
324422011-08-20 Ulrich Drepper <drepper@gmail.com>
32443
775a77e7
UD
32444 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32445 and fgetc_unlocked.
32446 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32447 getc_unlocked.
89f447ed 32448
49c74ba9
UD
32449 * elf/dl-open.c (add_to_global): Report additions to the global scope
32450 for LD_DEBUG=scopes.
32451 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 32452 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 32453
5c43483f
UD
32454 [BZ #13114]
32455 * stdio-common/Makefile (tests): Add bug24.
32456 * stdio-common/bug24.c: New file.
32457
a101b025
AJ
324582011-08-19 Andreas Jaeger <aj@suse.de>
32459
32460 [BZ #13114]
32461 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32462 non-existant file when using close-on-exec mode.
32463
c88f1766
UD
324642011-08-20 Ulrich Drepper <drepper@gmail.com>
32465
0276a718
UD
32466 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32467 the very first instruction.
32468
c88f1766
UD
32469 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32470 the CFI state in the end.
32471 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32472 inclusion of dl-trampoline.h.
32473 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32474
51ccffa0
AS
324752011-08-19 Andreas Schwab <schwab@redhat.com>
32476
94d7165f
AS
32477 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32478 expectations for long double.
32479
51ccffa0
AS
32480 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32481 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32482
fd708658 324832011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
32484
32485 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32486 artificual limit depends upon the system page size.
32487
44f0a71e
UD
324882011-08-17 Ulrich Drepper <drepper@gmail.com>
32489
32490 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32491 * resolv/Makefile: Define CFLAGS-libresolv.
32492
8de79a24
AS
324932011-08-17 Andreas Schwab <schwab@redhat.com>
32494
32495 * nss/makedb.c (compute_tables): Make variables used in nested
32496 function static.
32497
27724598
UD
324982011-08-17 Ulrich Drepper <drepper@gmail.com>
32499
c5305d88
UD
32500 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32501 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32502 if buffer was too small.
32503
27724598
UD
32504 * elf/pldd.c (main): Attach to all threads in the process.
32505 Rewrite /proc handling to use *at functions.
32506
076fe015
UD
325072011-08-16 Ulrich Drepper <drepper@gmail.com>
32508
174baab3
UD
32509 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32510 specifies first scope to show.
32511 (dl_open_worker): Update callers. Move printing scope of new
32512 object to before the relocation.
44f0a71e 32513 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
32514 * sysdeps/generic/ldsodefs.h: Update declaration.
32515
076fe015
UD
32516 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32517 string for the scope number.
32518
a60df2c3
UD
325192011-08-14 Ulrich Drepper <drepper@gmail.com>
32520
32521 * nscd/servicescache.c (cache_addserv): Make sure written is always
32522 initialized.
32523
5e4287d1
RM
325242011-08-14 Roland McGrath <roland@hack.frob.com>
32525
85ae0589
RM
32526 * sysdeps/i386/i486/bits/atomic.h
32527 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32528 statement expression, so as to suppress "set but not used" warning.
32529 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32530
69f63097
RM
32531 * string/strncat.c (STRNCAT): Use prototype definition.
32532
675456ef
RM
32533 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32534 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32535 -Iprograms here.
32536 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32537 (localedef-modules): Add localedef.
32538 (locale-modules): Add locale.
32539
5e4287d1
RM
32540 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32541 * elf/rtld.c (dl_main): Invert order of assignment in last change,
32542 to avoid a warning.
32543
9c96ff23
DM
325442011-08-14 David S. Miller <davem@davemloft.net>
32545
32546 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32547 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32548
f9ddf089
UD
325492011-08-13 Ulrich Drepper <drepper@gmail.com>
32550
44f0a71e 32551 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
32552 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32553 * elf/rtld.c (dl_main): Set l_name of vDSO.
32554 Call _dl_show_scope when DL_DEBUG_SCOPES.
32555 (process_dl_debug): Recognize scopes flag and also set it for all.
32556 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32557 Declare _dl_show_scope.
32558
1dc27704
UD
32559 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32560 (do_dlopen): Pass caller_dlopen to dl_open.
32561 (__libc_dlopen_mode): Initialize caller_dlopen.
32562
f9ddf089
UD
32563 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32564 of libc. Make tolower call locale-independent. Optimize a bit by
32565 using isdigit instead of isalnum.
32566 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32567
9ac533d3
UD
325682011-08-12 Ulrich Drepper <drepper@gmail.com>
32569
32570 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32571 was a dependency or dynamically loaded.
32572
89edf2e9
UD
325732011-08-11 Ulrich Drepper <drepper@gmail.com>
32574
8e999d29
UD
32575 * intl/l10nflist.c: Allow architecture-specific pop function.
32576 * sysdeps/x86_64/l10nflist.c: New file.
32577
89edf2e9
UD
32578 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32579 classification.
32580
14d96785
AS
325812011-08-10 Andreas Schwab <schwab@redhat.com>
32582
32583 * include/dirent.h: Add libc_hidden_proto for scandirat and
32584 scandirat64. Don't declare __scandirat64.
32585 * dirent/scandirat.c: Add libc_hidden_def.
32586 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32587 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32588
6761ac04
DM
325892011-08-10 David S. Miller <davem@davemloft.net>
32590
32591 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32592 enum.
32593 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32594 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32595 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32596
c55fbd1e
UD
325972011-08-09 Ulrich Drepper <drepper@gmail.com>
32598
32599 * Versions.def [libc]: Add GLIBC_2.15.
32600 * dirent/Makefile (routines): Add scandirat and scandirat64.
32601 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32602 GLIBC_2.15.
32603 * dirent/dirent.h: Declare scandirat and scandirat64.
32604 * dirent/scandirat.c: New file.
32605 * dirent/scandirat64.c: New file.
32606 * sysdeps/wordsize-64/scandirat.c: New file.
32607 * sysdeps/wordsize-64/scandirat64.c: New file.
32608 * dirent/opendir.c: Define opendirat.
32609 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32610 using scandirat.
32611 * dirent/scandir64.c: Adjust for scandir.c change.
32612 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32613 __scandirat64, and __scandir_cancel_handler.
32614 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32615 additional parameter and use openat instead of open (outside of ld.so).
32616 Add new __opendir as wrapper around __opendirat.
32617 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32618 here without requiring old scandirat implementation.
32619
879165f2
UD
326202011-08-08 Ulrich Drepper <drepper@gmail.com>
32621
32622 * dirent/scandir.c (cancel_handler): Renamed to
32623 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32624 defined. Adjust users.
32625 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32626 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32627
cb7e923b
UD
326282011-08-04 Ulrich Drepper <drepper@gmail.com>
32629
16292edd
UD
32630 * string/test-string.h (IMPL): Use __STRING to expand name and then
32631 stringify it.
32632
cb7e923b
UD
32633 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32634 of cleanups.
32635
cff82933
LD
326362011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32637
32638 * string/Makefile: Update.
32639 (strop-tests): Append strncat.
32640 * string/test-wcscmp.c: New file.
32641 New comprehensive test for wcscmp.
32642 * string/test-strcmp.c: Update.
32643 (WIDE): New define.
32644
9be9bfcc
AS
326452011-07-22 Andreas Schwab <schwab@redhat.com>
32646
32647 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32648 line.
32649
2e96f1c7
AS
326502011-07-26 Andreas Schwab <schwab@redhat.com>
32651
32652 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32653 encoding to ACE if AI_IDN.
32654
85188888
JJ
326552011-08-01 Jakub Jelinek <jakub@redhat.com>
32656
32657 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32658 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32659
5fa16e9b
LD
326602011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32661
32662 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32663 Fix overflow bug in strncat.
32664 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32665
32666 * string/test-strncat.c: Update.
32667 Add new tests for checking overflow bugs.
32668
326692011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32670
32671 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32672 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32673 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32674 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32675 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32676 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32677 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32678 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32679 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32680
32681 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32682 (USE_AS_STRCAT): Define.
32683 Add strcat and strncat support.
32684 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32685
8c1a459f
AS
326862011-07-25 Andreas Schwab <schwab@redhat.com>
32687
32688 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32689 __n bigger than INT_MAX+1.
32690 (__strncmp_g): Likewise.
32691
bba33c28
UD
326922011-07-23 Ulrich Drepper <drepper@gmail.com>
32693
798be72d
UD
32694 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32695 * libio/stido.h: Likewise.
32696
8accd4dc
UD
32697 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32698 (AF_NFC): Define.
32699 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32700 (AF_NFC): Define.
32701
cbff0d96
UD
32702 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32703 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32704 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32705 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32706 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32707
9191c04a
UD
32708 [BZ #13021]
32709 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32710 installed.
32711
bba33c28
UD
32712 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32713 typo.
32714 (_dl_x86_64_save_sse): Likewise.
32715
90f139dd
UD
327162011-07-22 Ulrich Drepper <drepper@gmail.com>
32717
1aae088a
UD
32718 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32719 OSXSAVE.
32720 (_dl_x86_64_save_sse): Likewise.
32721
8e2045f5
UD
32722 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32723
90f139dd
UD
32724 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32725
1d002f25
AS
327262011-07-21 Andreas Schwab <schwab@redhat.com>
32727
32728 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32729 change.
32730 (_dl_x86_64_save_sse): Use correct AVX check.
32731
21137f89
UD
327322011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32733
32734 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32735 bug in strncpy/strncat.
32736 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32737
a65c0b7a
UD
327382011-07-21 Ulrich Drepper <drepper@gmail.com>
32739
32740 * string/tester.c (test_strcat): Add tests for different alignments
32741 of source and destination.
32742 (test_strncat): Likewise.
32743
6986b98a
UD
327442011-07-20 Ulrich Drepper <drepper@gmail.com>
32745
90bb2039
UD
32746 [BZ #12852]
32747 * posix/glob.c (glob): Check passed in values before using them in
32748 expressions to avoid some overflows.
32749 (glob_in_dir): Likewise.
32750
5644ef54
UD
32751 [BZ #13007]
32752 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32753 check for AVX enablement so that we don't crash with old kernels and
32754 new hardware.
32755 * elf/tst-audit4.c: Add same checks here.
32756 * elf/tst-audit6.c: Likewise.
32757
32758 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 32759
bfc9dc9b
AS
327602011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32761
32762 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32763
702e64bb
UD
327642011-07-20 Ulrich Drepper <drepper@gmail.com>
32765
32766 * po/cs.po: Update from translation team.
32767 * po/bg.po: Likewise.
32768
295e904f
MP
327692011-07-12 Marek Polacek <mpolacek@redhat.com>
32770
32771 * misc/sys/cdefs.h: Add support for const attribute.
32772 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32773 to gnu_dev_{major,minor,makedev} functions.
32774
3ff94596
MP
327752011-07-20 Marek Polacek <mpolacek@redhat.com>
32776
32777 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32778
28b59fca
AS
327792011-07-20 Andreas Schwab <schwab@redhat.com>
32780
32781 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32782 strlen results.
32783
19df733e
AK
327842011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32785
32786 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32787 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32788 register in order to avoid conflicts with the soft frame pointer
32789 being held in r11 when necessary.
32790 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32791 (INTERNAL_VSYSCALL_NCS): Likewise.
32792
c8835729
MP
327932011-07-14 Marek Polacek <mpolacek@redhat.com>
32794
32795 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32796 * elf/dl-fini.c (_dl_fini): Adjust caller.
32797 * elf/dl-close.c (_dl_close_worker): Likewise.
32798 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32799
b902330c
MP
328002011-07-15 Marek Polacek <mpolacek@redhat.com>
32801
8991e135
MP
32802 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32803 "aux_cache->nlibs < 0".
32804
b902330c
MP
32805 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32806 in the reload-count case.
32807
99710781
LD
328082011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32809
32810 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32811 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32812 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32813 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32814 * sysdeps/x86_64/multiarch/strcat.S: New file.
32815 * sysdeps/x86_64/multiarch/strncat.S: New file.
32816 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32817 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32818 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32819 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32820 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32821 (USE_AS_STRCAT): Define.
32822 Add strcat and strncat support.
32823 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32824 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32825 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32826 * string/strncat.c: Update.
32827 (USE_AS_STRNCAT): Define.
32828 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32829 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32830 and i7.
32831 * sysdeps/x86_64/multiarch/init-arch.h
32832 (bit_Prefer_PMINUB_for_stringop): New.
32833 (index_Prefer_PMINUB_for_stringop): Likewise.
32834 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32835 bit_Prefer_PMINUB_for_stringop.
32836
7dc6bd90
UD
328372011-07-19 Ulrich Drepper <drepper@gmail.com>
32838
32839 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32840 buffer64.
32841 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32842 of casting of buffer.
32843 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32844 buffer32 and buffer64.
32845 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32846 writes instead of casting of buffer.
32847 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32848 buffer32.
32849 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32850 casting of buffer.
32851
e0e72284
AS
328522011-07-19 Andreas Schwab <schwab@redhat.com>
32853
32854 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32855
feb1eb0b
UD
328562011-07-19 Ulrich Drepper <drepper@gmail.com>
32857
32858 * nscd/nscd.c (termination_handler): Don't do anything for a database
32859 if it has not yet been initialized.
32860
298711ff
UD
328612011-07-18 Ulrich Drepper <drepper@gmail.com>
32862
32863 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32864
328652011-07-15 Marek Polacek <mpolacek@redhat.com>
32866
32867 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32868
f9d68389
UD
328692011-07-18 Ulrich Drepper <drepper@gmail.com>
32870
32871 * po/nl.po: Update from translation team.
32872 * po/sv.po: Likewise.
32873
db290cf5
RM
328742011-07-16 Roland McGrath <roland@hack.frob.com>
32875
32876 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32877 now disallowed by GCC.
5c550700 32878
fd5e21c7
RM
32879 * configure.in (use-default-link): Default to yes if a test -shared
32880 link meets our qualifications.
32881 * configure: Regenerated.
32882
5c550700
RM
32883 * config.make.in (output-format): New variable.
32884 * configure.in: Check for ld --print-output-format support.
32885 * configure: Regenerated.
32886 * Makerules ($(common-objpfx)format.lds)
32887 [$(output-format) != unknown]: Just use $(output-format),
32888 instead of the linker-script munging.
32889
9fa2c032
RM
328902011-07-14 Roland McGrath <roland@hack.frob.com>
32891
a6928d51
RM
32892 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32893 of $(common-objpfx)shlib.lds.
32894 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32895
661607b3
RM
32896 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32897 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32898
9fa2c032
RM
32899 * configure.in (-z relro check): Adjust test code to add a large
32900 writable data section after it.
32901 * configure: Regenerated.
32902
defe9061
RM
329032011-07-11 Roland McGrath <roland@hack.frob.com>
32904
32905 * configure.in (-z relro check): Fix test code to make the variable
32906 truly const.
32907 * configure: Regenerated.
32908
319b9ad4
UD
329092011-07-11 Ulrich Drepper <drepper@gmail.com>
32910
32911 * nscd/nscd.h (struct traced_file): Define.
32912 (struct database_dyn): Remove inotify_descr, reset_res, and filename
32913 elements. Add traced_files.
32914 (inotify_fd): Declare.
32915 (register_traced_file): Declare.
32916 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32917 (inotify_fd): Export.
32918 (resolv_conf_descr): Remove.
32919 (nscd_init): Move inotify descriptor creation to main.
32920 Don't register files for notification here.
32921 (register_traced_file): New function.
32922 (invalidate_cache): Don't use reset_res to determine whether to call
32923 res_init, go through the list of registered files.
32924 (main_loop_poll): The inotify descriptors are now stored in the
32925 structures for the traced files.
32926 (main_loop_epoll): Likewise
32927 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
32928 to __nss_disable_nscd.
32929 * nscd/cache.c (prune_cache): There is no single inotify descriptor
32930 for a database anymore. Check the records for all the registered
32931 files instead.
32932 * nss/Makefile (libnss_files-routines): Add files-init.
32933 (libnss_db-routines): Add db-init.
32934 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32935 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32936 * nss/nss_db/db-init.c: New file.
32937 * nss/nss_files/files-init.c: New file.
32938 * nss/nsswitch.c (nss_load_library): New function. Broken out of
32939 __nss_lookup_function.
32940 (__nss_lookup_function): Call nss_load_library.
32941 (nss_load_all_libraries): New function.
32942 (__nss_disable_nscd): Take parameter with callback function for files
32943 to register. Set is_nscd. Load all the DSOs for the NSS modules
32944 used for the cached services.
32945 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32946 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32947 options for features to all the files in nscd.
32948
32949 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32950
23bee3e8
RM
329512011-07-10 Roland McGrath <roland@hack.frob.com>
32952
32953 * csu/elf-init.c (__libc_csu_init): Comment typo.
32954
46a5b7f0
UD
329552011-07-09 Ulrich Drepper <drepper@gmail.com>
32956
32957 * po/pl.po: Update from translation team.
32958 * po/ja.po: Likewise.
32959 * po/ru.po: Likewise.
32960 * po/ko.po: Likewise.
32961 * po/fr.po: Likewise.
32962
d30cf5bb
RM
329632011-07-09 Roland McGrath <roland@hack.frob.com>
32964
113ddea4
RM
32965 * configure.in (.ctors/.dtors header and trailer check):
32966 Use an empirical test on a built program.
32967 * configure: Regenerated.
32968
574920b4
RM
32969 * configure.in (-z relro check): Use an empirical test on a built DSO.
32970 Detect, but do not require, on ia64.
32971 * configure: Regenerated.
32972
d30cf5bb
RM
32973 * configure.in (READELF): Find it with AC_CHECK_TOOL.
32974 Update tests that use readelf to use $READELF instead.
32975 * configure: Regenerated.
32976
8538fdb3
UD
329772011-07-08 Ulrich Drepper <drepper@gmail.com>
32978
32979 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
32980 if the result is not used.
32981
04d08991
AJ
329822011-07-05 Andreas Jaeger <aj@suse.de>
32983
32984 [BZ#9696]
32985 * stdlib/tst-strtod.c: Add testcase.
32986
de283087
AD
329872011-07-07 Ulrich Drepper <drepper@gmail.com>
32988
4e5f31c8 32989 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 32990 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
32991 The latter has a higher limit. Take additional parameter to pass to
32992 the new function.
32993 (__pathconf): Pass file to __statfs_link_max.
32994 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
32995 __statfs_link_max.
32996 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
32997 __statfs_link_max.
32998
de283087
AD
32999 [BZ #12868]
33000 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33001 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33002 Handle Lustre.
33003 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33004 (__statfs_filesize_max): Likewise.
33005 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33006
c75fa153
AJ
330072011-07-05 Andreas Jaeger <aj@suse.de>
33008
33009 * resolv/res_comp.c (dn_skipname): Remove unused variable.
33010
1a544854
UD
330112011-07-06 Marek Polacek <mpolacek@redhat.com>
33012
33013 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33014 `status' variable.
33015 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33016 Likewise.
33017
6f0eec67
UD
330182011-07-04 H.J. Lu <hongjiu.lu@intel.com>
33019
33020 * Makefile (strop-tests): Add strncat.
33021 * string/test-strncat.c: New file.
33022
aae30307
UD
330232011-06-30 Marek Polacek <mpolacek@redhat.com>
33024
33025 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33026
c0cfb5eb
UD
330272011-06-21 Andreas Jaeger <aj@suse.de>
33028
33029 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33030 Copy rule from iconvdata/Makefile.
33031
01636b21
UD
330322011-07-06 Ulrich Drepper <drepper@gmail.com>
33033
33034 [BZ #12922]
33035 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33036 but no long options are defined, just return 'W'.
33037
9895c8bc
UD
330382011-06-22 Marek Polacek <mpolacek@redhat.com>
33039
33040 [BZ #9696]
33041 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33042
5d4cf042
UD
330432011-07-06 Ulrich Drepper <drepper@gmail.com>
33044
33045 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33046 netgroups to read.
960e5535 33047 (innetgr): Likewise.
5d4cf042 33048
751eb97e
RM
330492011-07-05 Roland McGrath <roland@hack.frob.com>
33050
33051 * config.make.in (install_root): Default to $(DESTDIR).
33052
f15f1e45
UD
330532011-07-05 Ulrich Drepper <drepper@gmail.com>
33054
33055 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33056
4e34ac6a
RM
330572011-07-02 Roland McGrath <roland@hack.frob.com>
33058
5e9b6af4
RM
33059 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33060
84f9ea0f
RM
33061 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33062 containing directory rather than embedding absolute directory names.
33063
ea5ee9f7
RM
33064 * scripts/check-local-headers.sh: Rewritten using awk.
33065 Match by word, not by line. Print error messages for matches.
33066 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33067
1b74661a
RM
33068 * Makerules [shlib-lds-flags empty]:
33069 ($(common-objpfx)libc_pic.opts): New target.
33070 ($(common-objpfx)libc_pic.os.clean): New target.
33071 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33072
33073 * config.make.in (OBJCOPY): New variable.
33074 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33075 * configure: Regenerated.
33076
f781ef40
RM
33077 * config.make.in (use-default-link): New variable.
33078 * configure.in (use_default_link): Grok --with-default-link to set it.
33079 * configure: Regenerated.
33080 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33081 (shlib-lds, shlib-lds-flags): Define to empty.
33082
2d4fa81e
RM
33083 * Makerules (shlib-lds): New variable.
33084 (shlib-lds-flags): New variable.
33085 (build-shlib, build-moduile, build-module-asneeded): Use it.
33086 ($(common-objpfx)libc.so): Use $(shlib-lds).
33087 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33088 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33089
31fffa6b
RM
33090 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33091 DT_FLAGS/DT_FLAGS_1 with zero flags.
33092
4e34ac6a
RM
33093 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33094 linker script munging.
33095
fcfc776b
UD
330962011-07-02 Ulrich Drepper <drepper@gmail.com>
33097
33098 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33099 as 128-bit value.
33100 * crypt/sha512.c (sha512_process_block): Perform total addition using
33101 128-bit if possible.
33102 (__sha512_finish_ctx): Likewise.
33103 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33104 as 64-bit value.
33105 * crypt/sha256.c (SWAP64): Define.
33106 (sha256_process_block): Perform total addition using 64-bit if
33107 possible.
33108 (__sha256_finish_ctx): Likewise.
33109
99231d9a
UD
331102011-07-01 Ulrich Drepper <drepper@gmail.com>
33111
33112 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
33113 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33114 * nscd/hstcache.c (cache_addhst): Likewise.
33115 * nscd/grpcache.c (cache_addgr): Likewise.
33116 * nscd/aicache.c (addhstaiX): Likewise
33117 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33118
445b4a53
TK
331192011-07-01 Thorsten Kukuk <kukuk@suse.de>
33120
33121 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33122 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33123 * nscd/hstcache.c (cache_addhst): Likewise.
33124 * nscd/grpcache.c (cache_addgr): Likewise.
33125 * nscd/aicache.c (addhstaiX): Likewise
33126
6d4d8e8e
AS
331272011-07-01 Andreas Schwab <schwab@redhat.com>
33128
33129 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33130 domain only when needed.
33131
89f654c5
AS
331322011-06-30 Andreas Schwab <schwab@redhat.com>
33133
33134 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33135 is always restored.
33136
cf3b23ff
UD
331372011-06-29 Ulrich Drepper <drepper@gmail.com>
33138
33139 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33140 are re-adding the entry.
33141 * nscd/servicescache.c (cache_addserv): Likewise.
33142
751626f9
AJ
331432011-06-30 Aurelien Jarno <aurelien@aurel32.net>
33144
33145 * sysdeps/generic/dl-irel.h: fix protection against multiple
33146 inclusions.
33147 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33148
9113ea1f
UD
331492011-06-28 Ulrich Drepper <drepper@gmail.com>
33150
5c0b8d90
UD
33151 [BZ #12935]
33152 * malloc/memusage.sh: Fix quoting in message.
33153 * debug/xtrace.sh: Likewise.
33154
9113ea1f
UD
33155 * configure.in: Remove support for --experimental-malloc option, make
33156 it the default.
33157 * config.make.in: Likewise.
33158 * malloc/Makefile: Likewise.
33159
a4172181
AS
331602011-06-27 Andreas Schwab <schwab@redhat.com>
33161
33162 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33163 two-byte characters.
33164
78a7eee7
RM
331652011-06-27 Roland McGrath <roland@hack.frob.com>
33166
62bede13
RM
33167 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33168 AC_CACHE_CHECK invocation.
33169 * configure: Regenerated.
33170
78a7eee7
RM
33171 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33172
5ce33a62
UD
331732011-06-27 Ulrich Drepper <drepper@gmail.com>
33174
034807a9
UD
33175 [BZ #12350]
33176 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
33177 bit from old_res_options.
33178
4902da17
UD
33179 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33180
5ce33a62
UD
33181 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33182 value type for setfct.
33183
c2344f56
L
331842011-06-23 H.J. Lu <hongjiu.lu@intel.com>
33185
33186 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33187 __gettimeofday instead of gettimeofday.
33188
68468076
UD
331892011-06-26 Ulrich Drepper <drepper@gmail.com>
33190
33191 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33192
acb0d739
L
331932011-06-24 H.J. Lu <hongjiu.lu@intel.com>
33194
33195 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33196
33197 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33198 info.
33199
8912479f
L
332002011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33201
33202 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33203 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33204 strcpy-sse2-unaligned strncpy-sse2-unaligned
33205 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33206 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33207 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33208 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33209 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33210 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33211 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33212 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33213 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33214 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33215 (STRCPY): Support SSE2 and SSSE3 versions.
33216
d5495a11
UD
332172011-06-24 Ulrich Drepper <drepper@gmail.com>
33218
33219 [BZ #12874]
33220 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33221 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33222 kernels which artificially limit size of requests.
33223
0b1cbaae
L
332242011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33225
33226 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33227 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33228 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33229 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33230 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33231 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33232 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33233 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33234 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33235 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33236 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33237 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33238 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33239 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33240 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33241 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33242 Enable unaligned load optimization for Intel Core i3, i5 and i7
33243 processors.
33244 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33245 Define.
33246 (index_Fast_Unaligned_Load): Define.
33247 (HAS_FAST_UNALIGNED_LOAD): Define.
33248
07f494a0
MP
332492011-06-23 Marek Polacek <mpolacek@redhat.com>
33250
33251 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33252
fa3fc0fe
UD
332532011-06-22 Ulrich Drepper <drepper@gmail.com>
33254
33255 [BZ #12907]
33256 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33257 until it is clear that the information is realy needed.
33258 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33259
e12df166
AS
332602011-06-22 Andreas Schwab <schwab@redhat.com>
33261
33262 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33263
852eb34d
UD
332642011-06-22 Ulrich Drepper <drepper@gmail.com>
33265
84e2a551
UD
33266 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33267 /sys/devices/system/cpu/online if it is usable.
33268
852eb34d
UD
33269 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33270 reading the information from the /proc filesystem to once a second.
33271
6e502e19
UD
332722011-06-21 Andreas Jaeger <aj@suse.de>
33273
33274 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33275 NULL after inclusion of kernel headers.
33276
75d39ff2
UD
332772011-06-21 Ulrich Drepper <drepper@gmail.com>
33278
51f9aa6a
UD
33279 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33280 calls to internal_setent.
33281
c0244a9d
UD
33282 [BZ #12885]
33283 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33284 addresses using gethostbyname4_r ignore IPv4 addresses.
33285
c5e3c2ae
UD
33286 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33287 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
33288
75d39ff2
UD
33289 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33290
42675c6f
DM
332912011-06-20 David S. Miller <davem@davemloft.net>
33292
33293 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33294 inclusions.
33295 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33296
33297 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33298 (elf_irel): Use it.
33299 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33300 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33301 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33302 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33303 * sysdeps/x86_64/dl-irel.h: Likewise.
33304
33305 * elf/dl-runtime.c: Use elf_ifunc_invoke.
33306 * elf/dl-sym.c: Likewise.
33307
57912a71
UD
333082011-06-15 Ulrich Drepper <drepper@gmail.com>
33309
33310 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
33311 need to dereference resplen2.
33312
ee22793d
AS
333132011-06-14 Andreas Schwab <schwab@redhat.com>
33314
33315 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33316
a9e836b0
UD
333172011-06-15 Ulrich Drepper <drepper@gmail.com>
33318
77fb9117
UD
33319 * Makeconfig: Define vardbdir and inst_vardbdir.
33320 * nss/Makefile: Add rules to install db-Makefile.
33321
40c1b22c
UD
33322 * nss/nss_db/db-XXX.c: Cleanup.
33323
9f2da732
UD
33324 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33325 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33326 GLIBC_PRIVATE.
33327 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33328 * nss/makedb.c: Implement -g option to specify that value strings
33329 are generated and should not be added to table iterated over for
33330 get*ent calls.
33331 * nss/nss_db/db-initgroups.c: New file.
33332
82e9a1f7
UD
33333 * nss/getent.c: Add support for initgroups lookups through getgrouplist
33334 interface.
33335
c41af17e
UD
33336 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33337 (internal_getgrouplist): Adjust to name change.
33338 Update use_initgroups_entry if this is not the first call.
33339 * nss/databases.def: Add initgroups entry.
33340
a9e836b0
UD
33341 * nss/makedb.c (compute_tables): Check result of multiple hash table
33342 sizes to minimize maximum chain length.
33343
2666d441
UD
333442011-06-14 Ulrich Drepper <drepper@gmail.com>
33345
33346 * Versions.def: Add entry for libnss_db.
33347 * shlib-versions: Likewise.
33348 * nss/Makefile: Add rules to build libnss_db.
33349 * nss/Versions: Add libnss_db information. Organize libnss_files
33350 entries better.
33351 * nss/db-Makefile: Add gshadow support. Change rules for the new
33352 makedb progra. Some minor improvements to generate smaller files.
33353 * nss/nss_db/nss_db.h: Move NSS database header data structures to
33354 here from...
33355 * nss/makedb.c: ...here.
33356 Improve database format to be smaller and require less memory at
33357 runtime.
33358 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
33359 db anymore.
33360 * nss/nss_db/db-netgrp.c: Likewise.
33361 * nss/nss_db/db-open.c: Likewise.
33362 * nss/nss_files/flies-XXX.x: Adjust comments.
33363 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33364 * nss/nss_files/files-grp.c: Likewise.
33365 * nss/nss_files/files-hosts.c: Likewise.
33366 * nss/nss_files/files-network.c: Likewise.
33367 * nss/nss_files/files-proto.c: Likewise.
33368 * nss/nss_files/files-pwd.c: Likewise.
33369 * nss/nss_files/files-rpc.c: Likewise.
33370 * nss/nss_files/files-service.c: Likewise.
33371 * nss/nss_files/files-sgrp.c: Likewise.
33372 * nss/nss_files/files-spwd.c: Likewise.
33373 * nss/nss_db/db-alias.c: Removed.
33374 * nss/nss_db/dummy-db.h: Removed.
33375
9ee76b5a
UD
333762011-06-02 Ulrich Drepper <drepper@gmail.com>
33377
33378 * nss/makedb.c: Rewritten to not use database library.
33379 * nss/Makefile: Update to build new makedb program.
33380
c71ca1f8
AJ
333812011-06-14 Andreas Jaeger <aj@suse.de>
33382
33383 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33384 memset declaration.
33385
3154bfb8
UD
333862011-06-10 Andreas Schwab <schwab@redhat.com>
33387
33388 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33389 tmpbuf.
33390
b350afab
RM
333912011-06-10 Roland McGrath <roland@hack.frob.com>
33392
decd4e50
RM
33393 * Makerules (shlib.lds): Fail if the linker script comes out empty.
33394 * elf/Makefile ($(objpfx)ld.so): Likewise.
33395
5615eaf2
RM
33396 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33397 Don't list ld.so twice in dependencies.
33398
33399 * posix/bug-regex31.c: Include <stdlib.h>.
33400
33401 * nscd/hstcache.c (cache_addhst): Remove unused variable.
33402
33403 * nis/nss_compat/compat-spwd.c
33404 (getspent_next_nss_netgr): Remove unused variable.
33405 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
33406
33407 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33408 nonmembers" output to use the right array.
33409
33410 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33411
33412 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
33413
33414 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
33415 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
33416 * catgets/gencat.c (read_input_file): Likewise.
33417 * locale/programs/locarchive.c (enlarge_archive): Likewise.
33418
33419 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33420 variable definition inside #if's controlling its use.
33421
33422 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33423
33424 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33425
33426 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33427
33428 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33429 unreachable code.
33430
33431 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33432
b68e08db
RM
33433 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33434 * configure: Regenerated.
33435
b350afab
RM
33436 * Makerules: Revert last change.
33437 * elf/Makefile: Likewise.
33438
28368601
RM
334392011-06-09 Roland McGrath <roland@hack.frob.com>
33440
33441 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33442 * elf/Makefile ($(objpfx)librtld.os): Likewise.
33443 (reloc-link): Likewise.
33444
11988f8f
UD
334452011-06-09 Ulrich Drepper <drepper@gmail.com>
33446
33447 * elf/Makefile: Add rules to build pldd.
33448 * elf/pldd.c: New file.
33449 * elf/pldd-xx.c: New file.
33450
e80fab37
UD
334512011-06-07 Ulrich Drepper <drepper@gmail.com>
33452
33453 * version.h: Update for 2.15 development version.
33454
9b849836
DM
334552011-06-07 David S. Miller <davem@davemloft.net>
33456
33457 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33458 ifuncs.
33459 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33460 elf_machine_lazy_rel): Likewise.
33461 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33462 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33463 elf_machine_lazy_rel): Likewise.
33464 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33465 dl_hwcap via passed in argument.
33466 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33467 Likewise.
33468
5a31b283
AK
334692011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33470
33471 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
33472
069e52f8
RM
334732011-06-06 Roland McGrath <roland@hack.frob.com>
33474
33475 [BZ #12849]
33476 * manual/fdl-1.1.texi: New file, verbatim from:
33477 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33478 * manual/lgpl-2.1.texi: New file, verbatim from:
33479 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33480 * manual/Makefile (licenses): New variable, list those new file names.
33481 (texis): Use it.
33482 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33483
33484 * manual/fdl.texi: File removed.
33485 * manual/lesser.texi: File removed.
33486 * manual/libc.texinfo (Copying, Documentation License):
33487 Use new @include file names, put @appendix directive before @include.
33488
f16846a5
JJ
334892011-06-04 Jakub Jelinek <jakub@redhat.com>
33490
33491 [BZ #12841]
33492 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33493 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33494 (mq_open): Add __NTH.
33495
3d29045b
L
334962011-06-02 H.J. Lu <hongjiu.lu@intel.com>
33497
33498 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33499 Assume Intel Core i3/i5/i7 processor if AVX is available.
33500
8c297311
UD
335012011-05-31 Ulrich Drepper <drepper@gmail.com>
33502
33503 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33504 typo.
33505
c8fc0c91
UD
335062011-05-31 Andreas Schwab <schwab@redhat.com>
33507
33508 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33509 memory. Use alloca_account. Fix memory leak when retrying.
33510
5b27a807
UD
335112011-05-31 Ulrich Drepper <drepper@gmail.com>
33512
356f8bc6
UD
33513 * version.h (RELEASE): Bump for 2.14 release.
33514 * include/features.h (__GLIBC_MINOR__): Bump to 14.
33515
5b27a807
UD
33516 * config.make.in (RANLIB): Remove entry.
33517
01f16ab0
UD
335182011-05-30 Ulrich Drepper <drepper@gmail.com>
33519
41fce8bd
UD
33520 * po/Makefile (po-sed-cmd): Add ksh to extensions.
33521 (libc.pot): Work around missing support for .ksh extension in xgettext.
33522
4769ae77
UD
33523 [BZ #12684]
33524 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33525 if both request failed.
33526 (send_dg): In case of server errors clear resplen or *resplen2.
33527
6b1e7d19
UD
33528 [BZ #12454]
33529 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33530 when there are multiple maps.
33531 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33532 (_dl_fini): Remove test here.
33533
01f16ab0
UD
33534 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33535
b1ebd700
UD
335362011-05-29 Ulrich Drepper <drepper@gmail.com>
33537
7ae22829
UD
33538 [BZ #12350]
33539 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33540 bit from old_res_options.
33541 (gaih_inet): Likewise.
33542
553149f6 33543 [BZ #11099]
18a84741 33544 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
33545 as signed.
33546
652ffab1
UD
33547 * resolv/res_init.c (res_setoptions): Make the code more compact.
33548
16985fd0
UD
33549 [BZ #11558]
33550 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33551 set RES_USEVC.
33552
0464f746
UD
33553 [BZ #11634]
33554 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33555
7d17596c
UD
33556 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33557
cf6bbbd7
UD
33558 [BZ #11781]
33559 * malloc/malloc.h: Declare malloc hook variables as volatile.
33560
13f1ab36
UD
33561 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33562 in last patch.
33563
b1ebd700
UD
33564 [BZ #11799]
33565 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 33566 raise in the comment.
80e2212d
UD
33567 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33568 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33569 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 33570
ce67228d
UD
335712011-05-28 Ulrich Drepper <drepper@gmail.com>
33572
8887a920
UD
33573 [BZ #12811]
33574 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33575 grow the buffers more if it already has to be sufficient.
33576 (build_wcs_upper_buffer): Likewise.
33577 * posix/regexec.c (check_matching): Likewise.
33578 (clean_state_log_if_needed): Likewise.
33579 (extend_buffers): Don't enlarge buffers beyond size of the input
33580 buffer.
33581 Patches mostly by Emil Wojak <emil@wojak.eu>.
33582 * posix/bug-regex32.c: New file.
33583 * posix/Makefile (tests): Add bug-regex32.
33584
4f031072
UD
33585 * locale/findlocale.c (_nl_find_locale): Return right away if
33586 _nl_explode_name failed.
33587 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33588
d0478f0c
UD
33589 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33590
de81b246
UD
33591 * debug/xtrace.sh: Unify messages.
33592 * malloc/memusage.sh: Likewise.
33593
c738465a
UD
33594 [BZ #12813]
33595 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33596 time symbol from vDSO. Substitute with vsyscall if not available.
33597 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33598 __vdso_time.
33599
f1f929d7
UD
33600 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33601 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33602 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33603 Add sendmmsg and internal_sendmmsg.
33604 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33605 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33606 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33607
ce67228d
UD
33608 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33609 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33610 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33611
e57420c6
UD
336122011-05-27 Ulrich Drepper <drepper@gmail.com>
33613
a8509ca5
UD
33614 [BZ #12813]
33615 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33616 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33617 available.
33618 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33619 __vdso_getcpu.
33620
e57420c6
UD
33621 [BZ #12814]
33622 * iconvdata/Makefile (tests): Add bug-iconv9.
33623 * iconvdata/bug-iconv9.c: New file.
33624
4d07db15
AS
336252011-05-27 Andreas Schwab <schwab@redhat.com>
33626
33627 [BZ #12814]
33628 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33629
ea486f69
JJ
336302011-05-25 Jakub Jelinek <jakub@redhat.com>
33631
33632 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33633 (struct user_regs_struct): Change intcs field back to cs.
33634
6f038433
UD
336352011-05-25 Ulrich Drepper <drepper@gmail.com>
33636
33637 * po/ja.po: Update from translation team.
33638
67f86a25
UD
336392011-05-23 Ulrich Drepper <drepper@gmail.com>
33640
33641 [BZ #12795]
33642 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33643 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33644
def7fbd6
AS
336452011-05-20 Andreas Schwab <schwab@redhat.com>
33646
33647 * stdlib/longlong.h: Update from GCC.
33648
f50ef8f1
AS
336492011-05-23 Andreas Schwab <schwab@redhat.com>
33650
33651 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33652 parameter name.
33653 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33654 Add parameter name.
33655 (__sysconf): Pass it down.
33656
de7ce8f1
UD
336572011-05-22 Ulrich Drepper <drepper@gmail.com>
33658
f2962a71
UD
33659 [BZ #12671]
33660 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33661 some situations.
33662 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33663 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33664 add in in __libc_use_alloca calls. Adjust callers.
33665 (glob): Use malloc in some situations.
33666
de7ce8f1
UD
33667 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33668 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33669 pltexit.
33670
aec84f53
UD
336712011-05-21 Ulrich Drepper <drepper@gmail.com>
33672
05bb4a68
UD
33673 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33674 and CLOCK_BOOTTIME_ALARM.
33675
7ea72f99
UD
33676 [BZ #12782]
33677 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33678 is returned.
33679
7e4afad5
UD
33680 * string/_strerror.c (__strerror_r): Print negative errors as signed
33681 numbers.
33682
8e211fec
UD
33683 [BZ #12777]
33684 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33685 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33686 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33687
f7d82dc9
UD
33688 * configure.in: Fix typo in redirection and correct removal of test
33689 files in two cases.
33690
cc9e536d
UD
33691 [BZ #12788]
33692 * locale/setlocale.c (new_composite_name): Fix test to check for
33693 identical name of all categories.
33694
aec84f53
UD
33695 [BZ #12792]
33696 * libio/filedoalloc.c (local_isatty): New function.
33697 (_IO_file_doallocate): Use local_isatty.
33698 * stdio-common/perror.c (perror): In case a new stream is used
33699 forward the stream error.
33700 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33701 error flag.
33702
78e64fdc
RT
337032011-05-20 Ulrich Drepper <drepper@gmail.com>
33704
34a9094f
UD
33705 [BZ #11869]
33706 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33707 alloca.
33708 * include/alloca.h (extend_alloca_account): Define.
33709
78e64fdc
RT
33710 [BZ #11857]
33711 * posix/regex.h: Fix comments with documentation of user-accessible
33712 fields after compilation and describe correct free'ing of pattern
33713 after re_compile_pattern.
33714 Patch by Reuben Thomas <rrt@sc3d.org>.
33715
457bddfc
RA
337162011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33717
33718 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33719 and -mno-altivec to prevent the compiler from using Altivec and/or
33720 VSX instructions when the corresponding registers are not available.
33721
a4527b51
AS
337222011-05-19 Andreas Schwab <schwab@redhat.com>
33723
33724 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33725
ed690b2f
UD
337262011-05-19 Ulrich Drepper <drepper@gmail.com>
33727
33728 * libio/freopen.c (freopen): Use __dup2, not dup2.
33729 * libio/freopen64.c (freopen64): Likewise.
33730
8db73634
L
337312011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33732
33733 [BZ #12775]
33734 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33735 * math/Makefile (tests): Add test-powl.
33736 (CFLAGS-test-powl.c): Define.
33737 * math/test-powl.c: New file.
33738
0a197a9d
L
337392011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33740
33741 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33742
ee30c380
UD
337432011-05-17 Ulrich Drepper <drepper@gmail.com>
33744
33745 [BZ #11837]
33746 * iconvdata/gb18030.c: Update to GB18020-2005.
33747
6ce75379
UD
337482011-05-16 Ulrich Drepper <drepper@gmail.com>
33749
a4b89fd8
AR
33750 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33751 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33752 Patch by Aharon Robbins <arnold@skeeve.com>.
33753
ea389b12
UD
33754 [BZ #11892]
33755 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33756 on the stack.
33757
68a3f91f
UD
33758 [BZ #11895]
33759 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33760 through underflows.
33761
15cc7dd1
UD
33762 [BZ #12766]
33763 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33764 point to strings before performing equality test for error_one_per_line
33765 mode.
33766
f3799213
UD
33767 [BZ #11697]
33768 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33769
d79a9c94
UD
33770 [BZ #11820]
33771 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33772 (struct user_fpregs_struct): Avoid __uint*_t types.
33773
56e5eb46
UD
33774 [BZ #6420]
33775 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33776 symbol info. Use it instead of calling _dl_addr locally.
33777 (lock_and_info): New function.
33778 (tr_freehook): Call lock_and_info and pass symbol info as additional
33779 parameter to tr_where.
33780 (tr_mallochook): Likewise.
33781 (tr_reallochook): Likewise.
33782 (tr_memalignhook): Likewise.
33783
6ce75379
UD
33784 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33785 used and couldn't be at all thread-safe.
33786
f8a3b5bf
UD
337872011-05-15 Ulrich Drepper <drepper@gmail.com>
33788
94b7cc37
UD
33789 * libio/freopen.c (freopen): Don't close old file descriptor
33790 before the new one is opened. Instead dup the new file descriptor
33791 to the old one after the new stream is created.
33792 * libio/freopen64.c (freopen64): Likewise.
33793 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33794 * libio/fileops.c (_IO_new_file_close_it): Handle new
33795 _IO_FLAGS2_NOCLOSE flag.
33796 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33797 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33798 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33799 _IO_FLAGS2_NOCLOSE flag.
33800 * include/unistd.h: Add hidden_proto for dup3.
33801 Define __have_dup3.
33802 * io/dup3.c: Define hidden symbol.
33803 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33804
bd25564e
UD
33805 [BZ #7101]
33806 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33807 when an incomplete long option is used.
33808 * posix/tst-getopt_long1.c: New file.
33809 * posix/Makefile (tests): Add tst-getopt_long1.
33810
c84cfef4
UD
33811 [BZ #10138]
33812 * scripts/config.guess: Update from autoconf-2.68.
33813 * scripts/config.sub: Likewise.
33814
3b85df27
UD
33815 [BZ #10157]
33816 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33817 tests into ...
33818 (has_cpuclock): ...this. New function.
33819 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33820 macro here based on has_cpuclock code.
33821
15a856b1
UD
33822 [BZ #10149]
33823 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33824 First byte (not low byte) is now always NUL.
33825 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33826
05f399e6
UD
33827 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33828 Use non-cancelable interfaces.
33829
10a52685 33830 [BZ #9809]
94ecc67d
UD
33831 * locale/iso-639.def: Add entry for Sorani.
33832
f8a3b5bf
UD
33833 [BZ #11901]
33834 * include/stdlib.h: Move include protection to the right place.
33835 Define abort_msg_s. Declare __abort_msg with it.
33836 * stdlib/abort.c (__abort_msg): Adjust type.
33837 * assert/assert.c (__assert_fail_base): New function. Majority
33838 of code from __assert_fail. Allocate memory for __abort_msg with
33839 mmap.
33840 (__assert_fail): Now call __assert_fail_base.
33841 * assert/assert-perr.c: Remove bulk of implementation. Use
33842 __assert_fail_base.
33843 * include/assert.hL Declare __assert_fail_base.
33844 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33845 mmap.
33846 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33847
1af4e298
UD
338482011-05-14 Ulrich Drepper <drepper@gmail.com>
33849
f8a3b5bf 33850 [BZ #11952]
d26dfc60
MG
33851 [BZ #12453]
33852 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33853 until all modules are registered in the DTV.
33854 * elf/Makefile: Add rules to build and run tst-tls19.
33855 * elf/tst-tls19.c: New file.
33856 * elf/tst-tls19mod1.c: New file.
33857 * elf/tst-tls19mod2.c: New file.
33858 * elf/tst-tls19mod3.c: New file.
33859 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33860
2fc54d6f
UD
33861 [BZ #12083]
33862 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33863 correctly.
33864
98d76b46
UD
33865 [BZ #12601]
33866 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33867 two-byte sequence errors.
33868 * iconvdata/Makefile (tests): Add bug-iconv8.
33869 * iconvdata/bug-iconv8.c: New file.
33870
da3c19ef
UD
33871 [BZ #12626]
33872 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33873 buf2 definition.
33874
ca408c15
UD
33875 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33876
d6f67f7d
UD
33877 [BZ #12432]
33878 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33879 (dummy_getcfa): New function.
33880 (init): Get _Unwind_GetCFA address, use dummy if not found.
33881 (backtrace_helper): In recursion check, also check whether CFA changes.
33882 (__backtrace): Completely initialize arg.
33883
1af4e298 33884 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
33885 storing incomplete byte sequence in state object. Avoid testing for
33886 guaranteed too small input if we know there is enough data available.
1af4e298 33887
da62f81b
AS
338882011-05-11 Andreas Schwab <schwab@redhat.com>
33889
33890 * Makeconfig (+link-pie): Indent.
33891 * Rules (binaries-pie): Define if $(have-fpie) and
33892 $(build-shared).
33893 (binaries-shared): Also filter out $(binaries-pie).
33894 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33895 * nscd/Makefile (others-pie): Add nscd.
33896 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33897 ($(objpfx)nscd): Remove command override.
33898 * login/Makefile (others-pie): Add pt_chown.
33899 ($(objpfx)pt_chown): Remove command override.
33900 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33901 remove command overrides.
33902
fcabc0f8
UD
339032011-05-13 Ulrich Drepper <drepper@gmail.com>
33904
20030ae6
UD
33905 * libio/tst_putwc.c: Fix error messages.
33906
fcabc0f8
UD
33907 [BZ #12724]
33908 * libio/fileops.c (_IO_new_file_close_it): Always flush when
33909 currently writing and seek to current position when not.
33910 * libio/Makefile (tests): Add bug-fclose1.
33911 * libio/bug-fclose1.c: New file.
33912
320a5dc0
PB
339132011-05-12 Ulrich Drepper <drepper@gmail.com>
33914
33915 [BZ #12511]
33916 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33917 don't set DF_1_NODELETE here.
33918 (do_lookup_x): When entering new entry test for copy relocation
33919 and if necessary set DF_1_NODELETE flag.
33920 * elf/tst-unique4.cc: New file.
33921 * elf/tst-unique4.h: New file.
33922 * elf/tst-unique4lib.cc: New file.
33923 * elf/Makefile: Add rules to build and run tst-unique4.
33924 Patch by Piotr Bury <pbury@goahead.com>.
33925
22836f52
UD
339262011-05-11 Ulrich Drepper <drepper@gmail.com>
33927
f574184a
UD
33928 [BZ #12052]
33929 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33930
e1fb097f
UD
33931 [BZ #12625]
33932 * misc/mntent_r.c (addmntent): Flush the stream after the output
33933
22836f52
UD
33934 [BZ #12393]
33935 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33936 (is_trusted_path_normalize): Skip initial colon. Append slash
33937 to empty buffer. Duplicate is_trusted_path code but allow
33938 constructed patch to be prefix.
33939 (is_dst): Allow $ORIGIN followed by /.
33940 (_dl_dst_substitute): Correct clearing of check_for_trusted.
33941 Correct testing of result of is_trusted_path_normalize
33942 (decompose_rpath): Fix warning.
33943
7b3b0b2a
UD
339442011-05-10 Ulrich Drepper <drepper@gmail.com>
33945
33946 [BZ #11257]
33947 * grp/initgroups.c (internal_getgrouplist): When we found the service
33948 list through the initgroups entry in nsswitch.conf do not always
33949 continue on a successful lookup. Don't always use the
eac80ce2 33950 __nss_group_database value if it is set.
7b3b0b2a
UD
33951 * nss/nsswitch.conf (initgroups): Change action for successful db
33952 lookup to continue for compatibility.
33953
2a81eaa5
UD
339542011-05-09 Ulrich Drepper <drepper@gmail.com>
33955
be97a69e
UD
33956 [BZ #11532]
33957 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33958 and CP774 modules.
33959 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33960 and CP774 modules.
33961 * iconvdata/tst-tables.sh: Likewise.
33962 * iconvdata/cp770.c: New file.
33963 * iconvdata/cp771.c: New file.
33964 * iconvdata/cp772.c: New file.
33965 * iconvdata/cp773.c: New file.
33966 * iconvdata/cp774.c: New file.
33967 * iconvdata/testdata/CP770: New file.
33968 * iconvdata/testdata/CP770..UTF8: New file.
33969 * iconvdata/testdata/CP771: New file.
33970 * iconvdata/testdata/CP771..UTF8: New file.
33971 * iconvdata/testdata/CP772: New file.
33972 * iconvdata/testdata/CP772..UTF8: New file.
33973 * iconvdata/testdata/CP773: New file.
33974 * iconvdata/testdata/CP773..UTF8: New file.
33975 * iconvdata/testdata/CP774: New file.
33976 * iconvdata/testdata/CP774..UTF8: New file.
33977
33978 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
33979 END CHARMAP line.
33980 * iconvdata/gen-8bit-gap.sh: Likewise.
33981 * iconvdata/gen-8bit.sh: Likewise.
33982
c1e9e399
UD
33983 * locale/iso-639.def: Add ary entry.
33984
24c55fb3 33985 [BZ #11258]
96b4b1b0
UD
33986 * locale/C-translit.h.in: Add U20A1 transliteration.
33987
bdc2f971
KB
33988 [BZ #12178]
33989 * locale/iso-639.def: Add wae entry.
33990 Patch by Kevin Bortis <bortis@translate-wae.ch>.
33991
2952b117
UD
33992 [BZ #12545]
33993 * locale/programs/localedef.c (construct_output_path): Use ssize_t
33994 for n.
33995
2a81eaa5
UD
33996 [BZ #12711]
33997 * locale/C-translit.h.in: Add entry for U20B9.
33998 Patch by pravin.d.s@gmail.com.
33999
28377d1b
UD
340002011-05-08 Ulrich Drepper <drepper@gmail.com>
34001
7fb90fb8
UD
34002 [BZ #12713]
34003 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34004 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
34005 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
34006 in rtld. Use *stat64.
7fb90fb8 34007 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 34008 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 34009 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
34010 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34011 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34012 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34013 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34014 __fstatat64 macros.
7fb90fb8
UD
34015 * include/dirent.h: Add libc_hidden_proto for rewinddir.
34016 * dirent/rewinddir.c: Add libc_hidden_def.
34017 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 34018 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 34019
28377d1b
UD
34020 * include/dirent.h (__alloc_dir): Add flags parameter.
34021 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34022 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34023 __alloc_dir.
34024 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
34025 from fdopendir if O_CLOEXEC is already set.
34026
66bdbaa4
AM
340272011-03-15 Alan Modra <amodra@gmail.com>
34028
34029 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34030 l_tls_firstbyte_offset non-zero. Save padding offset in
34031 l_tls_firstbyte_offset for later use.
34032 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34033 freeing static tls block.
34034
95721191
JN
340352011-03-05 Jonathan Nieder <jrnieder@gmail.com>
34036
34037 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34038 where #ifdef was intended. The intent is to prevent ARG_MAX from
34039 being defined by the kernel headers.
34040
f87dfb1f
UD
340412011-05-07 Ulrich Drepper <drepper@gmail.com>
34042
34043 [BZ #12734]
34044 * resolv/resolv.h: Define RES_NOTLDQUERY.
34045 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34046 no-tld-query and set RES_NOTLDQUERY.
34047 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34048 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34049 modern BIND to search name as TLD unless forbidden.
34050
47c3cd7a
UD
340512011-05-07 Petr Baudis <pasky@suse.cz>
34052 Ulrich Drepper <drepper@gmail.com>
34053
34054 [BZ #12393]
34055 * elf/dl-load.c (fillin_rpath): Move trusted path check...
34056 (is_trusted_path): ...to here.
c1e9ea35 34057 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 34058 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 34059 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 34060
8a35c912
PP
340612011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34062
34063 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34064 __BEGIN/__END_DECLS.
34065
acd41f47
UD
340662011-05-06 Ulrich Drepper <drepper@gmail.com>
34067
34068 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34069 NSS_STATUS_NOTFOUND if no record was found.
34070
597df647
AS
340712011-05-05 Andreas Schwab <schwab@redhat.com>
34072
34073 * sunrpc/Makefile (headers): Add rpc/netdb.h.
34074 (headers-not-in-tirpc): Remove rpc/netdb.h
34075 * resolv/netdb.h: Revert last change.
34076
b9af1301
PP
340772011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34078
34079 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34080 circular dependency between libgcc.a and libc.a.
34081
4e34d5f5
AS
340822011-05-05 Andreas Schwab <schwab@redhat.com>
34083
34084 * resolv/netdb.h: Don't include <rpc/netdb.h>.
34085 * nis/Makefile: Don't install rpcsvc/*.
34086 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34087 instead of <rpc/types.h>.
34088 (MAXHOSTNAMELEN): Define.
34089
00ee369c
AS
340902011-05-03 Andreas Schwab <schwab@redhat.com>
34091
34092 * elf/ldconfig.c (add_dir): Don't crash on empty path.
34093
0b592a30
MB
340942011-04-28 Maciej Babinski <mbabinski@google.com>
34095
34096 [BZ #12714]
34097 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34098 gethostbyname4_r when IPv6 results are possible.
34099
6e04cbbe
UD
341002011-05-02 Ulrich Drepper <drepper@gmail.com>
34101
34102 [BZ #12723]
34103 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34104 _PC_PIPE_BUF handling.
34105
e4ecafe0
BH
341062011-04-30 Bruno Haible <bruno@clisp.org>
34107
34108 [BZ #12717]
34109 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34110 * resolv/netdb.h (getnameinfo): Change type of flags parameter
34111 to 'int'.
34112 * inet/getnameinfo.c (getnameinfo): Likewise.
34113
125ee683
UD
341142011-04-29 Ulrich Drepper <drepper@gmail.com>
34115
34116 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34117 to groups setting in database lookup.
34118 * nss/nsswitch.conf: Add initgroups entry.
34119
b722481a
EB
341202011-04-22 Ulrich Drepper <drepper@gmail.com>
34121
34122 [BZ #12685]
34123 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34124 mode string.
34125 Patch by Eric Blake <eblake@redhat.com>.
34126
4df46dbd
L
341272011-04-20 H.J. Lu <hongjiu.lu@intel.com>
34128
34129 * sunrpc/Makefile (need-export-routines): Add svc_run.
34130 (routines): Remove svc_run.
34131 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34132 * sunrpc/clnt_perr.c (clnt_perrno): Export.
34133 * sunrpc/svc_run.c (svc_run): Likewise.
34134 * sunrpc/svc_udp.c (svcudp_create): Likewise.
34135
e84142d2
UD
341362011-04-21 Ulrich Drepper <drepper@gmail.com>
34137
34138 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34139 problem in reallocation in last patch.
34140
877175d8
UD
341412011-04-20 Ulrich Drepper <drepper@gmail.com>
34142
34143 * sunrpc/Makefile: Move inclusion of Rules.
34144
ab8eed78
UD
341452011-04-19 Ulrich Drepper <drepper@gmail.com>
34146
34147 * nss/nss_files/files-initgroups.c: New file.
34148 * nss/Makefile (libnss_files-routines): Add files-initgroups.
34149 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34150 _nss_files_initgroups_dyn.
34151
e3d8f584
RS
341522011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
34153
34154 * elf/elf.h (R_ARM_IRELATIVE): Define.
34155
af190f45
UD
341562011-04-19 Ulrich Drepper <drepper@gmail.com>
34157
34158 * po/ru.po: Update from translation team.
34159
53cf59ef
UD
341602011-04-17 Ulrich Drepper <drepper@gmail.com>
34161
34162 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34163 dependencies.
34164
4c559bcd
MF
341652011-02-06 Mike Frysinger <vapier@gentoo.org>
34166
34167 [BZ #12653]
34168 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34169 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34170 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34171 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34172 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34173
4420675c
AS
341742011-03-28 Andreas Schwab <schwab@linux-m68k.org>
34175
34176 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34177 differing bytes.
34178 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34179 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34180 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34181
75ea32ab
UD
341822011-04-17 Ulrich Drepper <drepper@gmail.com>
34183
34184 [BZ #12420]
34185 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34186 storing it.
34187 * stdlib/bug-getcontext.c: New file.
34188 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34189
27390476
AK
341902011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34191
34192 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34193 instructions into .machine "z9-109".
34194 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34195 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34196
10442705
AK
341972011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34198
34199 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34200 between environment variables and auxiliary vector.
34201
7b57bfe5
UD
342022011-04-16 Ulrich Drepper <drepper@gmail.com>
34203
34204 * Makefile: Add rules to build linkobj/libc.so.
34205 * include/libc-symbols.h: Define libc_hidden_nolink.
34206 * include/rpc/auth.h: Mark functions which are to be hidden.
34207 * include/rpc/auth_des.h: Likewise.
34208 * include/rpc/auth_unix.h: Likewise.
34209 * include/rpc/clnt.h: Likewise.
34210 * include/rpc/des_crypt.h: Likewise.
34211 * include/rpc/key_prot.h: Likewise.
34212 * include/rpc/pmap_clnt.h: Likewise.
34213 * include/rpc/pmap_prot.h: Likewise.
34214 * include/rpc/pmap_rmt.h: Likewise.
34215 * include/rpc/rpc_msg.h: Likewise.
34216 * include/rpc/svc.h: Likewise.
34217 * include/rpc/svc_auth.h: Likewise.
34218 * include/rpc/xdr.h: Likewise.
34219 * nis/Makefile: Link all DSOs against linkobj/libc.so.
34220 * nss/Makefile: Likewise.
34221 * sunrpc/Makefile: Don't install headers. Build library with normal
34222 entry points. Don't build rpcinfo. Link RPC tests appropriately.
34223 * sunrpc/auth_des.c: Hide exported symbols by default, export some
34224 for the compat linking library. Remove use of INTDEF/INTUSE.
34225 * sunrpc/auth_none.c: Likewise.
34226 * sunrpc/auth_unix.c: Likewise.
34227 * sunrpc/authdes_prot.c: Likewise.
34228 * sunrpc/authuxprot.c: Likewise.
34229 * sunrpc/clnt_gen.c: Likewise.
34230 * sunrpc/clnt_perr.c: Likewise.
34231 * sunrpc/clnt_raw.c: Likewise.
34232 * sunrpc/clnt_simp.c: Likewise.
34233 * sunrpc/clnt_tcp.c: Likewise.
34234 * sunrpc/clnt_udp.c: Likewise.
34235 * sunrpc/clnt_unix.c: Likewise.
34236 * sunrpc/des_crypt.c: Likewise.
34237 * sunrpc/des_soft.c: Likewise.
34238 * sunrpc/get_myaddr.c: Likewise.
34239 * sunrpc/key_call.c: Likewise.
34240 * sunrpc/key_prot.c: Likewise.
34241 * sunrpc/netname.c: Likewise.
34242 * sunrpc/pm_getmaps.c: Likewise.
34243 * sunrpc/pm_getport.c: Likewise.
34244 * sunrpc/pmap_clnt.c: Likewise.
34245 * sunrpc/pmap_prot.c: Likewise.
34246 * sunrpc/pmap_prot2.c: Likewise.
34247 * sunrpc/pmap_rmt.c: Likewise.
34248 * sunrpc/publickey.c: Likewise.
34249 * sunrpc/rpc_cmsg.c: Likewise.
34250 * sunrpc/rpc_common.c: Likewise.
34251 * sunrpc/rpc_dtable.c: Likewise.
34252 * sunrpc/rpc_prot.c: Likewise.
34253 * sunrpc/rpc_thread.c: Likewise.
34254 * sunrpc/rtime.c: Likewise.
34255 * sunrpc/svc.c: Likewise.
34256 * sunrpc/svc_auth.c: Likewise.
34257 * sunrpc/svc_authux.c: Likewise.
34258 * sunrpc/svc_raw.c: Likewise.
34259 * sunrpc/svc_run.c: Likewise.
34260 * sunrpc/svc_simple.c: Likewise.
34261 * sunrpc/svc_tcp.c: Likewise.
34262 * sunrpc/svc_udp.c: Likewise.
34263 * sunrpc/svc_unix.c: Likewise.
34264 * sunrpc/svcauth_des.c: Likewise.
34265 * sunrpc/xcrypt.c: Likewise.
34266 * sunrpc/xdr.c: Likewise.
34267 * sunrpc/xdr_array.c: Likewise.
34268 * sunrpc/xdr_float.c: Likewise.
34269 * sunrpc/xdr_intXX_t.c: Likewise.
34270 * sunrpc/xdr_mem.c: Likewise.
34271 * sunrpc/xdr_rec.c: Likewise.
34272 * sunrpc/xdr_ref.c: Likewise.
34273 * sunrpc/xdr_sizeof.c: Likewise.
34274 * sunrpc/xdr_stdio.c: Likewise.
34275
e6c61494
UD
342762011-04-10 Ulrich Drepper <drepper@gmail.com>
34277
34278 [BZ #12650]
34279 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34280 * sysdeps/ia64/dl-tls.h: Likewise.
34281 * sysdeps/powerpc/dl-tls.h: Likewise.
34282 * sysdeps/s390/dl-tls.h: Likewise.
34283 * sysdeps/sh/dl-tls.h: Likewise.
34284 * sysdeps/sparc/dl-tls.h: Likewise.
34285 * sysdeps/x86_64/dl-tls.h: Likewise.
34286 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34287
34fe483e
AS
342882011-03-14 Andreas Schwab <schwab@redhat.com>
34289
34290 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34291 rpath element also skip the following colon.
34292 (expand_dynamic_string_token): Add is_path parameter and pass
34293 down to DL_DST_REQUIRED and _dl_dst_substitute.
34294 (decompose_rpath): Call expand_dynamic_string_token with
34295 non-zero is_path. Ignore empty rpaths.
34296 (_dl_map_object_from_fd): Call expand_dynamic_string_token
34297 with zero is_path.
34298
f12a32e6
AS
342992011-04-08 Andreas Schwab <schwab@linux-m68k.org>
34300
34301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34302 Make cancelable.
34303
38a7d692
UD
343042011-04-09 Ulrich Drepper <drepper@gmail.com>
34305
34306 [BZ #12655]
34307 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34308 Patch by Filipe David Manana <fdmanana@apache.org>.
34309
e451d22b
AS
343102011-04-07 Andreas Schwab <schwab@redhat.com>
34311
34312 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34313 Maintain aligned stack.
34314 (CHECK_RSP): Remove unused macro.
34315
dedc7c7b
UD
343162011-04-03 Ulrich Drepper <drepper@gmail.com>
34317
34318 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34319 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34320
94521213
UD
343212011-04-02 Ulrich Drepper <drepper@gmail.com>
34322
34323 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34324
8cb700c0 34325 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 34326
0354e355
L
343272011-03-26 H.J. Lu <hongjiu.lu@intel.com>
34328
34329 [BZ #12518]
34330 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34331 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34332 * sysdeps/x86_64/memmove.c: New file.
34333 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34334 (memcpy): Renamed to ...
34335 (__new_memcpy): This.
34336 (memcpy): Provide GLIBC_2_14 memcpy.
34337 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34338 (memcpy): Provide GLIBC_2_2_5 memcpy.
34339
8593482f
UD
343402011-04-01 Ulrich Drepper <drepper@gmail.com>
34341
34342 [BZ #12631]
34343 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34344
81a5726b
AS
343452011-03-30 Andreas Schwab <schwab@redhat.com>
34346
34347 * misc/syncfs.c: New file.
34348 * misc/Makefile (routines): Add syncfs.
34349 * posix/unistd.h: Declare syncfs.
34350 * sysdeps/unix/syscalls.list: Add syncfs.
34351
00e5419f
AS
343522011-04-01 Andreas Schwab <schwab@redhat.com>
34353
34354 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34355 open_by_handle_at.
34356 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34357 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34358 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34359 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34360 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34361 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34362 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34363
748876bf
UD
343642011-04-01 Ulrich Drepper <drepper@gmail.com>
34365
658e451d
UD
34366 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34367 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34368 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34369 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34370 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34371 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34372 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34373
748876bf
UD
34374 * io/Makefile: Compile fallocate.c, fallocate64.c, and
34375 sync_file_range.c with -fexceptions.
34376 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34377 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34378 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34379 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34380 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34381 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34382 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
34383 sync_file_range as cancellation point
34384 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
34385 now a wrapper around __call_sync_file_range with cancellation handling.
34386 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34387 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
34388 function name to __call_sync_file_range.
34389 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34390 Add call_sync_file_range.
748876bf 34391
6e63d5e1
AS
343922011-04-01 Andreas Schwab <schwab@redhat.com>
34393
34394 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 34395 bits/timex.h.
6e63d5e1 34396
46998f74
UD
343972011-04-01 Ulrich Drepper <drepper@gmail.com>
34398
4c1423ed
UD
34399 * iconv/iconv.h: Fix typo in comment.
34400 * io/fcntl.h: Likewise.
34401 * libio/stdio.h: Likewise.
34402 * posix/spawn.h: Likewise.
34403 * posix/unistd.h: Likewise.
34404 * stdlib/stdlib.h: Likewise.
34405 * time/time.h: Likewise.
34406 * wcsmbs/wchar.h: Likewise.
34407
158648c0
UD
34408 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
34409 open_by_handle): Add.
34410 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
34411 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
34412 Augment a few comments.
34413 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34414 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34415 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34416 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34417 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34418 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
34419 open_by_handle.
34420
46998f74
UD
34421 * io/fcntl.h (AT_EMPTY_PATH): Define.
34422
83fe108b
UD
344232011-03-30 Ulrich Drepper <drepper@gmail.com>
34424
34425 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34426 * sysdeps/unix/sysv/linux/bits/time.h: New file.
34427 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34428 to...
34429 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
34430 * Versions.def: Add GLIBC_2.14.
34431 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34432 Export.
83fe108b 34433
bb242059
UD
344342011-03-22 Ulrich Drepper <drepper@gmail.com>
34435
34436 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34437 round counter.
34438 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34439
c97a1282
L
344402011-03-20 H.J. Lu <hongjiu.lu@intel.com>
34441
34442 [BZ #12597]
34443 * string/test-strncmp.c (do_page_test): New function.
34444 (check2): Likewise.
34445 (test_main): Call check2.
34446 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34447
2a115601
UD
344482011-03-20 Ulrich Drepper <drepper@gmail.com>
34449
34450 [BZ #12587]
34451 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34452 Handle cache information in CPU leaf 4.
34453 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34454
8126d904
UD
344552011-03-18 Ulrich Drepper <drepper@gmail.com>
34456
042c49c6 34457 [BZ #12583]
8126d904
UD
34458 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34459 character representation.
34460 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34461
ccfe366e
RA
344622011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
34463
34464 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34465 END(__isnan) to END(__isnanf) to match function entry point/label
34466 EALIGN(__isnanf,...).
34467
c6e13027
JJ
344682011-03-10 Jakub Jelinek <jakub@redhat.com>
34469
34470 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34471
33f85a3f
UD
344722011-03-10 Ulrich Drepper <drepper@gmail.com>
34473
028478fa
UD
34474 [BZ #12510]
34475 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34476 copy from the symbol referenced in the relocation to initialize the
34477 used variable.
34478 Patch by Piotr Bury <pbury@goahead.com>.
34479 * elf/Makefile: Add rules to build and tst-unique3.
34480 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34481 * elf/tst-unique3.cc: New file.
34482 * elf/tst-unique3.h: New file.
34483 * elf/tst-unique3lib.cc: New file.
34484 * elf/tst-unique3lib2.cc: New file.
34485
33f85a3f
UD
34486 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34487
03592fc7
MF
344882011-03-10 Mike Frysinger <vapier@gentoo.org>
34489
34490 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34491 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
34492 to _start.
03592fc7 34493
6a5ee102
UD
344942011-03-06 Ulrich Drepper <drepper@gmail.com>
34495
34496 * elf/dl-load.c (_dl_map_object): If we are looking for the first
34497 to-be-loaded object along a path to loader is ld.so.
34498
7e4ba49c
HJ
344992011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34500 Ulrich Drepper <drepper@gmail.com>
34501
34502 * sysdeps/x86_64/memset.S: After aligning destination, code
34503 branches to different locations depending on the value of
34504 misalignment, when multiarch is enabled. Fix this.
34505
345062011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34507
34508 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34509 Set _x86_64_preferred_memory_instruction for AMD processsors.
34510 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34511 Set bit_Prefer_SSE_for_memop for AMD processors.
34512
13a804de
UD
345132011-03-04 Ulrich Drepper <drepper@gmail.com>
34514
34515 * libio/fmemopen.c (fmemopen): Optimize a bit.
34516
9d25c392
AS
345172011-03-03 Andreas Schwab <schwab@redhat.com>
34518
34519 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34520
a5543c6a
RM
345212011-03-03 Roland McGrath <roland@redhat.com>
34522
34523 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34524
012d35f7
DM
345252011-02-28 Aurelien Jarno <aurelien@aurel32.net>
34526
7e4ba49c 34527 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
34528 __bzero_ultra1 instead of __memset_ultra1.
34529
4bff6e01
AS
345302011-02-23 Andreas Schwab <schwab@redhat.com>
34531 Ulrich Drepper <drepper@gmail.com>
34532
34533 [BZ #12509]
34534 * include/link.h (struct link_map): Add l_orig_initfini.
34535 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34536 returning unsuccessfully.
34537 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34538 close of a file loaded at startup, restore the original l_initfini
34539 list.
34540 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34541 list, store the pointer.
34542 * elf/Makefile ($(objpfx)noload-mem): New rule.
34543 (noload-ENV): Define.
34544 (tests): Add $(objpfx)noload-mem.
34545 * elf/noload.c: Include <memcheck.h>.
34546 (main): Call mtrace. Close all opened handles.
34547
f2092faf
AS
345482011-02-17 Andreas Schwab <schwab@redhat.com>
34549
34550 [BZ #12454]
34551 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34552 dependencies are missing.
34553
6c8a2e88
ST
345542011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34555
f2092faf 34556 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
34557 Hurd needs munmap.
34558 * sysdeps/mach/hurd/ifreq.h: New file.
34559
84a42118
PB
345602011-01-27 Petr Baudis <pasky@suse.cz>
34561 Ulrich Drepper <drepper@gmail.com>
34562
071f805e 34563 [BZ 12445]#
84a42118
PB
34564 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34565 to extend_alloca().
34566 * stdio-common/bug23.c: New file.
34567 * stdio-common/Makefile (tests): Add bug23.
34568
e23fe25b
AS
345692010-09-28 Andreas Schwab <schwab@redhat.com>
34570 Ulrich Drepper <drepper@gmail.com>
34571
34572 [BZ #12489]
34573 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34574 before performing relro protection. At old place add assertion
34575 to make sure nothing changed.
34576
d3f02e10
NS
345772011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34578 Glauber de Oliveira Costa <glommer@gmail.com>
34579
34580 * elf/elf.h: Add new ARM TLS relocs.
34581
d55fd7a5
RA
345822011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34583
34584 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34585 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34586 cast from r3.
34587 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34588 'tests' variable.
34589 * sysdeps/wordsize-64/tst-writev.c: New file.
34590
2206397e
RA
345912011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34592
34593 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34594 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34595 insns in _dl_start to prevent a TOC reference before relocs are
34596 resolved.
34597
e9433893
UD
345982011-02-15 Ulrich Drepper <drepper@gmail.com>
34599
34600 [BZ #12469]
34601 * Makeconfig: Remove RANLIB definition.
34602 * Makerules: Don't use RANLIB.
34603 * aclocal.m4: Remove ranlib test.
34604 * configure.in: No need to check for ranlib.
34605 * elf/rtld-Rules: Don't use RANLIB.
34606
f75286c6
ST
346072011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34608
8e31c82d
ST
34609 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34610 protection macro.
34611 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34612 inclusion protection macro.
34613
f75286c6
ST
34614 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34615 SIGRTMIN and SIGRTMAX and print information in that case only when
34616 SIGRTMIN is defined.
34617
c1d0e639
JJ
346182011-02-11 Jakub Jelinek <jakub@redhat.com>
34619
34620 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34621 arginfo fn returning -1.
34622
34623 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34624 and thousands string is zero terminated.
34625
edf9294e
AS
346262011-02-03 Andreas Schwab <schwab@redhat.com>
34627
34628 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34629 sysdeps/unix/sysv/linux/bits/socket.h.
34630
2b7e92df
ST
346312011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34632
edf9294e
AS
34633 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34634 (__CPU_COUNT): Remove old macros.
34635 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34636 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34637 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
34638 (__sched_cpualloc, __sched_cpufree): Add declarations.
34639
a4c7ea7b
UD
346402011-02-05 Ulrich Drepper <drepper@gmail.com>
34641
34642 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34643 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34644 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34645 (readdhstai): Return value of addhstaiX call.
34646 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34647 (addgrbyX): Return value returned by cache_addgr.
34648 (readdgrbyname): Return value returned by addgrbyX.
34649 (readdgrbygid): Likewise.
34650 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34651 (addpwbyX): Return value returned by cache_addpw.
34652 (readdpwbyname): Return value returned by addhstbyX.
34653 (readdpwbyuid): Likewise.
34654 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34655 (addservbyX): Return value returned by cache_addserv.
34656 (readdservbyname): Return value returned by addservbyX:
34657 (readdservbyport): Likewise.
34658 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34659 (addhstbyX): Return value returned by cache_addhst.
34660 (readdhstbyname): Return value returned by addhstbyX.
34661 (readdhstbyaddr): Likewise.
34662 (readdhstbynamev6): Likewise.
34663 (readdhstbyaddrv6): Likewise.
34664 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34665 (readdinitgroups): Return value returned by addinitgroupsX.
34666 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34667 (prune_cache): Keep track of timeout value of re-added entries.
34668 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34669 * nscd/nscd.h: Adjust prototypes of readd* functions.
34670
a0bf67cc
RM
346712011-02-04 Roland McGrath <roland@redhat.com>
34672
34673 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34674 (nis_stats): Likewise.
34675 * nis/nis_modify.c (nis_modify): Likewise.
34676 * nis/nis_remove.c (nis_remove): Likewise.
34677 * nis/nis_add.c (nis_add): Likewise.
34678
34679 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34680
34681 * posix/fnmatch_loop.c: Add some consts.
34682
34683 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34684
435b95eb
L
346852011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34686
34687 [BZ #12460]
34688 * config.make.in (config-cflags-novzeroupper): Define.
34689 * configure.in: Substitute libc_cv_cc_novzeroupper.
34690 * elf/Makefile (AVX-CFLAGS): Define.
34691 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34692 (CFLAGS-tst-auditmod4a.c): Likewise.
34693 (CFLAGS-tst-auditmod4b.c): Likewise.
34694 (CFLAGS-tst-auditmod6b.c): Likewise.
34695 (CFLAGS-tst-auditmod6c.c): Likewise.
34696 (CFLAGS-tst-auditmod7b.c): Likewise.
34697 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34698
8517b15e
UD
346992011-02-02 Ulrich Drepper <drepper@gmail.com>
34700
34701 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34702 function to the callback.
34703 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34704
10a656fe
AS
347052011-02-02 Andreas Schwab <schwab@redhat.com>
34706
34707 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34708 of errno.
34709
968dad0a
UD
347102011-01-19 Ulrich Drepper <drepper@gmail.com>
34711
9f94d2ea 34712 [BZ #11724]
968dad0a
UD
34713 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34714 of constructors.
34715 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34716 of destructors.
34717 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34718
34719 [BZ #11724]
34720 * elf/Makefile: Add rules to build and run new test.
34721 * elf/tst-initorder.c: New file.
34722 * elf/tst-initorder.exp: New file.
34723 * elf/tst-initordera1.c: New file.
34724 * elf/tst-initordera2.c: New file.
34725 * elf/tst-initordera3.c: New file.
34726 * elf/tst-initordera4.c: New file.
34727 * elf/tst-initorderb1.c: New file.
34728 * elf/tst-initorderb2.c: New file.
34729 * elf/tst-order-a1.c: New file.
34730 * elf/tst-order-a2.c: New file.
34731 * elf/tst-order-a3.c: New file.
34732 * elf/tst-order-a4.c: New file.
34733 * elf/tst-order-b1.c: New file.
34734 * elf/tst-order-b2.c: New file.
34735 * elf/tst-order-main.c: New file.
34736 New test case by George Gensure <werkt0@gmail.com>.
34737
86e92359
UD
347382010-10-01 Andreas Schwab <schwab@redhat.com>
34739
34740 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34741 decoding ACE if AI_CANONIDN.
34742
5d5732b0
UD
347432011-01-18 Ulrich Drepper <drepper@gmail.com>
34744
34745 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34746
a77e8cbc
UD
347472011-01-17 Ulrich Drepper <drepper@gmail.com>
34748
6392473f
UD
34749 * version.h (RELEASE): Bump for 2.13 release.
34750 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34751
620a0529
UD
34752 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34753
18ba70a5
UD
34754 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34755 MADV_NOHUGEPAGE.
32465c3e
UD
34756 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34757 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34758 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34759 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34760 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34761 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34762
c0dafcf1
UD
34763 * posix/getconf.c: Update copyright year.
34764 * catgets/gencat.c: Likewise.
34765 * csu/version.c: Likewise.
34766 * debug/catchsegv.sh: Likewise.
34767 * debug/xtrace.sh: Likewise.
34768 * elf/ldconfig.c: Likewise.
34769 * elf/ldd.bash.in: Likewise.
34770 * elf/sprof.c (print_version): Likewise.
34771 * iconv/iconv_prog.c: Likewise.
34772 * iconv/iconvconfig.c: Likewise.
34773 * locale/programs/locale.c: Likewise.
34774 * locale/programs/localedef.c: Likewise.
34775 * malloc/memusage.sh: Likewise.
34776 * malloc/mtrace.pl: Likewise.
34777 * nscd/nscd.c (print_version): Likewise.
34778 * nss/getent.c: Likewise.
34779
a77e8cbc
UD
34780 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34781 PF_CAIF, and PF_ALG.
34782 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34783
77e8bddf
AS
347842011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34785
1f20b93a
AS
34786 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34787 (modules-names): Use them.
34788 (ifunc-test-modules, ifunc-pie-tests): Define.
34789 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34790 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34791 (test-extras): Likewise.
34792 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34793 $(compile-command.c).
34794 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34795 (all-built-dso): Define.
34796 (check-textrel.out, check-execstack.out): Depend on it.
34797
77e8bddf
AS
34798 * configure.in: Don't override --enable-multi-arch.
34799
bc425b33
UD
348002011-01-15 Ulrich Drepper <drepper@gmail.com>
34801
34802 [BZ #6812]
34803 * nscd/hstcache.c (tryagain): Define.
34804 (cache_addhst): Return tryagain not notfound for temporary errors.
34805 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34806 failed.
34807
794c3ad3
UD
348082011-01-14 Ulrich Drepper <drepper@gmail.com>
34809
70181fdd
UD
34810 [BZ #10563]
34811 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34812 to make the syscall.
34813 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34814
794c3ad3
UD
34815 [BZ #12378]
34816 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34817 and fall back to matching as normal character if the string ends before
34818 the matching ']' is found. This is what POSIX requires.
34819 * posix/testfnm.c: Adjust test result.
34820 * posix/globtest.sh: Adjust test result. Add new test.
34821 * posix/tst-fnmatch.input: Likewise.
34822 * posix/tst-fnmatch2.c: Add new test.
34823
68dc9497
AS
348242010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34825
34826 * elf/Makefile (check-execstack): Revert last change. Depend on
34827 check-execstack.h.
34828 (check-execstack.h): New target.
34829 (generated): Add check-execstack.h.
34830 * elf/check-execstack.c: Include "check-execstack.h".
34831 (main): Revert last change.
34832 (handle_file): Return zero if GNU_STACK is absent and
34833 DEFAULT_STACK_PERMS doesn't include PF_X.
34834
451f001b
UD
348352011-01-13 Ulrich Drepper <drepper@gmail.com>
34836
cfa28e56
UD
34837 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34838 in child fails because the descriptor is already closed.
8cf8ce17
UD
34839 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34840 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34841 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 34842
1086d70d
UD
34843 [BZ #12397]
34844 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34845 syscall.
34846
451f001b
UD
34847 [BZ #10484]
34848 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34849 temporary buffer used to handle multi lookups locally.
a85b5cb4 34850 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 34851
08769175
UD
348522011-01-12 Ulrich Drepper <drepper@gmail.com>
34853
34854 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34855 loader is ld.so.
34856
5e49c52e
UD
348572011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34858
34859 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34860 alignment for SSE2.
34861
60522a5f
UD
348622011-01-12 Ulrich Drepper <drepper@gmail.com>
34863
34864 [BZ #12394]
34865 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34866 characters. When rounding increased number of integer digits recompute
34867 number of groups.
34868 * stdio-common/tst-grouping.c: New file.
34869 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34870
f257bbd7
UD
348712011-01-09 Ulrich Drepper <drepper@gmail.com>
34872
34873 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34874 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34875
34876 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34877 void.
34878 * bits/select.h: Likewise.
34879
fa9c15cb
UD
348802011-01-08 Ulrich Drepper <drepper@gmail.com>
34881
34882 * po/ja.po: Update from translation team.
34883
16c2895f
DM
348842011-01-04 David S. Miller <davem@sunset.davemloft.net>
34885
34886 [BZ #11155]
34887 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34888 implementation just like for lxstat, fxstatat, et al.
34889
2543fef2
JM
348902010-12-27 Jim Meyering <meyering@redhat.com>
34891
34892 [BZ #12348]
34893 * posix/regexec.c (build_trtable): Return failure indication upon
34894 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34895
98727dbe
UD
348962010-12-25 Ulrich Drepper <drepper@gmail.com>
34897
5bd6dc5c
UD
34898 [BZ #12201]
34899 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34900 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34901 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34902 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34903
97983464
UD
34904 [BZ #12207]
34905 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34906
98727dbe
UD
34907 [BZ #12204]
34908 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34909 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34910
4a531bb0
L
349112010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34912
34913 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34914 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34915 script has SORT_BY_INIT_PRIORITY.
34916 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34917 NO_CTORS_DTORS_SECTIONS is defined.
34918 * elf/soinit.c: Likewise.
34919 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34920 NO_CTORS_DTORS_SECTIONS is defined.
34921 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34922 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34923 * sysdeps/sh/init-first.c: Likewise.
34924 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34925
07eb4b71
UD
349262010-12-24 Ulrich Drepper <drepper@gmail.com>
34927
34928 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34929 always use the slow path.
34930
30950a5f
RA
349312010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34932
34933 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34934 similar rule which adds the sysdep directories to the header search in
34935 order to pick up the correct platform stackinfo.h.
34936 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34937 perform test if it is, otherwise return successfully without testing.
34938 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34939 DEFAULT_STACK_PERMS define in stackinfo.h.
34940 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34941 defined in stackinfo.h.
34942 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34943 DEFAULT_STACK_PERMS defined in stackinfo.h.
34944 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34945 * sysdeps/ia64/stackinfo.h: Likewise.
34946 * sysdeps/s390/stackinfo.h: Likewise.
34947 * sysdeps/sh/stackinfo.h: Likewise.
34948 * sysdeps/sparc/stackinfo.h: Likewise.
34949 * sysdeps/x86_64/stackinfo.h: Likewise.
34950 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34951 PF_X for powerpc64. Retain PF_X for powerpc32.
34952
db753e2c
UD
349532010-12-19 Ulrich Drepper <drepper@gmail.com>
34954
14b697f7
UD
34955 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34956 accurately.
db753e2c
UD
34957 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34958 GETDENTS_64BIT_ALIGNED.
34959
28300719
UD
349602010-12-14 Ulrich Drepper <dreper@gmail.com>
34961
14b697f7 34962 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 34963
4f197237
AS
349642010-12-10 Andreas Schwab <schwab@redhat.com>
34965
dbb0472f
AS
34966 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
34967 _GNU_SOURCE.
34968
4f197237
AS
34969 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
34970 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
34971 Remove __restrict.
34972 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
34973 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
34974
fb88ac72
UD
349752010-12-09 Ulrich Drepper <drepper@gmail.com>
34976
34977 [BZ #11655]
34978 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
34979 are initialized.
34980
42acbb92
JJ
349812010-12-09 Jakub Jelinek <jakub@redhat.com>
34982
34983 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
34984
c038d98d
UD
349852010-12-03 Ulrich Drepper <drepper@gmail.com>
34986
34987 * po/it.po: Update from translation team.
34988
3a4a2499
L
349892010-12-01 H.J. Lu <hongjiu.lu@intel.com>
34990
34991 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
34992 unused codes.
34993
1e24cf6e
UD
349942010-11-30 Ulrich Drepper <drepper@gmail.com>
34995
34996 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
34997
a7690819
AS
349982010-11-24 Andreas Schwab <schwab@redhat.com>
34999
35000 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35001 specially.
35002 (gaih_getanswer_slice): Likewise.
35003
3bf8d1b1
JJ
350042010-10-20 Jakub Jelinek <jakub@redhat.com>
35005
35006 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35007
6db52fbb
PB
350082010-05-31 Petr Baudis <pasky@suse.cz>
35009
35010 [BZ #11149]
35011 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35012 silently even in the chroot mode.
35013
eaca7569
UD
350142010-11-22 Ulrich Drepper <drepper@gmail.com>
35015
35016 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35017 last patch a bit. Pretty printing
35018
3056dcdb
UD
350192010-05-31 Petr Baudis <pasky@suse.cz>
35020
35021 [BZ #10085]
35022 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35023 initialization of skip_initgroups_dyn.
35024
cf7c9078
UD
350252010-11-19 Ulrich Drepper <drepper@gmail.com>
35026
35027 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35028 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35029
a1fb5e3e
UD
350302010-11-16 Ulrich Drepper <drepper@gmail.com>
35031
35032 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35033
3540d66b
AS
350342010-11-11 Andreas Schwab <schwab@redhat.com>
35035
35036 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35037 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35038 (tst-fnmatch-ENV): Set MALLOC_TRACE.
35039 ($(objpfx)tst-fnmatch-mem): New rule.
35040 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35041 * posix/tst-fnmatch.c (main): Call mtrace.
35042
13b69574
L
350432010-11-11 H.J. Lu <hongjiu.lu@intel.com>
35044
35045 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35046 Support Intel processor model 6 and model 0x2c.
35047
da93d214
LM
350482010-11-10 Luis Machado <luisgpm@br.ibm.com>
35049
35050 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35051 signed comparison.
35052
8ca52c6e
L
350532010-11-09 H.J. Lu <hongjiu.lu@intel.com>
35054
35055 [BZ #12205]
35056 * string/test-strncasecmp.c (check_result): New function.
35057 (do_one_test): Use it.
35058 (check1): New function.
35059 (test_main): Use it.
35060 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35061 Support strcasecmp and strncasecmp.
35062
69da074d
UD
350632010-11-08 Ulrich Drepper <drepper@gmail.com>
35064
35065 [BZ #12194]
35066 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35067 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35068
ff02d528
L
350692010-11-07 H.J. Lu <hongjiu.lu@intel.com>
35070
35071 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35072 IFUNC support.
35073 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35074 memset-x86-64.
35075 * sysdeps/x86_64/multiarch/bzero.S: New file.
35076 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35077 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35078 * sysdeps/x86_64/multiarch/memset.S: New file.
35079 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35080 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35081 Set bit_Prefer_SSE_for_memop for Intel processors.
35082 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35083 Define.
35084 (index_Prefer_SSE_for_memop): Define.
35085 (HAS_PREFER_SSE_FOR_MEMOP): Define.
35086
344d0b54
LM
350872010-11-04 Luis Machado <luisgpm@br.ibm.com>
35088
35089 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35090 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35091
c0dde15b
UD
350922010-11-03 H.J. Lu <hongjiu.lu@intel.com>
35093
35094 [BZ #12191]
35095 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35096 (__x86_64_raw_data_cache_size_half): Likewise.
35097 (__x86_64_raw_shared_cache_size): Likewise.
35098 (__x86_64_raw_shared_cache_size_half): Likewise.
35099
35100 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35101 (__x86_64_raw_data_cache_size_half): Likewise.
35102 (__x86_64_raw_shared_cache_size): Likewise.
35103 (__x86_64_raw_shared_cache_size_half): Likewise.
35104 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35105 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35106 and __x86_64_raw_shared_cache_size_half. Round
35107 __x86_64_data_cache_size_half, __x86_64_data_cache_size
35108 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35109 to multiple of 256 bytes.
35110
0e516e0e
MS
351112010-11-03 Ulrich Drepper <drepper@gmail.com>
35112
35113 [BZ #12167]
35114 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35115 of inacessible symlinks. Verify result of symlink before returning it.
35116 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35117 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35118
0e012e87
ER
351192010-10-28 Erich Ritz <erichritz@gmail.com>
35120
35121 * math/math.h (isinf): Fix typo in comment.
35122
de0ff7bc
UD
351232010-11-01 Ulrich Drepper <drepper@gmail.com>
35124
35125 * po/da.po: Update from translation team.
35126
fa41c84d
UD
351272010-10-26 Ulrich Drepper <drepper@gmail.com>
35128
35129 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35130 is added to the list.
35131
f0967738
AK
351322010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35133 Ulrich Drepper <drepper@gmail.com>
35134
35135 * elf/dl-object.c (_dl_new_object): Don't append the new object to
35136 the global list here. Move code to...
35137 (_dl_add_to_namespace_list): ...here. New function.
35138 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35139 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35140 * elf/dl-load.c (lose): Don't remove the element from the list.
35141 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35142 (_dl_map_object): Likewise.
35143
351442010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
35145
35146 [BZ #12159]
35147 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35148 into all bytes of SSE register.
35149 Patch by Richard Li <richardpku@gmail.com>.
35150
f0967738 351512010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
35152
35153 [BZ #12140]
35154 * malloc/malloc.c (_int_free): Fill correct number of bytes when
35155 perturbing.
35156
d0b9e94f
MB
351572010-10-20 Michael B. Brutman <brutman@us.ibm.com>
35158
35159 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35160 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35161 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35162 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35164 submachine.
35165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35166
8e9f92e9
AS
351672010-10-22 Andreas Schwab <schwab@redhat.com>
35168
35169 * include/dlfcn.h (__RTLD_SECURE): Define.
35170 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
35171 mode & __RTLD_SECURE instead.
35172 (open_path): Rename preloaded parameter to secure.
35173 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35174 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35175 * elf/dl-deps.c (openaux): Likewise.
35176 * elf/rtld.c (struct map_args): Remove is_preloaded.
35177 (map_doit): Don't use it.
35178 (dl_main): Likewise.
35179 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35180 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35181
bc96fbda
AS
351822010-09-09 Andreas Schwab <schwab@redhat.com>
35183
35184 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35185 (sysd-rules-targets): Remove duplicates.
35186 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35187 rtld-%.$o dependency.
35188
22cd1c9b
AS
351892010-10-18 Andreas Schwab <schwab@redhat.com>
35190
35191 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35192 _dl_map_object do it.
35193
18edac48
UD
351942010-10-19 Ulrich Drepper <drepper@gmail.com>
35195
35196 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35197 fast fma builtins, define the macros in the C99 standard.
35198 (FP_FAST_FMAF): Likewise.
35199 (FP_FAST_FMAL): Likewise.
35200 * sysdeps/x86_64/bits/mathdef.h: Likewise.
35201
35202 * bits/mathdef.h: Update copyright year.
35203 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35204
d2050124
MM
352052010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
35206
35207 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35208 builtins, define the macros in the C99 standard.
35209 (FP_FAST_FMAF): Likewise.
35210 (FP_FAST_FMAL): Likewise.
35211 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35212 multiply/add.
35213 (FP_FAST_FMAF): Likewise.
35214
475facd1
JJ
352152010-10-15 Jakub Jelinek <jakub@redhat.com>
35216
35217 [BZ #3268]
35218 * math/libm-test.inc (fma_test): Some new testcases.
35219 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35220 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35221 y and infinite z. Do multiplication by C already in long double.
35222 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35223 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35224 y and infinite z. Do bitwise or of inexact bit into u.d.
35225 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35226 * sysdeps/i386/fpu/s_fmaf.S: Removed.
35227 * sysdeps/i386/fpu/s_fma.S: Removed.
35228 * sysdeps/i386/fpu/s_fmal.S: Removed.
35229
7c08a05c
JJ
352302010-10-16 Jakub Jelinek <jakub@redhat.com>
35231
35232 [BZ #3268]
35233 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35234 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35235 computation is not scheduled after fetestexcept. Fix value
35236 of minimum denormal long double.
35237
f3f7372d
JJ
352382010-10-14 Jakub Jelinek <jakub@redhat.com>
35239
35240 [BZ #3268]
35241 * math/libm-test.inc (fma_test): Add some more tests.
35242 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35243 correctly.
35244
14d43591
AS
352452010-10-15 Andreas Schwab <schwab@redhat.com>
35246
35247 * scripts/data/localplt-s390-linux-gnu.data: New file.
35248 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35249
5e908464
JJ
352502010-10-13 Jakub Jelinek <jakub@redhat.com>
35251
35252 [BZ #3268]
35253 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35254 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35255 instead of dbl-64.
35256 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35257 inlines.
35258 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35259 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35260 if one of x and y is very large and the other is subnormal.
35261 * sysdeps/s390/fpu/s_fmaf.c: New file.
35262 * sysdeps/s390/fpu/s_fma.c: New file.
35263 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35264 * sysdeps/powerpc/fpu/s_fma.S: New file.
35265 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35266 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35267 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35268
352692010-10-12 Jakub Jelinek <jakub@redhat.com>
35270
35271 [BZ #3268]
35272 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35273 fma tests.
35274 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35275 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35276 * sysdeps/i386/i686/multiarch/s_fma.c: Include
35277 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35278 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35279 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35280 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35281
b833d51f
UD
352822010-10-12 Ulrich Drepper <drepper@redhat.com>
35283
35284 [BZ #12078]
35285 * posix/regcomp.c (parse_branch): One more memory leak plugged.
35286 * posix/bug-regex31.input: Add test case.
35287
1751705d
UD
352882010-10-11 Ulrich Drepper <drepper@gmail.com>
35289
e9b9cbf5
UD
35290 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35291 * posix/bug-regex31.input: New file.
35292
35293 [BZ #12078]
35294 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35295 (parse_sub_exp): Fix last change, use postorder.
35296
ef06edbe
UD
35297 * posix/bug-regex31.c: New file.
35298 * posix/Makefile: Add rules to build and run bug-regex31.
35299
a129c80d
UD
35300 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35301
35302 [BZ #12078]
35303 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35304
b76b818e
UD
35305 [BZ #12108]
35306 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35307 to have entries in sys_siglist.
35308
1751705d
UD
35309 [BZ #12093]
35310 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35311 be NULL.
35312
9ff8d36f
JJ
353132010-10-07 Jakub Jelinek <jakub@redhat.com>
35314
35315 [BZ #3268]
35316 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35317 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35318 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35319 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35320 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35321 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35322 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35323 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35324 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35325 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35326 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35327 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35328 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35329 * math/ftestexcept.c (fetestexcept): Likewise.
35330 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35331 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35332 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35333 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35334 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35335 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35336 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35337
af325969
UD
353382010-10-11 Ulrich Drepper <drepper@gmail.com>
35339
c579b202 35340 [BZ #12107]
af325969
UD
35341 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35342 newline.
35343
67a67b95
UD
353442010-10-06 Ulrich Drepper <drepper@gmail.com>
35345
35346 * string/bug-strstr1.c: New file.
35347 * string/Makefile: Add rules to build and run bug-strstr1.
35348
5fb308bc
EB
353492010-10-05 Eric Blake <eblake@redhat.com>
35350
35351 [BZ #12092]
35352 * string/str-two-way.h (two_way_long_needle): Always clear memory
35353 when skipping input due to the shift table.
35354
45db99c7
UD
353552010-10-03 Ulrich Drepper <drepper@gmail.com>
35356
3b111893
UD
35357 [BZ #12005]
35358 * malloc/mcheck.c: Handle large requests.
35359
45db99c7
UD
35360 [BZ #12077]
35361 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35362 for strncmp and strncasecmp.
35363 * string/stratcliff.c: Add tests for strcmp and strncmp.
35364 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35365
cf7a1eb8
NI
353662010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35367
35368 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35369 __set_fpscr.
35370
6484ba5e
AJ
353712010-09-30 Andreas Jaeger <aj@suse.de>
35372
35373 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35374 (CGROUP_SUPER_MAGIC): Define.
35375 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35376 Handle btrfs and cgroup file systems.
35377 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35378 Likewise.
35379
91c42559
LM
353802010-09-27 Luis Machado <luisgpm@br.ibm.com>
35381
35382 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35383 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35384
87a97932
AK
353852010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35386
35387 [BZ #12067]
35388 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35389 trying to locate the ELF header.
35390
c21cc9bc
AS
353912010-09-27 Andreas Schwab <schwab@redhat.com>
35392
35393 [BZ #11611]
35394 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35395 Mask out sign-bit copies when constructing f_fsid.
35396
315970f6
PB
353972010-09-24 Petr Baudis <pasky@suse.cz>
35398
35399 * debug/stack_chk_fail_local.c: Add missing licence exception.
35400 * debug/warning-nop.c: Likewise.
35401
1ac7a2c7
JM
354022010-09-15 Joseph Myers <joseph@codesourcery.com>
35403
35404 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35405 implementing getdents64 using getdents syscall, set d_type if
35406 __ASSUME_GETDENTS32_D_TYPE.
35407
56801c50
AS
354082010-09-16 Andreas Schwab <schwab@redhat.com>
35409
35410 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35411 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35412
dda51327
UD
354132010-09-21 Ulrich Drepper <drepper@redhat.com>
35414
35415 [BZ #12037]
35416 * posix/unistd.h: Undo change of feature selection for ftruncate from
35417 2010-01-11.
35418
8ffcee4a
UD
354192010-09-20 Ulrich Drepper <drepper@redhat.com>
35420
a545ecd9 35421 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
35422 detection.
35423
e24f0a8b
AS
354242010-09-20 Andreas Schwab <schwab@redhat.com>
35425
35426 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35427 fanotify_mark.
35428 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35429
7291c56f
AS
354302010-09-14 Andreas Schwab <schwab@redhat.com>
35431
35432 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35433 variables after CHECK_SP call.
35434 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35435
bc5fb037
AS
354362010-09-13 Andreas Schwab <schwab@redhat.com>
35437 Ulrich Drepper <drepper@redhat.com>
35438
35439 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35440 re-relocationg ld.so.
35441 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35442 _dl_init_paths call.
35443 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
35444 here anymore.
35445
e66e7419
UD
354462010-09-14 Ulrich Drepper <drepper@redhat.com>
35447
35448 * resolv/res_init.c (__res_vinit): Count the default server we added.
35449
c044aa75
CLT
354502010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
35451 Ulrich Drepper <drepper@redhat.com>
35452
35453 [BZ #11968]
35454 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35455 (____longjmp_chk): Use %ebx for saving value across system call.
35456 Add unwind info.
35457
32cf4069
AS
354582010-09-06 Andreas Schwab <schwab@redhat.com>
35459
35460 * manual/Makefile: Don't mix pattern rules with normal rules.
35461
817328ee
AS
354622010-09-05 Andreas Schwab <schwab@linux-m68k.org>
35463
35464 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35465 operation.
35466 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35467 * libio/iofopncook.c (_IO_cookie_init): Likewise.
35468 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35469 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35470 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35471 Likewise.
35472
29fddf61
UD
354732010-09-04 Ulrich Drepper <drepper@redhat.com>
35474
35475 [BZ #11979]
35476 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35477 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35478
0959ffc9
UD
354792010-09-02 Ulrich Drepper <drepper@redhat.com>
35480
35481 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35482 * sysdeps/x86_64/addmul_1.S: Likewise.
35483 * sysdeps/x86_64/lshift.S: Likewise.
35484 * sysdeps/x86_64/mul_1.S: Likewise.
35485 * sysdeps/x86_64/rshift.S: Likewise.
35486 * sysdeps/x86_64/sub_n.S: Likewise.
35487 * sysdeps/x86_64/submul_1.S: Likewise.
35488
ece29840
ST
354892010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
35490
0959ffc9
UD
35491 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35492 Define __sched_param instead of SCHED_* and sched_param when
ece29840 35493 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 35494 * bits/sched.h [__need_schedparam]
ece29840 35495 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
35496 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35497 (__defined_schedparam): Define to 1.
ece29840
ST
35498 (__sched_param): New structure, identical to sched_param.
35499 (__need_schedparam): Undefine.
35500
e53a31fe
MF
355012010-08-31 Mike Frysinger <vapier@gentoo.org>
35502
fdc0c10d
MF
35503 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35504 (epoll_create1): Declare.
35505
e53a31fe
MF
35506 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35507
a726d796
AS
355082010-08-31 Andreas Schwab <schwab@redhat.com>
35509
35510 [BZ #7066]
35511 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35512 shifting retval into place.
35513
2f3e3dc7
UD
355142010-09-01 Ulrich Drepper <drepper@redhat.com>
35515
f2933da9
UD
35516 * nis/rpcsvc/nis.h: Update copyright notice.
35517 * nis/rpcsvc/nis.x: Likewise.
35518 * nis/rpcsvc/nis_callback.h: Likewise.
35519 * nis/rpcsvc/nis_callback.x: Likewise.
35520 * nis/rpcsvc/nis_object.x: Likewise.
35521 * nis/rpcsvc/nis_tags.h: Likewise.
35522 * nis/rpcsvc/yp.h: Likewise.
35523 * nis/rpcsvc/yp.x: Likewise.
35524 * nis/rpcsvc/ypupd.h: Likewise.
35525 * nis/yp_xdr.c: Likewise.
35526 * nis/ypupdate_xdr.c: Likewise.
35527
2f3e3dc7
UD
35528 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
35529 mainly the body of pmap_getport. Add parameters to specify timeouts.
35530 (pmap_getport): Use __libc_rpc_getport.
35531 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35532 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35533 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35534
f3dcc2f9
AS
355352010-08-31 Andreas Schwab <schwab@linux-m68k.org>
35536
35537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35538 fanotify_mark.
35539
6d34eb5b
RM
355402010-08-27 Roland McGrath <roland@redhat.com>
35541
35542 * sysdeps/i386/i686/multiarch/Makefile
35543 (CFLAGS-varshift.c): New variable.
35544
9ea3de11
UD
355452010-08-27 Ulrich Drepper <drepper@redhat.com>
35546
c96d23fc
UD
35547 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35548 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35549
9ea3de11
UD
35550 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35551
35552 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35553
623aac7f
L
355542010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35555
35556 * sysdeps/x86_64/strlen.S: Unroll the loop.
35557 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35558 strlen-sse2 strlen-sse2-bsf.
35559 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35560 __strlen_no_bsf if bit_Slow_BSF is set.
35561 (__strlen_sse42): Removed.
35562 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35563 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35564
8b2b7715
RM
355652010-08-25 Roland McGrath <roland@redhat.com>
35566
35567 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35568 * sysdeps/x86_64/multiarch/varshift.c: New file.
35569 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35570 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35571 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35572 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35573
e73015f2
L
355742010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35575
35576 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35577 strlen-sse2 strlen-sse2-bsf.
35578 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35579 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35580 (__strlen_sse2): Removed.
35581 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35582 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35583 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35584 bit_Slow_BSF for Atom.
35585 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35586 (index_Slow_BSF): Define.
35587 (HAS_SLOW_BSF): Define.
35588
df24a73e
UD
355892010-08-25 Ulrich Drepper <drepper@redhat.com>
35590
35591 [BZ #10851]
35592 * resolv/res_init.c (__res_vinit): When no server address at all
35593 is given default to loopback.
35594
f2ac4868
RM
355952010-08-24 Roland McGrath <roland@redhat.com>
35596
09055553
RM
35597 * configure.in: Remove config-name.h generation.
35598 * configure: Regenerated.
35599 * config-name.in: File removed.
35600 * scripts/config-uname.sh: New file.
35601 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35602 ($(objdir)config-name.h): New target.
35603
f2ac4868
RM
35604 * sunrpc/rpc_parse.h: Avoid nested comment.
35605
73f27d5e
RH
356062010-08-24 Richard Henderson <rth@redhat.com>
35607 Ulrich Drepper <drepper@redhat.com>
35608 H.J. Lu <hongjiu.lu@intel.com>
35609
35610 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35611 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35612 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35613 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35614 _mm_alignr_epi8 with _mm_loadu_si128.
35615 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35616 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35617 (__m128i_shift_right): Removed.
35618 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35619 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35620 * sysdeps/x86_64/multiarch/varshift.h: New file.
35621 * sysdeps/x86_64/multiarch/varshift.S: New file.
35622
84b9230c
MF
356232010-08-21 Mike Frysinger <vapier@gentoo.org>
35624
35625 * configure.in: Move assembler checks to before sysdep dir checking.
35626
9bbd0ddc
PB
356272010-08-20 Petr Baudis <pasky@suse.cz>
35628
35629 * LICENSES: Sync the sunrpc license.
35630
9da4bb31
UD
356312010-08-19 Ulrich Drepper <drepper@redhat.com>
35632
a7ab6ec8
UD
35633 * sunrpc/auth_des.c: Update copyright notice once again.
35634 * sunrpc/auth_none.c: Likewise.
35635 * sunrpc/auth_unix.c: Likewise.
35636 * sunrpc/authdes_prot.c: Likewise.
35637 * sunrpc/authuxprot.c: Likewise.
35638 * sunrpc/bindrsvprt.c: Likewise.
35639 * sunrpc/clnt_gen.c: Likewise.
35640 * sunrpc/clnt_perr.c: Likewise.
35641 * sunrpc/clnt_raw.c: Likewise.
35642 * sunrpc/clnt_simp.c: Likewise.
35643 * sunrpc/clnt_tcp.c: Likewise.
35644 * sunrpc/clnt_udp.c: Likewise.
35645 * sunrpc/clnt_unix.c: Likewise.
35646 * sunrpc/des_crypt.c: Likewise.
35647 * sunrpc/des_soft.c: Likewise.
35648 * sunrpc/get_myaddr.c: Likewise.
35649 * sunrpc/getrpcport.c: Likewise.
35650 * sunrpc/key_call.c: Likewise.
35651 * sunrpc/key_prot.c: Likewise.
35652 * sunrpc/openchild.c: Likewise.
35653 * sunrpc/pm_getmaps.c: Likewise.
35654 * sunrpc/pm_getport.c: Likewise.
35655 * sunrpc/pmap_clnt.c: Likewise.
35656 * sunrpc/pmap_prot.c: Likewise.
35657 * sunrpc/pmap_prot2.c: Likewise.
35658 * sunrpc/pmap_rmt.c: Likewise.
35659 * sunrpc/rpc/auth.h: Likewise.
35660 * sunrpc/rpc/auth_unix.h: Likewise.
35661 * sunrpc/rpc/clnt.h: Likewise.
35662 * sunrpc/rpc/des_crypt.h: Likewise.
35663 * sunrpc/rpc/key_prot.h: Likewise.
35664 * sunrpc/rpc/netdb.h: Likewise.
35665 * sunrpc/rpc/pmap_clnt.h: Likewise.
35666 * sunrpc/rpc/pmap_prot.h: Likewise.
35667 * sunrpc/rpc/pmap_rmt.h: Likewise.
35668 * sunrpc/rpc/rpc.h: Likewise.
35669 * sunrpc/rpc/rpc_des.h: Likewise.
35670 * sunrpc/rpc/rpc_msg.h: Likewise.
35671 * sunrpc/rpc/svc.h: Likewise.
35672 * sunrpc/rpc/svc_auth.h: Likewise.
35673 * sunrpc/rpc/types.h: Likewise.
35674 * sunrpc/rpc/xdr.h: Likewise.
35675 * sunrpc/rpc_clntout.c: Likewise.
35676 * sunrpc/rpc_cmsg.c: Likewise.
35677 * sunrpc/rpc_common.c: Likewise.
35678 * sunrpc/rpc_cout.c: Likewise.
35679 * sunrpc/rpc_dtable.c: Likewise.
35680 * sunrpc/rpc_hout.c: Likewise.
35681 * sunrpc/rpc_main.c: Likewise.
35682 * sunrpc/rpc_parse.c: Likewise.
35683 * sunrpc/rpc_parse.h: Likewise.
35684 * sunrpc/rpc_prot.c: Likewise.
35685 * sunrpc/rpc_sample.c: Likewise.
35686 * sunrpc/rpc_scan.c: Likewise.
35687 * sunrpc/rpc_scan.h: Likewise.
35688 * sunrpc/rpc_svcout.c: Likewise.
35689 * sunrpc/rpc_tblout.c: Likewise.
35690 * sunrpc/rpc_util.c: Likewise.
35691 * sunrpc/rpc_util.h: Likewise.
35692 * sunrpc/rpcinfo.c: Likewise.
35693 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35694 * sunrpc/rpcsvc/key_prot.x: Likewise.
35695 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35696 * sunrpc/rpcsvc/mount.x: Likewise.
35697 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35698 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35699 * sunrpc/rpcsvc/rex.x: Likewise.
35700 * sunrpc/rpcsvc/rstat.x: Likewise.
35701 * sunrpc/rpcsvc/rusers.x: Likewise.
35702 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35703 * sunrpc/rpcsvc/spray.x: Likewise.
35704 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35705 * sunrpc/rtime.c: Likewise.
35706 * sunrpc/svc.c: Likewise.
35707 * sunrpc/svc_auth.c: Likewise.
35708 * sunrpc/svc_authux.c: Likewise.
35709 * sunrpc/svc_raw.c: Likewise.
35710 * sunrpc/svc_run.c: Likewise.
35711 * sunrpc/svc_simple.c: Likewise.
35712 * sunrpc/svc_tcp.c: Likewise.
35713 * sunrpc/svc_udp.c: Likewise.
35714 * sunrpc/svc_unix.c: Likewise.
35715 * sunrpc/svcauth_des.c: Likewise.
35716 * sunrpc/xcrypt.c: Likewise.
35717 * sunrpc/xdr.c: Likewise.
35718 * sunrpc/xdr_array.c: Likewise.
35719 * sunrpc/xdr_float.c: Likewise.
35720 * sunrpc/xdr_mem.c: Likewise.
35721 * sunrpc/xdr_rec.c: Likewise.
35722 * sunrpc/xdr_ref.c: Likewise.
35723 * sunrpc/xdr_sizeof.c: Likewise.
35724 * sunrpc/xdr_stdio.c: Likewise.
35725
9da4bb31
UD
35726 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35727 handling.
35728
bdaa77bc
AS
357292010-08-19 Andreas Schwab <schwab@redhat.com>
35730
35731 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35732
fe2f79db
LM
357332010-08-19 Luis Machado <luisgpm@br.ibm.com>
35734
35735 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35736 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35737 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35738 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35739 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35740 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35741 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35742 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35743 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35744 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35745 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35746 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35747 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35748 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35749
b9b42ee0
AB
357502010-07-26 Anton Blanchard <anton@samba.org>
35751
35752 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35753 * malloc/arena.c (heap_trim): Likewise.
35754
1c06ba31
UD
357552010-08-16 Ulrich Drepper <drepper@redhat.com>
35756
35757 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35758 here. Not...
35759 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35760 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35761
f8392f40
L
357622010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35763
35764 * sysdeps/i386/elf/Makefile: New file.
35765
3162f12e
AS
357662010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35767
35768 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35769 from fanotify_init.
35770 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35771 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35772
28c90b2c
UD
357732010-08-15 Ulrich Drepper <drepper@redhat.com>
35774
35775 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35776 of strncasecmp_l.
1feccb6c 35777 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 35778
ca6bb004
UD
357792010-08-14 Ulrich Drepper <drepper@redhat.com>
35780
e9f82e0d
UD
35781 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35782 strncase_l-nonascii.
35783 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35784 Add strncase_l-ssse3.
35785 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35786 * sysdeps/x86_64/strcmp.S: Likewise.
35787 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35788 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35789 * sysdeps/x86_64/strncase.S: New file.
35790 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35791 * sysdeps/x86_64/strncase_l.S: New file.
35792 * string/Makefile (strop-tests): Add strncasecmp.
35793 * string/test-strncasecmp.c: New file.
35794
35795 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35796 warning.
35797
ca6bb004
UD
35798 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35799 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35800
052fa7b3
AS
358012010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35802
35803 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35804
962dba78
UD
358052010-08-12 Ulrich Drepper <drepper@redhat.com>
35806
35807 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35808 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35809 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35810
bebff237
AM
358112010-05-01 Alan Modra <amodra@gmail.com>
35812
35813 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35814 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35815 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35816 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35817 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35818 tidying. Don't tail-call __sigjmp_save for static lib.
35819 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35820 save location.
35821 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35822 (CALL_MCOUNT): Add eh info, and nop after bl.
35823 (TAIL_CALL_SYSCALL_ERROR): New macro.
35824 (PSEUDO_RET): Use it.
35825 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35826 Correct save location of integer regs and cr.
35827 (_dl_profile_resolve): Correct cr save location. Delete nops
35828 after bl when SHARED. Reduce cfi size a little by better
35829 placement of cfi directives.
35830 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35831 make a stack frame. Instead use parm save area as a temp.
35832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35833 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35835 Don't make a stack frame for parent, use parm save area.
35836 Increase child stack frame to 112 bytes. Don't save unused reg,
35837 and adjust reg usage. Set up cfi on error recovery and
35838 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35840 (__makecontext): Add dummy nop after jump to exit.
35841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35842 Use correct parm save area and cr save, reduce stack frame.
35843 Correct cfi for possible PSEUDO_RET frame setup.
35844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35845 Branch to local label emitted by PSEUDO_RET rather than
35846 __syscall_error.
35847
02637374
AS
358482010-08-12 Andreas Schwab <schwab@redhat.com>
35849
35850 [BZ #11904]
35851 * locale/programs/locale.c (print_assignment): New function.
35852 (show_locale_vars): Use it.
35853
c3e2f19b
UD
358542010-08-11 Ulrich Drepper <drepper@redhat.com>
35855
3cdaa6ad
UD
35856 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35857 field.
35858 (struct statfs64): Likewise.
35859 (_STATFS_F_FLAGS): Define.
35860 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35861 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35862 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35863 (ST_VALID): Define locally.
35864 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35865 __statvfs_getflags, use the provided value.
35866 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35867 __ASSUME_STATFS_F_FLAGS.
35868
754f7da3
UD
35869 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35870
10b3bedc
UD
35871 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35872 Add sys/fanotify.h.
35873 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35874 fanotify_mask for GLIBC_2.13.
35875 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35876 fanotify_init and fanotify_mark.
35877 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35878 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35879
c08fb0d7
UD
35880 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35881 Add prlimit.
35882 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35883 prlimit64 for GLIBC_2.13.
35884 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35885 prlimit64.
35886 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35887 syscall.
35888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35889 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35890 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35891 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35892 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
35893 add prlimit alias.
35894 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35895
15bac72b
UD
35896 [BZ #11903]
35897 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35898 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35899
c3e2f19b
UD
35900 * nss/Makefile: Add rules to build and run tst-nss-test1.
35901 * shlib-versions: Add entry for libnss_test1.
35902 * nss/nss_test1.c: New file.
35903 * nss/tst-nss-test1.c: New file.
35904
35905 * nss/nsswitch.c (__nss_database_custom): Define new variable.
35906 (__nss_configure_lookup): Set appropriate entry in
35907 __nss_configure_lookup to true.
35908 * nss/nsswitch.h: Define enum with indeces of databases in
35909 databases and __nss_database_custom arrays. Declare
35910 __nss_database_custom.
35911 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35912 to avoid using nscd when custom rules are installed.
35913 * nss/getXXbyYY_r.c: Likewise.
35914 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35915
35916 * nss/nss_files/files-parse.c: Whitespace fixes.
35917
f15ce4d8
UD
359182010-08-09 Ulrich Drepper <drepper@redhat.com>
35919
35920 [BZ #11883]
35921 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35922 * posix/fnmatch_loop.c: Likewise.
35923
d22e4cc9
AK
359242010-07-17 Andi Kleen <ak@linux.intel.com>
35925
35926 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35927 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35928 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35929 * Versions.def [GLIBC_2.13]: Add.
35930
805bc17d
UD
359312010-08-06 Ulrich Drepper <drepper@redhat.com>
35932
35933 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35934 Also fail if tpwd after pwuid call is NULL.
35935
5a42321d
ST
359362010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35937
35938 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35939 when converting to ms.
35940
fd3ebeda
ST
359412010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35942
35943 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35944 EOPNOTSUPP errors with ENOTTY.
35945 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35946 EOPNOTSUPP errors with ENOTTY.
35947
73507d3a
UD
359482010-07-31 Ulrich Drepper <drepper@redhat.com>
35949
35950 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35951 Add strcasecmp_l-ssse3.
35952 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35953 strcasecmp.
35954 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35955 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35956 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35957
fe36dd02
UD
359582010-07-30 Ulrich Drepper <drepper@redhat.com>
35959
66f6765a
UD
35960 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35961
42e08a54
UD
35962 * string/Makefile (strop-tests): Add strcasecmp.
35963 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35964 strcasecmp_l-nonascii.
35965 (gen-as-const-headers): Add locale-defines.sym.
35966 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
35967 * sysdeps/x86_64/strcasecmp.S: New file.
35968 * sysdeps/x86_64/strcasecmp_l.S: New file.
35969 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
35970 * sysdeps/x86_64/locale-defines.sym: New file.
35971 * string/test-strcasecmp.c: New file.
35972
fe36dd02
UD
35973 * string/test-strcasestr.c: Test both ends of the range of characters.
35974 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
35975
48cbc0d6
RM
359762010-07-29 Roland McGrath <roland@redhat.com>
35977
76e6d6bc 35978 [BZ #11856]
48cbc0d6
RM
35979 * manual/locale.texi (Yes-or-No Questions): Fix example code.
35980
880113d9
UD
359812010-07-27 Ulrich Drepper <drepper@redhat.com>
35982
35983 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
35984 for ld.so.
35985
deb9cabb
AS
359862010-07-27 Andreas Schwab <schwab@redhat.com>
35987
35988 * manual/memory.texi (Malloc Tunable Parameters): Document
35989 M_PERTURB.
35990
1c7570ff
RM
359912010-07-26 Roland McGrath <roland@redhat.com>
35992
35993 [BZ #11840]
35994 * configure.in (-fgnu89-inline check): Set and substitute
35995 gnu89_inline, not libc_cv_gnu89_inline.
35996 * configure: Regenerated.
35997 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
35998
24fb0f88
UD
359992010-07-26 Ulrich Drepper <drepper@redhat.com>
36000
36001 * string/test-strnlen.c: New file.
36002 * string/Makefile (strop-tests): Add strnlen.
36003 * string/tester.c (test_strnlen): Add a few more test cases.
36004 * string/tst-strlen.c: Better error reporting.
36005
36006 * sysdeps/x86_64/strnlen.S: New file.
36007
8e96b93a
UD
360082010-07-24 Ulrich Drepper <drepper@redhat.com>
36009
36010 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36011 lower-latency instructions.
36012
dbc676d4
UD
360132010-07-23 Ulrich Drepper <drepper@redhat.com>
36014
36015 * string/test-strcasestr.c: New file.
36016 * string/test-strstr.c: New file.
36017 * string/Makefile (strop-tests): Add strstr and strcasestr.
36018 * string/str-two-way.h: Don't undefine MAX.
36019 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36020
f6a31e0e
AS
360212010-07-21 Andreas Schwab <schwab@redhat.com>
36022
36023 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36024 strcasestr-nonascii.
36025 (CFLAGS-strcasestr-nonascii.c): Define.
36026 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36027 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36028 Remove unused attribute.
36029
5dbc3b6c
RM
360302010-07-20 Roland McGrath <roland@redhat.com>
36031
36032 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36033 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
36034 ld.so.cache was broken. With it, there is no way to disable dsocaps
36035 like LD_HWCAP_MASK can disable hwcaps.
36036
23d101d8
EPM
360372010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36038
36039 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36040
cc9f2e47
UD
360412010-07-16 Ulrich Drepper <drepper@redhat.com>
36042
36043 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36044 call in strcasestr.
36045 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36046 __strcasestr_sse42_nonascii.
36047 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36048 strcasestr-nonascii.c.
36049 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36050
77c1b069
LM
360512010-06-15 Luis Machado <luisgpm@br.ibm.com>
36052
36053 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36054 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36055 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36056 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36057
440566c3
UD
360582010-07-09 Ulrich Drepper <drepper@redhat.com>
36059
36060 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36061 fcntl.
36062
5be9d05d
AS
360632010-07-06 Andreas Schwab <schwab@redhat.com>
36064
c30b7ee2 36065 [BZ #11577]
5be9d05d
AS
36066 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36067 dl_signal_cerror.
36068
8a492a67
UD
360692010-07-06 Ulrich Drepper <drepper@redhat.com>
36070
36071 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36072 _PC_PIPE_BUF using F_GETPIPE_SZ.
36073
713df3d5
RM
360742010-07-05 Roland McGrath <roland@redhat.com>
36075
36076 * manual/arith.texi (Rounding Functions): Fix rint description
36077 implicit in round description.
36078
702e8f14
UD
360792010-07-02 Ulrich Drepper <drepper@redhat.com>
36080
36081 * elf/Makefile: Fix linking for a few tests to make recent linker
36082 happy.
36083
52ed8be9
AS
360842010-06-30 Andreas Schwab <schwab@redhat.com>
36085
36086 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36087 $(common-objpfx)libc_nonshared.a.
36088
f47c9a11
LM
360892010-06-21 Luis Machado <luisgpm@br.ibm.com>
36090
36091 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36092 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36093 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36094 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36095 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36096 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36097 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36098 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36099 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36100 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36113 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36114 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36115 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36116 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36117 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36118 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36119 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36120 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36121 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36122 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36123 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36124 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36126 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36129 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36139
6fb8cbcb
L
361402010-06-25 H.J. Lu <hongjiu.lu@intel.com>
36141
36142 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36143 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
36144 * string/memmove.c (memmove): Renamed to ...
36145 (MEMMOVE): ...this. Default to memmove.
36146 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36147 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36148 (END_CHK): Define.
36149 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36150 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36151 mempcpy-ssse3-back memmove-ssse3-back.
36152 * sysdeps/x86_64/multiarch/bcopy.S: New file .
36153 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36154 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36155 * sysdeps/x86_64/multiarch/memcpy.S: New file.
36156 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36157 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36158 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36159 * sysdeps/x86_64/multiarch/memmove.c: New file.
36160 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36161 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36162 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36163 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36164 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36165 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36166 Define.
36167 (index_Fast_Copy_Backward): Define.
36168 (HAS_ARCH_FEATURE): Define.
36169 (HAS_FAST_REP_STRING): Define.
36170 (HAS_FAST_COPY_BACKWARD): Define.
36171
4e733bac 361722010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
36173
36174 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36175 Restore proper fallback handling.
36176
63c4ed22
UD
361772010-06-19 Ulrich Drepper <drepper@redhat.com>
36178
ac2b484c
UD
36179 [BZ #11701]
36180 * posix/group_member.c (__group_member): Correct checking loop.
36181
63c4ed22
UD
36182 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36183 OOM in getpwuid_r correctly. Return error number when the caller
36184 should return, otherwise -1.
36185 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36186 call returning > 0 value.
36187 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36188
765ade4b
AS
361892010-06-07 Andreas Schwab <schwab@redhat.com>
36190
36191 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36192 libc_nonshared.a from targets in modules-names.
36193
80da2e09
KS
361942010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
36195
36196 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36197 requires it.
36198
158db122
LM
361992010-06-10 Luis Machado <luisgpm@br.ibm.com>
36200
36201 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36202 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36203 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36204 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36205
caa78cf8
AS
362062010-06-02 Andreas Schwab <schwab@redhat.com>
36207
36208 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36209
b2ef2c01
UD
362102010-06-14 Ulrich Drepper <drepper@redhat.com>
36211
36212 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36213 and F_GETPIPE_SZ.
36214 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36215 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36216 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36217 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36218 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36219 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36220
fbd643b6
RM
362212010-06-14 Roland McGrath <roland@redhat.com>
36222
36223 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36224
f32f2869
JJ
362252010-06-07 Jakub Jelinek <jakub@redhat.com>
36226
36227 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36228 __REDIRECT followed by __THROW.
36229 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36230 * posix/getopt.h (getopt): Likewise.
36231
2a50c078
EPM
362322010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36233
36234 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36235 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36236 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36237 in AT_FLAGS.
36238 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36239 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36240
eb5ad2eb
LM
362412010-05-28 Luis Machado <luisgpm@br.ibm.com>
36242
36243 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36244
3c88fe1e
L
362452010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36246
36247 [BZ #11640]
36248 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36249 Properly check family and model.
36250
d2f73151
TY
362512010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36252
36253 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36254
ebd2e13d
LM
362552010-05-24 Luis Machado <luisgpm@br.ibm.com>
36256
36257 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36258
b32b8b45
UD
362592010-05-21 Ulrich Drepper <drepper@redhat.com>
36260
36261 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36262 symbol reference.
36263
9acbe24d
AS
362642010-05-19 Andreas Schwab <schwab@redhat.com>
36265
36266 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36267 symbol reference.
36268
f0ccf6ea
AS
362692010-05-21 Andreas Schwab <schwab@redhat.com>
36270
3d04ff3a
AS
36271 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36272 and internal_recvmmsg.
36273 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36274 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36275 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36276 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36277
f0ccf6ea
AS
36278 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36279 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36280 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36281
5b08ac57
AS
362822010-05-20 Andreas Schwab <schwab@redhat.com>
36283
36284 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36285
4828935d
LM
362862010-05-17 Luis Machado <luisgpm@br.ibm.com>
36287
36288 POWER7 optimizations.
36289 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36290 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36291
373d545e
UD
362922010-05-19 Ulrich Drepper <drepper@redhat.com>
36293
36294 * version.h: Update for 2.13 development version.
36295
21a2b1ae
AS
362962010-05-12 Andrew Stubbs <ams@codesourcery.com>
36297
36298 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36299 exceptions. Return 0.
36300
3f7dcb2b
RM
363012010-05-07 Roland McGrath <roland@redhat.com>
36302
36303 * elf/ldconfig.c (main): Add a const.
36304
5f24d53a 363052010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 36306
a160f8d8
UD
36307 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36308 (args_options): Add no-idn option.
36309 (ahosts_keys_int): Add idn_flags to ai_flags.
36310 (parse_option): Handle 'i' option to clear idn_flags.
36311
5f24d53a
UD
36312 * malloc/malloc.c (_int_free): Possible race in the most recently
36313 added check. Only act on the data if no current modification
36314 happened.
265bb1ce
UD
36315
36316See ChangeLog.17 for earlier changes.
This page took 4.987438 seconds and 5 git commands to generate.