]> sourceware.org Git - glibc.git/blame - ChangeLog
PowerPC: multiarch strncmp for PowerPC32
[glibc.git] / ChangeLog
CommitLineData
a19e01a3
AZ
12013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2
3 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
4 file.
5 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6 file.
7 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8 multiarch strncmp for PPC32.
9 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
10 multiarch objects.
11 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
12 (__libc_ifunc_impl_list): Likewise.
13
ae9cf7a2
AZ
142013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15
16 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
17 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18 file.
19 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
21 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
22 multiarch objects.
23 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
24 (__libc_ifunc_impl_list): Likewise.
25
3148bb7d
AZ
262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27
28 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
29 file.
30 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
31 file.
32 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
33 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
34 multiarch objects.
35 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
36 (__libc_ifunc_impl_list): Likewise.
37
7af8b946
AZ
382013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39
40 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
41 file.
42 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
43 file.
44 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
45 multiarch rawmemchr for PPC32.
46 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
47 multiarch objects.
48 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49 (__libc_ifunc_impl_list): Likewise.
50
03a6aa6a
AZ
512013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
52
53 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
54 file.
55 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
56 file.
57 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
58 file: memrchr multiarch for PPC32.
59 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
60 multiarch objects.
61 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
62 (__libc_ifunc_impl_list): Likewise.
63
1c62e6d9
AZ
642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
65
66 * string/memchr.c (__memchr): Using macro to redefine symbol name.
67 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
68 file.
69 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
70 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
71 multiarch memchr for PPC32.
72 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
73 multiarch objects.
74 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
75 (__libc_ifunc_impl_list): Likewise.
76
87da8bdb
AZ
772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78
79 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
80 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
81 file.
82 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
83 file.
84 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
85 file: multiarch mempcpy for PPC32.
86 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
87 multiarch objects.
88 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
89 (__libc_ifunc_impl_list): Likewise.
90
20ed4714
AZ
912013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92
93 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
94 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
95 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
96 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
97 multiarch bzero for PPC32.
98 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
99 file.
100 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
101 file.
102 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
103 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
104 file: multiarch memset for PPC32.
105 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
106 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
107 memset multiarch objects.
108 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
109 (__libc_ifunc_impl_list): Likewise.
110
ab3e3a46
AZ
1112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
112
113 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
114 file.
115 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
116 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
117 memcmp for PPC32.
118 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
119 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
120 multiarch objects.
121 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
122 (__libc_ifunc_impl_list): Likewise.
123
930de6f0
AZ
1242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
125
126 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
127 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
128 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
129 file.
130 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
131 file.
132 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
133 file.
134 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
135 multiarch memcpy for PPC32.
136 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
137 multiarch objects.
138 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
139 (__libc_ifunc_impl_list): Likewise.
140
4c628e00
AZ
1412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
142
143 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
144 support multiarch for POWER/PPC32.
145 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
146 Likewise.
147 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
149 Implies file to make multiarch folder appers before the fpu and
150 default folder for power4 configuration.
151
f4479220
SP
1522013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
153
154 * scripts/bench.pl: Append volatile keyword to type.
155
8517800f
KK
1562013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
157
158 * sysdeps/sh/sotruss-lib.c: New file.
159 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
160
180138f1
AZ
1612013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
162
163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
164
bbf37bdc
JM
1652013-12-05 Joseph Myers <joseph@codesourcery.com>
166
e47cc4e0
JM
167 [BZ #6810]
168 * math/w_tgamma.c: Include <errno.h>.
169 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
170 * math/w_tgammaf.c: Include <errno.h>.
171 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
172 * math/w_tgammal.c: Include <errno.h>.
173 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
174 * math/auto-libm-test-in: Do not allow missing errno on tgamma
175 underflow. Add more tgamma tests.
176 * math/auto-libm-test-out: Regenerated.
177 * sysdeps/i386/fpu/libm-test-ulps: Update.
178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
179
bbf37bdc
JM
180 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
181 sin, sinh, tan, tanh, tgamma, y0 and y1.
182 * math/auto-libm-test-out: Regenerated.
183 * math/libm-test.inc (TEST_COND_x86_64): New macro.
184 (TEST_COND_x86): Likewise.
185 (M_E2l): Remove macro.
186 (M_E3l): Likewise.
187 (M_2_SQRT_PIl): Likewise.
188 (M_SQRT_PIl): Likewise.
189 (M_1_DIV_El): Likewise.
190 (log_test_data): Use AUTO_TESTS_f_f.
191 (log10_test_data): Likewise.
192 (log1p_test_data): Likewise.
193 (log2_test_data): Likewise.
194 (sin_test_data): Likewise.
195 (sin_tonearest_test_data): Likewise.
196 (sin_towardzero_test_data): Likewise.
197 (sin_downward_test_data): Likewise.
198 (sin_upward_test_data): Likewise.
199 (sinh_test_data): Likewise.
200 (sinh_tonearest_test_data): Likewise.
201 (sinh_towardzero_test_data): Likewise.
202 (sinh_downward_test_data): Likewise.
203 (sinh_upward_test_data): Likewise.
204 (tan_test_data): Likewise.
205 (tan_tonearest_test_data): Likewise.
206 (tan_towardzero_test_data): Likewise.
207 (tan_downward_test_data): Likewise.
208 (tan_upward_test_data): Likewise.
209 (tanh_test_data): Likewise.
210 (tgamma_test_data): Likewise.
211 (y0_test_data): Likewise.
212 (y1_test_data): Likewise.
213 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
214 (special_real_inputs): Add pi/4.
215 * sysdeps/i386/fpu/libm-test-ulps: Update.
216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
217
eb5ad6b9
AZ
2182013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
219
220 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
221 "longjmp_target" static probes.
222 (__longjmp): Rename to __longjmp_symbol.
223 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
224 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
225 on which longjmp to generate.
226 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
227 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
228 probe.
229 (__sigsetjmp): Rename to __sigsetjmp_symbol.
230 (__sigjmp_save): Rename to __sigjmp_save_symbol.
231 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
232 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
233 and __sigjmp_save_symbol based on which sigsetjmp to generated.
234 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
236 __longjmp_symbol based on which __longjmp to generate.
237 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
238 probe.
239 (setjmp): Rename to setjmp_symbol.
240 (__sigsetjmp): Rename to __sigsetjmp_symbol.
241 (_setjmp): Rename to _setjmp_symbol.
242 (__sigsetjmp): Rename to __sigsetjmp_symbol.
243 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
244 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
245 which setjmp to generate.
246 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
247 "longjmp_target" static probes.
248
d136c6dc
SP
2492013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
250
9298ecba
SP
251 * benchtests/README: Add note about output arguments.
252 * benchtests/bench-sincos.c: Remove file.
253 * benchtests/sincos-inputs: New file.
254 * scripts/bench.pl: Identify output arguments and define
255 static variables for them.
256
232983e9
SP
257 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
258
d136c6dc
SP
259 [BZ #15941]
260 * Makefile (INSTALL): Add install-plain.texi as the primary
261 dependency.
262 * manual/install-plain.texi: New file.
263 * manual/install.texi: Include node directive only for
264 non-plaintext output.
265
699ff837
JM
2662013-12-04 Joseph Myers <joseph@codesourcery.com>
267
ab07cea8
JM
268 * stdlib/longlong.h: Update from GCC.
269
699ff837
JM
270 [BZ #6807]
271 [BZ #15901]
272 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
273 * math/w_j0f.c (y0f): Likewise.
274 * math/w_j0l.c (__y0l): Likewise.
275 * math/w_j1.c (y1): Likewise.
276 * math/w_j1f.c (y1f): Likewise.
277 * math/w_j1l.c (__y1l): Likewise
278 * math/w_jn.c (yn): Likewise.
279 * math/w_jnf.c (ynf): Likewise.
280 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
281 Bessel function pole errors in _POSIX_ mode. Use NAN as return
282 value for Bessel function domain errors outside _SVID_ mode.
283 Adjust sign of return value for yn (negative integer, 0).
284 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
285 by zero in return for negative x and set sign appropriately for
286 negative n.
287 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
288 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
289 * math/libm-test.inc (y0_test_data): Add more tests and adjust
290 expectations in error cases.
291 (y1_test_data): Likewise.
292 (yn_test_data): Likewise.
293 * sysdeps/i386/fpu/libm-test-ulps: Update.
294 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
295
5b118558
UW
2962013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
297
298 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
299 "64" to "64-v1". Add "64-v2".
300 (abi-64-options): Rename to ...
301 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
302 (abi-64-condition): Rename to ...
303 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
304 (abi-64-ld-soname): Rename to ...
305 (abi-64-v1-ld-soname): ... this.
306 (abi-64-v2-options): Define.
307 (abi-64-v2-condition): Likewise.
308 (abi-64-v2-ld-soname): Likewise.
309 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
310 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
314
61cd8fe4
UW
3152013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
316 Alan Modra <amodra@gmail.com>
317
318 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
319 New versions for use with the ELFv2 ABI.
320 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
321 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
322 declaration.
323 (struct La_ppc64v2_retval): Likewise.
324 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
325 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
326 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
327 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
328 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
329 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
330 Do not save or restore CR.
331 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
332 (_dl_profile_resolve): Do no save or restore CR. Support extended
333 return values for ELFv2 ABI. Fix location of FPR return registers.
334 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
335 updated values for _CALL_ELF == 2.
336 (La_regs, La_retval, int_retval): Likewise.
337
8b8a692c
UW
3382013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
339
340 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
341 (FRAME_MIN_SIZE_PARM): Likewise.
342 (FRAME_BACKCHAIN): Likewise.
343 (FRAME_CR_SAVE): Likewise.
344 (FRAME_LR_SAVE): Likewise.
345 (FRAME_TOC_SAVE): Likewise.
346 (FRAME_PARM_SAVE): Likewise.
347 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
348 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
349 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
350 (call_mcount_parm_offset): New macro.
351 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
352 (PROF): Use symbolic stack frame offsets.
353 (TAIL_CALL_SYSCALL_ERROR): Likewise.
354 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
355 Redefine in terms of FRAME_MIN_SIZE.
356 (_dl_runtime_resolve): Use symbolic stack frame offsets.
357 (_dl_profile_resolve): Likewise. Update comment.
358 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
359 symbols stack frame offsets.
360 (__sigsetjmp): Likewise.
361 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
362 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
363 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
364 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
365
366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
367 (FRAME_BACKCHAIN): Remove.
368 (FRAME_CR_SAVE): Likewise.
369 (FRAME_LR_SAVE): Likewise.
370 (FRAME_COMPILER_DW): Likewise.
371 (FRAME_LINKER_DW): Likewise.
372 (FRAME_TOC_SAVE): Likewise.
373 (FRAME_PARM_SAVE): Likewise.
374 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
375 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
376 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
377 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
378 (CHECK_SP): Use symbolic stack frame offsets.
379 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
380 zone" instead of caller's parameter save area for temp storage.
381 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
382 Likewise. Also, use symbolic stack frame offsets.
383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
384 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
385 our own stack frame instead of the caller's.
386 (__socket): Use symbolic stack frame offsets.
387
122b66de
UW
3882013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
389 Alan Modra <amodra@gmail.com>
390
391 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
392 Define.
393 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
394 PPC64_LOCAL_ENTRY_OFFSET): Define.
395 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
396 New function.
397 (elf_machine_fixup_plt): Call it.
398 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
399 reloc arguments.
400 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
401 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
402 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
403 r2 before calling target.
404
696caf1d
UW
4052013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
406 Alan Modra <amodra@gmail.com>
407
408 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
409 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
410 versions of macros to support ELFv2 ABI.
411 (LOCALENTRY): New macro.
412 (ENTRY, EALIGN): Use it.
413 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
414 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
415 fall through into ENTRY entry point.
416 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
417 Only define if _CALL_ELF != 2.
418
419 (elf_machine_matches_host): Verify ABI version matches.
420 (RTLD_START): Use LOCALENTRY.
421 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
422 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
423 (PLT_ENTRY_WORDS): New macro.
424 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
425 (elf_machine_runtime_setup): Support ELFv2 ABI.
426 (elf_machine_fixup_plt): Likewise.
427 (elf_machine_plt_conflict): Likewise.
428 (resolve_ifunc): Likewise.
429 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
430 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
431 Likewise.
432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
433 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
435 (makecontext): Support ELFv2 ABI.
436 * elf/elf.h (EF_PPC64_ABI): Define.
437
d31beafa
UW
4382013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
439
440 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
441 New assembler macro.
442 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
443 [ASSEMBLER] (ENTRY): ... but instead here ...
444 [ASSEMBLER] (EALIGN): ... and here.
445 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
446 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
447 [!ASSEMBLER] (ENTRY_2): Use it.
448 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
449 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
450 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
451 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
452 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
454 Use PPC64_LOAD_FUNCPTR.
455
b525166b
UW
4562013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
457
458 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
459
7ec07d9a
AM
4602013-12-04 Alan Modra <amodra@gmail.com>
461
462 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
463 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
464 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
465 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
466
467 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
468 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
469 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
470 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
471 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
472 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
473
5162e7dd
UW
4742013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
475
476 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
477 (__makecontext): Fix incorrect CFI when backtracing out of
478 context created via makecontext.
479 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
480 (__setcontext): Fix incorrect CFI during switch to new context.
481 (__novec_setcontext): Likewise.
482
19e3372b
OB
4832013-12-04 Ondřej Bílka <neleai@seznam.cz>
484
485 [BZ #4772]
486 * time/strptime_l.c (__strptime_internal): Allow modifiers
487 in strptime.
488 * time/tst-strptime.c (day_tests): Add testcase.
489
490
ecaf142d
SP
4912013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
492
493 * scripts/bench.pl: Skip over blank lines.
494
fbf964ae
PE
4952013-12-04 Paul Eggert <eggert@cs.ucla.edu>
496
497 [BZ #926]
498 * manual/time.texi (Calendar Time): Clarify what timezone functions
499 use.
500
fa60a674
AZ
5012013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
502
503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
504
d674f0ef
OB
5052013-12-04 Ondřej Bílka <neleai@seznam.cz>
506
507 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
508 implementation.
509 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
510 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
511 * debug/memset_chk.c (__memset_chk): Likewise.
512 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
513 * debug/strncpy_chk.c: Likewise.
514
17dea188
JM
5152013-12-03 Joseph Myers <joseph@codesourcery.com>
516
749008ff
JM
517 [BZ #15268]
518 [BZ #15425]
519 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
520 (__ieee754_exp): For possibly underflowing results, check size of
521 result and force underflow exception if required.
522 * math/auto-libm-test-in: Add more tests of exp.
523 * math/auto-libm-test-out: Regenerated.
524 * sysdeps/i386/fpu/libm-test-ulps: Update.
525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
526
17dea188
JM
527 [BZ #16283]
528 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
529 * math/w_exp2f.c (__exp2f): Likewise.
530 * math/w_exp2l.c (__exp2l): Likewise.
531 * math/auto-libm-test-in: Do not allow missing errno on exp2
532 underflow.
533 * math/auto-libm-test-out: Regenerated.
534
b20de2c3
OB
5352013-12-03 Ondřej Bílka <neleai@seznam.cz>
536
537 [BZ #16274]
538 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
539 handle filename validation.
540 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
541 (do_open): Delete.
542
d8e2dbe3
JM
5432013-12-03 Joseph Myers <joseph@codesourcery.com>
544
34e16df5
JM
545 [BZ #6786]
546 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
547 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
548 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
549 <float.h>.
550 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
551 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
552 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
553 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
554 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
555 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
556 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
557 * math/auto-libm-test-in: Don't allow missing errno from erfc.
558 Add more erfc tests.
559 * math/auto-libm-test-out: Regenerated.
560 * sysdeps/i386/fpu/libm-test-ulps: Update.
561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
562
d8e2dbe3
JM
563 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
564 exp2, expm1, j0 and j1.
565 * math/auto-libm-test-out: Regenerated.
566 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
567 (erfc_test_data): Likewise.
568 (exp_test_data): Likewise.
569 (exp_tonearest_test_data): Likewise.
570 (exp_towardzero_test_data): Likewise.
571 (exp_downward_test_data): Likewise.
572 (exp_upward_test_data): Likewise.
573 (exp10_test_data): Likewise.
574 (exp2_test_data): Likewise.
575 (expm1_test_data): Likewise.
576 (j0_test_data): Likewise.
577 (j1_test_data): Likewise.
578 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
579 (input_flag_type): Add flag_xfail_rounding.
580 (input_flags): Add xfail-rounding.
581 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
582 (output_for_one_input_case): Handle flag_xfail_rounding.
583 * sysdeps/i386/fpu/libm-test-ulps: Update.
584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
585
18d14251
AJ
5862013-12-03 Aurelien Jarno <aurelien@aurel32.net>
587
3d2e6075 588 [BZ #16289]
18d14251
AJ
589 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
590 division by 0.
591
520d437b
SP
5922013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
593
594 [BZ #16195]
595 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
596 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
597 (STAP_PROBE0): New macro.
598 (STAP_PROBE1): Likewise.
599 (STAP_PROBE2): Likewise.
600 (STAP_PROBE3): Likewise.
601 (STAP_PROBE4): Likewise.
602
416e0145
OB
6032013-12-02 Ondřej Bílka <neleai@seznam.cz>
604
605 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
606
9d17796a
SE
6072013-12-02 Steve Ellcey <sellcey@mips.com>
608
609 * benchtests/Makefile (bench): Add sqrt.
610 (LDLIBS-bench-sqrt): New.
611 * benchtests/sqrt-input: New.
612
f524d6a8
PS
6132013-12-02 Pavel Simerda <psimerda@redhat.com>
614
639a0ef8
PS
615 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
616 (GAIH_EAI): Likewise.
617 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
618 (gaih_inet): Likewise.
619 (getaddrinfo): Don't use GAIH_EAI.
620
f524d6a8
PS
621 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
622 (struct gaih): Remove definition.
623
df3aedaf
SP
6242013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
625
626 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
627 Use HERRNOP directly.
628
1ab19dec
AZ
6292013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
630
b42ad38d 631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 632
176b0c79
JM
6332013-11-30 Joseph Myers <joseph@codesourcery.com>
634
635 * math/gen-auto-libm-tests.c (test_functions): Add more
636 single-argument functions.
637 (special_fill_pi_2): New function.
638 (special_fill_minus_pi_2): Likewise.
639 (special_fill_pi_6): Likewise.
640 (special_fill_minus_pi_6): Likewise.
641 (special_fill_pi_3): Likewise.
642 (special_fill_2pi_3): Likewise.
643 (special_fill_e): Likewise.
644 (special_fill_1_e): Likewise.
645 (special_fill_e_minus_1): Likewise.
646 (special_real_inputs): Add more special inputs.
647 (output_for_one_input_case): Do not require ERANGE on underflow to
648 zero if round-to-nearest result does not underflow to zero, unless
649 exact results required.
650 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
651 atan, atanh, cbrt, cos and cosh.
652 * math/auto-libm-test-out: Regenerated.
653 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
654 (acos_tonearest_test_data): Likewise.
655 (acos_towardzero_test_data): Likewise.
656 (acos_downward_test_data): Likewise.
657 (acos_upward_test_data): Likewise.
658 (acosh_test_data): Likewise.
659 (asin_test_data): Likewise.
660 (asin_tonearest_test_data): Likewise.
661 (asin_towardzero_test_data): Likewise.
662 (asin_upward_test_data): Likewise.
663 (asinh_test_data): Likewise.
664 (atan_test_data): Likewise.
665 (atanh_test_data): Likewise.
666 (cbrt_test_data): Likewise.
667 (cos_test_data): Likewise.
668 (cos_tonearest_test_data): Likewise.
669 (cos_towardzero_test_data): Likewise.
670 (cos_downward_test_data): Likewise.
671 (cos_upward_test_data): Likewise.
672 (cosh_test_data): Likewise.
673 (cosh_tonearest_test_data): Likewise.
674 (cosh_towardzero_test_data): Likewise.
675 (cosh_downward_test_data): Likewise.
676 (cosh_upward_test_data): Likewise.
677 * sysdeps/i386/fpu/libm-test-ulps: Update.
678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
679
ffb536d0
JM
6802013-11-29 Joseph Myers <joseph@codesourcery.com>
681
2a77a467
JM
682 [BZ #6787]
683 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
684 * math/w_exp10f.c (__exp10f): Likewise.
685 * math/w_exp10l.c (__exp10l): Likewise.
686 * math/libm-test.inc (exp10_test_data): Add more tests and expect
687 errno settings in existing tests.
688
ea3bc4e8
JM
689 [BZ #14032]
690 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
691 precision control set to double precision.
692 * sysdeps/i386/fpu/w_sqrt.c: New file.
693 * math/auto-libm-test-in: Add more tests.
694 * math/auto-libm-test-out: Update.
695
0712c9d8
JM
696 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
697 (sqrt_test_tonearest): New function.
698 (sqrt_towardzero_test_data): New variable.
699 (sqrt_test_towardzero): New function.
700 (sqrt_downward_test_data): New variable.
701 (sqrt_test_downward): New function.
702 (sqrt_upward_test_data): New variable.
703 (sqrt_test_upward): New function.
704 (main): Call the new functions.
705
ffb536d0
JM
706 * math/gen-auto-libm-tests.c: New file.
707 * math/auto-libm-test-in: Likewise.
708 * math/auto-libm-test-out: New generated file.
709 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
710 variables.
711 (%beautify): Add generated representations of zero.
712 (top level): Set $auto_input and call parse_auto_input.
713 (beautify): Remove trailing "f" from hex float constants.
714 (parse_args): Handle XFAIL_TEST.
715 (convert_condition): New function.
716 (or_value): Likewise.
717 (or_cond_value): Likewise.
718 (generate_testfile): Handle AUTO_TESTS_* lines.
719 (parse_auto_input): New function.
720 * math/libm-test.inc (XFAIL_TEST): New macro.
721 (ERRNO_UNCHANGED): Update value.
722 (ERRNO_EDOM): Likewise.
723 (ERRNO_ERANGE): Likewise.
724 (IGNORE_RESULT): Likewise.
725 (TEST_COND_flt_32): New macro.
726 (TEST_COND_dbl_64): Likewise.
727 (TEST_COND_ldbl_96_intel): Likewise.
728 (TEST_COND_ldbl_96_m68k): Likewise.
729 (TEST_COND_ldbl_128): Likewise.
730 (TEST_COND_ldbl_128ibm): Likewise.
731 (TEST_COND_long32): Likewise.
732 (TEST_COND_long64): Likewise.
733 (TEST_COND_before_rounding): Likewise.
734 (TEST_COND_after_rounding): Likewise.
735 (enable_test): Handle XFAIL_TEST flag.
736 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
737 with finite results.
738 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
739 auto-libm-test-out.
740
acd98a8e
AK
7412013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
742 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
743
744 [BZ #16214]
745 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
746 __tls_get_addr_internal instead of __tls_get_offset in order to
747 avoid GOT pointer dependency. Make rtld export
748 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
749 __tls_get_addr since we are a __tls_get_offset platform.
750 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
751 GOT pointer being set up before.
752 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
753
3c1c46a6
JM
7542013-11-28 Joseph Myers <joseph@codesourcery.com>
755
7475aef5
JM
756 * manual/math.texi (Errors in Math Functions): Document accuracy
757 goals.
758
8bca7cd8
JM
759 [BZ #15004]
760 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
761 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
762 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
763 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
764 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
765 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
766 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
767 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
768 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
769 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
770 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
771 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
772 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
773 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
774 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
775 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
776
91a1f3fe
JM
777 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
778 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
779 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
780 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
781 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
782 Likewise.
783 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
784 Likewise.
785 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
786 Likewise.
787 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
788 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
789 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
790 atomic-feupdateenv and flt-rounds.
791 * sysdeps/powerpc/nofpu/Versions (libc): Add
792 __atomic_feholdexcept, __atomic_feclearexcept,
793 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
794 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
795 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
796 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
797 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
798 here.
799 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
800 Update.
801
c5df7609
JM
802 * manual/arith.texi (FP Exceptions): Document that exceptions may
803 not be raised when matherr is used.
804 (Math Error Reporting): Document overflow in directed rounding
805 modes. Document that errno may not be set when finite values are
806 returned on overflow. Document intent to set errno on underflow
807 only for underflow to zero.
808
3c1c46a6
JM
809 [BZ #16271]
810 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
811 round-to-nearest then adjust result for other rounding modes.
812 * include/fenv.h (fegetround): Use libm_hidden_proto.
813 * math/fegetround.c (fegetround): Use libm_hidden_def.
814 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
815 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
816 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
817 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
818 Likewise.
819 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
820 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
821 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
822 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
823
5a4c6d53
SP
8242013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
825
826 [BZ #16077]
827 * nss/Versions (libnss_files): Add
828 _nss_files_gethostbyname3_r.
829 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
830 New function.
831 (HOST_DB_LOOKUP): Remove macro.
832 (_nss_files_gethostbyname_r): Implement function without the
833 HOST_DB_LOOKUP macro.
834 (_nss_files_gethostbyname2_r): Likewise.
835
897b98ba
OB
8362013-11-28 Ondřej Bílka <neleai@seznam.cz>
837
838 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
839
6f476861
UB
8402013-11-26 Uros Bizjak <ubizjak@gmail.com>
841
842 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
843 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
844 warning.
845
bd12ab55
AZ
8462013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
847
848 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
849 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
850 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
851 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
852 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
853 __fe_nomask_env_priv and attribute_hidden.
854 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
855 (libc_feupdateenv_test_ppc): Likewise.
856 (libc_feresetround_ppc): Likewise.
857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
858 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
859 compat_symbol macro.
860 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
861 (__fe_nomask_env): Likewise.
862 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
863
52bb6543
OB
8642013-11-26 Ondřej Bílka <neleai@seznam.cz>
865
866 * string/Makefile: Remove ifunc tests.
867 * string/test-string.h: Define TEST_IFUNC.
868 * string/test-bcopy-ifunc.c: Remove.
869 * string/test-bzero-ifunc.c: Likewise.
870 * string/test-memccpy-ifunc.c: Likewise.
871 * string/test-memchr-ifunc.c: Likewise.
872 * string/test-memcmp-ifunc.c: Likewise.
873 * string/test-memcpy-ifunc.c: Likewise.
874 * string/test-memmem-ifunc.c: Likewise.
875 * string/test-memmove-ifunc.c: Likewise.
876 * string/test-mempcpy-ifunc.c: Likewise.
877 * string/test-memrchr-ifunc.c: Likewise.
878 * string/test-memset-ifunc.c: Likewise.
879 * string/test-rawmemchr-ifunc.c: Likewise.
880 * string/test-stpcpy-ifunc.c: Likewise.
881 * string/test-stpncpy-ifunc.c: Likewise.
882 * string/test-strcasecmp-ifunc.c: Likewise.
883 * string/test-strcasestr-ifunc.c: Likewise.
884 * string/test-strcat-ifunc.c: Likewise.
885 * string/test-strchr-ifunc.c: Likewise.
886 * string/test-strchrnul-ifunc.c: Likewise.
887 * string/test-strcmp-ifunc.c: Likewise.
888 * string/test-strcpy-ifunc.c: Likewise.
889 * string/test-strcspn-ifunc.c: Likewise.
890 * string/test-strlen-ifunc.c: Likewise.
891 * string/test-strncasecmp-ifunc.c: Likewise.
892 * string/test-strncat-ifunc.c: Likewise.
893 * string/test-strncmp-ifunc.c: Likewise.
894 * string/test-strncpy-ifunc.c: Likewise.
895 * string/test-strnlen-ifunc.c: Likewise.
896 * string/test-strpbrk-ifunc.c: Likewise.
897 * string/test-strrchr-ifunc.c: Likewise.
898 * string/test-strspn-ifunc.c: Likewise.
899 * string/test-strstr-ifunc.c: Likewise.
900
ab260039 9012013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
902
903 * benchtests/Makefile: Remove ifunc tests.
904 * benchtests/bench-string.h: Define TEST_IFUNC.
905 * benchtests/bench-bcopy-ifunc.c: Remove.
906 * benchtests/bench-bzero-ifunc.c: Likewise.
907 * benchtests/bench-memccpy-ifunc.c: Likewise.
908 * benchtests/bench-memchr-ifunc.c: Likewise.
909 * benchtests/bench-memcmp-ifunc.c: Likewise.
910 * benchtests/bench-memcpy-ifunc.c: Likewise.
911 * benchtests/bench-memmem-ifunc.c: Likewise.
912 * benchtests/bench-memmove-ifunc.c: Likewise.
913 * benchtests/bench-mempcpy-ifunc.c: Likewise.
914 * benchtests/bench-memrchr-ifunc.c: Likewise.
915 * benchtests/bench-memset-ifunc.c: Likewise.
916 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
917 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
918 * benchtests/bench-stpcpy-ifunc.c: Likewise.
919 * benchtests/bench-stpncpy-ifunc.c: Likewise.
920 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
921 * benchtests/bench-strcasestr-ifunc.c: Likewise.
922 * benchtests/bench-strcat-ifunc.c: Likewise.
923 * benchtests/bench-strchr-ifunc.c: Likewise.
924 * benchtests/bench-strchrnul-ifunc.c: Likewise.
925 * benchtests/bench-strcmp-ifunc.c: Likewise.
926 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
927 * benchtests/bench-strcpy-ifunc.c: Likewise.
928 * benchtests/bench-strcspn-ifunc.c: Likewise.
929 * benchtests/bench-strlen-ifunc.c: Likewise.
930 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
931 * benchtests/bench-strncat-ifunc.c: Likewise.
932 * benchtests/bench-strncmp-ifunc.c: Likewise.
933 * benchtests/bench-strncpy-ifunc.c: Likewise.
934 * benchtests/bench-strnlen-ifunc.c: Likewise.
935 * benchtests/bench-strpbrk-ifunc.c: Likewise.
936 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 937 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
938 * benchtests/bench-strspn-ifunc.c: Likewise.
939 * benchtests/bench-strstr-ifunc.c: Likewise.
940
9412013-11-26 Ondřej Bílka <neleai@seznam.cz>
942
ab260039
OB
943 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
944
d1d9eaf4 9452013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 946
d1d9eaf4
OB
947 * resolv/netdb.h: Use __glibc_reserved instead __unused.
948 * rt/aio.h: Likewise.
949 * sysdeps/gnu/bits/utmp.h: Likewise.
950 * sysdeps/gnu/bits/utmpx.h: Likewise.
951 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
952 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
953 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
954 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
955 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
956 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
957 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
958 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
959 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
960 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
961 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
962 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
963 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
965 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
966 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
967 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
968 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
969 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
970 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
971 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
972 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
973 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
974 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
975 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
976 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
977 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
978 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
979 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
980 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
981 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
982 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
983 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
984 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
985 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
986 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
987 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
988 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
989 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
990 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
991 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
992 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
993
a7624ed9
CD
9942013-11-25 Carlos O'Donell <carlos@redhat.com>
995
996 [BZ #16245]
997 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
998 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
999
63cfe52b
JM
10002013-11-25 Joseph Myers <joseph@codesourcery.com>
1001
1002 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1003 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1004 Likewise.
1005
41e8926a
AZ
10062013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1007
1008 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1009 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1010 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1011 (__fesetround): Remove define.
1012 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1013 rounding and exceptions handling.
1014 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1015 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1016 (__fe_nomask_env): Likewise.
1017 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1018 __fegetround instead of fegetround.
1019 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1020 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1021
6851bd4d
RM
10222013-11-21 Roland McGrath <roland@hack.frob.com>
1023
070906ff
RM
1024 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1025 it's there.
1026
6851bd4d
RM
1027 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1028
84ae135d
MI
10292013-11-21 Meador Inge <meadori@codesourcery.com>
1030
1031 [BZ #11157]
1032 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1033 (encrypt_r): Likewise.
1034 * malloc/obstack.h (obstack_free): Likewise.
1035 * posix/unistd.h (encrypt): Likewise.
1036
daf75146
GM
10372013-11-21 Guy Martin <gmsoft@tuxicoman.be>
1038
1039 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1040 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1041 DL_CALL_DT_FINI() that call the functions directly.
1042 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1043 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1044 * elf/dl-fini.c: Likewise.
1045
10ad46bc
OB
10462013-11-20 Ondřej Bílka <neleai@seznam.cz>
1047
1048 * malloc/hooks.c (memalign_check): Add alignment rounding.
1049 * malloc/malloc.c (_mid_memalign): New function.
1050 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1051 Implement by calling _mid_memalign.
1052 * manual/probes.texi (Memory Allocation Probes): Remove
1053 memory_valloc_retry and memory_pvalloc_retry.
1054
f3fd2628
SP
10552013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
1056
4712799f
SP
1057 * locale/programs/locarchive.c (open_archive): Add const
1058 qualifier to ARCHIVEFNAME and copy default fname to
1059 DEFAULT_FNAME.
1060
0417b20f
SP
1061 [BZ #15601]
1062 * libio/tst-widetext.input: Rename Oriya to Odia.
1063 * locale/iso-639.def: Likewise.
1064
f3fd2628
SP
1065 * manual/probes.texi (Mathematical Function Probes): Add
1066 documentation for sin, cos, asin and acos probes.
1067 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1068 (__sin32): Add slowasin probe.
1069 (__cos32): Add slowacos probe.
1070 (__mpsin): Add slowsin probe.
1071 (__mpcos): Add slowcos probe.
1072
73c1ce4f
JM
10732013-11-19 Joseph Myers <joseph@codesourcery.com>
1074
1075 [BZ #15483]
1076 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1077 thread-local __sim_exceptions_thread and global
1078 __sim_exceptions_global.
1079 (__sim_disabled_exceptions): Change to thread-local
1080 __sim_disabled_exceptions_thread and global
1081 __sim_disabled_exceptions_global.
1082 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1083 and global __sim_round_mode_global.
1084 (__simulate_exceptions): Use thread-local floating-point state and
1085 set global state from it as needed.
1086 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1087 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1088 __sim_round_mode_thread.
1089 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1090 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1091 and global __sim_exceptions_global.
1092 (__sim_disabled_exceptions): Change to thread-local
1093 __sim_disabled_exceptions_thread and global
1094 __sim_disabled_exceptions_global.
1095 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1096 and global __sim_round_mode_global.
1097 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1098 (SIM_SET_GLOBAL): Likewise.
1099 * sysdeps/powerpc/soft-fp/sfp-machine.h
1100 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1101 __sim_round_mode_thread.
1102 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1103 __sim_disabled_exceptions_thread.
1104 (__sim_exceptions): Change to __sim_exceptions_thread.
1105 (__sim_disabled_exceptions): Change to
1106 __sim_disabled_exceptions_thread.
1107 (__sim_round_mode): Change to __sim_round_mode_thread.
1108 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1109 thread-local floating-point state and set global state from it as
1110 needed.
1111 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1112 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1113 (__sim_disabled_exceptions): Remove extern declaration.
1114 (feenableexcept): Use thread-local floating-point state and set
1115 global state from it as needed.
1116 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1117 extern declaration.
1118 (__sim_disabled_exceptions): Likewise.
1119 (__sim_round_mode): Likewise.
1120 (__fegetenv): Use thread-local floating-point state.
1121 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1122 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1123 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1124 floating-point state and set global state from it as needed.
1125 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1126 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1127 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1128 Likewise.
1129 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1130 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1131 Likewise.
1132 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1133 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1134 Use __sim_round_mode_thread.
1135 * math/test-fenv-tls.c: New file.
1136 * math/Makefile (tests): Add test-fenv-tls.
1137 ($(objpfx)test-fenv-tls): Depend on
1138 $(common-objpfx)nptl/libpthread.so.
1139
b5449b12
AS
11402013-11-19 Andreas Schwab <schwab@suse.de>
1141
1142 * locale/programs/locale.c (show_info): Decode wordarray elements.
1143 * locale/categories.def (LC_MONETARY): Add element for
1144 _NL_MONETARY_CRNCYSTR.
1145 * locale/C-monetary.c (conversion_rate): New variable.
1146 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1147 element.
1148
e186536b
CM
11492013-11-18 Chris Metcalf <cmetcalf@tilera.com>
1150
1151 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1152 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1153
5c349950
PP
11542013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
1155
1156 * elf/Makefile (tst-auxv): New test.
1157 * elf/tst-auxv.c: New
1158 * elf/rtld.c (dl_main): Adjust AT_EXECFN
1159
699df45b
JM
11602013-11-18 Joseph Myers <joseph@codesourcery.com>
1161
1162 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1163 (hidden_proto): Caller changed.
1164 (hidden_tls_proto): New macro.
1165 (libc_hidden_tls_proto): Likewise.
1166 (rtld_hidden_tls_proto): Likewise.
1167 (libm_hidden_tls_proto): Likewise.
1168 (libresolv_hidden_tls_proto): Likewise.
1169 (librt_hidden_tls_proto): Likewise.
1170 (libdl_hidden_tls_proto): Likewise.
1171 (libnss_files_hidden_tls_proto): Likewise.
1172 (libnsl_hidden_tls_proto): Likewise.
1173 (libnss_nisplus_hidden_tls_proto): Likewise.
1174 (libutil_hidden_tls_proto): Likewise.
1175
b7589107
OB
11762013-11-18 Ondřej Bílka <neleai@seznam.cz>
1177
1178 [BZ #10253]
1179 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1180 (decompose_rpath): Defer expansion to fillin_rpath.
1181 (_dl_init_paths): Pass linkmap to fillin_rpath.
1182
250c23bd
RS
11832013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1184
1185 * benchtests/Makefile: Add strsep.
1186 * benchtests/bench-strsep.c: New file: strsep benchtest.
1187 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1188
a7931fcf
AS
11892013-11-18 Andreas Schwab <schwab@suse.de>
1190
1191 * locale/programs/locale.c (show_info) [case byte]: Check for
1192 '\377' instead of '\177'.
1193 * locale/C-monetary.c (not_available): Always use "\377".
1194 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1195 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
1196 detect unavailable sign_posn locale elements.
1197 * locale/localeconv.c (__localeconv): For grouping and
1198 mon_grouping handle "\177" and "\377" like no grouping.
1199 (INT_ELEM): New macro. Use it to set all numeric members.
1200 * locale/programs/ld-monetary.c (monetary_read)
1201 <tok_mon_grouping>: Normalize single -1 to the empty string.
1202 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1203 Likewise.
1204
728dab0e
OB
12052013-11-07 Ondřej Bílka <neleai@seznam.cz>
1206
1207 [BZ #16055]
1208 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1209 when we match (nil).
1210 * stdio-common/tst-sscanf.c (struct test): Add testcase.
1211
66294491
JM
12122013-11-16 Joseph Myers <joseph@codesourcery.com>
1213
ce665817
JM
1214 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1215 (NO_TEST_INLINE): Update value.
1216 (ERRNO_UNCHANGED): Likewise.
1217 (ERRNO_EDOM): Likewise.
1218 (ERRNO_ERANGE): Likewise.
1219 (IGNORE_RESULT): Likewise.
1220 (check_float_internal): Check signs of NaN results if
1221 TEST_NAN_SIGN used.
1222 (check_complex): Pass TEST_NAN_SIGN flag through to second
1223 check_float_internal call.
1224 (copysign_test_data): Add tests with quiet NaNs as second
1225 argument. Use TEST_NAN_SIGN.
1226 (fabs_test_data): Add test of negative quiet NaN argument. Use
1227 TEST_NAN_SIGN.
1228 (signbit_test_data): Add tests of quiet NaN argument.
1229 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1230
ee1466a9
JM
1231 * math/gen-libm-test.pl (show_exceptions): Take extra argument
1232 $ignore_result.
1233 (parse_args): Handle function results specified as IGNORE.
1234 * math/libm-test.inc (IGNORE_RESULT): New macro.
1235 (check_float_internal): Do not check numerical result if flag
1236 IGNORE_RESULT set.
1237 (check_complex): Pass through IGNORE_RESULT to second
1238 check_float_internal call.
1239 (check_int): Do not check numerical result if flag IGNORE_RESULT
1240 set.
1241 (check_long): Likewise.
1242 (check_bool): Likewise.
1243 (check_longlong): Likewise.
1244 (lrint_test_data): Add tests of infinite and NaN arguments.
1245 (lrint_tonearest_test_data): Likewise.
1246 (lrint_towardzero_test_data): Likewise.
1247 (lrint_downward_test_data): Likewise.
1248 (lrint_upward_test_data): Likewise.
1249 (llrint_test_data): Likewise.
1250 (llrint_tonearest_test_data): Likewise.
1251 (llrint_towardzero_test_data): Likewise.
1252 (llrint_downward_test_data): Likewise.
1253 (llrint_upward_test_data): Likewise.
1254 (lround_test_data): Likewise.
1255 (llround_test_data): Likewise.
1256
14407b7e
JM
1257 * math/libm-test.inc (NO_TEST_INLINE): New macro.
1258 (ERRNO_UNCHANGED): Update value.
1259 (ERRNO_EDOM): Likewise.
1260 (ERRNO_ERANGE): Likewise.
1261 (NO_TEST_INLINE_FLOAT): New macro.
1262 (NO_TEST_INLINE_DOUBLE): Likewise.
1263 (enable_test): New function.
1264 (RUN_TEST_f_f): Check enable_test before running test.
1265 (RUN_TEST_2_f): Likewise.
1266 (RUN_TEST_fff_f): Likewise.
1267 (RUN_TEST_c_f): Likewise.
1268 (RUN_TEST_f_f1): Likewise.
1269 (RUN_TEST_fF_f1): Likewise.
1270 (RUN_TEST_fI_f1): Likewise.
1271 (RUN_TEST_ffI_f1): Likewise.
1272 (RUN_TEST_c_c): Likewise.
1273 (RUN_TEST_cc_c): Likewise.
1274 (RUN_TEST_f_i): Likewise.
1275 (RUN_TEST_f_i_tg): Likewise.
1276 (RUN_TEST_ff_i_tg): Likewise.
1277 (RUN_TEST_f_b): Likewise.
1278 (RUN_TEST_f_b_tg): Likewise.
1279 (RUN_TEST_f_l): Likewise.
1280 (RUN_TEST_f_L): Likewise.
1281 (RUN_TEST_fFF_11): Likewise.
1282 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1283 conditionals.
1284 (cosh_test_data): Likewise.
1285 (exp_test_data): Likewise.
1286 (expm1_test_data): Likewise.
1287 (hypot_test_data): Likewise.
1288 (pow_test_data): Likewise.
1289 (sinh_test_data): Likewise.
1290 (tanh_test_data): Likewise.
1291 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1292 flags argument.
1293
ca07f197
JM
1294 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1295 tests with quiet NaN input and output.
1296 (acosh_test_data): Likewise.
1297 (asin_test_data): Likewise.
1298 (asinh_test_data): Likewise.
1299 (atan_test_data): Likewise.
1300 (atanh_test_data): Likewise.
1301 (atan2_test_data): Likewise.
1302 (cbrt_test_data): Likewise.
1303 (cos_test_data): Likewise.
1304 (cosh_test_data): Likewise.
1305 (erf_test_data): Likewise.
1306 (erfc_test_data): Likewise.
1307 (exp_test_data): Likewise.
1308 (exp10_test_data): Likewise.
1309 (exp2_test_data): Likewise.
1310 (expm1_test_data): Likewise.
1311 (hypot_test_data): Likewise.
1312 (j0_test_data): Likewise.
1313 (j1_test_data): Likewise.
1314 (jn_test_data): Likewise.
1315 (lgamma_test_data): Likewise.
1316 (log_test_data): Likewise.
1317 (log10_test_data): Likewise.
1318 (log1p_test_data): Likewise.
1319 (log2_test_data): Likewise.
1320 (pow_test_data): Likewise.
1321 (scalb_test_data): Likewise.
1322 (sin_test_data): Likewise.
1323 (sincos_test_data): Likewise.
1324 (sinh_test_data): Likewise.
1325 (tan_test_data): Likewise.
1326 (tanh_test_data): Likewise.
1327 (tgamma_test_data): Likewise.
1328 (y0_test_data): Likewise.
1329 (y1_test_data): Likewise.
1330 (yn_test_data): Likewise.
1331
66294491
JM
1332 [BZ #16167]
1333 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1334 argument being NaN and avoid computations with second argument in
1335 that case.
1336 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1337 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1338 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1339
1820b143
CL
13402013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
1341
1342 * locale/iso-639.def: Add Chitwani Tharu (the).
1343
714bd261
AS
13442013-11-14 Andreas Schwab <schwab@suse.de>
1345
1346 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1347 word instead of empty string.
1348
7ab44563
AZ
13492013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1350
1351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1352 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1353 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1354 (__fe_nomask_env): Likewise.
1355
e8470ea2
SE
13562013-11-13 Steve Ellcey <sellcey@mips.com>
1357
1358 * benchtests/bench-timing.h: Include time.h.
1359
17c1d9f0
L
13602013-11-13 H.J. Lu <hongjiu.lu@intel.com>
1361
1362 [BZ #15997]
1363 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1364 to 3.4.0 for x32.
1365 * sysdeps/unix/sysv/linux/configure: Regenerated.
1366
9310c284
JM
13672013-11-13 Joseph Myers <joseph@codesourcery.com>
1368
1369 [BZ #16151]
1370 * stdlib/strtod_l.c (round_and_return): Do not consider
1371 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1372 exponent one less than half the least subnormal exponent.
1373 * stdlib/test-strtod-round-data: Add more tests.
1374 * stdlib/tst-strtod-round.c (tests): Regenerated.
1375
7a2ad8cf
AZ
13762013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1377
1378 [BZ #14143]
1379 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1380 (__fe_mask_env): Likewise.
1381 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1382 libm_hidden_proto and add function prototype.
1383 (__fe_mask_env): Add function prototype.
1384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1385 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
1386 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
1387 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
1388 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1389 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
1390
50727aa7
MS
13912013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1392
b2f386c1 1393 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
1394 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
1395
a615be46
MS
13962013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
1397
1398 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
1399 of htab_find_slot().
1400
7ddace62
DM
14012013-11-11 David S. Miller <davem@davemloft.net>
1402
1403 [BZ #16150]
1404 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
1405 symbol in the non-vis3 case in static builds.
1406 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
1407 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
1408 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
1409 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
1410
9182aa67
JK
14112013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1412
1413 [BZ #387]
1414 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
1415 it is empty.
1416
450a2e2d
AZ
14172013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1418
b2f386c1
SP
1419 * benchtests/Makefile: Add bench-strtod.
1420 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 1421
8ec3f656
AS
14222013-11-11 Andreas Schwab <schwab@suse.de>
1423
1424 [BZ #16153]
1425 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
1426 terminating NUL in key length.
1427
76a9b998
AZ
14282013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1429
1430 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1431 Add artificial ODP entry for vDSO symbol for PPC64.
1432 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
1433 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
1434
e4368156
OB
14352013-11-07 Ondřej Bílka <neleai@seznam.cz>
1436
1437 [BZ #15374]
1438 * nss/getent.c (services_keys): Recognize services starting with digit.
1439
8d6bb57c
DM
14402013-11-06 David S. Miller <davem@davemloft.net>
1441
1442 [BZ #15985]
1443 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
1444 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
1445
e256c421
WN
14462013-11-06 Will Newton <will.newton@linaro.org>
1447
1448 * manual/memory.texi (Malloc Examples): Remove register
1449 keyword from examples.
1450
f6e12daa 14512013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 1452
f6e12daa 1453 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 1454
9d880655
AS
14552013-11-04 Joseph Myers <joseph@codesourcery.com>
1456
1457 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
1458 depending on [__GCC_IEC_559 > 0].
1459 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
1460 depending on [__GCC_IEC_559_COMPLEX > 0].
1461
ae129d3c
CL
14622013-11-03 Chris Leonard <cjl@sugarlabs.org>
1463
1464 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
1465 to iso-639.def.
1466
4a15c2a4 14672013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
1468
1469 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
1470
8b35e35d
OB
14712013-11-01 Ondřej Bílka <neleai@seznam.cz>
1472
1473 [BZ #16112]
1474 * malloc/malloc (malloc_info): Do not handle first bin as
1475 special case.
1476
1d70fd6c
CL
14772013-11-01 Chris Leonard <cjl@sugarlabs.org>
1478
1479 * locale/iso-639.def: Add Central Nahuatl (nhn).
1480
8c5c2600
BH
14812013-11-01 Bruno Haible <bruno@clisp.org>
1482
1483 [BZ #7003]
1484 * manual/math.texi (BSD Random): Specify range upper bound as
1485 in POSIX.
1486
da5579c2
CL
14872013-10-31 Chris Leonard <cjl@sugarlabs.org>
1488
1489 * locale/iso-639.def: Add Meadow Mari (mhr).
1490
5d30d853
OB
14912013-10-31 Ondřej Bílka <neleai@seznam.cz>
1492
1493 [BZ #14752], [BZ #15763]
1494 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
1495 Validate name.
1496 * rt/tst_shm.c: Add test for escaping directory.
1497
a4966c61
AS
14982013-10-31 Andreas Schwab <schwab@suse.de>
1499
8a43e768 1500 [BZ #15917]
a4966c61
AS
1501 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
1502 followed by 'x' as part of digit sequence.
1503 * stdio-common/tst-sscanf.c (double_tests2): New tests.
1504
28d708c4
MAP
15052013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
1506
1507 [BZ #16037]
1508 * configure.ac: allow GNU Make 4.0 and greater.
1509 * configure: Regenerated.
1510
a56ee40b
WN
15112013-10-30 Will Newton <will.newton@linaro.org>
1512
1513 [BZ #16038]
1514 * malloc/hooks.c (memalign_check): Limit alignment to the
1515 maximum representable power of two.
1516 * malloc/malloc.c (__libc_memalign): Likewise.
1517 * malloc/tst-memalign.c (do_test): Add test for very
1518 large alignment values.
1519 * malloc/tst-posix_memalign.c (do_test): Likewise.
1520
c6e4925d
OB
15212013-10-30 Ondřej Bílka <neleai@seznam.cz>
1522
1523 [BZ #11087]
1524 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
1525 (munmap_chunk): Likewise.
1526 (mremap_chunk): Likewise.
1527
15282013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 1529
8a43e768 1530 [BZ #15799]
bbea82f7
OB
1531 * stdlib/div.c (div): Remove obsolete code.
1532 * stdlib/ldiv.c (ldiv): Likewise.
1533 * stdlib/lldiv.c (lldiv): Likewise.
1534
977f4b31
SP
15352013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
1536
1537 [BZ #16071]
1538 * nss/nss_files/files-XXX.c (get_contents_ret): New
1539 enumerator.
1540 (get_contents): New function.
1541 (internal_getent): Use it. Expand size of LINEBUFLEN.
1542
cb8a6dbd
MF
15432013-10-30 Mike Frysinger <vapier@gentoo.org>
1544
1545 * configure.in: Moved to ...
1546 * configure.ac: ... here. Change reference to configure.in
1547 to configure.ac.
1548 * sysdeps/arm/preconfigure.ac: ... here.
1549 configure.in to configure.ac.
1550 * sysdeps/gnu/configure.in: Moved to ...
1551 * sysdeps/gnu/configure.ac: ... here.
1552 * sysdeps/i386/configure.in: Moved to ...
1553 * sysdeps/i386/configure.ac: ... here.
1554 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
1555 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
1556 * sysdeps/mach/configure.in: Moved to ...
1557 * sysdeps/mach/configure.ac: ... here.
1558 * sysdeps/mach/hurd/configure.in: Moved to ...
1559 * sysdeps/mach/hurd/configure.ac: ... here.
1560 * sysdeps/powerpc/configure.in: Moved to ...
1561 * sysdeps/powerpc/configure.ac: ... here.
1562 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
1563 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
1564 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
1565 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
1566 * sysdeps/s390/s390-32/configure.in: Moved to ...
1567 * sysdeps/s390/s390-32/configure.ac: ... here.
1568 * sysdeps/s390/s390-64/configure.in: Moved to ...
1569 * sysdeps/s390/s390-64/configure.ac: ... here.
1570 * sysdeps/sh/configure.in: Moved to ...
1571 * sysdeps/sh/configure.ac: ... here.
1572 * sysdeps/sparc/configure.in: Moved to ...
1573 * sysdeps/sparc/configure.ac: ... here.
1574 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
1575 * sysdeps/unix/sysv/linux/configure.ac: ... here.
1576 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
1577 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
1578 * sysdeps/x86_64/configure.in: Moved to ...
1579 * sysdeps/x86_64/configure.ac: ... here.
1580 * sysdeps/x86_64/preconfigure.in: Moved to ...
1581 * sysdeps/x86_64/preconfigure.ac: ... here.
1582 * aclocal.m4: Change reference to configure.in to configure.ac.
1583 * config.h.in: Likewise.
1584 * manual/install.texi: Likewise.
1585 * manual/maint.texi: Likewise.
1586 * Makefile: Likewise.
1587 * malloc/Makefile: Likewise.
1588 * nscd/Makefile: Likewise.
1589 * Makeconfig: Change reference to configure.in and
1590 preconfigure.in to configure.ac and preconfigure.ac
1591 respectively.
1592 * INSTALL: Regenerated.
1593 * configure: Likewise.
1594 * sysdeps/gnu/configure: Likewise.
1595 * sysdeps/i386/configure: Likewise.
1596 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
1597 * sysdeps/mach/configure: Likewise.
1598 * sysdeps/mach/hurd/configure: Likewise.
1599 * sysdeps/powerpc/configure: Likewise.
1600 * sysdeps/powerpc/powerpc32/configure: Likewise.
1601 * sysdeps/powerpc/powerpc64/configure: Likewise.
1602 * sysdeps/s390/s390-32/configure: Likewise.
1603 * sysdeps/s390/s390-64/configure: Likewise.
1604 * sysdeps/sh/configure: Likewise.
1605 * sysdeps/sparc/configure: Likewise.
1606 * sysdeps/unix/sysv/linux/configure: Likewise.
1607 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
1608 * sysdeps/x86_64/configure: Likewise.
1609 * sysdeps/x86_64/preconfigure: Likewise.
1610
36a4953a
AS
16112013-10-29 Andreas Schwab <schwab@suse.de>
1612
1613 * stdio-common/Makefile (tst-swscanf-ENV): Define.
1614
c79a1204
SP
16152013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
1616
dfa1b402
SP
1617 * benchtests/pow-inputs: Add new inputs.
1618
54f73d9c
SP
1619 * benchtests/exp-inputs: Add new inputs.
1620
c79a1204
SP
1621 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
1622 conditional check for return value.
1623 (__cos32): Likewise.
1624
67beb545 16252013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
1626
1627 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
1628 to provide a boost for large inputs with word alignment.
1629 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
1630 implementation based on optimized PPC64 strcpy.
1631 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
1632 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
1633 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
1634 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
1635
151659f6
OB
16362013-10-25 Ondřej Bílka <neleai@seznam.cz>
1637
482a077e 1638 [BZ #2801]
151659f6
OB
1639 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
1640
10b0f26b
OB
16412013-10-25 Ondřej Bílka <neleai@seznam.cz>
1642
1643 [BZ #14876]
1644 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
1645 * time/tst-strptime.c (day_tests): Add testcase.
1646
ca42d35e
OB
16472013-10-25 Ondřej Bílka <neleai@seznam.cz>
1648
482a077e 1649 [BZ #14029]
ca42d35e
OB
1650 * manual/pattern.texi: Acknowledge that fnmatch can fail.
1651
52e6d801
FB
16522013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
1653
1654 [BZ #16074]
1655 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
1656 MAP_FAILED on error.
1657
7cbcdb36
SP
16582013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
1659
1660 [BZ #16072]
1661 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
1662 heap for large requests.
1663
894f3f10
AM
16642013-10-25 Aurelien Jarno <aurelien@aurel32.net>
1665
1666 [BZ #9954]
1667 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
1668 result if the result has no associated interface.
1669 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
1670 interface for all 127.X.Y.Z addresses.
1671
b85545a6
CL
16722013-10-24 Chris Leonard <cjl@sugarlabs.org>
1673
1674 * locale/iso-639.def: Add Ligurian (lij)
1675
d1f23d46
OB
16762013-10-21 Ondřej Bílka <neleai@seznam.cz>
1677
1678 [BZ #15825]
1679 * sunrpc/rpc_main.c: Document rpcgen -5.
1680
4db5b08f
MS
16812013-10-19 Michael Stahl <mstahl@redhat.com>
1682
1683 * elf/rtld.c (do_preload): Print the reason why preloading failed.
1684
a471e96a
OB
16852013-10-19 Ondřej Bílka <neleai@seznam.cz>
1686
d1f23d46 1687 [BZ #10278]
a471e96a
OB
1688 * posix/glob.c: Match only directories when trailing slash is present.
1689 * posix/tst-gnuglob.c (my_opendir): Do not open files.
1690 (main): Add testcase.
1691
45c30c61
OB
16922013-10-19 Ondřej Bílka <neleai@seznam.cz>
1693
1694 [BZ #15670]
1695 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
1696
484c12fb
CD
16972013-10-18 Carlos O'Donell <carlos@redhat.com>
1698
3d7dc513
CD
1699 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
1700 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
1701 AUTH_DES and cindex for FIPS 140-2.
1702 (DES Encryption): Add cindex FIPS 46-3.
1703
484c12fb
CD
1704 * locale/locarchive.h (struct locarhandle): Add fname.
1705 * locale/programs/localedef.c (main): Pass ARGV[remaining]
1706 if an optional argument was specified to --list-archive,
1707 otherwise NULL.
1708 * locale/programs/locarchive.c (show_archive_content): Take new
1709 argument fname and pass it via ah.fname to open_archive.
1710 * locale/programs/localedef.h: Update decl.
1711 (open_archive): If AH->fname is non-null, open that file
1712 rather than the default file name, and don't ignore ENOENT.
1713 (create_archive): Set AH.fname to NULL.
1714 (delete_locales_from_archive): Likewise.
1715 (add_locales_to_archive): Likewise.
1716 * locale/programs/locfile.c (write_all_categories): Likewise.
1717
3c8325fb
JM
17182013-10-18 Joseph Myers <joseph@codesourcery.com>
1719 Aldy Hernandez <aldyh@redhat.com>
1720
1721 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
1722 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
1723 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
1724 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
1725 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
1726 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
1727 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
1728 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
1729 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
1730 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
1731 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
1732 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
1733 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
1734 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
1735 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
1736 Likewise.
1737 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
1738 Likewise.
1739 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
1740 Likewise.
1741 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
1742 Likewise.
1743 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
1744 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
1745 Likewise.
1746 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
1747 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
1748 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
1749 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
1750 Likewise.
1751 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
1752 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
1753 * sysdeps/powerpc/preconfigure: Likewise.
1754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
1755 Likewise.
1756 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
1757 Replace contents of file by #include of <fenv_libc.h>.
1758 * sysdeps/powerpc/soft-fp/sfp-machine.h
1759 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
1760 and <sys/prctl.h>.
1761 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
1762 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
1763 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
1764 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
1765 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
1766 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
1767 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
1768 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
1769 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
1770 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
1771 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
1772 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
1773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
1774 Allow copysignl PLT reference to be missing.
1775
5abe0682
RS
17762013-10-18 Richard Sandiford <richard@codesourcery.com>
1777 Joseph Myers <joseph@codesourcery.com
1778
1779 [BZ #15948]
1780 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
1781 single character.
1782 (add_to_tablewc): Assert sequence of wide characters is nonempty.
1783
c7738d08
SP
17842013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
1785
1786 * elf/tst-tls-dlinfo.c: Don't include tls.h.
1787 * elf/tst-tls1.c: Likewise.
1788 * elf/tst-tls10.h: Likewise.
1789 * elf/tst-tls14.c: Likewise.
1790 * elf/tst-tls2.c: Likewise.
1791 * elf/tst-tls3.c: Likewise.
1792 * elf/tst-tls4.c: Likewise.
1793 * elf/tst-tls5.c: Likewise.
1794 * elf/tst-tls6.c: Likewise.
1795 * elf/tst-tls7.c: Likewise.
1796 * elf/tst-tls8.c: Likewise.
1797 * elf/tst-tls9.c: Likewise.
1798 * elf/tst-tlsmod1.c: Likewise.
1799 * elf/tst-tlsmod13.c: Likewise.
1800 * elf/tst-tlsmod13a.c: Likewise.
1801 * elf/tst-tlsmod14a.c: Likewise.
1802 * elf/tst-tlsmod16a.c: Likewise.
1803 * elf/tst-tlsmod16b.c: Likewise.
1804 * elf/tst-tlsmod2.c: Likewise.
1805 * elf/tst-tlsmod3.c: Likewise.
1806 * elf/tst-tlsmod4.c: Likewise.
1807 * elf/tst-tlsmod5.c: Likewise.
1808 * elf/tst-tlsmod6.c: Likewise.
1809
0bfcf2c7
OB
18102013-10-18 Ondřej Bílka <neleai@seznam.cz>
1811
1812 [BZ #12486]
1813 * malloc/malloc.c: remove checks for statistics.
1814
264aad1e
OB
18152013-10-17 Ondřej Bílka <neleai@seznam.cz>
1816
1817 [BZ #15277]
1818 * inet/inet_net.c (inet_network): Detect additional invalid strings.
1819 * inet/tst-network.c: Add testcase.
1820
b957ced8
AS
18212013-10-17 Andreas Schwab <schwab@suse.de>
1822
1823 [BZ #15218]
1824 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
1825 to determine canonical name.
1826
c5d5d574
OB
18272013-10-17 Ondřej Bílka <neleai@seznam.cz>
1828
1829 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
1830 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
1831 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
1832 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
1833 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
1834 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
1835 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
1836 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
1837 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
1838 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
1839 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
1840 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
1841 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
1842 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
1843 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
1844 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
1845 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
1846 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
1847 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
1848 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
1849 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
1850 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
1851 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1852 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
1853 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
1854 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
1855 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
1856 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
1857 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
1858 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
1859 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
1860 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
1861 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
1862 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
1863 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
1864 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
1865 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
1866 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
1867 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
1868 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
1869 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
1870 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
1871 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
1872 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
1873 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
1874 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
1875 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
1876 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
1877 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
1878 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
1879 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
1880 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
1881 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
1882 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
1883 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
1884 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
1885 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
1886 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
1887
e5c2c2d0
JM
18882013-10-17 Joseph Myers <joseph@codesourcery.com>
1889
1890 [BZ #16041]
1891 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
1892 make result into a quiet NaN.
1893
51ca9e29
JM
18942013-10-16 Joseph Myers <joseph@codesourcery.com>
1895
1896 * soft-fp/adddf3.c: Fix horizontal whitespace.
1897 * soft-fp/addsf3.c: Likewise.
1898 * soft-fp/addtf3.c: Likewise.
1899 * soft-fp/divdf3.c: Likewise.
1900 * soft-fp/divsf3.c: Likewise.
1901 * soft-fp/divtf3.c: Likewise.
1902 * soft-fp/double.h: Likewise.
1903 * soft-fp/eqdf2.c: Likewise.
1904 * soft-fp/eqsf2.c: Likewise.
1905 * soft-fp/eqtf2.c: Likewise.
1906 * soft-fp/extenddftf2.c: Likewise.
1907 * soft-fp/extended.h: Likewise.
1908 * soft-fp/extendsfdf2.c: Likewise.
1909 * soft-fp/extendsftf2.c: Likewise.
1910 * soft-fp/extendxftf2.c: Likewise.
1911 * soft-fp/fixdfdi.c: Likewise.
1912 * soft-fp/fixdfsi.c: Likewise.
1913 * soft-fp/fixdfti.c: Likewise.
1914 * soft-fp/fixsfdi.c: Likewise.
1915 * soft-fp/fixsfsi.c: Likewise.
1916 * soft-fp/fixsfti.c: Likewise.
1917 * soft-fp/fixtfdi.c: Likewise.
1918 * soft-fp/fixtfsi.c: Likewise.
1919 * soft-fp/fixtfti.c: Likewise.
1920 * soft-fp/fixunsdfdi.c: Likewise.
1921 * soft-fp/fixunsdfsi.c: Likewise.
1922 * soft-fp/fixunsdfti.c: Likewise.
1923 * soft-fp/fixunssfdi.c: Likewise.
1924 * soft-fp/fixunssfsi.c: Likewise.
1925 * soft-fp/fixunssfti.c: Likewise.
1926 * soft-fp/fixunstfdi.c: Likewise.
1927 * soft-fp/fixunstfsi.c: Likewise.
1928 * soft-fp/fixunstfti.c: Likewise.
1929 * soft-fp/floatdidf.c: Likewise.
1930 * soft-fp/floatdisf.c: Likewise.
1931 * soft-fp/floatditf.c: Likewise.
1932 * soft-fp/floatsidf.c: Likewise.
1933 * soft-fp/floatsisf.c: Likewise.
1934 * soft-fp/floatsitf.c: Likewise.
1935 * soft-fp/floattidf.c: Likewise.
1936 * soft-fp/floattisf.c: Likewise.
1937 * soft-fp/floattitf.c: Likewise.
1938 * soft-fp/floatundidf.c: Likewise.
1939 * soft-fp/floatundisf.c: Likewise.
1940 * soft-fp/floatunditf.c: Likewise.
1941 * soft-fp/floatunsidf.c: Likewise.
1942 * soft-fp/floatunsisf.c: Likewise.
1943 * soft-fp/floatunsitf.c: Likewise.
1944 * soft-fp/floatuntidf.c: Likewise.
1945 * soft-fp/floatuntisf.c: Likewise.
1946 * soft-fp/floatuntitf.c: Likewise.
1947 * soft-fp/fmadf4.c: Likewise.
1948 * soft-fp/fmasf4.c: Likewise.
1949 * soft-fp/fmatf4.c: Likewise.
1950 * soft-fp/gedf2.c: Likewise.
1951 * soft-fp/gesf2.c: Likewise.
1952 * soft-fp/getf2.c: Likewise.
1953 * soft-fp/ledf2.c: Likewise.
1954 * soft-fp/lesf2.c: Likewise.
1955 * soft-fp/letf2.c: Likewise.
1956 * soft-fp/muldf3.c: Likewise.
1957 * soft-fp/mulsf3.c: Likewise.
1958 * soft-fp/multf3.c: Likewise.
1959 * soft-fp/negdf2.c: Likewise.
1960 * soft-fp/negsf2.c: Likewise.
1961 * soft-fp/negtf2.c: Likewise.
1962 * soft-fp/op-1.h: Likewise.
1963 * soft-fp/op-2.h: Likewise.
1964 * soft-fp/op-4.h: Likewise.
1965 * soft-fp/op-8.h: Likewise.
1966 * soft-fp/op-common.h: Likewise.
1967 * soft-fp/quad.h: Likewise.
1968 * soft-fp/single.h: Likewise.
1969 * soft-fp/soft-fp.h: Likewise.
1970 * soft-fp/sqrtdf2.c: Likewise.
1971 * soft-fp/sqrtsf2.c: Likewise.
1972 * soft-fp/sqrttf2.c: Likewise.
1973 * soft-fp/subdf3.c: Likewise.
1974 * soft-fp/subsf3.c: Likewise.
1975 * soft-fp/subtf3.c: Likewise.
1976 * soft-fp/truncdfsf2.c: Likewise.
1977 * soft-fp/trunctfdf2.c: Likewise.
1978 * soft-fp/trunctfsf2.c: Likewise.
1979 * soft-fp/trunctfxf2.c: Likewise.
1980 * soft-fp/unorddf2.c: Likewise.
1981 * soft-fp/unordsf2.c: Likewise.
1982 * soft-fp/unordtf2.c: Likewise.
1983
9ebb0332
JM
19842013-10-15 Joseph Myers <joseph@codesourcery.com>
1985
1986 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
1987 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
1988
4b1a6d8b
OB
19892013-10-15 Ondřej Bílka <neleai@seznam.cz>
1990
1991 * elf/dl-libc.c: Clear initfini list after freeing.
1992
1e145589
JM
19932013-10-14 Joseph Myers <joseph@codesourcery.com>
1994
1995 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
1996 * soft-fp/addsf3.c: Likewise.
1997 * soft-fp/addtf3.c: Likewise.
1998 * soft-fp/divdf3.c: Likewise.
1999 * soft-fp/divsf3.c: Likewise.
2000 * soft-fp/divtf3.c: Likewise.
2001 * soft-fp/double.h: Likewise.
2002 * soft-fp/eqdf2.c: Likewise.
2003 * soft-fp/eqsf2.c: Likewise.
2004 * soft-fp/eqtf2.c: Likewise.
2005 * soft-fp/extenddftf2.c: Likewise.
2006 * soft-fp/extended.h: Likewise.
2007 * soft-fp/extendsfdf2.c: Likewise.
2008 * soft-fp/extendsftf2.c: Likewise.
2009 * soft-fp/extendxftf2.c: Likewise.
2010 * soft-fp/fixdfdi.c: Likewise.
2011 * soft-fp/fixdfsi.c: Likewise.
2012 * soft-fp/fixdfti.c: Likewise.
2013 * soft-fp/fixsfdi.c: Likewise.
2014 * soft-fp/fixsfsi.c: Likewise.
2015 * soft-fp/fixsfti.c: Likewise.
2016 * soft-fp/fixtfdi.c: Likewise.
2017 * soft-fp/fixtfsi.c: Likewise.
2018 * soft-fp/fixtfti.c: Likewise.
2019 * soft-fp/fixunsdfdi.c: Likewise.
2020 * soft-fp/fixunsdfsi.c: Likewise.
2021 * soft-fp/fixunsdfti.c: Likewise.
2022 * soft-fp/fixunssfdi.c: Likewise.
2023 * soft-fp/fixunssfsi.c: Likewise.
2024 * soft-fp/fixunssfti.c: Likewise.
2025 * soft-fp/fixunstfdi.c: Likewise.
2026 * soft-fp/fixunstfsi.c: Likewise.
2027 * soft-fp/fixunstfti.c: Likewise.
2028 * soft-fp/floatdidf.c: Likewise.
2029 * soft-fp/floatdisf.c: Likewise.
2030 * soft-fp/floatditf.c: Likewise.
2031 * soft-fp/floatsidf.c: Likewise.
2032 * soft-fp/floatsisf.c: Likewise.
2033 * soft-fp/floatsitf.c: Likewise.
2034 * soft-fp/floattidf.c: Likewise.
2035 * soft-fp/floattisf.c: Likewise.
2036 * soft-fp/floattitf.c: Likewise.
2037 * soft-fp/floatundidf.c: Likewise.
2038 * soft-fp/floatundisf.c: Likewise.
2039 * soft-fp/floatunsidf.c: Likewise.
2040 * soft-fp/floatunsisf.c: Likewise.
2041 * soft-fp/floatuntidf.c: Likewise.
2042 * soft-fp/floatuntisf.c: Likewise.
2043 * soft-fp/floatuntitf.c: Likewise.
2044 * soft-fp/fmadf4.c: Likewise.
2045 * soft-fp/fmasf4.c: Likewise.
2046 * soft-fp/fmatf4.c: Likewise.
2047 * soft-fp/gedf2.c: Likewise.
2048 * soft-fp/gesf2.c: Likewise.
2049 * soft-fp/getf2.c: Likewise.
2050 * soft-fp/ledf2.c: Likewise.
2051 * soft-fp/lesf2.c: Likewise.
2052 * soft-fp/letf2.c: Likewise.
2053 * soft-fp/muldf3.c: Likewise.
2054 * soft-fp/mulsf3.c: Likewise.
2055 * soft-fp/multf3.c: Likewise.
2056 * soft-fp/negdf2.c: Likewise.
2057 * soft-fp/negsf2.c: Likewise.
2058 * soft-fp/negtf2.c: Likewise.
2059 * soft-fp/op-1.h: Likewise.
2060 * soft-fp/op-2.h: Likewise.
2061 * soft-fp/op-4.h: Likewise.
2062 * soft-fp/op-8.h: Likewise.
2063 * soft-fp/op-common.h: Likewise.
2064 * soft-fp/quad.h: Likewise.
2065 * soft-fp/single.h: Likewise.
2066 * soft-fp/soft-fp.h: Likewise.
2067 * soft-fp/sqrtdf2.c: Likewise.
2068 * soft-fp/sqrtsf2.c: Likewise.
2069 * soft-fp/sqrttf2.c: Likewise.
2070 * soft-fp/subdf3.c: Likewise.
2071 * soft-fp/subsf3.c: Likewise.
2072 * soft-fp/subtf3.c: Likewise.
2073 * soft-fp/truncdfsf2.c: Likewise.
2074 * soft-fp/trunctfdf2.c: Likewise.
2075 * soft-fp/trunctfsf2.c: Likewise.
2076 * soft-fp/trunctfxf2.c: Likewise.
2077 * soft-fp/unorddf2.c: Likewise.
2078 * soft-fp/unordsf2.c: Likewise.
2079 * soft-fp/unordtf2.c: Likewise.
2080
17c48a60
OB
20812013-10-14 Ondřej Bílka <neleai@seznam.cz>
2082
2083 [BZ #15672]
2084 * misc/error.c (error_tail): Fix possible buffer overflow.
2085
cabba934
OB
20862013-10-14 Aurelien Jarno <aurelien@aurel32.net>
2087
2088 [BZ #13028]
2089 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2090 address.
2091
94bf958a
PM
20922013-10-14 P. J. McDermott <pj@pehjota.net>
2093
2094 [BZ #832]
2095 * elf/ldd.bash.in (try_trace): New function. Delete previous code
2096 testing pipefail option.
2097
71b4dea7
JM
20982013-10-12 Joseph Myers <joseph@codesourcery.com>
2099
2100 * soft-fp/double.h: Indent preprocessor directives inside #if.
2101 * soft-fp/extended.h: Likewise.
2102 * soft-fp/op-2.h: Likewise.
2103 * soft-fp/op-4.h: Likewise.
2104 * soft-fp/op-common.h: Likewise.
2105 * soft-fp/quad.h: Likewise.
2106 * soft-fp/single.h: Likewise.
2107 * soft-fp/soft-fp.h: Likewise.
2108
55602758
YC
21092013-10-12 Yuri Chornoivan <yurchor@ukr.net>
2110
2111 * iconv/iconv_prog.c: Fix typos.
2112 * stdio-common/psiginfo-data.h: Likewise.
2113
9cd83302
RT
21142013-10-12 Reuben Thomas <rrt@sc3d.org>
2115
2116 [BZ #15764]
2117 * locale/setlocale.c: Fix typo.
2118
99fd9f47
JM
21192013-10-12 Joseph Myers <joseph@codesourcery.com>
2120
b7ea74f0
JM
2121 [BZ #16036]
2122 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2123 signaling NaN arguments.
2124 * soft-fp/unordsf2.c (__unordsf2): Likewise.
2125 * soft-fp/unordtf2.c (__unordtf2): Likewise.
2126
8a509447
JM
2127 [BZ #14910]
2128 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2129 unordered operands.
2130 * soft-fp/gesf2.c (__gesf2): Likewise.
2131 * soft-fp/getf2.c (__getf2): Likewise.
2132 * soft-fp/ledf2.c (__ledf2): Likewise.
2133 * soft-fp/lesf2.c (__lesf2): Likewise.
2134 * soft-fp/letf2.c (__letf2): Likewise.
2135
98998e9f
JM
2136 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2137 * soft-fp/eqsf2.c (__eqsf2): Likewise.
2138 * soft-fp/eqtf2.c (__eqtf2): Likewise.
2139 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2140 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2141 * soft-fp/fixdfti.c (__fixdfti): Likewise.
2142 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2143 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2144 * soft-fp/fixsfti.c (__fixsfti): Likewise.
2145 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2146 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2147 * soft-fp/fixtfti.c (__fixtfti): Likewise.
2148 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2149 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2150 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2151 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2152 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2153 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2154 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2155 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2156 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2157 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2158 * soft-fp/floatdisf.c (__floatdisf): Likewise.
2159 * soft-fp/floatsisf.c (__floatsisf): Likewise.
2160 * soft-fp/floattidf.c (__floattidf): Likewise.
2161 * soft-fp/floattisf.c (__floattisf): Likewise.
2162 * soft-fp/floattitf.c (__floattitf): Likewise.
2163 * soft-fp/floatundidf.c (__floatundidf): Likewise.
2164 * soft-fp/floatundisf.c (__floatundisf): Likewise.
2165 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2166 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2167 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2168 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2169 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2170 * soft-fp/gesf2.c (__gesf2): Likewise.
2171 * soft-fp/getf2.c (__getf2): Likewise.
2172 * soft-fp/ledf2.c (__ledf2): Likewise.
2173 * soft-fp/lesf2.c (__lesf2): Likewise.
2174 * soft-fp/letf2.c (__letf2): Likewise.
2175
8edc4a11
JM
2176 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2177 Undefine and redefine.
2178 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2179 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2180 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2181 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2182 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2183 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2184 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2185 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2186 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2187 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2188 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2189 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2190 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2191 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2192 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2193
8399acaf
JM
2194 [BZ #16032]
2195 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2196 without decrementing exponent if mantissa >= that for the
2197 denominator, not >.
2198 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2199 denominator, not >. Decrement exponent in < case instead of
2200 incrementing in >= case.
2201 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2202 without decrementing exponent if mantissa >= that for the
2203 denominator, not >.
2204
99fd9f47
JM
2205 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2206 computing saturated result for unsigned overflow.
2207
10e1cf6b
SP
22082013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
2209 Jeff Law <law@redhat.com>
2210
2211 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2212 (atan2Mp): Add systemtap probe marker.
2213 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2214 (__ieee754_log): Add systemtap probe marker.
2215 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2216 (atanMp): Add systemtap probe marker.
2217 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2218 (tanMp): Add systemtap probe marker.
2219 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2220 (__slowexp): Add systemtap probe marker.
2221 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2222 (__slowpow): Add systemtap probe marker.
2223 * manual/probes.texi: Document probes.
2224
3d110c7c
EB
22252013-10-11 Eric Biggers <ebiggers3@gmail.com>
2226
2227 [BZ #15362]
2228 * libio/fileops.c (_IO_new_file_write): Return count of bytes
2229 written.
2230 (_IO_new_file_xsputn): Don't return EOF if nothing has been
2231 written.
2232 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2233 written to buffer but not flushed.
2234 * libio/iofwrite_u.c: Likewise.
2235 * libio/iopadn.c: Return bytes returned even if EOF was
2236 encountered.
2237 * libio/iowpadn.c: Likewise.
2238 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2239 if _IO_padn does not write the whole buffer.
2240 [!COMPILE_WPRINTF] (PAD): Likewise.
2241
75b4202a
DM
22422013-10-10 David S. Miller <davem@davemloft.net>
2243
2244 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2245 directory block.
2246
6c6352e6
JM
22472013-10-10 Joseph Myers <joseph@codesourcery.com>
2248
33b853c3
JM
2249 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
2250 instead of FSF address.
2251 * soft-fp/fixdfti.c: Likewise.
2252 * soft-fp/fixsfti.c: Likewise.
2253 * soft-fp/fixtfti.c: Likewise.
2254 * soft-fp/fixunsdfti.c: Likewise.
2255 * soft-fp/fixunssfti.c: Likewise.
2256 * soft-fp/fixunstfti.c: Likewise.
2257 * soft-fp/floattidf.c: Likewise.
2258 * soft-fp/floattisf.c: Likewise.
2259 * soft-fp/floattitf.c: Likewise.
2260 * soft-fp/floatuntidf.c: Likewise.
2261 * soft-fp/floatuntisf.c: Likewise.
2262 * soft-fp/floatuntitf.c: Likewise.
2263 * soft-fp/trunctfxf2.c: Likewise.
2264
6c6352e6
JM
2265 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
2266 * soft-fp/fixdfti.c: Likewise.
2267 * soft-fp/fixsfti.c: Likewise.
2268 * soft-fp/fixtfti.c: Likewise.
2269 * soft-fp/fixunsdfti.c: Likewise.
2270 * soft-fp/fixunssfti.c: Likewise.
2271 * soft-fp/fixunstfti.c: Likewise.
2272 * soft-fp/floattidf.c: Likewise.
2273 * soft-fp/floattisf.c: Likewise.
2274 * soft-fp/floattitf.c: Likewise.
2275 * soft-fp/floatuntidf.c: Likewise.
2276 * soft-fp/floatuntisf.c: Likewise.
2277 * soft-fp/floatuntitf.c: Likewise.
2278 * soft-fp/trunctfxf2.c: Likewise.
2279
3bf78b71
DM
22802013-10-10 David S. Miller <davem@davemloft.net>
2281
2282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2283
6f10289e
JM
22842013-10-10 Joseph Myers <joseph@codsourcery.com>
2285
bd878fc0
JM
2286 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2287 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2288 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2289 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2290 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2291 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2292 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2293
6f10289e
JM
2294 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2295 for NaNs before doing comparisons on argument.
2296 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2297 Likewise.
2298
321e2684
WN
22992013-10-10 Will Newton <will.newton@linaro.org>
2300
2301 * malloc/hooks.c (memalign_check): Ensure the value of bytes
2302 passed to _int_memalign does not overflow.
2303
40fefba1
TR
23042013-10-10 Torvald Riegel <triegel@redhat.com>
2305
2306 * scripts/bench.pl: Add include-sources directive.
2307 * benchtests/README: Update documentation.
2308
2ae21ed2
JM
23092013-10-10 Joseph Myers <joseph@codesourcery.com>
2310
dcc2dd3f
JM
2311 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2312 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2313 instead of FP_INIT_ROUNDMODE.
2314 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2315 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2316
2ae21ed2
JM
2317 [BZ #16034]
2318 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
2319 copy class of input value.
2320 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
2321 not handle exceptions.
2322 * soft-fp/negsf2.c (__negsf2): Likewise.
2323 * soft-fp/negtf2.c (__negtf2): Likewise.
2324 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2325
cb8f9562
JM
23262013-10-09 Joseph Myers <joseph@codesourcery.com>
2327
2328 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2329 semicolon. From Linux kernel.
2330
5b60c59d
AB
23312013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
2332
2333 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2334
b86835ca
YC
23352013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
2336
2337 [BZ #156]
2338 * manual/socket.texi: Added statement about buffer
2339 for gethostbyname2_r.
2340
e7044ea7
OB
23412013-10-08 Ondřej Bílka <neleai@seznam.cz>
2342
2343 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2344 Use .p2align directive instead, throughout.
2345 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2346 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2347 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2348 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2349 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2350 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2351 * sysdeps/x86_64/strchr.S: Likewise.
2352 * sysdeps/x86_64/strrchr.S: Likewise.
2353
09544cbc
SP
23542013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
2355
88576635
SP
2356 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2357
e7b2d1dd
SP
2358 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2359
09544cbc
SP
2360 * sysdeps/generic/math_private.h (__mpsin1): Remove
2361 declaration.
2362 (__mpcos1): Likewise.
2363 (__mpsin): New argument __range_reduce.
2364 (__mpcos): Likewise.
2365 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2366 (slow): Use __mpsin and __mpcos.
2367 (slow1): Likewise.
2368 (slow2): Likewise.
2369 (sloww): Likewise.
2370 (sloww1): Likewise.
2371 (sloww2): Likewise.
2372 (bsloww): Likewise.
2373 (bsloww1): Likewise.
2374 (bsloww2): Likewise.
2375 (cslow2): Likewise.
2376 (csloww): Likewise.
2377 (csloww1): Likewise.
2378 (csloww2): Likewise.
2379 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2380 range_reduce. Merge in __mpsin1.
2381 (__mpcos): Likewise.
2382 (__mpsin1): Remove.
2383 (__mpcos1): Likewise.
2384
7602d070
JM
23852013-10-07 Joseph Myers <joseph@codesourcery.com>
2386
2387 * locale/loadlocale.c (_nl_intern_locale_data): Use
2388 LOCFILE_ALIGNED_P.
2389 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
2390 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
2391 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
2392 obstack data is appropriately aligned.
2393 (obstack_int32_grow_fast): Likewise.
2394 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
2395 * locale/programs/locfile.c (add_locale_uint32): Likewise.
2396 (add_locale_uint32_array): Likewise.
2397
a357259b
SP
23982013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
2399
2400 * benchtests/Makefile: Remove ARGLIST and RET variables.
2401 ($(objpfx)bench-%.c): Pass only function name to the script.
2402 * benchtests/README: Update documentation.
2403 * benchtests/acos-inputs: Add new directives.
2404 * benchtests/acosh-inputs: Likewise.
2405 * benchtests/asin-inputs: Likewise.
2406 * benchtests/asinh-inputs: Likewise.
2407 * benchtests/atan-inputs: Likewise.
2408 * benchtests/atanh-inputs: Likewise.
2409 * benchtests/cos-inputs: Likewise.
2410 * benchtests/cosh-inputs: Likewise.
2411 * benchtests/exp-inputs: Likewise.
2412 * benchtests/log-inputs: Likewise.
2413 * benchtests/pow-inputs: Likewise.
2414 * benchtests/rint-inputs: Likewise.
2415 * benchtests/sin-inputs: Likewise.
2416 * benchtests/sinh-inputs: Likewise.
2417 * benchtests/tan-inputs: Likewise.
2418 * benchtests/tanh-inputs: Likewise.
2419 * scripts/bench.pl: Add support for new directives.
2420
9ec1b13d
AM
24212013-10-07 Alan Modra <amodra@gmail.com>
2422
2423 * README: Fix careless merge.
2424
8b7d57cd
AM
24252013-10-05 Alan Modra <amodra@gmail.com>
2426
2427 * NEWS: Mention powerpc64le support and bugs fixed.
2428 * README: Both big-endian and little-endian powerpc64 supported.
2429
7b7bab13
ST
24302013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
2431
2432 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
2433 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
2434 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
2435 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
2436
d39baad1
RA
24372013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
2438
2439 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
2440 match prototype.
2441
cd78f7e7
JM
24422013-10-04 Joseph Myers <joseph@codesourcery.com>
2443
29d73d86
JM
2444 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
2445 Move -mhard-float appending from
2446 ports/sysdeps/powerpc/powerpc32/Makefile.
2447 [$(with-fp) = yes] (ASFLAGS): Likewise.
2448 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
2449 * sysdeps/powerpc/nofpu: Move directory from
2450 ports/sysdeps/powerpc/nofpu.
2451 * sysdeps/powerpc/soft-fp: Move directory from
2452 ports/sysdeps/powerpc/soft-fp.
2453 * sysdeps/powerpc/powerpc32/405: Move directory from
2454 ports/sysdeps/powerpc/powerpc32/405.
2455 * sysdeps/powerpc/powerpc32/440: Move directory from
2456 ports/sysdeps/powerpc/powerpc32/440.
2457 * sysdeps/powerpc/powerpc32/464: Move directory from
2458 ports/sysdeps/powerpc/powerpc32/464.
2459 * sysdeps/powerpc/powerpc32/476: Move directory from
2460 ports/sysdeps/powerpc/powerpc32/476.
2461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
2462 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
2463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
2464 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
2465 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
2466 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
2467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
2468 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
2469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
2470 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
2471 * README: Update for powerpc-*-linux-gnu software floating point
2472 support in libc.
2473
e246b347
JM
2474 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
2475 case to powerpc/powerpc32*.
2476 * sysdeps/unix/sysv/linux/configure: Regenerated.
2477
89c2003e
JM
2478 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
2479 (_FPU_MASK_OM): Define as 0x04.
2480 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
2481 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
2482 0x00c10080.
2483 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
2484 0x0000003c.
2485 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
2486
cd78f7e7
JM
2487 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
2488 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2489 getcontext_e500.
2490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
2491 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
2492 setcontext_e500.
2493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
2494 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
2495 and setcontext_e500.
2496
c755294d
CL
24972013-10-04 Chris Leonard <cjl@sugarlabs,.org>
2498
2499 * locale/iso-3166.def: Update iso-1366.def and related occurrences
2500
e16d221c
SP
25012013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2502
2503 * manual/threads.texi (Default Thread Attributes): Fix typo.
2504
215c7d43
WN
25052013-10-04 Will Newton <will.newton@linaro.org>
2506
2507 * malloc/Makefile: Add tst-memalign.
2508 * malloc/tst-memalign.c: New file.
2509
27d0461b
WN
2510 * malloc/tst-posix_memalign.c: Add comments.
2511 (do_test): Add comments and call free on all potentially
2512 allocated pointers. Add space after cast.
2513
1bc92709
WN
2514 * malloc/tst-pvalloc.c: Add comments.
2515 (do_test): Add comments and call free on all potentially
2516 allocated pointers. Remove duplicate check for NULL pointer.
2517 Add space after cast.
2518
66a9be9d
WN
2519 * malloc/tst-valloc.c: Add comments.
2520 (do_test): Add comments and call free on all potentially
2521 allocated pointers. Remove duplicate check for NULL pointer.
2522 Add space after cast.
2523
4cb81307
AM
25242013-10-04 Alan Modra <amodra@gmail.com>
2525
2526 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2527 Use stdint types in rather than __attribute__((mode())).
2528 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2529
f8e3e9f3
AM
25302013-10-04 Alan Modra <amodra@gmail.com>
2531
2532 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
2533 Correct handling of unaligned relocs for little-endian.
2534 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
2535
8f9ebb08
AM
25362013-10-04 Alan Modra <amodra@gmail.com>
2537
2538 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
2539 * configure: Regenerate.
2540 * nptl/shlib-versions: Powerpc*le starts at 2.18.
2541 * shlib-versions: Likewise.
2542
0edf96c2
AM
25432013-10-04 Alan Modra <amodra@gmail.com>
2544
2545 * string/tester.c (test_memrchr): Increment reported test cycle.
2546
e0f7a380
AM
25472013-10-04 Alan Modra <amodra@gmail.com>
2548
2549 * string/test-memcpy.c (do_one_test): When reporting errors, print
2550 string address and don't overrun end of string.
2551
466b0393
AM
25522013-10-04 Alan Modra <amodra@gmail.com>
2553
2554 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
2555 insrdi. Make better use of reg selection to speed exit slightly.
2556 Schedule entry path a little better. Remove useless "are we done"
2557 checks on entry to main loop. Handle wrapping around zero address.
2558 Correct main loop count. Handle single left-over word from main
2559 loop inline rather than by using loop_small. Remove extra word
2560 case in loop_small caused by wrong loop count. Add little-endian
2561 support.
2562 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
2563 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
2564 cache hint.
2565 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
2566 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
2567 support. Avoid rlwimi.
2568 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
2569
3be87c77
AM
25702013-10-04 Alan Modra <amodra@gmail.com>
2571
2572 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 2573 insrdi. Formatting.
3be87c77
AM
2574 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2575 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2576 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2577 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
2578 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
2579 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
2580
759cfef3
AM
25812013-10-04 Alan Modra <amodra@gmail.com>
2582
2583 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
2584 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
2585 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
2586 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
2587 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2588 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2589 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2590 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2591 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
2592 use of regs. Use power7 mtocrf. Tidy function tails.
2593
fe6e95d7
AM
25942013-10-04 Alan Modra <amodra@gmail.com>
2595
2596 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
2597 Formatting. Consistently use rXXX register defines or rN defines.
2598 Use early exit labels that avoid restoring unused non-volatile regs.
2599 Make cr field use more consistent with rWORDn compares. Rename
2600 regs used as shift registers for unaligned loop, using rN defines
2601 for short lifetime/multiple use regs.
2602 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2603 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
2604 addi 1,1,64 to pop stack frame. Simplify return value code.
2605 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
2606
664318c3
AM
26072013-10-04 Alan Modra <amodra@gmail.com>
2608
2609 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
2610 support. Correct typos, formatting. Optimize tail. Use insrdi
2611 rather than rlwimi.
2612 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
2613 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
2614 little-endian support. Correct typos.
2615 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
2616 rather than rlwimi.
2617 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
2618 in loop and entry code to keep "and." results.
2619 (strchr): Add little-endian support. Comment. Move cntlzd
2620 earlier in tail.
2621 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
2622
43b84013
AM
26232013-10-04 Alan Modra <amodra@gmail.com>
2624
2625 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
2626 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
2627 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
2628 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
2629
8a7413f9
AM
26302013-10-04 Alan Modra <amodra@gmail.com>
2631
2632 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
2633 (rTMP): Define as r11.
2634 (strcmp): Add little-endian support. Optimise tail.
2635 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
2636 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2637 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
2638 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2639 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
2640 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2641 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
2642
33ee81de
AM
26432013-10-04 Alan Modra <amodra@gmail.com>
2644
2645 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
2646 little-endian support. Remove unnecessary "are we done" tests.
2647 Handle "s" wrapping around zero and extremely large "size".
2648 Correct main loop count. Handle single left-over word from main
2649 loop inline rather than by using small_loop. Correct comments.
2650 Delete "zero" tail, use "end_max" instead.
2651 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
2652
db9b4570
AM
26532013-10-04 Alan Modra <amodra@gmail.com>
2654
2655 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
2656 support. Don't branch over align.
2657 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
2658 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
2659 support. Rearrange tmp reg use to suit. Comment.
2660 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
2661
f7c399cf
AM
26622013-10-04 Alan Modra <amodra@gmail.com>
2663
2664 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
2665
0b2c2ace
AM
26662013-10-04 Alan Modra <amodra@gmail.com>
2667
2668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
2669 conditional form of branch and link when obtaining pc.
2670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
2671
02f04a6c
AM
26722013-10-04 Alan Modra <amodra@gmail.com>
2673
2674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
2675 HIWORD/LOWORD.
2676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
2677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
2678
9b874b2f
AM
26792013-10-04 Alan Modra <amodra@gmail.com>
2680
2681 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
2682 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
2683 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
2684 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
2685 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
2686 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
2687 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
2688 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
2689 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
2690 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
2691
be1e5d31
AB
26922013-10-04 Anton Blanchard <anton@au1.ibm.com>
2693 Alistair Popple <alistair@ozlabs.au.ibm.com>
2694 Alan Modra <amodra@gmail.com>
2695
2696 [BZ #15723]
2697 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
2698 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
2699 _dl_hwcap access for little-endian.
2700 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
2701 destroy vmx regs when saving unaligned.
2702 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
2703 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
2704 destroy vmx regs when saving unaligned.
2705
fef13a78
AM
27062013-10-04 Alan Modra <amodra@gmail.com>
2707
2708 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
2709 Don't use a union to pack hi/low value.
2710
76a66d51
AB
27112013-10-04 Anton Blanchard <anton@au1.ibm.com>
2712
2713 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
2714 for little-endian.
2715 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2716 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2717 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2718 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2719 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2720
6a31fe7f
AM
27212013-10-04 Alan Modra <amodra@gmail.com>
2722
2723 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
2724 constants to usual value for .cst8 section, and remove redundant
2725 high address load.
2726 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
2727 constant for 0x1p52. Load little-endian words of double from
2728 correct stack offsets.
2729
7b88401f
AM
27302013-10-04 Alan Modra <amodra@gmail.com>
2731
2732 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
2733 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
2734 words of double from correct stack offsets.
2735 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
2736 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
2737 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
2738 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
2739 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
2740 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
2741 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
2742 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
2743 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
2744 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
2745 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
2746 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
2747 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
2748 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
2749 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
2750 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
2751 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2752
9c008155
AM
27532013-10-04 Alan Modra <amodra@gmail.com>
2754
2755 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
2756 64-bit int/double union.
2757 (_FPU_SETCW): Likewise.
2758 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
2759 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
2760
da13146d
AM
27612013-10-04 Alan Modra <amodra@gmail.com>
2762
2763 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
2764 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
2765
603e8410
AM
27662013-10-04 Alan Modra <amodra@gmail.com>
2767
2768 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
2769 use vector int constants.
2770 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
2771
4a28b3ca
AB
27722013-10-04 Anton Blanchard <anton@au1.ibm.com>
2773
2774 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
2775 array with long long.
2776 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
2777 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
2778 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
2779 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
2780 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
2781 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
2782 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
2783 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
2784 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
2785 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
2786 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
2787 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
2788 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
2789
2ca85d2b
AB
27902013-10-04 Anton Blanchard <anton@au1.ibm.com>
2791
2792 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
2793 (__signbit): Likewise. Correct for little-endian.
2794 (__signbitl): Call __signbit.
2795 (lrint): Correct for little-endian.
2796 (lrintf): Call lrint.
2797
62a728ae
AM
27982013-10-04 Alan Modra <amodra@gmail.com>
2799
2800 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
2801 union 32-bit int array member with 64-bit int array.
2802 (t515, tm256): Double rather than long double.
2803 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
2804
32c301df
AM
28052013-10-04 Alan Modra <amodra@gmail.com>
2806
2807 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
2808 Delete.
2809 (IEEE854_LONG_DOUBLE_BIAS): Delete.
2810 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
2811 version of math_ldbl.h.
2812
650ef4bd
AM
28132013-10-04 Alan Modra <amodra@gmail.com>
2814
2815 [BZ #15734], [BZ #15735]
2816 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
2817 all uses of ieee875 long double macros and unions. Simplify test
2818 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
2819 ldbl_extract_mantissa value for ix,iy exponents. Properly
2820 normalize after ldbl_extract_mantissa, and don't add hidden bit
2821 already handled. Don't treat low word of ieee854 mantissa like
2822 low word of IBM long double and mask off bit when testing for
2823 zero.
2824 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
2825 all uses of ieee875 long double macros and unions. Simplify tests
2826 for 0.0L and inf. Correct double adjustment of k. Delete dead code
2827 adjusting ha,hb. Simplify code setting kld. Delete two600 and
2828 two1022, instead use their values. Recognise that tests for large
2829 "a" and small "b" are mutually exclusive. Rename vars. Comment.
2830 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
2831 Rewrite all uses of ieee875 long double macros and unions. Simplify
2832 test for 0.0L and nan. Correct negation.
2833 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
2834 ieee875 long double macros and unions. Correct output for large
2835 magnitude x. Correct absolute value calculation.
2836 (__erfcl): Likewise.
2837 * math/libm-test.inc: Add tests for errors discovered in IBM long
2838 double versions of fmodl, remainderl, erfl and erfcl.
2839
765714ca
AM
28402013-10-04 Alan Modra <amodra@gmail.com>
2841
2842 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
2843 all uses of ieee854 long double macros and unions. Simplify tests
2844 for long doubles that are fully specified by the high double.
2845 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
2846 Likewise.
2847 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
2848 Remove dead code too.
2849 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
2850 (__ieee754_ynl): Likewise.
2851 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
2852 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
2853 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
2854 Remove dead code too.
2855 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
2856 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
2857 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
2858 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
2859 Simplify.
2860 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
2861 Simplify.
2862 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
2863 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
2864 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
2865 Comment on variable precision.
2866 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
2867 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
2868 Likewise.
2869 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
2870 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
2871 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
2872 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
2873 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
2874
4ebd120c
AM
28752013-10-04 Alan Modra <amodra@gmail.com>
2876
2877 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
2878 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
2879 all uses of ieee854 long double macros and unions.
2880 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
2881 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
2882 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
2883 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
2884 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
2885 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
2886 Likewise.
2887 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
2888 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
2889 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
2890 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
2891 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
2892 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
2893 Simplify sign and nan test too.
2894 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
2895 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
2896 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
2897 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
2898 Likewise.
2899 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
2900 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
2901 Likewise.
2902 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
2903 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
2904 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
2905 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
2906 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
2907 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
2908
1b6adf88
AM
29092013-10-04 Alan Modra <amodra@gmail.com>
2910
2911 * stdio-common/printf_size.c (__printf_size): Don't use
2912 union ieee854_long_double in fpnum union.
2913 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
2914 signbit macro to retrieve sign from long double.
2915 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
2916 retrieve sign from long double.
2917 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
2918 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
2919 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
2920 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
2921 * math/test-misc.c (main): Don't use union ieee854_long_double.
2922
4cf69995
AM
29232013-10-04 Alan Modra <amodra@gmail.com>
2924
2925 [BZ #15680]
2926 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
2927 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
2928 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
2929 calculation. Remove unnecessary test for denormal exponent.
2930 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
2931 Correct handling of denormals. Avoid undefined shift behaviour.
2932 Correct normalisation of low mantissa when low double is denormal.
2933 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
2934 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
2935 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
2936 Correct normalisation of low mantissa. Test for overflow of high
2937 mantissa and normalise.
2938 (ldbl_nearbyint): Use more readable constant for two52.
2939 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
2940 (__mpn_construct_long_double): Fix test for overflow of high
2941 mantissa and correct normalisation. Avoid undefined shift.
2942
9605ca6c
AM
29432013-10-04 Alan Modra <amodra@gmail.com>
2944
2945 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
2946 (union ibm_extended_long_double): Define as an array of ieee754_double.
2947 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
2948 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
2949 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
2950 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
2951 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
2952 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
2953 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2954 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
2955 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
2956 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
2957 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2958
975569d0
JM
29592013-10-03 Joseph Myers <joseph@codesourcery.com>
2960
d3d23756
JM
2961 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
2962 page size instead of calling getpagesize.
2963
975569d0
JM
2964 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
2965 (LOCFILE_ALIGN_MASK): Likewise.
2966 (LOCFILE_ALIGN_UP): Likewise.
2967 (LOCFILE_ALIGNED_P): Likewise.
2968 * locale/programs/ld-collate.c (collate_output): Use the new
2969 macros instead of __alignof__ (int32_t).
2970 * locale/weight.h (findidx): Likewise.
2971
b1fe1f2b
OB
29722013-10-03 Ondřej Bílka <neleai@seznam.cz>
2973
2974 [BZ #431]
2975 * manual/string.texi: Fix strncat and wcsncat.
2976
5f855e35
BM
29772013-10-03 Brooks Moses <bmoses@google.com>
2978
2979 [BZ #15915]
2980 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
2981 * Makerules: ...here, and adjust associated comments.
2982
3cef6009
WN
29832013-10-02 Will Newton <will.newton@linaro.org>
2984
2985 * malloc/Makefile: Add tst-pvalloc.
2986 * malloc/tst-pvalloc.c: New file.
2987
7815420b
WN
29882013-10-02 Will Newton <will.newton@linaro.org>
2989
2990 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
2991 improve test coverage.
2992
4868b204
WN
29932013-10-02 Will Newton <will.newton@linaro.org>
2994
2995 * malloc/Makefile: Add tst-posix_memalign.
2996 * malloc/tst-posix_memalign.c: New file.
2997
29c793b3
EB
29982013-10-01 Eric Blake <eblake@redhat.com>
2999
3000 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3001 Use __THROWNL rather than __THROW on static functions.
3002
fd967522
PM
30032013-09-30 Petr Machata <pmachata@redhat.com>
3004
3005 * elf/elf.h (R_AARCH64_ABS16): New macro.
3006 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3007 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3008 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3009 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3010 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3011 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3012 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3013 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3014 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3015 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3016 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3017 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3018 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3019 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3020 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3021 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3022 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3023 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3024 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3025 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3026 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3027 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3028 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3029 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3030 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3031 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3032 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3033 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3034 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3035 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3036 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3037 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3038 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3039 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3040 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3041 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3042 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3043 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3044 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3045 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3046 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3047 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3048 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3049 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3050 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3051 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3052 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3053 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3054 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3055 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3056 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3057 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3058 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3059 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3060 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3061 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3062 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3063 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3064 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3065 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3066 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3067 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3068 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3069 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3070 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3071 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3072 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3073 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3074 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3075 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3076 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3077 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3078 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3079 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3080 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3081 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3082 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3083 (R_AARCH64_TLSDESC_LDR): Likewise.
3084 (R_AARCH64_TLSDESC_ADD): Likewise.
3085 (R_AARCH64_TLSDESC_CALL): Likewise.
3086
b2179107
AS
30872013-09-30 Andreas Schwab <schwab@suse.de>
3088
3089 [BZ #15048]
3090 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3091 the nss database lookup.
3092 * nscd/initgrcache.c (addinitgroupsX): Likewise.
3093 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3094
47f28d0a
MF
30952013-09-28 Mike Frysinger <vapier@gentoo.org>
3096
3097 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3098
30992013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
3100
3101 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3102 ${Bash-specific parameter/pattern/string} parameter expansion.
3103 * sysdeps/unix/make-syscalls.sh: Likewise.
3104
f4518a17
KK
31052013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
3106
3107 * sysdeps/sh/stackguard-macros.h: New file.
3108
dc1a95c7
OB
31092013-09-26 Ondřej Bílka <neleai@seznam.cz>
3110
3111 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3112 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3113 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3114 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3115 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3116 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3117
5ebbff8f
AZ
31182013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3119
3120 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3121 Fix thread ID register.
3122
4fd2cf9f
JM
31232013-09-25 Joseph Myers <joseph@codesourcery.com>
3124
3125 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3126 [POSIX || UNIX98]: Require rather than permitting all symbols from
3127 <time.h>.
3128 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3129 element of struct sched_param.
3130 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3131 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3132 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3133 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3134 constant.
3135
12c22bc4
OL
31362013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
3137
3138 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3139 argument calculation.
3140
a03d8ea7
JM
31412013-09-24 Joseph Myers <joseph@codesourcery.com>
3142
3143 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3144 Expect macro.
3145 [POSIX] (pthread_attr_t): Do not require type.
3146 [POSIX] (pthread_cond_t): Likewise.
3147 [POSIX] (pthread_condattr_t): Likewise.
3148 [POSIX] (pthread_key_t): Likewise.
3149 [POSIX] (pthread_mutex_t): Likewise.
3150 [POSIX] (pthread_mutexattr_t): Likewise.
3151 [POSIX] (pthread_once_t): Likewise.
3152 [POSIX] (pthread_t): Likewise.
3153 [POSIX-based standards] (pthread_atfork): Expect function.
3154
6055173a
JM
31552013-09-24 Joseph Myers <joseph@codesourcery.com>
3156 Richard Sandiford <richard@codesourcery.com>
3157
3158 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3159 (swap_endianness_p): New extern variable.
3160 (set_big_endian): New inline function.
3161 (maybe_swap_uint32): Likewise.
3162 (maybe_swap_uint32_array): Likewise.
3163 (maybe_swap_uint32_obstack): Likewise.
3164 * locale/programs/locfile.c: Include <stdbool.h>.
3165 (swap_endianness_p): New variable.
3166 (add_locale_uint32): Call maybe_swap_uint32.
3167 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3168 (write_locale_data): Call maybe_swap_uint32_array.
3169 * locale/programs/ld-collate.c (obstack_int32_grow): Call
3170 maybe_swap_uint32.
3171 (obstack_int32_grow_fast): Likewise.
3172 (output_weightwc): Call maybe_swap_uint32_obstack.
3173 (collate_output): Likewise.
3174 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3175 (OPT_LITTLE_ENDIAN): Likewise.
3176 (options): Add --little-endian and --big-endian options.
3177 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3178 * locale/programs/locarchive.c: Include "locfile.h".
3179 (GET): New macro.
3180 (SET): Likewise.
3181 (INC): Likewise.
3182 (create_archive): Use the new macros to access fields of
3183 structures directly mapped from or written to locale archives.
3184 (oldlocrecentcmp): Likewise.
3185 (enlarge_archive): Likewise.
3186 (insert_name): Likewise.
3187 (add_alias): Likewise.
3188 (add_locale): Likewise.
3189 (delete_locales_from_archive): Likewise.
3190 (show_archive_content): Likewise.
3191 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
3192 locale data.
3193
39bf0bb4
RM
31942013-09-24 Roland McGrath <roland@hack.frob.com>
3195
3196 * manual/freemanuals.texi: Updated from (newly) canonical copy at
3197 http://www.gnu.org/doc/freemanuals.texi.
3198 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3199
f02eed10
WN
32002013-09-24 Will Newton <will.newton@linaro.org>
3201
3202 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3203 macro.
3204
a3a6c312
JM
32052013-09-23 Joseph Myers <joseph@codesourcery.com>
3206
3207 * locale/hashval.h (compute_hashval): Interpret bytes of key as
3208 unsigned char.
3209
107375ac
MR
32102013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
3211
3212 * manual/threads.texi (POSIX Threads): Fix a typo.
3213
141f3a77
SP
32142013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
3215
303e567a
SP
3216 [BZ #14547]
3217 * string/tst-strcoll-overflow.c: New test case.
3218 * string/Makefile (xtests): Add tst-strcoll-overflow.
3219 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3220 cache if string sizes may cause integer overflow.
3221
141f3a77
SP
3222 [BZ #14547]
3223 * string/strcoll_l.c (coll_seq): New members rule, idx,
3224 save_idx and back_us.
3225 (get_next_seq_nocache): New function.
3226 (do_compare_nocache): New function.
3227 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3228 when malloc fails.
3229
c61b4d41
CD
32302013-09-23 Carlos O'Donell <carlos@redhat.com>
3231
0b1f8e35
CD
3232 [BZ #15754]
3233 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3234 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3235 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3236
c61b4d41
CD
3237 [BZ #15754]
3238 * elf/Makefile (tests): Add tst-ptrguard1.
3239 (tests-static): Add tst-ptrguard1-static.
3240 (tst-ptrguard1-ARGS): Define.
3241 (tst-ptrguard1-static-ARGS): Define.
3242 * elf/tst-ptrguard1.c: New file.
3243 * elf/tst-ptrguard1-static.c: New file.
3244 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3245 * sysdeps/i386/stackguard-macros.h: Likewise.
3246 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3247 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3248 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3249 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3250 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3251 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3252
32532013-09-23 Hector Marco <hecmargi@upv.es>
3254 Ismael Ripoll <iripoll@disca.upv.es>
3255 Carlos O'Donell <carlos@redhat.com>
3256
3257 [BZ #15754]
3258 * sysdeps/generic/stackguard-macros.h: Define
3259 __pointer_chk_guard_local and POINTER_CHK_GUARD.
3260 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3261 Define __pointer_chk_guard_local.
3262 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3263 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3264
f5f4e7b4
VV
32652013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
3266
3267 [BZ #15859]
3268 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3269
5bb43a43
AS
32702013-09-20 Andreas Schwab <schwab@linux-m68k.org>
3271
3272 * include/string.h (__ffs): Declare as hidden.
3273 * string/ffs.c (__ffs): Define as hidden.
3274 * sysdeps/i386/ffs.c (__ffs): Likewise.
3275 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3276 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3277 * sysdeps/s390/ffs.c (__ffs): Likewise.
3278 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3279
3ea5be54
AO
32802013-09-20 Alexandre Oliva <aoliva@redhat.com>
3281
ffb89e53
AO
3282 * NEWS: Mention malloc probes.
3283
322dea08
AO
3284 * malloc/arena.c (new_heap): New memory_heap_new probe.
3285 (grow_heap): New memory_heap_more probe.
3286 (shrink_heap): New memory_heap_less probe.
3287 (heap_trim): New memory_heap_free probe.
3288 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3289 (systrim): New memory_sbrk_less probe.
3290 * manual/probes.texi: Document them.
3291
655673f3
AO
3292 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3293 * manual/probes.texi: Document it.
3294
35fed6f1
AO
3295 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3296 (__libc_realloc): Add memory_realloc_retry probe.
3297 (__libc_memalign): Add memory_memalign_retry probe.
3298 (__libc_valloc): Add memory_valloc_retry probe.
3299 (__libc_pvalloc): Add memory_pvalloc_retry probe.
3300 (__libc_calloc): Add memory_calloc_retry probe.
3301 * manual/probes.texi: Document them.
3302
6999d38c
AO
3303 * malloc/arena.c (get_free_list): Add probe
3304 memory_arena_reuse_free_list.
3305 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3306 and memory_arena_reuse.
3307 (arena_get2) [!PER_THREAD]: Likewise.
3308 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3309 memory_arena_reuse_realloc.
3310 * manual/probes.texi: Document them.
3311
0653427f
AO
3312 * malloc/malloc.c (__libc_free): Add
3313 memory_mallopt_free_dyn_thresholds probe.
3314 (__libc_mallopt): Add multiple memory_mallopt probes.
3315 * manual/probes.texi: Document them.
3316
3ea5be54
AO
3317 * malloc/malloc.c: Include stap-probe.h.
3318 (__libc_mallopt): Add memory_mallopt probe.
3319 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3320 * manual/probes.texi: New.
3321 * manual/Makefile (chapters): Add probes.
3322 * manual/threads.texi: Set next node.
3323
e35696c3 33242013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 3325
e35696c3
CL
3326 [BZ #15963, #13985]
3327 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3328 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3329 Add `Chinese' to `nan' entry name.
3330
4aafb73c
SP
33312013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3332
3333 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3334 (POLYNOMIAL): Likewise.
3335 (TAYLOR_SINCOS): Likewise.
3336 (TAYLOR_SLOW): Likewise.
3337 (__sin): Use TAYLOR_SINCOS.
3338 (__cos): Likewise.
3339 (slow): Use TAYLOR_SLOW.
3340 (sloww): Likewise.
3341 (bsloww): Likewise.
3342 (csloww): Likewise.
3343
d84f25c7
LD
33442013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
3345
3346 * stdlib/strtod_l.c: Fix buffer overrun.
3347
5eea0404
SP
33482013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
3349
7849ff93
SP
3350 * benchtests/Makefile (bench): Add sincos.
3351 * benchtests/bench-sincos.c: New file.
3352
cfa3c886
SP
3353 * math/libm-test.inc (cos_test_data): New test inputs.
3354 (sin_test_data): Likewise.
3355
b348e1e3
SP
3356 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3357 macro.
3358 (__sin): Use it.
3359 (__cos): Likewise.
3360 (slow1): Likewise.
3361 (slow2): Likewise.
3362 (sloww1): Likewise.
3363 (sloww2): Likewise.
3364 (bsloww1): Likewise.
3365 (bsloww2): Likewise.
3366 (cslow2): Likewise.
3367 (csloww1): Likewise.
3368 (csloww2): Likewise.
3369
6cce25f8
SP
3370 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3371 function.
3372 (__sin): Use it.
3373 (__cos): Likewise.
3374
5eea0404
SP
3375 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3376 gotos.
3377 (__cos): Likewise.
3378
9c21573c
MR
33792013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
3380
3381 * config.h.in (HAVE_MIPS_NAN2008): New macro.
3382 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3383 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3384 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3385 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
3386 * elf/cache.c (print_entry): Handle the new cache flags.
3387
24d22e65
JM
33882013-09-18 Joseph Myers <joseph@codesourcery.com>
3389 Aldy Hernandez <aldyh@redhat.com>
3390
3391 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
3392 Change condition to [_SOFT_FLOAT].
3393 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
3394 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
3395 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
3396 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
3397 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
3398 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
3399 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
3400 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
3401 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
3402 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
3403 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
3404 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
3405 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
3406 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
3407 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
3408 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
3409 declaration.
3410
d13ef066
JM
34112013-09-18 Joseph Myers <joseph@codesourcery.com>
3412
2e071de0
JM
3413 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
3414 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3415 (__longjmp): Use LOAD_GP to load saved GPRs.
3416 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
3417 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
3418 (__sigsetjmp): Use SAVE_GP to save GPRs.
3419
d13ef066
JM
3420 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
3421 Do not append -msoft-float.
3422 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
3423
97a0650b
SP
34242013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
3425
3426 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
3427
11ca09e9
JM
34282013-09-17 Joseph Myers <joseph@codesourcery.com>
3429
3430 [BZ #15966]
3431 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
3432 (_FPU_GETCW): Use initial "__" on variable and field names but not
3433 on macro parameter name.
3434 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
3435 parentheses around reference to macro parameter.
3436
08ffcf34
RS
34372013-09-13 Richard Sandiford <richard@codesourcery.com>
3438
3439 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
3440 prototype.
3441 (ctype_startup): Use uint32_t in cast and sizeof for
3442 ctype->charnames.
3443
ae7080d3
JL
34442013-09-11 Jia Liu <proljc@gmail.com>
3445
3446 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
3447 __daddr_t_defined.
3448 [__FreeBSD__]: Likewise.
3449
5905e7b3
OB
34502013-09-11 Ondřej Bílka <neleai@seznam.cz>
3451
3452 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3453 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
3454 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
3455 (strchr): Remove __strchr_sse42 ifunc selection.
3456 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
3457 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
3458
b987c776
WN
34592013-09-11 Will Newton <will.newton@linaro.org>
3460
3461 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
3462 parameter to RES. Remove hardcoded 1000 value.
3463 * benchtests/bench-skeleton.c (main): Pass RES parameter
3464 to TIMING_INIT and multiply result by 1000.
3465
ddf985af
AZ
34662013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3467
3468 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3469
ffdd3181
AS
34702013-09-11 Andreas Schwab <schwab@suse.de>
3471
3472 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
3473 if not defined.
3474 (O_TMPFILE) [__USE_GNU]: Define.
3475 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
3476 Define.
3477
b73ed247
WN
34782013-09-11 Will Newton <will.newton@linaro.org>
3479
3480 [BZ #15857]
3481 * malloc/malloc.c (__libc_memalign): Check the value of bytes
3482 does not overflow.
3483
55e17aad
WN
34842013-09-11 Will Newton <will.newton@linaro.org>
3485
3486 [BZ #15856]
3487 * malloc/malloc.c (__libc_valloc): Check the value of bytes
3488 does not overflow.
3489
1159a193
WN
34902013-09-11 Will Newton <will.newton@linaro.org>
3491
3492 [BZ #15855]
3493 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
3494 does not overflow.
3495
5905e7b3 34962013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
3497
3498 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
3499 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
3500 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
3501 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
3502 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
3503
cdfc721b
AM
35042013-09-10 Allan McRae <allan@archlinux.org>
3505
aa04af00
AM
3506 [BZ #15748]
3507 * manual/arith.texi (Parsing of Floats): Clarify
3508 cross-reference.
3509
cdfc721b
AM
3510 [BZ #15849]
3511 * manual/install.texi (Running make install): Mention
3512 --enable-pt-chown.
3513 * INSTALL: Regenerated.
3514
95e7cf29
MR
35152013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
3516
3517 * csu/init-first.c (_init): Remove the !SHARED condition around
3518 FPU control word initialization.
3519 * elf/dl-support.c (_dl_fpu_control): New variable.
3520 (_dl_aux_init) <AT_FPUCW>: Initialize it.
3521 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
3522 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
3523 * math/test-fpucw-static.c: New file.
3524 * math/test-fpucw-ieee.c: New file.
3525 * math/test-fpucw-ieee-static.c: New file.
3526 * math/Makefile (tests): Add `test-fpucw-ieee' and
3527 `$(tests-static)'.
3528 (tests-static): New variable.
3529 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
3530 dependency to...
3531 [($(build-shared),yes)]
3532 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
3533 ... this.
3534 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
3535 New dependency.
3536
83e43bf0
AM
35372013-09-09 Allan McRae <allan@archlinux.org>
3538
a9f5ce09
AM
3539 [BZ #15939]
3540 * manual/string.texi (Collation Functions): Fix typo in
3541 strcoll example.
3542 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
3543
34829bc2
AM
3544 [BZ #15893]
3545 * stdlib/isomac.c (get_null_defines): Fix memory leak.
3546
3932737d
AM
3547 [BZ #15892]
3548 * libio/memstream.c (open_memstream): Fix memory leak.
3549 * libio/wmemstream.c (open_wmemstream): Likewise.
3550
83e43bf0
AM
3551 [BZ #15895]
3552 * nscd/netgroupcache.c: Fix nesting of ifdefs.
3553
0c66b8e9
WN
35542013-09-09 Will Newton <will.newton@linaro.org>
3555
3556 * malloc/Makefile: Add tst-realloc to tests.
3557 * malloc/tst-realloc.c: New file.
3558
f6b00fd1
AM
35592013-09-09 Allan McRae <allan@archlinux.org>
3560
3561 [BZ #15844]
3562 * COPYING: Update from GNU website to fix FSF address.
3563 * COPYING.LIB: Likewise.
3564
eec55e16
DM
35652013-09-06 David S. Miller <davem@davemloft.net>
3566
3567 * po/zh_TW.po: Update Chinese (traditional) translation from
3568 translation project.
3569
1ecbb381
RS
35702013-09-06 Richard Sandiford <richard@codesourcery.com>
3571 Joseph Myers <joseph@codesourcery.com>
3572
3573 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
3574 "localeinfo.h".
3575 (obstack_chunk_alloc): New macro.
3576 (obstack_chunk_free): Likewise.
3577 (record_offset): New function.
3578 (init_locale_data): Likewise.
3579 (align_locale_data): Likewise.
3580 (add_locale_empty): Likewise.
3581 (add_locale_raw_data): Likewise.
3582 (add_locale_raw_obstack): Likewise.
3583 (add_locale_string): Likewise.
3584 (add_locale_wstring): Likewise.
3585 (add_locale_uint32): Likewise.
3586 (add_locale_uint32_array): Likewise.
3587 (add_locale_char): Likewise.
3588 (start_locale_structure): Likewise.
3589 (end_locale_structure): Likewise.
3590 (start_locale_prelude): Likewise.
3591 (end_locale_prelude): Likewise.
3592 (write_locale_data): Take locale_file structure rather than an
3593 iovec.
3594 * locale/programs/locfile.h: Include "obstack.h".
3595 (struct locale_file): Change to store locale file contents instead
3596 of header.
3597 (init_locale_data): New prototype.
3598 (align_locale_data): Likewise.
3599 (add_locale_empty): Likewise.
3600 (add_locale_raw_data): Likewise.
3601 (add_locale_raw_obstack): Likewise.
3602 (add_locale_string): Likewise.
3603 (add_locale_wstring): Likewise.
3604 (add_locale_uint32): Likewise.
3605 (add_locale_uint32_array): Likewise.
3606 (add_locale_char): Likewise.
3607 (start_locale_structure): Likewise.
3608 (end_locale_structure): Likewise.
3609 (start_locale_prelude): Likewise.
3610 (end_locale_prelude): Likewise.
3611 (write_locale_data): Update prototype.
3612 * locale/programs/3level.h (struct TABLE): Remove result field.
3613 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
3614 Use new locale_file interface.
3615 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
3616 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
3617 * locale/programs/ld-address.c (address_output): Use new
3618 locale_file interface.
3619 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
3620 NO_ADD_LOCALE.
3621 (collate_finish): Don't call collseq_table_finalize.
3622 (collate_output): Use new locale_file interface.
3623 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
3624 in file.
3625 (NO_FINALIZE): Change to NO_ADD_LOCALE.
3626 (TABLE): Move defines earlier in file.
3627 (ELEMENT): Likewise.
3628 (DEFAULT): Likewise.
3629 (wctrans_table_add): Move macro and inline function earlier in
3630 file.
3631 (struct wctype_table): Move type earlier in file.
3632 (add_locale_wctype_table): New static prototype.
3633 (struct locale_ctype_t): Use logical types instead of struct iovec
3634 pointers for members.
3635 (ctype_output): Use new locale_file interface.
3636 (wctype_table_finalize): Change to add_locale_wctype_table. Use
3637 new locale_file interface.
3638 (allocate_arrays): Update for use of new locale_file interface.
3639 * locale/programs/ld-identification.c (identification_output): Use
3640 new locale_file interface.
3641 * locale/programs/ld-measurement.c (measurement_output): Likewise.
3642 * locale/programs/ld-messages.c (messages_output): Likewise.
3643 * locale/programs/ld-monetary.c (monetary_output): Likewise.
3644 * locale/programs/ld-name.c (name_output): Likewise.
3645 * locale/programs/ld-numeric.c (numeric_output): Likewise.
3646 * locale/programs/ld-paper.c (paper_output): Likewise.
3647 * locale/programs/ld-telephone.c (telephone_output): Likewise.
3648 * locale/programs/ld-time.c (time_output): Likewise.
3649
e029e2e5
AZ
36502013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3651
3652 * benchtests/Makefile: Add memrchr benchmark.
3653 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
3654 benchmark as memrchr.
3655 * benchtests/bench-memrchr-ifunc.c: New file.
3656 * benchtests/bench-memrchr.c: New file.
3657
bbf6e8e4
WN
36582013-09-06 Will Newton <will.newton@linaro.org>
3659
3660 * benchtests/Makefile (string-bench): Add memcpy.
3661
6c82a2f8
CD
36622013-09-05 Carlos O'Donell <carlos@redhat.com>
3663 Cong Wang <amwang@redhat.com>
3664
3665 * sysdeps/unix/sysv/linux/bits/in.h
3666 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
3667 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
3668 before __USE_KERNEL_IPV6_DEFS uses.
3669 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
3670 IPPROTO_BEETPH.
3671 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
3672 sockaddr_in6, or ipv6_mreq.
3673
5430fc65
AZ
36742013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3675
3676 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
3677 memory access for final bytes in some large inputs.
3678 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
3679
4660856c
AZ
36802013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3681
3682 * string/test-memrchr.c: New file.
3683 * string/test-memrchr-ifunc.c: New file.
3684 * string/Makefile: Add new memrchr testcase.
3685
bb8ea713
MF
36862013-09-05 Mike Frysinger <vapier@gentoo.org>
3687
3688 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
3689 fanotify_init returns EPERM.
3690
b92a20b5
JM
36912013-09-04 Joseph Myers <joseph@codesourcery.com>
3692
3693 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
3694 errors.
3695 (top level): Treat second token from macro or constant entries for
3696 allowed headers as allowed.
3697 * include/complex.h: Condition internal declarations on
3698 [!_ISOMAC].
3699 * include/fenv.h: Condition include of <stdbool.h> and internal
3700 declarations on [!_ISOMAC].
7447ccd9
CL
3701
37022013-09-04 Chris Leonard <cjl@sugarlabs,.org>
3703
3e181dda 3704 [BZ #15923]
7447ccd9
CL
3705 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
3706
3f2e46a4
JM
37072013-09-04 Joseph Myers <joseph@codesourcery.com>
3708
3709 * configure.in (--enable-versioning): Remove configure option.
3710 (libc_cv_asm_symver_directive): Remove configure test.
3711 (libc_cv_ld_version_script_option): Likewise.
3712 (VERSIONING): Remove variable and AC_SUBST.
3713 (DO_VERSIONING): Remove AC_DEFINE.
3714 * configure: Regenerated.
3715 * config.h.in (DO_VERSIONING): Remove macro.
3716 * Makerules [$(versioning) = yes]: Change conditionals to
3717 [$(build-shared) = yes].
3718 * config.make.in (versioning): Remove variable.
3719 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
3720 [$(build-shared) = yes].
3721 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
3722 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
3723 * elf/Makefile [$(versioning) = yes]: Change conditionals to
3724 [$(build-shared) = yes].
3725 * extra-lib.mk [$(versioning) = yes]: Likewise.
3726 * hurd/Makefile [$(versioning) = yes]: Likewise.
3727 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
3728 [SHARED].
3729 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
3730 [SHARED].
3731 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3732 [SHARED && !NO_HIDDEN].
3733 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
3734 [SHARED].
3735 [SHARED && DO_VERSIONING]: Likewise..
3736 * libio/Makefile [$(versioning) = yes]: Change conditionals to
3737 [$(build-shared) = yes].
3738 * manual/install.texi (--disable-versioning): Remove
3739 documentation.
3740 * INSTALL: Regenerated.
3741 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
3742 to [SHARED].
3743 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
3744 [$(build-shared) = yes].
3745 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
3746 * sysdeps/i386/i686/multiarch/strstr-c.c
3747 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
3748 [SHARED && !NO_HIDDEN].
3749 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
3750 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
3751 * sysdeps/powerpc/powerpc32/dl-machine.c
3752 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
3753 * sysdeps/powerpc/powerpc32/sysdep.h
3754 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
3755 to [SHARED && PIC && !NO_HIDDEN].
3756 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
3757 conditional to [SHARED].
3758
44558701
WN
37592013-09-04 Will Newton <will.newton@linaro.org>
3760
3761 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
3762 * benchtests/bench-string.h: Include bench-timing.h instead
3763 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
3764 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
3765 call to HP_TIMING_DIFF_INIT.
3766 * benchtests/bench-memccpy.c: Use bench-timing.h macros
3767 instead of hp-timing.h macros.
3768 * benchtests/bench-memchr.c: Likewise.
3769 * benchtests/bench-memcmp.c: Likewise.
3770 * benchtests/bench-memcpy.c: Likewise.
3771 * benchtests/bench-memmem.c: Likewise.
3772 * benchtests/bench-memmove.c: Likewise.
3773 * benchtests/bench-memset.c: Likewise.
3774 * benchtests/bench-rawmemchr.c: Likewise.
3775 * benchtests/bench-strcasecmp.c: Likewise.
3776 * benchtests/bench-strcasestr.c: Likewise.
3777 * benchtests/bench-strcat.c: Likewise.
3778 * benchtests/bench-strchr.c: Likewise.
3779 * benchtests/bench-strcmp.c: Likewise.
3780 * benchtests/bench-strcpy.c: Likewise.
3781 * benchtests/bench-strcpy_chk.c: Likewise.
3782 * benchtests/bench-strlen.c: Likewise.
3783 * benchtests/bench-strncasecmp.c: Likewise.
3784 * benchtests/bench-strncat.c: Likewise.
3785 * benchtests/bench-strncmp.c: Likewise.
3786 * benchtests/bench-strncpy.c: Likewise.
3787 * benchtests/bench-strnlen.c: Likewise.
3788 * benchtests/bench-strpbrk.c: Likewise.
3789 * benchtests/bench-strrchr.c: Likewise.
3790 * benchtests/bench-strspn.c: Likewise.
3791 * benchtests/bench-strstr.c: Likewise.
3792
cae16d66
WN
37932013-09-04 Will Newton <will.newton@linaro.org>
3794
3795 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
3796
ffa3cd7f
JM
37972013-09-03 Joseph Myers <joseph@codesourcery.com>
3798
3799 [BZ #15427]
3800 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
3801 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
3802 * math/libm-test.inc (lgamma_test_data): Add more tests.
3803 * sysdeps/i386/fpu/libm-test-ulps: Update.
3804 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3805
8f02859f
OB
38062013-09-03 Ondřej Bílka <neleai@seznam.cz>
3807
3808 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
3809 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
3810 Add ifunc.
3811 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
3812 Add strcmp-sse2-unaligned
3813 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
3814
18d43716
MF
38152013-09-02 Mike Frysinger <vapier@gentoo.org>
3816
3817 * Versions.def (libc): Add GLIBC_2.19.
3818
ac444012
MF
38192013-09-02 Mike Frysinger <vapier@gentoo.org>
3820
3821 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
3822 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
3823
b7835e32
JM
38242013-09-02 Joseph Myers <joseph@codesourcery.com>
3825
3826 [BZ #14155]
3827 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
3828 intermediate calculations in recurrence.
3829 (__ieee754_ynf): Likewise.
3830 * math/libm-test.inc (jn_test_data): Do not allow spurious
3831 underflow exception. Add more tests.
3832 (yn_test_data): Add more tests.
3833 * sysdeps/i386/fpu/libm-test-ulps: Update.
3834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3835
8220f4f0
OB
38362013-09-02 Ondřej Bílka <neleai@seznam.cz>
3837
3838 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
3839
f24a6d08
OB
38402013-08-30 Ondřej Bílka <neleai@seznam.cz>
3841
3842 * csu/init-first.c: Fix then/than typos.
3843 * locale/programs/ld-collate.c: Likewise.
3844 * locale/programs/linereader.h: Likewise.
3845 * manual/charset.texi: Likewise.
3846 * manual/filesys.texi: Likewise.
3847 * manual/stdio.texi: Likewise.
3848 * manual/string.texi: Likewise.
3849 * stdlib/fmtmsg.c: Likewise.
3850 * sysdeps/i386/stpncpy.S: Likewise.
3851 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3852 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3853 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3854 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3855
382466e0
OB
38562013-08-30 Ondřej Bílka <neleai@seznam.cz>
3857
3858 * elf/dl-open.c: Fix typos.
3859 * iconvdata/gbbig5.c: Likewise.
3860 * iconvdata/iso-2022-jp.c: Likewise.
3861 * iconv/gconv_int.h: Likewise.
3862 * iconv/loop.c: Likewise.
3863 * nis/rpcsvc/nis.h: Likewise.
3864 * resolv/ns_name.c: Likewise.
3865 * stdio-common/vfscanf.c: Likewise.
3866 * streams/stropts.h: Likewise.
3867 * sunrpc/rpc_thread.c: Likewise.
3868 * sysdeps/i386/strpbrk.S: Likewise.
3869 * sysdeps/ieee754/k_standard.c: Likewise.
3870 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
3871 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3872 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
3873 * sysdeps/mach/hurd/profil.c: Likewise.
3874 * sysdeps/s390/dl-procinfo.h: Likewise.
3875 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
3876 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3877 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
3878 * sysdeps/x86_64/dl-trampoline.S: Likewise.
3879 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
3880
0186c6e9
OB
38812013-08-30 Ondřej Bílka <neleai@seznam.cz>
3882
3883 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
3884 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
3885
d4e16af1
OB
38862013-08-29 Ondřej Bílka <neleai@seznam.cz>
3887
3888 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
3889 aix specific files.
3890 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
3891 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
3892 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
3893 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
3894 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
3895 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
3896 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
3897 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
3898
88335980
TS
38992013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3900 Roland McGrath <roland@hack.frob.com>
3901
3902 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
3903 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
3904
ed479b02
ST
39052013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
3906
3907 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
3908 __executable_start symbol instead of _start.
3909
f1cc4c86
TS
39102013-08-29 Thomas Schwinge <thomas@codesourcery.com>
3911
d821f07c
TS
3912 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
3913 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
3914 Move macros to...
3915 * sysdeps/gnu/ldsodefs.h: ... this new file.
3916
c54290cf
TS
3917 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
3918 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
3919 instead of ELFOSABI_LINUX.
3920
0007fc9b 3921 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
3922 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
3923 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
3924 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
3925 Likewise.
3926 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
3927 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
3928 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
3929 Likewise.
3930 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3931 (ibm_extended_long_double): Add ieee_nan member.
3932 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
3933 (do_test): New function.
3934
f1cc4c86
TS
3935 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
3936 TEST_TRUNC.
3937 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
3938 functions, renamed from truncdfsf_test, trunctfsf_test,
3939 trunctfdf_test.
3940 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
3941 functions.
3942 (do_test): Run all these.
3943
6f65e668
OB
39442013-08-29 Ondřej Bílka <neleai@seznam.cz>
3945
3946 * argp/argp-help.c: Fix typos.
3947 * argp/argp-parse.c: Likewise.
3948 * debug/backtracesyms.c: Likewise.
3949 * elf/elf.h: Likewise.
3950 * malloc/malloc.c: Likewise.
3951 * nis/nis_print.c: Likewise.
3952 * resolv/res_comp.c: Likewise.
3953 * stdlib/stdlib.h: Likewise.
3954 * sunrpc/clnt_tcp.c: Likewise.
3955 * sunrpc/clnt_udp.c: Likewise.
3956 * sunrpc/clnt_unix.c: Likewise.
3957 * sysdeps/unix/bsd/ptsname.c: Likewise.
3958 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
3959 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
3960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
3961 Likewise.
3962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
3963 Likewise.
3964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
3965 Likewise.
6f65e668
OB
3966 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
3967
3a309239
SP
39682013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
3969
3970 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
3971 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3972
3b813b29
MF
39732013-08-27 Mike Frysinger <vapier@gentoo.org>
3974
3975 [BZ #15897]
3976 * dlfcn/Makefile (tests): Add bug-dl-leaf.
3977 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
3978 ($(objpfx)bug-dl-leaf): New rule.
3979 ($(objpfx)bug-dl-leaf.so): Likewise.
3980 ($(objpfx)bug-dl-leaf.out): Likewise.
3981 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
3982 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
3983 * dlfcn/bug-dl-leaf.c: New test.
3984 * dlfcn/bug-dl-leaf-lib.c: Likewise.
3985 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
3986 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
3987 (dlclose): Likewise.
3988 (dlmopen): Likewise.
3989
8cc3269f
RM
39902013-08-27 Roland McGrath <roland@hack.frob.com>
3991
7f9d0034
RM
3992 * include/netdb.h [!_ISOMAC]:
3993 Don't include <tls.h>.
3994 (h_errno, __libc_h_errno): Move declaration and macros out of
3995 [_LIBC_REENTRANT].
3996
fb431262
RM
3997 * include/resolv.h [_RESOLV_H_]:
3998 Don't include <tls.h>.
3999 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4000 * resolv/res_libc.c: Don't include <tls.h>.
4001 (_res): Use __attribute__ ((nocommon)) in place of
4002 __attribute__ ((section (".bss"))).
4003
bd81123a
RM
4004 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4005 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4006
c4e42566
RM
4007 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4008
f890a59b
RM
4009 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4010 only under [SIOCGIFCONF && SIOCGIFNETMASK].
4011
4012 * resolv/res_mkquery.c: Include <sys/time.h>.
4013
5d1f0a09
RM
4014 * inet/ifreq.c: Moved to ...
4015 * sysdeps/unix/ifreq.c: ... here.
4016 * inet/ifreq.c: New file, true stub version.
4017
6fcf28b3
RM
4018 * socket/sa_len.c: New file.
4019 * socket/Makefile (aux): Add it.
4020 * sysdeps/unix/sysv/linux/Makefile
4021 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4022 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4023 and #include <socket/sa_len.c>.
4024 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4025 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4026
e041fb8b
RM
4027 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4028 * bits/socket.h: ... here.
4029
8cc3269f
RM
4030 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4031 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4032 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4033
5d228a43
AS
40342013-08-27 Andreas Schwab <schwab@suse.de>
4035
45b8accc
AS
4036 [BZ #15736]
4037 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4038 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4039 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4040 * string/test-strcasecmp.c (test_main): Run tests in several
4041 locales.
4042 * string/test-strncasecmp.c (test_main): Likewise.
4043
5d228a43
AS
4044 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4045 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4046 to __strcasecmp_nonascii and __strncasecmp_nonascii.
4047 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4048 (__strncasecmp_ssse3) [PIC]: Likewise.
4049
59d112a4
RM
40502013-08-26 Roland McGrath <roland@hack.frob.com>
4051
53234cc3
RM
4052 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4053
59d112a4
RM
4054 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4055 instead of explicitly declaring xdecrypt.
4056 * nis/nss_nis/nis-publickey.c: Likewise.
4057
595aba70
SP
40582013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4059
4060 [BZ #15890]
4061 * nscd/aicache.c: Include res_hconf.h.
4062 (addhstaiX): Initialize res_hconf.
4063
ffabd393
AS
40642013-08-26 Andreas Schwab <schwab@suse.de>
4065
4066 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4067 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4068
e0a69f5c
SP
40692013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4070
4071 * nscd/aicache.c (addhstaiX): Fix indentation.
4072
8c12f01d
MF
40732013-08-25 Mike Frysinger <vapier@gentoo.org>
4074
4075 * configure.ac: Quote $build_pt_chown test.
4076 * configure: Regenerated.
4077
8fe89494
JM
40782013-08-23 Joseph Myers <joseph@codesourcery.com>
4079
4080 [BZ #15532]
4081 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4082 * math/s_cexpf.c (__cexpf): Likewise.
4083 * math/s_cexpl.c (__cexpl): Likewise.
4084 * math/libm-test.inc (cexp_test_data): Correct expected return
4085 value for NaN + i0. Add another test.
4086
75b181d6
DM
40872013-08-22 David S. Miller <davem@davemloft.net>
4088
4089 * po/ca.po: Update Catalan translation from translation project.
936241e4 4090 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 4091
acd06bb1
JM
40922013-08-21 Joseph Myers <joseph@codesourcery.com>
4093
4094 [BZ #15797]
4095 * math/s_fdim.c (__fdim): Check for infinite arguments if result
4096 is infinite, not alongside NaN test.
4097 * math/s_fdimf.c (__fdimf): Likewise.
4098 * math/s_fdiml.c (__fdiml): Likewise.
4099 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
4100 errno is unchanged.
4101
c0c3f78a
OB
41022013-08-21 Ondřej Bílka <neleai@seznam.cz>
4103
4104 * argp/argp-help.c: Fix typos.
4105 * crypt/speeds.c: Likewise.
4106 * csu/check_fds.c: Likewise.
4107 * elf/dl-load.c: Likewise.
4108 * elf/dl-open.c: Likewise.
4109 * elf/reldep3.c: Likewise.
4110 * elf/reldep.c: Likewise.
4111 * elf/sprof.c: Likewise.
4112 * iconv/iconv_charmap.c: Likewise.
4113 * iconv/skeleton.c: Likewise.
4114 * iconv/strtab.c: Likewise.
4115 * io/lockf64.c: Likewise.
4116 * libio/libioP.h: Likewise.
4117 * resolv/gai_notify.c: Likewise.
4118 * resolv/ns_name.c: Likewise.
4119 * resolv/ns_samedomain.c: Likewise.
4120 * resolv/res_send.c: Likewise.
4121 * stdlib/random.c: Likewise.
4122 * sunrpc/rpc/xdr.h: Likewise.
4123 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4124 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4125 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4126 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4127 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4128 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4129 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4130 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4131 * sysdeps/mach/hurd/check_fds.c: Likewise.
4132 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4133 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4134 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4135 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4136 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4137 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4138 * sysdeps/pthread/aio_notify.c: Likewise.
4139 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4140 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4141 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4142 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4143 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4144
46ed1038
LD
41452013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4146
4147 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4148 version if bit_Slow_SSE4_2 is set.
4149 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4150 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4151
d400dcac
AZ
41522013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4153
4154 [BZ #15867]
4155 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4156 trampoline stack frame information.
4157 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4158 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4159 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4160 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4161 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4162 * sysdeps/unix/sysv/linux/powerpc/init-first.c
4163 (_libc_vdso_platform_setup): Initialize the signal trampolines.
4164 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4165 sa_flags value.
4166 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4167 interrupting a syscall and set with option SA_SIGINFO.
4168
42c8fdd8
JM
41692013-08-20 Joseph Myers <joseph@codesourcery.com>
4170
c980f2f4
JM
4171 [BZ #15531]
4172 * math/s_cproj.c (__cproj): Only return an infinity if one part of
4173 argument is infinite.
4174 * math/s_cprojf.c (__cprojf): Likewise.
4175 * math/s_cprojl.c (__cprojl): Likewise.
4176 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4177 * math/libm-test.inc (cproj_test_data): Add more tests.
4178
0716c4fc
JM
4179 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4180
42c8fdd8
JM
4181 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4182 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4183 size. Use __ffs to determine corresponding shift.
4184
b31469d0
JM
41852013-08-20 Joseph Myers <joseph@codesourcery.com>
4186 Roland McGrath <roland@hack.frob.com>
4187
4188 * Makefile (INSTALL): Remove trailing blank lines from output of
4189 makeinfo.
4190
4e39af6e
AK
41912013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4192
4193 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4194 Align 32 bit compat elf_greg to 8 bytes.
4195
f315524e
AA
41962013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
4197
4198 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4199
1326ba1a
SP
42002013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
4201
4202 * string/strcoll_l.c (coll_seq): New structure.
4203 (get_next_seq_cached): New function.
4204 (get_next_seq): New function.
4205 (do_compare): New function.
4206 (STRCOLL): Use GNU style definition. Simplify implementation
4207 by using get_next_seq, get_next_seq_cached and do_compare.
4208
91ce4085
FW
42092013-08-16 Florian Weimer <fweimer@redhat.com>
4210
4211 [BZ #14699]
4212 CVE-2013-4237
4213 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4214 member.
4215 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4216 member.
4217 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4218 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4219 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
4220 conditional.
4221 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4222 GETDENTS_64BIT_ALIGNED.
4223 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4224 * manual/filesys.texi (Reading/Closing Directory): Document
4225 ENAMETOOLONG return value of readdir_r. Recommend readdir more
4226 strongly.
4227 * manual/conf.texi (Limits for Files): Add portability note to
4228 NAME_MAX, PATH_MAX.
4229 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4230
ca0a6bc4
AS
42312013-08-13 Andreas Schwab <schwab@suse.de>
4232
4233 [BZ #15749]
4234 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4235 of fabs.
4236 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4237 LDBL_MAX_EXP >= 16384]: Add tests for it.
4238
6c1fd795
DM
42392013-08-12 David S. Miller <davem@davemloft.net>
4240
4241 * version.h (RELEASE): Set to "development".
4242 (VERSION): Set to "2.18.90".
4243 * NEWS: Add 2.19 section.
4244
31ad488d
DM
42452013-08-03 David S. Miller <davem@davemloft.net>
4246
4247 * po/ko.po: Update Korean translation from translation project.
4248
db24e684
DM
42492013-08-01 David S. Miller <davem@davemloft.net>
4250
4251 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
4252 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4253 Bilka.
4254
f723285b
DM
42552013-07-30 David S. Miller <davem@davemloft.net>
4256
4257 * po/fr.po: Update French translation from translation project.
4258
3cbc52db
DM
42592013-07-28 David S. Miller <davem@davemloft.net>
4260
30bbc0cc
DM
4261 * po/cs.po: Update Czech translation from translation project.
4262
3cbc52db
DM
4263 * po/sv.po: Update Swedish translation from translation project.
4264
d492e6d0
DM
42652013-07-27 David S. Miller <davem@davemloft.net>
4266
f1a7f492
DM
4267 * po/eo.po: Update Esperanto translation from translation project.
4268
90e62a4a
DM
4269 * po/vi.po: Update Vietnamese translation from translation project.
4270
d492e6d0
DM
4271 * po/de.po: Update German translation from translation project.
4272
d4baa62d
DM
42732013-07-26 David S. Miller <davem@davemloft.net>
4274
641aa7b4
DM
4275 * po/bg.po: Update Bulgarian translation from translation project.
4276
d4baa62d
DM
4277 * po/nl.po: Update Dutch translation from translation project.
4278 * po/pl.po: Update Polish translation from translation project.
4279 * po/ru.po: Update Russian translation from translation project.
4280
61a9dcb9
DM
42812013-07-24 David S. Miller <davem@davemloft.net>
4282
4283 * po/libc.pot: Update.
4284
7b1f8b58
AZ
42852013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4286
4287 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4288 variable page size.
4289 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4290 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4291 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4292
a8fc7a03
AK
42932013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4294
4295 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4296
e4608715
CD
42972013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4298 Andreas Schwab <schwab@suse.de>
4299 Roland McGrath <roland@hack.frob.com>
4300 Joseph Myers <joseph@codesourcery.com>
4301 Carlos O'Donell <carlos@redhat.com>
4302
4303 [BZ #15755]
4304 * config.h.in: Define HAVE_PT_CHOWN.
4305 * config.make.in (build-pt-chown): New variable.
4306 * configure.in (--enable-pt_chown): New configure option.
4307 * configure: Regenerate.
4308 * login/Makefile: Include Makeconfig. Build pt_chown only if
4309 build-pt-chown is enabled.
4310 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4311 pt_chown to fix pty ownership.
4312 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4313 CLOSE_ALL_FDS.
4314 * manual/install.texi (Configuring and compiling): Mention
4315 --enable-pt_chown. Add @findex for grantpt.
4316 * INSTALL: Regenerate.
4317
da2d62df
DM
43182013-07-20 David S. Miller <davem@davemloft.net>
4319
4320 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4321 difference between 32-bit and 64-bit.
4322
d7e06450
CD
43232013-07-15 Carlos O'Donell <carlos@redhat.com>
4324
4325 [BZ #15711]
4326 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4327 Avoid system header dependency with -ffreestanding.
4328 ($(objpfx)bits/syscall%d): Likewise.
4329
f959cfd7
DM
43302013-07-13 David S. Miller <davem@davemloft.net>
4331
4332 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4333 underflows from atanl/atan2l due to bug 15319.
4334 (casinh_test_data): Likewise.
4335
c61f8513
DM
43362013-07-07 David S. Miller <davem@davemloft.net>
4337
4338 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4339
72c90ed0
JA
43402013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
4341
4342 * sysdeps/i386/fpu/libm-test-ulps: Update.
4343 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4344
52dfbe13
SP
43452013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
4346
4347 * configure.in (--enable-lock-elision): Fix message text.
4348 * INSTALL: Regenerate.
4349 * configure: Regenerate.
4350
3f169543
AZ
43512013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4352
4353 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4354
521c6785
AJ
43552013-07-03 Andreas Jaeger <aj@suse.de>
4356
4357 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4358 define.
4359 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4360 (ptrace_peeksiginfo_args): Add.
4361 (__ptrace_peeksiginfo_flags): Add.
4362 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4363 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4364 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4365
d2cc15cb
AM
43662013-07-03 Allan McRae <allan@archlinux.org>
4367
4368 * sysdeps/i386/fpu/libm-test-ulps: Update.
4369
3aaeeca7
DM
43702013-07-02 David S. Miller <davem@davemloft.net>
4371
4372 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4373
5314ed1a
MT
43742013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
4375
4376 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4377
67338156
JM
43782013-07-02 Joseph Myers <joseph@codesourcery.com>
4379
4380 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4381 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4382
1717da59
AK
43832013-07-02 Andi Kleen <ak@linux.intel.com>
4384
4385 * config.h.in (ENABLE_LOCK_ELISION): Add.
4386 * configure.in (--enable-lock-elision): Add option.
4387 * manual/install.texi: Document --enable lock elision.
4388 * configure: Regenerate
4389 * INSTALL: Regenerate.
4390
1c81621c
L
43912013-07-02 H.J. Lu <hongjiu.lu@intel.com>
4392
4393 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
4394 SSE4.2 strcasecmp for libc.a.
4395 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
4396
77f01ab5
JM
43972013-07-02 Joseph Myers <joseph@codesourcery.com>
4398
4399 [BZ #13304]
4400 * soft-fp/op-common.h (_FP_FMA): New macro.
4401 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
4402 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
4403 (_FP_MUL_MEAT_1_imm): ... here.
4404 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
4405 (_FP_MUL_MEAT_1_wide): ... here.
4406 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
4407 (_FP_MUL_MEAT_1_hard): ... here.
4408 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
4409 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
4410 (_FP_MUL_MEAT_2_wide): ... here.
4411 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
4412 (_FP_MUL_MEAT_2_wide_3mul): ... here.
4413 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
4414 (_FP_MUL_MEAT_2_gmp): ... here.
4415 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
4416 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
4417 (_FP_MUL_MEAT_4_wide): ... here.
4418 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
4419 (_FP_MUL_MEAT_4_gmp): ... here.
4420 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
4421 (_FP_WFRACBITS_DW_S): Likewise.
4422 (_FP_WFRACXBITS_DW_S): Likewise.
4423 (_FP_HIGHBIT_DW_S): Likewise.
4424 (FP_FMA_S): Likewise.
4425 (_FP_FRAC_HIGH_DW_S): Likewise.
4426 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
4427 (_FP_WFRACBITS_DW_D): Likewise.
4428 (_FP_WFRACXBITS_DW_D): Likewise.
4429 (_FP_HIGHBIT_DW_D): Likewise.
4430 (FP_FMA_D): Likewise.
4431 (_FP_FRAC_HIGH_DW_D): Likewise.
4432 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
4433 (_FP_WFRACBITS_DW_E): Likewise.
4434 (_FP_WFRACXBITS_DW_E): Likewise.
4435 (_FP_HIGHBIT_DW_E): Likewise.
4436 (FP_FMA_E): Likewise.
4437 (_FP_FRAC_HIGH_DW_E): Likewise.
4438 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
4439 (_FP_WFRACBITS_DW_Q): Likewise.
4440 (_FP_WFRACXBITS_DW_Q): Likewise.
4441 (_FP_HIGHBIT_DW_Q): Likewise.
4442 (FP_FMA_Q): Likewise.
4443 (_FP_FRAC_HIGH_DW_Q): Likewise.
4444 * soft-fp/fmasf4.c: New file.
4445 * soft-fp/fmadf4.c: Likewise.
4446 * soft-fp/fmatf4.c: Likewise.
4447
6308fd9a
LD
44482013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4449
4450 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
4451 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
4452 Silvermont.
4453 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
4454 macro.
4455 (index_Slow_SSE4_2): Likewise.
4456 (index_Prefer_PMINUB_for_stringop): Likewise.
4457 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
4458 bit_Slow_SSE4_2 is set.
4459 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4460 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
4461
89cd9569
RA
44622013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4463
4464 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
4465 rtld_global._dl_hwcap2.
4466 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
4467 POWER8.
4468 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
4469 POWER8 feature descriptions defined in _dl_hwcap2.
4470 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
4471 string handling for POWER8 feature bits.
4472 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
4473 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
4474 _dl_powerpc_cap_flags.
4475 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
4476 * sysdeps/powerpc/rtld-global-offsets.sym
4477 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
4478 _dl_hwcap2 in the rtld_global_ro structure.
4479
1ae8bfe0
RA
44802013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4481
4482 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
4483 hardware capabilities in support of AT_HWCAP2.
4484 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
4485 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
4486 GLRO(dl_hwcap2).
4487 (_dl_show_auxv): Add support for calling _dl_procinfo to display
4488 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
4489 explicitly the unknown a_type display mechanism is used.
4490 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
4491 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
4492 struct member.
4493 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
4494 to macro prototype for AT_HWCAP2 support.
4495 * sysdeps/i386/dl-procinfo.h: Likewise.
4496 * sysdeps/s390/dl-procinfo.h: Likewise.
4497 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
4498 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
4499 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
4500 return -1 for unknown a_type display fallback.
4501 * sysdeps/sparc/dl-procinfo.h: Likewise.
4502 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
4503 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
4504
8fbec010
JM
45052013-06-28 Joseph Myers <joseph@codesourcery.com>
4506
4507 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
4508 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
4509
0432680e
PY
45102013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
4511
4512 [BZ #12492]
4513 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
4514 mprotect making __stack_prot writable.
4515
ce61a2ad
NF
45162013-06-28 Nathan Froyd <froydnj@codesourcery.com>
4517 Joseph Myers <joseph@codesourcery.com>
4518
4519 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
4520 as being properly aligned.
4521
f91f1c0f
MR
45222013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
4523
3d0f5d0c
MR
4524 * dlfcn/modstatic5.c: New file.
4525 * dlfcn/tststatic5.c: New file.
4526 * dlfcn/Makefile (tests): Add tststatic5.
4527 (tests-static): Likewise.
4528 (modules-names): Add modstatic5.
4529 (tststatic5-ENV): New variable.
4530 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
4531
f91f1c0f
MR
4532 [BZ #15022]
4533 * elf/dl-support.c (_dl_main_map): New variable.
4534 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
4535 (_dl_nns, _dl_load_adds): Set to 1.
4536 (_dl_initial_searchlist): Refer to _dl_main_map.
4537 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
4538 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
4539 call to _dl_get_origin.
4540 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
4541 around call_map.
4542 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
4543 * dlfcn/modstatic3.c: New file.
4544 * dlfcn/tststatic3.c: New file.
4545 * dlfcn/tststatic4.c: New file.
4546 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
4547 (tests-static): Likewise.
4548 (modules-names): Add modstatic3.
4549 (tststatic3-ENV, tststatic4-ENV): New variables.
4550 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
4551 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
4552
cbe7d24b
JM
45532013-06-26 Joseph Myers <joseph@codesourcery.com>
4554
4555 * configure.in (CC): Require GCC version 4.4 or later.
4556 * configure: Regenerated.
4557 * manual/install.texi (Tools for Compilation): Update GCC version
4558 requirement.
4559 * INSTALL: Regenerated.
4560
11b8a0e1
LD
45612013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4562
4563 [BZ #15674]
bb5bb87c
L
4564 * string/test-memcmp.c (check2): New.
4565 (main): Call check2.
4566
11b8a0e1
LD
4567 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
4568
b0037103
MR
45692013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
4570
4571 [BZ #15022]
4572 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
4573 over to...
4574 (dl_open_worker) [!SHARED]: ... here.
4575
c18c701d
RA
45762013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4577
4578 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
4579
1d17fa5f
RH
45802013-06-25 Richard Henderson <rth@redhat.com>
4581
4582 * locale/programs/locarchive.c: Include <libc-internal.h>
4583
8fcb833a
JM
45842013-06-25 Joseph Myers <joseph@codesourcery.com>
4585
4586 * manual/texinfo.tex: Update to version 2013-06-21.17, with
4587 trailing whitespace removed.
4588
17db6e8d
MF
45892013-06-24 Mike Frysinger <vapier@gentoo.org>
4590
4591 [BZ #10283]
17db6e8d
MF
4592 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
4593 * locale/programs/locarchive.c: Include libc-mmap.h.
4594 (prepare_address_space): Take two new outputs (the mmap base and len).
4595 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
4596 values.
4597 (create_archive): Declare new mmap base and len values for
4598 prepare_address_space, and store the result in ah.
4599 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
4600 (enlarge_archive): If ah->mmap_base is not NULL, use that and
4601 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4602 Declare new mmap base and len values for
4603 prepare_address_space, and store the result in new_ah.
4604 (open_archive): Declare new mmap base and len values for
4605 prepare_address_space, and store the result in ah.
4606 (close_archive): If ah->mmap_base is not NULL, use that and
4607 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
4608 * sysdeps/generic/libc-mmap.h: New file.
4609
d605071e
MF
46102013-06-24 Mike Frysinger <vapier@gentoo.org>
4611
4612 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
4613 (ALIGN_UP): Likewise.
4614 (PTR_ALIGN_DOWN): Likewise.
4615 (PTR_ALIGN_UP): Likewise.
4616
2f063a6e
RA
46172013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4618
4619 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
4620 entry mapped to PPC_PLATFORM_POWER8.
4621 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
4622 POWER8.
4623 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
4624 (_dl_string_platform): Add case for exporting platform position for
4625 POWER8.
4626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
4627 search path to sysdeps/powerpc/powerpc32/power8 directory.
4628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
4629 search path to sysdeps/powerpc/powerpc64/power8 directory.
4630 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
4631 power7 directories.
4632 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
4633 power7 directories.
4634
a31ee4b3
SP
46352013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4636
a74ca98f
SP
4637 * INSTALL: Regenerate.
4638
a31ee4b3
SP
4639 * nscd/connections.c (nscd_init): Fix comment.
4640
695c378f
JM
46412013-06-22 Joseph Myers <joseph@codesourcery.com>
4642
d8412221
JM
4643 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
4644
695c378f
JM
4645 [BZ #15667]
4646 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
4647 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
4648
d1d54715
MR
46492013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4650
4651 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
4652 DL_DST_REQ_STATIC.
4653 (DL_DST_REQ_STATIC): Remove macro.
4654
8fdda7af
JM
46552013-06-21 Joseph Myers <joseph@codesourcery.com>
4656
4657 [BZ #7006]
4658 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
4659 with a shift of 0 bits.
4660
f3bc5e5a
MR
46612013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
4662
4663 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
4664 $(tststatic-ENV).
4665
be09e8c9
KK
46662013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4667
4668 [BZ #15655]
4669 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
4670
85c2e611
AZ
46712013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4672
4673 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
4674 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
4675 accepts -fno-tree-loop-distribute-patterns.
4676 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
4677 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
4678 recursive call.
4679 * string/memset.c (memset): Likewise.
4680 * string/test-memmove.c (simple_memmove): Disable loop transformation
4681 to library calls.
4682 * string/test-memset.c (simple_memset): Likewise.
4683 * benchtests/bench-memmove.c (simple_memmove): Likewise.
4684 * benchtests/bench-memset.c (simple_memset): Likewise.
4685 * configure: Regenerated.
4686
c91e0825
JM
46872013-06-20 Joseph Myers <joseph@codesourcery.com>
4688
b8c792af
JM
4689 * math/test-misc.c (main): Ignore fesetround failure when failures
4690 of subsequent rounding tests would be ignored.
4691
c91e0825
JM
4692 [BZ #15654]
4693 * math/fedisblxcpt.c (fedisableexcept): Return 0.
4694 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
4695 * math/fegetenv.c (__fegetenv): Return 0.
4696 * math/fegetexcept.c (fegetexcept): Return 0.
4697 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
4698 FE_TONEAREST.
4699 * math/feholdexcpt.c (feholdexcept): Return 0.
4700 * math/fesetenv.c (__fesetenv): Return 0.
4701 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
4702 argument FE_TONEAREST.
4703 * math/feupdateenv.c (__feupdateenv): Return 0.
4704 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
4705
bfcacbde
RM
47062013-06-18 Roland McGrath <roland@hack.frob.com>
4707
4708 * elf/rtld-Rules (rtld-compile-command.S): New variable.
4709 (rtld-compile-command.s, rtld-compile-command.c): New variables.
4710 ($(objpfx)rtld-%.os rules): Use them.
4711
e55a9b25
AZ
47122013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4713
4714 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
4715 fields.
4716
346d65b3
RM
47172013-06-17 Roland McGrath <roland@hack.frob.com>
4718
12086fb4
RM
4719 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
4720 length of target pattern, then descending length of dependency pattern.
4721 * configure.in (AWK): Require gawk 3.1.2 or newer.
4722 * manual/install.texi (Tools for Compilation): Say that we do.
4723 * configure: Regenerated.
4724
346d65b3
RM
4725 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
4726 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
4727 * scripts/sysd-rules.awk: ... this new script.
4728 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
4729 than a glob-style pattern.
4730
1a846317
JM
47312013-06-17 Joseph Myers <joseph@codesourcery.com>
4732
4733 * math/test-misc.c (main): Do not treat incorrectly rounded
4734 conversions as failure unless ROUNDING_TESTS passes.
4735
8fc75e6f
JM
47362013-06-15 Joseph Myers <joseph@codesourcery.com>
4737
3711a167
JM
4738 [BZ #15631]
4739 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
4740 restore exception state around main square root computation, then
4741 check for inexactness explicitly.
4742
8fc75e6f
JM
4743 * math/libm-test.inc (fma_test_data): Add another test.
4744
61dd6208
SP
47452013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4746
adf23d2c
SP
4747 * manual/threads.texi (Non-POSIX Extensions): New document
4748 node. Document pthread_getattr_default_np and
4749 pthread_setattr_default_np.
4750
61dd6208
SP
4751 * Versions.def (libpthread): Add GLIBC_2.18.
4752 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
4753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
4754 Likewise.
4755 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
4756 Likewise.
4757 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4758 Likewise.
4759 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4760 Likewise.
4761 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
4762 Likewise.
4763 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
4764 Likewise.
4765 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
4766 Likewise.
4767 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
4768 Likewise.
4769 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
4770 Likewise.
4771
d086fc7b
LD
47722013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
4773
4774 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
4775 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
4776
747ef469
SP
47772013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
4778 H.J. Lu <hjl.tools@gmail.com>
4779
4780 [BZ #15627]
4781 * sysdeps/x86_64/rtld-memset.c: Remove file.
4782 * sysdeps/x86_64/rtld-memset.S: New file.
4783
1b2feed2
JM
47842013-06-14 Joseph Myers <joseph@codesourcery.com>
4785
4786 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
4787 (test_in_one_mode): Take arguments for whether the rounding mode
4788 is supported for each floating-point type.
4789 (do_test): Pass new arguments to test_in_one_mode using
4790 ROUNDING_TESTS.
4791
a58ad3f8
RM
47922013-06-13 Roland McGrath <roland@hack.frob.com>
4793
4794 * posix/tst-waitid.c (do_test): Distinguish different instances of
4795 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
4796 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
4797 before entering the kernel for waitpid.
4798
c204ab28
SP
47992013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4800
4801 * NEWS: Fix note on clock function precision. Text by Roland
4802 McGrath.
4803
f4a29fba
RM
48042013-06-13 Roland McGrath <roland@hack.frob.com>
4805
4806 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
4807 it into place only when and if the sanity check passes.
4808
1f24b9ad
JM
48092013-06-13 Joseph Myers <joseph@codesourcery.com>
4810
4811 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
4812 output for whether conversion result is exact. Take argument
4813 indicating whether type is IBM long double.
4814 (round_for_all): Change need_exact field to ibm_ld.
4815 * stdlib/tst-strtod-round.c (struct exactness): New type.
4816 (struct test): Change bool ld_ok field to struct exactness exact.
4817 (TEST): Update all definitions for change to field.
4818 (tests): Regenerate array contents.
4819 (test_in_one_mode): Take pointer to new field instead of old ld_ok
4820 field value. Check for IBM long double here.
4821 (do_test): Update calls to test_in_one_mode.
4822
58206c68
SP
48232013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
4824
4825 [BZ #12515]
4826 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
4827 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
4828
2d6f4c5b 48292013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
4830
4831 [BZ #15605]
4832 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
4833 generated by the compiler on loop optimizations.
4834 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
4835 general definitions.
4836
94f2c076
JM
48372013-06-12 Joseph Myers <joseph@codesourcery.com>
4838
4839 * math/bug-nextafter.c: Include <math-tests.h>.
4840 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4841 the relevant type.
4842 * math/bug-nexttoward.c: Include <math-tests.h>.
4843 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4844 the relevant type.
4845 * math/test-misc.c: Include <math-tests.h>.
4846 (main): Only test for exceptions if EXCEPTION_TESTS is true for
4847 the relevant type.
4848
e0e50a0a
AJ
48492013-06-12 Andreas Jaeger <aj@suse.de>
4850
4851 * po/ia.po: Update Interlingua translation from translation
4852 project.
4853
25061094
SP
48542013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4855
4856 * include/fenv.h: Include stdbool.h.
4857 (struct rm_ctx): New structure.
4858 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
4859 Define macro.
4860 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
4861 (SET_RESTORE_ROUNDF): Likewise.
4862 (SET_RESTORE_ROUNDL): Likewise.
4863 (SET_RESTORE_ROUND_NOEX): Likewise.
4864 (SET_RESTORE_ROUND_NOEXF): Likewise.
4865 (SET_RESTORE_ROUND_NOEXL): Likewise.
4866 (SET_RESTORE_ROUND_53BIT): Likewise.
4867 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
4868 (libc_feresetround_noexf_ctx): Likewise.
4869 (libc_feresetround_noexl_ctx): Likewise.
4870 (libc_feholdsetround_53bit_ctx): Likewise.
4871 (libc_feresetround_53bit_ctx): Likewise.
4872 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
4873 (libc_feholdexcept_setround_sse_ctx): New function.
4874 (libc_fesetenv_sse_ctx): Likewise.
4875 (libc_feupdateenv_sse_ctx): Likewise.
4876 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
4877 (libc_feholdexcept_setround_387_ctx): Likewise.
4878 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
4879 (libc_feholdsetround_387_prec_ctx): Likewise.
4880 (libc_feholdsetround_387_ctx): Likewise.
4881 (libc_feholdsetround_387_53bit_ctx): Likewise.
4882 (libc_feholdsetround_sse_ctx): Likewise.
4883 (libc_feresetround_sse_ctx): Likewise.
4884 (libc_feresetround_387_ctx): Likewise.
4885 (libc_feupdateenv_387_ctx): Likewise.
4886 (libc_feholdexcept_setroundf_ctx): Define macro.
4887 (libc_fesetenvf_ctx): Likewise.
4888 (libc_feupdateenvf_ctx): Likewise.
4889 (libc_feholdsetroundf_ctx): Likewise.
4890 (libc_feresetroundf_ctx): Likewise.
4891 (libc_feholdexcept_setround_ctx): Likewise.
4892 (libc_fesetenv_ctx): Likewise.
4893 (libc_feupdateenv_ctx): Likewise.
4894 (libc_feholdsetround_ctx): Likewise.
4895 (libc_feresetround_ctx): Likewise.
4896 (libc_feholdexcept_setroundl_ctx): Likewise.
4897 (libc_feupdateenvl_ctx): Likewise.
4898 (libc_feholdsetroundl_ctx): Likewise.
4899 (libc_feresetroundl_ctx): Likewise.
4900 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
4901 (libc_feresetround_53bit_ctx): Likewise.
4902
59b30555
SP
49032013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4904
4905 * locale/iso-639.def: Convert to UTF-8.
4906
f1d73d30
JM
49072013-06-11 Joseph Myers <joseph@codesourcery.com>
4908
4909 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
4910 (EXCEPTION_TESTS_double): Likewise.
4911 (EXCEPTION_TESTS_long_double): Likewise.
4912 (EXCEPTION_TESTS): Likewise.
4913 * math/libm-test.inc (test_exceptions): Only test exceptions if
4914 EXCEPTION_TESTS (FLOAT).
4915
94aca5e7
SP
49162013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4917
4918 * benchtests/Makefile (string-bench): Add strcpy_chk and
4919 stpcpy_chk.
4920 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
4921 * benchtests/bench-stpcpy_chk.c: New file.
4922 * benchtests/bench-strcpy_chk-ifunc.c: New file.
4923 * benchtests/bench-strcpy_chk.c: New file.
4924 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
4925 code.
4926 (do_test): Likewise.
4927
fac0c5f2
RA
49282013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
4929
4930 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
4931 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
4932 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
4933 with tabs where appropriate.
4934 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
4935 dl-procinfo.h.
4936 [PPC_PLATFORM_PPC440]: Likewise.
4937 [PPC_PLATFORM_PPC464]: Likewise.
4938 [PPC_PLATFORM_PPC476]: Likewise.
4939 (_dl_string_platform): Add support for detecting ppc405, ppc440,
4940 ppc464, and ppc476 platform strings merging from ports/
4941 dl-procinfo.h.
4942
f22bc486
AS
49432013-06-11 Andreas Schwab <schwab@suse.de>
4944
4945 [BZ #14991]
4946 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
4947 (from_ucs4_idx): Regenerate.
4948 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
4949 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
4950 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
4951 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
4952 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
4953 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
4954 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
4955 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
4956 from FROM_LOOP and TO_LOOP specific macros.
4957 (BODY): Handle combining characters.
4958 * iconvdata/BIG5HKSCS.irreversible: Update.
4959 * iconvdata/BIG5HKSCS.precomposed: New file.
4960 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
4961 characters.
4962 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
4963
c1f75dc3
SP
49642013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4965
4eacded2
SP
4966 * include/sys/time.h: Fix indentation and add copyright header.
4967
fec799f8
SP
4968 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
4969 (do_test): Likewise.
4970 * string/test-memchr.c (do_one_test): Likewise.
4971 (do_test): Likewise.
4972 * string/test-memcmp.c (do_one_test): Likewise.
4973 (do_test): Likewise.
4974 * string/test-memcpy.c (do_one_test): Likewise.
4975 (do_test): Likewise.
4976 * string/test-memmem.c (do_one_test): Likewise.
4977 (do_test): Likewise.
4978 (do_random_tests): Likewise.
4979 * string/test-memmove.c (do_one_test): Likewise.
4980 (do_test): Likewise.
4981 * string/test-memset.c (do_one_test): Likewise.
4982 (do_test): Likewise.
4983 * string/test-rawmemchr.c (do_one_test): Likewise.
4984 (do_test): Likewise.
4985 * string/test-strcasecmp.c (do_one_test): Likewise.
4986 (do_test): Likewise.
4987 * string/test-strcasestr.c (do_one_test): Likewise.
4988 (do_test): Likewise.
4989 * string/test-strcat.c (do_one_test): Likewise.
4990 (do_test): Likewise.
4991 * string/test-strchr.c (do_one_test): Likewise.
4992 (do_test): Likewise.
4993 * string/test-strcmp.c (do_one_test): Likewise.
4994 (do_test): Likewise.
4995 * string/test-strcpy.c (do_one_test): Likewise.
4996 (do_test): Likewise.
4997 * string/test-string.h: Likewise.
4998 (test_init): Likewise.
4999 * string/test-strlen.c (do_one_test): Likewise.
5000 (do_test): Likewise.
5001 * string/test-strncasecmp.c (do_one_test): Likewise.
5002 (do_test): Likewise.
5003 * string/test-strncat.c (do_one_test): Likewise.
5004 (do_test): Likewise.
5005 * string/test-strncmp.c (do_one_test): Likewise.
5006 (do_test_limit): Likewise.
5007 (do_test): Likewise.
5008 * string/test-strncpy.c (do_one_test): Likewise.
5009 (do_test): Likewise.
5010 * string/test-strnlen.c (do_one_test): Likewise.
5011 (do_test): Likewise.
5012 * string/test-strpbrk.c (do_one_test): Likewise.
5013 (do_test): Likewise.
5014 * string/test-strrchr.c (do_one_test): Likewise.
5015 (do_test): Likewise.
5016 * string/test-strspn.c (do_one_test): Likewise.
5017 (do_test): Likewise.
5018 * string/test-strstr.c (do_one_test): Likewise.
5019 (do_test): Likewise.
5020
97020474
SP
5021 * benchtests/Makefile (string-bench): Add string benchmarks.
5022 * benchtests/bench-bcopy-ifunc.c: New file.
5023 * benchtests/bench-bcopy.c: New file.
5024 * benchtests/bench-bzero-ifunc.c: New file.
5025 * benchtests/bench-bzero.c: New file.
5026 * benchtests/bench-memccpy-ifunc.c: New file.
5027 * benchtests/bench-memccpy.c: New file.
5028 * benchtests/bench-memchr-ifunc.c: New file.
5029 * benchtests/bench-memchr.c: New file.
5030 * benchtests/bench-memcmp-ifunc.c: New file.
5031 * benchtests/bench-memcmp.c: New file.
5032 * benchtests/bench-memmem-ifunc.c: New file.
5033 * benchtests/bench-memmem.c: New file.
5034 * benchtests/bench-memmove-ifunc.c: New file.
5035 * benchtests/bench-memmove.c: New file.
5036 * benchtests/bench-mempcpy-ifunc.c: New file.
5037 * benchtests/bench-mempcpy.c: New file.
5038 * benchtests/bench-memset-ifunc.c: New file.
5039 * benchtests/bench-memset.c: New file.
5040 * benchtests/bench-rawmemchr-ifunc.c: New file.
5041 * benchtests/bench-rawmemchr.c: New file.
5042 * benchtests/bench-stpcpy-ifunc.c: New file.
5043 * benchtests/bench-stpcpy.c: New file.
5044 * benchtests/bench-stpncpy-ifunc.c: New file.
5045 * benchtests/bench-stpncpy.c: New file.
5046 * benchtests/bench-strcasecmp-ifunc.c: New file.
5047 * benchtests/bench-strcasecmp.c: New file.
5048 * benchtests/bench-strcasestr-ifunc.c: New file.
5049 * benchtests/bench-strcasestr.c: New file.
5050 * benchtests/bench-strcat-ifunc.c: New file.
5051 * benchtests/bench-strcat.c: New file.
5052 * benchtests/bench-strchr-ifunc.c: New file.
5053 * benchtests/bench-strchr.c: New file.
5054 * benchtests/bench-strchrnul-ifunc.c: New file.
5055 * benchtests/bench-strchrnul.c: New file.
5056 * benchtests/bench-strcmp-ifunc.c: New file.
5057 * benchtests/bench-strcmp.c: New file.
5058 * benchtests/bench-strcpy-ifunc.c: New file.
5059 * benchtests/bench-strcpy.c: New file.
5060 * benchtests/bench-strcspn-ifunc.c: New file.
5061 * benchtests/bench-strcspn.c: New file.
5062 * benchtests/bench-strlen-ifunc.c: New file.
5063 * benchtests/bench-strlen.c: New file.
5064 * benchtests/bench-strncasecmp-ifunc.c: New file.
5065 * benchtests/bench-strncasecmp.c: New file.
5066 * benchtests/bench-strncat-ifunc.c: New file.
5067 * benchtests/bench-strncat.c: New file.
5068 * benchtests/bench-strncmp-ifunc.c: New file.
5069 * benchtests/bench-strncmp.c: New file.
5070 * benchtests/bench-strncpy-ifunc.c: New file.
5071 * benchtests/bench-strncpy.c: New file.
5072 * benchtests/bench-strnlen-ifunc.c: New file.
5073 * benchtests/bench-strnlen.c: New file.
5074 * benchtests/bench-strpbrk-ifunc.c: New file.
5075 * benchtests/bench-strpbrk.c: New file.
5076 * benchtests/bench-strrchr-ifunc.c: New file.
5077 * benchtests/bench-strrchr.c: New file.
5078 * benchtests/bench-strspn-ifunc.c: New file.
5079 * benchtests/bench-strspn.c: New file.
5080 * benchtests/bench-strstr-ifunc.c: New file.
5081 * benchtests/bench-strstr.c: New file.
5082
c1f75dc3
SP
5083 * benchtests/Makefile: Disable parallel execution of targets.
5084 (string-bench): Add memcpy.
5085 (benchset): New variable to store a list of benchmark sets.
5086 (bench-func): Renamed from bench.
5087 (bench-set): New target.
5088 (bench): Depend on bench-func and bench-set.
5089 * benchtests/README: Add section on benchmark sets.
5090 * benchtests/bench-memcpy-ifunc.c: New file.
5091 * benchtests/bench-memcpy.c: New file.
5092 * benchtests/bench-string.h: New file.
5093
50fd745b
AS
50942013-06-11 Andreas Schwab <schwab@suse.de>
5095
5096 [BZ #15577]
5097 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5098 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5099 values in the triple.
5100 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5101 terminator in the group key.
5102
3ee7e9fe
AJ
51032013-06-11 Andreas Jaeger <aj@suse.de>
5104
5105 * po/zh_TW.po: Update Chinese (traditional) translation from
5106 translation project.
5107
89fb6835
SP
51082013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
5109
5110 * include/time.h (__clock_gettime): Add libc_hidden_proto.
5111 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5112 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
5113 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5114 (clock_getcpuclockid): Likewise.
5115 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5116 Add weak_alias and libc_hidden_def.
5117 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5118 * rt/clock_gettime.c (clock_gettime): Rename to
5119 __clock_gettime. Add weak_alias and libc_hidden_def.
5120 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5121 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5122 __clock_nanosleep. Add weak_alias and libc_hidden_def.
5123 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5124 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5125 Likewise.
5126 * rt/clock_settime.c (clock_settime): Rename to
5127 __clock_settime. Add weak_alias and libc_hidden_def.
5128 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5129
0efa6f8b
JM
51302013-06-10 Joseph Myers <joseph@codesourcery.com>
5131
b8c61b4b
JM
5132 * mach/err_boot.sub: Remove trailing whitespace.
5133 * mach/err_ipc.sub: Likewise.
5134 * mach/err_mach.sub: Likewise.
5135
0efa6f8b
JM
5136 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5137 (ROUNDING_TESTS_double): Likewise.
5138 (ROUNDING_TESTS_long_double): Likewise.
5139 (ROUNDING_TESTS): Likewise.
5140 * math/libm-test.inc: Include <math-tests.h>.
5141 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5142 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5143 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5144 (IF_ROUND_INIT_FE_UPWARD): Likewise.
5145
50b818bf
SP
51462013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
5147
5148 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5149 of assigning.
5150
60d2f8f3
JM
51512013-06-08 Joseph Myers <joseph@codesourcery.com>
5152
4902d2c3
JM
5153 * sysdeps/gnu/errlist.awk: Do not generate space at end of
5154 otherwise empty TRANS lines.
5155 * sysdeps/gnu/errlist.c: Regenerated.
5156
60d2f8f3
JM
5157 * catgets/gencat.c (error_print): Use (void) in function
5158 definition.
5159 * crypt/crypt_util.c (__init_des): Likewise.
5160 * crypt/speeds.c (Stop): Likewise.
5161 (main): Likewise.
5162 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5163 * inet/ruserpass.c (token): Likewise.
5164 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5165 * intl/localealias.c (extend_alias_table): Likewise.
5166 * intl/plural-exp.c (init_germanic_plural): Likewise.
5167 * libio/fcloseall.c (__fcloseall): Likewise.
5168 * libio/genops.c (_IO_flush_all): Likewise.
5169 (_IO_flush_all_linebuffered): Likewise.
5170 (_IO_cleanup): Likewise.
5171 (_IO_iter_begin): Likewise.
5172 (_IO_iter_end): Likewise.
5173 (_IO_list_lock): Likewise.
5174 (_IO_list_unlock): Likewise.
5175 (_IO_list_resetlock): Likewise.
5176 * libio/getchar.c (getchar): Likewise.
5177 * libio/getchar_u.c (getchar_unlocked): Likewise.
5178 * libio/getwchar.c (getwchar): Likewise.
5179 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5180 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5181 * login/getpt.c (__getpt): Likewise.
5182 * login/tst-utmp.c (main): Likewise.
5183 * malloc/hooks.c (__malloc_check_init): Likewise.
5184 * malloc/malloc.c (__malloc_stats): Likewise.
5185 * malloc/mtrace.c (tr_break): Likewise.
5186 (mtrace): Likewise.
5187 (muntrace): Likewise.
5188 * misc/fstab.c (endfsent): Likewise.
5189 * misc/getclktck.c (__getclktck): Likewise.
5190 * misc/getdtsz.c (__getdtablesize): Likewise.
5191 * misc/gethostid.c (gethostid): Likewise.
5192 * misc/getpagesize.c (__getpagesize): Likewise.
5193 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5194 (__get_nprocs): Likewise.
5195 (__get_phys_pages): Likewise.
5196 (__get_avphys_pages): Likewise.
5197 * misc/getttyent.c (getttyent): Likewise.
5198 (setttyent): Likewise.
5199 (endttyent): Likewise.
5200 * misc/getusershell.c (getusershell): Likewise.
5201 (endusershell): Likewise.
5202 (setusershell): Likewise.
5203 (initshells): Likewise.
5204 * misc/hsearch.c (__hdestroy): Likewise.
5205 * misc/sync.c (sync): Likewise.
5206 * misc/syslog.c (closelog_internal): Likewise.
5207 (closelog): Likewise.
5208 * misc/ttyslot.c (ttyslot): Likewise.
5209 * misc/vhangup.c (vhangup): Likewise.
5210 * posix/fork.c (__fork): Likewise.
5211 * posix/getegid.c (__getegid): Likewise.
5212 * posix/geteuid.c (__geteuid): Likewise.
5213 * posix/getgid.c (__getgid): Likewise.
5214 * posix/getpid.c (__getpid): Likewise.
5215 * posix/getppid.c (__getppid): Likewise.
5216 * posix/getuid.c (__getuid): Likewise.
5217 * posix/pause.c (pause): Likewise.
5218 * posix/setpgrp.c (setpgrp): Likewise.
5219 * posix/setsid.c (__setsid): Likewise.
5220 * posix/test-vfork.c (noop): Likewise.
5221 * resolv/gethnamaddr.c (_endhtent): Likewise.
5222 (_gethtent): Likewise.
5223 (ht_endhostent): Likewise.
5224 (gethostent): Likewise.
5225 (dns_service): Likewise.
5226 * stdlib/drand48.c (drand48): Likewise.
5227 * stdlib/lrand48.c (lrand48): Likewise.
5228 * stdlib/mrand48.c (mrand48): Likewise.
5229 * stdlib/rand.c (rand): Likewise.
5230 * stdlib/random.c (__random): Likewise.
5231 * stdlib/setenv.c (clearenv): Likewise.
5232 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5233 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5234 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5235 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5236 (__get_nprocs): Likewise.
5237 (__get_phys_pages): Likewise.
5238 (__get_avphys_pages): Likewise.
5239 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5240 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5241 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5242 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5243 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5244 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5245 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5246 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5247 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5248 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5249 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5250 * sysdeps/mach/hurd/sync.c (sync): Likewise.
5251 * sysdeps/posix/clock.c (clock): Likewise.
5252 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5253 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5254 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5255 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5256 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5257 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5258 (__get_nprocs_conf): Likewise.
5259 (__get_phys_pages): Likewise.
5260 (__get_avphys_pages): Likewise.
5261 * time/clock.c (clock): Likewise.
5262 * time/tzset.c (__tzname_max): Likewise.
5263
2e09a79a
JM
52642013-06-07 Joseph Myers <joseph@codesourcery.com>
5265
5266 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5267 (__bswap_32): Do not use "register".
5268 * crypt/crypt.c (_ufc_doit_r): Likewise.
5269 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5270 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5271 * gmon/gmon.c (__monstartup): Likewise.
5272 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5273 * hurd/hurdmalloc.c (more_memory): Likewise.
5274 (malloc): Likewise.
5275 (free): Likewise.
5276 (realloc): Likewise.
5277 (malloc_fork_prepare): Likewise.
5278 (malloc_fork_parent): Likewise.
5279 (malloc_fork_child): Likewise.
5280 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5281 (_svcauth_des): Likewise.
5282 * inet/inet_lnaof.c (inet_lnaof): Likewise.
5283 * inet/inet_net.c (inet_network): Likewise.
5284 * inet/inet_netof.c (inet_netof): Likewise.
5285 * inet/rcmd.c (__validuser2_sa): Likewise.
5286 * io/fts.c (fts_open): Likewise.
5287 (fts_load): Likewise.
5288 (fts_close): Likewise.
5289 (fts_read): Likewise.
5290 (fts_children): Likewise.
5291 (fts_build): Likewise.
5292 (fts_stat): Likewise.
5293 (fts_sort): Likewise.
5294 (fts_alloc): Likewise.
5295 (fts_lfree): Likewise.
5296 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5297 (_IO_file_xsgetn): Likewise.
5298 (_IO_file_xsgetn_mmap): Likewise.
5299 * libio/iofopncook.c (_IO_cookie_read): Likewise.
5300 (_IO_cookie_write): Likewise.
5301 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5302 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5303 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5304 * malloc/obstack.c (_obstack_begin): Likewise.
5305 (_obstack_begin_1): Likewise.
5306 (_obstack_newchunk): Likewise.
5307 (_obstack_allocated_p): Likewise.
5308 (obstack_free): Likewise.
5309 (_obstack_memory_used): Likewise.
5310 * misc/getttyent.c (getttynam): Likewise.
5311 (getttyent): Likewise.
5312 (skip): Likewise.
5313 (value): Likewise.
5314 * misc/getusershell.c (initshells): Likewise.
5315 * misc/syslog.c (__vsyslog_chk): Likewise.
5316 * misc/ttyslot.c (ttyslot): Likewise.
5317 * nis/nis_hash.c (__nis_hash): Likewise.
5318 * posix/fnmatch_loop.c (FCT): Likewise.
5319 * posix/getconf.c (print_all): Likewise.
5320 (main): Likewise.
5321 * posix/getopt.c (exchange): Likewise.
5322 * posix/glob.c (globfree): Likewise.
5323 (prefix_array): Likewise.
5324 (__glob_pattern_type): Likewise.
5325 * resolv/arpa/nameser.h (NS_GET16): Likewise.
5326 (NS_GET32): Likewise.
5327 (NS_PUT16): Likewise.
5328 (NS_PUT32): Likewise.
5329 * resolv/gethnamaddr.c (getanswer): Likewise.
5330 (gethostbyname2): Likewise.
5331 (gethostbyaddr): Likewise.
5332 (_gethtent): Likewise.
5333 (_gethtbyname2): Likewise.
5334 (_gethtbyaddr): Likewise.
5335 * resolv/ns_print.c (dst_s_get_int16): Likewise.
5336 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5337 * resolv/res_init.c (__res_vinit): Likewise.
5338 (net_mask): Likewise.
5339 * resolv/res_mkquery.c (outchar): Likewise.
5340 (PRINT): Likewise.
5341 * stdio-common/printf_fp.c (outchar): Likewise.
5342 (PRINT): Likewise.
5343 * stdio-common/printf_fphex.c (outchar): Likewise.
5344 (PRINT): Likewise.
5345 * stdio-common/printf_size.c (outchar): Likewise.
5346 (PRINT): Likewise.
5347 * stdio-common/test_rdwr.c (main): Likewise.
5348 * stdio-common/tfformat.c (matches): Likewise.
5349 * stdio-common/vfprintf.c (outchar): Likewise.
5350 (printf_unknown): Likewise.
5351 (buffered_vfprintf): Likewise.
5352 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5353 * stdio-common/xbug.c (AppendToBuffer): Likewise.
5354 (ReadFile): Likewise.
5355 * stdlib/qsort.c (SWAP): Likewise.
5356 (_quicksort): Likewise.
5357 * stdlib/setenv.c (__add_to_environ): Likewise.
5358 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5359 * stdlib/strtol_l.c (__strtol_l): Likewise.
5360 * stdlib/tst-strtod.c (main): Likewise.
5361 * stdlib/tst-strtol.c (main): Likewise.
5362 * stdlib/tst-strtoll.c (main): Likewise.
5363 * string/bits/string2.h (__strcmp_cc): Likewise.
5364 (__strcmp_cg): Likewise.
5365 (__strcspn_c1): Likewise.
5366 (__strcspn_c2): Likewise.
5367 (__strcspn_c3): Likewise.
5368 (__strspn_c1): Likewise.
5369 (__strspn_c2): Likewise.
5370 (__strspn_c3): Likewise.
5371 (__strsep_1c): Likewise.
5372 (__strsep_2c): Likewise.
5373 (__strsep_3c): Likewise.
5374 * string/memccpy.c (__memccpy): Likewise.
5375 * string/stpcpy.c (__stpcpy): Likewise.
5376 * string/strcmp.c (strcmp): Likewise.
5377 * string/strrchr.c (strrchr): Likewise.
5378 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5379 Likewise.
5380 * sysdeps/mach/hurd/getcwd.c
5381 (_hurd_canonicalize_directory_name_internal): Likewise.
5382 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5383 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5384 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5385 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
5386 Likewise, in both definitions.
5387 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
5388 definitions.
5389 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
5390 64] (__bswap_64): Likewise.
5391 * time/test_time.c (main): Likewise.
5392 * time/tzfile.c (__tzfile_read): Likewise.
5393 (__tzfile_compute): Likewise.
5394 * time/tzset.c (__tzset_parse_tz): Likewise.
5395 (tzset_internal): Likewise.
5396 (compute_change): Likewise.
5397 * wcsmbs/wcscat.c (__wcscat): Likewise.
5398 * wcsmbs/wcschr.c (wcschr): Likewise.
5399 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
5400 * wcsmbs/wcscspn.c (wcscspn): Likewise.
5401 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
5402 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
5403 * wcsmbs/wcsspn.c (wcsspn): Likewise.
5404 * wcsmbs/wcsstr.c (wcsstr): Likewise.
5405 * wcsmbs/wmemchr.c (wmemchr): Likewise.
5406 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
5407 * wcsmbs/wmemset.c (wmemset): Likewise.
5408
9e54314b
JM
54092013-06-06 Joseph Myers <joseph@codesourcery.com>
5410
5411 * scripts/config.guess: Update to version 2013-05-16.
5412 * scripts/config.sub: Update to version 2013-04-24.
5413 * scripts/install-sh: Update to version 2011-11-20.07.
5414 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
5415 * scripts/move-if-change: Update to version 2012-01-06 07:23.
5416
350635a5
OB
54172013-06-06 Ondřej Bílka <neleai@seznam.cz>
5418
5419 * debug/fgetws_u_chk.c: Fix leading whitespaces.
5420 * elf/sln.c: Likewise.
5421 * hurd/hurd/ioctl.h: Likewise.
5422 * hurd/hurdmalloc.c: Likewise.
5423 * hurd/xattr.c: Likewise.
5424 * include/shlib-compat.h: Likewise.
5425 * inet/ruserpass.c: Likewise.
5426 * libio/iofgets_u.c: Likewise.
5427 * libio/iofgetws_u.c: Likewise.
5428 * locale/programs/ld-identification.c: Likewise.
5429 * locale/programs/ld-time.c: Likewise.
5430 * mach/msg-destroy.c: Likewise.
5431 * nss/nss_files/files-netgrp.c: Likewise.
5432 * resolv/res_data.c: Likewise.
5433 * soft-fp/op-1.h: Likewise.
5434 * soft-fp/op-2.h: Likewise.
5435 * soft-fp/op-4.h: Likewise.
5436 * soft-fp/op-common.h: Likewise.
5437 * stdio-common/printf_fphex.c: Likewise.
5438 * stdlib/strtod_l.c: Likewise.
5439 * sunrpc/rpc/clnt.h: Likewise.
5440 * sysdeps/generic/framestate.c: Likewise.
5441 * sysdeps/i386/bsd-_setjmp.S: Likewise.
5442 * sysdeps/i386/bsd-setjmp.S: Likewise.
5443 * sysdeps/i386/__longjmp.S: Likewise.
5444 * sysdeps/i386/setjmp.S: Likewise.
5445 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
5446 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
5447 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5448 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
5449 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
5450 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
5451 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
5452 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
5453 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
5454 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
5455 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
5456 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
5457 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
5458 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
5459 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
5460 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
5461 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
5462 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
5463 * sysdeps/ieee754/support.c: Likewise.
5464 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
5465 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
5466 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
5467 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
5468 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
5469 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
5470 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
5471 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
5472 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
5473 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
5474 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
5475 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
5476 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
5477 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
5478 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
5479 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
5480 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
5481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
5482
44a988af
OB
54832013-06-05 Ondřej Bílka <neleai@seznam.cz>
5484
25506f09 5485 * posix/transbug.c: Remove executable mode.
44a988af 5486
9c84384c
JM
54872013-06-05 Joseph Myers <joseph@codesourcery.com>
5488
5489 * crypt/speeds.c: Remove trailing whitespace.
5490 * dlfcn/default.c: Likewise.
5491 * elf/ifuncdep2.c: Likewise.
5492 * elf/ifuncmain1.c: Likewise.
5493 * elf/ifuncmain1vis.c: Likewise.
5494 * elf/testobj.h: Likewise.
5495 * elf/tst-stackguard1.c: Likewise.
5496 * gmon/sys/gmon.h: Likewise.
5497 * hurd/hurdmsg.c: Likewise.
5498 * hurd/new-fd.c: Likewise.
5499 * hurd/ports-get.c: Likewise.
5500 * iconvdata/ibm1008_420.c: Likewise.
5501 * inet/tst-getni1.c: Likewise.
5502 * inet/tst-getni2.c: Likewise.
5503 * libio/ioungetc.c: Likewise.
5504 * libio/wfiledoalloc.c: Likewise.
5505 * manual/libm-err-tab.pl: Likewise.
5506 * math/w_dremf.c: Likewise.
5507 * misc/ftruncate.c: Likewise.
5508 * posix/bug-glob2.c: Likewise.
5509 * posix/tst-pcre.c: Likewise.
5510 * posix/wait4.c: Likewise.
5511 * resolv/README: Likewise.
5512 * resolv/res_debug.h: Likewise.
5513 * resolv/tst-inet_ntop.c: Likewise.
5514 * setjmp/bug269-setjmp.c: Likewise.
5515 * soft-fp/extended.h: Likewise.
5516 * soft-fp/op-1.h: Likewise.
5517 * soft-fp/op-2.h: Likewise.
5518 * soft-fp/op-4.h: Likewise.
5519 * soft-fp/op-8.h: Likewise.
5520 * soft-fp/testit.c: Likewise.
5521 * stdio-common/bug16.c: Likewise.
5522 * stdlib/random.c: Likewise.
5523 * sunrpc/rpcsvc/rquota.x: Likewise.
5524 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
5525 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
5526 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
5527 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
5528 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
5529 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
5530 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
5531 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
5532 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
5533 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
5534 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
5535 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
5536 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
5537 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
5538 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
5539 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
5540 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
5541 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
5542 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
5543 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
5544 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
5545 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
5546 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
5547 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
5548 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
5549 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
5550 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
5551 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
5552 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
5553 * sysdeps/ieee754/s_lib_version.c: Likewise.
5554 * sysdeps/mach/hurd/check_fds.c: Likewise.
5555 * sysdeps/mach/hurd/getsockname.c: Likewise.
5556 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
5557 * sysdeps/mach/hurd/recvfrom.c: Likewise.
5558 * sysdeps/powerpc/bits/link.h: Likewise.
5559 * sysdeps/powerpc/dl-procinfo.c: Likewise.
5560 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
5561 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
5562 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
5563 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
5564 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
5565 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
5566 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
5567 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
5568 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
5569 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
5570 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
5571 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
5572 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
5573 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
5574 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
5575 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
5576 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
5577 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
5578 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
5579 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
5580 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
5581 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
5582 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
5583 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
5584 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
5585 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
5586 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
5587 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
5588 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
5589 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
5590 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
5591 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
5592 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
5593 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
5594 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
5595 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
5596 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
5597 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
5598 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
5599 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
5600 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
5601 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
5602 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
5603 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
5604 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
5605 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
5606 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
5607 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
5608 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
5609 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5610 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5611 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
5612 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5613 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
5614 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
5615 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
5616 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5617 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
5618 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
5619 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
5620 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
5621 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5622 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
5623 * sysdeps/powerpc/sysdep.h: Likewise.
5624 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
5625 * sysdeps/s390/s390-64/sub_n.S: Likewise.
5626 * sysdeps/sh/dl-trampoline.S: Likewise.
5627 * sysdeps/sh/memset.S: Likewise.
5628 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
5629 * sysdeps/sh/strlen.S: Likewise.
5630 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
5631 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
5632 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
5633 * sysdeps/sparc/sparc32/rem.S: Likewise.
5634 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
5635 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
5636 * sysdeps/sparc/sparc32/strchr.S: Likewise.
5637 * sysdeps/sparc/sparc32/udiv.S: Likewise.
5638 * sysdeps/sparc/sparc32/urem.S: Likewise.
5639 * sysdeps/sparc/sparc64/add_n.S: Likewise.
5640 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
5641 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
5642 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
5643 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
5644 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
5645 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
5646 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
5647 * sysdeps/unix/bsd/times.c: Likewise.
5648 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
5649 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
5650 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
5651 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
5652 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
5653 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
5654 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
5655 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
5656 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
5657 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
5658 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
5659 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5660 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5661 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
5662 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5663 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
5664 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5665 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
5666 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
5667 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
5668 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
5669 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
5670 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
5671 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
5672 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
5673 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
5674 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
5675 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
5676 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
5677 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
5678 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
5679 * sysdeps/x86_64/strcspn.S: Likewise.
5680
869378a5
RA
56812013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
5682
5683 * locale/C-translit.h: Revert #include <stdint.h> because this is a
5684 generated file. Regenerate properly from gen-translit.pl.
5685 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
5686 locale/C-translit.h.
5687
840e2943
AS
56882013-06-05 Andreas Schwab <schwab@suse.de>
5689
5690 [BZ #15100]
5691 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
5692 week as 6 instead of -1.
5693 * time/tst-strptime.c (day_tests): Add test case.
5694
4c60cb0c
SP
56952013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
5696
5697 * sysdeps/generic/math_private.h
5698 (libc_feholdexcept_setround_53bit): Replace with
5699 libc_feholdsetround_53bit.
5700 (libc_feupdateenv_53bit): Replace with
5701 libc_feresetround_53bit.
5702 (SET_RESTORE_ROUND_53BIT): Adjust.
5703
d180203e
SP
57042013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
5705
96df079a
SP
5706 * string/test-strchrnul.c: Add copyright header.
5707
d180203e
SP
5708 * posix/tst-getaddrinfo4.c: Increase test timeout.
5709
8b0ccb2d
CD
57102013-06-03 Carlos O'Donell <carlos@redhat.com>
5711
5712 [BZ #15536]
5713 * math/libm-test.inc (MAX_EXP): Remove
5714 (MIN_EXP): Define.
5715 (ulp): Use MIN_EXP - MANT_DIG.
5716 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
5717
3b3c4d40
CD
57182013-05-31 Carlos O'Donell <carlos@redhat.com>
5719
5720 * po/be.po: Revert last change.
5721 * po/zh_CN.po: Likewise.
5722 * po/header.pot: Likewise.
5723
fab7ce3f
JM
57242013-05-31 Joseph Myers <joseph@codesourcery.com>
5725
5726 * Makefile ($(common-objpfx)linkobj/libc.so): Define
5727 link-libc-deps to empty as target-specific variable.
5728 * Makerules (link-libc-args): New variable.
5729 (libc-for-link): Likewise.
5730 (link-libc-deps): Likewise.
5731 (lib%.so): Depend on $(link-libc-deps). Link with
5732 $(link-libc-args).
5733 (build-module): Link with $(link-libc-args).
5734 (build-module-asneeded): Likewise.
5735 (build-module-helper-objlist): Filter out $(link-libc-deps) from
5736 list of objects.
5737 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
5738 target-specific variable.
5739 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
5740 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
5741 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
5742 libc.
5743 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
5744 libc and ld.so.
5745 ($(objpfx)libpcprofile.so): Likewise.
5746 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
5747 libc_nonshared.a.
5748 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
5749 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
5750 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
5751 $(link-libc-deps).
5752 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
5753 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
5754 * login/Makefile ($(objpfx)libutil.so): Likewise.
5755 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
5756 * math/Makefile ($(objpfx)libm.so): Likewise.
5757 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
5758 $(objpfx)libnsl.so): Define libc-for-link as target-specific
5759 variable instead of depending directly on libc.
5760 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
5761 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
5762 $(link-libc-deps).
5763 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
5764 libc.
5765 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
5766 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
5767 ($(objpfx)libanl.so): Likewise.
5768 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
5769 ld.so.
5770 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
5771 $(link-libc-deps).
5772 * sysdeps/i386/fpu/Makefile: Remove file.
5773 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
5774 ($(objpfx)libm.so): Remove dependency on ld.so.
5775
eca5920c
PF
57762013-05-30 Patsy Franklin <pfrankli@redhat.com>
5777
5778 [BZ # 15553]
5779 * nis/yp_xdr.c (XDRMAXNAME): Define.
5780 (XDRMAXRECORD): Define.
5781 (xdr_domainname): Use XDRMAXNAME.
5782 (xdr_mapname): Likewise.
5783 (xdr_peername): Likewise.
5784 (xdr_keydat): Use XDRMAXRECORD.
5785 (xdr_valdat): Likewise.
5786
57872013-05-30 Jeff Law <law@redhat.com>
96945714
JL
5788
5789 [BZ #14256]
5790 * manual/errno.texi (ESTALE): Update to account for more than
5791 just NFS file systems.
5792 * sysdeps/gnu/errlist.c: Regenerated.
5793
b9375348
SP
57942013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
5795
5796 [BZ #15465]
5797 * elf/Makefile (tests): Add tst-null-argv.
5798 (modules-names): Add tst-null-argv-lib.
5799 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
5800 (tst-null-argv-ENV): Set environment for tst-null-argv.
5801 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
5802 (RTLD_PROGNAME): New macro.
5803 * elf/tst-null-argv.c: New test case.
5804 * elf/tst-null-argv-lib.c: Library for test case.
5805 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
5806 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
5807 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
5808 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
5809 * elf/dl-init.c (call_init): Likewise.
5810 (_dl_init): Likewise.
5811 * elf/dl-load.c (print_search_path): Likewise.
5812 (_dl_map_object): Likewise.
5813 * elf/dl-lookup.c (do_lookup_x): Likewise.
5814 (add_dependency): Likewise.
5815 (_dl_lookup_symbol_x): Likewise.
5816 (_dl_debug_bindings): Likewise.
5817 * elf/dl-open.c (_dl_show_scope): Likewise.
5818 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5819 * elf/dl-version.c (match_symbol): Likewise.
5820 (_dl_check_map_versions): Likewise.
5821 * elf/rtld.c (dl_main): Likewise.
5822 (print_unresolved): Use RTLD_PROGNAME.
5823 (print_missing_version): Likewise.
5824 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
5825 (elf_machine_rela): Likewise.
5826 * sysdeps/powerpc/powerpc32/dl-machine.c
5827 (__process_machine_rela): Likewise.
5828 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
5829 Likewise.
5830 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
5831 Likewise.
5832 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5833 Likewise.
5834 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5835 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
5836 Likewise.
5837 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
5838 Likewise.
5839 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
5840
8a9f20c8
CD
58412013-05-28 Carlos O'Donell <carlos@redhat.com>
5842
5843 * po/be.po: Add descriptive title.
5844 * po/zh_CN.po: Likewise.
5845 * po/header.pot: Likewise.
5846
0e60d68e
MF
58472013-05-28 Mike Frysinger <vapier@gentoo.org>
5848
5849 * locale/programs/locarchive.c (create_archive): Inlucde fname in
5850 error message.
5851 (enlarge_archive): Likewise.
5852
56b672e9
BN
58532013-05-28 Ben North <ben@redfrontdoor.org>
5854
5855 * manual/arith.texi (frexp): It is the magnitude of the return
5856 value which lies in [0.5, 1), not the return value itself.
5857
5e056687
AZ
58582013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5859
5860 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5861
2b66ef5d
TS
58622013-05-26 Thomas Schwinge <thomas@codesourcery.com>
5863
528c2405
TS
5864 * stdio-common/bug26.c (main): Correct fscanf template.
5865
07b4c13d
TS
5866 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
5867 declare _dl_skip_args.
5868
ec9dd97c
TS
5869 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
5870 Don't declare.
5871
2b66ef5d
TS
5872 * manual/platform.texi: Add missing @end deftypefun.
5873
4f8dfe27
JM
58742013-05-24 Joseph Myers <joseph@codesourcery.com>
5875
0323d086
JM
5876 [BZ #15529]
5877 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
5878 bit of mantissa of 2^16382.
5879 * math/libm-test.inc (hypot_test_data): Add more tests.
5880
dd4259b9
JM
5881 * math/libm-test.inc: Add drem and pow10 to list of tested
5882 functions.
5883 (pow10_test): New function.
5884 (drem_test): Likewise.
5885 (drem_test_tonearest): Likewise.
5886 (drem_test_towardzero): Likewise.
5887 (drem_test_downward): Likewise.
5888 (drem_test_upward): Likewise.
5889 (main): Call the new functions.
5890
4f8dfe27
JM
5891 * math/libm-test.inc (finite_test_data): Remove.
5892 (finite_test): Run tests from isfinite_test_data.
5893 (gamma_test_data): Remove.
5894 (gamma_test): Run tests from lgamma_test_data.
5895 * sysdeps/i386/fpu/libm-test-ulps: Update.
5896 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5897
d116b7c4
AZ
58982013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5899
5900 * manual/platform.texi: Add PowerPC PPR function set documentation.
5901 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
5902 implementation.
5903
e96e3767
CD
59042013-05-24 Carlos O'Donell <carlos@redhat.com>
5905
5906 * math/libm-test.inc (MAX_EXP): Define.
5907 (ULPDIFF): Define.
5908 (ulp): New function.
5909 (check_float_internal): Use ULPDIFF.
5910 (cpow_test): Disable failing test.
5911 (check_ulp): Test ulp() implemetnation.
5912 (main): Call check_ulp before starting tests.
5913
b679a606
JM
59142013-05-24 Joseph Myers <joseph@codesourcery.com>
5915
e8bdba36
JM
5916 * math/gen-libm-test.pl (generate_testfile): Do not handle
5917 START_DATA and END_DATA.
5918 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
5919 END_DATA.
5920 (acos_tonearest_test_data): Likewise.
5921 (acos_towardzero_test_data): Likewise.
5922 (acos_downward_test_data): Likewise.
5923 (acos_upward_test_data): Likewise.
5924 (acosh_test_data): Likewise.
5925 (asin_test_data): Likewise.
5926 (asin_tonearest_test_data): Likewise.
5927 (asin_towardzero_test_data): Likewise.
5928 (asin_downward_test_data): Likewise.
5929 (asin_upward_test_data): Likewise.
5930 (asinh_test_data): Likewise.
5931 (atan_test_data): Likewise.
5932 (atanh_test_data): Likewise.
5933 (atan2_test_data): Likewise.
5934 (cabs_test_data): Likewise.
5935 (cacos_test_data): Likewise.
5936 (cacosh_test_data): Likewise.
5937 (carg_test_data): Likewise.
5938 (casin_test_data): Likewise.
5939 (casinh_test_data): Likewise.
5940 (catan_test_data): Likewise.
5941 (catanh_test_data): Likewise.
5942 (cbrt_test_data): Likewise.
5943 (ccos_test_data): Likewise.
5944 (ccosh_test_data): Likewise.
5945 (ceil_test_data): Likewise.
5946 (cexp_test_data): Likewise.
5947 (cimag_test_data): Likewise.
5948 (clog_test_data): Likewise.
5949 (clog10_test_data): Likewise.
5950 (conj_test_data): Likewise.
5951 (copysign_test_data): Likewise.
5952 (cos_test_data): Likewise.
5953 (cos_tonearest_test_data): Likewise.
5954 (cos_towardzero_test_data): Likewise.
5955 (cos_downward_test_data): Likewise.
5956 (cos_upward_test_data): Likewise.
5957 (cosh_test_data): Likewise.
5958 (cosh_tonearest_test_data): Likewise.
5959 (cosh_towardzero_test_data): Likewise.
5960 (cosh_downward_test_data): Likewise.
5961 (cosh_upward_test_data): Likewise.
5962 (cpow_test_data): Likewise.
5963 (cproj_test_data): Likewise.
5964 (creal_test_data): Likewise.
5965 (csin_test_data): Likewise.
5966 (csinh_test_data): Likewise.
5967 (csqrt_test_data): Likewise.
5968 (ctan_test_data): Likewise.
5969 (ctan_tonearest_test_data): Likewise.
5970 (ctan_towardzero_test_data): Likewise.
5971 (ctan_downward_test_data): Likewise.
5972 (ctan_upward_test_data): Likewise.
5973 (ctanh_test_data): Likewise.
5974 (ctanh_tonearest_test_data): Likewise.
5975 (ctanh_towardzero_test_data): Likewise.
5976 (ctanh_downward_test_data): Likewise.
5977 (ctanh_upward_test_data): Likewise.
5978 (erf_test_data): Likewise.
5979 (erfc_test_data): Likewise.
5980 (exp_test_data): Likewise.
5981 (exp_tonearest_test_data): Likewise.
5982 (exp_towardzero_test_data): Likewise.
5983 (exp_downward_test_data): Likewise.
5984 (exp_upward_test_data): Likewise.
5985 (exp10_test_data): Likewise.
5986 (exp2_test_data): Likewise.
5987 (expm1_test_data): Likewise.
5988 (fabs_test_data): Likewise.
5989 (fdim_test_data): Likewise.
5990 (finite_test_data): Likewise.
5991 (floor_test_data): Likewise.
5992 (fma_test_data): Likewise.
5993 (fma_towardzero_test_data): Likewise.
5994 (fma_downward_test_data): Likewise.
5995 (fma_upward_test_data): Likewise.
5996 (fmax_test_data): Likewise.
5997 (fmin_test_data): Likewise.
5998 (fmod_test_data): Likewise.
5999 (fpclassify_test_data): Likewise.
6000 (frexp_test_data): Likewise.
6001 (gamma_test_data): Likewise.
6002 (hypot_test_data): Likewise.
6003 (ilogb_test_data): Likewise.
6004 (isfinite_test_data): Likewise.
6005 (isgreater_test_data): Likewise.
6006 (isgreaterequal_test_data): Likewise.
6007 (isinf_test_data): Likewise.
6008 (isless_test_data): Likewise.
6009 (islessequal_test_data): Likewise.
6010 (islessgreater_test_data): Likewise.
6011 (isnan_test_data): Likewise.
6012 (isnormal_test_data): Likewise.
6013 (issignaling_test_data): Likewise.
6014 (isunordered_test_data): Likewise.
6015 (j0_test_data): Likewise.
6016 (j1_test_data): Likewise.
6017 (jn_test_data): Likewise.
6018 (ldexp_test_data): Likewise.
6019 (lgamma_test_data): Likewise.
6020 (lrint_test_data): Likewise.
6021 (lrint_tonearest_test_data): Likewise.
6022 (lrint_towardzero_test_data): Likewise.
6023 (lrint_downward_test_data): Likewise.
6024 (lrint_upward_test_data): Likewise.
6025 (llrint_test_data): Likewise.
6026 (llrint_tonearest_test_data): Likewise.
6027 (llrint_towardzero_test_data): Likewise.
6028 (llrint_downward_test_data): Likewise.
6029 (llrint_upward_test_data): Likewise.
6030 (log_test_data): Likewise.
6031 (log10_test_data): Likewise.
6032 (log1p_test_data): Likewise.
6033 (log2_test_data): Likewise.
6034 (logb_test_data): Likewise.
6035 (logb_downward_test_data): Likewise.
6036 (lround_test_data): Likewise.
6037 (llround_test_data): Likewise.
6038 (modf_test_data): Likewise.
6039 (nearbyint_test_data): Likewise.
6040 (nextafter_test_data): Likewise.
6041 (nexttoward_test_data): Likewise.
6042 (pow_test_data): Likewise.
6043 (pow_tonearest_test_data): Likewise.
6044 (pow_towardzero_test_data): Likewise.
6045 (pow_downward_test_data): Likewise.
6046 (pow_upward_test_data): Likewise.
6047 (remainder_test_data): Likewise.
6048 (remainder_tonearest_test_data): Likewise.
6049 (remainder_towardzero_test_data): Likewise.
6050 (remainder_downward_test_data): Likewise.
6051 (remainder_upward_test_data): Likewise.
6052 (remquo_test_data): Likewise.
6053 (rint_test_data): Likewise.
6054 (rint_tonearest_test_data): Likewise.
6055 (rint_towardzero_test_data): Likewise.
6056 (rint_downward_test_data): Likewise.
6057 (rint_upward_test_data): Likewise.
6058 (round_test_data): Likewise.
6059 (scalb_test_data): Likewise.
6060 (scalbn_test_data): Likewise.
6061 (scalbln_test_data): Likewise.
6062 (signbit_test_data): Likewise.
6063 (sin_test_data): Likewise.
6064 (sin_tonearest_test_data): Likewise.
6065 (sin_towardzero_test_data): Likewise.
6066 (sin_downward_test_data): Likewise.
6067 (sin_upward_test_data): Likewise.
6068 (sincos_test_data): Likewise.
6069 (sinh_test_data): Likewise.
6070 (sinh_tonearest_test_data): Likewise.
6071 (sinh_towardzero_test_data): Likewise.
6072 (sinh_downward_test_data): Likewise.
6073 (sinh_upward_test_data): Likewise.
6074 (sqrt_test_data): Likewise.
6075 (tan_test_data): Likewise.
6076 (tan_tonearest_test_data): Likewise.
6077 (tan_towardzero_test_data): Likewise.
6078 (tan_downward_test_data): Likewise.
6079 (tan_upward_test_data): Likewise.
6080 (tanh_test_data): Likewise.
6081 (tgamma_test_data): Likewise.
6082 (trunc_test_data): Likewise.
6083 (y0_test_data): Likewise.
6084 (y1_test_data): Likewise.
6085 (yn_test_data): Likewise.
6086 (significand_test_data): Likewise.
6087
b679a606
JM
6088 * math/gen-libm-test.pl (@functions): Remove variable.
6089 (generate_testfile): Don't handle START and END lines.
6090 * math/libm-test.inc (START): New macro.
6091 (END): Likewise.
6092 (END_COMPLEX): Likewise.
6093 (acos_test): Use END macro without arguments.
6094 (acos_test_tonearest): Likewise.
6095 (acos_test_towardzero): Likewise.
6096 (acos_test_downward): Likewise.
6097 (acos_test_upward): Likewise.
6098 (acosh_test): Likewise.
6099 (asin_test): Likewise.
6100 (asin_test_tonearest): Likewise.
6101 (asin_test_towardzero): Likewise.
6102 (asin_test_downward): Likewise.
6103 (asin_test_upward): Likewise.
6104 (asinh_test): Likewise.
6105 (atan_test): Likewise.
6106 (atanh_test): Likewise.
6107 (atan2_test): Likewise.
6108 (cabs_test): Likewise.
6109 (cacos_test): Use END_COMPLEX macro without arguments.
6110 (cacosh_test): Likewise.
6111 (carg_test): Use END macro without arguments.
6112 (casin_test): Use END_COMPLEX macro without arguments.
6113 (casinh_test): Likewise.
6114 (catan_test): Likewise.
6115 (catanh_test): Likewise.
6116 (cbrt_test): Use END macro without arguments.
6117 (ccos_test): Use END_COMPLEX macro without arguments.
6118 (ccosh_test): Likewise.
6119 (ceil_test): Use END macro without arguments.
6120 (cexp_test): Use END_COMPLEX macro without arguments.
6121 (cimag_test): Use END macro without arguments.
6122 (clog_test): Use END_COMPLEX macro without arguments.
6123 (clog10_test): Likewise.
6124 (conj_test): Likewise.
6125 (copysign_test): Use END macro without arguments.
6126 (cos_test): Likewise.
6127 (cos_test_tonearest): Likewise.
6128 (cos_test_towardzero): Likewise.
6129 (cos_test_downward): Likewise.
6130 (cos_test_upward): Likewise.
6131 (cosh_test): Likewise.
6132 (cosh_test_tonearest): Likewise.
6133 (cosh_test_towardzero): Likewise.
6134 (cosh_test_downward): Likewise.
6135 (cosh_test_upward): Likewise.
6136 (cpow_test): Use END_COMPLEX macro without arguments.
6137 (cproj_test): Likewise.
6138 (creal_test): Use END macro without arguments.
6139 (csin_test): Use END_COMPLEX macro without arguments.
6140 (csinh_test): Likewise.
6141 (csqrt_test): Likewise.
6142 (ctan_test): Likewise.
6143 (ctan_test_tonearest): Likewise.
6144 (ctan_test_towardzero): Likewise.
6145 (ctan_test_downward): Likewise.
6146 (ctan_test_upward): Likewise.
6147 (ctanh_test): Likewise.
6148 (ctanh_test_tonearest): Likewise.
6149 (ctanh_test_towardzero): Likewise.
6150 (ctanh_test_downward): Likewise.
6151 (ctanh_test_upward): Likewise.
6152 (erf_test): Use END macro without arguments.
6153 (erfc_test): Likewise.
6154 (exp_test): Likewise.
6155 (exp_test_tonearest): Likewise.
6156 (exp_test_towardzero): Likewise.
6157 (exp_test_downward): Likewise.
6158 (exp_test_upward): Likewise.
6159 (exp10_test): Likewise.
6160 (exp2_test): Likewise.
6161 (expm1_test): Likewise.
6162 (fabs_test): Likewise.
6163 (fdim_test): Likewise.
6164 (finite_test): Likewise.
6165 (floor_test): Likewise.
6166 (fma_test): Likewise.
6167 (fma_test_towardzero): Likewise.
6168 (fma_test_downward): Likewise.
6169 (fma_test_upward): Likewise.
6170 (fmax_test): Likewise.
6171 (fmin_test): Likewise.
6172 (fmod_test): Likewise.
6173 (fpclassify_test): Likewise.
6174 (frexp_test): Likewise.
6175 (gamma_test): Likewise.
6176 (hypot_test): Likewise.
6177 (ilogb_test): Likewise.
6178 (isfinite_test): Likewise.
6179 (isgreater_test): Likewise.
6180 (isgreaterequal_test): Likewise.
6181 (isinf_test): Likewise.
6182 (isless_test): Likewise.
6183 (islessequal_test): Likewise.
6184 (islessgreater_test): Likewise.
6185 (isnan_test): Likewise.
6186 (isnormal_test): Likewise.
6187 (issignaling_test): Likewise.
6188 (isunordered_test): Likewise.
6189 (j0_test): Likewise.
6190 (j1_test): Likewise.
6191 (jn_test): Likewise.
6192 (ldexp_test): Likewise.
6193 (lgamma_test): Likewise.
6194 (lrint_test): Likewise.
6195 (lrint_test_tonearest): Likewise.
6196 (lrint_test_towardzero): Likewise.
6197 (lrint_test_downward): Likewise.
6198 (lrint_test_upward): Likewise.
6199 (llrint_test): Likewise.
6200 (llrint_test_tonearest): Likewise.
6201 (llrint_test_towardzero): Likewise.
6202 (llrint_test_downward): Likewise.
6203 (llrint_test_upward): Likewise.
6204 (log_test): Likewise.
6205 (log10_test): Likewise.
6206 (log1p_test): Likewise.
6207 (log2_test): Likewise.
6208 (logb_test): Likewise.
6209 (logb_test_downward): Likewise.
6210 (lround_test): Likewise.
6211 (llround_test): Likewise.
6212 (modf_test): Likewise.
6213 (nearbyint_test): Likewise.
6214 (nextafter_test): Likewise.
6215 (nexttoward_test): Likewise.
6216 (pow_test): Likewise.
6217 (pow_test_tonearest): Likewise.
6218 (pow_test_towardzero): Likewise.
6219 (pow_test_downward): Likewise.
6220 (pow_test_upward): Likewise.
6221 (remainder_test): Likewise.
6222 (remainder_test_tonearest): Likewise.
6223 (remainder_test_towardzero): Likewise.
6224 (remainder_test_downward): Likewise.
6225 (remainder_test_upward): Likewise.
6226 (remquo_test): Likewise.
6227 (rint_test): Likewise.
6228 (rint_test_tonearest): Likewise.
6229 (rint_test_towardzero): Likewise.
6230 (rint_test_downward): Likewise.
6231 (rint_test_upward): Likewise.
6232 (round_test): Likewise.
6233 (scalb_test): Likewise.
6234 (scalbn_test): Likewise.
6235 (scalbln_test): Likewise.
6236 (signbit_test): Likewise.
6237 (sin_test): Likewise.
6238 (sin_test_tonearest): Likewise.
6239 (sin_test_towardzero): Likewise.
6240 (sin_test_downward): Likewise.
6241 (sin_test_upward): Likewise.
6242 (sincos_test): Likewise.
6243 (sinh_test): Likewise.
6244 (sinh_test_tonearest): Likewise.
6245 (sinh_test_towardzero): Likewise.
6246 (sinh_test_downward): Likewise.
6247 (sinh_test_upward): Likewise.
6248 (sqrt_test): Likewise.
6249 (tan_test): Likewise.
6250 (tan_test_tonearest): Likewise.
6251 (tan_test_towardzero): Likewise.
6252 (tan_test_downward): Likewise.
6253 (tan_test_upward): Likewise.
6254 (tanh_test): Likewise.
6255 (tgamma_test): Likewise.
6256 (trunc_test): Likewise.
6257 (y0_test): Likewise.
6258 (y1_test): Likewise.
6259 (yn_test): Likewise.
6260 (significand_test): Likewise.
6261
bae143d2
OB
62622013-05-24 Ondřej Bílka <neleai@seznam.cz>
6263
6264 [BZ #15381]
6265 * libio/genops.c (_IO_no_init): Initialize wide struct info.
6266
9323d39b
EM
62672013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
6268
d4ea44a0 6269 [BZ #14894]
9323d39b
EM
6270 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6271 __ppc_mdoio and __ppc_mdoom.
6272 * manual/platform.texi: Document new functions __ppc_yield,
6273 __ppc_mdoio and __ppc_mdoom.
6274
13e23af7
CD
62752013-05-22 Carlos O'Donell <carlos@redhat.com>
6276
6277 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6278 (main): Mention "tls" pseudo-hwcap is legacy.
6279 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6280
351fe550
JM
62812013-05-22 Joseph Myers <joseph@codesourcery.com>
6282
6283 * math/gen-libm-test.pl (parse_args): Output only string of
6284 arguments as text for test name, not full call or descriptions of
6285 tests for extra outputs.
6286 (generate_testfile): Do not pass function name to parse_args.
6287 Generate this_func variable from START.
6288 * math/libm-test.inc (struct test_f_f_data): Rename test_name
6289 field to arg_str.
6290 (struct test_ff_f_data): Likewise.
6291 (test_ff_f_data_nexttoward): Likewise.
6292 (struct test_fi_f_data): Likewise.
6293 (struct test_fl_f_data): Likewise.
6294 (struct test_if_f_data): Likewise.
6295 (struct test_fff_f_data): Likewise.
6296 (struct test_c_f_data): Likewise.
6297 (struct test_f_f1_data): Likewise. Remove field extra_name.
6298 (struct test_fF_f1_data): Likewise.
6299 (struct test_ffI_f1_data): Likewise.
6300 (struct test_c_c_data): Rename test_name field to arg_str.
6301 (struct test_cc_c_data): Likewise.
6302 (struct test_f_i_data): Likewise.
6303 (struct test_ff_i_data): Likewise.
6304 (struct test_f_l_data): Likewise.
6305 (struct test_f_L_data): Likewise.
6306 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
6307 and extra2_name.
6308 (COMMON_TEST_SETUP): New macro.
6309 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6310 (COMMON_TEST_CLEANUP): Likewise.
6311 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6312 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
6313 macros.
6314 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6315 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
6316 macros.
6317 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6318 (RUN_TEST_fff_f): Take argument string. Call new setup and
6319 cleanup macros.
6320 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6321 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
6322 macros.
6323 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6324 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
6325 macros.
6326 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6327 (RUN_TEST_fF_f1): Take argument string. Call new setup and
6328 cleanup macros.
6329 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6330 (RUN_TEST_fI_f1): Take argument string. Call new setup and
6331 cleanup macros.
6332 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6333 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
6334 cleanup macros.
6335 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6336 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
6337 macros.
6338 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6339 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
6340 macros.
6341 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6342 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
6343 macros.
6344 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6345 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
6346 cleanup macros.
6347 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6348 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
6349 cleanup macros.
6350 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6351 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
6352 macros.
6353 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6354 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
6355 cleanup macros.
6356 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6357 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
6358 macros.
6359 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6360 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
6361 macros.
6362 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6363 (RUN_TEST_fFF_11): Take argument string. Call new setup and
6364 cleanup macros.
6365 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6366
85118d4d
EBM
63672013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6368
6369 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6370 to _sifields.sigfault.
6371 (si_addr_lsb): Define new macro.
6372 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6373 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6374 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6375
7a44c18f
CD
63762013-05-03 Carlos O'Donell <carlos at redhat.com>
6377
6378 [BZ #15441]
6379 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6380 returns -1.
6381 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6382 null return -1.
6383 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6384 loading the domain.
6385
b50a7181
JM
63862013-05-22 Joseph Myers <joseph@codesourcery.com>
6387
6388 * math/gen-libm-test.pl (parse_args): Do not include expected
6389 result in test name.
6390 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
6391 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6392 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6393 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6394 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6396
051063c8
SP
63972013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
6398
3ce9e010
SP
6399 * benchtests/Makefile: Sort function entries.
6400
051063c8
SP
6401 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
6402 tanh, asinh, acosh, atanh.
6403 * benchtests/acos-inputs: New file.
6404 * benchtests/acosh-inputs: New file.
6405 * benchtests/asin-inputs: New file.
6406 * benchtests/asinh-inputs: New file.
6407 * benchtests/atanh-inputs: New file.
6408 * benchtests/cosh-inputs: New file.
6409 * benchtests/log-inputs: New file.
6410 * benchtests/sinh-inputs: New file.
6411 * benchtests/tanh-inputs: New file.
6412
47c22455
DL
64132013-05-21 Dmitry V. Levin <ldv@altlinux.org>
6414
6415 [BZ #15339]
6416 * posix/tst-getaddrinfo4.c: New test.
6417 * posix/Makefile (tests): Add it.
6418
3d04f5db
SP
64192013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6420
6421 [BZ #15339]
6422 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
6423 when no services were used.
6424 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
6425 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
6426
d5dd6189
AS
64272013-05-21 Andreas Schwab <schwab@suse.de>
6428
6429 [BZ #15014]
6430 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
6431 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
6432 successful.
6433 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
6434 redundant variable declarations and reallocation of buffer when
6435 parsing as IPv6 address. Always set NSS status when called from
6436 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
6437 buffer too small. Correct computation of needed size.
6438 * nss/Makefile (tests): Add test-digits-dots.
6439 * nss/test-digits-dots.c: New test.
6440
fef94eab
SP
64412013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6442
6443 * benchtests/Makefile: Remove instructions for adding
6444 benchmark tests.
6445 * benchtests/README: New file to explain how to execute and
6446 enhance the benchmark tests.
6447
e39adf43
AS
64482013-05-21 Andreas Schwab <schwab@suse.de>
6449
6450 [BZ #15493]
6451 * setjmp/Makefile (tests): Add tst-sigsetjmp.
6452 * setjmp/tst-sigsetjmp.c: New test.
6453
b2b671b6
OB
64542013-05-20 Ondřej Bílka <neleai@seznam.cz>
6455
6456 * sysdeps/x86_64/memset.S (memset): New implementation.
6457 (__bzero): Likewise.
6458 (__memset_tail): New function.
6459
2d48b41c
OB
64602013-05-20 Ondřej Bílka <neleai@seznam.cz>
6461
6462 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
6463 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
6464 __memcpy_sse2_unaligned ifunc selection.
6465 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
6466 Add memcpy-sse2-unaligned.S.
6467 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6468 Add: __memcpy_sse2_unaligned.
6469
f16cc3eb
JM
64702013-05-19 Joseph Myers <joseph@codesourcery.com>
6471
3e694268
JM
6472 [BZ #15490]
6473 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
6474 math_force_eval before restoring floating-point envrionment.
6475 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
6476 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
6477 Likewise.
6478 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
6479 <math_private.h>.
6480 (__nearbyintl): Use math_force_eval before restoring
6481 floating-point environment.
6482 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
6483
db62a907
JM
6484 * math/gen-libm-test.pl (special_functions): Remove.
6485 (parse_args): Don't handle TEST_extra. Handle functions with no
6486 return value.
6487 * math/libm-test.inc (struct test_sincos_data): Replace with
6488 struct test_fFF_11_data.
6489 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
6490 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
6491 (sincos_test_data): Change element type to struct
6492 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
6493 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
6494 RUN_TEST_LOOP_sincos.
6495 * math/README.libm-test: Don't mention special handling of
6496 individual functions.
6497 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
6498 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
6499 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
6500 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
6501 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
6502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6503
f16cc3eb
JM
6504 * math/gen-libm-test.pl (get_variable): Remove function.
6505 (parse_args): Don't show pointer parameters to call in test
6506 names. Use "extra output N" in test names for extra outputs
6507 rather than naming variables.
6508
3779b5b6
JM
65092013-05-18 Joseph Myers <joseph@codesourcery.com>
6510
2ee094ff
JM
6511 [BZ #15488]
6512 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
6513 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
6514 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
6515 double tests.
6516 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
6517 disable.
6518 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
6519 check_long_double.
6520
3779b5b6
JM
6521 * math/gen-libm-test.pl (@tests): Remove variable.
6522 ($count): Likewise.
6523 (new_test): Remove function.
6524 (show_exceptions): New function.
6525 (special_functions): Use show_exceptions instead of new_test.
6526 (parse_args): Likewise.
6527 (generate_testfile): Pass only function name in generated call to
6528 print_max_error or print_complex_max_error.
6529 (get_ulps): Do not handle complex tests specially.
6530 (output_test): Rename to ...
6531 (get_all_ulps_for_test): ... this. Return a string rather than
6532 printing to a file. Require ulps to be present.
6533 (output_ulps): Generate arrays rather than #defines.
6534 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
6535 (struct ulp_data): New type.
6536 (BUILD_COMPLEX_ULP): Remove macro.
6537 (compare_ulp_data): New function.
6538 (find_ulps): Likewise.
6539 (find_test_ulps): Likewise.
6540 (find_function_ulps): Likewise.
6541 (find_complex_function_ulps): Likewise.
6542 (print_max_error): Determine allowed ulps using
6543 find_function_ulps.
6544 (print_complex_max_error): Determine allowed ulps using
6545 find_complex_function_ulps.
6546 (check_float_internal): Determine max ulps using find_test_ulps.
6547 (check_float): Do not take max_ulp parameter. Update call to
6548 check_float_internal.
6549 (check_complex): Likewise.
6550 (check_int): Do not take max_ulp parameter.
6551 (check_long): Likewise.
6552 (check_bool): Likewise.
6553 (check_longlong): Likewise.
6554 (struct test_f_f_data): Remove max_ulp field.
6555 (struct test_ff_f_data): Likewise.
6556 (struct test_ff_f_data_nexttoward): Likewise.
6557 (struct test_fi_f_data): Likewise.
6558 (struct test_fl_f_data): Likewise.
6559 (struct test_if_f_data): Likewise.
6560 (struct test_fff_f_data): Likewise.
6561 (struct test_c_f_data): Likewise.
6562 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
6563 (struct test_fF_f1_data): Likewise.
6564 (struct test_ffI_f1_data): Likewise.
6565 (struct test_c_c_data): Remove max_ulp field.
6566 (struct test_cc_c_data): Likewise.
6567 (struct test_f_i_data): Likewise.
6568 (struct test_ff_i_data): Likewise.
6569 (struct test_f_l_data): Likewise.
6570 (struct test_f_L_data): Likewise.
6571 (struct test_sincos_data): Likewise.
6572 (RUN_TEST_f_f): Do not handle ulps.
6573 (RUN_TEST_LOOP_f_f): Likewise.
6574 (RUN_TEST_2_f): Likewise.
6575 (RUN_TEST_LOOP_2_f): Likewise.
6576 (RUN_TEST_fff_f): Likewise.
6577 (RUN_TEST_LOOP_fff_f): Likewise.
6578 (RUN_TEST_c_f): Likewise.
6579 (RUN_TEST_LOOP_c_f): Likewise.
6580 (RUN_TEST_f_f1): Likewise.
6581 (RUN_TEST_LOOP_f_f1): Likewise.
6582 (RUN_TEST_fF_f1): Likewise.
6583 (RUN_TEST_LOOP_fF_f1): Likewise.
6584 (RUN_TEST_fI_f1): Likewise.
6585 (RUN_TEST_LOOP_fI_f1): Likewise.
6586 (RUN_TEST_ffI_f1): Likewise.
6587 (RUN_TEST_LOOP_ffI_f1): Likewise.
6588 (RUN_TEST_c_c): Likewise.
6589 (RUN_TEST_LOOP_c_c): Likewise.
6590 (RUN_TEST_cc_c): Likewise.
6591 (RUN_TEST_LOOP_cc_c): Likewise.
6592 (RUN_TEST_f_i): Likewise.
6593 (RUN_TEST_LOOP_f_i): Likewise.
6594 (RUN_TEST_f_i_tg): Likewise.
6595 (RUN_TEST_LOOP_f_i_tg): Likewise.
6596 (RUN_TEST_ff_i_tg): Likewise.
6597 (RUN_TEST_LOOP_ff_i_tg): Likewise.
6598 (RUN_TEST_f_b): Likewise.
6599 (RUN_TEST_LOOP_f_b): Likewise.
6600 (RUN_TEST_f_b_tg): Likewise.
6601 (RUN_TEST_LOOP_f_b_tg): Likewise.
6602 (RUN_TEST_f_l): Likewise.
6603 (RUN_TEST_LOOP_f_l): Likewise.
6604 (RUN_TEST_f_L): Likewise.
6605 (RUN_TEST_LOOP_f_L): Likewise.
6606 (RUN_TEST_sincos): Likewise.
6607 (RUN_TEST_LOOP_sincos): Likewise.
6608
8269107f
JM
66092013-05-17 Joseph Myers <joseph@codesourcery.com>
6610
bb38759d
JM
6611 [BZ #15480]
6612 [BZ #15485]
6613 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
6614 main case of finite arguments, set rounding mode to FE_TONEAREST
6615 and discard exceptions.
6616 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
6617 exceptions.
6618 (remainder_tonearest_test_data): New variable.
6619 (remainder_test_tonearest): New function.
6620 (remainder_towardzero_test_data): New variable.
6621 (remainder_test_towardzero): New function.
6622 (remainder_downward_test_data): New variable.
6623 (remainder_test_downward): New function.
6624 (remainder_upward_test_data): New variable.
6625 (remainder_test_upward): New function.
6626 (main): Call the new test functions.
6627
a00bdcf0
JM
6628 * math/libm-test.inc (struct test_f_f1_data): Remove field
6629 extra_init.
6630 (struct test_fF_f1_data): Likewise.
6631 (struct test_ffI_f1_data): Likewise.
6632 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
6633 based on value of EXTRA_EXPECTED.
6634 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6635 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
6636 EXTRA_VAR based on value of EXTRA_EXPECTED.
6637 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6638 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
6639 EXTRA_VAR based on value of EXTRA_EXPECTED.
6640 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6641 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
6642 EXTRA_VAR based on value of EXTRA_EXPECTED.
6643 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6644 * math/gen-libm-test.pl (parse_args): Don't output initializers
6645 for extra output values.
6646
de407f79
JM
6647 * math/libm-test.inc (check_int): Expect result to be exactly
6648 equal to expected value and do not handle ulps.
6649 (check_long): Likewise.
6650 (check_longlong): Likewise.
6651
8269107f
JM
6652 * math/libm-test.inc (ceil_test_data): Test for "inexact"
6653 exceptions.
6654 (cimag_test_data): Likewise.
6655 (conj_test_data): Likewise.
6656 (copysign_test_data): Likewise.
6657 (cproj_test_data): Likewise.
6658 (creal_test_data): Likewise.
6659 (fabs_test_data): Likewise.
6660 (fdim_test_data): Likewise.
6661 (finite_test_data): Likewise.
6662 (floor_test_data): Likewise.
6663 (fmax_test_data): Likewise.
6664 (fmin_test_data): Likewise.
6665 (fmod_test_data): Likewise.
6666 (fpclassify_test_data): Likewise.
6667 (frexp_test_data): Likewise.
6668 (ilogb_test_data): Likewise.
6669 (isfinite_test_data): Likewise.
6670 (isgreater_test_data): Likewise.
6671 (isgreaterequal_test_data): Likewise.
6672 (isinf_test_data): Likewise.
6673 (isless_test_data): Likewise.
6674 (islessequal_test_data): Likewise.
6675 (islessgreater_test_data): Likewise.
6676 (isnan_test_data): Likewise.
6677 (isnormal_test_data): Likewise.
6678 (issignaling_test_data): Likewise.
6679 (isunordered_test_data): Likewise.
6680 (ldexp_test_data): Likewise.
6681 (lrint_test_data): Likewise.
6682 (lrint_test_data) [TEST_FLOAT]: Disable one test.
6683 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
6684 (lrint_tonearest_test_data): Test for "inexact" exceptions.
6685 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6686 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
6687 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6688 test input.
6689 (lrint_towardzero_test_data): Test for "inexact" exceptions.
6690 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6691 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
6692 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
6693 that test input.
6694 (lrint_downward_test_data): Test for "inexact" exceptions.
6695 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6696 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
6697 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
6698 test input.
6699 (lrint_upward_test_data): Test for "inexact" exceptions.
6700 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
6701 test input.
6702 (llrint_test_data): Test for "inexact" exceptions.
6703 (llrint_test_data) [TEST_FLOAT]: Disable one test.
6704 (llrint_tonearest_test_data): Test for "inexact" exceptions.
6705 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
6706 (llrint_towardzero_test_data): Test for "inexact" exceptions.
6707 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
6708 (llrint_downward_test_data): Test for "inexact" exceptions.
6709 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
6710 (llrint_upward_test_data): Test for "inexact" exceptions.
6711 (logb_test_data): Likewise.
6712 (logb_downward_test_data): Likewise.
6713 (nextafter_test_data): Likewise.
6714 (nexttoward_test_data): Likewise.
6715 (remainder_test_data): Likewise.
6716 (remquo_test_data): Likewise.
6717 (scalbn_test_data): Likewise.
6718 (scalbln_test_data): Likewise.
6719 (signbit_test_data): Likewise.
6720 (sqrt_test_data): Likewise.
6721 (significand_test_data): Likewise.
6722
48a18de1
SP
67232013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
6724
6725 [BZ #15424]
6726 * benchtests/bench-modf.c (struct args): Mark arg0 as
6727 volatile.
6728 * scripts/bench.pl: Mark members of struct args as volatile.
6729
13d3b41a
AZ
67302013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6731
68191c1d 6732 [BZ # 15497]
13d3b41a
AZ
6733 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
6734 negative infinity on POWER6 or lower.
6735 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
6736
2848b105
MR
67372013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
6738
6739 [BZ #15442]
6740 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
6741 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
6742 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
6743 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
6744 (_FP_SETQNAN): New macro.
6745 (_FP_SETQNAN_SEMIRAW): Likewise.
6746 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
6747 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
6748 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
6749 (FP_EXTEND): Use _FP_FRAC_SNANP.
6750 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
6751 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
6752 into account.
6753 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6754 New macro.
6755 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
6756 Likewise.
6757
323e5cb7
JM
67582013-05-16 Joseph Myers <joseph@codesourcery.com>
6759
c58b274f
JM
6760 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
6761 with DIVIDE_BY_ZERO_EXCEPTION.
6762 (gamma_test_data): Likewise.
6763 (lgamma_test_data): Likewise.
6764 (log_test_data): Likewise.
6765 (log10_test_data): Likewise.
6766 (log2_test_data): Likewise.
6767 (tgamma_test_data): Likewise.
6768
0ab34904
JM
6769 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
6770 (acos_test_tonearest): Likewise.
6771 (acos_test_towardzero): Likewise.
6772 (acos_test_downward): Likewise.
6773 (acos_test_upward): Likewise.
6774 (acosh_test): Likewise.
6775 (asin_test): Likewise.
6776 (asin_test_tonearest): Likewise.
6777 (asin_test_towardzero): Likewise.
6778 (asin_test_downward): Likewise.
6779 (asin_test_upward): Likewise.
6780 (asinh_test): Likewise.
6781 (atan_test): Likewise.
6782 (atanh_test): Likewise.
6783 (atan2_test): Likewise.
6784 (cabs_test): Likewise.
6785 (cacos_test): Likewise.
6786 (cacosh_test): Likewise.
6787 (casin_test): Likewise.
6788 (casinh_test): Likewise.
6789 (catan_test): Likewise.
6790 (catanh_test): Likewise.
6791 (cbrt_test): Likewise.
6792 (ccos_test): Likewise.
6793 (ccosh_test): Likewise.
6794 (cexp_test): Likewise.
6795 (clog_test): Likewise.
6796 (clog10_test): Likewise.
6797 (cos_test): Likewise.
6798 (cos_test_tonearest): Likewise.
6799 (cos_test_towardzero): Likewise.
6800 (cos_test_downward): Likewise.
6801 (cos_test_upward): Likewise.
6802 (cosh_test): Likewise.
6803 (cosh_test_tonearest): Likewise.
6804 (cosh_test_towardzero): Likewise.
6805 (cosh_test_downward): Likewise.
6806 (cosh_test_upward): Likewise.
6807 (cpow_test): Likewise.
6808 (csin_test): Likewise.
6809 (csinh_test): Likewise.
6810 (csqrt_test): Likewise.
6811 (ctan_test): Likewise.
6812 (ctan_test_tonearest): Likewise.
6813 (ctan_test_towardzero): Likewise.
6814 (ctan_test_downward): Likewise.
6815 (ctan_test_upward): Likewise.
6816 (ctanh_test): Likewise.
6817 (ctanh_test_tonearest): Likewise.
6818 (ctanh_test_towardzero): Likewise.
6819 (ctanh_test_downward): Likewise.
6820 (ctanh_test_upward): Likewise.
6821 (erf_test): Likewise.
6822 (erfc_test): Likewise.
6823 (exp_test): Likewise.
6824 (exp_test_tonearest): Likewise.
6825 (exp_test_towardzero): Likewise.
6826 (exp_test_downward): Likewise.
6827 (exp_test_upward): Likewise.
6828 (exp10_test): Likewise.
6829 (exp2_test): Likewise.
6830 (expm1_test): Likewise.
6831 (fmod_test): Likewise.
6832 (gamma_test): Likewise.
6833 (hypot_test): Likewise.
6834 (j0_test): Likewise.
6835 (j1_test): Likewise.
6836 (jn_test): Likewise.
6837 (lgamma_test): Likewise.
6838 (log_test): Likewise.
6839 (log10_test): Likewise.
6840 (log1p_test): Likewise.
6841 (log2_test): Likewise.
6842 (logb_test_downward): Likewise.
6843 (pow_test): Likewise.
6844 (pow_test_tonearest): Likewise.
6845 (pow_test_towardzero): Likewise.
6846 (pow_test_downward): Likewise.
6847 (pow_test_upward): Likewise.
6848 (remainder_test): Likewise.
6849 (remquo_test): Likewise.
6850 (sin_test): Likewise.
6851 (sin_test_tonearest): Likewise.
6852 (sin_test_towardzero): Likewise.
6853 (sin_test_downward): Likewise.
6854 (sin_test_upward): Likewise.
6855 (sincos_test): Likewise.
6856 (sinh_test): Likewise.
6857 (sinh_test_tonearest): Likewise.
6858 (sinh_test_towardzero): Likewise.
6859 (sinh_test_downward): Likewise.
6860 (sinh_test_upward): Likewise.
6861 (sqrt_test): Likewise.
6862 (tan_test): Likewise.
6863 (tan_test_tonearest): Likewise.
6864 (tan_test_towardzero): Likewise.
6865 (tan_test_downward): Likewise.
6866 (tan_test_upward): Likewise.
6867 (tanh_test): Likewise.
6868 (tgamma_test): Likewise.
6869 (y0_test): Likewise.
6870 (y1_test): Likewise.
6871 (yn_test): Likewise.
6872
323e5cb7
JM
6873 * math/gen-libm-test.pl (adjust_arg): Remove function.
6874 (special_function): Remove argument $in_func. Only handle
6875 generating output for tables of tests, not inside functions.
6876 (parse_args): Likewise.
6877 (generate_testfile): Remove variable $in_func. Update call to
6878 parse_args.
6879 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
6880 (MINUS_ZERO_INIT): Rename macro to minus_zero.
6881 (PLUS_INFTY_INIT): Rename macro to plus_infty.
6882 (MINUS_INFTY_INIT): Rename macro to minus_infty.
6883 (QNAN_VALUE_INIT): Rename macro to qnan_value.
6884 (MAX_VALUE_INIT): Rename macro to max_value.
6885 (MIN_VALUE_INIT): Rename macro to min_value.
6886 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
6887 (plus_zero): Remove variable.
6888 (minus_zero): Likewise.
6889 (plus_infty): Likewise.
6890 (minus_infty): Likewise.
6891 (qnan_value): Likewise.
6892 (max_value): Likewise.
6893 (min_value): Likewise.
6894 (min_subnorm_value): Likewise.
6895
e054f494
RA
68962013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
6897
6898 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
6899 uint64_t or uint32_t usage.
6900 * crypt/sha256-block.c: Likewise.
6901 * crypt/sha256-crypt.c: Likewise.
6902 * crypt/sha256.c: Likewise.
6903 * crypt/sha512-block.c: Likewise.
6904 * crypt/sha512-crypt.c: Likewise.
6905 * crypt/sha512.c: Likewise.
6906 * debug/backtrace-tst.c: Likewise.
6907 * debug/pcprofiledump.c: Likewise.
6908 * elf/cache.c: Likewise.
6909 * elf/dl-cache.c: Likewise.
6910 * elf/dl-misc.c: Likewise.
6911 * elf/dl-profile.c: Likewise.
6912 * elf/dl-support.c: Likewise.
6913 * elf/ldconfig.c: Likewise.
6914 * elf/sprof.c: Likewise.
6915 * iconv/dummy-repertoire.c: Likewise.
6916 * iconv/iconv_charmap.c: Likewise.
6917 * iconv/skeleton.c: Likewise.
6918 * iconvdata/8bit-generic.c: Likewise.
6919 * iconvdata/cp737.h: Likewise.
6920 * iconvdata/cp775.h: Likewise.
6921 * iconvdata/ibm1008.h: Likewise.
6922 * iconvdata/ibm1025.h: Likewise.
6923 * iconvdata/ibm1046.h: Likewise.
6924 * iconvdata/ibm1097.h: Likewise.
6925 * iconvdata/ibm1112.h: Likewise.
6926 * iconvdata/ibm1122.h: Likewise.
6927 * iconvdata/ibm1123.h: Likewise.
6928 * iconvdata/ibm1124.h: Likewise.
6929 * iconvdata/ibm1129.h: Likewise.
6930 * iconvdata/ibm1130.h: Likewise.
6931 * iconvdata/ibm1132.h: Likewise.
6932 * iconvdata/ibm1133.h: Likewise.
6933 * iconvdata/ibm1137.h: Likewise.
6934 * iconvdata/ibm1140.h: Likewise.
6935 * iconvdata/ibm1141.h: Likewise.
6936 * iconvdata/ibm1142.h: Likewise.
6937 * iconvdata/ibm1143.h: Likewise.
6938 * iconvdata/ibm1144.h: Likewise.
6939 * iconvdata/ibm1145.h: Likewise.
6940 * iconvdata/ibm1146.h: Likewise.
6941 * iconvdata/ibm1147.h: Likewise.
6942 * iconvdata/ibm1148.h: Likewise.
6943 * iconvdata/ibm1149.h: Likewise.
6944 * iconvdata/ibm1153.h: Likewise.
6945 * iconvdata/ibm1154.h: Likewise.
6946 * iconvdata/ibm1155.h: Likewise.
6947 * iconvdata/ibm1156.h: Likewise.
6948 * iconvdata/ibm1157.h: Likewise.
6949 * iconvdata/ibm1158.h: Likewise.
6950 * iconvdata/ibm1160.h: Likewise.
6951 * iconvdata/ibm1161.h: Likewise.
6952 * iconvdata/ibm1162.h: Likewise.
6953 * iconvdata/ibm1163.h: Likewise.
6954 * iconvdata/ibm1164.h: Likewise.
6955 * iconvdata/ibm1166.h: Likewise.
6956 * iconvdata/ibm1167.h: Likewise.
6957 * iconvdata/ibm12712.h: Likewise.
6958 * iconvdata/ibm1390.h: Likewise.
6959 * iconvdata/ibm1399.h: Likewise.
6960 * iconvdata/ibm16804.h: Likewise.
6961 * iconvdata/ibm4517.h: Likewise.
6962 * iconvdata/ibm4899.h: Likewise.
6963 * iconvdata/ibm4909.h: Likewise.
6964 * iconvdata/ibm4971.h: Likewise.
6965 * iconvdata/ibm5347.h: Likewise.
6966 * iconvdata/ibm803.h: Likewise.
6967 * iconvdata/ibm856.h: Likewise.
6968 * iconvdata/ibm901.h: Likewise.
6969 * iconvdata/ibm902.h: Likewise.
6970 * iconvdata/ibm9030.h: Likewise.
6971 * iconvdata/ibm9066.h: Likewise.
6972 * iconvdata/ibm921.h: Likewise.
6973 * iconvdata/ibm922.h: Likewise.
6974 * iconvdata/ibm9448.h: Likewise.
6975 * iconvdata/isiri-3342.h: Likewise.
6976 * iconvdata/jis0201.h: Likewise.
6977 * include/link.h: Likewise.
6978 * include/netdb.h: Likewise.
6979 * inet/check_native.c: Likewise.
6980 * inet/check_pf.c: Likewise.
6981 * inet/getipv4sourcefilter.c: Likewise.
6982 * inet/getnameinfo.c: Likewise.
6983 * inet/getsourcefilter.c: Likewise.
6984 * inet/htonl.c: Likewise.
6985 * inet/setipv4sourcefilter.c: Likewise.
6986 * inet/setsourcefilter.c: Likewise.
6987 * inet/test-inet6_opt.c: Likewise.
6988 * inet/tst-network.c: Likewise.
6989 * locale/C-collate.c: Likewise.
6990 * locale/C-ctype.c: Likewise.
6991 * locale/C-time.c: Likewise.
6992 * locale/C-translit.h: Likewise.
6993 * locale/loadarchive.c: Likewise.
6994 * locale/programs/3level.h: Likewise.
6995 * locale/programs/charmap.c: Likewise.
6996 * locale/programs/charmap.h: Likewise.
6997 * locale/programs/ld-address.c: Likewise.
6998 * locale/programs/ld-collate.c: Likewise.
6999 * locale/programs/ld-ctype.c: Likewise.
7000 * locale/programs/ld-identification.c: Likewise.
7001 * locale/programs/ld-measurement.c: Likewise.
7002 * locale/programs/ld-messages.c: Likewise.
7003 * locale/programs/ld-monetary.c: Likewise.
7004 * locale/programs/ld-name.c: Likewise.
7005 * locale/programs/ld-numeric.c: Likewise.
7006 * locale/programs/ld-paper.c: Likewise.
7007 * locale/programs/ld-telephone.c: Likewise.
7008 * locale/programs/ld-time.c: Likewise.
7009 * locale/programs/linereader.c: Likewise.
7010 * locale/programs/locale.c: Likewise.
7011 * locale/programs/locarchive.c: Likewise.
7012 * locale/programs/locfile.h: Likewise.
7013 * locale/programs/repertoire.c: Likewise.
7014 * locale/programs/simple-hash.c: Likewise.
7015 * locale/programs/simple-hash.h: Likewise.
7016 * malloc/memusage.c: Likewise.
7017 * malloc/memusagestat.c: Likewise.
7018 * nis/nis_defaults.c: Likewise.
7019 * nis/nis_hash.c: Likewise.
7020 * nis/nis_print.c: Likewise.
7021 * nis/nis_xdr.c: Likewise.
7022 * nscd/connections.c: Likewise.
7023 * nscd/hstcache.c: Likewise.
7024 * nscd/nscd_gethst_r.c: Likewise.
7025 * nscd/nscd_getserv_r.c: Likewise.
7026 * nscd/nscd_helper.c: Likewise.
7027 * nscd/servicescache.c: Likewise.
7028 * nss/makedb.c: Likewise.
7029 * nss/nss_db/db-XXX.c: Likewise.
7030 * nss/nss_db/db-initgroups.c: Likewise.
7031 * nss/nss_db/db-netgrp.c: Likewise.
7032 * nss/nss_files/files-network.c: Likewise.
7033 * nss/nss_files/files-parse.c: Likewise.
7034 * posix/bug-regex5.c: Likewise.
7035 * posix/fnmatch_loop.c: Likewise.
7036 * posix/regcomp.c: Likewise.
7037 * posix/regexec.c: Likewise.
7038 * posix/tst-rfc3484-2.c: Likewise.
7039 * posix/tst-rfc3484-3.c: Likewise.
7040 * posix/tst-rfc3484.c: Likewise.
7041 * resolv/nss_dns/dns-canon.c: Likewise.
7042 * resolv/nss_dns/dns-network.c: Likewise.
7043 * resolv/res_init.c: Likewise.
7044 * resolv/res_mkquery.c: Likewise.
7045 * resolv/tst-aton.c: Likewise.
7046 * stdlib/cxa_atexit.c: Likewise.
7047 * stdlib/cxa_finalize.c: Likewise.
7048 * stdlib/gen-fpioconst.c: Likewise.
7049 * stdlib/strtol_l.c: Likewise.
7050 * string/tst-endian.c: Likewise.
7051 * sunrpc/auth_des.c: Likewise.
7052 * sunrpc/clnt_udp.c: Likewise.
7053 * sunrpc/rtime.c: Likewise.
7054 * sunrpc/svcauth_des.c: Likewise.
7055 * sunrpc/xdr.c: Likewise.
7056 * sunrpc/xdr_intXX_t.c: Likewise.
7057 * sunrpc/xdr_rec.c: Likewise.
7058 * sysdeps/generic/ldconfig.h: Likewise.
7059 * sysdeps/generic/ldsodefs.h: Likewise.
7060 * sysdeps/generic/memusage.h: Likewise.
7061 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7062 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7063 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7064 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7065 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7066 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7067 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7068 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7069 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7070 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7071 * sysdeps/posix/getaddrinfo.c: Likewise.
7072 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7073 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7074 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7075 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7076 * sysdeps/powerpc/test-gettimebase.c: Likewise.
7077 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7078 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7079 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7080 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7081 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7082 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7083 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7084 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7085 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7086 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7087 * sysdeps/x86_64/dl-tls.h: Likewise.
7088 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7089 * time/alt_digit.c: Likewise.
7090 * time/era.c: Likewise.
7091 * wcsmbs/tst-c16c32-1.c: Likewise.
7092
8c75f674
JM
70932013-05-16 Joseph Myers <joseph@codesourcery.com>
7094
7095 * math/libm-test.inc (struct test_sincos_data): New type.
7096 (RUN_TEST_LOOP_sincos): New macro.
7097 (sincos_test_data): New variable.
7098 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7099
e6e49e59
RH
71002013-05-16 Richard Henderson <rth@redhat.com>
7101
7102 * math/atest-exp2.c (LIMB64): New macro.
7103 (CONSTSZ): New macro.
7104 (mp_exp1, mp_exp_m1, mp_log2): New variables.
7105 (hexdig): Move ...
7106 (print_mpn_fp): ... to function scope.
7107 (read_mpn_hex): Remove.
7108 (get_log2): Remove.
7109 (exp2_mpn): Use mp_log2.
7110 (main): Use mp_exp1.
7111
15c7c18d
JM
71122013-05-16 Joseph Myers <joseph@codesourcery.com>
7113
105a07df
JM
7114 * math/libm-test.inc: Remove comment about not testing "inexact"
7115 exceptions.
7116 (INEXACT_EXCEPTION): New macro.
7117 (NO_INEXACT_EXCEPTION): Likewise.
7118 (INVALID_EXCEPTION_OK): Update value.
7119 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7120 (OVERFLOW_EXCEPTION_OK): Likewise.
7121 (UNDERFLOW_EXCEPTION_OK): Likewise.
7122 (IGNORE_ZERO_INF_SIGN): Likewise.
7123 (ERRNO_UNCHANGED): Likewise.
7124 (ERRNO_EDOM): Likewise.
7125 (ERRNO_ERANGE): Likewise.
7126 (test_exceptions): Handle testing "inexact" exceptions.
7127 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7128 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7129 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7130 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7131 INEXACT_EXCEPTION.
7132 (rint_towardzero_test_data): Likewise.
7133 (rint_downward_test_data): Likewise.
7134 (rint_upward_test_data): Likewise.
7135
e9eee333
JM
7136 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7137 with OVERFLOW_EXCEPTION.
7138 (exp10_test_data): Likewise.
7139 (exp2_test_data): Likewise.
7140 (expm1_test_data): Likewise.
7141 (lgamma_test_data): Likewise.
7142 (pow_test_data): Likewise.
7143 (tgamma_test_data): Likewise.
7144 (yn_test_data): Remove duplicate test of overflow.
7145
1c38ff73
JM
7146 * math/libm-test.inc (struct test_cc_c_data): New type.
7147 (RUN_TEST_LOOP_cc_c): New macro.
7148 (cpow_test_data): New variable.
7149 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7150
15c7c18d
JM
7151 * math/libm-test.inc (struct test_f_L_data): New type.
7152 (RUN_TEST_LOOP_f_L): New macro.
7153 (llrint_test_data): New variable.
7154 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7155 (llrint_tonearest_test_data): New variable.
7156 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7157 (llrint_towardzero_test_data): New variable.
7158 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7159 (llrint_downward_test_data): New variable.
7160 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7161 (llrint_upward_test_data): New variable.
7162 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7163 (llround_test_data): New variable.
7164 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7165
f137ff13
PC
71662013-05-13 Peter Collingbourne <pcc@google.com>
7167
7168 * math/atest-exp2.c (get_log2): Remove const attribute.
7169
3608cb24
JM
71702013-05-15 Joseph Myers <joseph@codesourcery.com>
7171
7172 * math/libm-test.inc (struct test_f_l_data): New type.
7173 (RUN_TEST_LOOP_f_l): New macro.
7174 (lrint_test_data): New variable.
7175 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7176 (lrint_tonearest_test_data): New variable.
7177 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7178 (lrint_towardzero_test_data): New variable.
7179 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7180 (lrint_downward_test_data): New variable.
7181 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7182 (lrint_upward_test_data): New variable.
7183 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7184 (lround_test_data): New variable.
7185 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7186
39b1f617
PC
71872013-05-15 Peter Collingbourne <pcc@google.com>
7188
1deff3dc
PC
7189 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7190 (EXTRACT_WORDS64) Use where appropriate.
7191 (INSERT_WORDS64) Likewise.
7192
791f3ba0
PC
7193 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7194 constraints with x constraints.
7195 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7196
39b1f617
PC
7197 * malloc/obstack.c (_obstack_compat): Add initializer.
7198
12fba011
EM
71992013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
7200
7201 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7202 si_trapno and add si_addr_lsb to _sifields.sigfault.
7203 (si_trapno): Remove macro.
7204 (si_addr_lsb): Define new macro.
7205 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7206
d369f531
JM
72072013-05-15 Joseph Myers <joseph@codesourcery.com>
7208
b861c6c4
JM
7209 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7210 instead of TEST_f_l.
7211 (llrint_test_tonearest): Likewise.
7212 (llrint_test_towardzero): Likewise.
7213 (llrint_test_downward): Likewise.
7214 (llrint_test_upward): Likewise.
7215 (llround_test): Likewise.
7216
7abeee12
JM
7217 * math/libm-test.inc (struct test_f_i_data): Add comment.
7218 (RUN_TEST_LOOP_f_b): New macro.
7219 (RUN_TEST_LOOP_f_b_tg): Likewise.
7220 (finite_test_data): New variable.
7221 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7222 (isfinite_test_data): New variable.
7223 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7224 (isinf_test_data): New variable.
7225 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7226 (isnan_test_data): New variable.
7227 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7228 (isnormal_test_data): New variable.
7229 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7230 (issignaling_test_data): New variable.
7231 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7232 (signbit_test_data): New variable.
7233 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7234
cbe8c4d3
JM
7235 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7236 with INVALID_EXCEPTION.
7237 (acosh_test_data): Likewise.
7238 (asin_test_data): Likewise.
7239 (atanh_test_data): Likewise.
7240 (fmod_test_data): Likewise.
7241 (log_test_data): Likewise.
7242 (log10_test_data): Likewise.
7243 (log2_test_data): Likewise.
7244 (pow_test_data): Likewise.
7245 (sqrt_test_data): Likewise.
7246 (y0_test_data): Likewise.
7247 (y1_test_data): Likewise.
7248 (yn_test_data): Likewise.
7249
5575c0e5
JM
7250 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7251 function contents.
7252
d369f531
JM
7253 * math/libm-test.inc (struct test_ff_i_data): New type.
7254 (RUN_TEST_LOOP_ff_i_tg): New macro.
7255 (isgreater_test_data): New variable.
7256 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7257 (isgreaterequal_test_data): New variable.
7258 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7259 (isless_test_data): New variable.
7260 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7261 (islessequal_test_data): New variable.
7262 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7263 (islessgreater_test_data): New variable.
7264 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7265 (isunordered_test_data): New variable.
7266 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7267
781fd748
DM
72682013-05-14 David S. Miller <davem@davemloft.net>
7269
7270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7271
87aa21df
JM
72722013-05-14 Joseph Myers <joseph@codesourcery.com>
7273
5e908270
JM
7274 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7275
f71172e5
JM
7276 * math/libm-test.inc (struct test_fF_f1_data): Change type of
7277 extra_test to int.
7278 (struct test_f_i_data): Change type of max_ulp to int.
7279
8cfa635a
JM
7280 * math/libm-test.inc (test_ffI_f1_data): New type.
7281 (RUN_TEST_LOOP_ffI_f1): New macro.
7282 (remquo_test_data): New variable.
7283 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7284
2bcb36b2
JM
7285 * setjmp/tst-setjmp-fp.c: New file.
7286 * setjmp/Makefile (tests): Add tst-setjmp-fp.
7287 (link-libm): New variable.
7288 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7289
acbd839a
JM
7290 * math/libm-test.inc (struct test_f_i_data): New type.
7291 (RUN_TEST_LOOP_f_i): New macro.
7292 (RUN_TEST_LOOP_f_i_tg): Likewise.
7293 (fpclassify_test_data): New variable.
7294 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7295 (ilogb_test_data): New variable.
7296 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7297
e414d745
JM
7298 * math/libm-test.inc (scalbln_test): Correct function name in END
7299 call.
7300
d9c2a0fd
JM
7301 * math/libm-test.inc (struct test_f_f1_data): Add comment.
7302 (RUN_TEST_LOOP_fI_f1): New macro.
7303 (frexp_test_data): New variable.
7304 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7305
9dc9095d
JM
7306 * math/libm-test.inc (struct test_fF_f1_data): New type.
7307 (RUN_TEST_LOOP_fF_f1): New macro.
7308 (modf_test_data): New variable.
7309 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7310
87aa21df
JM
7311 * math/libm-test.inc (struct test_f_f1_data): New type.
7312 (RUN_TEST_LOOP_f_f1): New macro.
7313 (gamma_test_data): New variable.
7314 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7315 (lgamma_test_data): New variable.
7316 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7317
141af660
CD
73182013-05-13 Carlos O'Donell <carlos@redhat.com>
7319
7320 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7321 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7322 (main): Comment "tls" pseudo-hwcap.
7323
6d33265c
JM
73242013-05-13 Joseph Myers <joseph@codesourcery.com>
7325
68fc074c
JM
7326 * math/libm-test.inc (struct test_fl_f_data): New type.
7327 (RUN_TEST_LOOP_fl_f): New variable.
7328 (scalbln_test_data): New variable.
7329 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7330
243216e1
JM
7331 * math/libm-test.inc (struct test_fi_f_data): New type.
7332 (RUN_TEST_LOOP_fi_f): New macro.
7333 (ldexp_test_data): New variable.
7334 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7335 (scalbn_test_data): New variable.
7336 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7337
6a1992e2
JM
7338 * math/libm-test.inc (struct test_c_f_data): New type.
7339 (RUN_TEST_LOOP_c_f): New macro.
7340 (cabs_test_data): New variable.
7341 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7342 (carg_test_data): New variable.
7343 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7344 (cimag_test_data): New variable.
7345 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7346 (creal_test_data): New variable.
7347 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7348
0e400df5
JM
7349 * math/libm-test.inc (struct test_if_f_data): New type.
7350 (RUN_TEST_LOOP_if_f): New macro.
7351 (jn_test_data): New variable.
7352 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7353 (yn_test_data): New variable.
7354 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7355
6d33265c
JM
7356 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7357
f98ece5f
AZ
73582013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7359
7360 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7361 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7362
0f7d347b
SP
73632013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7364
43fe811b
SP
7365 * benchtests/Makefile (CPPFLAGS-nonlib): Add
7366 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7367 (bench-deps): Add bench-timing.h.
7368 * benchtests-bench-skeleton.c: Include bench-timing.h.
7369 (main): Use TIMING_* macros instead of clock_gettime.
7370 * benchtests/bench-timing.h: New file.
7371
0f7d347b
SP
7372 [BZ #14582]
7373 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7374 Renamed from _LIB_VERSION.
7375 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7376
601a3a5f
JM
73772013-05-12 Joseph Myers <joseph@codesourcery.com>
7378
4f184d30
JM
7379 * math/libm-test.inc (struct test_fff_f_data): New type.
7380 (RUN_TEST_LOOP_fff_f): New macro.
7381 (fma_test_data): New variable.
7382 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7383 (fma_towardzero_test_data): New variable.
7384 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7385 (fma_downward_test_data): New variable.
7386 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
7387 (fma_upward_test_data): New variable.
7388 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
7389
08198877
JM
7390 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
7391 (struct test_c_c_data): New type.
7392 (RUN_TEST_LOOP_c_c): New macro.
7393 (cacos_test_data): New variable.
7394 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
7395 (cacosh_test_data): New variable.
7396 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
7397 (casin_test_data): New variable.
7398 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
7399 (casinh_test_data): New variable.
7400 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
7401 (catan_test_data): New variable.
7402 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
7403 (catanh_test_data): New variable.
7404 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
7405 (ccos_test_data): New variable.
7406 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
7407 (ccosh_test_data): New variable.
7408 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
7409 (cexp_test_data): New variable.
7410 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
7411 (clog_test_data): New variable.
7412 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
7413 (clog10_test_data): New variable.
7414 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
7415 (conj_test_data): New variable.
7416 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
7417 (cproj_test_data): New variable.
7418 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
7419 (csin_test_data): New variable.
7420 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
7421 (csinh_test_data): New variable.
7422 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
7423 (csqrt_test_data): New variable.
7424 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
7425 (ctan_test_data): New variable.
7426 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
7427 (ctan_tonearest_test_data): New variable.
7428 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7429 (ctan_towardzero_test_data): New variable.
7430 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7431 (ctan_downward_test_data): New variable.
7432 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7433 (ctan_upward_test_data): New variable.
7434 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7435 (ctanh_test_data): New variable.
7436 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
7437 (ctanh_tonearest_test_data): New variable.
7438 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
7439 (ctanh_towardzero_test_data): New variable.
7440 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
7441 (ctanh_downward_test_data): New variable.
7442 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
7443 (ctanh_upward_test_data): New variable.
7444 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
7445 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
7446 of BUILD_COMPLEX.
7447
601a3a5f
JM
7448 * math/libm-test.inc (struct test_ff_f_data): New type.
7449 (struct test_ff_f_data_nexttoward): Likewise.
7450 (RUN_TEST_LOOP_2_f): New macro.
7451 (RUN_TEST_LOOP_ff_f): Likewise.
7452 (atan2_test_data): New variable.
7453 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
7454 (copysign_test_data): New variable.
7455 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
7456 (fdim_test_data): New variable.
7457 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
7458 (fmax_test_data): New variable.
7459 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
7460 (fmin_test_data): New variable.
7461 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
7462 (fmod_test_data): New variable.
7463 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
7464 (hypot_test_data): New variable.
7465 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
7466 (nextafter_test_data): New variable.
7467 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
7468 (nexttoward_test_data): New variable.
7469 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
7470 (pow_test_data): New variable.
7471 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
7472 (pow_tonearest_test_data): New variable.
7473 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
7474 (pow_towardzero_test_data): New variable.
7475 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
7476 (pow_downward_test_data): New variable.
7477 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
7478 (pow_upward_test_data): New variable.
7479 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
7480 (remainder_test_data): New variable.
7481 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
7482 (scalb_test_data): New variable.
7483 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
7484 * sysdeps/i386/fpu/libm-test-ulps: Update.
7485
74c57478
JM
74862013-05-11 Joseph Myers <joseph@codesourcery.com>
7487
8329e4da
JM
7488 * math/libm-test.inc (fma_test): Use max_value instead of local
7489 variable fltmax.
7490 (nextafter_test): Likewise.
7491
74c57478
JM
7492 * math/libm-test.inc (acos_towardzero_test_data): New variable.
7493 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7494 (acos_downward_test_data): New variable.
7495 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7496 (acos_upward_test_data): New variable.
7497 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7498 (acosh_test_data): New variable.
7499 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
7500 (asin_test_data): New variable.
7501 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
7502 (asin_tonearest_test_data): New variable.
7503 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7504 (asin_towardzero_test_data): New variable.
7505 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7506 (asin_downward_test_data): New variable.
7507 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7508 (asin_upward_test_data): New variable.
7509 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7510 (asinh_test_data): New variable.
7511 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
7512 (atan_test_data): New variable.
7513 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
7514 (atanh_test_data): New variable.
7515 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
7516 (cbrt_test_data): New variable.
7517 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
7518 (ceil_test_data): New variable.
7519 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
7520 (cos_test_data): New variable.
7521 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
7522 (cos_tonearest_test_data): New variable.
7523 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7524 (cos_towardzero_test_data): New variable.
7525 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7526 (cos_downward_test_data): New variable.
7527 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7528 (cos_upward_test_data): New variable.
7529 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7530 (cosh_test_data): New variable.
7531 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
7532 (cosh_tonearest_test_data): New variable.
7533 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7534 (cosh_towardzero_test_data): New variable.
7535 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7536 (cosh_downward_test_data): New variable.
7537 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7538 (cosh_upward_test_data): New variable.
7539 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7540 (erf_test_data): New variable.
7541 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
7542 (erfc_test_data): New variable.
7543 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
7544 (exp_test_data): New variable.
7545 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
7546 (exp_tonearest_test_data): New variable.
7547 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7548 (exp_towardzero_test_data): New variable.
7549 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7550 (exp_downward_test_data): New variable.
7551 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7552 (exp_upward_test_data): New variable.
7553 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7554 (exp10_test_data): New variable.
7555 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
7556 (exp2_test_data): New variable.
7557 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
7558 (expm1_test_data): New variable.
7559 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
7560 (fabs_test_data): New variable.
7561 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
7562 (floor_test_data): New variable.
7563 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
7564 (j0_test_data): New variable.
7565 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
7566 (j1_test_data): New variable.
7567 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
7568 (log_test_data): New variable.
7569 (log_test): Run tests with RUN_TEST_LOOP_f_f.
7570 (log10_test_data): New variable.
7571 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
7572 (log1p_test_data): New variable.
7573 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
7574 (log2_test_data): New variable.
7575 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
7576 (logb_test_data): New variable.
7577 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
7578 (logb_downward_test_data): New variable.
7579 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7580 (nearbyint_test_data): New variable.
7581 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
7582 (rint_test_data): New variable.
7583 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
7584 (rint_tonearest_test_data): New variable.
7585 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7586 (rint_towardzero_test_data): New variable.
7587 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7588 (rint_downward_test_data): New variable.
7589 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7590 (rint_upward_test_data): New variable.
7591 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7592 (round_test_data): New variable.
7593 (round_test): Run tests with RUN_TEST_LOOP_f_f.
7594 (sin_test_data): New variable.
7595 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
7596 (sin_tonearest_test_data): New variable.
7597 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7598 (sin_towardzero_test_data): New variable.
7599 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7600 (sin_downward_test_data): New variable.
7601 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7602 (sin_upward_test_data): New variable.
7603 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7604 (sinh_test_data): New variable.
7605 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
7606 (sinh_tonearest_test_data): New variable.
7607 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7608 (sinh_towardzero_test_data): New variable.
7609 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7610 (sinh_downward_test_data): New variable.
7611 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7612 (sinh_upward_test_data): New variable.
7613 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7614 (sqrt_test_data): New variable.
7615 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
7616 (tan_test_data): New variable.
7617 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
7618 (tan_tonearest_test_data): New variable.
7619 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7620 (tan_towardzero_test_data): New variable.
7621 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
7622 (tan_downward_test_data): New variable.
7623 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
7624 (tan_upward_test_data): New variable.
7625 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
7626 (tanh_test_data): New variable.
7627 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
7628 (tgamma_test_data): New variable.
7629 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
7630 (trunc_test_data): New variable.
7631 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
7632 (y0_test_data): New variable.
7633 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
7634 (y1_test_data): New variable.
7635 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
7636 (significand_test_data): New variable.
7637 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
7638
7187d844
CG
76392013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
7640
7641 [BZ #12387]
7642 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
7643
f63fae73
PT
76442013-05-10 Pino Toscano <toscano.pino@tiscali.it>
7645
7646 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
7647
8a67a4b3
AJ
76482013-05-10 Andreas Jaeger <aj@suse.de>
7649
7650 [BZ #15448]
7651 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
7652 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
7653
51df539d
JM
76542013-05-10 Joseph Myers <joseph@codesourcery.com>
7655
7656 * math/gen-libm-test.pl (adjust_arg): New function.
7657 (special_functions): Handle generating output in both functions
7658 and arrays.
7659 (parse_args): Likewise.
7660 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
7661 $in_func argument to parse_args.
7662 * math/libm-test.inc (struct test_f_f_data): New type.
7663 (IF_ROUND_INIT_): New macro.
7664 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7665 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7666 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7667 (IF_ROUND_INIT_FE_UPWARD): Likewise.
7668 (ROUND_RESTORE_): Likewise.
7669 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7670 (ROUND_RESTORE_FE_TONEAREST): Likewise.
7671 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7672 (ROUND_RESTORE_FE_UPWARD): Likewise.
7673 (RUN_TEST_LOOP_f_f): New macro.
7674 (acos_test_data): New variable.
7675 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
7676 (acos_tonearest_test_data): New variable.
7677 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
7678
5c637fe5
SP
76792013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
7680
7681 * benchtests/bench-skeleton.c (startup): Fix coding style.
7682
ab2b9461
JM
76832013-05-10 Joseph Myers <joseph@codesourcery.com>
7684
7685 [BZ #6809]
7686 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
7687 negative infinity argument.
7688 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
7689 negative infinity argument.
7690 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
7691 negative infinity argument.
7692 * math/libm-test.inc (tgamma_test): Expect errno to be set for
7693 domain errors.
7694
4c0fe6fe
FW
76952013-05-10 Florian Weimer <fweimer@redhat.com>
7696
7697 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
7698 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
7699 * iconv/iconv_prog.c (main): Likewise.
7700 * locale/programs/charmap-dir.c (charmap_readdir)
7701 (fopen_uncompressed): Likewise.
7702 * locale/programs/locfile.c (siblings_uncached)
7703 (write_locale_data): Use lstat64 instead of lstat.
7704 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
7705 stat.
7706
a3375d29
AJ
77072013-05-10 Andreas Jaeger <aj@suse.de>
7708
7709 [BZ #15395]
7710 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
7711 localization.
7712 Include <locale.h>.
7713
36129722
CD
77142013-05-09 Carlos O'Donell <carlos@redhat.com>
7715
7716 * elf/dl-close.c (_dl_close_worker): Add comments.
7717
faa7f811
JM
77182013-05-09 Joseph Myers <joseph@codesourcery.com>
7719
ed41ffef
JM
7720 [BZ #15359]
7721 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
7722 high part of pi/2.
7723 (__ieee754_rem_pio2l): Update comments.
7724
d0213cd0
JM
7725 [BZ #15429]
7726 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
7727 high part of pi/2.
7728 (__ieee754_rem_pio2l): Update comments.
7729
0d3e777a
JM
7730 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
7731 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
7732
24f56066
JM
7733 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
7734 M_PI_4l.
7735
faa7f811
JM
7736 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
7737 (M_PI_34_LOG10El): Likewise.
7738 (M_PI2_LOG10El): Likewise.
7739 (M_PI4_LOG10El): Likewise.
7740 (M_PI_LOG10El): Likewise.
7741
e9a5e0fd
AZ
77422013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7743
7744 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7745
d8cd06db
JM
77462013-05-08 Joseph Myers <joseph@codesourcery.com>
7747
a0d9f9d7
JM
7748 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
7749 (MINUS_ZERO_INIT): Likewise.
7750 (PLUS_INFTY_INIT): Likewise.
7751 (MINUS_INFTY_INIT): Likewise.
7752 (QNAN_VALUE_INIT): Likewise.
7753 (MAX_VALUE_INIT): Likewise.
7754 (MIN_VALUE_INIT): Likewise.
7755 (MIN_SUBNORM_VALUE_INIT): Likewise.
7756 (plus_zero): Initialize with PLUS_ZERO_INIT.
7757 (minus_zero): Initialize with MINUS_ZERO_INIT.
7758 (plus_infty): Initialize with PLUS_INFTY_INIT.
7759 (minus_infty): Initialize with MINUS_INFTY_INIT.
7760 (qnan_value): Initialize with QNAN_VALUE_INIT.
7761 (max_value): Initialize with MAX_VALUE_INIT.
7762 (min_value): Initialize with MIN_VALUE_INIT.
7763 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
7764
ae08db3b
JM
7765 * math/libm-test.inc (RUN_TEST_if_f): New macro.
7766 (jn_test): Use TEST_if_f instead of TEST_ff_f.
7767 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
7768 (yn_test): Use TEST_if_f instead of TEST_ff_f.
7769
f44bf14a
JM
7770 * math/libm-test.inc (RUN_TEST_f_f): New macro.
7771 (RUN_TEST_2_f): Likewise.
7772 (RUN_TEST_ff_f): Likewise.
7773 (RUN_TEST_fi_f): Likewise.
7774 (RUN_TEST_fl_f): Likewise.
7775 (RUN_TEST_fff_f): Likewise.
7776 (RUN_TEST_c_f): Likewise.
7777 (RUN_TEST_f_f1): Likewise.
7778 (RUN_TEST_fF_f1): Likewise.
7779 (RUN_TEST_fI_f1): Likewise.
7780 (RUN_TEST_ffI_f1): Likewise.
7781 (RUN_TEST_c_c): Likewise.
7782 (RUN_TEST_cc_c): Likewise.
7783 (RUN_TEST_f_i): Likewise.
7784 (RUN_TEST_f_i_tg): Likewise.
7785 (RUN_TEST_ff_i_tg): Likewise.
7786 (RUN_TEST_f_b): Likewise.
7787 (RUN_TEST_f_b_tg): Likewise.
7788 (RUN_TEST_f_l): Likewise.
7789 (RUN_TEST_f_L): Likewise.
7790 (RUN_TEST_sincos): Likewise.
7791 * math/gen-libm-test.pl (new_test): Take new argument to indicate
7792 whether to show exceptions. Do not include ");\n" in return
7793 value.
7794 (special_functions): Output call to RUN_TEST_sincos instead of
7795 check_float calls. Update calls to new_test.
7796 (parse_args): Output call to single RUN_TEST_* macro instead of
7797 check_* calls and other assignments. Update calls to new_test.
7798
d8cd06db
JM
7799 [BZ #2546]
7800 [BZ #2560]
7801 [BZ #5159]
7802 [BZ #15426]
7803 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
7804 input to result for tgamma overflow.
7805 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
7806 (gamma_coeff): New variable.
7807 (NCOEFF): New macro.
7808 (gamma_positive): New function.
7809 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
7810 underflow here. Use gamma_positive instead of exp (lgamma) for
7811 other arguments.
7812 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
7813 (gamma_coeff): New variable.
7814 (NCOEFF): New macro.
7815 (gammaf_positive): New function.
7816 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
7817 underflow here. Use gamma_positive instead of exp (lgamma) for
7818 other arguments.
7819 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
7820 (gamma_coeff): New variable.
7821 (NCOEFF): New macro.
7822 (gammal_positive): New function.
7823 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
7824 underflow here. Use gamma_positive instead of exp (lgamma) for
7825 other arguments.
7826 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
7827 (gamma_coeff): New variable.
7828 (NCOEFF): New macro.
7829 (gammal_positive): New function.
7830 (__ieee754_gammal_r): Handle positive infinity, overflow and
7831 underflow here. Handle NaN the same as positive infinity. Remove
7832 check x < 0xffffffff for negative integers. Use gamma_positive
7833 instead of exp (lgamma) for other arguments.
7834 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
7835 (gamma_coeff): New variable.
7836 (NCOEFF): New macro.
7837 (gammal_positive): New function.
7838 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
7839 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
7840 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7841 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
7842 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7843 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
7844 * sysdeps/generic/math_private.h (__gamma_productf): New
7845 prototype.
7846 (__gamma_product): Likewise.
7847 (__gamma_productl): Likewise.
7848 * math/Makefile (libm-calls): Add gamma_product.
7849 * math/libm-test.inc (tgamma_test): Add more tests.
7850 * sysdeps/i386/fpu/libm-test-ulps: Update.
7851 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7852
bb7cf681
OB
78532013-05-08 Ondřej Bílka <neleai@seznam.cz>
7854
7855 * benchtests/bench-skeleton.c (main): Preheat CPU.
7856
ba853947
AJ
78572013-05-07 Aurelien Jarno <aurelien@aurel32.net>
7858
7859 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
7860
8347c74c
RM
78612013-05-07 Roland McGrath <roland@hack.frob.com>
7862
7863 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
7864 and _dl_skip_args_internal.
7865
e8dd4791
CD
78662013-05-07 Carlos O'Donell <carlos@redhat.com>
7867
7868 * manual/message.texi (Message Translation): Talk about users.
7869 Message to key mapping impacts design.
7870
c7405830
RM
78712013-05-06 Roland McGrath <roland@hack.frob.com>
7872
a9173057
RM
7873 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
7874
976e2f03
RM
7875 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
7876
9723ffc5
RM
7877 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
7878 * sysdeps/wordsize-64/glob64.c: ... here.
7879
962e6658
RM
7880 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
7881 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
7882 New macros.
7883
ee586a6d
RM
7884 * debug/getlogin_r_chk.c: Moved to ...
7885 * login/getlogin_r_chk.c: ... here.
7886 * debug/Makefile (routines): Move getlogin_r_chk to ...
7887 * login/Makefile (routines): ... here.
7888 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
7889 * login/Versions (libc: GLIBC_2.4): ... here.
7890
355f9165
RM
7891 * io/poll.c (__poll): Renamed from poll.
7892 Add libc_hidden_def.
7893 (poll): Define as weak alias.
7894
bd9ffde6
RM
7895 * debug/ptsname_r_chk.c: Moved to ...
7896 * login/ptsname_r_chk.c: ... here.
7897 * debug/Makefile (routines): Move ptsname_r_chk to ...
7898 * login/Makefile (routines): ... here.
7899 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
7900 * login/Versions (libc: GLIBC_2.4): ... here.
7901
8fb16a04
RM
7902 * posix/getlogin.c: Moved to ...
7903 * login/getlogin.c: ... here.
7904 * posix/getlogin_r.c: Moved to ...
7905 * login/getlogin_r.c: ... here.
7906 * posix/getlogin_r.c: Moved to ...
7907 * login/getlogin_r.c: ... here.
7908 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
7909 * login/Makefile (routines): ... here.
7910 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
7911 * login/Versions (libc: GLIBC_2.0): ... here.
7912
b99b892f
RM
7913 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
7914 (setrlimit): Define as weak alias.
7915
c7405830
RM
7916 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
7917 Call __ names for open, ftruncate, and close.
7918 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
7919 (truncate): Define as weak alias.
7920
5bf96de5
JM
79212013-05-06 Joseph Myers <joseph@codesourcery.com>
7922
9ea3513c
JM
7923 * math/gen-libm-test.pl (parse_args): Initialize x before each
7924 test of frexp, modf and remquo.
7925
5bf96de5
JM
7926 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
7927 test signgam value.
7928
16e616a7
AZ
79292013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7930
7931 [BZ #15418]
7932 [BZ #15419]
7933 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
7934 internal tests.
7935 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7936
d5e82754
RM
79372013-05-06 Roland McGrath <roland@hack.frob.com>
7938
7939 * elf/dl-writev.h: New file.
7940 * elf/dl-misc.c: Include it.
7941 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
7942 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
7943
a7548d41
JM
79442013-05-04 Joseph Myers <joseph@codesourcery.com>
7945
b7dab1e4
JM
7946 * math/libm-test.inc (noXFails): Remove variable.
7947 (noXPasses): Likewise.
7948 (BUILD_COMPLEX_INT): Remove macro.
7949 (print_screen): Remove xfail argument.
7950 (print_screen_max_error): Likewise.
7951 (update_stats): Likewise.
7952 (print_max_error): Likewise. Update calls to other affected
7953 functions.
7954 (print_complex_max_error): Likewise.
7955 (test_single_exception): Update calls to print_screen.
7956 (test_single_errno): Likewise.
7957 (check_float_internal): Remove xfail argument. Update calls to
7958 other affected functions.
7959 (check_float): Likewise.
7960 (check_complex): Likewise.
7961 (check_int): Likewise.
7962 (check_long): Likewise.
7963 (check_bool): Likewise.
7964 (check_longlong): Likewise.
7965 (main): Don't print noXFails and noXPasses.
7966 * math/gen-libm-test.pl (top level): Don't mention expected
7967 failure handling in comment.
7968 (new_test): Don't handle expected failures.
7969 (parse_args): Don't mention expected failure handling in comment.
7970 (generate_testfile): Don't handle expected failures.
7971 (parse_ulps): Likewise.
7972 (print_ulps_file): Likewise.
7973 (get_failure): Remove function.
7974 (output_test): Don't handle expected failures.
7975 * make/README.libm-test: Don't mention expected failure handling.
7976
a7548d41
JM
7977 * math/libm-test.inc (plus_zero): Make const. Add initializer.
7978 (minus_zero): Likewise.
7979 (plus_infty): Likewise.
7980 (minus_infty): Likewise.
7981 (qnan_value): Likewise.
7982 (max_value): Likewise.
7983 (min_value): Likewise.
7984 (min_subnorm_value): Likewise.
7985 (initialize): Do not initialize those variables dynamically.
7986
60bfd54c
RM
79872013-05-03 Roland McGrath <roland@hack.frob.com>
7988
cc0e6ed8
RM
7989 * io/open.c (__open_2): Moved to ...
7990 * io/open_2.c: ... this new file.
7991 * io/open64.c (__open64_2): Moved to ...
7992 * io/open64_2.c: ... this new file.
7993 * io/openat.c (__openat_2): Moved to ...
7994 * io/openat_2.c: ... this new file.
7995 * io/openat64.c (__openat64_2): Moved to ...
7996 * io/openat64_2.c: ... this new file.
7997 * io/Makefile (routines): Add them.
7998 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
7999 * sysdeps/unix/sysv/linux/open_2.c: File removed.
8000 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8001 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8002 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8003 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8004 (__openat64): Add hidden_ver.
8005 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8006 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8007
60bfd54c
RM
8008 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8009 Separately conditionalize setting of GLRO(dl_sysinfo) so
8010 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8011 as well, but the actual setting is only under [NEED_DL_SYSINFO].
8012
83e7640f
AZ
80132013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8014
8015 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8016 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8017 definition.
8018 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8019 * sysdeps/unix/sysv/linux/powerpc/init-first.c
8020 (_libc_vdso_platform_setup): Add __vdso_time initialization.
8021 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8022 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8023
d5dc2af3
JM
80242013-05-03 Joseph Myers <joseph@codesourcery.com>
8025
c31a5b1e
JM
8026 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8027 test signgam value.
8028
d5dc2af3
JM
8029 * math/libm-test.inc (hypot_test): Do not use
8030 IGNORE_ZERO_INF_SIGN.
8031
164fd39d
AJ
80322013-05-03 Andreas Jaeger <aj@suse.de>
8033
8034 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8035 Linux 3.9.
8036 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8037 (PF_MAX): Adjust for VSOCK change.
8038
8237f48c
AZ
80392013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8040
8041 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8042
9df02941
CD
80432013-05-02 Carlos O'Donell <carlos@redhat.com>
8044
8045 [BZ #15264]
8046 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8047 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8048 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8049
d422395e
DM
80502013-05-02 David S. Miller <davem@davemloft.net>
8051
8052 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8053
a07c5731
OB
80542013-05-01 Ondřej Bílka <neleai@seznam.cz>
8055
8056 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8057
1324e37f
RM
80582013-05-01 Roland McGrath <roland@hack.frob.com>
8059
8060 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8061
0695940b
RS
80622013-05-01 Richard Smith <richard@metafoo.co.uk>
8063
bb5f27ad 8064 [BZ #14952]
0695940b
RS
8065 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8066 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8067 Use __attribute__ ((__gnu_inline__)).
8068 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8069 Don't use __attribute__ ((__gnu_inline__)).
8070
10de07f5
JM
80712013-05-01 Joseph Myers <joseph@codesourcery.com>
8072
8073 [BZ #15423]
8074 * math/s_catan.c (__catan): Handle small real or imaginary part of
8075 input specially to avoid spurious underflow.
8076 * math/s_catanf.c (__catanf): Likewise.
8077 * math/s_catanh.c (__catanh): Likewise.
8078 * math/s_catanhf.c (__catanhf): Likewise.
8079 * math/s_catanhl.c (__catanhl): Likewise.
8080 * math/s_catanl.c (__catanl): Likewise.
8081 * math/libm-test.inc (catan_test): Add more tests.
8082 (catanh_test): Likewise.
8083 * sysdeps/i386/fpu/libm-test-ulps: Update.
8084 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8085
cb4d5414
AZ
80862013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8087
8088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8089
caf84319
JM
80902013-04-30 Joseph Myers <joseph@codesourcery.com>
8091
8092 [BZ #15416]
8093 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8094 accurately for denominator in atan2.
8095 * math/s_catanf.c (__catanf): Likewise.
8096 * math/s_catanh.c (__catanh): Likewise.
8097 * math/s_catanhf.c (__catanhf): Likewise.
8098 * math/s_catanhl.c (__catanhl): Likewise.
8099 * math/s_catanl.c (__catanl): Likewise.
8100 * math/libm-test.inc (catan_test): Add more tests.
8101 (catanh_test): Likewise.
8102 * sysdeps/i386/fpu/libm-test-ulps: Update.
8103 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8104
d569c6ee
SP
81052013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8106
6dbe713d
SP
8107 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8108
f0ee064b
SP
8109 * benchtests/Makefile (bench): Remove slow benchmarks.
8110 * benchtests/atan-inputs: Add slow benchmark inputs.
8111 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8112 (BENCH_FUNC): Accept variant offset.
8113 (VARIANT): Define.
8114 * benchtests/bench-skeleton.c (main): Run benchmark for each
8115 variant.
8116 * benchtests/cos-inputs: Add slow benchmark inputs.
8117 * benchtests/exp-inputs: Likewise.
8118 * benchtests/pow-inputs: Likewise.
8119 * benchtests/sin-inputs: Likewise.
8120 * benchtests/slowatan-inputs: Remove.
8121 * benchtests/slowatan.c: Remove.
8122 * benchtests/slowcos-inputs: Remove.
8123 * benchtests/slowcos.c: Remove.
8124 * benchtests/slowexp-inputs: Remove.
8125 * benchtests/slowexp.c: Remove.
8126 * benchtests/slowpow-inputs: Remove.
8127 * benchtests/slowpow.c: Remove.
8128 * benchtests/slowsin-inputs: Remove.
8129 * benchtests/slowsin.c: Remove.
8130 * benchtests/slowtan-inputs: Remove.
8131 * benchtests/slowtan.c: Remove.
8132 * benchtests/tan-inputs: Add slow benchmark inputs.
8133 * scripts/bench.pl: Parse comments and directives.
8134
d569c6ee
SP
8135 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
8136 in CPPFLAGS.
8137 ($(objpfx)bench-%.c): Remove *-ITER.
8138 * benchtests/bench-modf.c: Remove definition of ITER.
8139 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8140 (main): Loop for DURATION seconds instead of fixed number of
8141 iterations.
8142 * scripts/bench.pl: Don't expect iterations in parameters.
8143
a6a242fe
RM
81442013-04-29 Roland McGrath <roland@hack.frob.com>
8145
8146 * io/fchdir.c (__fchdir): Renamed from fchdir.
8147 (fchdir): Define as weak alias.
8148
f2da7793
JM
81492013-04-29 Joseph Myers <joseph@codesourcery.com>
8150
8151 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8152 (ERRNO_EDOM): Likewise.
8153 (ERRNO_ERANGE): Likewise.
8154 (noErrnoTests): New variable.
8155 (init_max_error): Set errno to 0.
8156 (test_single_errno): New function.
8157 (test_errno): Likewise.
8158 (check_float_internal): Call test_errno. Set errno to 0.
8159 (check_complex): Refer to errno tests in comment.
8160 (check_int): Call test_errno. Set errno to 0.
8161 (check_long): Likewise.
8162 (check_bool): Likewise.
8163 (check_longlong): Likewise.
8164 (cos_test): Use ERRNO_* flags for errno tests instead of
8165 check_int.
8166 (expm1_test): Likewise.
8167 (fmod_test): Likewise.
8168 (ilogb_test): Likewise.
8169 (lgamma_test): Likewise.
8170 (pow_test): Likewise.
8171 (remainder_test): Likewise.
8172 (sin_test): Likewise.
8173 (tan_test): Likewise.
8174 (yn_test): Likewise.
8175 (initialize): Set errno to 0.
8176 (main): Print number of errno tests.
8177 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8178
b1a36ceb
AJ
81792013-04-29 Andreas Jaeger <aj@suse.de>
8180
c3ed8088
AJ
8181 [BZ #15084]
8182 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8183 and RES_USEVC.
8184
f1a24198
AJ
8185 [BZ #15085]
8186 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8187 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8188 unimplemented.
8189
9ce3b2cb
AJ
8190 [BZ #15380]
8191 * stdlib/random.c (__initstate): Return NULL if
8192 __initstate fails.
8193
f1a24198 8194 [BZ #15086]
b1a36ceb
AJ
8195 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8196 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8197 RES_SNGLKUPREOP.
8198
7e7b6f36
AZ
81992013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8200
8201 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8202
4d14f449
JM
82032013-04-29 Joseph Myers <joseph@codesourcery.com>
8204
8205 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8206 of individual tests.
8207 (casin_test): Likewise.
8208 (casinh_test): Likewise.
8209
5b4217d7
JM
82102013-04-27 Joseph Myers <joseph@codesourcery.com>
8211
8212 [BZ #15409]
8213 * math/s_catan.c (__catan): Handle arguments with large real or
8214 imaginary part separately without squaring.
8215 * math/s_catanf.c (__catanf): Likewise.
8216 * math/s_catanh.c (__catanh): Likewise.
8217 * math/s_catanhf.c (__catanhf): Likewise.
8218 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8219 and redefine.
8220 (__catanhl): Handle arguments with large real or imaginary part
8221 separately without squaring.
8222 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8223 and redefine.
8224 (__catanl): Handle arguments with large real or imaginary part
8225 separately without squaring.
8226 * math/libm-test.inc (catan_test): Add more tests.
8227 (catanh_test): Likewise.
8228 * sysdeps/i386/fpu/libm-test-ulps: Update.
8229 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8230
4220c3ef
AJ
82312013-04-27 Andreas Jaeger <aj@suse.de>
8232
8233 [BZ #15007]
8234 * stdlib/stdlib.h: Update guards for qecvt.
8235 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8236 <stdlib.h>.
8237
4721b2d1
AM
82382013-04-27 Allan McRae <allan@archlinux.org>
8239
8240 * sysdeps/i386/fpu/libm-test-ulps: Update.
8241
f0302940
JM
82422013-04-26 Joseph Myers <joseph@codesourcery.com>
8243
9457fd95
JM
8244 [BZ #15406]
8245 * math/s_catan.c: Include <float.h>.
8246 (__catan): Ensure underflow exception occurs for underflowed
8247 result.
8248 * math/s_catanf.c: Include <float.h>.
8249 (__catanf): Ensure underflow exception occurs for underflowed
8250 result.
8251 * math/s_catanh.c: Include <float.h>.
8252 (__catanh): Ensure underflow exception occurs for underflowed
8253 result.
8254 * math/s_catanhf.c: Include <float.h>.
8255 (__catanhf): Ensure underflow exception occurs for underflowed
8256 result.
8257 * math/s_catanhl.c: Include <float.h>.
8258 (__catanhl): Ensure underflow exception occurs for underflowed
8259 result.
8260 * math/s_catanl.c: Include <float.h>.
8261 (__catanl): Ensure underflow exception occurs for underflowed
8262 result.
8263 * math/libm-test.inc (catan_test): Add more tests.
8264 (catanh_test): Likewise.
8265
f0302940
JM
8266 [BZ #15405]
8267 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8268 underflowed result.
8269 * math/s_ccoshf.c (__ccoshf): Likewise.
8270 * math/s_ccoshl.c (__ccoshl): Likewise.
8271 * math/s_csin.c (__csin): Likewise.
8272 * math/s_csinf.c (__csinf): Likewise.
8273 * math/s_csinh.c (__csinh): Likewise.
8274 * math/s_csinhf.c (__csinhf): Likewise.
8275 * math/s_csinhl.c (__csinhl): Likewise.
8276 * math/s_csinl.c (__csinl): Likewise.
8277 * math/libm-test.inc (ccos_test): Add more tests.
8278 (ccosh_test): Likewise.
8279 (csin_test): Likewise.
8280 (csinh_test): Likewise.
8281
aa630f59
AZ
82822013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8283
8284 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8285 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8286 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8287 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8288 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8289 powerpc/power5+/fpu folders.
8290 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8291
8292
1b835983
MT
82932013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
8294
8295 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8296
73709b26
JM
82972013-04-25 Joseph Myers <joseph@codesourcery.com>
8298
8299 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8300 additions to variable.
8301 [$(config-machine) = x86_64] (modules-names): Likewise.
8302 ($(objpfx)tst-audit3): Remove dependency.
8303 ($(objpfx)tst-audit3.out): Likewise.
8304 ($(objpfx)tst-audit4): Likewise.
8305 ($(objpfx)tst-audit4.out): Likewise.
8306 ($(objpfx)tst-audit5): Likewise.
8307 ($(objpfx)tst-audit5.out): Likewise.
8308 ($(objpfx)tst-audit6): Likewise.
8309 ($(objpfx)tst-audit6.out): Likewise.
8310 ($(objpfx)tst-audit7): Likewise.
8311 ($(objpfx)tst-audit7.out): Likewise.
8312 (tst-audit3-ENV): Remove variable.
8313 (tst-audit4-ENV): Likewise.
8314 (tst-audit5-ENV): Likewise.
8315 (tst-audit6-ENV): Likewise.
8316 (tst-audit7-ENV): Likewise.
8317 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8318 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8319 addition to variable.
8320 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8321 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8322 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8323 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8324 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8325 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8326 tst-audit3, tst-audit4 and tst-audit5.
8327 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8328 tst-audit6 and tst-audit7.
8329 [$(subdir) = elf] (modules-names): Add audit modules for those
8330 tests.
8331 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8332 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8333 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8334 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8335 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8336 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8337 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8338 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8339 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8340 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8341 [$(subdir) = elf] (tst-audit3-ENV): New variable.
8342 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8343 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8344 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8345 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8346 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8347 Likewise.
8348 [$(subdir) = elf && $(config-cflags-avx) = yes]
8349 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8350 [$(subdir) = elf && $(config-cflags-avx) = yes]
8351 (CFLAGS-tst-auditmod4a.c): Likewise.
8352 [$(subdir) = elf && $(config-cflags-avx) = yes]
8353 (CFLAGS-tst-auditmod4b.c): Likewise.
8354 [$(subdir) = elf && $(config-cflags-avx) = yes]
8355 (CFLAGS-tst-auditmod6b.c): Likewise.
8356 [$(subdir) = elf && $(config-cflags-avx) = yes]
8357 (CFLAGS-tst-auditmod6c.c): Likewise.
8358 [$(subdir) = elf && $(config-cflags-avx) = yes]
8359 (CFLAGS-tst-auditmod7b.c): Likewise.
8360 * elf/tst-audit3.c: Move to ...
8361 * sysdeps/x86_64/tst-audit3.c: ... here.
8362 * elf/tst-audit4.c: Move to ...
8363 * sysdeps/x86_64/tst-audit4.c: ... here.
8364 * elf/tst-audit5.c: Move to ...
8365 * sysdeps/x86_64/tst-audit5.c: ... here.
8366 * elf/tst-audit6.c: Move to ...
8367 * sysdeps/x86_64/tst-audit6.c: ... here.
8368 * elf/tst-audit7.c: Move to ...
8369 * sysdeps/x86_64/tst-audit7.c: ... here.
8370 * elf/tst-auditmod3a.c: Move to ...
8371 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8372 * elf/tst-auditmod3b.c: Move to ...
8373 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8374 * elf/tst-auditmod4a.c: Move to ...
8375 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8376 * elf/tst-auditmod4b.c: Move to ...
8377 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8378 * elf/tst-auditmod5a.c: Move to ...
8379 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8380 * elf/tst-auditmod5b.c: Move to ...
8381 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8382 * elf/tst-auditmod6a.c: Move to ...
8383 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8384 * elf/tst-auditmod6b.c: Move to ...
8385 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
8386 * elf/tst-auditmod6c.c: Move to ...
8387 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
8388 * elf/tst-auditmod7a.c: Move to ...
8389 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
8390 * elf/tst-auditmod7b.c: Move to ...
8391 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
8392
1ef74943
PP
83932013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
8394
8395 [BZ #15366]
8396 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
8397 define unconditionally.
8398 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
8399 define unconditionally.
8400 (INT8_C, INT16_C, etc.): Likewise.
8401
93fd48c5
MR
84022013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
8403
ae9552cf
MR
8404 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
8405 __ehdr_start with hidden visibility.
8406
93fd48c5
MR
8407 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
8408
418601aa
CD
84092013-04-24 Carlos O'Donell <carlos@redhat.com>
8410
8411 * math/libm-test.inc (cos_test): Use accurate hex constants.
8412 (sincost_test): Likewise.
8413
2f38fbfe
JM
84142013-04-24 Joseph Myers <joseph@codesourcery.com>
8415
5e221800
JM
8416 * math/libm-test.inc (catan_test): Add more tests.
8417 (catanh_test): Likewise.
8418
77f143fd
JM
8419 * math/s_catanf.c (__catanf): Use suffixed floating-point
8420 constants.
8421 * math/s_catanhf.c (__catanhf): Likewise.
8422 * math/s_catanhl.c (__catanhl): Likewise.
8423 * math/s_catanl.c (__catanl): Likewise.
8424
2f38fbfe
JM
8425 [BZ #15394]
8426 * math/s_catan.c (__catan): Calculate imaginary part of result
8427 with log1p not log unless computing log of number close to 0.
8428 * math/s_catanf.c (__catanf): Likewise.
8429 * math/s_catanl.c (__catanl): Likewise.
8430 * math/s_catanh.c (__catanh): Calculate real part of result with
8431 log1p not log unless computing log of number close to 0.
8432 * math/s_catanhf.c (__catanhf): Likewise.
8433 * math/s_catanhl.c (__catanhl): Likewise.
8434 * math/libm-test.inc (catan_test): Add more tests.
8435 (catanh_test): Likewise.
8436 * sysdeps/i386/fpu/libm-test-ulps: Update.
8437 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8438
45d69176
SP
84392013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
8440
8441 * benchtests/Makefile: Mention files in which fast and slow
8442 paths of math functions are implemented.
8443
87f51853
RM
84442013-04-23 Roland McGrath <roland@hack.frob.com>
8445
8446 * sysdeps/posix/timespec_get.c: New file.
8447
3c026539
AZ
84482013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8449
8450 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
8451 POWER.
8452 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
8453 for POWER.
8454 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
8455 powerpc/power5/fpu folders.
8456 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
8457 * benchtests/Makefile: Add modf testcase.
8458 * benchtests/bench-modf.c: New file: Benchmark test for mo
8459
ff491d14
SP
84602013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
8461
8462 [BZ #14888]
8463 * time/Makefile (tests): Add tst-strptime-whitespace.
8464 * time/strptime_l.c (get_number): Use ISSPACE.
8465 (__strptime_internal): Likewise.
8466 * time/tst-strptime-whitespace.c: New test case.
8467
7ed3f4e8
AS
84682013-04-23 Andreas Schwab <schwab@linux-m68k.org>
8469
8470 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
8471 member.
8472 (_nss_files_init): Set it here.
8473
5c95f7b6
HC
84742013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
8475
8476 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
8477 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
8478 unsigned.
8479
d34c9158
JBG
84802013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
8481
8482 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
8483
2169712d
SP
84842013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
8485
8486 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
8487 size just once.
8488
29c5de99
DM
84892013-04-21 David S. Miller <davem@davemloft.net>
8490
8491 * po/ru.po: Update Russion translation from translation project.
8492
ccdad15d
AC
84932013-04-17 Adam Conrad <adconrad@0c3.net>
8494
8495 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
8496 and setfsgid.
8497
0f122b8d
CD
84982013-04-17 Carlos O'Donell <carlos@redhat.com>
8499
5c5b07da 8500 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 8501 * configure: Regenerate.
5c5b07da 8502 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
8503 Add example to error message.
8504 * sysdeps/i386/configure: Regenerate.
8505
037714dd
SP
85062013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
8507
8508 * benchtests/Makefile (bench): Add cos, tan, slowcos and
8509 slowtan.
8510 * benchtests/cos-inputs: New file.
8511 * benchtests/slowcos-inputs: New file.
8512 * benchtests/slowcos.c: New file.
8513 * benchtests/slowtan-inputs: New file.
8514 * benchtests/slowtan.c: New file.
8515 * benchtests/tan-inputs: New file.
8516
e913141d
RM
85172013-04-16 Roland McGrath <roland@hack.frob.com>
8518
8519 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
8520 considered kosher.
8521
a2964074
SP
85222013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
8523
4856bcd2
SP
8524 * benchtests/Makefile: Include cppflags-iterator.mk to add
8525 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
8526
a2964074
SP
8527 * Makefile.in (bench-clean): New target.
8528 * benchtests/Makefile (bench-clean): Likewise.
8529
9fbf9aca
DH
85302013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
8531
8532 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
8533
207d1e2a
TS
85342013-04-15 Thomas Schwinge <thomas@codesourcery.com>
8535
8536 * stdio-common/tstdiomisc.c: Fix coding-style violation.
8537
306dfba9
AS
85382013-04-15 Andreas Schwab <schwab@suse.de>
8539
8540 * nscd/grpcache.c (cache_addgr): Properly check for short write.
8541 * nscd/initgrcache.c (addinitgroupsX): Likewise.
8542 * nscd/pwdcache.c (cache_addpw): Likewise.
8543 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
8544 more than recsize.
8545
206a6699
SP
85462013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8547
8548 * benchtests/Makefile (bench): Write all output to
8549 bench-out.tmp together.
8550
0582f6b3
AS
85512013-04-15 Andreas Schwab <schwab@suse.de>
8552
8553 * nscd/nscd.c (main): Don't fork again after closing files.
8554
acb4325f
SP
85552013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
8556
5cb26d0a
SP
8557 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
8558
acb4325f
SP
8559 * benchtests/Rules (bench-deps): Collect dependencies into a
8560 single variable. Add Makefile to dependencies.
8561 ($(objpfx)bench-%.c): Depend on bench-deps.
8562
47792506
RM
85632013-04-12 Roland McGrath <roland@hack.frob.com>
8564 Xavier Roche <roche+kml2@exalead.com>
8565
8566 [BZ #15361]
8567 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
8568 just that it's a file descriptor.
8569 * manual/llio.texi (Synchronizing AIO Operations): Update description
8570 for EBADF error from aio_fsync.
8571
8fc1bee5
SP
85722013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
8573
8574 * Rules (bench): Move target definition...
8575 * benchtests/Makefile: ... here.
8576
aba5e333
CD
85772013-04-11 Carlos O'Donell <carlos@redhat.com>
8578
8579 * math/libm-test.inc (cos_test): Fix PI/2 test.
8580 (sincos_test): Likewise.
8581 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
8582 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8583
273cdee8
AS
85842013-04-11 Andreas Schwab <schwab@suse.de>
8585
6ecec3b6
AS
8586 [BZ #13988]
8587 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
8588 accept exponent character only when digits were seen.
8589 * stdio-common/Makefile (tests): Add bug26.
8590 * stdio-common/bug26.c: New file.
8591
273cdee8
AS
8592 [BZ #14293]
8593 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
8594 non-freeable.
8595
8da491f5
SP
85962013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8597
01dc6df9
SP
8598 * Makeconfig (rtld-prefix): Define built linker prefix.
8599 * Rules (run-bench): Use it.
8600 * math/Makefile (run-regen-ulps): Likewise.
8601
8da491f5
SP
8602 * Rules (bench): Remove eval.
8603
abe7f530
SP
86042013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8605 Roland McGrath <roland@hack.frob.com>
8606 Ondrej Bilka <neleai@seznam.cz>
8607
8608 [BZ #15346]
8609 * time/getdate.c: Include ctype.h and alloca.h.
8610 (__getdate_r): Trim leading and trailing spaces of input.
8611 * time/tst-getdate.c (tests): Add tests with leading and
8612 trailing spaces.
8613
61c23e62
RM
86142013-04-08 Roland McGrath <roland@hack.frob.com>
8615
8616 [BZ #14280]
8617 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
8618 when computing value.
8619
7208a313
CD
86202013-04-06 Carlos O'Donell <carlos@redhat.com>
8621
085b2d41
CD
8622 * math/README.libm-test (How can I generate "libm-test-ulps"?):
8623 Use testrun.sh to run libm tests.
8624
7208a313
CD
8625 [BZ #15309]
8626 * elf/dl-open.c (dl_open_worker): memset all of seen array.
8627
872c0acd
MM
86282013-04-06 Marko Myllynen <myllynen@redhat.com>
8629
8630 [BZ #15264]
8631 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
8632
26510bdd
CD
86332013-04-06 Carlos O'Donell <carlos@redhat.com>
8634
8635 * Makefile.in (regen-ulps): New target.
8636 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
8637 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
8638 [ifneq (no,$(PERL)] (regen-ulps): New target.
8639 [ifeq (no,$(PERL)] (regen-ulps): New target.
8640 * math/libm-test.inc (ulps_file_name): Define.
8641 (output_dir): New variable.
8642 (options): Add "output-dir" option.
8643 (parse_opt): Handle 'o' case.
8644 (main): If output_dir is non-NULL use it as a prefix
8645 otherwise use "".
8646 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
8647
a01f19c8
CD
86482013-04-06 Carlos O'Donell <carlos@redhat.com>
8649
8650 [BZ #10060, #10062]
8651 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
8652 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
8653 fail configure if __sync_val_compare_and_swap is not inlined.
8654 * sysdeps/i386/configure: Regenerate.
8655 * configure.in: Build for i686 when configured for i386.
8656 * configure: Regenerate.
8657 * README: Remove i386 reference.
8658
b7a329a5
CD
86592013-04-06 Carlos O'Donell <carlos@redhat.com>
8660
8661 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
8662 * sysdeps/s390/s390-64/sysdep.h: Likewise.
8663
bf0f50df
TS
86642013-04-05 Thomas Schwinge <thomas@codesourcery.com>
8665
ee091edf
TS
8666 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
8667 (lmsnanval): New variables.
8668 (F): Add conversion tests.
8669 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
8670 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
8671
a8b792d6
TS
8672 * stdio-common/tstdiomisc.c (F): Properly collect individual
8673 tests' results.
8674
a1cbf437
TS
8675 [BZ #14686, #15336]
8676 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
8677 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
8678 Instead, use input NaN values or generate a qNaN by arithmetic
8679 operation. Also fix bugs to comply with the standard.
8680 * math/libm-test.inc (remainder_test): Add more tests.
8681
8b43a0c9
TS
8682 [BZ #15335, #15342]
8683 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
8684 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
8685 input NaN values or generate a qNaN by arithmetic operation.
8686
d91da4ce
TS
8687 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
8688 unreachable code.
8689
bf0f50df
TS
8690 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
8691 definitions.
8692
05e166c8
JM
86932013-04-03 Joseph Myers <joseph@codesourcery.com>
8694
8695 [BZ #14478]
8696 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
8697 underflowed result.
8698 * math/s_cexpf.c (__cexpf): Likewise.
8699 * math/s_cexpl.c (__cexpl): Likewise.
8700 * math/libm-test.inc (cexp_test): Add more tests.
8701
1cef1b19
AS
87022013-04-03 Andreas Schwab <schwab@suse.de>
8703
8704 [BZ #15330]
8705 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
8706 order arrays from heap if bigger than alloca cutoff.
8707
74d87055
TS
87082013-04-03 Thomas Schwinge <thomas@codesourcery.com>
8709
8710 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
8711 (SNAN_TESTS_double): Refer to GCC PR56831.
8712 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
8713 GCC PR56828.
8714
d755bba4
SP
87152013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
8716
90d5d5bb
SP
8717 * Rules (bench): Move bench.out after the run is complete.
8718
73e0cd5d
SP
8719 * Rules (bench): Echo currently running benchmark.
8720
64aabd4b
SP
8721 * benchtests/Makefile (bench): Add atan and slowatan.
8722 * benchtests/atan-inputs: New file.
8723 * benchtests/slowatan-inputs: New file.
8724 * benchtests/slowatan.c: New file.
8725
c871eccd
SP
8726 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
8727 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
8728 its value.
8729
d755bba4
SP
8730 [BZ #15305]
8731 * sysdeps/unix/sysv/linux/kernel-features.h
8732 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
8733 __ASSUME_XFS_RESTRICTED_CHOWN.
8734 * sysdeps/unix/sysv/linux/pathconf.c
8735 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
8736 Save and restore errno.
8737
52ce4860
JM
87382013-04-02 Joseph Myers <joseph@codesourcery.com>
8739
8740 [BZ #15327]
8741 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
8742 arguments using __kernel_casinh.
8743 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
8744 arguments using __kernel_casinhf.
8745 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
8746 arguments using __kernel_casinhl.
8747 * math/libm-test.inc (cacosh_test): Add more tests.
8748 * sysdeps/i386/fpu/libm-test-ulps: Update.
8749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8750
81f311c2
SP
87512013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8752
e7906a47
SP
8753 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
8754 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
8755
92e3664b
SP
8756 * bench/Makefile (bench): Add sin and slowsin.
8757 * benchtests/sin-inputs: New file.
8758 * benchtests/slowsin-inputs: New file.
8759 * benchtests/slowsin.c: New file.
8760
81f311c2
SP
8761 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
8762 (bench): Add slowexp and slowpow.
8763 (exp-ITER): Increase iterations.
8764 (pow-ITER): Likewise.
8765 * benchtests/exp-inputs: Change input.
8766 * benchtests/pow-inputs: Likewise.
8767 * benchtests/slowexp-inputs: New file.
8768 * benchtests/slowexp.c: New file.
8769 * benchtests/slowpow-inputs: New file.
8770 * benchtests/slowpow.c: New file.
8771
ab0f1aa9
AZ
87722013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8773
8774 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
8775 instructions.
8776 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
8777 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
8778 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
8779 * benchtests/Makefile: Add rint benchtest.
8780 * benchtests/rint-inputs: Input for rint benchtest.
8781
57267616
TS
87822013-04-02 Thomas Schwinge <thomas@codesourcery.com>
8783
8784 * Versions.def (libm): Add GLIBC_2.18.
8785 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
8786 hidden libm prototypes.
8787 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
8788 * math/Makefile (libm-calls): Add s_issignaling.
8789 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
8790 __issignalingf, __issignalingl. Adjust all libm.abilist files.
8791 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
8792 declaration.
8793 * math/math.h [__USE_GNU] (issignaling): New macro.
8794 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
8795 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
8796 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
8797 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
8798 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
8799 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
8800 * manual/arith.texi (issignaling): New section.
8801 * manual/libm-err-tab.pl (@all_functions): Update comment.
8802 * math/gen-libm-test.pl (parse_args): Apply special handling for
8803 issignaling.
8804 * math/libm-test.inc (print_float, issignaling_test): New
8805 functions.
8806 (check_float_internal): Add issignaling checks.
8807 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
8808 default definition.
8809 * sysdeps/powerpc/math-tests.h: New file.
8810 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
8811 tests.
8812 * math/test-snan.c (TEST_FUNC): Likewise.
8813
6142896d
DM
88142013-03-30 David S. Miller <davem@davemloft.net>
8815
8816 * po/de.po: Update from translation team.
8817
ccc8cadf
JM
88182013-03-30 Joseph Myers <joseph@codesourcery.com>
8819
8820 [BZ #10357]
8821 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8822 imaginary part less than 1.0 and real part less than 0.5
8823 specially.
8824 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8825 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8826 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
8827 (cacos_test): Add more tests.
8828 (casin_test): Likewise.
8829 (casinh_test): Likewise.
8830 * sysdeps/i386/fpu/libm-test-ulps: Update.
8831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8832
0f6a8d4b
SP
88332013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8834
0d1029de
SP
8835 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
8836 ONE with its value.
8837
c2d94018
SP
8838 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
8839 (__pow_mp): Replace ONE and MONE with their values.
8840 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8841 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
8842 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8843 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
8844 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8845 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8846
27ec37f1
SP
8847 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
8848
a64d7e0e
SP
8849 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
8850 (__pow_mp): Replace ZERO and MZERO with their values.
8851 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8852 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8853 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8854 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8855 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8856 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
8857 (__sqr): Likewise.
8858
d26dd3eb
SP
8859 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
8860
0f6a8d4b
SP
8861 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
8862
e57b0c61
RM
88632013-03-28 Roland McGrath <roland@hack.frob.com>
8864
8865 * include/stdlib.h [!SHARED] (__call_tls_dtors):
8866 Declare with __attribute__ ((weak)).
8867 * stdlib/exit.c (__libc_atexit) [!SHARED]:
8868 Call __call_tls_dtors only if it's not NULL.
8869
356b3480
RM
88702013-03-28 Roland McGrath <roland@hack.frob.com>
8871
288f7d79
RM
8872 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
8873 didn't do it already, then set _dl_phdr and _dl_phnum based on the
8874 magic __ehdr_start linker symbol if it's defined.
8875 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
8876 them up here if it was already done.
8877
dc0a0263
RM
8878 * elf/dl-support.c (_dl_phdr): Make pointer to const.
8879 (_dl_aux_init): Use const in cast when setting it.
8880 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
8881 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
8882 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
8883
3d3436ae
RM
8884 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
8885 Declare them here.
8886 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
8887 * csu/libc-tls.c: Nor here.
8888 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
8889
356b3480
RM
8890 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
8891 (__libc_message): Never call vsyslog.
8892
b0f1246a
AM
88932013-03-28 Alan Modra <amodra@gmail.com>
8894
8895 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
8896 Define as empty.
8897 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
8898 Likewise.
8899
fbbe2b9a
AZ
89002013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8901
8902 [BZ #15214]
8903 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
8904 underflow.
8905 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8906
1728ab37
SP
89072013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8908
7a86be6e
SP
8909 [BZ #15304]
8910 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
8911 Don't add gid passed as argument.
8912
1728ab37
SP
8913 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
8914
3a7182a1
JM
89152013-03-27 Joseph Myers <joseph@codesourcery.com>
8916
8917 [BZ #15307]
8918 * math/k_casinh.c (__kernel_casinh): Handle arguments with
8919 imaginary part between 1.0 and 1.5 and real part less than 0.5
8920 specially.
8921 * math/k_casinhf.c (__kernel_casinhf): Likewise.
8922 * math/k_casinhl.c (__kernel_casinhl): Likewise.
8923 * math/libm-test.inc (cacos_test): Add more tests.
8924 (casin_test): Likewise.
8925 (casinh_test): Likewise.
8926 * sysdeps/i386/fpu/libm-test-ulps: Update.
8927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8928
6f2e90e7
SP
89292013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
8930
5739f705
SP
8931 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
8932 constants.
8933 (norm): Likewise.
8934 (denorm): Likewise.
8935 (__dbl_mp): Likewise.
8936 (add_magnitudes): Likewise.
8937 (sub_magnitudes): Likewise.
8938 (__add): Likewise.
8939 (__sub): Likewise.
8940 (__mul): Likewise.
8941 (__sqr): Likewise.
8942 (__inv): Likewise.
8943 (__dvd): Likewise.
8944
e375e83d
SP
8945 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
8946 commented code.
8947 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
8948 (__dubcos): Likewise.
8949 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
8950 (__ieee754_acos): Likewise.
8951 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
8952 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
8953 (__exp1): Likewise.
8954 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
8955 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
8956 (log1): Likewise.
8957 (my_log2): Likewise.
8958 (checkint): Likewise.
8959 * sysdeps/ieee754/dbl-64/e_remainder.c
8960 (__ieee754_remainder): Likewise.
8961 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
8962 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
8963 (bsloww): Likewise.
8964 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8965
6f2e90e7
SP
8966 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
8967 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
8968 MANTISSA_STORE_T to store computations on mantissa. Use
8969 macros for rounding and division.
8970 (denorm): Likewise.
8971 (__dbl_mp): Likewise.
8972 (add_magnitudes): Likewise.
8973 (sub_magnitudes): Likewise.
8974 (__mul): Likewise.
8975 (__sqr): Likewise.
8976 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
8977 powers of two in terms of TWOPOW macro.
8978 (mp_no): Make type of mantissa as MANTISSA_T.
8979 [!RADIXI]: Define RADIXI.
8980 [!TWO52]: Define TWO52.
8981 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
8982
fce14d4e
AZ
89832013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8984
8985 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
8986 llroundl symbol when building for PPC32.
8987
9ad027fb
MW
89882013-03-24 Mark H Weaver <mhw@netris.org>
8989
8990 * manual/arith.texi (Normalization Functions): Fix prototypes for
8991 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
8992
e42a38dd
AZ
89932013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8994
8995 [BZ #13889]
8996 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
8997 high value to check if expl overflow.
8998 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
8999 to check for underflow and overflow.
9000 * math/libm-test.inc: Add exp test.
9001
2e0fb521
DL
90022013-03-21 Dmitry V. Levin <ldv@altlinux.org>
9003
9004 [BZ #11120]
9005 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9006 with NOT_IN_libc.
9007
b5784d95
AZ
90082013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9009
9010 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9011 symbol.
9012
5aa4a1a1
TS
90132013-03-21 Thomas Schwinge <thomas@codesourcery.com>
9014
bdef0be7
TS
9015 * math/gen-libm-test.pl (parse_args, special_functions): Properly
9016 wrap blocks consisting of several statements.
9017
5aa4a1a1
TS
9018 * sysdeps/generic/math-tests.h: New file.
9019 * sysdeps/i386/fpu/math-tests.h: Likewise.
9020 * math/test-snan.c: Include it.
9021 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9022
98c48fe5
JM
90232013-03-21 Joseph Myers <joseph@codesourcery.com>
9024
9025 [BZ #15285]
9026 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9027 (__ieee754_j0l): Do not improve calculations using cos of twice
9028 input for inputs above LDBL_MAX / 2.0L.
9029 (__ieee754_y0l): Likewise.
9030 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9031 (__ieee754_j1l): Do not improve calculations using cos of twice
9032 input for inputs above LDBL_MAX / 2.0L.
9033 (__ieee754_y1l): Likewise.
9034 * math/libm-test.inc (j0_test): Add another test.
9035 (j1_test): Likewise.
9036 (y0_test): Likewise.
9037 (y1_test): Likewise.
9038 * sysdeps/i386/fpu/libm-test-ulps: Update.
9039
3775a8bc
SP
90402013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9041
9042 * Rules ($(objpfx)bench-%.c): Include code from a C source
9043 file.
9044
0a1b2ae6
JM
90452013-03-21 Joseph Myers <joseph@codesourcery.com>
9046
9047 [BZ #15287]
9048 * math/k_casinh.c (__kernel_casinh): Handle arguments with
9049 imaginary part 1.0 and real part less than 0.5 specially.
9050 * math/k_casinhf.c (__kernel_casinhf): Likewise.
9051 * math/k_casinhl.c (__kernel_casinhl): Likewise.
9052 * math/libm-test.inc (cacos_test): Add more tests.
9053 (casin_test): Likewise.
9054 (casinh_test): Likewise.
9055 * sysdeps/i386/fpu/libm-test-ulps: Update.
9056 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9057
b33d4ce4
SP
90582013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
9059
9060 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9061 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9062
bef0b507
JM
90632013-03-20 Joseph Myers <joseph@codesourcery.com>
9064
9065 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9066 * config.make.in (config-cflags-sse4): Remove variable.
9067 (config-cflags-avx): Likewise.
9068 (config-cflags-sse2avx): Likewise.
9069 (config-cflags-novzeroupper): Likewise.
9070 (config-asflags-i686): Likewise.
9071 (have-mfma4): Likewise.
9072 (have-as-vis3): Likewise.
9073 (MIG): Likewise.
9074 * configure.in (MIG): Do not AC_SUBST.
9075 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9076 (libc_cv_cc_sse4): Do not AC_SUBST.
9077 (libc_cv_cc_avx): Likewise.
9078 (libc_cv_cc_sse2avx): Likewise.
9079 (libc_cv_cc_novzeroupper): Likewise.
9080 (libc_cv_cc_fma4): Likewise.
9081 (libc_cv_as_i686): Likewise.
9082 (libc_cv_sparc_as_vis3): Likewise.
9083 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9084 LIBC_CONFIG_VAR.
9085 (config-asflags-i686): Likewise.
9086 (config-cflags-avx): Likewise.
9087 (config-cflags-sse2avx): Likewise.
9088 (have-mfma4): Likewise.
9089 (config-cflags-novzeroupper): Likewise.
9090 * sysdeps/mach/configure.in (MIG): Likewise.
9091 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9092 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9093 LIBC_CONFIG_VAR.
9094 (config-cflags-avx): Likewise.
9095 (config-cflags-sse2avx): Likewise.
9096 (have-mfma4): Likewise.
9097 (config-cflags-novzeroupper): Likewise.
9098 * configure: Regenerated.
9099 * sysdeps/i386/configure: Likewise.
9100 * sysdeps/mach/configure: Likewise.
9101 * sysdeps/sparc/configure: Likewise.
9102 * sysdeps/x86_64/configure: Likewise.
9103
912cc4b3
RM
91042013-03-20 Roland McGrath <roland@hack.frob.com>
9105
9106 [BZ #14812]
9107 * locale/programs/localedef.c (options): Put N_ translation marker
9108 on argument names, not just descriptions.
9109
04eed2b0
MS
91102013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9111
9112 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9113
a065ceff
OB
91142013-03-20 Ondřej Bílka <neleai@seznam.cz>
9115
9bb2a810 9116 [BZ #14176]
a065ceff
OB
9117 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9118
a600e5ce
RM
91192013-03-19 Roland McGrath <roland@hack.frob.com>
9120
9121 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9122 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9123 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9124 [!BEFORE_ABORT] (before_abort): New function.
9125 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9126 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9127 (writev_for_fatal): New function.
9128 (WRITEV_FOR_FATAL): New macro; call that.
9129 (backtrace_and_maps): New function.
9130 (BEFORE_ABORT): New macro; call that.
9131 (struct str_list): Type removed.
9132 (__libc_message, __libc_fatal): Functions removed.
9133 Include <sysdeps/posix/libc_fatal.c> instead.
9134
6b18bea6
JM
91352013-03-19 Joseph Myers <joseph@codesourcery.com>
9136
9137 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9138 constants.
9139 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9140 double constants.
9141
aaa8cb4b
AS
91422013-03-19 Andreas Schwab <schwab@suse.de>
9143
44673770
AS
9144 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9145 * sysdeps/gnu/configure: Regenerate.
9146
aaa8cb4b
AS
9147 * configure.in: Substitute libc_cv_rtlddir.
9148 * configure: Regenerate.
9149 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9150 * Makeconfig (rtlddir, inst_rtlddir): New variables.
9151 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9152 * elf/Makefile (install-others, CFLAGS-interp.c)
9153 (ldso_install, common-ldd-rewrite): Likewise.
9154 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9155 $(inst_slibdir)/$(rtld-installed-name).
9156 * scripts/rellns-sh: Add -p option.
9157 * Makerules (make-shlib-link): Use rellns-sh to get relative name
9158 for source.
9159
d3cfc668
SP
91602013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9161
9162 * manual/nptl.texi: Renamed to ...
9163 * manual/threads.texi: ... this.
9164 * manual/Makefile (chapters): Update.
9165
0e2b9cdd
RM
91662013-03-18 Roland McGrath <roland@hack.frob.com>
9167
9168 [BZ #14812]
9169 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9170 on argument names, not just descriptions.
0e2b9cdd
RM
9171 * malloc/memusagestat.c (options): Likewise.
9172 * nss/getent.c (options): Likewise.
63270c24
RM
9173
91742013-03-18 Benno Schulenberg <bensberg@justemail.net>
9175
9176 [BZ #14812]
9177 * iconv/iconv_prog.c (options): Put N_ translation marker
9178 on argument names, not just descriptions.
9179 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 9180
b2e1393c
OB
91812013-03-18 Ondrej Bilka <neleai@seznam.cz>
9182
9183 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9184 implementation which is faster on all x86_64 architectures.
9185 Tested on AMD, Intel Nehalem, SNB, IVB.
9186 * sysdeps/x86_64/strnlen.S: Likewise.
9187
9188 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9189 Remove all multiarch strlen and strnlen versions.
9190 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9191 Remove strlen and strnlen related parts.
9192
9193 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9194 Inline strlen part.
9195 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9196
9197 * sysdeps/x86_64/multiarch/strlen.S: Remove.
9198 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9199 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9200 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9201 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9202 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9203
ec4ff04d
CD
92042013-03-17 Carlos O'Donell <carlos@redhat.com>
9205
9206 * manual/memory.texi (Malloc Tunable Parameters):
9207 Sort parameters alphabetically. Add comments for missing entries.
9208
cd18e90a
DM
92092013-03-17 David S. Miller <davem@davemloft.net>
9210
9211 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9212
2a185d32
JM
92132013-03-16 Joseph Myers <joseph@codesourcery.com>
9214
d2f9799e
JM
9215 [BZ #15283]
9216 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9217 for arguments at most half maximum finite value.
9218 * math/libm-test.inc (j0_test): Add more tests.
9219 (j1_test): Likewise.
9220 (y0_test): Likewise.
9221 (y1_test): Likewise.
9222 * sysdeps/i386/fpu/libm-test-ulps: Update.
9223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9224
2a185d32
JM
9225 [BZ #14155]
9226 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9227 1 / x and functions P and Q for arguments above 0x1p256L.
9228 (__ieee754_y0l): Likewise.
9229 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9230 (__ieee754_y1l): Likewise.
9231 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9232 (j1_test): Likewise.
9233 (y0_test): Likewise.
9234 (y1_test): Likewise.
9235
6cbec759
TS
92362013-03-16 Thomas Schwinge <thomas@codesourcery.com>
9237
9238 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9239 variable.
9240
bc16e260
RM
92412013-03-15 Roland McGrath <roland@hack.frob.com>
9242
aefc9b8c
RM
9243 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9244 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9245 zero since it's initialized to EXEC_PAGESIZE.
9246
bc16e260
RM
9247 * sysdeps/unix/sysv/linux/ldsodefs.h
9248 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9249 * sysdeps/generic/ldsodefs.h: ... here.
9250
a57da955
TS
92512013-03-15 Thomas Schwinge <thomas@codesourcery.com>
9252
af00a34d
TS
9253 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9254
495ded2c
TS
9255 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9256 math/test-snan.c.
9257 * math/test-snan.c: Renamed from
9258 sysdeps/powerpc/fpu/test-powerpc-snan.c.
9259 * math/Makefile (tests): Add test-snan.
9260 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9261 test-powerpc-snan.
9262
777b0332
TS
9263 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9264 SUFFIX. Initialize qNaN_var with __builtin_nan family of
9265 functions.
9266 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
9267 __builtin_nan family of functions.
9268 * math/libm-test.inc (initialize): Initialize qnan_value with
9269 __builtin_nan family of functions.
9270 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9271 Remove variables.
9272 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9273 Remove functions.
9274 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
9275 storage class. Initialize qNaN_var and sNaN_var with
9276 __builtin_nan and __builtin_nans families of functions,
9277 respectively.
9278
64d063b8
TS
9279 * math/libm-test.inc (acosh_test): Also test with qNaN input.
9280 (sqrt_test): Remove duplicate test with qNaN input.
9281 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9282 (round_test, signbit_test, significand_test): Note missing +/-Inf
9283 as well as qNaN tests.
9284
67e971f1
TS
9285 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9286 qNaN_var. Fix a few strings, too.
9287 * math/libm-test.inc (nan_value): Rename to qnan_value.
9288 * math/gen-libm-test.pl (%beautify): Adjust to that.
9289 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9290 * math/test-misc.c (main): Likewise.
9291 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9292 to __qnan_bytes, and __qnan_union, respectively.
9293 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9294 Likewise.
9295 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9296 and lqnanval, respectively.
9297 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9298 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9299 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9300 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9301
64487e12
TS
9302 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9303 * math/test-misc.c (main) [__x86_64__]: Enable test for long
9304 doubles.
9305
e015e27b
TS
9306 * math/test-misc.c (main): Fix copy'n'pastos.
9307 * misc/tst-efgcvt.c (special): Likewise.
9308
a57da955
TS
9309 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9310 Remove declarations.
9311
1e380345
SP
93122013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9313
9314 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9315 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9316 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9317 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9318
ef26eece
AZ
93192013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9320
9321 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9322 macro to return vdso values correctly in IFUNC implementations.
9323 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9324 Optimization by using IFUNC.
9325
8cfdb7e0
SP
93262013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9327 Richard Henderson <rth@redhat.com>
9328 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9329
9330 * Makefile.in (bench): New target.
9331 * NEWS: Mention the benchmark framework.
9332 * Rules (bench): Likewise.
9333 (binaries-bench): Generate binaries for functions to
9334 benchmark.
9335 * benchtests/Makefile: New makefile for benchmark tests.
9336 * benchtests/bench-skeleton.c: New skeleton file for benchmark
9337 programs.
9338 * benchtests/exp-inputs: New input file for EXP function.
9339 * benchtests/pow-inputs: New input file for POW function.
9340 * scripts/bench.pl: New script to generate source files for
9341 benchmark programs.
9342
bcda9880
SP
93432013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
9344
d22ca8cd
SP
9345 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9346 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9347 computations on mantissa. Use macros for rounding and
9348 division.
9349 (denorm): Likewise.
9350 (__dbl_mp): Likewise.
9351 (add_magnitudes): Likewise.
9352 (sub_magnitudes): Likewise.
9353 (__mul): Likewise.
9354 (__sqr): Likewise.
9355 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
9356 powers of two in terms of TWOPOW macro.
9357 (mp_no): Make type of mantissa as MANTISSA_T.
9358 [!RADIXI]: Define RADIXI.
9359 [!TWO52]: Define TWO52.
9360 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9361
bcda9880
SP
9362 * manual/nptl.texi (cindex): Modify threads to pthreads.
9363
06d5adfb
JM
93642013-03-15 Joseph Myers <joseph@codesourcery.com>
9365
9366 * sysdeps/x86_64/preconfigure: Regenerated.
9367
41c7328e
JM
93682013-03-14 Joseph Myers <joseph@codesourcery.com>
9369
9370 [BZ #14155]
9371 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9372 0x1p28 and above.
9373 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9374 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9375 0x1p28 and above.
9376 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9377 * math/libm-test.inc (j0_test): Do not allow one spurious
9378 underflow exception.
9379 (y1_test): Likewise.
9380
e25cfa60
SP
93812013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
9382
0409959c
SP
9383 * manual/Makefile (chapters): Add nptl.
9384 * manual/debug.texi (Debugging Support): Add link to Threads
9385 chapter.
9386 * manual/nptl.texi: New file.
9387
e25cfa60
SP
9388 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
9389
58a1335e
PB
93902013-03-14 Petr Baudis <pasky@ucw.cz>
9391
9392 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
9393 for non-NULL pointer before the memory validity test. Pointed
9394 out by Holger Brunck <holger.brunck@keymile.com>.
9395
9dc7c64f
AS
93962013-03-13 Andreas Schwab <schwab@suse.de>
9397
9398 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
9399 instead of .os.
9400
54206aa6
JM
94012013-03-13 Joseph Myers <joseph@codesourcery.com>
9402
9403 * timezone/zic.c: Update from tzcode 2013b.
9404
e98cdb38
CD
94052013-03-12 Carlos O'Donell <carlos@redhat.com>
9406
9407 * manual/install.texi (Configuring and compiling):
9408 Mention i686 and i586.
9409 * INSTALL: Regenerate.
9410
9967e003
RM
94112013-03-12 Roland McGrath <roland@hack.frob.com>
9412
9413 * sysdeps/init_array/elf-init.c: New file.
9414 * csu/elf-init.c
9415 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
9416 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
9417
9418 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
9419 __gmon_start__ as global, but as static with a .preinit_array pointer.
9420 * sysdeps/init_array/gmon-start.c: New file. Use that.
9421 * sysdeps/init_array/crti.S: New file, empty except for comments.
9422 * sysdeps/init_array/crtn.S: Likewise.
9423
e6b5a293 94242013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
9425
9426 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
9427 definining bcopy.
80f844c9
OB
9428 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
9429 Remove Prefer_SSE_for_memop.
9430 * sysdeps/x86_64/multiarch/init-arch.h: Remove
9431 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
9432 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
9433 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
9434 memset-x86-64.
80f844c9 9435 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 9436 Remove bzero, memset ifunc support.
80f844c9
OB
9437 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
9438 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
9439 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9440 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9441
fb6b0fcb
AS
94422013-03-11 Andreas Schwab <schwab@suse.de>
9443
9444 [BZ #15234]
9445 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
9446 by SHLIB_COMPAT.
9447 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
9448 (GLIBC_2.16): Remove pthread_atfork.
9449
3e6bd4b1
PP
94502013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
9451
9452 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
9453 (ptestcases.h): Likewise.
9454
222d7f00
RM
94552013-03-08 Roland McGrath <roland@hack.frob.com>
9456
9457 * Makeconfig ($(common-objpfx)config.status): Depend on
9458 sysdeps/*/preconfigure{,.in} too.
9459
1ba4f030
JM
94602013-03-08 Joseph Myers <joseph@codesourcery.com>
9461
a222d91a
JM
9462 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
9463 (__free_hook): Use void * instead of __malloc_ptr_t.
9464 (__malloc_hook): Likewise.
9465 (__realloc_hook): Likewise.
9466 (__memalign_hook): Likewise.
9467 (__after_morecore_hook): Likewise.
9468 * malloc/arena.c (save_malloc_hook): Likewise.
9469 (save_free_hook): Likewise.
9470 * malloc/hooks.c (malloc_hook_ini): Likewise.
9471 (realloc_hook_ini): Likewise.
9472 (memalign_hook_ini): Likewise.
9473 * malloc/malloc.c (malloc_hook_ini): Likewise.
9474 (realloc_hook_ini): Likewise.
9475 (memalign_hook_ini): Likewise.
9476 (__free_hook): Likewise.
9477 (__malloc_hook): Likewise.
9478 (__realloc_hook): Likewise.
9479 (__memalign_hook): Likewise.
9480 (__libc_malloc): Likewise.
9481 (__libc_free): Likewise.
9482 (__libc_realloc): Likewise.
9483 (__libc_memalign): Likewise.
9484 (__libc_valloc): Likewise.
9485 (__libc_pvalloc): Likewise.
9486 (__libc_calloc): Likewise.
9487 (__posix_memalign): Likewise.
9488 * malloc/morecore.c (__sbrk): Likewise.
9489 (__default_morecore): Likewise.
9490
5cc45e10
JM
9491 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
9492
dd54b864
JM
9493 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
9494 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
9495 __malloc_ptrdiff_t.
9496
1ba4f030
JM
9497 * malloc/malloc.h (__malloc_size_t): Remove macro.
9498 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
9499 __malloc_size_t.
9500 (old_memalign_hook): Likewise.
9501 (old_realloc_hook): Likewise.
9502 (struct hdr): Likewise.
9503 (flood): Likewise.
9504 (mallochook): Likewise.
9505 (memalignhook): Likewise.
9506 (reallochook): Likewise.
9507 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
9508 (tr_old_realloc_hook): Likewise.
9509 (tr_old_memalign_hook): Likewise.
9510 (tr_mallochook): Likewise.
9511 (tr_reallochook): Likewise.
9512 (tr_memalignhook): Likewise.
9513
edf66e57
AZ
95142013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9515
9516 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
9517 default_ldbl_pack and using as default implementation.
9518 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
9519 implementation.
9520 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
9521 redundant definition.
9522 (ldbl_insert_mantissa): Likewise.
9523 (ldbl_canonicalize): Likewise.
9524 (ldbl_nearbyint): Likewise.
9525 (ldbl_pack): Rename to ldbl_pack_ppc.
9526 (ldbl_unpack): Rename to ldbl_unpack_ppc.
9527 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
9528 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
9529
6d9145d8
SP
95302013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9531
9532 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
9533 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
9534 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
9535 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
9536 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
9537 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
9538 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
9539 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
9540
4dd4e157
AJ
95412013-03-07 Andreas Jaeger <aj@suse.de>
9542
9543 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
9544 bits/mman-linux.h.
9545
adbb8027
SP
95462013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9547
ce544b5b
SP
9548 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
9549 Include mpa.h and declare __MPEXP.
9550 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
9551 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9552 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9553 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
9554 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9555 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
9556 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
9557
4cc149fd
SP
9558 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
9559 (__slowpow): Use long double EXPL and LOGL functions to
9560 compute POW.
9561 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
9562 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9563 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
9564 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
9565 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
9566 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
9567
e6ebd4a7
SP
9568 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
9569 intermediate variable to calculate exponent.
9570 (__sqr): Likewise.
9571 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
9572 Likewise.
9573 (__sqr): Likewise.
9574
82a9811d
SP
9575 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
9576 [!NO__SQR]: Define __sqr.
9577 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
9578 and NO__SQR. Remove all code except __mul and __sqr. Include
9579 sysdeps/ieee754/dbl-64/mpa.c.
9580 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
9581
adbb8027
SP
9582 [BZ #12723]
9583 * posix/Makefile (tests): Add tst-pathconf.
9584 * posix/tst-pathconf.c: New test case.
9585 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
9586 _PC_PIPE_BUF.
9587 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
9588
39120df9
PF
95892013-03-06 Patsy Franklin <pfrankli@redhat.com>
9590
9591 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
9592
67525cb8
AJ
95932013-03-06 Andreas Jaeger <aj@suse.de>
9594
664a9ce4
AJ
9595 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
9596 definition via __MAP_ANONYMOUS.
9597
8e39047d
AJ
9598 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
9599 it's not part of Linux headers.
9600
67525cb8
AJ
9601 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
9602 (MAP_HUGE_MASK): Define.
9603
9604 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9605 Define.
9606 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9607 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9608 Define.
9609 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9610 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
9611 Define.
9612 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9613 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
9614 Define.
9615 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
9616
9617 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
9618 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
9619 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
9620 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
9621 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
9622 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
9623
9624 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
9625 Handle f2fs.
9626
9627 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9628 Handle f2fs and efivarfs.
9629
9630 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
9631 f2fs.
9632
9633 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
9634 (EFIVARFS_MAGIC): Add.
9635 (F2FS_LINK_MAX): Add.
9636
e1b42695
PP
96372013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
9638
9639 * stdio-common/vfprintf.c: Replace __builtin_expect with
9640 __glibc_unlikely.
9641
2d67d91a
JM
96422013-03-06 Joseph Myers <joseph@codesourcery.com>
9643
9644 [BZ #13550]
9645 * sysdeps/generic/bp-sym.h: Remove file.
9646 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
9647 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
9648 <bp-sym.h> and <bp-asm.h>.
9649 (__longjmp): Don't use BP_SYM.
9650 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
9651 and <bp-asm.h>.
9652 (memcpy): Don't use BP_SYM.
9653 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
9654 <bp-sym.h> and <bp-asm.h>.
9655 (memcpy): Don't use BP_SYM.
9656 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
9657 <bp-asm.h>.
9658 (memcpy): Don't use BP_SYM.
9659 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
9660 <bp-asm.h>.
9661 (memset): Don't use BP_SYM.
9662 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9663 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9664 (__bzero): Don't use BP_SYM.
9665 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9666 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9667 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
9668 <bp-sym.h> and <bp-asm.h>.
9669 (memcmp): Don't use BP_SYM. Remove comment about bounded
9670 pointers.
9671 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
9672 <bp-sym.h> and <bp-asm.h>.
9673 (memcpy): Don't use BP_SYM.
9674 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
9675 <bp-sym.h> and <bp-asm.h>.
9676 (memset): Don't use BP_SYM.
9677 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9678 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9679 (__bzero): Don't use BP_SYM.
9680 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9681 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9682 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
9683 <bp-sym.h> and <bp-asm.h>.
9684 (strncmp): Don't use BP_SYM. Remove comment about bounded
9685 pointers.
9686 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
9687 <bp-sym.h> and <bp-asm.h>.
9688 (memcpy): Don't use BP_SYM.
9689 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
9690 <bp-sym.h> and <bp-asm.h>.
9691 (memset): Don't use BP_SYM.
9692 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9693 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9694 (__bzero): Don't use BP_SYM.
9695 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9696 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9697 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
9698 <bp-sym.h> and <bp-asm.h>.
9699 (__memchr): Don't use BP_SYM.
9700 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
9701 <bp-sym.h> and <bp-asm.h>.
9702 (memcmp): Don't use BP_SYM. Remove comment about bounded
9703 pointers.
9704 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
9705 <bp-sym.h> and <bp-asm.h>.
9706 (memcpy): Don't use BP_SYM.
9707 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
9708 <bp-sym.h> and <bp-asm.h>.
9709 (__mempcpy): Don't use BP_SYM.
9710 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
9711 <bp-sym.h> and <bp-asm.h>.
9712 (__memrchr): Don't use BP_SYM.
9713 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
9714 <bp-sym.h> and <bp-asm.h>.
9715 (memset): Don't use BP_SYM.
9716 (__bzero): Likewise.
9717 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
9718 <bp-sym.h> and <bp-asm.h>.
9719 (__rawmemchr): Don't use BP_SYM.
9720 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
9721 <bp-sym.h> and <bp-asm.h>.
9722 (__STRCMP): Don't use BP_SYM.
9723 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
9724 <bp-sym.h> and <bp-asm.h>.
9725 (strchr): Don't use BP_SYM.
9726 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
9727 <bp-sym.h> and <bp-asm.h>.
9728 (__strchrnul): Don't use BP_SYM.
9729 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
9730 <bp-sym.h> and <bp-asm.h>.
9731 (strlen): Don't use BP_SYM.
9732 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
9733 <bp-sym.h> and <bp-asm.h>.
9734 (strncmp): Don't use BP_SYM. Remove comment about bounded
9735 pointers.
9736 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
9737 <bp-sym.h> and <bp-asm.h>.
9738 (__strnlen): Don't use BP_SYM.
9739 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
9740 <bp-sym.h> and <bp-asm.h>.
9741 (__GI__setjmp): Don't use BP_SYM.
9742 (_setjmp): Likewise.
9743 (__sigsetjmp): Likewise.
9744 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
9745 (L(start_addresses)): Don't use BP_SYM.
9746 (_start): Likewise.
9747 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
9748 <bp-asm.h>.
9749 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
9750 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
9751 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9752 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9753 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
9754 <bp-asm.h>.
9755 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
9756 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
9757 about bounded pointers.
9758 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
9759 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
9760 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
9761 <bp-asm.h>.
9762 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9763 about bounded pointers. Remove GKM FIXME comments.
9764 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
9765 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
9766 <bp-asm.h>.
9767 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
9768 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
9769 Remove GKM FIXME comments.
9770 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
9771 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
9772 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
9773 <bp-asm.h>.
9774 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
9775 about bounded pointers. Remove GKM FIXME comment.
9776 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
9777 and <bp-asm.h>.
9778 (strncmp): Don't use BP_SYM. Remove comment about bounded
9779 pointers.
9780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
9781 <bp-sym.h> and <bp-asm.h>.
9782 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
9783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
9784 <bp-sym.h> and <bp-asm.h>.
9785 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
9786 comment.
9787
cdcf361f
PP
97882013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
9789
9790 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
9791 call free(NULL).
9792
3c4a2b15
DM
97932013-03-05 David S. Miller <davem@davemloft.net>
9794
9795 * po/es.po: Update from translation team.
9796
cdcf361f 97972013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
9798
9799 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
9800 <bits/mman-linux.h>.
9801 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9802 is fine.
9803 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
9804 <bits/mman-linux.h> to end of file.
9805 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9806 is fine.
9807 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
9808 <bits/mman-linux.h> to end of file.
9809 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
9810 is fine.
9811 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
9812 <bits/mman-linux.h> to end of file.
9813
9814 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
9815 (MCL_CURRENT, MCL_FUTURE): Define here.
9816
5f67c04f
AK
98172013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9818
8a4473cc 9819 [BZ #15232]
5f67c04f
AK
9820 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
9821 attribute_hidden.
9822 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
9823
c3e94a95
AK
98242013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9825
9826 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
9827 fourth parameter needed for rt_sigprocmask syscall.
9828 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
9829 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
9830 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9831 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
9832 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
9833 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
9834
cfb6382a
JM
98352013-03-04 Joseph Myers <joseph@codesourcery.com>
9836
9837 [BZ #13550]
9838 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
9839 comment about bounded pointers.
9840 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
9841 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
9842
539d8e01
AJ
98432013-03-04 Andreas Jaeger <aj@suse.de>
9844
9845 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
9846 common definitions.
9847
9848 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
9849 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
9850 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
9851 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
9852 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
9853 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
9854
2e167a70 98552013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
9856
9857 [BZ #15055]
9858 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
9859 __ieee754_sqrl instead of __sqrl.
9860
68508633
JM
98612013-03-01 Joseph Myers <joseph@codesourcery.com>
9862
9863 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
9864 * sysdeps/powerpc/fpu_control.h: ... here.
9865 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
9866 * sysdeps/powerpc/bits/fenvinline.h: ... here.
9867 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
9868 * sysdeps/powerpc/bits/mathinline.h: ... here.
9869
7775448e
RM
98702013-03-01 Roland McGrath <roland@hack.frob.com>
9871
9872 * elf/dl-hwcaps.c (_dl_important_hwcaps):
9873 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
9874 to just [NEED_DL_SYSINFO_DSO].
9875 * elf/dl-support.c: Likewise.
9876 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
9877 * elf/rtld.c (dl_main): Likewise.
9878 * elf/setup-vdso.h (setup_vdso): Likewise.
9879 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
9880 * sysdeps/unix/sysv/linux/dl-sysdep.c
9881 (_dl_discover_osversion): Likewise.
9882
4e9b5995
CD
98832013-03-01 Carlos O'Donell <carlos@redhat.com>
9884
9885 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
9886 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9887
e23872c8
SP
98882013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
9889
e5c74c63
SP
9890 * NEWS: Mention libm performance improvements and non-x86 PI
9891 futex support.
9892
e23872c8
SP
9893 * csu/libc-start.c (__pthread_initialize_minimal): Change
9894 function arguments.
9895 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
9896
b5510883
JM
98972013-02-28 Joseph Myers <joseph@codesourcery.com>
9898
9899 [BZ #13550]
9900 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
9901 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
9902 <bp-sym.h> and <bp-asm.h>.
9903 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9904 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
9905 and <bp-asm.h>.
9906 (memcpy): Don't use BP_SYM.
9907 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
9908 <bp-asm.h>.
9909 (__mpn_add_n): Don't use BP_SYM.
9910 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
9911 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
9912 and <bp-asm.h>.
9913 (__mpn_addmul_1): Don't use BP_SYM.
9914 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9915 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
9916 <bp-sym.h>.
9917 (_setjmp): Don't use BP_SYM.
9918 (__novmx_setjmp): Likewise.
9919 (__GI__setjmp): Likewise.
9920 (__vmx_setjmp): Likewise.
9921 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
9922 <bp-sym.h>.
9923 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
9924 (__bzero): Don't use BP_SYM.
9925 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
9926 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
9927 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
9928 <bp-sym.h> and <bp-asm.h>.
9929 (memcpy): Don't use BP_SYM.
9930 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
9931 <bp-sym.h> and <bp-asm.h>.
9932 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9933 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
9934 <bp-sym.h> and <bp-asm.h>.
9935 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
9936 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
9937 <bp-asm.h>.
9938 (__mpn_lshift): Don't use BP_SYM.
9939 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
9940 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
9941 <bp-asm.h>.
9942 (memset): Don't use BP_SYM.
9943 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
9944 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
9945 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
9946 <bp-asm.h>.
9947 (__mpn_mul_1): Don't use BP_SYM.
9948 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
9949 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
9950 <bp-sym.h> and <bp-asm.h>.
9951 (memcmp): Don't use BP_SYM.
9952 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
9953 <bp-sym.h> and <bp-asm.h>.
9954 (memcpy): Don't use BP_SYM.
9955 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
9956 <bp-sym.h> and <bp-asm.h>.
9957 (memset): Don't use BP_SYM.
9958 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
9959 <bp-sym.h> and <bp-asm.h>.
9960 (strncmp): Don't use BP_SYM.
9961 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
9962 <bp-sym.h> and <bp-asm.h>.
9963 (memcpy): Don't use BP_SYM.
9964 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
9965 <bp-sym.h> and <bp-asm.h>.
9966 (memset): Don't use BP_SYM.
9967 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
9968 <bp-sym.h> and <bp-asm.h>.
9969 (__memchr): Don't use BP_SYM.
9970 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
9971 <bp-sym.h> and <bp-asm.h>.
9972 (memcmp): Don't use BP_SYM.
9973 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
9974 <bp-sym.h> and <bp-asm.h>.
9975 (memcpy): Don't use BP_SYM.
9976 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
9977 <bp-sym.h> and <bp-asm.h>.
9978 (__mempcpy): Don't use BP_SYM.
9979 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
9980 <bp-sym.h> and <bp-asm.h>.
9981 (__memrchr): Don't use BP_SYM.
9982 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
9983 <bp-sym.h> and <bp-asm.h>.
9984 (memset): Don't use BP_SYM.
9985 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
9986 <bp-sym.h> and <bp-asm.h>.
9987 (__rawmemchr): Don't use BP_SYM.
9988 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
9989 <bp-sym.h> and <bp-asm.h>.
9990 (__STRCMP): Don't use BP_SYM.
9991 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
9992 <bp-sym.h> and <bp-asm.h>.
9993 (strchr): Don't use BP_SYM.
9994 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
9995 <bp-sym.h> and <bp-asm.h>.
9996 (__strchrnul): Don't use BP_SYM.
9997 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
9998 <bp-sym.h> and <bp-asm.h>.
9999 (strlen): Don't use BP_SYM.
10000 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10001 <bp-sym.h> and <bp-asm.h>.
10002 (strncmp): Don't use BP_SYM.
10003 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10004 <bp-sym.h> and <bp-asm.h>.
10005 (__strnlen): Don't use BP_SYM.
10006 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10007 <bp-asm.h>.
10008 (__mpn_rshift): Don't use BP_SYM.
10009 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10010 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10011 <bp-sym.h> and <bp-asm.h>.
10012 (__sigsetjmp): Don't use BP_SYM.
10013 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10014 (L(start_addresses)): Don't use BP_SYM.
10015 (_start): Likewise.
10016 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10017 <bp-asm.h>.
10018 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10019 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10020 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10021 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10022 <bp-asm.h>.
10023 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10024 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10025 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10026 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10027 <bp-asm.h>.
10028 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10029 comments.
10030 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10031 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10032 <bp-asm.h>.
10033 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
10034 FIXME comments.
10035 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10036 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10037 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10038 <bp-asm.h>.
10039 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
10040 comment.
10041 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10042 and <bp-asm.h>.
10043 (strncmp): Don't use BP_SYM,
10044 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10045 <bp-asm.h>.
10046 (__mpn_sub_n): Don't use BP_SYM.
10047 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10048 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10049 and <bp-asm.h>.
10050 (__mpn_submul_1): Don't use BP_SYM.
10051 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10053 <bp-sym.h> and <bp-asm.h>.
10054 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10056 <bp-sym.h> and <bp-asm.h>.
10057 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
10058 comment.
10059
8d19fe64
SP
100602013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10061
10062 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10063 Use ZK to minimize writes to Z.
10064 (sub_magnitudes): Simplify code a bit.
10065 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10066 Use ZK to minimize writes to Z.
10067 (sub_magnitudes): Simplify code a bit.
10068
85bd816a
RM
100692013-02-27 Roland McGrath <roland@hack.frob.com>
10070
10071 * csu/gmon-start.c: Add special exception to license text.
10072
b5977bf2
RH
100732013-02-27 Richard Henderson <rth@redhat.com>
10074
10075 * scripts/config.guess: Update from config.git.
10076 * scripts/config.sub: Likewise.
10077
11d6e2f2
SP
100782013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
10079
09c14ed2
SP
10080 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10081
a688864e
SP
10082 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10083
6295157a
SP
10084 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10085
b8de2202
SP
10086 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10087
11d6e2f2
SP
10088 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10089
7e80ddb8
RM
100902013-02-26 Roland McGrath <roland@hack.frob.com>
10091
10092 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10093 [$(build-shared = yes].
7e80ddb8 10094
7da6d9ed
SP
100952013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10096
45f05884
SP
10097 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10098 (__mul): Reduce iterations for calculating mantissa.
10099
2236d359
SP
10100 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10101 MPTWO.
10102 (__mpranred): Likewise.
10103
7da6d9ed
SP
10104 [BZ #15160]
10105 * malloc/memusagestat.c (main): Draw graphs for heap and stack
10106 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10107
b7688c42
PE
101082013-02-26 Paul Eggert <eggert@cs.ucla.edu>
10109
10110 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10111 Define __attribute__.
10112
53a5c423
SP
101132013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10114
10115 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10116 unused.
10117 * posix/regex_internal.h (__attribute): Remove.
10118 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10119 (re_string_context_at): Likewise.
10120 (bitset_not): Use __attribute__ and mark function as possibly
10121 unused.
10122 (bitset_merge): Likewise.
10123 (bitset_mask): Likewise.
10124 (re_string_char_size_at): Likewise.
10125 (re_string_wchar_at): Likewise.
10126 (re_string_elem_size_at): Likewise.
10127
60f5a8b5
SP
101282013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
10129
2a983a2e
SP
10130 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10131 code.
10132 (cc32): Likewise.
10133
e69804d1
SP
10134 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10135 (__acr): Likewise.
10136 (__cpy): Likewise.
10137 (norm): Likewise.
10138 (denorm): Likewise.
10139 (__dbl_mp): Likewise.
10140 (add_magnitudes): Likewise.
10141 (sub_magnitudes): Likewise.
10142 (__mul): Likewise.
10143 (__inv): Likewise.
10144
2f22a1e8
SP
10145 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10146 style.
10147
8930ddc7
SP
10148 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10149 style.
10150
dc60cb11
SP
10151 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10152 code.
10153
60f5a8b5
SP
10154 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10155 up changes with default code.
10156 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10157 Likewise.
10158
b4d1fd33
AM
101592013-02-24 Allan McRae <allan@archlinux.org>
10160
faf6f8bc
AM
10161 * manual/socket.texi (The Internet Namespace): Order menu items
10162 to match that in the file.
10163
b4d1fd33
AM
10164 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10165 node listing of the info page menu.
10166
2366713d
JM
101672013-02-21 Joseph Myers <joseph@codesourcery.com>
10168
10169 [BZ #13550]
10170 * sysdeps/i386/bp-asm.h: Remove file.
10171 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10172 (PARMS): Do not use macros from bp-asm.h.
10173 (S1): Likewise.
10174 (S2): Likewise.
10175 (SIZE): Likewise.
10176 (__mpn_add_n): Do not use BP_SYM
10177 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10178 "bp-asm.h".
10179 (PARMS): Do not use macros from bp-asm.h.
10180 (S1): Likewise.
10181 (SIZE): Likewise.
10182 (__mpn_addmul_1): Do not use BP_SYM
10183 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10184 "bp-asm.h".
10185 (PARMS): Do not use macros from bp-asm.h.
10186 (SIGMSK): Likewise.
10187 (_setjmp): Likewise. Do not use BP_SYM.
10188 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10189 "bp-asm.h".
10190 (PARMS): Do not use macros from bp-asm.h.
10191 (SIGMSK): Likewise.
10192 (setjmp): Likewise. Do not use BP_SYM.
10193 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10194 "bp-asm.h".
10195 (PARMS): Do not use macros from bp-asm.h.
10196 (__frexp): Do not use BP_SYM.
10197 (frexp): Likewise.
10198 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10199 "bp-asm.h".
10200 (PARMS): Do not use macros from bp-asm.h.
10201 (__frexpf): Do not use BP_SYM.
10202 (frexpf): Likewise.
10203 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10204 "bp-asm.h".
10205 (PARMS): Do not use macros from bp-asm.h.
10206 (__frexpl): Do not use BP_SYM.
10207 (frexpl): Likewise.
10208 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10209 "bp-asm.h".
10210 (PARMS): Do not use macros from bp-asm.h.
10211 (__remquo): Do not use BP_SYM.
10212 (remquo): Likewise.
10213 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10214 "bp-asm.h".
10215 (PARMS): Do not use macros from bp-asm.h.
10216 (__remquof): Do not use BP_SYM.
10217 (remquof): Likewise.
10218 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10219 "bp-asm.h".
10220 (PARMS): Do not use macros from bp-asm.h.
10221 (__remquol): Do not use BP_SYM.
10222 (remquol): Likewise.
10223 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10224 "bp-asm.h".
10225 (PARMS): Do not use macros from bp-asm.h.
10226 (DEST): Likewise.
10227 (SRC): Likewise.
10228 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
10229 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10230 "bp-asm.h".
10231 (PARMS): Do not use macros from bp-asm.h.
10232 (strlen): Do not use BP_SYM.
10233 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10234 "bp-asm.h".
10235 (PARMS): Do not use macros from bp-asm.h.
10236 (S1): Likewise.
10237 (S2): Likewise.
10238 (SIZE): Likewise.
10239 (__mpn_add_n): Do not use BP_SYM.
10240 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10241 "bp-asm.h".
10242 (PARMS): Do not use macros from bp-asm.h.
10243 (S1): Likewise.
10244 (SIZE): Likewise.
10245 (__mpn_addmul_1): Do not use BP_SYM.
10246 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10247 weak_alias.
10248 (bzero): Likewise.
10249 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10250 "bp-asm.h".
10251 (PARMS): Do not use macros from bp-asm.h.
10252 (S): Likewise.
10253 (SIZE): Likewise.
10254 (__mpn_lshift): Do not use BP_SYM.
10255 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10256 "bp-asm.h".
10257 (PARMS): Do not use macros from bp-asm.h.
10258 (DEST): Likewise.
10259 (SRC): Likewise.
10260 (LEN): Likewise.
10261 (memcpy): Likewise. Do not use BP_SYM.
10262 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10263 libc_hidden_def and weak_alias.
10264 (mempcpy): Do not use BP_SYM in weak_alias.
10265 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10266 "bp-asm.h".
10267 (PARMS): Do not use macros from bp-asm.h.
10268 (DEST): Likewise.
10269 (LEN): Likewise.
10270 [!BZERO_P] (CHR): Likewise.
10271 (memset): Likewise. Do not use BP_SYM.
10272 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10273 "bp-asm.h".
10274 (PARMS): Do not use macros from bp-asm.h.
10275 (S1): Likewise.
10276 (SIZE): Likewise.
10277 (__mpn_mul_1): Do not use BP_SYM.
10278 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10279 "bp-asm.h".
10280 (PARMS): Do not use macros from bp-asm.h.
10281 (S): Likewise.
10282 (SIZE): Likewise.
10283 (__mpn_rshift): Do not use BP_SYM.
10284 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10285 "bp-asm.h".
10286 (PARMS): Do not use macros from bp-asm.h.
10287 (STR): Likewise.
10288 (CHR): Likewise.
10289 (strchr): Likewise. Do not use BP_SYM.
10290 (index): Do not use BP_SYM in weak_alias.
10291 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10292 "bp-asm.h".
10293 (PARMS): Do not use macros from bp-asm.h.
10294 (DEST): Likewise.
10295 (SRC): Likewise.
10296 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
10297 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10298 "bp-asm.h".
10299 (PARMS): Do not use macros from bp-asm.h.
10300 (strlen): Do not use BP_SYM.
10301 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10302 "bp-asm.h".
10303 (PARMS): Do not use macros from bp-asm.h.
10304 (S1): Likewise.
10305 (S2): Likewise.
10306 (SIZE): Likewise.
10307 (__mpn_sub_n): Do not use BP_SYM.
10308 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10309 "bp-asm.h".
10310 (PARMS): Do not use macros from bp-asm.h.
10311 (S1): Likewise.
10312 (SIZE): Likewise.
10313 (__mpn_submul_1): Do not use BP_SYM.
10314 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10315 "bp-asm.h".
10316 (PARMS): Do not use macros from bp-asm.h.
10317 (S1): Likewise.
10318 (S2): Likewise.
10319 (SIZE): Likewise.
10320 (__mpn_add_n): Do not use BP_SYM.
10321 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10322 weak_alias.
10323 (bzero): Likewise.
10324 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10325 "bp-asm.h".
10326 (PARMS): Do not use macros from bp-asm.h.
10327 (BLK2): Likewise.
10328 (LEN): Likewise.
10329 (memcmp): Do not use BP_SYM.
10330 (bcmp): Do not use BP_SYM in weak_alias.
10331 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10332 "bp-asm.h".
10333 (PARMS): Do not use macros from bp-asm.h.
10334 (DEST): Likewise.
10335 (SRC): Likewise.
10336 (LEN): Likewise.
10337 (memcpy): Likewise. Do not use BP_SYM.
10338 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10339 "bp-asm.h".
10340 (PARMS): Do not use macros from bp-asm.h.
10341 (DEST): Likewise.
10342 (SRC): Likewise.
10343 (LEN): Likewise.
10344 (memmove): Likewise. Do not use BP_SYM.
10345 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10346 "bp-asm.h".
10347 (PARMS): Do not use macros from bp-asm.h.
10348 (DEST): Likewise.
10349 (SRC): Likewise.
10350 (LEN): Likewise.
10351 (__mempcpy): Likewise. Do not use BP_SYM.
10352 (mempcpy): Do not use BP_SYM in weak_alias.
10353 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10354 "bp-asm.h".
10355 (PARMS): Do not use macros from bp-asm.h.
10356 (DEST): Likewise.
10357 (LEN): Likewise.
10358 [!BZERO_P] (CHR): Likewise.
10359 (memset): Likewise. Do not use BP_SYM.
10360 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10361 "bp-asm.h".
10362 (PARMS): Do not use macros from bp-asm.h.
10363 (STR2): Likewise.
10364 (strcmp): Do not use BP_SYM.
10365 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10366 "bp-asm.h".
10367 (PARMS): Do not use macros from bp-asm.h.
10368 (STR): Likewise.
10369 (DELIM): Likewise.
10370 [USE_AS_STRTOK_R] (SAVE): Likewise.
10371 (FUNCTION): Likewise. Do not use BP_SYM.
10372 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10373 aliases.
10374 (strtok_r): Likewise.
10375 (__GI___strtok_r): Likewise.
10376 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10377 (PARMS): Do not use macros from bp-asm.h.
10378 (S): Likewise.
10379 (SIZE): Likewise.
10380 (__mpn_lshift): Do not use BP_SYM.
10381 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10382 (PARMS): Do not use macros from bp-asm.h.
10383 (STR): Likewise.
10384 (CHR): Likewise.
10385 (__memchr): Do not use BP_SYM.
10386 (memchr): Do not use BP_SYM in weak_alias.
10387 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10388 (PARMS): Do not use macros from bp-asm.h.
10389 (BLK2): Likewise.
10390 (LEN): Likewise.
10391 (memcmp): Do not use BP_SYM.
10392 (bcmp): Do not use BP_SYM in weak_alias.
10393 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
10394 (PARMS): Do not use macros from bp-asm.h.
10395 (S1): Likewise.
10396 (SIZE): Likewise.
10397 (__mpn_mul_1): Do not use BP_SYM.
10398 * sysdeps/i386/rawmemchr.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 (__rawmemchr): Do not use BP_SYM.
10404 (rawmemchr): Do not use BP_SYM in weak_alias.
10405 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10406 (PARMS): Do not use macros from bp-asm.h.
10407 (S): Likewise.
10408 (SIZE): Likewise.
10409 (__mpn_rshift): Do not use BP_SYM.
10410 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
10411 (PARMS): Do not use macros from bp-asm.h.
10412 (SIGMSK): Likewise.
10413 (__sigsetjmp): Likewise. Do not use BP_SYM.
10414 * sysdeps/i386/start.S: Do not include "bp-sym.h".
10415 (_start): Do not use BP_SYM.
10416 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
10417 (PARMS): Do not use macros from bp-asm.h.
10418 (DEST): Likewise.
10419 (SRC): Likewise.
10420 (__stpcpy): Likewise. Do not use BP_SYM.
10421 (stpcpy): Do not use BP_SYM in weak_alias.
10422 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
10423 "bp-asm.h".
10424 (PARMS): Do not use macros from bp-asm.h.
10425 (DEST): Likewise.
10426 (SRC): Likewise.
10427 (LEN): Likewise.
10428 (__stpncpy): Likewise. Do not use BP_SYM.
10429 (stpncpy): Do not use BP_SYM in weak_alias.
10430 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10431 (PARMS): Do not use macros from bp-asm.h.
10432 (STR): Likewise.
10433 (CHR): Likewise.
10434 (strchr): Likewise. Do not use BP_SYM.
10435 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
10436 "bp-asm.h".
10437 (PARMS): Do not use macros from bp-asm.h.
10438 (STR): Likewise.
10439 (CHR): Likewise.
10440 (__strchrnul): Likewise. Do not use BP_SYM.
10441 (strchrnul): Do not use BP_SYM in weak_alias.
10442 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
10443 "bp-asm.h".
10444 (PARMS): Do not use macros from bp-asm.h.
10445 (STOP): Likewise.
10446 (strcspn): Do not use BP_SYM.
10447 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
10448 "bp-asm.h".
10449 (PARMS): Do not use macros from bp-asm.h.
10450 (STR): Likewise.
10451 (STOP): Likewise.
10452 (strpbrk): Likewise. Do not use BP_SYM.
10453 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
10454 "bp-asm.h".
10455 (PARMS): Do not use macros from bp-asm.h.
10456 (STR): Likewise.
10457 (CHR): Likewise.
10458 (strrchr): Likewise. Do not use BP_SYM.
10459 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
10460 (PARMS): Do not use macros from bp-asm.h.
10461 (SKIP): Likewise.
10462 (strspn): Do not use BP_SYM.
10463 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
10464 (PARMS): Do not use macros from bp-asm.h.
10465 (STR): Likewise.
10466 (DELIM): Likewise.
10467 (SAVE): Likewise.
10468 (FUNCTION): Likewise. Do not use BP_SYM.
10469 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
10470 aliases.
10471 (strtok_r): Likewise.
10472 (__GI___strtok_r): Likewise.
10473 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10474 (PARMS): Do not use macros from bp-asm.h.
10475 (S1): Likewise.
10476 (S2): Likewise.
10477 (SIZE): Likewise.
10478 (__mpn_sub_n): Do not use BP_SYM.
10479 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
10480 "bp-asm.h".
10481 (PARMS): Do not use macros from bp-asm.h.
10482 (S1): Likewise.
10483 (SIZE): Likewise.
10484 (__mpn_submul_1): Do not use BP_SYM.
10485 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
10486 <bp-sym.h>.
10487 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
10488 and <bp-asm.h>.
10489 (PARMS): Do not use macros from bp-asm.h.
10490 (FLAGS): Likewise.
10491 (PTID): Likewise.
10492 (TLS): Likewise.
10493 (CTID): Likewise.
10494 (__clone): Do not use BP_SYM.
10495 (clone): Do not use BP_SYM in weak_alias.
10496 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
10497 and <bp-asm.h>.
10498 (PARMS): Do not use macros from bp-asm.h.
10499 (LEN): Likewise.
10500 (__mmap64): Do not use BP_SYM.
10501 (mmap64): Do not use BP_SYM in weak_alias.
10502 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
10503 <bp-sym.h> and <bp-asm.h>.
10504 (PARMS): Do not use macros from bp-asm.h.
10505 (__posix_fadvise64_l64): Do not use BP_SYM.
10506 * sysdeps/unix/sysv/linux/i386/semtimedop.S
10507 (PARMS): Do not use macros from bp-asm.h.
10508 (NSOPS): Likewise.
10509 (semtimedop): Do not use BP_SYM.
10510 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
10511 and <bp-asm.h>.
10512
582a3cff
AM
105132013-02-21 Allan McRae <allan@archlinux.org>
10514
10515 * manual/message.texi (Charset conversion in gettext):
10516 Move @end statement to beginning of line.
10517
bab8a695
SP
105182013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10519
80945231
SP
10520 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
10521 static.
10522 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
10523 Likewise.
10524
bab8a695
SP
10525 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
10526 (denorm): Likewise.
10527 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
10528 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
10529
e21d7aa7
AK
105302013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10531
10532 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
10533 tail-call to the resolved function if pltexit isn't needed.
10534
4c7a4263
SP
105352013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
10536
10537 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
10538 or Y being zero as being unlikely.
10539 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10540 Likewise.
10541
41f49342
CD
105422013-02-20 Carlos O'Donell <carlos@redhat.com>
10543
10544 * manual/nss.texi (System Databases and Name Service Switch):
10545 Remove frobnicate @pxref.
10546
50022a93
TS
105472013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10548
10549 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10550 __attribute__ ((unused)) to __attribute__ ((__unused__)).
10551
08cbd996
PM
105522013-02-20 Petr Machata <pmachata@redhat.com>
10553
10554 * elf/elf.h (R_ARM_TARGET1): New macro.
10555 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
10556 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
10557 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
10558 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
10559 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
10560 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
10561 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
10562 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
10563 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
10564 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
10565 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
10566 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
10567 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
10568 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
10569 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
10570 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
10571 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
10572 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
10573 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
10574 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
10575 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
10576 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
10577 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
10578 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
10579 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
10580 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
10581 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
10582 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
10583 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
10584 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
10585 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
10586 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
10587 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
10588 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
10589 (R_ARM_THM_GOT_BREL12): Likewise.
10590 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
10591 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
10592 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
10593 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
10594 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
10595 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
10596 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
10597 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
10598 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
10599
c7b275d6
TS
106002013-02-20 Thomas Schwinge <thomas@codesourcery.com>
10601
10602 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
10603 __attribute_used__ to __attribute__ ((unused)).
10604
20cd7fb3
SP
106052013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
10606
10607 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
10608 powerpc mpa.c.
10609 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
10610 comment formatting.
10611 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
10612
92945b52
JM
106132013-02-19 Joseph Myers <joseph@codesourcery.com>
10614
10615 [BZ #13550]
10616 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
10617 Remove macro.
10618 (ENTER): Remove both macro definitions.
10619 (LEAVE): Likewise.
10620 (CHECK_BOUNDS_LOW): Likewise.
10621 (CHECK_BOUNDS_HIGH): Likewise.
10622 (CHECK_BOUNDS_BOTH): Likewise.
10623 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
10624 (RETURN_BOUNDED_POINTER): Likewise.
10625 (RETURN_NULL_BOUNDED_POINTER): Likewise.
10626 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
10627 (POP_ERRNO_LOCATION_RETURN): Likewise.
10628 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
10629 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10630 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
10631 macros.
10632 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10633 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
10634 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
10635 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
10636 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
10637 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
10638 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
10639 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
10640 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
10641 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
10642 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
10643 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
10644 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10645 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
10646 removed macros.
10647 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10648 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
10649 macros.
10650 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10651 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
10652 * sysdeps/i386/i586/memset.S (memset): Likewise.
10653 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
10654 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10655 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
10656 macros.
10657 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10658 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
10659 Change uses of L(2) to L(out).
10660 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
10661 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
10662 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
10663 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10664 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
10665 removed macros.
10666 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10667 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
10668 macros.
10669 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10670 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
10671 (RETURN): Do not use macro LEAVE.
10672 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
10673 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
10674 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
10675 * sysdeps/i386/i686/memset.S (memset): Likewise.
10676 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
10677 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
10678 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10679 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
10680 Likewise.
10681 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10682 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
10683 L(1_2) and L(1_3) into L(1).
10684 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10685 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
10686 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10687 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
10688 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10689 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
10690 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
10691 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10692 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
10693 macros.
10694 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
10695 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10696 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
10697 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
10698 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
10699 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10700 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
10701 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
10702 * sysdeps/i386/strcspn.S (strcspn): Likewise.
10703 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
10704 * sysdeps/i386/strrchr.S (strrchr): Likewise.
10705 * sysdeps/i386/strspn.S (strspn): Likewise.
10706 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
10707 conditional code.
10708 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10709 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
10710 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
10711 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
10712 L(1_3) into L(1_1).
10713 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
10714 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10715 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
10716 macros.
10717 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10718
2389741a
JJ
107192013-02-19 Jakub Jelinek <jakub@redhat.com>
10720
10721 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
10722 macro.
10723
2016b3cd
SP
107242013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10725
e4f22324
SP
10726 * math/atest-exp.c (exp_mpn): Remove ROUND.
10727 * math/atest-exp2.c (exp_mpn): Likewise.
10728 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
10729
2016b3cd
SP
10730 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
10731 * stdlib/tst-tls-atexit-lib.c: Likewise.
10732 * stdlib/tst-tls-atexit.c: Likewise.
10733
4be9b544
MF
107342013-02-18 Mike Frysinger <vapier@gentoo.org>
10735
10736 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
10737 and __attribute_alloc_size__.
10738
2f62b9ee
MF
107392013-02-18 Mike Frysinger <vapier@gentoo.org>
10740
10741 * include/programs/xmalloc.h: Change __attribute_alloc_size to
10742 __attribute_alloc_size__.
10743 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
10744 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
10745
6ff444c4
MF
107462013-02-18 Mike Frysinger <vapier@gentoo.org>
10747
10748 * include/programs/xmalloc.h: New file.
10749 * catgets/gencat.c: Include it.
10750 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
10751 * elf/pldd.c: Likewise.
10752 * iconv/iconv_charmap.c: Likewise.
10753 * iconv/iconvconfig.c: Likewise.
10754 * iconv/strtab.c: Likewise.
10755 * locale/programs/locale.c: Likewise.
10756 * locale/programs/localedef.h: Likewise.
10757 * locale/programs/simple-hash.c: Likewise.
10758 * nscd/nscd.h: Likewise.
10759 * nss/makedb.c: Likewise.
10760 * sysdeps/generic/ldconfig.h: Likewise.
10761
be179c8a
SP
107622013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10763
ba384f6e
SP
10764 * Versions.def: Add GLIBC_2.18.
10765 * include/link.h (struct link_map): New member l_tls_dtor_count.
10766 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
10767 (__call_tls_dtors): Likewise.
10768 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
10769 __cxa_thread_atexit_impl.
10770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10771 Likewise.
10772 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10773 Likewise.
10774 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
10775 Likewise.
10776 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
10777 Likewise.
10778 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
10779 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
10780 Likewise.
10781 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
10782 Likewise.
10783 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
10784 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
10785 Likewise.
10786 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
10787 (tests): Add test case tst-tls-atexit.
10788 (modules-names): Add shared library for tst-tls-atexit.
85891aca 10789 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
10790 (GLIBC_PRIVATE): Add __call_tls_dtors.
10791 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
10792 for libstdc++.
10793 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
10794 * stdlib/tst-tls-atexit.c: New test case.
10795 * stdlib/tst-tls-atexit-lib.c: New test case.
10796
ffaa74cf 10797 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 10798
be179c8a
SP
10799 * elf/Versions (ld): Add _dl_find_dso_for_object.
10800 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
10801 * elf/dl-open.c (_dl_find_dso_for_object): New function.
10802 (dl_open_worker): Use _dl_find_dso_for_object.
10803 * elf/dl-sym.c (do_sym): Likewise.
10804 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
10805
f78b5caa
AK
108062013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10807
10808 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
10809 Syntactic changes only.
10810 (_dl_runtime_profile): Do a tail-call to the resolved function.
10811
29691210
JM
108122013-02-17 Joseph Myers <joseph@codesourcery.com>
10813
10814 [BZ #13550]
10815 * sysdeps/x86_64/bp-asm.h: Remove file.
10816 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
10817 <bp-sym.h> and <bp-asm.h>.
10818 (__clone): Do not use BP_SYM.
10819 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
10820 <bp-sym.h> and <bp-asm.h>.
10821 * sysdeps/unix/x86_64/sysdep.S: Likewise.
10822 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
10823 "bp-asm.h".
10824 (_setjmp): Do not use BP_SYM.
10825 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
10826 "bp-asm.h".
10827 (setjmp): Do not use BP_SYM.
10828 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
10829 libc_hidden_def.
10830 (mempcpy): Do not use BP_SYM in weak_alias.
10831 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
10832 "bp-asm.h".
10833 (strchr): Do not use BP_SYM.
10834 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
10835 "bp-asm.h".
10836 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
10837 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
10838 (_start): Do not use BP_SYM.
10839 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
10840 "bp-asm.h".
10841 (strcat): Do not use BP_SYM.
10842 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
10843 "bp-asm.h".
10844 (STRCMP): Do not use BP_SYM.
10845 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
10846 "bp-asm.h".
10847 (STRCPY): Do not use BP_SYM.
10848 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
10849 "bp-asm.h".
10850 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
10851 "bp-asm.h".
10852 (FUNCTION): Do not use BP_SYM.
10853 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
10854 weak_alias.
10855 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
10856
f238fd19
AJ
108572013-02-17 Andreas Jaeger <aj@suse.de>
10858
10859 * time/Versions: Sort entries.
10860 * string/Versions: Likewise.
10861 * resolv/Versions: Likewise.
10862 * posix/Versions: Likewise.
10863 * iconv/Versions: Likewise.
10864 * elf/Versions: Likewise.
10865 * wcsmbs/Versions: Likewise.
10866
bd07f23c 108672013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 10868
22af19f9
SP
10869 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
10870 loop termination condition.
10871
4709fe76
SP
10872 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
10873 variable to calculate EZ.
10874 (__sqr): Likewise.
2d0e0f29
SP
10875
10876 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
10877 the lower precision input.
10878
daaa7713
JM
108792013-02-15 Joseph Myers <joseph@codesourcery.com>
10880
10881 [BZ #13550]
10882 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
10883 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
10884 (run-via-rtld-prefix): Do not handle %-bp tests.
10885 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
10886 (all-object-suffixes): Remove .ob.
10887 (bppfx): Remove variable.
10888 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
10889 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
10890 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
10891 [$(build-bounded) = yes] (libtype.ob): Likewise.
10892 * Makerules (elide-routines.ob): Remove variable.
10893 (do-tests-clean): Do not handle *-bp.out.
10894 (common-mostlyclean): Do not handle *-bp and *-bp.out.
10895 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
10896 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
10897 (tests): Do not include $(tests-bp.out).
10898 (xtests): Do not include $(xtests-bp.out).
10899 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
10900 [$(build-bounded) = yes] ($(addprefix
10901 $(objpfx),$(binaries-bounded))): Remove rule.
10902 ($(objpfx)%-bp.out): Remove rule.
10903 * config.make.in (build-bounded): Remove variable.
10904 * crypt/Makefile [$(build-bounded) = yes]
10905 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
10906 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
10907 append to variable.
10908 [$(build-bounded) = yes] (install-lib): Likewise.
10909 [$(build-bounded) = yes] (generated): Likewise.
10910 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
10911 Remove rule.
10912 * intl/Makefile [$(build-bounded) = yes]
10913 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
10914 * math/Makefile [$(build-bounded) = yes]
10915 ($(tests:%=$(objpfx)%-bp): Likewise.
10916 * misc/Makefile [$(build-bounded) = yes]
10917 ($(objpfx)tst-tsearch-bp): Likewise.
10918 * nptl/Makeconfig (bounded-thread-library): Remove variable.
10919 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
10920 Remove dependency.
10921 * string/Makefile (o-objects.ob): Remove variable.
10922 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
10923 (CFLAGS-.ob): Remove variable.
10924 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
10925 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
10926 both definitions of variable.
10927 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
10928 (ASFLAGS-.ob): Remove variable.
10929
e97ed6dd
JM
109302013-02-14 Joseph Myers <joseph@codesourcery.com>
10931
2bdd4ca6
JM
10932 [BZ #13550]
10933 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
10934 Remove __BOUNDED_POINTERS__ from condition.
10935 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
10936 * string/bits/string2.h [!__NO_STRING_INLINES &&
10937 !__BOUNDED_POINTERS__]: Likewise.
10938 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
10939 Likewise.
10940 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
10941 Remove conditional code.
10942 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
10943 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
10944 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
10945 condition.
10946
e97ed6dd
JM
10947 [BZ #13550]
10948 * csu/libc-start.c: Do not include <bp-sym.h>.
10949 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
10950 * elf/dl-open.c: Do not include <bp-sym.h>.
10951 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
10952 * math/fegetenv.c: Do not include <bp-sym.h>.
10953 (fegetenv): Do not use BP_SYM in versioned symbols.
10954 * nptl/sysdeps/pthread/bits/libc-lockP.h
10955 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
10956 <bp-sym.h>.
10957 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10958 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
10959 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10960 (__pthread_mutex_destroy): Likewise.
10961 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10962 (__pthread_mutex_lock): Likewise.
10963 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10964 (__pthread_mutex_trylock): Likewise.
10965 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10966 (__pthread_mutex_unlock): Likewise.
10967 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10968 (__pthread_mutexattr_init): Likewise.
10969 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10970 (__pthread_mutexattr_destroy): Likewise.
10971 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10972 (__pthread_mutexattr_settype): Likewise.
10973 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10974 (__pthread_rwlock_init): Likewise.
10975 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10976 (__pthread_rwlock_destroy): Likewise.
10977 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10978 (__pthread_rwlock_rdlock): Likewise.
10979 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10980 (__pthread_rwlock_tryrdlock): Likewise.
10981 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10982 (__pthread_rwlock_wrlock): Likewise.
10983 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10984 (__pthread_rwlock_trywrlock): Likewise.
10985 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10986 (__pthread_rwlock_unlock): Likewise.
10987 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10988 (__pthread_key_create): Likewise.
10989 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10990 (__pthread_setspecific): Likewise.
10991 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10992 (__pthread_getspecific): Likewise.
10993 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
10994 Likewise.
10995 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10996 (_pthread_cleanup_push_defer): Likewise.
10997 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
10998 (_pthread_cleanup_pop_restore): Likewise.
10999 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11000 (pthread_setcancelstate): Likewise.
11001 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11002 <bp-sym.h>.
11003 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11004 (memchr): Do not use BP_SYM in weak_alias.
11005 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11006 (fegetenv): Do not use BP_SYM in versioned symbols.
11007 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11008 (fesetenv): Do not use BP_SYM in versioned symbols.
11009 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11010 (feupdateenv): Do not use BP_SYM in versioned symbols.
11011 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11012 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11013 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11014 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11015 (open64): Do not use BP_SYM in weak_alias.
11016 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11017 (fegetenv): Do not use BP_SYM in versioned symbols.
11018 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11019 (fesetenv): Do not use BP_SYM in versioned symbols.
11020 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11021 (feupdateenv): Do not use BP_SYM in versioned symbols.
11022 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11023 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11024 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11025 (feraiseexcept): Do not use BP_SYM in versioned symbols.
11026 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11027 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11028 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11029 <bp-sym.h>.
11030 (__libc_start_main): Do not use BP_SYM.
11031
d6752ccd
SP
110322013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11033
cb57ce60
SP
11034 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11035 redundant return line.
11036 (norm): Likewise.
11037 (denorm): Likewise.
11038 (dbl_mp): Likewise.
11039 (sub_magnitudes): Likewise.
11040 (__add): Likewise.
11041 (__sub): Likewise.
11042 (__mul): Likewise.
11043 (__inv): Likewise.
11044 (__dvd): Likewise.
11045 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11046 (norm): Likewise.
11047 (denorm): Likewise.
11048 (dbl_mp): Likewise.
11049 (sub_magnitudes): Likewise.
11050 (__add): Likewise.
11051 (__sub): Likewise.
11052 (__mul): Likewise.
11053 (__inv): Likewise.
11054 (__dvd): Likewise.
11055
f414520d
SP
11056 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11057 instead of __mul.
11058 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11059 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11060 (cc32): Likewise.
11061
d6752ccd
SP
11062 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11063 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11064 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11065 of __mul for squares.
11066 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11067 function
11068 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11069 Likewise.
11070 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11071 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11072
70d9946a
JM
110732013-02-13 Joseph Myers <joseph@codesourcery.com>
11074
11075 [BZ #13550]
11076 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11077 code.
11078 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11079 prototype or function definition. Rename ubp_* variables and
11080 parameters. Remove argv definitions conditional on
11081 [__BOUNDED_POINTERS__].
11082 * debug/backtrace.c (__backtrace): Do not use __unbounded.
11083 * elf/dl-runtime.c (_dl_fixup): Likewise.
11084 * include/set-hooks.h (RUN_HOOK): Likewise.
11085 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11086 definition.
11087 * string/strcpy.c (strcpy): Do not use __unbounded.
11088 * sysdeps/generic/frame.h (struct layout): Likewise.
11089 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11090 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11091 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11092 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11093 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11094 (__backtrace): Likewise.
11095 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11096 use __ptrvalue.
11097 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11098 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11099 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11100 Likewise.
11101 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11102 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11103 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11104 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11105 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11106 Do not use __unbounded.
11107 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11108 Rename __unboundedrlimits parameter to rlimits in prototype.
11109 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11110 Do not use __unbounded.
11111 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11112 not use __ptrvalue.
11113 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11114 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11115 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11116 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11117 __ptrvalue or __unbounded.
11118 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11119 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11120 use __unbounded.
11121 (__new_msgctl): Do not use __ptrvalue.
11122 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11123 __unbounded.
11124 (__libc_msgrcv): Do not use __ptrvalue.
11125 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11126 startup_info): Do not use __unbounded.
11127 (__libc_start_main): Likewise. Rename ubp_* variables and
11128 parameters. Remove argv definitions conditional on
11129 [__BOUNDED_POINTERS__].
11130 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11131 __ptrvalue.
11132 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11133 use __unbounded.
11134 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11135 or __ptrvalue.
11136 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11137 use __unbounded.
11138 (__new_shmctl): Do not use __ptrvalue.
11139 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11140 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11141 Likewise.
11142 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11143 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11144 (__libc_sigaction): Likewise.
11145 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11146 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11147 Likewise.
11148 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11149
cc7834d6
OB
111502013-02-13 Ondřej Bílka <neleai@seznam.cz>
11151
ffb1ec7b 11152 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
11153
11154 * string/mempcpy.c: Implement by calling memcpy.
11155
bdf02814
SP
111562013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11157
c2af38aa
SP
11158 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11159
4e92d59e
SP
11160 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11161 evaluation.
11162
909279a5
SP
11163 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11164 values in the mantissa.
11165
bdf02814
SP
11166 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11167 minimize writes to Z.
11168 (sub_magnitudes): Simplify code a bit.
11169
cd525923
RM
111702013-02-12 Roland McGrath <roland@hack.frob.com>
11171
11172 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11173 from the message. The linker prefixes all warnings with that already.
11174
7e2f0d2d
AS
111752013-02-12 Andreas Schwab <schwab@suse.de>
11176
a445af0b
AS
11177 [BZ #15078]
11178 * posix/regexec.c (extend_buffers): Add parameter min_len.
11179 (check_matching): Pass minimum needed length.
11180 (clean_state_log_if_needed): Likewise.
11181 (get_subexp): Likewise.
11182 * posix/Makefile (tests): Add bug-regex34.
11183 (bug-regex34-ENV): Define.
11184 * posix/bug-regex34.c: New file.
11185
7e2f0d2d
AS
11186 [BZ #11561]
11187 * posix/regcomp.c (parse_bracket_exp): When looking up collating
11188 elements compare against the byte sequence of it, not its name.
11189 * posix/Makefile (tests): Add bug-regex35.
11190 (bug-regex35-ENV): Define.
11191 * posix/bug-regex35.c: New file.
11192
a175b684
TV
111932013-02-11 Tom de Vries <tom@codesourcery.com>
11194
11195 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
11196 comment.
11197 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11198 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11199 (CHECK_EOL): Add undef.
11200
310998fe 112012013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
11202
11203 * bits/stdlib-bsearch.h: New file.
11204 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 11205 * stdlib/stdlib.h: Likewise.
41eda41d 11206
8ded91fb
RM
112072013-02-11 Roland McGrath <roland@hack.frob.com>
11208
11209 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11210 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11211 declaration.
11212 * manual/search.texi (Array Search Function): Add missing const in
11213 lfind prototype.
11214 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11215 declaration to use rlim_t.
11216 (Basic Scheduling Functions): Remove erroneous const from
11217 sched_getparam prototype. Remove erroneous * from
11218 sched_get_priority_max and sched_get_priority_min prototypes.
11219 (Resource Usage): Fix summary @comment on vtimes to refer to
11220 sys/vtimes.h rather than vtimes.h.
11221 Add missing *s in vtimes prototype.
11222 (Limits on Resources): Fix ulimit prototype to return long int.
11223 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11224 prototypes to use long int rather than double.
11225 (BSD Random): Fix initstate and setstate to use char *, not void *.
11226 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11227 prototype to make second argument 'struct aiocb64 *const[]'.
11228 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11229 (Status of AIO Operations): Remove erroneous const in aio_return and
11230 aio_return64 prototypes.
11231 (Synchronizing I/O): Fix sync prototype to return void.
11232 * manual/startup.texi (Suboptions): Remove an erroneous const in
11233 getsubopt prototype.
11234 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11235 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11236 use size_t rather than int.
11237 (Scanning All Users): Likewise for getpwent_r.
11238 (Setting Groups): Add missing const to setgroups prototype.
11239 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11240 * manual/socket.texi (Host Names): Fix gethostbyaddr and
11241 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11242 'const void *' rather than 'const char *'.
11243 (Host Address Functions): Likewise for inet_ntop.
11244 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11245 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11246 ssize_t for return value.
11247 (Sending Data): Likewise for send, sendto, sendmsg.
11248 (Socket Option Functions): Add a missing const in setsockopt prototype.
11249 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11250 use wchar_t for the argument.
11251 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11252 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11253 take no arguments.
11254 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11255 double/float/long double for second argument.
11256 Fix return types of significand, significandf, significandl.
11257 * manual/filesys.texi (Setting Permissions): Use mode_t for second
11258 argument in fchmod prototype.
11259 (File Owner): Use uid_t and gid_t in fchown prototype.
11260 (File Times): Add const to utimes, futimes, and lutimes prototypes.
11261 (Making Special Files): Use mode_t and dev_t in mknod prototype.
11262 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11263 use 'const struct dirent **' as argument types to CMP function pointer
11264 argument.
11265 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11266 (File Times): Fix summary magic @comment for struct utimbuf and utime
11267 to refer to utime.h, not time.h.
11268 * manual/string.texi (Argz Functions): Add missing const in
11269 argz_extract and argz_next prototypes.
11270 (Finding Tokens in a String): Likewise for basename.
11271 (String/Array Comparison): Fix typo in wcscasecmp prototype.
11272 (Copying and Concatenation): Fix typo in wmemmove prototype.
11273 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11274 (Signal Stack): Remove erroneous const in sigstack prototype.
11275 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11276 prototype.
11277 (Simple Calendar Time): Likewise for stime.
11278 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11279 prototype.
11280 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11281 say sys/sysctl.h instead.
11282 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11283 and vsyslog prototypes.
11284
fe77fe6d
TV
112852013-02-11 Tom de Vries <tom@codesourcery.com>
11286
11287 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11288 Remove.
11289
3a09b620
RM
112902013-02-11 Roland McGrath <roland@hack.frob.com>
11291
11292 * misc/sys/mman.h: Fix typo in mremap comment.
11293
550a0b89
RM
112942013-02-08 Roland McGrath <roland@hack.frob.com>
11295
11296 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11297 the '\0' terminator.
11298
a2da1673
JM
112992013-02-08 Joseph Myers <joseph@codesourcery.com>
11300
11301 [BZ #13550]
11302 * debug/segfault.c: Don't include <bp-checks.h>.
11303 * sysdeps/generic/bp-checks.h: Remove file.
11304 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11305 (__GETDENTS): Don't use CHECK_N.
11306 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11307 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11308 (__getgroups): Don't use CHECK_N.
11309 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11310 (setgroups): Don't use CHECK_N.
11311 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11312 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11313 (__libc_msgrcv): Don't use CHECK_N.
11314 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11315 (__libc_msgsnd): Don't use CHECK_N.
11316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11317 <bp-checks.h>.
11318 (__libc_pread): Don't use CHECK_N.
11319 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11320 include <bp-checks.h>.
11321 (__libc_pread64): Don't use CHECK_N.
11322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11323 include <bp-checks.h>.
11324 (__libc_pwrite): Don't use CHECK_N.
11325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11326 include <bp-checks.h>.
11327 (__libc_pwrite64): Don't use CHECK_N.
11328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11329 <bp-checks.h>.
11330 (__libc_pread): Don't use CHECK_N.
11331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11332 include <bp-checks.h>.
11333 (__libc_pread64): Don't use CHECK_N.
11334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11335 include <bp-checks.h>.
11336 (__libc_pwrite): Don't use CHECK_N.
11337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11338 include <bp-checks.h>.
11339 (__libc_pwrite64): Don't use CHECK_N.
11340 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11341 (do_pread): Don't use CHECK_N.
11342 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11343 (do_pread64): Don't use CHECK_N.
11344 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11345 (do_pwrite): Don't use CHECK_N.
11346 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11347 (do_pwrite64): Don't use CHECK_N.
11348 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11349 (__libc_readv): Don't use CHECK_N.
11350 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11351 (semop): Don't use CHECK_N.
11352 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11353 <bp-checks.h>.
11354 (semtimedop): Don't use CHECK_N.
11355 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11356 (__libc_pread): Don't use CHECK_N.
11357 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11358 <bp-checks.h>.
11359 (__libc_pread64): Don't use CHECK_N.
11360 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11361 <bp-checks.h>.
11362 (__libc_pwrite): Don't use CHECK_N.
11363 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11364 <bp-checks.h>.
11365 (__libc_pwrite64): Don't use CHECK_N.
11366 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11367 <bp-checks.h>.
11368 (__libc_msgrcv): Don't use CHECK_N.
11369 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11370 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
11371 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11372 (__libc_writev): Don't use CHECK_N.
11373
b84660a8
RM
113742013-02-08 Roland McGrath <roland@hack.frob.com>
11375
7f3e75f8
RM
11376 * string/strcpy.c: Removed unused variable.
11377
b84660a8
RM
11378 * Makeconfig (+sysdep-includes): Define with := rather than =.
11379 Use an existing include/ subdir of each sysdeps dir before it.
11380
471514d3
CD
113812013-02-08 Carlos O'Donell <carlos@redhat.com>
11382
11383 * nscd/connection.c (register_traced_file): Comment function.
11384 [HAVE_INOTIFY] (union __inev): Define.
11385 [HAVE_INOTIFY] (inotify_check_files): New function.
11386 [HAVE_INOTIFY] (clear_db_cache): Likewise.
11387 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
11388 clear_db_cache.
11389 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
11390
b2d3c3be
CD
113912013-02-08 Carlos O'Donell <carlos@redhat.com>
11392
11393 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
11394 loaded if not already and that a failure is permanent.
11395
b39949d2
CD
113962013-02-08 Carlos O'Donell <carlos@redhat.com>
11397
ddacd1db 11398 [BZ #15006]
b39949d2
CD
11399 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
11400 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
11401
b2c9eff4
JM
114022013-02-08 Joseph Myers <joseph@codesourcery.com>
11403
f3aae3f3
JM
11404 [BZ #13550]
11405 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
11406 (CHECK_1_NULL_OK): Likewise.
11407 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
11408 (__fxstat): Do not use CHECK_1.
11409 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
11410 <bp-checks.h>.
11411 (___fxstat64): Do not use CHECK_1.
11412 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
11413 <bp-checks.h>.
11414 (__fxstatat): Do not use CHECK_1.
11415 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
11416 <bp-checks.h>.
11417 (__fxstatat64): Do not use CHECK_1.
11418 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
11419 <bp-checks.h>.
11420 (__fxstat): Do not use CHECK_1.
11421 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
11422 <bp-checks.h>.
11423 (__fxstatat): Do not use CHECK_1.
11424 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
11425 <bp-checks.h>.
11426 (__getresgid): Do not use CHECK_1.
11427 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
11428 <bp-checks.h>.
11429 (__getresuid): Do not use CHECK_1.
11430 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
11431 <bp-checks.h>.
11432 (__lxstat): Do not use CHECK_1.
11433 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
11434 <bp-checks.h>.
11435 (__old_msgctl): Do not use CHECK_1.
11436 (__new_msgctl): Likewise.
11437 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
11438 <bp-checks.h>.
11439 (__new_setrlimit): Do not use CHECK_1.
11440 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
11441 <bp-checks.h>.
11442 (__old_shmctl): Do not use CHECK_1.
11443 (__new_shmctl): Likewise.
11444 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
11445 <bp-checks.h>.
11446 (__xstat): Do not use CHECK_1.
11447 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
11448 (__lxstat): Do not use CHECK_1.
11449 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
11450 <bp-checks.h>.
11451 (___lxstat64): Do not use CHECK_1.
11452 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
11453 (__old_msgctl): Do not use CHECK_1.
11454 (__new_msgctl): Likewise.
11455 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
11456 <bp-checks.h>.
11457 (__gettimeofday): Do not use CHECK_1.
11458 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
11459 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
11460 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
11461 <bp-checks.h>.
11462 (__gettimeofday): Do not use CHECK_1.
11463 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
11464 (__old_shmctl): Do not use CHECK_1_NULL_OK.
11465 (__new_shmctl): Do not use CHECK_1.
11466 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
11467 <bp-checks.h>.
11468 (do_sigtimedwait): Do not use CHECK_1.
11469 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
11470 <bp-checks.h>.
11471 (do_sigwaitinfo): Do not use CHECK_1.
11472 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
11473 <bp-checks.h>.
11474 (msgctl): Do not use CHECK_1.
11475 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
11476 <bp-checks.h>.
11477 (shmctl): Do not use CHECK_1.
11478 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
11479 (ustat): Do not use CHECK_1.
11480 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
11481 <bp-checks.h>.
11482 (__fxstat): Do not use CHECK_1.
11483 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
11484 <bp-checks.h>.
11485 (__fxstatat): Do not use CHECK_1.
11486 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
11487 <bp-checks.h>.
11488 (__lxstat): Do not use CHECK_1.
11489 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
11490 <bp-checks.h>.
11491 (__xstat): Do not use CHECK_1.
11492 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
11493 (__xstat): Do not use CHECK_1.
11494 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
11495 (___xstat64): Do not use CHECK_1.
11496
b2c9eff4
JM
11497 [BZ #13550]
11498 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
11499 definitions.
11500 (CHECK_BOUNDS_HIGH): Likewise.
11501 * string/strcpy.c: Do not include <bp-checks.h>.
11502 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
11503
f1d70dad
RM
115042013-02-07 Roland McGrath <roland@hack.frob.com>
11505
11506 * nscd/nscd-client.h (__nscd_drop_map_ref):
11507 Add __attribute__ ((unused)).
11508 * nis/nss-nisplus.h (niserr2nss): Likewise.
11509
11510 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
11511 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
11512
11513 * csu/libc-tls.c (init_static_tls, init_slotinfo):
11514 Remove inline keyword.
11515 * include/rounding-mode.h (round_away): Likewise.
11516 * libio/wfileops.c (adjust_wide_data): Likewise.
11517 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
11518 (__m128i_strloadu_tolower): Likewise.
11519 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
11520 (__m128i_strloadu_tolower): Likewise.
11521 * time/mktime.c (ydhms_diff): Likewise.
11522 * locale/elem-hash.h (elem_hash): Likewise.
11523 * locale/setlocale.c (setdata): Likewise.
11524 * posix/regex_internal.h (re_string_char_size_at): Likewise.
11525 (re_string_wchar_at): Likewise.
11526 (bitset_not, bitset_merge, bitset_mask): Likewise.
11527 [!(__GNUC__ > 3)] (inline): Remove macro.
11528 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
11529 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
11530 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
11531 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
11532 * string/memcmp.c (memcmp_bytes): Likewise.
11533 * locale/programs/locarchive.c (compute_hashval): Likewise.
11534 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
11535 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
11536 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
11537 * nss/getent.c (print_rpc, print_protocols): Likewise.
11538 (print_passwd, print_group, print_aliases): Likewise.
11539 * nis/nss-nisplus.h (niserr2nss): Likewise.
11540 * nscd/connections.c (restart_p): Likewise.
11541 Change return type to bool.
11542
eab55bfb
RM
115432013-02-05 Roland McGrath <roland@hack.frob.com>
11544
7bd642f5
RM
11545 * Makeconfig (all-Depend-files): Add existing
11546 $(sorted-subdirs:=/Depend) files.
11547 (all-subdirs): Remove nss.
11548 * sysdeps/unix/inet/Subdirs: Add it here instead.
11549 * hesiod/Depend: New file.
11550
573c29b2
RM
11551 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
11552 instead of calling alloca.
11553
b2e25af0
RM
11554 * io/lseek.c (__lseek): Rename to __libc_lseek.
11555 Define __lseek as an alias.
11556
eab55bfb
RM
11557 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
11558
9a0d1941
CD
115592013-02-04 Carlos O'Donell <carlos@redhat.com>
11560
11561 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
11562 else clause and remove check for non-standard endianness.
11563
b83bbec4
DM
115642013-02-04 David S. Miller <davem@davemloft.net>
11565
11566 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11567
6277fdab
JM
115682013-02-04 Joseph Myers <joseph@codesourcery.com>
11569
11570 [BZ #13550]
11571 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
11572 (__ubp_memchr): Remove prototype.
11573 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
11574 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11575 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
11576 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
11577 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
11578 Remove alias.
11579 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
11580 (__ubp_memchr): Likewise.
11581 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
11582 (__ubp_memchr): Likewise.
11583 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
11584 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
11585 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
11586 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
11587 CHECK_STRING.
11588 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
11589 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
11590 (__getcwd): Do not use CHECK_STRING.
11591 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
11592 <bp-checks.h>.
11593 (__real_chown): Do not use CHECK_STRING.
11594 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
11595 <bp-checks.h>.
11596 (fchownat): Do not use CHECK_STRING.
11597 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
11598 CHECK_STRING.
11599 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
11600 <bp-checks.h>.
11601 (__lchown): Do not use CHECK_STRING.
11602 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11603 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11604 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11605 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
11606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
11607 include <bp-checks.h>.
11608 (truncate64): Do not use CHECK_STRING.
11609 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
11610 <bp-checks.h>.
11611 (__real_chown): Do not use CHECK_STRING.
11612 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
11613 <bp-checks.h>.
11614 (__lchown): Do not use CHECK_STRING.
11615 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
11616 <bp-checks.h>.
11617 (__chown): Do not use CHECK_STRING.
11618 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
11619 <bp-checks.h>.
11620 (truncate64): Do not use CHECK_STRING.
11621 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
11622 Likewise.
11623 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
11624 (__xmknod): Do not use CHECK_STRING.
11625 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
11626 <bp-checks.h>.
11627 (__xmknodat): Do not use CHECK_STRING.
11628 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11629 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
11630
903ae060
AS
116312013-02-04 Andreas Schwab <schwab@suse.de>
11632
11633 [BZ #14142]
11634 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
11635 * include/netdb.h: Likewise for h_errno.
11636 * elf/tst-stackguard1.c: Include <tls.h>.
11637
542f9466
JK
116382013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
11639
11640 * elf/link.h (struct link_map): Extend the l_addr comment.
11641 * include/link.h (struct link_map): Likewise.
11642
e782a927
JM
116432013-02-01 Joseph Myers <joseph@codesourcery.com>
11644
11645 [BZ #13550]
11646 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
11647 (BOUNDED_1): Remove macro.
11648 * debug/backtrace.c: Don't include <bp-checks.h>.
11649 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
11650 (__backtrace): Likewise.
11651 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
11652 <bp-checks.h>.
11653 (__backtrace): Don't use BOUNDED_1.
11654 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
11655 <bp-checks.h>.
11656 (__backtrace): Don't use BOUNDED_1.
11657 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
11658 (__backtrace): Don't use BOUNDED_1.
11659 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
11660 (shmat): Don't use BOUNDED_N.
11661
8cf28c5e
JM
116622013-01-31 Joseph Myers <joseph@codesourcery.com>
11663
3a7ac8a0
JM
11664 [BZ #13550]
11665 * sysdeps/generic/bp-start.h: Remove file.
11666 * csu/libc-start.c: Don't include <bp-start.h>.
11667 (LIBC_START_MAIN): Set up __environ directly instead of using
11668 INIT_ARGV_and_ENVIRON.
11669 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
11670 <bp-start.h>.
11671
f3499f95
JM
11672 [BZ #13550]
11673 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
11674 definitions.
11675 (CHECK_FCNTL): Likewise.
11676 (CHECK_N_PAGES): Likewise.
11677
32a45bea
JM
11678 [BZ #13550]
11679 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
11680 definitions.
11681 (CHECK_SIGSET_NULL_OK): Likewise.
11682 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
11683 <bp-checks.h>.
11684 (sigpending): Don't use CHECK_SIGSET.
11685 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
11686 <bp-checks.h>.
11687 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11688 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
11689 <bp-checks.h>.
11690 (do_sigsuspend): Don't use CHECK_SIGSET.
11691 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
11692 use CHECK_SIGSET.
11693 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
11694 (do_sigwait): Don't use CHECK_SIGSET.
11695 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
11696 use CHECK_SIGSET.
11697 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
11698 include <bp-checks.h>.
11699 (sigpending): Don't use CHECK_SIGSET.
11700 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
11701 include <bp-checks.h>.
11702 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11703 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
11704 <bp-checks.h>.
11705 (sigpending): Don't use CHECK_SIGSET.
11706 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
11707 <bp-checks.h>.
11708 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
11709
2e8a5c8c
JM
11710 [BZ #13550]
11711 * sysdeps/generic/bp-semctl.h: Remove file.
11712 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
11713 <bp-checks.h> and <bp-semctl.h>.
11714 (__old_semctl): Don't use CHECK_SEMCTL.
11715 (__new_semctl): Likewise.
11716 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
11717 and <bp-semctl.h>.
11718 (__old_semctl): Don't use CHECK_SEMCTL.
11719 (__new_semctl): Likewise.
11720 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
11721 <bp-checks.h> and <bp-semctl.h>.
11722 (__old_semctl): Don't use CHECK_SEMCTL.
11723 (__new_semctl): Likewise.
11724 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
11725 <bp-checks.h> and <bp-semctl.h>.
11726 (semctl): Don't use CHECK_SEMCTL.
11727
c2d54929
JM
11728 [BZ #13550]
11729 * Makerules (elide-bp-thunks): Remove variable.
11730 (elide-routines.oS): Don't use $(elide-bp-thunks).
11731 (elide-routines.os): Likewise.
11732 (elide-routines.o): Likewise.
11733 (elide-routines.op): Likewise.
11734 (elide-routines.og): Likewise.
11735 (objects): Don't use $(bp-thunks).
11736 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
11737 include.
11738 (common-generated): Do not add s-proto-bp.d.
11739 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
11740 (int): Likewise.
11741 (typ): Likewise.
11742 Do not generate makefile rules for bounded-pointer thunks.
11743 * sysdeps/generic/bp-thunks.h: Remove file.
11744 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
11745 * sysdeps/unix/s-proto-bp.S: Likewise.
11746
8cf28c5e
JM
11747 [BZ #15062]
11748 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
11749 parts of result separately when argument is not close to line from
11750 -i to i and one part of argument is small.
11751 * math/k_casinhf.c (__kernel_casinhf): Likewise.
11752 * math/k_casinhl.c (__kernel_casinhl): Likewise.
11753 * math/libm-test.inc (cacos_test): Add more tests.
11754 (casin_test): Likewise.
11755 (casinh_test): Likewise.
11756 * sysdeps/i386/fpu/libm-test-ulps: Update.
11757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11758
c4e33b8d
DM
117592013-01-31 David S. Miller <davem@davemloft.net>
11760
11761 * po/de.po: Update from translation team.
11762
3b60b421
MK
117632013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
11764
11765 * time/tzfile.c: Include stdint.h for SIZE_MAX.
11766
bb931195
TS
117672013-01-25 Thomas Schwinge <thomas@codesourcery.com>
11768
b5a5da23
TS
11769 * configure.in (_AC_PROG_CC_C89): New definition.
11770 * configure: Regenerate.
11771
bb931195
TS
11772 * configure.in (AC_PROG_CPP): New definition.
11773 * configure: Regenerate.
11774
8c53a12c
JM
117752013-01-23 Joseph Myers <joseph@codesourcery.com>
11776
11777 * debug/tst-backtrace.h: New file.
11778 * debug/tst-backtrace2.c: Include tst-backtrace.h.
11779 (ret): Remove variable.
11780 (x): Likewise.
11781 (FAIL): Remove macro.
11782 (NO_INLINE): Likewise.
11783 (fn1): Use match function instead of strstr.
11784 * debug/tst-backtrace3.c: Include tst-backtrace.h.
11785 (ret): Remove variable.
11786 (x): Likewise.
11787 (FAIL): Remove macro.
11788 (NO_INLINE): Likewise.
11789 (fn): Use match function instead of strstr.
11790 * debug/tst-backtrace4.c: Include tst-backtrace.h.
11791 (ret): Remove variable.
11792 (x): Likewise.
11793 (FAIL): Remove macro.
11794 (NO_INLINE): Likewise.
11795 (handle_signal): Use match function instead of strstr.
11796 * debug/tst-backtrace5.c: Include tst-backtrace.h.
11797 (ret): Remove variable.
11798 (x): Likewise.
11799 (FAIL): Remove macro.
11800 (NO_INLINE): Likewise.
11801 (handle_signal): Use match function instead of strstr.
11802
4858fa2a
RM
118032013-01-23 Roland McGrath <roland@hack.frob.com>
11804
11805 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
11806
bae8e7f5
DM
118072013-01-23 David S. Miller <davem@davemloft.net>
11808
11809 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
11810 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
11811 argument of CAS if possible.
11812 * sysdeps/sparc/sparc64/bits/atomic.h
11813 (__arch_compare_and_exchange_val_32_acq): Likewise.
11814 (__arch_compare_and_exchange_val_64_acq): Likewise.
11815
9cbbc4ae
PT
118162013-01-23 Pino Toscano <toscano.pino@tiscali.it>
11817
11818 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
11819 * sysdeps/posix/ulimit.c: ... this.
92a601b8 11820 Include <limits.h>.
67b3f58c 11821 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 11822
5655a0b5
AC
118232013-01-23 Adam Conrad <adconrad@0c3.net>
11824
11825 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
11826 (LDFLAGS-tst-array5): Likewise.
11827
052aff95
JM
118282013-01-23 Joseph Myers <joseph@codesourcery.com>
11829
11830 [BZ #15036]
11831 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
11832 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
11833 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
11834 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
11835
7c1e01aa
DM
118362013-01-21 David S. Miller <davem@davemloft.net>
11837
11838 * sysdeps/sparc/backtrace.c: New file.
11839 * sysdeps/sparc/sparc32/backtrace.h: New file.
11840 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
11841 * sysdeps/sparc/sparc64/backtrace.h: New file.
11842 * sysdeps/sparc/sparc64/backtrace.c: Delete.
11843 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
11844 -funwind-tables.
11845
ab087e0a
AS
118462013-01-21 Andreas Schwab <schwab@suse.de>
11847
11848 [BZ #15020]
11849 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
11850 closed its stdout.
11851
ed689c2f
AS
118522013-01-20 Andreas Schwab <schwab@linux-m68k.org>
11853
11854 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
11855 "mpa2.h".
11856 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
11857
31d470ac
JM
118582013-01-18 Joseph Myers <joseph@codesourcery.com>
11859 Mark Mitchell <mark@codesourcery.com>
11860 Tom de Vries <tom@codesourcery.com>
11861 Paul Pluzhnikov <ppluzhnikov@google.com>
11862
11863 * debug/tst-backtrace2.c: New file.
11864 * debug/tst-backtrace3.c: Likewise.
11865 * debug/tst-backtrace4.c: Likewise.
11866 * debug/tst-backtrace5.c: Likewise.
11867 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
11868 (CFLAGS-tst-backtrace3.c): Likewise.
11869 (CFLAGS-tst-backtrace4.c): Likewise.
11870 (CFLAGS-tst-backtrace5.c): Likewise.
11871 (LDFLAGS-tst-backtrace2): Likewise.
11872 (LDFLAGS-tst-backtrace3): Likewise.
11873 (LDFLAGS-tst-backtrace4): Likewise.
11874 (LDFLAGS-tst-backtrace5): Likewise.
11875 (tests): Add new tests tst-backtrace2, tst-backtrace3,
11876 tst-backtrace4 and tst-backtrace5.
11877
90567f30 118782013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
11879 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11880
11881 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
11882 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
11883 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
11884 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
11885 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
11886 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
11887 "+r" and remove output regs list as redundant. Add explicit inline
11888 asm to specify register of return val to work around compiler codegen
11889 bug. Remove (int) cast on return value. Add return type parameter to
11890 use in macro so that this macro does not truncate return value for
11891 64-bit values.
11892 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
11893 pass to INTERNAL_VSYSCALL_NCS.
11894 (INLINE_VSYSCALL): Add 'long int' as return type to
11895 INTERNAL_VSYSCALL_NCS macro invocation.
11896 (INTERNAL_VSYSCALL): Add 'long int' as return type to
11897 INTERNAL_VSYSCALL_NCS macro invocation.
11898 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
11899
d3b9ea61
SP
119002013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11901
0b57daeb
SP
11902 [BZ #14496]
11903 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
11904 Fix application of SIMD FP exception mask.
11905
caa99d06
SP
11906 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
11907 mp_no from a power of two.
11908 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
11909 __mpexp_twomm1. Use __pow_mp.
11910
d3b9ea61
SP
11911 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
11912 multiplication.
11913
1dbaee3c
DM
119142013-01-17 David S. Miller <davem@davemloft.net>
11915
11916 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11917
728d7b43
JM
119182013-01-17 Joseph Myers <joseph@codesourcery.com>
11919
11920 [BZ #15023]
11921 * include/complex.h: Condition contents on [!_COMPLEX_H].
11922 (__kernel_casinhf): New prototype.
11923 (__kernel_casinh): Likewise.
11924 (__kernel_casinhl): Likewise.
11925 * math/Makefile (libm_calls): Add k_casinh.
11926 * math/k_casinh.c: New file.
11927 * math/k_casinhf.c: Likewise.
11928 * math/k_casinhl.c: Likewise.
11929 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
11930 finite nonzero arguments.
11931 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
11932 finite nonzero arguments.
11933 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
11934 finite nonzero arguments.
11935 * math/s_casinh.c: Do not include <float.h>.
11936 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
11937 * math/s_casinhf.c: Do not include <float.h>.
11938 (__casinhf): Move code for finite nonzero arguments to
11939 k_casinhf.c.
11940 * math/s_casinhl.c: Do not include <float.h>.
11941 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
11942 redefine.
11943 (__casinhl): Move code for finite nonzero arguments to
11944 k_casinhl.c.
11945 * math/libm-test.inc (cacos_test): Add more tests.
11946 * sysdeps/i386/fpu/libm-test-ulps: Update.
11947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11948
2a26ef3a
PT
119492013-01-17 Pino Toscano <toscano.pino@tiscali.it>
11950
11951 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
11952 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
11953 [!HAVE_MREMAP]: Remove [defined linux] case.
11954 * malloc/arena.c: Do not include <malloc-sysdep.h>.
11955
a897655d
SP
119562013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
11957
11958 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
11959
881ebe89 119602013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
11961
11962 * elf/elf.h (R_386_SIZE32): New relocation.
11963 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
11964 R_386_SIZE32.
11965 (elf_machine_rela): Likewise.
11966 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
11967 R_X86_64_SIZE64 and R_X86_64_SIZE32.
11968
59981e9b
JM
119692013-01-17 Joseph Myers <joseph@codesourcery.com>
11970
11971 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
11972 (FP_FAST_FMA): Do not define.
11973 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
11974 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
11975 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
11976 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
11977 !_SOFT_FLOAT]: Likewise.
11978 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
11979 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
11980 value.
11981 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
11982 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
11983 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
11984 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
11985 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
11986 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
11987 file.
11988
cfa8054f
AS
119892013-01-16 Andreas Schwab <schwab@suse.de>
11990
11991 [BZ #14327]
11992 * include/stdlib.h (__mktemp): Add declaration.
11993 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
11994 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
11995
dd930cc5
SP
119962013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
11997
881ebe89
SP
11998 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
11999 definitions.
12000 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12001 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12002 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12003 definitions here.
12004 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12005 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12006 definitions.
12007 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12008 and ONE.
12009 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12010 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12011 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12012 definitions.
12013 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12014 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12015 definitions.
12016 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 12017
dd930cc5
SP
12018 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12019
c19a9f89
DM
120202013-01-15 David S. Miller <davem@davemloft.net>
12021
1aa61767
DM
12022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12023 trunc{,f} to libm-sysdep_routes.
12024 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12025 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12026 file.
12027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12029 file.
12030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12031 file.
12032 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12033 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12034 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12035 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12036 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12037 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12038 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12039 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12040
c42d5e98
DM
12041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12042 nearbyint{,f} to libm-sysdep_routes.
12043 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12045 New file.
12046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12047 file.
12048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12049 New file.
12050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12051 file.
12052 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12054 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12055 file.
12056 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12057 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12058 file.
12059 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12060 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12061 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12062
c19a9f89
DM
12063 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12064 libc_feholdexcept and libc_fesetenv.
12065
357679d2
MF
120662013-01-15 Mike Frysinger <vapier@gentoo.org>
12067
12068 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12069
65a82e3d
DM
120702013-01-14 David S. Miller <davem@davemloft.net>
12071
8b954ab9
DM
12072 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12073 (SPARC_ASM_VIS2_IFUNC): Likewise.
12074 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12076 use of 'siam' instruction.
12077 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12078 Likewise.
12079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12080 Likewise.
12081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12082 Likewise.
12083 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12084 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12085 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12086 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12088 file.
12089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12090 file.
12091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12092 file.
12093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12094 file.
12095 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12096 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12097 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12098 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12100 new VIS2 routines.
12101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12104 Likewise.
12105 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12106 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12107 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12108 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12110 routines to libm-sysdep_routines.
12111 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12112
65a82e3d
DM
12113 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12114 fdim/fdimf to libm-sysdep_routines.
12115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12116 file.
12117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12119 file.
12120 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12121 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12122 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12123 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12124 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12125 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12126 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12127
e34ab705
SP
121282013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
12129
2a91b573
SP
12130 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12131 to optimize copies.
12132
1066a534
SP
12133 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12134 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12135 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12136
e34ab705
SP
12137 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12138 local variable MPTWO.
12139 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12140 Likewise.
12141
aba5e596
MF
121422013-01-13 Mike Frysinger <vapier@gentoo.org>
12143
12144 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12145 GLOB_NOESCAPE.
12146
e557e9e5
MF
121472013-01-13 Mike Frysinger <vapier@gentoo.org>
12148
12149 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12150
0428cec9
MF
121512013-01-13 Mike Frysinger <vapier@gentoo.org>
12152
12153 * manual/pattern.texi (glob_t): Document gl_flags.
12154 (glob64_t): Likewise.
12155
8794a964
DM
121562013-01-11 David S. Miller <davem@davemloft.net>
12157
66438c3f
RM
12158 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12159 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12160 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
12161 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12162 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12163 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12164 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12165 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12166 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12167 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12168 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12169 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12170 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12171
4ae4244d
DM
12172 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12173 sparc V9 rather than using V8 code.
12174 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12175 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12176
8794a964
DM
12177 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12178 Move to...
12179 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12180 Here.
12181
6270516e
RM
121822013-01-11 Roland McGrath <roland@hack.frob.com>
12183
12184 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12185 not in the main loop.
12186 * configure: Regenerated.
12187
6a57d931
JM
121882013-01-11 Joseph Myers <joseph@codesourcery.com>
12189
12190 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12191 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12192 to just #else.
12193 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
12194 [!__GLIBC_HAVE_LONG_LONG] case.
12195 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12196 condition to just #else.
12197 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12198 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12199 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12200 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12201 unconditional.
12202 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12203 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12204 #elif condition to just #else.
12205 * sysdeps/unix/sysv/linux/sys/sysmacros.h
12206 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12207 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12208 #elif condition to just #else.
12209
0e8529e9
SE
122102013-01-11 Steve Ellcey <sellcey@mips.com>
12211
12212 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12213 (EF_MIPS_ARCH_64): Fix value.
12214 (EF_MIPS_ARCH_32R2): New.
12215 (EF_MIPS_ARCH_64R2): New.
12216
740b3dbe
L
122172013-01-11 H.J. Lu <hongjiu.lu@intel.com>
12218
12219 * Makeconfig (+link-pie-before-libc): New.
12220 (+link-pie-after-libc): Likewise.
12221 (+link-pie-tests): Likewise.
12222 (+link-pie): Rewritten.
12223 (link-before-libc): Remove $(config-LDFLAGS).
12224 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12225 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12226 (config-LDFLAGS): Renamed to ...
12227 (rtld-LDFLAGS): This.
12228 (rtld-tests-LDFLAGS): New macro.
12229 (link-libc-rpath-link): Likewise.
12230 (link-libc-tests-rpath-link): Likewise.
12231 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12232 (link-libc): Prepand $(link-libc-rpath-link).
12233 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12234 (test-program-prefix): New macro.
12235 (test-via-rtld-prefix): Likewise.
12236 (test-program-cmd): Likewise.
12237 (host-test-program-cmd): Likewise.
12238 * Makefile ($(common-objpfx)testrun.sh): Replace
12239 $(run-program-prefix) with $(test-program-prefix).
12240 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12241 $(rtld-LDFLAGS).
12242 ($(common-objpfx)shlib.lds): Likewise.
12243 (build-module-helper): Likewise.
12244 ($(common-objpfx)format.lds): Likewise.
12245 * Rules (binaries-pie-tests): New.
12246 (binaries-pie-notests): Likewise.
12247 (binaries-pie): Rewritten.
12248 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12249 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12250 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12251 (make-test-out): Replace $(host-built-program-cmd) with
12252 $(host-test-program-cmd).
12253 * config.make.in (build-hardcoded-path-in-tests): New variable.
12254 * configure.in (--enable-hardcoded-path-in-tests): New configure
12255 option.
12256 (hardcoded_path_in_tests): New AC_SUBST.
12257 * configure: Regenerated.
12258 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12259 $(built-program-cmd) with $(test-program-cmd).
12260 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12261 (test_program_cmd): This.
12262 * elf/Makefile ($(objpfx)order.out): Run test with
12263 $(test-program-prefix).
12264 ($(objpfx)order2.out): Likewise.
12265 ($(objpfx)tst-initorder.out): Likewise.
12266 ($(objpfx)tst-initorder2.out): Likewise.
12267 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12268 $(test-program-cmd).
12269 ($(objpfx)tst-array1-static.out): Likewise.
12270 ($(objpfx)tst-array2.out): Likewise.
12271 ($(objpfx)tst-array3.out): Likewise.
12272 ($(objpfx)tst-array4.out): Likewise.
12273 ($(objpfx)tst-array5.out): Likewise.
12274 ($(objpfx)tst-array5-static.out): Likewise.
12275 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12276 $(test-program-cmd).
12277 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12278 $(run-program-prefix) with $(test-program-prefix).
12279 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12280 (test_program_prefix): This.
12281 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12282 $(run-program-prefix) with $(test-program-prefix).
12283 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12284 (test_program_prefix): This.
12285 * iconvdata/tst-tables.sh: Likewise.
12286 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12287 $(run-program-prefix) with $(test-program-prefix).
12288 ($(objpfx)tst-translit.out): Likewise.
12289 ($(objpfx)tst-gettext2.out): Likewise.
12290 ($(objpfx)tst-gettext4.out): Likewise.
12291 ($(objpfx)tst-gettext6.out): Likewise.
12292 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12293 (test_program_prefix): This.
12294 * intl/tst-gettext2.sh: Likewise.
12295 * intl/tst-gettext4.sh Likewise.
12296 * intl/tst-gettext6.sh: Likewise.
12297 * intl/tst-translit.sh: Likewise.
12298 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12299 with $(test-program-cmd).
12300 * libio/Makefile ($(objpfx)test-freopen.out): Replace
12301 $(run-program-prefix) with $(test-program-prefix).
12302 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12303 (test_program_prefix): This.
12304 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12305 $(run-program-prefix) with $(test-program-prefix).
12306 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12307 (test_program_prefix): This.
12308 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12309 * posix/Makefile ($(objpfx)globtest.out): Replace
12310 $(run-via-rtld-prefix) and $(test-wrapper) with
12311 $(test-program-prefix) and $(test-via-rtld-prefix).
12312 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12313 $(test-program-prefix).
12314 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12315 $(host-test-program-cmd).
12316 (tst-spawn-ARGS): Likewise.
12317 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12318 $(test-program-prefix).
12319 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12320 (test_via_rtld_prefix): This.
12321 (test_wrapper): Renamed to ...
12322 (test_program_prefix): This.
12323 (run_program_prefix): Replaced by test_program_prefix.
12324 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12325 (test_program_prefix): This.
12326 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12327 with $(host-test-program-cmd).
12328 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12329 $(run-program-prefix) with $(test-program-prefix).
12330 ($(objpfx)tst-printf.out): Likewise.
12331 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12332 $(test-program-cmd).
12333 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12334 (test_program_prefix): This.
12335 * stdio-common/tst-unbputc.sh: Likewise.
12336 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12337 $(run-program-prefix) with $(test-program-prefix).
12338 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12339 (test_program_prefix): This.
12340 * string/Makefile ($(objpfx)tst-svc.out): Replace
12341 $(built-program-cmd) with $(test-program-cmd).
12342
c6fe55cf
AJ
123432013-01-11 Andreas Jaeger <aj@suse.de>
12344
12345 [BZ #15003]
12346 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12347 value. Sync with Linux 3.7.
12348
9e6919c8
DM
123492013-01-10 David S. Miller <davem@davemloft.net>
12350
12351 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12352 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12353 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12354
1c9f1a02
RM
123552013-01-10 Roland McGrath <roland@hack.frob.com>
12356
12357 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12358 never set.
12359 * configure: Regenerated.
12360
b9de2dde
DM
123612013-01-10 David S. Miller <davem@davemloft.net>
12362
12363 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12364 sparc V9 rather than using V8 code.
12365 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12366 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12367
e7f68ef4
RM
123682013-01-10 Roland McGrath <roland@hack.frob.com>
12369
12370 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12371 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12372 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12373 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12374 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12375 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12376 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12377 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12378 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12379 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12380 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12381 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12382 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12383 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12384 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12385 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
12386 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
12387 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
12388 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
12389 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
12390 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
12391 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
12392 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
12393 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
12394 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
12395 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
12396 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
12397
5a47cc9c
DM
123982013-01-10 David S. Miller <davem@davemloft.net>
12399
12400 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12401
4cf8f209
L
124022013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12403
12404 * posix/Makefile (tests-static): New variable.
12405 (tests): Add $(tests-static).
12406 (tst-exec-static-ARGS): New variable.
12407 (tst-spawn-static-ARGS): Likewise.
12408 * posix/tst-exec-static.c: New file.
12409 * posix/tst-spawn-static.c: Likewise.
12410 * posix/tst-exec.c: Support run directly.
12411 * posix/tst-spawn.c: Likewise.
12412
fed0faa1
JM
124132013-01-10 Joseph Myers <joseph@codesourcery.com>
12414
828beb13
JM
12415 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
12416 long.
12417 * math/bits/mathcalls.h (llrint): Likewise.
12418 (llround): Likewise.
12419 * stdlib/stdlib.h (struct drand48_data): Likewise.
12420 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
12421 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
12422 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
12423 Likewise.
12424 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
12425 Likewise.
12426 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
12427 (elf_greg_t): Likewise.
12428 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
12429 (__jmp_buf): Likewise.
12430 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
12431 definitions.
12432 (llrint): Likewise, for all definitions.
12433 (llrintl): Likewise.
12434
fed0faa1
JM
12435 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
12436 Remove [__GNUC__] condition.
12437 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
12438 condition to just [__USE_ISOC99].
12439 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
12440
1a20cb20
L
124412013-01-10 H.J. Lu <hongjiu.lu@intel.com>
12442
12443 [BZ #14200]
12444 * sysdeps/unix/sysv/linux/x86/bits/environments.h
12445 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
12446 defined.
12447 (_POSIX_V6_ILP32_OFF32): Likewise.
12448 (_XBS5_ILP32_OFF32): Likewise.
12449 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
12450 (__ILP32_OFFBIG_LDFLAGS): Likewise.
12451
751b85f7
SP
124522013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12453
7490eb81
SP
12454 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
12455
751b85f7
SP
12456 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
12457 doubles __mpexp_twomm1. Adjust usage.
12458 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
12459 Remove.
12460
988197f0
AS
124612013-01-10 Andreas Schwab <schwab@suse.de>
12462
12463 [BZ #14964]
12464 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
12465 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
12466
e83d7298
DM
124672013-01-09 David S. Miller <davem@davemloft.net>
12468
034ed64b 12469 [BZ #15003]
e83d7298
DM
12470 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
12471 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
12472 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
12473 TCP_FASTOPEN): Define.
12474 (tcp_repair_opt): New structure.
12475 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
12476 enum values.
12477 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
12478 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
12479 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
12480 (tcp_cookie_transactions): New structure.
12481
d5e0b9bd
AB
124822013-01-09 Anton Blanchard <anton@samba.org>
12483
12484 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
12485 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
12486 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
12487 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
12488
0c07e3ea
JM
124892013-01-09 Joseph Myers <joseph@codesourcery.com>
12490
12491 * include/features.h (__USE_ANSI): Remove.
12492
232f7002
RM
124932013-01-09 Roland McGrath <roland@hack.frob.com>
12494
ad98e30c
RM
12495 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
12496
232f7002
RM
12497 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
12498
950c99ca
SP
124992013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
12500
b5792741
SP
12501 * sysdeps/s390/fpu/libm-test-ulps: Update.
12502
47cf2278
SP
12503 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12504
950c99ca
SP
12505 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
12506 (__acr): Likewise.
12507 (__cpy): Likewise.
12508 (norm): Likewise.
12509 (denorm): Likewise.
12510 (__mp_dbl): Likewise.
12511 (__dbl_mp): Likewise.
12512 (add_magnitudes): Likewise.
12513 (sub_magnitudes): Likewise.
12514 (__add): Likewise.
12515 (__sub): Likewise.
12516 (__mul): Likewise.
12517 (__inv): Likewise.
12518 (__dvd): Likewise.
12519 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
12520 (__acr): Likewise.
12521 (__cpy): Likewise.
12522 (norm): Likewise.
12523 (denorm): Likewise.
12524 (__mp_dbl): Likewise.
12525 (__dbl_mp): Likewise.
12526 (add_magnitudes): Likewise.
12527 (sub_magnitudes): Likewise.
12528 (__add): Likewise.
12529 (__sub): Likewise.
12530 (__mul): Likewise.
12531 (__inv): Likewise.
12532 (__dvd): Likewise.
12533 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
12534 (__acr): Likewise.
12535 (__cpy): Likewise.
12536 (norm): Likewise.
12537 (denorm): Likewise.
12538 (__mp_dbl): Likewise.
12539 (__dbl_mp): Likewise.
12540 (add_magnitudes): Likewise.
12541 (sub_magnitudes): Likewise.
12542 (__add): Likewise.
12543 (__sub): Likewise.
12544 (__mul): Likewise.
12545 (__inv): Likewise.
12546 (__dvd): Likewise.
12547
eede9df9
JM
125482013-01-08 Joseph Myers <joseph@codesourcery.com>
12549
12550 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
12551 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
12552 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
12553 2 && __USE_EXTERN_INLINES]: Likewise.
12554
c40ea3d9
AJ
125552013-01-08 Andreas Jaeger <aj@suse.de>
12556
12557 [BZ# 14985]
12558 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
12559 Remove.
12560 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12561 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
12562
2ccdea26
AB
125632013-01-07 Anton Blanchard <anton@samba.org>
12564
12565 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
12566 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12567 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
12568 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12569 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12570 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12571 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
12572 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12573 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12574 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12575 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12576 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12577 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
12578 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12579 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
12580 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12581 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12582 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12583 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
12584 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12585 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
12586 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
12587 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
12588 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
12589 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
12590 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12591 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
12592 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12593 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
12594 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
12595 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
12596 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12597 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12598 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12599 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12600 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
12601 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12602 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
12603 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
12604 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
12605 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
12606 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
12607 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12608
a9708fed
JM
126092013-01-07 Joseph Myers <joseph@codesourcery.com>
12610
375607b9
JM
12611 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
12612 (__MALLOC_PMT): Likewise.
12613 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
12614 [__GNUC__], only on [_LIBC].
12615 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12616 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
12617 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
12618 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
12619 forward declaration.
12620 (realloc_hook_ini): Likewise.
12621 (memalign_hook_ini): Likewise.
12622 (__libc_memalign): Do not use __MALLOC_PMT in variable
12623 declaration.
12624 (__libc_valloc): Likewise.
12625 (__libc_pvalloc): Likewise.
12626 (__libc_calloc): Likewise.
12627 (__posix_memalign): Likewise.
12628
a9708fed
JM
12629 [BZ #14996]
12630 * math/s_casinh.c: Include <float.h>.
12631 (__casinh): Do not do computation with squaring and square root
12632 for large arguments.
12633 * math/s_casinhf.c: Include <float.h>.
12634 (__casinhf): Do not do computation with squaring and square root
12635 for large arguments.
12636 * math/s_casinhl.c: Include <float.h>.
12637 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
12638 (__casinhl): Do not do computation with squaring and square root
12639 for large arguments.
12640 * math/libm-test.inc (casin_test): Add more tests.
12641 (casinh_test): Likewise.
12642 * sysdeps/i386/fpu/libm-test-ulps: Update.
12643 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12644
afec409a
L
126452013-01-04 H.J. Lu <hongjiu.lu@intel.com>
12646
12647 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
12648 (__x86_64_raw_data_cache_size): Likewise.
12649 (__x86_64_data_cache_size_half): Likewise.
12650 (__x86_64_raw_data_cache_size_half): Likewise.
12651 (__x86_64_shared_cache_size): Likewise.
12652 (__x86_64_raw_shared_cache_size): Likewise.
12653 (__x86_64_shared_cache_size_half): Likewise.
12654 (__x86_64_raw_shared_cache_size_half): Likewise.
12655 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
12656 to ...
12657 (__x86_data_cache_size): This.
12658 (__x86_64_raw_data_cache_size): Renamed to ...
12659 (__x86_raw_data_cache_size): This.
12660 (__x86_64_data_cache_size_half): Renamed to ...
12661 (__x86_data_cache_size_half): This.
12662 (__x86_64_raw_data_cache_size_half): Renamed to ...
12663 (__x86_raw_data_cache_size_half): This.
12664 (__x86_64_shared_cache_size): Renamed to ...
12665 (__x86_shared_cache_size): This.
12666 (__x86_64_raw_shared_cache_size): Renamed to ...
12667 (__x86_raw_shared_cache_size): This.
12668 (__x86_64_shared_cache_size_half): Renamed to ...
12669 (__x86_shared_cache_size_half): This.
12670 (__x86_64_raw_shared_cache_size_half): Renamed to ...
12671 (__x86_raw_shared_cache_size_half): This.
12672 * sysdeps/x86_64/memcpy.S: Updated.
12673 * sysdeps/x86_64/memset.S: Likewise.
12674 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
12675 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
12676 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
12677
0b3986d0
DM
126782013-01-04 David S. Miller <davem@davemloft.net>
12679
12680 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12681
e47686e9
AS
126822013-01-04 Andreas Schwab <schwab@linux-m68k.org>
12683
d643bac1
AS
12684 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
12685 1 to avoid redefinition warning.
12686 (__USE_GNU): Don't define.
12687 (init_signaling_nan): Protoize.
12688
e47686e9
AS
12689 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12690
b18decba
SP
126912013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12692
fffb407f
SP
12693 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
12694 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
12695 (__cpymn): Likewise.
12696 (norm): Remove commented code.
12697 (denorm): Likewise.
12698 (__mp_dbl): Likewise.
12699 (__inv): Likewise.
12700 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
12701 (__cpymn): Likewise.
12702 (norm): Remove commented code.
12703 (denorm): Likewise.
12704 (__mp_dbl): Likewise.
12705 (__inv): Likewise.
12706
b18decba
SP
12707 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
12708 mp_no value for 1.0 and 2.0.
12709 (norm): Use RADIXI instead of radixi.d.
12710 (denorm): Likewise.
12711 (__mul): Use 0.0 instead of zero.d.
12712 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
12713 mp_no value for 1.0 and 2.0.
12714 (norm): Use RADIXI instead of radixi.d.
12715 (denorm): Likewise.
12716 (__mul): Use 0.0 instead of zero.d.
12717
cdc1c96f
JM
127182013-01-04 Joseph Myers <joseph@codesourcery.com>
12719
12720 [BZ #14994]
12721 * math/s_casinh.c (__casinh): Reduce finite argument to first
12722 quadrant then set signs of results at the end.
12723 * math/s_casinhf.c (__casinhf): Likewise.
12724 * math/s_casinhl.c (__casinhl): Likewise.
12725 * math/libm-test.inc (casin_test): Add more tests.
12726 (casinh_test): Likewise.
12727 * sysdeps/i386/fpu/libm-test-ulps: Update.
12728 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12729
302913e1
SP
127302013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
12731
6420d207
SP
12732 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
12733
a9e48ab4
SP
12734 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
12735
b7837264
SP
12736 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
12737 declarations.
12738 (denorm): Likewise.
12739 (__mp_dbl): Likewise.
12740 (__inv): Likewise.
12741
f8af25d2
SP
12742 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
12743 and adjust the header comment.
12744
302913e1
SP
12745 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
12746 variable name from declaration.
12747
5d7dd1ca
L
127482013-01-03 H.J. Lu <hongjiu.lu@intel.com>
12749
12750 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12751 Initialize COMMON_CPUID_INDEX_7 element.
12752 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
12753 (CPUID_RTM): Likewise.
12754 (HAS_RTM): Likewise.
12755 (COMMON_CPUID_INDEX_7): New enum.
12756
2f5f40f4
AS
127572013-01-03 Andreas Schwab <schwab@linux-m68k.org>
12758
12759 [BZ #14981]
12760 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
12761 size is zero, record memory as freed.
12762
4056f4a0
AJ
127632013-01-03 Andreas Jaeger <aj@suse.de>
12764
12765 * po/ia.po: Add new Interlingua translation.
12766
ab15736f 127672012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
12768
12769 * locale/programs/localedef.c: Fix description of '--posix' flag.
12770
568035b7
JM
127712013-01-02 Joseph Myers <joseph@codesourcery.com>
12772
e6898b8d
JM
12773 * NEWS: Update dates in second copyright notice.
12774 * README: Update copyright dates in example.
12775 * manual/libc.texinfo: Update copyright dates.
12776 * scripts/test-installation.pl: Update copyright date in --version
12777 output.
12778
0e2f9562
JM
12779 * hurd/ctty-input.c: Fix copyright notice formatting.
12780 * hurd/ctty-output.c: Likewise.
12781 * hurd/dtable.c: Likewise.
12782 * hurd/hurd-raise.c: Likewise.
12783 * hurd/hurdprio.c: Likewise.
12784 * hurd/msgportdemux.c: Likewise.
12785 * misc/sys/file.h: Likewise.
12786 * misc/sys/ioctl.h: Likewise.
12787 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
12788 * sysdeps/mach/hurd/chdir.c: Likewise.
12789 * sysdeps/mach/hurd/fchdir.c: Likewise.
12790 * sysdeps/mach/hurd/rename.c: Likewise.
12791 * sysdeps/mach/hurd/rmdir.c: Likewise.
12792 * sysdeps/mach/hurd/seekdir.c: Likewise.
12793 * sysdeps/mach/hurd/setsid.c: Likewise.
12794 * sysdeps/posix/wait3.c: Likewise.
12795
568035b7
JM
12796 * All files with FSF copyright notices: Update copyright dates
12797 using scripts/update-copyrights.
12798 * intl/plural.c: Regenerated.
12799 * locale/programs/charmap-kw.h: Likewise.
12800 * locale/programs/locfile-kw.h: Likewise.
12801
da08f647
SP
128022013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
12803
0f5477af
SP
12804 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
12805 four values.
12806
44e0d4c2
SP
12807 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
12808 calculation loop and add branch prediction.
12809
4d55b4e5
SP
12810 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
12811 check access beyond bounds of m1np.
12812
da08f647
SP
12813 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
12814 MPTWO.
12815 (__inv): Remove local variable MPTWO to use the global
12816 constant.
12817 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
12818 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
12819 variable MPTWO.
12820 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
12821 MP3HALFS static const.
12822
8e051029
DM
128232013-01-01 David S. Miller <davem@davemloft.net>
12824
12825 * po/ca.po: Update from translation team.
12826
f4cf5f2d
JM
128272013-01-01 Joseph Myers <joseph@codesourcery.com>
12828
12829 * scripts/update-copyrights: New file.
12830 * Makeconfig: Reformat copyright notice.
12831 * ctype/ctype.h: Likewise.
12832 * debug/swprintf_chk.c: Likewise.
12833 * elf/dl-cache.c: Likewise.
12834 * elf/dl-debug.c: Likewise.
12835 * elf/dl-object.c: Likewise.
12836 * grp/initgroups.c: Likewise.
12837 * hurd/Makefile: Likewise.
12838 * hurd/hurd/signal.h: Likewise.
12839 * hurd/hurdfault.c: Likewise.
12840 * hurd/hurdioctl.c: Likewise.
12841 * hurd/hurdlookup.c: Likewise.
12842 * hurd/intr-msg.c: Likewise.
12843 * iconv/gconv_open.c: Likewise.
12844 * libio/swprintf.c: Likewise.
12845 * locale/lc-ctype.c: Likewise.
12846 * locale/nl_langinfo.c: Likewise.
12847 * mach/Machrules: Likewise.
12848 * mach/Makefile: Likewise.
12849 * malloc/obstack.h: Likewise.
12850 * manual/Makefile: Likewise.
12851 * manual/tsort.awk: Likewise.
12852 * misc/bits/stab.def: Likewise.
12853 * nis/nis_print_group_entry.c: Likewise.
12854 * nis/nis_table.c: Likewise.
12855 * nis/nss_compat/compat-pwd.c: Likewise.
12856 * nis/nss_compat/compat-spwd.c: Likewise.
12857 * po/Makefile: Likewise.
12858 * posix/fnmatch.c: Likewise.
12859 * posix/regex.h: Likewise.
12860 * resolv/Makefile: Likewise.
12861 * resolv/nss_dns/dns-network.c: Likewise.
12862 * resolv/res_hconf.c: Likewise.
12863 * scripts/gen-sorted.awk: Likewise.
12864 * soft-fp/soft-fp.h: Likewise.
12865 * stdio-common/printf.h: Likewise.
12866 * stdlib/monetary.h: Likewise.
12867 * stdlib/random.c: Likewise.
12868 * stdlib/random_r.c: Likewise.
12869 * sysdeps/generic/Makefile: Likewise.
12870 * sysdeps/gnu/Makefile: Likewise.
12871 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
12872 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
12873 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
12874 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
12875 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
12876 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
12877 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
12878 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
12879 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
12880 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
12881 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
12882 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
12883 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
12884 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
12885 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
12886 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
12887 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
12888 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
12889 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
12890 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
12891 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
12892 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
12893 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
12894 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12895 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
12896 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
12897 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
12898 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
12899 * sysdeps/mach/hurd/errnos.awk: Likewise.
12900 * sysdeps/mach/hurd/fork.c: Likewise.
12901 * sysdeps/mach/hurd/getcwd.c: Likewise.
12902 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
12903 * sysdeps/mach/hurd/mmap.c: Likewise.
12904 * sysdeps/mach/hurd/utimes.c: Likewise.
12905 * sysdeps/mach/hurd/xmknod.c: Likewise.
12906 * sysdeps/posix/profil.c: Likewise.
12907 * sysdeps/posix/readdir_r.c: Likewise.
12908 * sysdeps/powerpc/bits/mathdef.h: Likewise.
12909 * sysdeps/powerpc/bits/setjmp.h: Likewise.
12910 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
12911 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
12912 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12913 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
12914 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
12915 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
12916 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12917 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
12918 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
12919 * sysdeps/pthread/lio_listio.c: Likewise.
12920 * sysdeps/sparc/dl-procinfo.h: Likewise.
12921 * sysdeps/unix/i386/sysdep.S: Likewise.
12922 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
12923 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
12924 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
12925 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
12926 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12927 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
12928 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
12929 * sysdeps/unix/sysv/linux/speed.c: Likewise.
12930 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
12931 * sysdeps/wordsize-32/divdi3.c: Likewise.
12932 * time/sys/time.h: Likewise.
12933 * wcsmbs/Makefile: Likewise.
12934
0549fbba
DM
129352013-01-01 David S. Miller <davem@davemloft.net>
12936
a141f1a7
DM
12937 * po/fr.po: Update from translation team.
12938
0549fbba
DM
12939 * catgets/gencat.c: Update copyright year.
12940 * csu/version.c: Likewise.
12941 * debug/catchsegv.sh: Likewise.
12942 * debug/pcprofiledump.c: Likewise.
12943 * debug/xtrace.sh: Likewise.
12944 * elf/ldconfig.c: Likewise.
12945 * elf/ldd.bash.in: Likewise.
12946 * elf/pldd.c: Likewise.
12947 * elf/sotruss.ksh: Likewise.
12948 * elf/sprof.c: Likewise.
12949 * iconv/iconv_prog.c: Likewise.
12950 * iconv/iconvconfig.c: Likewise.
12951 * locale/programs/locale.c: Likewise.
12952 * locale/programs/localedef.c: Likewise.
12953 * login/programs/pt_chown.c: Likewise.
12954 * malloc/memusage.sh: Likewise.
12955 * malloc/memusagestat.c: Likewise.
12956 * malloc/mtrace.pl: Likewise.
12957 * nscd/nscd.c: Likewise.
12958 * nss/getent.c: Likewise.
12959 * nss/makedb.c: Likewise.
12960 * posix/getconf.c: Likewise.
12961
18ea052c
SP
129622012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
12963
12964 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
12965 numbers.
12966
9c89fca6
MF
129672012-12-30 Mike Frysinger <vapier@gentoo.org>
12968
12969 * math/bits/mathcalls.h (modf): Use __nonnull.
12970
085ec079
SP
129712012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12972
12973 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
12974 (split): Use macro CN instead of the bare value.
12975 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
12976 could be used.
12977 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
12978 instead of the bare value.
12979 (power1): Likewise.
12980
6d9f97e1
SP
129812012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12982
d63f73be
SP
12983 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
12984 __ATAN_TWOM.
12985 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
12986
6d9f97e1
SP
12987 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
12988 their values.
12989 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12990 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
12991 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
12992 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12993
4c4febf5
AJ
129942012-12-28 Andreas Jaeger <aj@suse.de>
12995
af5843ef
AJ
12996 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
12997 values are from Linux 3.7.
12998
4c4febf5
AJ
12999 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13000 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
13001
99136f82
SP
130022012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13003
2f216c3c 13004 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
13005 TRUE case.
13006
99136f82
SP
13007 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13008 (norm): Likewise.
13009 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13010 variables with preprocessor constants.
13011 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13012 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13013 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13014
7fffbdff
BH
130152012-12-27 Bruno Haible <bruno@clisp.org>
13016
13017 [BZ #14317]
13018 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13019 only if needed.
13020
b76eb5f0
SP
130212012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13022
31a7fe5c
SP
13023 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13024 and use variable directly.
13025 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13026
b76eb5f0
SP
13027 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13028 MPONE.
13029 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13030 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13031 variable MPONE.
13032 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13033 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13034 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13035 include directive. Remove local variable MPONE.
13036 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13037 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13038 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13039
2c8bfe7d
DM
130402012-12-25 David S. Miller <davem@davemloft.net>
13041
13042 * version.h (RELEASE): Set to "development".
13043 (VERSION): Set to "2.17.90".
13044 * NEWS: Add 2.18 section.
13045
147d03b0
DM
130462012-12-21 David S. Miller <davem@davemloft.net>
13047
13048 * po/hr.po: Update from translation team.
13049
a8ebb2b9
AK
130502012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13051
13052 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13053
95b4f1b6
SE
130542012-12-19 Steve Ellcey <sellcey@mips.com>
13055
b2d94007 13056 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 13057
cedb2a90
MS
130582012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13059
13060 * manual/contrib.texi (Contributors): Spelling correction.
13061
bbf527d6
DM
130622012-12-15 David S. Miller <davem@davemloft.net>
13063
13064 * po/ru.po: Update from translation team.
13065
bc38c906
DM
130662012-12-13 David S. Miller <davem@davemloft.net>
13067
85429b1a
DM
13068 * NEWS: Mention IFUNC testsuite enhancements.
13069
d283e353
DM
13070 * po/pl.po: Update from translation team.
13071 * po/bg.po: Likewise.
13072
bc38c906
DM
13073 * manual/contrib.texi (Contributors): Update entries for Hongjiu
13074 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
13075
a181b0d7
DM
130762012-12-11 David S. Miller <davem@davemloft.net>
13077
4641d57e
DM
13078 * po/sv.po: Update from translation team.
13079
f7bc6495
DM
13080 * po/vi.po: Update from translation team.
13081
6fc9048f
DM
13082 * po/cs.po: Update from translation team.
13083
a181b0d7
DM
13084 * po/de.po: Update from translation team.
13085 * po/eo.po: Likewise.
13086 * po/nl.po: Likewise.
13087
f70bfe80
SP
130882012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
13089
3c8b4190
SP
13090 [BZ #14246]
13091 * manual/argp.texi (Argp Helper Functions): Move node to follow
13092 Argp Parsing State.
13093
f70bfe80
SP
13094 [BZ #14872]
13095 * manual/conf.texi (Limits on File System Capacity): Mention if
13096 terminating null is included in the max size.
13097
188f0adf
AJ
130982012-12-10 Andreas Jaeger <aj@suse.de>
13099
13100 * po/cs.po: Update from translation team.
13101
56e7d3ad
SP
131022012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
13103
13104 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13105 void pointer and cast to uintptr_t.
13106 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13107 path.
13108 * sysdeps/s390/s390-64/memcpy.S: Likewise.
13109 * sysdeps/s390/s390-64/memset.S: Likewise.
13110
76f2d2ea 131112012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
13112
13113 [BZ #14833]
13114 * menual/message.texi (Message Translation): Fix typos.
13115 (Helper programs for gettext): Likewise.
13116
67cbf9a2
AS
131172012-12-07 Andreas Schwab <schwab@linux-m68k.org>
13118
13119 [BZ #14898]
13120 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13121 Change to -1.
13122
682d0e9a
DM
131232012-12-07 David S. Miller <davem@davemloft.net>
13124
13125 * po/libc.pot: Update.
13126
573cd484
RH
131272012-12-07 Richard Henderson <rth@redhat.com>
13128
7e9da188 13129 [BZ #10114]
573cd484
RH
13130 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13131 normal/normal case to before the switch.
13132 (_FP_DIV): Likewise.
13133
e933a943
MF
131342012-12-06 Carlos O'Donell <carlos@systemhalted.org>
13135 Mike Frysinger <vapier@gentoo.org>
13136
13137 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13138 check for __NR_fadvise64_64.
13139
82123268
CM
131402012-12-06 Chris Metcalf <cmetcalf@tilera.com>
13141
13142 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13143 0, not just to plain "0" as a statement.
13144 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13145 with cw.
13146
d9814526
JM
131472012-12-06 Joseph Myers <joseph@codesourcery.com>
13148
13149 * NEWS: Use sourceware.org in Bugzilla URL.
13150
7728c574
SP
131512012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
13152
f16946dd
SP
13153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13154 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13155
5704bbcb
SP
13156 * stdio-common/tst-put-error.c (do_test): Add newline to the
13157 padded test to ensure flush.
13158
17aa0516
JL
131592012-12-05 Jeff Law <law@redhat.com>
13160
13161 * sunrpc/etc.rpc (fedfs_admin): Add entry.
13162
363313b5
JM
131632012-12-05 Joseph Myers <joseph@codesourcery.com>
13164
effbd42a
JM
13165 * README: Don't refer to ports add-on as distributed separately.
13166 Mention AArch64 in list of systems supported in the ports add-on.
13167
87600365
JM
13168 * LICENSES: Add more non-FSF copyright and license notices.
13169
a0d7066a
JM
13170 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13171 ((unused)).
13172
66ca5a5b
JM
13173 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13174
363313b5
JM
13175 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13176 10000 as width of padded output.
13177
b37984ad
JM
131782012-12-04 Joseph Myers <joseph@codesourcery.com>
13179
9003570a
JM
13180 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13181
b37984ad
JM
13182 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13183 variable LX with __attribute__ ((unused)).
13184 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13185 Likewise.
13186 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13187 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13188 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13189 with __attribute__ ((unused)).
13190
c8df52ec
DM
131912012-12-04 David S. Miller <davem@abraco.davemloft.net>
13192
13193 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13194
b3b099af
JM
131952012-12-04 Joseph Myers <joseph@codesourcery.com>
13196
c33aa6e3
JM
13197 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13198 (CFLAGS-nldbl-acos.c): New variable.
13199 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13200 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13201 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13202 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13203 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13204 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13205 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13206 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13207 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13208 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13209 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13210 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13211 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13212 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13213 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13214 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13215 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13216 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13217 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13218 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13219 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13220 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13221 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13222 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13223 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13224 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13225 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13226 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13227 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13228 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13229 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13230 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13231 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13232 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13233 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13234 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13235 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13236 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13237 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13238 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13239 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13240 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13241 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13242 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13243 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13244 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13245 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13246 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13247 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13248 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13249 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13250 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13251 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13252 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13253 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13254 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13255 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13256 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13257 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13258 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13259 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13260 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13261 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13262 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13263 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13264 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13265 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13266 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13267 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13268 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13269 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13270 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13271 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13272 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13273 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13274 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13275 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13276 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13277 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13278 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13279 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13280 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13281 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13282 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13283 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13284 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13285 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13286 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13287 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13288 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13289 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13290 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13291 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13292 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13293 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13294 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13295 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13296
20f0018d
JM
13297 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13298 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13299
b3b099af
JM
13300 [BZ #14914]
13301 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13302 whole low double instead of just low 47 bits when splitting values
13303 into two parts.
13304
029264d1
AM
133052012-12-03 Allan McRae <allan@archlinux.org>
13306
13307 * manual/stdio.texi (Predefined Printf Handlers): Remove
13308 @hsep and @vsep usage.
13309
c9d6789e
MF
133102012-12-03 Mike Frysinger <vapier@gentoo.org>
13311
13312 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13313 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13314
4b7634a5
JL
133152012-12-03 Jeff Law <law@redhat.com>
13316
13317 * time/sys/time.h (settimeofday): Do not mark TV argument
13318 as __nonnull.
13319
eb6cbd24
MF
133202012-12-01 Mike Frysinger <vapier@gentoo.org>
13321
13322 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13323 when currently writing and seek to current position when not.
13324 * libio/Makefile (tests): Remove bug-fclose1.
13325 * libio/bug-fclose1.c: Delete.
13326
f638872a
JM
133272012-12-01 Joseph Myers <joseph@codesourcery.com>
13328
13329 * manual/arith.texi (feenableexcept): Fix typo.
13330 (fedisableexcept): Likewise.
13331
48085d14
RM
133322012-11-30 Roland McGrath <roland@hack.frob.com>
13333
13334 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13335 second, differently-typed declaration, rather than a cast.
13336
1a538b9f
SP
133372012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
13338
13339 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13340 * include/rpc/svc.h: ... here.
13341
d07f2ff1 133422012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
13343
13344 [BZ #13013]
13345 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13346 depending n and resplen2 to catch cases where answer
13347 equals answerp2.
13348
c93ec1f0
CD
133492012-11-29 Carlos O'Donell <carlos@systemhalted.org>
13350
13351 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13352 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13353
37db69de
MF
133542012-11-29 Mike Frysinger <vapier@gentoo.org>
13355
13356 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13357
e10c4e4f
RM
133582012-11-29 Roland McGrath <roland@hack.frob.com>
13359
13360 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13361
2af1b328
JL
133622012-11-28 Jeff Law <law@redhat.com>
13363
13364 [BZ #13761]
13365 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13366 dataset_temporary. Track alloca usage into alloca_used.
13367 If dataset is large allocate and release it via malloc/free.
13368
111db5b1
FW
133692012-06-04 Florian Weimer <fweimer@redhat.com>
13370
f06cc227 13371 [BZ #14197]
111db5b1
FW
13372 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13373
dd694abd
DM
133742012-11-28 David S. Miller <davem@davemloft.net>
13375
13376 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13377
9984dd01
JM
133782012-11-28 Joseph Myers <joseph@codesourcery.com>
13379
13380 [BZ #14803]
13381 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13382 of pi/2 rounded to nearest to 64 bits.
13383 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13384 nearest to 64 bits.
13385 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
13386 bits.
13387
14bc93a9
JL
133882012-11-28 Jeff Law <law@redhat.com>
13389 Martin Osvald <mosvald@redhat.com>
13390
13391 [BZ #14889]
13392 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
13393 * sunrpc/svc.c: Include time.h.
13394 (__svc_accept_failed): New function.
13395 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
13396 any reason other than EINTR, call __svc_accept_failed.
13397 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
13398 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
13399
e3c6aa3a
AS
134002012-11-28 Andreas Schwab <schwab@suse.de>
13401
13402 * scripts/abilist.awk: Also handle indirect functions in .opd
13403 section.
13404
1bead169
JM
134052012-11-28 Joseph Myers <joseph@codesourcery.com>
13406
13407 [BZ #13881]
13408 * sysdeps/x86/fpu/powl_helper.c: New file.
13409 * sysdeps/x86/fpu/Makefile: Likewise.
13410 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
13411 (p3): New object.
13412 (__ieee754_powl): Use __powl_helper for finite arguments except
13413 integer exponents below 8.
13414 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
13415 (p3): New object.
13416 (__ieee754_powl): Use __powl_helper for finite arguments except
13417 integer exponents below 8.
13418 * math/libm-test.inc (pow_test): Add more tests and enable some
13419 previously disabled tests.
13420 * sysdeps/i386/fpu/libm-test-ulps: Update.
13421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13422
0817d63d
SP
134232012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
13424 Carlos O'Donell <carlos_odonell@mentor.com>
13425
13426 * nss/makedb.c (is_prime): Assert that input is odd and greater
13427 than 4. Note that fact in a comment too.
13428 (next_prime): Add 4 to input.
13429
de2fd463
SP
134302012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
13431
13432 [BZ #11741]
13433 * libio/Makefile (tests): Add test case tst-fwrite-error.
13434 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
13435 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13436 * libio/tst-fwrite-error.c: New test case.
13437
c515fb51
L
134382012-11-26 H.J. Lu <hongjiu.lu@intel.com>
13439
13440 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
13441 before casting to void *.
13442 * include/libc-internal.h (__pointer_type): New macro.
13443 (__integer_if_pointer_type_sub): Likewise.
13444 (__integer_if_pointer_type): Likewise.
13445 (cast_to_integer): Likewise.
13446 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
13447 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
13448 before casting to atomic64_t.
13449 (atomic_exchange_acq): Likewise.
13450 (__arch_exchange_and_add_body): Likewise.
13451 (__arch_add_body): Likewise.
13452 (atomic_add_negative): Likewise.
13453 (atomic_add_zero): Likewise.
13454
4cf77aa9
JM
134552012-11-26 Joseph Myers <joseph@codesourcery.com>
13456
13457 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
13458 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
13459 (add_fdes): Likewise.
13460 (linear_search_fdes): Likewise.
13461 (binary_search_unencoded_fdes): Likewise.
13462
d260b3b4
AS
134632012-11-26 Andreas Schwab <schwab@linux-m68k.org>
13464
13465 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
13466
67060746
AC
134672012-11-24 Adam Conrad <adconrad@0c3.net>
13468
13469 * configure.in: Autodetect C++ header directories.
13470 * configure: Regenerated.
13471
800938a1
MF
134722012-11-23 Mike Frysinger <vapier@gentoo.org>
13473
13474 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
13475
4e6e34e6
AS
134762012-11-23 Andreas Schwab <schwab@linux-m68k.org>
13477
13478 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13479
7c7feb47
JM
134802012-11-22 Joseph Myers <joseph@codesourcery.com>
13481
7184dcdf
JM
13482 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
13483 LDBL_MANT_DIG == 106]: Disable some tests.
13484 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13485 Likewise.
13486 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
13487 Likewise.
13488
0a42601f
JM
13489 [BZ #14871]
13490 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
13491 input for small inputs. Return +/- pi/2 for large inputs.
13492 * math/libm-test.inc (atan_test): Add more tests.
13493
79c9b9fe
JM
13494 * sysdeps/generic/unwind-dw2-fde-glibc.c
13495 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
13496 __attribute__ ((unused)).
13497
c60d3bf2
JM
13498 [BZ #14645]
13499 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
13500 x * y if x and y are nonzero and z is zero.
13501
ef1e0867
JM
13502 [BZ #14811]
13503 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
13504 nonzero exponents with absolute value below 0x1p-117 to +/-
13505 0x1p-117.
13506
1468ded3
JM
13507 [BZ #14869]
13508 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
13509 up arguments below 2**-450, not just those below 2**-500.
13510 * math/libm-test.inc (hypot_test): Add another test.
13511
8e27e3cc
JM
13512 [BZ #14868]
13513 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13514 Return a+b for ratio over 2**120, not 2**60.
13515 * math/libm-test.inc (hypot_test): Add another test.
13516
c9c0279b
JM
13517 * math/libm-test.inc (clog_test): Use
13518 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
13519 (clog10_test): Likewise.
13520
7c7feb47
JM
13521 [BZ #6778]
13522 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
13523
fff1530e
AS
135242012-11-22 Andreas Schwab <schwab@suse.de>
13525
13526 * sysdeps/i386/fpu/libm-test-ulps: Update.
13527
94558d30
PT
135282012-11-22 Pino Toscano <toscano.pino@tiscali.it>
13529
13530 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
13531 printf output with newline.
13532
7e1be741
L
135332012-11-21 H.J. Lu <hongjiu.lu@intel.com>
13534
6bfea974
L
13535 [BZ #14865]
13536 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
13537 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
13538 -z nodlopen, -z initfirst and -z execstack support.
13539 * configure: Regenerated.
13540
7e1be741
L
13541 * elf/elf.h (DF_1_NODIRECT): New macro.
13542 (DF_1_IGNMULDEF): Likewise.
13543 (DF_1_NOKSYMS): Likewise.
13544 (DF_1_NOHDR): Likewise.
13545 (DF_1_EDITED): Likewise.
13546 (DF_1_NORELOC): Likewise.
13547 (DF_1_SYMINTPOSE): Likewise.
13548 (DF_1_GLOBAUDIT): Likewise.
13549 (DF_1_SINGLETON): Likewise.
13550 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
13551 DT_1_SUPPORTED_MASK bits.
13552 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
13553
105ce2ce
CD
135542012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
13555
13556 * sysdeps/unix/make-syscalls.sh: Document prefixes.
13557
123be9de
TS
135582012-11-20 Thomas Schwinge <thomas@codesourcery.com>
13559
d072f3f7
TS
13560 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
13561 macro.
13562
123be9de
TS
13563 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
13564 (sendmmsg): Move declarations...
13565 * socket/sys/socket.h: ... here.
13566 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
13567 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
13568 include it from...
13569 * socket/recvmmsg.c: ... this new file.
13570 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
13571 (sendmmsg): Rename to __sendmmsg, create weak alias and make
13572 definition of __sendmmsg hidden.
13573 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
13574 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
13575 Move ENOSYS stub into and include it from...
13576 * socket/sendmmsg.c: ... this new file.
13577 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
13578 (sysdep_routines): Move recvmmsg and sendmmsg...
13579 * socket/Makefile (routines): ... here.
13580 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
13581 (GLIBC_PRIVATE): Add __sendmmsg.
13582 * include/sys/socket.h (__sendmmsg): Add declarations.
13583 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
13584 sendmmsg.
13585
cf9a5d18
JM
135862012-11-20 Joseph Myers <joseph@codesourcery.com>
13587
13588 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
13589 variable I1 with __attribute__ ((unused)).
13590 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
13591
ecd4caf9
JM
135922012-11-19 Joseph Myers <joseph@codesourcery.com>
13593
be14d48f
JM
13594 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
13595 DUMMY variables with __attribute__ ((unused)).
13596
ecd4caf9
JM
13597 * bits/byteswap.h: Include <bits/types.h>.
13598 (__bswap_64): Use __uint64_t instead of unsigned long long int.
13599
986cab95
PT
136002012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13601
13602 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
13603 string_t. Do not manually set errno.
13604 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
13605 length with __strnlen. Make sure to both set errno and return it on
13606 failure.
13607
6d33cc9d
DM
136082012-11-19 David S. Miller <davem@davemloft.net>
13609
13610 With help from Joseph Myers.
13611 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
13612 very large arguments properly.
13613 * math/libm-test.inc (atan_test): New tests.
13614 (atan2_test): New tests.
13615 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13616 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13617
ee663277
JM
136182012-11-19 Joseph Myers <joseph@codesourcery.com>
13619
877f2d8e
JM
13620 [BZ #14856]
13621 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
13622 Define to 3.
13623
116fc08a
JM
13624 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
13625 [POSIX] (EADDRNOTAVAIL): Likewise.
13626 [POSIX] (EAFNOSUPPORT): Likewise.
13627 [POSIX] (EALREADY): Likewise.
13628 [POSIX] (ECONNABORTED): Likewise.
13629 [POSIX] (ECONNREFUSED): Likewise.
13630 [POSIX] (ECONNRESET): Likewise.
13631 [POSIX] (EDESTADDRREQ): Likewise.
13632 [POSIX] (EDQUOT): Likewise.
13633 [POSIX] (EHOSTUNREACH): Likewise.
13634 [POSIX] (EIDRM): Likewise.
13635 [POSIX] (EISCONN): Likewise.
13636 [POSIX] (ELOOP): Likewise.
13637 [POSIX] (EMULTIHOP): Likewise.
13638 [POSIX] (ENETDOWN): Likewise.
13639 [POSIX] (ENETUNREACH): Likewise.
13640 [POSIX] (ENOBUFS): Likewise.
13641 [POSIX] (ENODATA): Likewise.
13642 [POSIX] (ENOLINK): Likewise.
13643 [POSIX] (ENOMSG): Likewise.
13644 [POSIX] (ENOPROTOOPT): Likewise.
13645 [POSIX] (ENOSR): Likewise.
13646 [POSIX] (ENOSTR): Likewise.
13647 [POSIX] (ENOTCONN): Likewise.
13648 [POSIX] (ENOTSOCK): Likewise.
13649 [POSIX] (EOPNOTSUPP): Likewise.
13650 [POSIX] (EOVERFLOW): Likewise.
13651 [POSIX] (EPROTO): Likewise.
13652 [POSIX] (EPROTONOSUPPORT): Likewise.
13653 [POSIX] (EPROTOTYPE): Likewise.
13654 [POSIX] (ESTALE): Likewise.
13655 [POSIX] (ETIME): Likewise.
13656 [POSIX] (ETXTBSY): Likewise.
13657 [POSIX] (EWOULDBLOCK): Likewise.
13658 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
13659 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
13660 [POSIX] (SEEK_CUR): Likewise.
13661 [POSIX] (SEEK_END): Likewise.
13662 [POSIX || UNIX98] (mode_t): Do not require.
13663 [POSIX] (off_t): Likewise.
13664 [POSIX] (pid_t): Likewise.
13665 [POSIX] (sys/stat.h): Do not allow header.
13666 [POSIX] (unistd.h): Likewise.
13667 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
13668 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
13669 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
13670 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
13671 require.
13672 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
13673 sigevent): Specify elements.
13674 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
13675 entry.
13676 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
13677 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
13678
a483863f
JM
13679 * conform/data/cpio.h-data [POSIX]: Disable whole file.
13680 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
13681 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
13682 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
13683 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
13684 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
13685 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
13686 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
13687 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
13688 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
13689 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
13690 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
13691 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
13692 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
13693 Likewise.
13694 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
13695 Likewise.
13696 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
13697 Likewise.
13698 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
13699 Likewise.
13700 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
13701 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
13702 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
13703 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
13704 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
13705 Specify lower bound on value.
13706 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
13707 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
13708 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
13709 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
13710 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
13711 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
13712 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
13713 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
13714 value.
13715 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
13716 as optional.
13717 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
13718 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
13719 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
13720 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
13721 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
13722 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
13723 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
13724 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
13725 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
13726 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
13727 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
13728 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
13729 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
13730 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
13731 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
13732 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
13733 entry.
13734 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
13735 optional.
13736 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
13737 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
13738 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
13739 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
13740 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
13741 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
13742 Likewise.
13743 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
13744 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
13745 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
13746 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
13747 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
13748 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
13749 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
13750 as optional.
13751 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
13752 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
13753 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
13754 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
13755 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
13756 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
13757 specify as optional.
13758 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
13759 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
13760 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
13761 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
13762 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
13763 [XPG3] (NL_LANGMAX): Likewise.
13764 [POSIX || XPG3] (NL_MSGMAX): Likewise.
13765 [POSIX || XPG3] (NL_NMAX): Likewise.
13766 [POSIX || XPG3] (NL_SETMAX): Likewise.
13767 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
13768 [XPG3] (NZERO): Likewise.
13769 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
13770 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
13771 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
13772 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
13773 (REG_ERANGE): Expect.
13774 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
13775 optional-constant.
13776 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
13777 Use (void) in prototype.
13778 [POSIX] (*_t): Allow.
13779 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
13780 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
13781 (WRDE_BADVAL): Expect.
13782
5ba924e3
JM
13783 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
13784 expect.
13785 [XPG3 || XPG4] (O_RSYNC): Likewise.
13786 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
13787 Likewise.
13788 [XPG3 || XPG4] (pthread_sigmask): Likewise.
13789 [XPG3 || XPG4] (sigqueue): Likewise.
13790 [XPG3 || XPG4] (sigtimedwait): Likewise.
13791 [XPG3 || XPG4] (sigwaitinfo): Likewise.
13792 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
13793 [XPG3 || XPG4] (vsnprintf): Likewise.
13794 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
13795 Likewise.
13796 [XPG3 || XPG4] (blksize_t): Likewise.
13797 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
13798 Likewise.
13799 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
13800 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
13801 [XPG3 || XPG4] (struct itimerspec): Likewise.
13802 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
13803 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
13804 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
13805 [XPG3 || XPG4] (clockid_t): Likewise.
13806 [XPG3 || XPG4] (timer_t): Likewise.
13807 [XPG3 || XPG4] (clock_getres): Likewise.
13808 [XPG3 || XPG4] (clock_gettime): Likewise.
13809 [XPG3 || XPG4] (clock_settime): Likewise.
13810 [XPG3 || XPG4] (nanosleep): Likewise.
13811 [XPG3 || XPG4] (timer_create): Likewise.
13812 [XPG3 || XPG4] (timer_delete): Likewise.
13813 [XPG3 || XPG4] (timer_gettime): Likewise.
13814 [XPG3 || XPG4] (timer_getoverrun): Likewise.
13815 [XPG3 || XPG4] (timer_settime): Likewise.
13816 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
13817 [XPG3 || XPG4] (getlogin_r): Likewise.
13818 [XPG3 || XPG4] (pread): Likewise.
13819 [XPG3 || XPG4] (pthread_atfork): Likewise.
13820 [XPG3 || XPG4] (pwrite): Likewise.
13821
ee663277
JM
13822 [BZ #14835]
13823 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
13824 <bits/siginfo.h>.
13825
942caa16
PT
138262012-11-19 Pino Toscano <toscano.pino@tiscali.it>
13827
e19af380
PT
13828 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
13829 finalizing MALLSTREAM.
13830
942caa16
PT
13831 * sysdeps/mach/hurd/syncfs.c: New file.
13832
cfde9b46
SP
138332012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
13834
13835 [BZ #14719]
13836 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
13837 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
13838 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
13839 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
13840 (_nss_dns_gethostbyname4_r): Likewise.
13841 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
13842 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
13843
f6da27e5
PH
138442012-11-19 Peng Haitao <penght@cn.fujitsu.com>
13845
13846 [BZ #13763]
13847 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
13848
6665d4a2
SM
138492012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
13850
1f51ee92
SM
13851 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
13852 * elf/cache.c (print_entry): Print ",AArch64" for
13853 FLAG_AARCH64_LIB64
13854
6665d4a2
SM
13855 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
13856 * elf/cache.c (print_entry): Print ",hard-float" for
13857 FLAG_ARM_LIBHF.
13858
05b227bd
DM
138592012-11-18 David S. Miller <davem@davemloft.net>
13860
13861 With help from Joseph Myers.
13862 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
13863 cutoff to 2**-13.
13864 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
13865 cutoff to 2**-25.
13866 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
13867 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
13868 small.
13869 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
13870 * math/libm-test.inc (y0_test): New tests.
13871 (y1_test): New tests.
13872 * sysdeps/i386/fpu/libm-test-ulps: Update.
13873 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13874 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13875
786b0b67
AS
138762012-11-18 Andreas Schwab <schwab@linux-m68k.org>
13877
13878 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
13879 64-bit targets.
13880 * configure: Regenerated.
13881
8e18b86d
DM
138822012-11-17 David S. Miller <davem@davemloft.net>
13883
13884 [BZ #14811]
13885 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
13886 nonzero exponents with absolute value below 0x1p-128 to +/-
13887 0x1p-128.
13888
531f1ae0
JM
138892012-11-17 Joseph Myers <joseph@codesourcery.com>
13890
12df29e2
JM
13891 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
13892
150dc1a0
JM
13893 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
13894
531f1ae0
JM
13895 * posix/getconf-speclist.c: New file.
13896 * posix/posix-envs.def: Likewise.
13897 * posix/confstr.c (START_ENV_GROUP): New macro.
13898 (END_ENV_GROUP): Likewise.
13899 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13900 (KNOWN_PRESENT_ENV_STRING): Likewise.
13901 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13902 (UNKNOWN_ENVIRONMENT): Likewise.
13903 (confstr): Include posix-envs.def instead of handling
13904 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
13905 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
13906 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
13907 (END_ENV_GROUP): Likewise.
13908 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
13909 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
13910 (UNKNOWN_ENVIRONMENT): Likewise.
13911 (__sysconf): Include posix-envs.def instead of handling associated
13912 cases directly here.
13913 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
13914 preprocessing getconf-speclist.c rather than running getconf or
13915 generating empty file.
13916
a93f9cbc
PT
139172012-11-16 Pino Toscano <toscano.pino@tiscali.it>
13918
13919 * scripts/check-local-headers.sh: Ignore 'mach' headers.
13920
d64d9f87
AL
139212012-11-16 Andrej Lajovic <natrij@gmail.com>
13922
13923 [BZ #14672]
13924 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
13925
447885eb
DM
139262012-11-16 David S. Miller <davem@davemloft.net>
13927
13928 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
13929 smaller than LDBL_EPSILON/2.0L, just return xm1.
13930
bcbf9830
L
139312012-11-16 H.J. Lu <hongjiu.lu@intel.com>
13932
13933 * elf/tst-array1.c (init): Set constructor priority to 1000.
13934 (fini): Set destructor priority to 1000.
13935 * elf/tst-array2dep.c: Likewise.
13936
2b766585
SP
139372012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13938
13939 [BZ #11741]
13940 * libio/fileops.c (_IO_new_file_write): Correctly return error.
13941 (_IO_new_file_xsputn): Also return EOF if none of the input
13942 data was written when overflow failed.
13943 * libio/iopadn.c (_IO_padn): Likewise.
13944 * libio/iowpadn.c (_IO_wpadn): Likewise.
13945 * stdio-common/tst-put-error.c: Add copyright notice.
13946 (do_test): Add case for printing padded string.
13947 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
13948 _IO_padn returned error.
13949 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
13950 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
13951 return EOF.
13952
b1848fde
SP
139532012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
13954
13955 * libio/libioP.h: Add comment note that the references to C++
13956 bits are now obsolete.
13957
2fd89785
MS
139582012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13959
13960 * math/libm-test.inc (check_complex): Use asprintf.
13961
e3ea5409
JM
139622012-11-14 Joseph Myers <joseph@codesourcery.com>
13963
13964 * debug/pcprofiledump.c (print_version): Update copyright year.
13965 * malloc/memusagestat.c (print_version): Likewise.
13966
2e64d265
L
139672012-11-14 H.J. Lu <hongjiu.lu@intel.com>
13968
13969 [BZ #14831]
13970 * elf/Makefile (tests): Add tst-audit8.
13971 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
13972 ($(objpfx)tst-audit8.out): New target.
13973 (tst-audit8-ENV): New variable.
13974 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
13975 audit if l_reloc_result is NULL.
13976 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
13977 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
13978 * elf/tst-audit8.c: New file.
13979
c485e4d2
MS
139802012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
13981
13982 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
13983 * misc/Makefile (CFLAGS-select.c): Define.
13984 * posix/Makefile (CFLAGS-pause.c): Define.
13985
3a0d900a
DM
139862012-11-13 David S. Miller <davem@davemloft.net>
13987
13988 * crypt/Makefile: Move test targets after toplevel Rules
13989 inclusion. Grab any necessary sysdep routines when linking.
13990 * crypt/md5.c (md5_process_block): Remove define, we will always
13991 name it __md5_process_block.
13992 (md5_finish_ctx): Update md5_process_block call.
13993 (md5_stream): Likewise.
13994 (md5_process_bytes): Likewise.
13995 (md5_process_block): Rename to __md5_process_block and move to ...
13996 * crypt/md5-block.c: ... here.
13997 * crypt/sha256.c (sha256_process_block): Move to ...
13998 * crypt/sha256-block.c: ... here.
13999 * crypt/sha512.c (sha512_process_block): Move to ...
14000 * crypt/sha512-block.c: ... here.
14001 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14002 path.
14003 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14004 * sysdeps/sparc/sparc64/multiarch/Makefile
14005 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14006 crypt subdir.
14007 (localedef-aux): Add md5 crypto assembler when in locale subdir.
14008 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14009 multiarch changes.
14010 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14011 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14012 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14013 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14014 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14015 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14016 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14017 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14018 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14019 file.
14020 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14021 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14022 file.
14023 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14024
8ca89318
JM
140252012-11-13 Joseph Myers <joseph@codesourcery.com>
14026
e27d476a
JM
14027 * timezone/tzselect.ksh: Update from tzcode git revision
14028 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14029 * timezone/zdump.c: Likewise.
14030 * timezone/zic.c: Likewise.
14031 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14032 in TZVERSION setting, not $(PKGVERSION).
14033 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
14034 REPORT_BUGS_TO settings.
14035
8ca89318
JM
14036 [BZ #14838]
14037 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14038 macro.
14039
47594329
MS
140402012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14041
14042 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14043 detection to immediately after _FP_ROUND().
14044 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14045 bits are 0.
14046
640ac3f1
DM
140472012-11-11 David S. Miller <davem@davemloft.net>
14048
14049 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14050 inttypes.h
14051 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14052 __close rather than their public counterparts.
14053
3d2577bb
JM
140542012-11-10 Joseph Myers <joseph@codesourcery.com>
14055
14056 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14057 file.
14058 [UNIX98] (sem_timedwait): Do not expect.
14059 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14060 [XPG4 || UNIX98] (sockatmark): Do not expect.
14061 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14062 (clock_getcpuclockid): Do not expect.
14063 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14064 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14065 Do not expect.
14066 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14067 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14068 [UNIX98] (vwscanf): Likewise.
14069 [UNIX98] (vswscanf): Likewise.
14070
fb1ae1ee
JM
140712012-11-09 Joseph Myers <joseph@codesourcery.com>
14072
9ec6f8bd
JM
14073 * timezone/version.h: Remove file.
14074 * timezone/README: Do not refer to version.h.
14075 * timezone/Makefile ($(objpfx)zic.o): New dependency on
14076 $(objpfx)version.h.
14077 ($(objpfx)zdump.o): Likewise.
c3f81911 14078 ($(objpfx)version.h): New target.
9ec6f8bd 14079
0aa8f8a1
JM
14080 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14081 2012i.
14082 * timezone/README: Don't mention modification to tzselect.ksh.
14083 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14084 work on unmodified tzselect.ksh. Substitute version numbers in
14085 tzselect.ksh.
14086
4e87147f
JM
14087 * Makefile (format-me): Remove.
14088 (INSTALL): Adjust indentation. Use commands directly instead of
14089 using $(format-me).
14090
8b748aed
JM
14091 * aclocal.m4 (ACX_PKGVERSION): New macro.
14092 (ACX_BUGURL): Likewise.
14093 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14094 (PKGVERSION): New AC_DEFINE_UNQUOTED.
14095 (REPORT_BUGS_TO): Likewise.
14096 * configure: Regenerated.
14097 * config.h.in (PKGVERSION): New macro.
14098 (REPORT_BUGS_TO): Likewise.
14099 * config.make.in (PKGVERSION): New variable.
14100 (PKGVERSION_TEXI): Likewise.
14101 (REPORT_BUGS_TO): Likewise.
14102 (REPORT_BUGS_TEXI): Likewise.
14103 * Makefile (format-me): Use -I$(common-objpfx)manual.
14104 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14105 ($(common-objpfx)manual/%): New target.
14106 (manual/%): Remove target.
14107 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14108 (print_version): Use PKGVERSION.
14109 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14110 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14111 and REPORT_BUGS_TO.
14112 ($(objpfx)xtrace): Likewise.
14113 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14114 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14115 (print_version): Use PKGVERSION.
14116 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14117 (do_version): Use PKGVERSION.
14118 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14119 REPORT_BUGS_TO.
14120 (common-ldd-rewrite): Likewise.
14121 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14122 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14123 (print_version): Use PKGVERSION.
14124 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14125 * elf/pldd.c (argp_program_bug_address): Remove variable.
14126 (more_help): New function.
14127 (argp): Use more_help.
14128 (print_version): Use PKGVERSION.
14129 * elf/sln.c (main): Use PKGVERSION.
14130 (usage): Use REPORT_BUGS_TO.
14131 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14132 (top level): Use PKGVERSION.
14133 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14134 (print_version): Use PKGVERSION.
14135 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14136 (print_version): Use PKGVERSION.
14137 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14138 (print_version): Use PKGVERSION.
14139 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14140 (print_version): Use PKGVERSION.
14141 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14142 (print_version): Use PKGVERSION.
14143 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14144 (print_version): Use PKGVERSION.
14145 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14146 and BUGURL.
14147 ($(objpfx)memusage): Likewise.
14148 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14149 (do_version): Use PKGVERSION.
14150 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14151 (print_version): Use PKGVERSION.
14152 * malloc/mtrace.pl ($PACKAGE): Remove variable.
14153 ($PKGVERSION): New variable.
14154 ($REPORT_BUGS_TO): Likewise.
14155 (usage): Use $REPORT_BUGS_TO.
14156 (top level): Use $PKGVERSION.
14157 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14158 ($(objpfx)pkgvers.texi): New rule.
14159 ($(objpfx)stamp-pkgvers): Likewise.
14160 * manual/install.texi: Include pkgvers.texi.
14161 (--with-pkgversion): Document new configure option.
14162 (--with-bugurl): Likewise.
14163 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14164 than necessarily for this particular distribution. Use
14165 REPORT_BUGS_TO for where to report bugs.
14166 * INSTALL: Regenerated.
14167 * manual/libc.texinfo: Include pkgvers.texi.
14168 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14169 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14170 (print_version): Use PKGVERSION.
14171 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14172 (print_version): Use PKGVERSION.
14173 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14174 (print_version): Use PKGVERSION.
14175 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14176 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14177 macro.
14178 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14179 (print_version): Use PKGVERSION.
14180 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14181 (print_version): Use PKGVERSION.
14182 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14183 and PKGVERSION.
14184
92e4b6a9
JM
14185 * timezone/checktab.awk: Update from tzcode 2012i.
14186 * timezone/ialloc.c: Likewise.
14187 * timezone/private.h: Likewise.
14188 * timezone/scheck.c: Likewise.
14189 * timezone/tzfile.h: Likewise.
14190 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14191 (TZVERSION): Hardcode tzcode version number.
14192 * timezone/zdump.c: Update from tzcode 2012i.
14193 * timezone/zic.c: Likewise.
14194 * timezone/version.h: New file.
14195 * timezone/README: Describe version.h. Update upstream location.
14196
9bde902c
JM
14197 [BZ #14824]
14198 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14199 (mktemp): Enable declaration.
14200 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14201 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14202 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14203 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14204 Likewise.
14205 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14206 Likewise.
14207 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14208 Likewise.
14209 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14210 Likewise.
14211 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14212 Likewise.
14213 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14214 Likewise.
14215
fb1ae1ee
JM
14216 [BZ #14821]
14217 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14218 offset in buffer as u_int32_t not u_long. Consistently use memcpy
14219 for copies of such integer values.
14220 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14221 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14222
2c1adbcb
AJ
142232012-11-09 Andreas Jaeger <aj@suse.de>
14224
14225 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14226 definitions and declarations that are provided by
14227 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14228
d0f8457e
AK
142292012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14230
3a235abb 14231 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
14232 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14233 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14234 definition.
14235
57241e26
MS
142362012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14237
14238 * elf/elf.h: Update comment before AArch64 relocations.
14239
60e8270d
DM
142402012-11-07 David S. Miller <davem@davemloft.net>
14241
14242 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14243 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14244 (__start_context): Declare.
14245 (__makecontext_ret): Delete.
14246 (__makecontext): Hook up __start_context instead of
14247 __makecontext_ret.
14248 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14249 (sysdep_routines): Add __start_context when in stdlib.
14250
0fbb0fbc
JM
142512012-11-07 Joseph Myers <joseph@codesourcery.com>
14252
14253 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14254 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14255 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
14256 hardcoded "nm".
14257 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
14258 (READELF): New variable. Use it instead of hardcoded "readelf".
14259
eb48db7e
L
142602012-11-07 H.J. Lu <hongjiu.lu@intel.com>
14261
14262 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14263 * sysdeps/x86/Makefile: Here.
14264 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14265 * sysdeps/x86/tst-xmmymm.sh: This.
14266
05bcf62a
JM
142672012-11-07 Joseph Myers <joseph@codesourcery.com>
14268
c4b6cf53
JM
14269 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14270 expectations.
14271 [UNIX98] (pthread_barrier_t): Do not expect.
14272 [UNIX98] (pthread_barrierattr_t): Likewise.
14273 [UNIX98] (pthread_spinlock_t): Likewise.
14274 [UNIX98] (pthread_barrier_destroy): Likewise.
14275 [UNIX98] (pthread_barrier_init): Likewise.
14276 [UNIX98] (pthread_barrier_wait): Likewise.
14277 [UNIX98] (pthread_barrierattr_destroy): Likewise.
14278 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14279 [UNIX98] (pthread_barrierattr_init): Likewise.
14280 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14281 [UNIX98] (pthread_getcpuclockid): Likewise.
14282 [UNIX98] (pthread_mutex_timedlock): Likewise.
14283 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14284 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14285 [UNIX98] (pthread_sigmask): Likewise.
14286 [UNIX98] (pthread_spin_destroy): Likewise.
14287 [UNIX98] (pthread_spin_init): Likewise.
14288 [UNIX98] (pthread_spin_lock): Likewise.
14289 [UNIX98] (pthread_spin_trylock): Likewise.
14290 [UNIX98] (pthread_spin_unlock): Likewise.
14291 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14292 Do not expect.
14293 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14294 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14295 [XPG3 || XPG4] (pthread_cond_t): Likewise.
14296 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14297 [XPG3 || XPG4] (pthread_key_t): Likewise.
14298 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14299 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14300 [XPG3 || XPG4] (pthread_once_t): Likewise.
14301 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14302 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14303 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14304 [XPG3 || XPG4] (pthread_t): Likewise.
14305
cbe6e120
JM
14306 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14307 not expect.
14308 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14309
1b126443
JM
14310 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14311 Change function return type to int.
14312
b961a573
JM
14313 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14314 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14315 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14316 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14317 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14318 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14319 [!POSIX] (posix_madvise): Likewise.
14320 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14321 && !UNIX98].
14322 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14323 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14324 (mode_t): Likewise.
14325 (posix_mem_offset): Likewise.
14326 (posix_typed_mem_get_info): Likewise.
14327 (posix_typed_mem_open): Likewise.
14328
9e188909
JM
14329 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14330 Change condition to [XOPEN2K8].
14331
05bcf62a
JM
14332 * conform/conformtest.pl: Preprocess allow-header data with -x c
14333 instead of from stdin.
14334 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14335 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14336 [C99-based standards] (cerfc): Likewise.
14337 [C99-based standards] (cexp2): Likewise.
14338 [C99-based standards] (cexpm1): Likewise.
14339 [C99-based standards] (clog10): Likewise.
14340 [C99-based standards] (clog1p): Likewise.
14341 [C99-based standards] (clog2): Likewise.
14342 [C99-based standards] (clgamma): Likewise.
14343 [C99-based standards] (ctgamma): Likewise.
14344 [C99-based standards] (cerff): Likewise.
14345 [C99-based standards] (cerfcf): Likewise.
14346 [C99-based standards] (cexp2f): Likewise.
14347 [C99-based standards] (cexpm1f): Likewise.
14348 [C99-based standards] (clog10f): Likewise.
14349 [C99-based standards] (clog1pf): Likewise.
14350 [C99-based standards] (clog2f): Likewise.
14351 [C99-based standards] (clgammaf): Likewise.
14352 [C99-based standards] (ctgammaf): Likewise.
14353 [C99-based standards] (cerfl): Likewise.
14354 [C99-based standards] (cerfcl): Likewise.
14355 [C99-based standards] (cexp2l): Likewise.
14356 [C99-based standards] (cexpm1l): Likewise.
14357 [C99-based standards] (clog10l): Likewise.
14358 [C99-based standards] (clog1pl): Likewise.
14359 [C99-based standards] (clog2l): Likewise.
14360 [C99-based standards] (clgammal): Likewise.
14361 [C99-based standards] (ctgammal): Likewise.
14362 * conform/data/inttypes.h-data [C99-based standards]: Include
14363 stdint.h-data. Remove all expectations for stdint.h contents.
14364 [C99-based standards] (PRI*): Do not allow.
14365 [C99-based standards] (SCN*): Likewise.
14366 [C99-based standards] (*_t): Likewise.
14367 [C99-based-standards] (PRId8): Expect macro.
14368 [C99-based-standards] (PRIi8): Likewise.
14369 [C99-based-standards] (PRIo8): Likewise.
14370 [C99-based-standards] (PRIu8): Likewise.
14371 [C99-based-standards] (PRIx8): Likewise.
14372 [C99-based-standards] (PRIX8): Likewise.
14373 [C99-based-standards] (SCNd8): Likewise.
14374 [C99-based-standards] (SCNi8): Likewise.
14375 [C99-based-standards] (SCNo8): Likewise.
14376 [C99-based-standards] (SCNu8): Likewise.
14377 [C99-based-standards] (SCNx8): Likewise.
14378 [C99-based-standards] (PRIdLEAST8): Likewise.
14379 [C99-based-standards] (PRIiLEAST8): Likewise.
14380 [C99-based-standards] (PRIoLEAST8): Likewise.
14381 [C99-based-standards] (PRIuLEAST8): Likewise.
14382 [C99-based-standards] (PRIxLEAST8): Likewise.
14383 [C99-based-standards] (PRIXLEAST8): Likewise.
14384 [C99-based-standards] (SCNdLEAST8): Likewise.
14385 [C99-based-standards] (SCNiLEAST8): Likewise.
14386 [C99-based-standards] (SCNoLEAST8): Likewise.
14387 [C99-based-standards] (SCNuLEAST8): Likewise.
14388 [C99-based-standards] (SCNxLEAST8): Likewise.
14389 [C99-based-standards] (PRIdFAST8): Likewise.
14390 [C99-based-standards] (PRIiFAST8): Likewise.
14391 [C99-based-standards] (PRIoFAST8): Likewise.
14392 [C99-based-standards] (PRIuFAST8): Likewise.
14393 [C99-based-standards] (PRIxFAST8): Likewise.
14394 [C99-based-standards] (PRIXFAST8): Likewise.
14395 [C99-based-standards] (SCNdFAST8): Likewise.
14396 [C99-based-standards] (SCNiFAST8): Likewise.
14397 [C99-based-standards] (SCNoFAST8): Likewise.
14398 [C99-based-standards] (SCNuFAST8): Likewise.
14399 [C99-based-standards] (SCNxFAST8): Likewise.
14400 [C99-based-standards] (PRId16): Likewise.
14401 [C99-based-standards] (PRIi16): Likewise.
14402 [C99-based-standards] (PRIo16): Likewise.
14403 [C99-based-standards] (PRIu16): Likewise.
14404 [C99-based-standards] (PRIx16): Likewise.
14405 [C99-based-standards] (PRIX16): Likewise.
14406 [C99-based-standards] (SCNd16): Likewise.
14407 [C99-based-standards] (SCNi16): Likewise.
14408 [C99-based-standards] (SCNo16): Likewise.
14409 [C99-based-standards] (SCNu16): Likewise.
14410 [C99-based-standards] (SCNx16): Likewise.
14411 [C99-based-standards] (PRIdLEAST16): Likewise.
14412 [C99-based-standards] (PRIiLEAST16): Likewise.
14413 [C99-based-standards] (PRIoLEAST16): Likewise.
14414 [C99-based-standards] (PRIuLEAST16): Likewise.
14415 [C99-based-standards] (PRIxLEAST16): Likewise.
14416 [C99-based-standards] (PRIXLEAST16): Likewise.
14417 [C99-based-standards] (SCNdLEAST16): Likewise.
14418 [C99-based-standards] (SCNiLEAST16): Likewise.
14419 [C99-based-standards] (SCNoLEAST16): Likewise.
14420 [C99-based-standards] (SCNuLEAST16): Likewise.
14421 [C99-based-standards] (SCNxLEAST16): Likewise.
14422 [C99-based-standards] (PRIdFAST16): Likewise.
14423 [C99-based-standards] (PRIiFAST16): Likewise.
14424 [C99-based-standards] (PRIoFAST16): Likewise.
14425 [C99-based-standards] (PRIuFAST16): Likewise.
14426 [C99-based-standards] (PRIxFAST16): Likewise.
14427 [C99-based-standards] (PRIXFAST16): Likewise.
14428 [C99-based-standards] (SCNdFAST16): Likewise.
14429 [C99-based-standards] (SCNiFAST16): Likewise.
14430 [C99-based-standards] (SCNoFAST16): Likewise.
14431 [C99-based-standards] (SCNuFAST16): Likewise.
14432 [C99-based-standards] (SCNxFAST16): Likewise.
14433 [C99-based-standards] (PRId32): Likewise.
14434 [C99-based-standards] (PRIi32): Likewise.
14435 [C99-based-standards] (PRIo32): Likewise.
14436 [C99-based-standards] (PRIu32): Likewise.
14437 [C99-based-standards] (PRIx32): Likewise.
14438 [C99-based-standards] (PRIX32): Likewise.
14439 [C99-based-standards] (SCNd32): Likewise.
14440 [C99-based-standards] (SCNi32): Likewise.
14441 [C99-based-standards] (SCNo32): Likewise.
14442 [C99-based-standards] (SCNu32): Likewise.
14443 [C99-based-standards] (SCNx32): Likewise.
14444 [C99-based-standards] (PRIdLEAST32): Likewise.
14445 [C99-based-standards] (PRIiLEAST32): Likewise.
14446 [C99-based-standards] (PRIoLEAST32): Likewise.
14447 [C99-based-standards] (PRIuLEAST32): Likewise.
14448 [C99-based-standards] (PRIxLEAST32): Likewise.
14449 [C99-based-standards] (PRIXLEAST32): Likewise.
14450 [C99-based-standards] (SCNdLEAST32): Likewise.
14451 [C99-based-standards] (SCNiLEAST32): Likewise.
14452 [C99-based-standards] (SCNoLEAST32): Likewise.
14453 [C99-based-standards] (SCNuLEAST32): Likewise.
14454 [C99-based-standards] (SCNxLEAST32): Likewise.
14455 [C99-based-standards] (PRIdFAST32): Likewise.
14456 [C99-based-standards] (PRIiFAST32): Likewise.
14457 [C99-based-standards] (PRIoFAST32): Likewise.
14458 [C99-based-standards] (PRIuFAST32): Likewise.
14459 [C99-based-standards] (PRIxFAST32): Likewise.
14460 [C99-based-standards] (PRIXFAST32): Likewise.
14461 [C99-based-standards] (SCNdFAST32): Likewise.
14462 [C99-based-standards] (SCNiFAST32): Likewise.
14463 [C99-based-standards] (SCNoFAST32): Likewise.
14464 [C99-based-standards] (SCNuFAST32): Likewise.
14465 [C99-based-standards] (SCNxFAST32): Likewise.
14466 [C99-based-standards] (PRId64): Likewise.
14467 [C99-based-standards] (PRIi64): Likewise.
14468 [C99-based-standards] (PRIo64): Likewise.
14469 [C99-based-standards] (PRIu64): Likewise.
14470 [C99-based-standards] (PRIx64): Likewise.
14471 [C99-based-standards] (PRIX64): Likewise.
14472 [C99-based-standards] (SCNd64): Likewise.
14473 [C99-based-standards] (SCNi64): Likewise.
14474 [C99-based-standards] (SCNo64): Likewise.
14475 [C99-based-standards] (SCNu64): Likewise.
14476 [C99-based-standards] (SCNx64): Likewise.
14477 [C99-based-standards] (PRIdLEAST64): Likewise.
14478 [C99-based-standards] (PRIiLEAST64): Likewise.
14479 [C99-based-standards] (PRIoLEAST64): Likewise.
14480 [C99-based-standards] (PRIuLEAST64): Likewise.
14481 [C99-based-standards] (PRIxLEAST64): Likewise.
14482 [C99-based-standards] (PRIXLEAST64): Likewise.
14483 [C99-based-standards] (SCNdLEAST64): Likewise.
14484 [C99-based-standards] (SCNiLEAST64): Likewise.
14485 [C99-based-standards] (SCNoLEAST64): Likewise.
14486 [C99-based-standards] (SCNuLEAST64): Likewise.
14487 [C99-based-standards] (SCNxLEAST64): Likewise.
14488 [C99-based-standards] (PRIdFAST64): Likewise.
14489 [C99-based-standards] (PRIiFAST64): Likewise.
14490 [C99-based-standards] (PRIoFAST64): Likewise.
14491 [C99-based-standards] (PRIuFAST64): Likewise.
14492 [C99-based-standards] (PRIxFAST64): Likewise.
14493 [C99-based-standards] (PRIXFAST64): Likewise.
14494 [C99-based-standards] (SCNdFAST64): Likewise.
14495 [C99-based-standards] (SCNiFAST64): Likewise.
14496 [C99-based-standards] (SCNoFAST64): Likewise.
14497 [C99-based-standards] (SCNuFAST64): Likewise.
14498 [C99-based-standards] (SCNxFAST64): Likewise.
14499 [C99-based-standards] (PRIdMAX): Likewise.
14500 [C99-based-standards] (PRIiMAX): Likewise.
14501 [C99-based-standards] (PRIoMAX): Likewise.
14502 [C99-based-standards] (PRIuMAX): Likewise.
14503 [C99-based-standards] (PRIxMAX): Likewise.
14504 [C99-based-standards] (PRIXMAX): Likewise.
14505 [C99-based-standards] (SCNdMAX): Likewise.
14506 [C99-based-standards] (SCNiMAX): Likewise.
14507 [C99-based-standards] (SCNoMAX): Likewise.
14508 [C99-based-standards] (SCNuMAX): Likewise.
14509 [C99-based-standards] (SCNxMAX): Likewise.
14510 [C99-based-standards] (PRIdPTR): Likewise.
14511 [C99-based-standards] (PRIiPTR): Likewise.
14512 [C99-based-standards] (PRIoPTR): Likewise.
14513 [C99-based-standards] (PRIuPTR): Likewise.
14514 [C99-based-standards] (PRIxPTR): Likewise.
14515 [C99-based-standards] (PRIXPTR): Likewise.
14516 [C99-based-standards] (SCNdPTR): Likewise.
14517 [C99-based-standards] (SCNiPTR): Likewise.
14518 [C99-based-standards] (SCNoPTR): Likewise.
14519 [C99-based-standards] (SCNuPTR): Likewise.
14520 [C99-based-standards] (SCNxPTR): Likewise.
14521 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
14522 allow.
14523 * conform/data/stdint.h-data: Update comments to clarify
14524 requirements.
14525 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
14526 type.
14527 [C99-based standards] (INT8_MAX): Likewise.
14528 [C99-based standards] (INT16_MIN): Likewise.
14529 [C99-based standards] (INT16_MAX): Likewise.
14530 [C99-based standards] (INT32_MIN): Likewise.
14531 [C99-based standards] (INT32_MAX): Likewise.
14532 [C99-based standards] (INT64_MIN): Likewise.
14533 [C99-based standards] (INT64_MAX): Likewise.
14534 [C99-based standards] (UINT8_MAX): Likewise.
14535 [C99-based standards] (UINT16_MAX): Likewise.
14536 [C99-based standards] (UINT32_MAX): Likewise.
14537 [C99-based standards] (UINT64_MAX): Likewise.
14538 [C99-based standards] (INT_LEAST8_MIN): Likewise.
14539 [C99-based standards] (INT_LEAST8_MAX): Likewise.
14540 [C99-based standards] (INT_LEAST16_MIN): Likewise.
14541 [C99-based standards] (INT_LEAST16_MAX): Likewise.
14542 [C99-based standards] (INT_LEAST32_MIN): Likewise.
14543 [C99-based standards] (INT_LEAST32_MAX): Likewise.
14544 [C99-based standards] (INT_LEAST64_MIN): Likewise.
14545 [C99-based standards] (INT_LEAST64_MAX): Likewise.
14546 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
14547 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
14548 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
14549 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
14550 [C99-based standards] (INT_FAST8_MIN): Likewise.
14551 [C99-based standards] (INT_FAST8_MAX): Likewise.
14552 [C99-based standards] (INT_FAST16_MIN): Likewise.
14553 [C99-based standards] (INT_FAST16_MAX): Likewise.
14554 [C99-based standards] (INT_FAST32_MIN): Likewise.
14555 [C99-based standards] (INT_FAST32_MAX): Likewise.
14556 [C99-based standards] (INT_FAST64_MIN): Likewise.
14557 [C99-based standards] (INT_FAST64_MAX): Likewise.
14558 [C99-based standards] (UINT_FAST8_MAX): Likewise.
14559 [C99-based standards] (UINT_FAST16_MAX): Likewise.
14560 [C99-based standards] (UINT_FAST32_MAX): Likewise.
14561 [C99-based standards] (UINT_FAST64_MAX): Likewise.
14562 [C99-based standards] (INTPTR_MIN): Likewise.
14563 [C99-based standards] (INTPTR_MAX): Likewise.
14564 [C99-based standards] (UINTPTR_MAX): Likewise.
14565 [C99-based standards] (INTMAX_MIN): Likewise.
14566 [C99-based standards] (INTMAX_MAX): Likewise.
14567 [C99-based standards] (UINTMAX_MAX): Likewise.
14568 [C99-based standards] (PTRDIFF_MIN): Likewise.
14569 [C99-based standards] (PTRDIFF_MAX): Likewise.
14570 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
14571 [C99-based standards] (SIZE_MAX): Likewise.
14572 [C99-based standards] (WCHAR_MAX): Likewise.
14573 [C99-based standards] (WINT_MAX): Likewise.
14574 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
14575 constraint on value.
14576 [C99-based standards] (WCHAR_MIN): Likewise.
14577 [C99-based standards] (WINT_MIN): Likewise.
14578 [C99-based standards] (*_t): Allow.
14579 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
14580 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
14581 Include math.h-data and complex.h-data. Remove all expectations
14582 of math.h and complex.h contents.
14583 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
14584 at end of line.
14585 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
14586 (struct tm): Expect tag.
14587 [C99-based-standards] (wcstof): Expect function.
14588 [C99-based-standards] (wcstold): Likewise.
14589 [C99-based-standards] (wcstoll): Likewise.
14590 [C99-based-standards] (wcstoull): Likewise.
14591 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
14592 macro-int-constant. Specify type.
14593 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
14594 constraint on value.
14595 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14596 Specify type.
14597 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
14598 Specify value.
14599 [ISO C standards]: Do not allow headers.
14600 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
14601 wcs[abcdefghijklmnopqrstuvwxyz]*.
14602 [ISO C standards] (*_t): Do not allow.
14603 * conform/data/wctype.h-data [C99-based standards] (iswblank):
14604 Expect function.
14605 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
14606 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
14607 Specify type.
14608 [ISO C standards]: Do not allow headers.
14609 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
14610 is[abcdefghijklmnopqrstuvwxyz]*.
14611 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
14612 to[abcdefghijklmnopqrstuvwxyz]*.
14613 [ISO C standards] (*_t): Do not allow.
14614 * conform/data/stdalign.h-data: New file.
14615 * conform/data/stdbool.h-data: Likewise.
14616 * conform/data/stdnoreturn.h-data: Likewise.
14617
7514feb8
RM
146182012-11-07 Roland McGrath <roland@hack.frob.com>
14619
14620 [BZ #14815]
14621 * manual/filesys.texi (Directory Entries): Typo fix.
14622 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
14623
19b2ecfc
MS
146242012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
14625
14626 * elf/elf.h (EM_AARCH64): New macro.
14627 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
14628 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
14629 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
14630 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
14631 (R_AARCH64_TLSDESC): Likewise.
14632 (NT_ARM_TLS): Likewise.
14633 (NT_ARM_HW_BREAK): Likewise.
14634 (NT_ARM_HW_WATCH): Likewise.
14635
60e235ee
JM
146362012-11-07 Joseph Myers <joseph@codesourcery.com>
14637
14638 [BZ #14811]
14639 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
14640 (__ieee754_powl): Saturate nonzero exponents with absolute value
14641 below 0x1p-79 to +/- 0x1p-79.
14642 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
14643 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
14644 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
14645 nonzero exponents with absolute value below 0x1p-32 to +/-
14646 0x1p-32.
14647 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
14648 (__ieee754_powl): Saturate nonzero exponents with absolute value
14649 below 0x1p-79 to +/- 0x1p-79.
14650 * math/libm-test.inc (pow_test): Add more tests.
14651
0ab234b7
AK
146522012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14653
14654 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
14655 _dl_s390_cap_flags with kernel. Increase string length.
14656 (_dl_s390_platforms): Add z196 and zEC12.
14657
45832f74
JM
146582012-11-07 Joseph Myers <joseph@codesourcery.com>
14659
14660 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
14661 Change XOPEN21K to XOPEN2K.
14662
19218757
MK
146632012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
14664
14665 * string/memmove.c: Use memcpy when possible.
14666
c5f45721
AJ
146672012-11-06 Andreas Jaeger <aj@suse.de>
14668
14669 * po/eo.po: Update from translation team.
14670
82477c28
JM
146712012-11-06 Joseph Myers <joseph@codesourcery.com>
14672
14673 [BZ #14793]
14674 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
14675 exponent and small x and y exponents, scale x or y up. Increase
14676 by 2 the exponent used in scaling up.
14677 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14678 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14679 * math/libm-test.inc (fma_test): Add more tests.
14680 (fma_test_towardzero): Likewise.
14681 (fma_test_downward): Likewise.
14682 (fma_test_upward): Likewise.
14683
99252c8c
JM
146842012-11-05 Joseph Myers <joseph@codesourcery.com>
14685
acfa885f
JM
14686 [BZ #14805]
14687 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
14688 fenv_t *.
14689
99252c8c
JM
14690 [BZ #14801]
14691 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
14692 namespace for names of struct fields.
14693 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
14694 fenv_t fields.
14695 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
14696 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
14697
d6d98dea
ST
146982012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
14699
14700 [BZ #3665]
14701 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
14702
e10bb107
TS
147032012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14704
14705 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
14706 PTR_DEMANGLE.
14707
14708 [BZ #5246]
14709 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
14710 PTR_DEMANGLE.
14711
a0c2940d
JM
147122012-11-04 Joseph Myers <joseph@codesourcery.com>
14713
14714 [BZ #14797]
14715 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
14716 definitely overflow as x * y not x * y + z.
14717 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14718 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14719 * math/libm-test.inc (fma_test): Add more tests.
14720 (fma_test_towardzero): Likewise.
14721 (fma_test_downward): Likewise.
14722 (fma_test_upward): Likewise.
14723
b830319d
TS
147242012-11-04 Thomas Schwinge <thomas@codesourcery.com>
14725
14726 [BZ #157]
14727
14728 * include/stub-tag.h: Remove file.
14729 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
14730 '#include' of it.
14731 * manual/maint.texi (Porting): Don't reference it.
14732 * Makerules ($(objpfx)stubs): Likewise.
14733 * dirent/closedir.c: Don't include <stub-tag.h>.
14734 * dirent/dirfd.c: Likewise.
14735 * dirent/fdopendir.c: Likewise.
14736 * dirent/getdents.c: Likewise.
14737 * dirent/getdents64.c: Likewise.
14738 * dirent/opendir.c: Likewise.
14739 * dirent/readdir.c: Likewise.
14740 * dirent/readdir64.c: Likewise.
14741 * dirent/readdir64_r.c: Likewise.
14742 * dirent/readdir_r.c: Likewise.
14743 * dirent/rewinddir.c: Likewise.
14744 * dirent/seekdir.c: Likewise.
14745 * dirent/telldir.c: Likewise.
14746 * gmon/profil.c: Likewise.
14747 * grp/setgroups.c: Likewise.
14748 * inet/if_index.c: Likewise.
14749 * io/access.c: Likewise.
14750 * io/chdir.c: Likewise.
14751 * io/chmod.c: Likewise.
14752 * io/chown.c: Likewise.
14753 * io/close.c: Likewise.
14754 * io/dup.c: Likewise.
14755 * io/dup2.c: Likewise.
14756 * io/dup3.c: Likewise.
14757 * io/euidaccess.c: Likewise.
14758 * io/faccessat.c: Likewise.
14759 * io/fchdir.c: Likewise.
14760 * io/fchmod.c: Likewise.
14761 * io/fchmodat.c: Likewise.
14762 * io/fchown.c: Likewise.
14763 * io/fchownat.c: Likewise.
14764 * io/fcntl.c: Likewise.
14765 * io/flock.c: Likewise.
14766 * io/fstatfs.c: Likewise.
14767 * io/fstatfs64.c: Likewise.
14768 * io/fstatvfs.c: Likewise.
14769 * io/fstatvfs64.c: Likewise.
14770 * io/futimens.c: Likewise.
14771 * io/fxstat.c: Likewise.
14772 * io/fxstat64.c: Likewise.
14773 * io/fxstatat.c: Likewise.
14774 * io/fxstatat64.c: Likewise.
14775 * io/getcwd.c: Likewise.
14776 * io/isatty.c: Likewise.
14777 * io/lchmod.c: Likewise.
14778 * io/lchown.c: Likewise.
14779 * io/link.c: Likewise.
14780 * io/linkat.c: Likewise.
14781 * io/lseek.c: Likewise.
14782 * io/lseek64.c: Likewise.
14783 * io/lxstat64.c: Likewise.
14784 * io/mkdir.c: Likewise.
14785 * io/mkdirat.c: Likewise.
14786 * io/mkfifo.c: Likewise.
14787 * io/mkfifoat.c: Likewise.
14788 * io/open.c: Likewise.
14789 * io/open64.c: Likewise.
14790 * io/openat.c: Likewise.
14791 * io/openat64.c: Likewise.
14792 * io/pipe.c: Likewise.
14793 * io/pipe2.c: Likewise.
14794 * io/poll.c: Likewise.
14795 * io/posix_fadvise.c: Likewise.
14796 * io/posix_fadvise64.c: Likewise.
14797 * io/posix_fallocate.c: Likewise.
14798 * io/posix_fallocate64.c: Likewise.
14799 * io/read.c: Likewise.
14800 * io/readlink.c: Likewise.
14801 * io/readlinkat.c: Likewise.
14802 * io/rmdir.c: Likewise.
14803 * io/sendfile.c: Likewise.
14804 * io/sendfile64.c: Likewise.
14805 * io/statfs.c: Likewise.
14806 * io/statfs64.c: Likewise.
14807 * io/statvfs.c: Likewise.
14808 * io/statvfs64.c: Likewise.
14809 * io/symlink.c: Likewise.
14810 * io/symlinkat.c: Likewise.
14811 * io/ttyname.c: Likewise.
14812 * io/ttyname_r.c: Likewise.
14813 * io/umask.c: Likewise.
14814 * io/unlink.c: Likewise.
14815 * io/unlinkat.c: Likewise.
14816 * io/utime.c: Likewise.
14817 * io/utimensat.c: Likewise.
14818 * io/write.c: Likewise.
14819 * io/xmknod.c: Likewise.
14820 * io/xmknodat.c: Likewise.
14821 * io/xstat.c: Likewise.
14822 * io/xstat64.c: Likewise.
14823 * login/getpt.c: Likewise.
14824 * login/grantpt.c: Likewise.
14825 * login/unlockpt.c: Likewise.
14826 * math/e_acoshl.c: Likewise.
14827 * math/e_acosl.c: Likewise.
14828 * math/e_asinl.c: Likewise.
14829 * math/e_atan2l.c: Likewise.
14830 * math/e_atanhl.c: Likewise.
14831 * math/e_coshl.c: Likewise.
14832 * math/e_expl.c: Likewise.
14833 * math/e_fmodl.c: Likewise.
14834 * math/e_gammal_r.c: Likewise.
14835 * math/e_hypotl.c: Likewise.
14836 * math/e_j0l.c: Likewise.
14837 * math/e_j1l.c: Likewise.
14838 * math/e_jnl.c: Likewise.
14839 * math/e_lgammal_r.c: Likewise.
14840 * math/e_log10l.c: Likewise.
14841 * math/e_log2l.c: Likewise.
14842 * math/e_logl.c: Likewise.
14843 * math/e_powl.c: Likewise.
14844 * math/e_rem_pio2l.c: Likewise.
14845 * math/e_sinhl.c: Likewise.
14846 * math/e_sqrtl.c: Likewise.
14847 * math/fclrexcpt.c: Likewise.
14848 * math/fedisblxcpt.c: Likewise.
14849 * math/feenablxcpt.c: Likewise.
14850 * math/fegetenv.c: Likewise.
14851 * math/fegetexcept.c: Likewise.
14852 * math/fegetround.c: Likewise.
14853 * math/feholdexcpt.c: Likewise.
14854 * math/fesetenv.c: Likewise.
14855 * math/fesetround.c: Likewise.
14856 * math/feupdateenv.c: Likewise.
14857 * math/fgetexcptflg.c: Likewise.
14858 * math/fraiseexcpt.c: Likewise.
14859 * math/fsetexcptflg.c: Likewise.
14860 * math/ftestexcept.c: Likewise.
14861 * math/k_cosl.c: Likewise.
14862 * math/k_rem_pio2l.c: Likewise.
14863 * math/k_sinl.c: Likewise.
14864 * math/k_tanl.c: Likewise.
14865 * math/s_asinhl.c: Likewise.
14866 * math/s_atanl.c: Likewise.
14867 * math/s_cbrtl.c: Likewise.
14868 * math/s_erfl.c: Likewise.
14869 * math/s_expm1l.c: Likewise.
14870 * math/s_log1pl.c: Likewise.
14871 * math/s_tanhl.c: Likewise.
14872 * misc/acct.c: Likewise.
14873 * misc/brk.c: Likewise.
14874 * misc/chflags.c: Likewise.
14875 * misc/chroot.c: Likewise.
14876 * misc/fchflags.c: Likewise.
14877 * misc/fgetxattr.c: Likewise.
14878 * misc/flistxattr.c: Likewise.
14879 * misc/fremovexattr.c: Likewise.
14880 * misc/fsetxattr.c: Likewise.
14881 * misc/fsync.c: Likewise.
14882 * misc/ftruncate.c: Likewise.
14883 * misc/futimes.c: Likewise.
14884 * misc/futimesat.c: Likewise.
14885 * misc/getdomain.c: Likewise.
14886 * misc/getdtsz.c: Likewise.
14887 * misc/gethostid.c: Likewise.
14888 * misc/gethostname.c: Likewise.
14889 * misc/getloadavg.c: Likewise.
14890 * misc/getpagesize.c: Likewise.
14891 * misc/getsysstats.c: Likewise.
14892 * misc/getxattr.c: Likewise.
14893 * misc/gtty.c: Likewise.
14894 * misc/ioctl.c: Likewise.
14895 * misc/lgetxattr.c: Likewise.
14896 * misc/listxattr.c: Likewise.
14897 * misc/llistxattr.c: Likewise.
14898 * misc/lremovexattr.c: Likewise.
14899 * misc/lsetxattr.c: Likewise.
14900 * misc/lutimes.c: Likewise.
14901 * misc/madvise.c: Likewise.
14902 * misc/mincore.c: Likewise.
14903 * misc/mlock.c: Likewise.
14904 * misc/mlockall.c: Likewise.
14905 * misc/mmap.c: Likewise.
14906 * misc/mprotect.c: Likewise.
14907 * misc/msync.c: Likewise.
14908 * misc/munlock.c: Likewise.
14909 * misc/munlockall.c: Likewise.
14910 * misc/munmap.c: Likewise.
14911 * misc/preadv.c: Likewise.
14912 * misc/preadv64.c: Likewise.
14913 * misc/ptrace.c: Likewise.
14914 * misc/pwritev.c: Likewise.
14915 * misc/pwritev64.c: Likewise.
14916 * misc/readv.c: Likewise.
14917 * misc/reboot.c: Likewise.
14918 * misc/remap_file_pages.c: Likewise.
14919 * misc/removexattr.c: Likewise.
14920 * misc/revoke.c: Likewise.
14921 * misc/select.c: Likewise.
14922 * misc/setdomain.c: Likewise.
14923 * misc/setegid.c: Likewise.
14924 * misc/seteuid.c: Likewise.
14925 * misc/sethostid.c: Likewise.
14926 * misc/sethostname.c: Likewise.
14927 * misc/setregid.c: Likewise.
14928 * misc/setreuid.c: Likewise.
14929 * misc/setxattr.c: Likewise.
14930 * misc/sstk.c: Likewise.
14931 * misc/stty.c: Likewise.
14932 * misc/swapoff.c: Likewise.
14933 * misc/swapon.c: Likewise.
14934 * misc/sync.c: Likewise.
14935 * misc/syncfs.c: Likewise.
14936 * misc/syscall.c: Likewise.
14937 * misc/truncate.c: Likewise.
14938 * misc/ualarm.c: Likewise.
14939 * misc/usleep.c: Likewise.
14940 * misc/ustat.c: Likewise.
14941 * misc/utimes.c: Likewise.
14942 * misc/vhangup.c: Likewise.
14943 * misc/writev.c: Likewise.
14944 * posix/_exit.c: Likewise.
14945 * posix/alarm.c: Likewise.
14946 * posix/execve.c: Likewise.
14947 * posix/fexecve.c: Likewise.
14948 * posix/fork.c: Likewise.
14949 * posix/fpathconf.c: Likewise.
14950 * posix/getaddrinfo.c: Likewise.
14951 * posix/getegid.c: Likewise.
14952 * posix/geteuid.c: Likewise.
14953 * posix/getgid.c: Likewise.
14954 * posix/getgroups.c: Likewise.
14955 * posix/getlogin.c: Likewise.
14956 * posix/getlogin_r.c: Likewise.
14957 * posix/getpgid.c: Likewise.
14958 * posix/getpid.c: Likewise.
14959 * posix/getppid.c: Likewise.
14960 * posix/getresgid.c: Likewise.
14961 * posix/getresuid.c: Likewise.
14962 * posix/getsid.c: Likewise.
14963 * posix/getuid.c: Likewise.
14964 * posix/glob64.c: Likewise.
14965 * posix/nanosleep.c: Likewise.
14966 * posix/pathconf.c: Likewise.
14967 * posix/pause.c: Likewise.
14968 * posix/posix_madvise.c: Likewise.
14969 * posix/pread.c: Likewise.
14970 * posix/pread64.c: Likewise.
14971 * posix/pwrite.c: Likewise.
14972 * posix/pwrite64.c: Likewise.
14973 * posix/sched_getaffinity.c: Likewise.
14974 * posix/sched_getp.c: Likewise.
14975 * posix/sched_gets.c: Likewise.
14976 * posix/sched_primax.c: Likewise.
14977 * posix/sched_primin.c: Likewise.
14978 * posix/sched_rr_gi.c: Likewise.
14979 * posix/sched_setaffinity.c: Likewise.
14980 * posix/sched_setp.c: Likewise.
14981 * posix/sched_sets.c: Likewise.
14982 * posix/sched_yield.c: Likewise.
14983 * posix/setgid.c: Likewise.
14984 * posix/setlogin.c: Likewise.
14985 * posix/setpgid.c: Likewise.
14986 * posix/setresgid.c: Likewise.
14987 * posix/setresuid.c: Likewise.
14988 * posix/setsid.c: Likewise.
14989 * posix/setuid.c: Likewise.
14990 * posix/sleep.c: Likewise.
14991 * posix/spawni.c: Likewise.
14992 * posix/sysconf.c: Likewise.
14993 * posix/times.c: Likewise.
14994 * posix/wait.c: Likewise.
14995 * posix/wait3.c: Likewise.
14996 * posix/wait4.c: Likewise.
14997 * posix/waitpid.c: Likewise.
14998 * resolv/gai_sigqueue.c: Likewise.
14999 * resource/getpriority.c: Likewise.
15000 * resource/getrlimit.c: Likewise.
15001 * resource/getrusage.c: Likewise.
15002 * resource/nice.c: Likewise.
15003 * resource/setpriority.c: Likewise.
15004 * resource/setrlimit.c: Likewise.
15005 * resource/ulimit.c: Likewise.
15006 * rt/aio_cancel.c: Likewise.
15007 * rt/aio_fsync.c: Likewise.
15008 * rt/aio_read.c: Likewise.
15009 * rt/aio_sigqueue.c: Likewise.
15010 * rt/aio_suspend.c: Likewise.
15011 * rt/aio_write.c: Likewise.
15012 * rt/clock_getres.c: Likewise.
15013 * rt/clock_gettime.c: Likewise.
15014 * rt/clock_nanosleep.c: Likewise.
15015 * rt/clock_settime.c: Likewise.
15016 * rt/lio_listio.c: Likewise.
15017 * rt/mq_close.c: Likewise.
15018 * rt/mq_getattr.c: Likewise.
15019 * rt/mq_notify.c: Likewise.
15020 * rt/mq_open.c: Likewise.
15021 * rt/mq_receive.c: Likewise.
15022 * rt/mq_send.c: Likewise.
15023 * rt/mq_setattr.c: Likewise.
15024 * rt/mq_timedreceive.c: Likewise.
15025 * rt/mq_timedsend.c: Likewise.
15026 * rt/mq_unlink.c: Likewise.
15027 * rt/shm_open.c: Likewise.
15028 * rt/shm_unlink.c: Likewise.
15029 * rt/timer_create.c: Likewise.
15030 * rt/timer_delete.c: Likewise.
15031 * rt/timer_getoverr.c: Likewise.
15032 * rt/timer_gettime.c: Likewise.
15033 * rt/timer_settime.c: Likewise.
15034 * setjmp/__longjmp.c: Likewise.
15035 * setjmp/setjmp.c: Likewise.
15036 * signal/kill.c: Likewise.
15037 * signal/killpg.c: Likewise.
15038 * signal/raise.c: Likewise.
15039 * signal/sigaction.c: Likewise.
15040 * signal/sigaltstack.c: Likewise.
15041 * signal/sigblock.c: Likewise.
15042 * signal/sigignore.c: Likewise.
15043 * signal/sigintr.c: Likewise.
15044 * signal/signal.c: Likewise.
15045 * signal/sigpause.c: Likewise.
15046 * signal/sigpending.c: Likewise.
15047 * signal/sigqueue.c: Likewise.
15048 * signal/sigreturn.c: Likewise.
15049 * signal/sigset.c: Likewise.
15050 * signal/sigsetmask.c: Likewise.
15051 * signal/sigstack.c: Likewise.
15052 * signal/sigsuspend.c: Likewise.
15053 * signal/sigtimedwait.c: Likewise.
15054 * signal/sigvec.c: Likewise.
15055 * signal/sigwait.c: Likewise.
15056 * signal/sigwaitinfo.c: Likewise.
15057 * signal/sysv_signal.c: Likewise.
15058 * socket/accept.c: Likewise.
15059 * socket/accept4.c: Likewise.
15060 * socket/bind.c: Likewise.
15061 * socket/connect.c: Likewise.
15062 * socket/getpeername.c: Likewise.
15063 * socket/getsockname.c: Likewise.
15064 * socket/getsockopt.c: Likewise.
15065 * socket/isfdtype.c: Likewise.
15066 * socket/listen.c: Likewise.
15067 * socket/recv.c: Likewise.
15068 * socket/recvfrom.c: Likewise.
15069 * socket/recvmsg.c: Likewise.
15070 * socket/send.c: Likewise.
15071 * socket/sendmsg.c: Likewise.
15072 * socket/sendto.c: Likewise.
15073 * socket/setsockopt.c: Likewise.
15074 * socket/shutdown.c: Likewise.
15075 * socket/sockatmark.c: Likewise.
15076 * socket/socket.c: Likewise.
15077 * socket/socketpair.c: Likewise.
15078 * stdio-common/ctermid.c: Likewise.
15079 * stdio-common/cuserid.c: Likewise.
15080 * stdio-common/remove.c: Likewise.
15081 * stdio-common/rename.c: Likewise.
15082 * stdio-common/renameat.c: Likewise.
15083 * stdio-common/tempname.c: Likewise.
15084 * stdlib/getcontext.c: Likewise.
15085 * stdlib/makecontext.c: Likewise.
15086 * stdlib/setcontext.c: Likewise.
15087 * stdlib/swapcontext.c: Likewise.
15088 * stdlib/system.c: Likewise.
15089 * streams/fattach.c: Likewise.
15090 * streams/fdetach.c: Likewise.
15091 * streams/getmsg.c: Likewise.
15092 * streams/getpmsg.c: Likewise.
15093 * streams/putmsg.c: Likewise.
15094 * streams/putpmsg.c: Likewise.
15095 * sysdeps/unix/bsd/getpt.c: Likewise.
15096 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15097 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15098 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15100 Likewise.
15101 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15102 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15103 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15104 * sysvipc/msgctl.c: Likewise.
15105 * sysvipc/msgget.c: Likewise.
15106 * sysvipc/msgrcv.c: Likewise.
15107 * sysvipc/msgsnd.c: Likewise.
15108 * sysvipc/semctl.c: Likewise.
15109 * sysvipc/semget.c: Likewise.
15110 * sysvipc/semop.c: Likewise.
15111 * sysvipc/semtimedop.c: Likewise.
15112 * sysvipc/shmat.c: Likewise.
15113 * sysvipc/shmctl.c: Likewise.
15114 * sysvipc/shmdt.c: Likewise.
15115 * sysvipc/shmget.c: Likewise.
15116 * termios/tcdrain.c: Likewise.
15117 * termios/tcflow.c: Likewise.
15118 * termios/tcflush.c: Likewise.
15119 * termios/tcgetattr.c: Likewise.
15120 * termios/tcgetpgrp.c: Likewise.
15121 * termios/tcsendbrk.c: Likewise.
15122 * termios/tcsetattr.c: Likewise.
15123 * termios/tcsetpgrp.c: Likewise.
15124 * time/adjtime.c: Likewise.
15125 * time/clock.c: Likewise.
15126 * time/getitimer.c: Likewise.
15127 * time/gettimeofday.c: Likewise.
15128 * time/setitimer.c: Likewise.
15129 * time/settimeofday.c: Likewise.
15130 * time/stime.c: Likewise.
15131 * time/time.c: Likewise.
15132
151332012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 15134
a20492cf
PT
15135 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15136 /usr/old/bin.
15137
72e182e3
PT
15138 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15139 instead of spaces.
15140 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15141
fbeafede
JM
151422012-11-03 Joseph Myers <joseph@codesourcery.com>
15143
5b5b04d6
JM
15144 [BZ #14796]
15145 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15146 FE_TONEAREST before applying Dekker multiplication and Knuth
15147 addition. Clear inexact exceptions and check for exact zero
15148 results afterwards.
15149 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15150 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15151 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15152 * math/libm-test.inc (fma_test): Add more tests.
15153 (fma_test_towardzero): Likewise.
15154 (fma_test_downward): Likewise.
15155 (fma_test_upward): Likewise.
15156 * sysdeps/generic/math_private.h (default_libc_fesetround): New
15157 function.
15158 (libc_fesetround): New macro.
15159 (libc_fesetroundf): Likewise.
15160 (libc_fesetroundl): Likewise.
15161 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15162 function.
15163 (libc_fesetround_387): Likewise.
15164 (libc_fesetroundf): New macro.
15165 (libc_fesetround): Likewise.
15166 (libc_fesetroundl): Likewise.
15167 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15168 function.
15169 (libc_fesetroundf): New macro.
15170 (libc_fesetround): Likewise.
15171 (libc_fesetroundl): Likewise.
15172 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15173 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15174 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15175 libm_hidden_ver.
15176 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15177 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15178 libm_hidden_def.
15179 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15180 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15181 libm_hidden_ver.
15182 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15183 libm_hidden_def.
15184
fbeafede
JM
15185 [BZ #3439]
15186 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15187 integer constant usable in #if and use that to give value to enum
15188 constant.
15189 (FE_DIVBYZERO): Likewise.
15190 (FE_UNDERFLOW): Likewise.
15191 (FE_OVERFLOW): Likewise.
15192 (FE_INVALID): Likewise.
15193 (FE_INVALID_SNAN): Likewise.
15194 (FE_INVALID_ISI): Likewise.
15195 (FE_INVALID_IDI): Likewise.
15196 (FE_INVALID_ZDZ): Likewise.
15197 (FE_INVALID_IMZ): Likewise.
15198 (FE_INVALID_COMPARE): Likewise.
15199 (FE_INVALID_SOFTWARE): Likewise.
15200 (FE_INVALID_SQRT): Likewise.
15201 (FE_INVALID_INTEGER_CONVERSION): Likewise.
15202 (FE_TONEAREST): Likewise.
15203 (FE_TOWARDZERO): Likewise.
15204 (FE_UPWARD): Likewise.
15205 (FE_DOWNWARD): Likewise.
15206 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15207 (FE_DIVBYZERO): Likewise.
15208 (FE_OVERFLOW): Likewise.
15209 (FE_UNDERFLOW): Likewise.
15210 (FE_INEXACT): Likewise.
15211 (FE_TONEAREST): Likewise.
15212 (FE_DOWNWARD): Likewise.
15213 (FE_UPWARD): Likewise.
15214 (FE_TOWARDZERO): Likewise.
15215 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15216 (FE_UNDERFLOW): Likewise.
15217 (FE_OVERFLOW): Likewise.
15218 (FE_DIVBYZERO): Likewise.
15219 (FE_INVALID): Likewise.
15220 (FE_TONEAREST): Likewise.
15221 (FE_TOWARDZERO): Likewise.
15222 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15223 (FE_OVERFLOW): Likewise.
15224 (FE_UNDERFLOW): Likewise.
15225 (FE_DIVBYZERO): Likewise.
15226 (FE_INEXACT): Likewise.
15227 (FE_TONEAREST): Likewise.
15228 (FE_TOWARDZERO): Likewise.
15229 (FE_UPWARD): Likewise.
15230 (FE_DOWNWARD): Likewise.
15231 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15232 (FE_DIVBYZERO): Likewise.
15233 (FE_OVERFLOW): Likewise.
15234 (FE_UNDERFLOW): Likewise.
15235 (FE_INEXACT): Likewise.
15236 (FE_TONEAREST): Likewise.
15237 (FE_DOWNWARD): Likewise.
15238 (FE_UPWARD): Likewise.
15239 (FE_TOWARDZERO): Likewise.
15240
105ca950
CM
152412012-11-02 Chris Metcalf <cmetcalf@tilera.com>
15242
15243 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15244
a542b389
AS
152452012-11-03 Andreas Schwab <schwab@linux-m68k.org>
15246
15247 * scripts/cross-test-ssh.sh (command): Use newlines to separate
15248 commands. Quote $PWD.
15249 (blacklist_exports): Don't use remove_newlines. Replace "declare
15250 -x" by "export".
15251 (remove_newlines): Remove.
15252
f62c8abc
L
152532012-11-02 H.J. Lu <hongjiu.lu@intel.com>
15254
15255 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15256 * stdlib/stdlib.h (atof): Moved to ...
15257 * include/bits/stdlib-float.h: Here. New file.
15258 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15259 * stdlib/bits/stdlib-float.h: New file.
15260 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15261 -mno-sse -mno-mmx.
15262 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15263 <xmmintrin.h>.
15264
0155d5b2
JM
152652012-11-02 Joseph Myers <joseph@codesourcery.com>
15266
a68d0680
JM
15267 * conform/conformtest.pl (@headers): Add fenv.h.
15268 * conform/data/fenv.h-data: New file.
15269 * include/fenv.h [_ISOMAC]: Disable all contents of file except
15270 include of <math/fenv.h>.
15271
caf7f573
JM
15272 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15273 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15274 && !UNIX98]. Enables tests for XOPEN2K8.
15275 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15276 POSIX2008]: Likewise.
15277
6c073ad6
JM
15278 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15279 (struct rusage): Do not expect type or its members.
15280
0155d5b2
JM
15281 [BZ #3439]
15282 * math/math.h (FP_NAN): Define macro to integer constant usable in
15283 #if and use that to give value to enum constant.
15284 (FP_INFINITE): Likewise.
15285 (FP_ZERO): Likewise.
15286 (FP_SUBNORMAL): Likewise.
15287 (FP_NORMAL): Likewise.
15288
b5dcacb4
AS
152892012-11-02 Andreas Schwab <schwab@linux-m68k.org>
15290
15291 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15292 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15293 arguments.
15294
f7934be8
RM
152952012-11-02 Roland McGrath <roland@hack.frob.com>
15296
15297 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15298 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15299 autoconf-time if not.
15300 * configure.in: Remove AC_PREREQ.
15301
d7d08bde
TMQMF
153022012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15303
15304 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15305 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15306 of the internal implementation.
15307
dcdae19a
JM
153082012-11-02 Joseph Myers <joseph@codesourcery.com>
15309
15310 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15311 except include of <misc/sys/syslog.h>.
15312
d6cffd3e
AS
153132012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15314
15315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15316 function returns with a NULL context exit with zero.
15317
b3563932
TMQMF
153182012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15319
15320 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15321
b288a93d
L
153222012-11-01 H.J. Lu <hongjiu.lu@intel.com>
15323
15324 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15325 (run_program_cmd): This.
15326 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15327 (tst_langinfo): New variable. Use it.
15328
a2421a68
SAS
153292012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
15330
15331 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15332 floating point opcodes.
15333
6f796e1b
TS
153342012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15335
7402596b
TS
15336 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15337 variable.
15338
d0d4f868
TS
15339 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15340
6f796e1b
TS
15341 * sysdeps/mach/hurd/powerpc: Remove directory.
15342 * sysdeps/mach/powerpc: Likewise.
15343
4da224a2
AS
153442012-11-01 Andreas Schwab <schwab@linux-m68k.org>
15345
15346 * scripts/check-local-headers.sh: Ignore c++ headers.
15347
341dd673
TS
153482012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15349
15350 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15351 __libc_cleanup_region_start argument.
15352
473611b2
JM
153532012-11-01 Joseph Myers <joseph@codesourcery.com>
15354
15355 [BZ #14784]
15356 [BZ #14785]
15357 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15358 x * y using scaling, not as x * y + z.
15359 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15360 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15361 * math/libm-test.inc (fma_test): Add more tests.
15362 (fma_test_towardzero): Likewise.
15363 (fma_test_downward): Likewise.
15364 (fma_test_upward): Likewise.
15365
4078da3d
TS
153662012-11-01 Thomas Schwinge <thomas@codesourcery.com>
15367
15368 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15369
903252aa
JM
153702012-10-31 Joseph Myers <joseph@codesourcery.com>
15371
15372 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15373 New variable.
15374
cbc818d0
TS
153752012-10-31 Thomas Schwinge <thomas@codesourcery.com>
15376
15377 * rt/tst-shm.c (worker): Correct checking for mmap failure.
15378
5a03cb1e
AS
153792012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15380
15381 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15382 Fix sort order.
15383 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15384 Likewise.
15385
90aff2ff
TMQMF
153862012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15387
15388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15389 Fix the order of the list for glibc 2.17.
15390 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15391 Likewise.
15392
1818fcb7
AS
153932012-10-31 Andreas Schwab <schwab@linux-m68k.org>
15394
15395 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15396
ef82f4da
JM
153972012-10-31 Joseph Myers <joseph@codesourcery.com>
15398
16a0e2ec
JM
15399 [BZ #14610]
15400 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
15401 for low part of x being zero before using __atanl (y).
15402 * math/libm-test.inc (atan2_test): Add another test.
15403
0eb69512
JM
15404 * manual/install.texi (Configuring and compiling): Document
15405 general use of test-wrapper and test-wrapper-env.
15406 * INSTALL: Regenerated.
15407
ef82f4da
JM
15408 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
15409 (__fma): Do not extract and scale down low bits on after-rounding
15410 systems when result rounded to normal precision would have normal
15411 exponent.
15412 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
15413 (__fmal): Do not extract and scale down low bits on after-rounding
15414 systems when result rounded to normal precision would have normal
15415 exponent.
15416 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
15417 (__fmal): Do not extract and scale down low bits on after-rounding
15418 systems when result rounded to normal precision would have normal
15419 exponent.
15420 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
15421 macro.
15422 (fma_test): Add more tests.
15423 (fma_test_towardzero): Likewise.
15424 (fma_test_downward): Likewise.
15425 (fma_test_upward): Likewise.
15426
954ef0d9
L
154272012-10-30 H.J. Lu <hongjiu.lu@intel.com>
15428
15429 * sysdeps/i386/tininess.h: Renamed to ...
15430 * sysdeps/x86/tininess.h: This.
15431 * sysdeps/x86_64/tininess.h: Removed.
15432
df61ffb2
JM
154332012-10-30 Joseph Myers <joseph@codesourcery.com>
15434
15435 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
15436 input. Use $(build-program-cmd).
15437 ($(objpfx)tst-array1-static.out): Likewise.
15438 ($(objpfx)tst-array2.out): Likewise.
15439 ($(objpfx)tst-array3.out): Likewise.
15440 ($(objpfx)tst-array4.out): Likewise.
15441 ($(objpfx)tst-array5.out): Likewise.
15442 ($(objpfx)tst-array5-static.out): Likewise.
15443
01767843
CM
154442012-10-30 Chris Metcalf <cmetcalf@tilera.com>
15445
47cc1490
CM
15446 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
15447 if defined.
15448
01767843
CM
15449 * nss/nsswitch.h (nss_interface_function): Provide new
15450 macro for use with NSS functions.
15451 * grp/initgroups.c: Use new macro.
15452 * nss/getXXbyYY.c: Likewise.
15453 * nss/getXXbyYY_r.c: Likewise.
15454 * nss/getXXent.c: Likewise.
15455 * nss/getXXent_r.c: Likewise.
15456 * sysdeps/posix/getaddrinfo.c: Likewise.
15457
8321aa97
AJ
154582012-10-30 Andreas Jaeger <aj@suse.de>
15459
15460 * po/ru.po: Update Russion translation from translation project.
15461
2a27fd6d
JM
154622012-10-30 Joseph Myers <joseph@codesourcery.com>
15463
8627a232
JM
15464 [BZ #14152]
15465 [BZ #14783]
15466 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
15467 result and shift together with sticky bit instead of replicating
15468 round-to-nearest rounding.
15469 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15470 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15471 * math/libm-test.inc (fma_test): Add more tests. Do not permit
15472 missing underflow exceptions.
15473 (fma_test_towardzero): Add more tests.
15474 (fma_test_downward): Likewise.
15475 (fma_test_upward): Likewise.
15476
2a27fd6d
JM
15477 [BZ #14047]
15478 * sysdeps/generic/tininess.h: New file.
15479 * sysdeps/i386/tininess.h: Likewise.
15480 * sysdeps/sh/tininess.h: Likewise.
15481 * sysdeps/x86_64/tininess.h: Likewise.
15482 * stdlib/tst-strtod-underflow.c: Likewise.
15483 * stdlib/tst-tininess.c: Likewise.
15484 * stdlib/strtod_l.c: Include <tininess.h>.
15485 (round_and_return): Do not set errno for exact underflow cases.
15486 Force an underflow exception when setting errno for underflow.
15487 Determine underflow based on rounding to normal precision if
15488 TININESS_AFTER_ROUNDING.
15489 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
15490 ERANGE for exact underflow cases.
15491 * stdlib/Makefile (tests): Add tst-tininess and
15492 tst-strtod-underflow.
15493 ($(objpfx)tst-tininess): Use $(link-libm).
15494 ($(objpfx)tst-strtod-underflow): Likewise.
15495
e7170363
AJ
154962012-10-30 Andreas Jaeger <aj@suse.de>
15497
e5088dc6
AJ
15498 [BZ#14767]
15499 * elf/Makefile (tests): Remove conditional for have-initfini-array
15500 since this is now always required and the variable does not exist
15501 anymore.
15502 (tests-static): Likewise.
15503 (modules-names): Likewise.
15504
e7170363 15505 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
15506
15507 * elf/tst-array1.c (fini_array): Make writeable so that it can be
15508 merged with constructor/destructor.
15509 (init_array): Likewise.
15510 * elf/tst-array2dep.c (fini_array): Likewise.
15511 (init_array): Likewise.
15512
60457d8a
MF
155132012-10-29 Mike Frysinger <vapier@gentoo.org>
15514
15515 * manual/message.texi: Delete @cartouche tags.
15516
8bece752
PT
155172012-10-29 Pino Toscano <toscano.pino@tiscali.it>
15518
94ce799f
PT
15519 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
15520 EOPNOTSUPP.
15521 * sysdeps/mach/hurd/fsync.c: Likewise.
15522
8bece752
PT
15523 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
15524 [_POSIX_REALTIME_SIGNALS]: Change condition to
15525 [_POSIX_REALTIME_SIGNALS > 0].
15526
86ebe6b1
AJ
155272012-10-27 Andreas Jaeger <aj@suse.de>
15528
15529 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
15530 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
15531 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
15532 [__WORDSIZE != 64]: Likewise.
15533
54399c08
L
155342012-10-26 H.J. Lu <hongjiu.lu@intel.com>
15535
15536 * iconvdata/tst-table.sh: Remove ${SHELL}.
15537 * iconvdata/tst-tables.sh: Likewise.
15538
e2211bed
DM
155392012-10-25 David S. Miller <davem@davemloft.net>
15540
15541 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15542 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
15543 of strtoull.
15544
f303f97c
DM
15545 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
15546 ifunc-impl-list.c
15547 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
15548 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
15549 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
15550 file.
15551
1e9d84cd
RM
155522012-10-25 Roland McGrath <roland@hack.frob.com>
15553
15554 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15555 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
15556 __getdirentries.
15557
df381762
JM
155582012-10-25 Joseph Myers <joseph@codesourcery.com>
15559 Jim Blandy <jimb@codesourcery.com>
15560
15561 * scripts/cross-test-ssh.sh: New file.
15562 * manual/install.texi (Configuring and compiling): Document use of
15563 cross-test-ssh.sh.
15564 * INSTALL: Regenerated.
15565
bff64913
PT
155662012-10-25 Pino Toscano <toscano.pino@tiscali.it>
15567
15568 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
15569 EOPNOTSUPP.
15570
25fe8932
JM
155712012-10-25 Joseph Myers <joseph@codesourcery.com>
15572
15573 * Makeconfig (run-program-prefix): Fix comment.
15574
cc1290d0
JM
155752012-10-24 Joseph Myers <joseph@codesourcery.com>
15576 Jim Blandy <jimb@codesourcery.com>
15577
15578 * Makeconfig (test-wrapper): New variable,
15579 (test-wrapper-env): Likewise.
15580 [$(cross-compiling) = yes && $(test-wrapper) != ""]
15581 (run-built-tests): Define to yes.
15582 (run-program-prefix): Use $(test-wrapper).
15583 (built-program-cmd): Likewise.
15584 * Rules (make-test-out): Use $(test-wrapper-env) and
15585 $(host-built-program-cmd).
15586 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
15587 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
15588 tst-pathopt.sh.
15589 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
15590 $(test-wrapper-env) to tst-rtld-load-self.sh.
15591 ($(objpfx)order2.out): Use $(test-wrapper).
15592 ($(objpfx)tst-initorder.out): Likewise.
15593 ($(objpfx)tst-initorder2.out): Likewise.
15594 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
15595 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
15596 (test_wrapper_env): New variable. Use it to run ld.so.
15597 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
15598 Use it to run ld.so.
15599 (test_wrapper_env): Likewise.
15600 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
15601 $(test-wrapper) to run-iconv-test.sh.
15602 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
15603 (ICONV): Use $test_wrapper.
15604 * posix/Makefile ($(objpfx)globtest.out): Pass
15605 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
15606 globtest.sh, not $(run-program-prefix).
15607 * posix/globtest.sh (run_via_rtld_prefix): New variable.
15608 (test_wrapper): Likewise.
15609 (test_wrapper_env): Likewise. Use it to run globtest with HOME
15610 set together with run_via_rtld_prefix.
15611 (run_program_prefix): Define in terms of test_wrapper and
15612 run_via_rtld_prefix.
15613
6e6249d0
RM
156142012-10-24 Roland McGrath <roland@hack.frob.com>
15615
15616 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
15617 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
15618 Targets removed.
15619
15620 [BZ #14743]
15621 * include/time.h: Remove librt_hidden_proto (clock_gettime).
15622 Declare __clock_getres, __clock_gettime, __clock_settime,
15623 __clock_nanosleep, and __clock_getcpuclockid.
15624 * rt/clock_gettime.c: Define __clock_gettime as an alias.
15625 Remove librt_hidden_def (clock_gettime).
15626 * sysdeps/unix/clock_gettime.c: Likewise.
15627 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
15628 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
15629 * rt/clock_getres.c: Define __clock_getres as an alias.
15630 * sysdeps/posix/clock_getres.c: Likewise.
15631 * rt/clock_settime.c: Define __clock_settime as an alias.
15632 * sysdeps/unix/clock_settime.c: Likewise.
15633 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
15634 * sysdeps/unix/clock_nanosleep.c: Likewise.
15635 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
15636 * rt/clock-compat.c: New file.
15637 * rt/Makefile (librt-routines): Add clock-compat and move
15638 $(clock-routines) to ...
15639 (routines): ... here, new variable.
15640 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
15641 Don't add get_clockfreq here.
15642 * rt/Versions (libc: GLIBC_2.17): New version set.
15643 Add clock_* symbols here.
15644 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
15645 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
15646 (GLIBC_2.17): Add clock_* symbols.
15647 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
15648 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
15649 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
15650 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15651 Likewise.
15652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15653 Likewise.
15654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
15655 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
15656 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
15657 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
15658 * NEWS: Mention the move.
15659
15660 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15661 Use __open, __read, __close rather than their public counterparts.
15662 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
15663 (__get_clockfreq_via_cpuinfo): Likewise.
15664 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
15665 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
15666
15667 * config.h.in (HAVE_IFUNC): New #undef.
15668 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
15669 was successful.
15670 * configure: Regenerated.
15671
0cae3f4b
MF
156722012-10-24 Mike Frysinger <vapier@gentoo.org>
15673
15674 * configure.in: Move READELF check to start of file.
15675 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
15676 libc_cv_asm_gnu_indirect_function in the process.
15677 * configure: Regenerated.
15678
8175a253
MF
156792012-10-24 Mike Frysinger <vapier@gentoo.org>
15680
15681 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
15682 send the output to /dev/null.
15683 (libc_cv_cc_with_libunwind): Likewise.
15684 (libc_cv_as_noexecstack): Likewise.
15685 * configure: Regenerate.
15686
0708a7d1
JM
156872012-10-24 Joseph Myers <joseph@codesourcery.com>
15688
10b40d85
JM
15689 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
15690
0708a7d1
JM
15691 * posix/globtest.sh (TMPDIR): Do not set.
15692 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
15693 (testout): Likewise.
15694
9fddec1a
AJ
156952012-10-24 Andreas Jaeger <aj@suse.de>
15696
3a8db22f
AJ
15697 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
15698 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
15699 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
15700 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
15701 posix_fadvise64, posix_fallocate64.
15702
9fddec1a
AJ
15703 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
15704 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
15705 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
15706 Likewise.
15707 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
15708 Likewise.
15709 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
15710
15711 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
15712 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
15713 <bits/fcntl-linux.h>.
15714 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
15715
15716 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
15717 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
15718 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
15719 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
15720 [__WORDSIZE != 64]: Likewise.
15721
ebfd1bbd
JM
157222012-10-23 Joseph Myers <joseph@codesourcery.com>
15723
03ac099f
JM
15724 * Makeconfig (run-built-tests): New variable.
15725 * Rules [$(cross-compiling) = yes]: Change condition to
15726 [$(run-built-tests) = no].
15727 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
15728 to [$(run-built-tests) = yes].
15729 * elf/Makefile [$(cross-compiling) = no]: Likewise
15730 * grp/Makefile [$(cross-compiling) = no]: Likewise.
15731 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
15732 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
15733 * intl/Makefile [$(cross-compiling) = no]: Likewise.
15734 * io/Makefile [$(cross-compiling) = no]: Likewise.
15735 * libio/Makefile [$(cross-compiling) = no]: Likewise.
15736 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
15737 * misc/Makefile [$(cross-compiling) = no]: Likewise.
15738 * posix/Makefile [$(cross-compiling) = no]: Likewise.
15739 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
15740 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
15741 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
15742 * string/Makefile [$(cross-compiling) = no]: Likewise.
15743
ebfd1bbd
JM
15744 * posix/Makefile ($(objpfx)globtest.out): Pass
15745 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
15746 $(rtld-installed-name).
15747 * posix/globtest.sh (elf_objpfx): Remove variable.
15748 (rtld_installed_name): Likewise.
15749 (library_path): Likewise.
15750 (run_program_prefix): New variable. Use for running globtest
15751 binary.
15752
166bca24
JB
157532012-10-23 Jim Blandy <jimb@codesourcery.com>
15754 Joseph Myers <joseph@codesourcery.com>
15755
15756 * Makeconfig (host-built-program-cmd): New variable.
15757 * elf/Makefile (tst-stackguard1-ARGS): Use
15758 $(host-built-program-cmd).
15759 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
15760 (tst-spawn-ARGS): Likewise.
15761 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
15762
88866099
JM
157632012-10-23 Joseph Myers <joseph@codesourcery.com>
15764 Jim Blandy <jimb@codesourcery.com>
15765
15766 * Makeconfig (run-via-rtld-prefix): New variable.
15767 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
15768 (built-program-cmd): Likewise.
15769
b4b4c296
AJ
157702012-10-22 Andreas Jaeger <aj@suse.de>
15771
15772 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
15773 __O_RSYNC if it exists, otherwise to O_SYNC.
15774
6fb54a22
JB
157752012-10-22 Jim Blandy <jimb@codesourcery.com>
15776 Joseph Myers <joseph@codesourcery.com>
15777
15778 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
15779 /dev/null.
15780 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
15781 from /dev/null
15782 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
15783 /dev/null.
15784
481b90b9
AJ
157852012-10-22 Andreas Jaeger <aj@suse.de>
15786
2a0e2669
AJ
15787 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
15788 Define always.
15789 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
15790
76e38f9a
AJ
15791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15792 bits/fcntl-linux.h.
15793
7cd37b43
AJ
15794 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
15795 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
15796
481b90b9
AJ
15797 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
15798 to __O_LARGEFILE.
15799 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
15800 to __O_LARGEFILE.
15801
aba75984
JB
158022012-10-21 Jim Blandy <jimb@codesourcery.com>
15803 Joseph Myers <joseph@codesourcery.com>
15804
15805 * config.make.in (NM): New variable.
15806
88d4247f
AJ
158072012-10-21 Andreas Jaeger <aj@suse.de>
15808
15809 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
15810 definitions and declarations that are provided by
15811 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
15812
f2eed205
L
158132012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15814
15815 [BZ #14683]
15816 * elf/Makefile (tests-static): Add tst-leaks1-static.
15817 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
15818 ($(objpfx)tst-leaks1-static): New rule.
15819 ($(objpfx)tst-leaks1-static-mem): Likewise.
15820 (tst-leaks1-static-ENV): New macro.
15821 * elf/dl-open.c (dl_open_worker): Check the main application
15822 only if SHARED is defined.
15823 * elf/tst-leaks1-static.c: New file.
15824
335e6931
AJ
158252012-10-20 Andreas Jaeger <aj@suse.de>
15826
15827 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
15828 generic values for Linux.
15829 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
15830 and declarations that are provided by <bits/fcntl-linux.h> and
15831 include <bits/fcntl-linux.h>.
15832 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
15833 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
15834
ac5c94d3
RM
158352012-10-20 Roland McGrath <roland@hack.frob.com>
15836
15837 * io/fcntl.h: Move include of <bits/types.h> to the top and
15838 include it unconditionally.
15839
de54b33a
L
158402012-10-20 H.J. Lu <hongjiu.lu@intel.com>
15841
228cfb01
L
15842 * wcsmbs/Makefile (tests-ifunc): New variable.
15843 (tests): Add $(tests-ifunc).
15844 * wcsmbs/test-wcschr-ifunc.c: New file.
15845 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
15846 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
15847 * wcsmbs/test-wcslen-ifunc.c: Likewise.
15848 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
15849 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
15850
69f07e5f
L
15851 * string/Makefile (tests-ifunc): New variable.
15852 (tests): Add $(tests-ifunc).
15853 * string/test-memccpy.c (TEST_NAME): New macro.
15854 * string/test-memchr.c (TEST_NAME): Likewise.
15855 * string/test-memcmp.c (TEST_NAME): Likewise.
15856 * string/test-memcpy.c (TEST_NAME): Likewise.
15857 * string/test-memmem.c (TEST_NAME): Likewise.
15858 * string/test-memmove.c (TEST_NAME): Likewise.
15859 * string/test-memset.c (TEST_NAME): Likewise.
15860 * string/test-rawmemchr.c (TEST_NAME): Likewise.
15861 * string/test-stpcpy.c (TEST_NAME): Likewise.
15862 * string/test-stpncpy.c (TEST_NAME): Likewise.
15863 * string/test-strcasecmp.c (TEST_NAME): Likewise.
15864 * string/test-strcasestr.c (TEST_NAME): Likewise.
15865 * string/test-strcat.c (TEST_NAME): Likewise.
15866 * string/test-strchr.c (TEST_NAME): Likewise.
15867 * string/test-strcmp.c(TEST_NAME): Likewise.
15868 * string/test-strcpy.c (TEST_NAME): Likewise.
15869 * string/test-strcspn.c (TEST_NAME): Likewise.
15870 * string/test-strlen.c (TEST_NAME): Likewise.
15871 * string/test-strncasecmp.c (TEST_NAME): Likewise.
15872 * string/test-strncmp.c (TEST_NAME): Likewise.
15873 * string/test-strncpy.c (TEST_NAME): Likewise.
15874 * string/test-strnlen.c (TEST_NAME): Likewise.
15875 * string/test-strpbrk.c (TEST_NAME): Likewise.
15876 * string/test-strrchr.c (TEST_NAME): Likewise.
15877 * string/test-strspn.c (TEST_NAME): Likewise.
15878 * string/test-strstr.c (TEST_NAME): Likewise.
15879 * string/test-bcopy-ifunc.c: New file.
15880 * string/test-bzero-ifunc.c: Likewise.
15881 * string/test-memccpy-ifunc.c: Likewise.
15882 * string/test-memchr-ifunc.c: Likewise.
15883 * string/test-memcmp-ifunc.c: Likewise.
15884 * string/test-memcpy-ifunc.c: Likewise.
15885 * string/test-memmem-ifunc.c: Likewise.
15886 * string/test-memmove-ifunc.c: Likewise.
15887 * string/test-mempcpy-ifunc.c: Likewise.
15888 * string/test-memset-ifunc.c: Likewise.
15889 * string/test-rawmemchr-ifunc.c: Likewise.
15890 * string/test-stpcpy-ifunc.c: Likewise.
15891 * string/test-stpncpy-ifunc.c: Likewise.
15892 * string/test-strcasecmp-ifunc.c: Likewise.
15893 * string/test-strcasestr-ifunc.c: Likewise.
15894 * string/test-strcat-ifunc.c: Likewise.
15895 * string/test-strchr-ifunc.c: Likewise.
15896 * string/test-strchrnul-ifunc.c: Likewise.
15897 * string/test-strcmp-ifunc.c: Likewise.
15898 * string/test-strcpy-ifunc.c: Likewise.
15899 * string/test-strcspn-ifunc.c: Likewise.
15900 * string/test-strlen-ifunc.c: Likewise.
15901 * string/test-strncasecmp-ifunc.c: Likewise.
15902 * string/test-strncat-ifunc.c: Likewise.
15903 * string/test-strncmp-ifunc.c: Likewise.
15904 * string/test-strncpy-ifunc.c: Likewise.
15905 * string/test-strnlen-ifunc.c: Likewise.
15906 * string/test-strpbrk-ifunc.c: Likewise.
15907 * string/test-strrchr-ifunc.c: Likewise.
15908 * string/test-strspn-ifunc.c: Likewise.
15909 * string/test-strstr-ifunc.c: Likewise.
15910
de54b33a
L
15911 * debug/Makefile (tests-ifunc): New variable.
15912 (tests): Add $(tests-ifunc).
15913 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
15914 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
15915 * debug/test-stpcpy_chk-ifunc.c: New file.
15916 * debug/test-strcpy_chk-ifunc.c: Likewise.
15917
88481c16
SP
159182012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
15919
15920 [BZ #13601]
15921 * elf/dl-load.c (open_verify): Retry read if the entire ELF
15922 header is not read in.
15923
135948bd
JM
159242012-10-19 Joseph Myers <joseph@codesourcery.com>
15925
89f1c388
JM
15926 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
15927 script to $(SHELL) as $<. Pass $(common-objpfx) to script
15928 directly. Pass built executable to script as
15929 $(built-program-cmd).
15930 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
15931 $testprogram without using LD_LIBRARY_PATH and $ldso.
15932
e40a0d21
JM
15933 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
15934 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
15935 $(rtld-installed-name).
15936 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
15937 (rtld_installed_name): Likewise.
15938 (library_path): Likewise.
15939 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
15940 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
15941 $(run-program-prefix) to tst-tables.sh.
15942 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
15943 it to run tst-table-from and tst-table-to.
15944 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
15945 Pass it to tst-table.sh.
15946 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
15947 $(run-program-prefix) to tst-gettext.sh.
15948 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
15949 tst-translit.sh.
15950 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
15951 tst-gettext2.sh.
15952 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
15953 to run tst-gettext.
15954 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
15955 to run tst-gettext2.
15956 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
15957 to run tst-translit.
15958 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
15959 $(run-program-prefix) to tst-mtrace.sh.
15960 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
15961 to run tst-mtrace.
15962 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
15963 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
15964 $(rtld-installed-name).
15965 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
15966 (rtld_installed_name): Likewise.
15967 (run_program_prefix): New variable. Use it to run wordexp-test.
15968
728e272a
JM
15969 * Makeconfig (ARCH): Remove all definitions.
15970 (machine): Likewise.
15971 [ARCH]: Remove conditional code.
15972 [!objdir]: Give error.
15973 [!objdir] (objpfx): Remove.
15974 [!objdir] (common-objpfx): Likewise.
15975 [!objdir] (common-objdir): Likewise.
15976 * configure.in (config_makefile): Remove. Hardcode Makefile in
15977 AC_CONFIG_FILES call.
15978 * configure: Regenerated.
15979
d528cdcf
JM
15980 [BZ #13888]
15981 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
15982 or TMPDIR.
15983 (testout): Likewise.
15984
135948bd
JM
15985 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
15986 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
15987 $(rtld-installed-name).
15988 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
15989 (rtld_installed_name): Likwise.
15990 (runit): Remove function.
15991 (run_getconf): New variable, Use it for running getconf binary.
15992
38c78296
L
159932012-10-18 H.J. Lu <hongjiu.lu@intel.com>
15994
15995 [BZ #14716]
15996 * string/test-memmem.c (check_result): New function.
15997 (do_one_test): Use it.
15998 (check1): New function.
15999 (test_main): Use it.
16000
d077f65f
MT
160012012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
16002
16003 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16004
ced52c71
JM
160052012-10-18 Joseph Myers <joseph@codesourcery.com>
16006
16007 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16008 (_G_LSEEK64): Likewise.
16009 (_G_MMAP64): Likewise.
16010 (_G_FSTAT64): Likewise.
16011 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16012 (_G_LSEEK64): Likewise.
16013 (_G_MMAP64): Likewise.
16014 (_G_FSTAT64): Likewise.
16015 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16016 unconditional. Call __mmap64 directly.
16017 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16018 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
16019 __lseek64 directly.
16020 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16021 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
16022 __mmap64 directly.
16023 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16024 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
16025 __lseek64 directly.
16026 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16027 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
16028 __lseek64 directly.
16029 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16030 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
16031 __lseek64 directly.
16032 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16033 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
16034 __fxstat64 directly.
16035 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16036 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16037 unconditional.
16038 (freopen64) [!_G_OPEN64]: Remove conditional code.
16039 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16040 unconditional.
16041 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16042 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16043 unconditional.
16044 (ftello64) [!_G_LSEEK64]: Remove conditional code.
16045 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16046 unconditional.
16047 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16048 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16049 unconditional.
16050 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16051 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16052 unconditional.
16053 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16054 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16055 unconditional.
16056 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16057 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16058 unconditional.
16059 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16060
b741de23
SP
160612012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
16062
16063 [BZ #12140]
16064 * manual/memory.texi (Malloc Tunable Parameters): Add note
16065 about free list pointers overwriting some perturb bytes.
16066 Wording suggested by Roland McGrath.
16067
f9b9d9c9
JM
160682012-10-17 Joseph Myers <joseph@codesourcery.com>
16069
16070 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16071 (lgamma_test): Likewise.
16072 (tgamma_test): Likewise.
16073
172a631a
FW
160742012-10-16 Florian Weimer <fweimer@redhat.com>
16075
16076 [BZ #14700]
16077 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16078 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16079
e9f37252
MK
160802012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
16081
16082 * NEWS: Mention BZ #14716.
16083 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16084 when removing AVAILABLE1_USES_J macro.
16085
d394eb74
L
160862012-10-12 H.J. Lu <hongjiu.lu@intel.com>
16087
16088 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16089 (__bswap_64): __uint64_t for unsigned 64-bit int.
16090
ca38dc17
AS
160912012-10-12 Andreas Schwab <schwab@linux-m68k.org>
16092
16093 * include/string.h (memmem): Declare libc hidden alias.
16094 * string/memmem.c (memmem): Define libc hidden alias.
16095 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16096 __read, __close instead of open, read, close.
16097
9a387d1f
L
160982012-10-11 H.J. Lu <hongjiu.lu@intel.com>
16099
ac49ecaf
L
16100 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16101 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16102 global and hidden.
16103 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16104 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16105 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16106 Likewise.
16107 (__rawmemchr_sse2): Likewise.
16108 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16109 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16110 (__strchr_sse2): Likewise.
16111 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16112 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16113 (__strcasecmp_sse2): Likewise.
16114 (__strncasecmp_sse2): Likewise.
16115 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16116 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16117 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16118 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16119 (__strrchr_sse2): Likewise.
16120 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16121 ifunc-impl-list.c.
16122 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16123 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16124 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16125 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16126 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16127 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16128 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16129 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16130 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16131 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16132 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16133 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16134 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16135 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16136 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16137 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16138 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16139 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16140 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16141 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16142 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16143 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16144 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16145 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16146 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16147 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16148 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16149 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16150 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16151 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16152
b090e8ea
L
16153 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16154 global and hidden.
16155 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16156 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16157 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16158 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16159 Likewise.
16160 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16161 Likewise.
16162 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16163 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16164 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16165 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16166 ifunc-impl-list.c.
16167 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16168 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16169 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16170 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16171 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16172 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16173 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16174 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16175 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16176 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16177 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16178 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16179 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16180 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16181 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16182 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16183 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16184 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16185 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16186 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16187 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16188 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16189 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16190 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16191 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16192 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16193 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16194 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16195 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16196 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16197 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16198 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16199 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16200 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16201 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16202 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16203 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16204 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16205 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16206 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16207 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16208
11dd4af6
L
16209 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16210 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16211 * include/ifunc-impl-list.h: New file.
16212 * misc/ifunc-impl-list.c: Likewise.
16213 * misc/Makefile (routines): Add ifunc-impl-list.
16214 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16215 * string/test-string.h: Include <ifunc-impl-list.h>.
16216 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16217 impl_array): New variables.
16218 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16219 are defined.
16220 (test_init): Call __libc_ifunc_impl_list to initialize
16221 func_list if TEST_IFUNC and TEST_NAME are defined.
16222
9a387d1f
L
16223 * string/Makefile (strop-tests): Add bcopy and bzero.
16224 * string/test-bcopy.c: New file.
16225 * string/test-bzero.c: Likewise.
16226 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16227 defined.
16228 * string/test-memset.c: Support bzero test if TEST_BZERO is
16229 defined.
16230 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16231 __libc_memmove.
16232 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16233 __libc_memset.
16234 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16235 of memset.
16236
472371b9
JM
162372012-10-10 Joseph Myers <joseph@codesourcery.com>
16238
1e4a9536
JM
16239 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16240 * configure: Regenerated.
16241
d173d12e
JM
16242 * Makeconfig (+link-static-before-libc): Don't include
16243 $(link-static-libc).
16244
472371b9
JM
16245 * libio/libio.h (_IO_pos_t): Remove.
16246
89a3ad0b
AO
162472012-10-10 Alexandre Oliva <aoliva@redhat.com>
16248
16249 * NEWS: Add note about FIPS mode. Wording suggested by Roland
16250 McGrath.
16251
e7451425
AO
162522012-10-10 Alexandre Oliva <aoliva@redhat.com>
16253
16254 * crypt/crypt-entry.c: Include fips-private.h.
16255 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16256 * crypt/md5c-test.c (main): Tolerate disabled MD5.
16257 * sysdeps/unix/sysv/linux/fips-private.h: New file.
16258 * sysdeps/generic/fips-private.h: New file, dummy fallback.
16259
4ba74a35
AO
162602012-10-10 Alexandre Oliva <aoliva@redhat.com>
16261
16262 * crypt/crypt-private.h: Include stdbool.h.
16263 (_ufc_setup_salt_r): Return bool.
16264 * crypt/crypt-entry.c: Include errno.h.
16265 (__crypt_r): Return NULL with EINVAL for bad salt.
16266 * crypt/crypt_util.c (bad_for_salt): New.
16267 (_ufc_setup_salt_r): Check that salt is long enough and within
16268 the specified alphabet.
16269 * crypt/badsalttest.c: New file.
16270 * crypt/Makefile (tests): Add it.
16271 ($(objpfx)badsalttest): New.
16272
f96f1242
MK
162732012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
16274
16275 * NEWS: Add entry for BZ #14602.
16276
0e8e0c1c
JM
162772012-10-09 Joseph Myers <joseph@codesourcery.com>
16278
16279 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16280 type-generic.
16281 * math/libm-test.inc: Update comment listing what functions and
16282 macros are tested.
16283 (isgreater_test): New function.
16284 (isgreaterequal_test): Likewise.
16285 (isless_test): Likewise.
16286 (islessequal_test): Likewise.
16287 (islessgreater_test): Likewise.
16288 (isunordered_test): Likewise.
16289 (main): Call the new functions.
16290
273edc5e
RM
162912012-10-09 Roland McGrath <roland@hack.frob.com>
16292
b8493de0
RM
16293 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16294 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16295 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16296 * sysdeps/i386/configure: Regenerated.
16297 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16298 * sysdeps/mach/configure: Regenerated.
16299 * sysdeps/mach/hurd/configure: Regenerated.
16300 * sysdeps/powerpc/configure: Regenerated.
16301 * sysdeps/powerpc/powerpc32/configure: Regenerated.
16302 * sysdeps/powerpc/powerpc64/configure: Regenerated.
16303 * sysdeps/s390/s390-32/configure: Regenerated.
16304 * sysdeps/s390/s390-64/configure: Regenerated.
16305 * sysdeps/sh/configure: Regenerated.
16306 * sysdeps/sparc/configure: Regenerated.
16307 * sysdeps/unix/sysv/linux/configure: Regenerated.
16308 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16309 * sysdeps/x86_64/configure: Regenerated.
16310
273edc5e
RM
16311 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16312 defined. Don't check if MAP is NULL.
16313
c8450f70
JM
163142012-10-09 Joseph Myers <joseph@codesourcery.com>
16315
16316 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16317 (_G_stat64): Likewise.
16318 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16319 (_G_stat64): Likewise.
16320 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16321 instead of struct _G_stat64.
16322 * libio/fileops.c (mmap_remap_check): Likewise.
16323 (decide_maybe_mmap): Likewise.
16324 (_IO_new_file_seekoff): Likewise.
16325 (_IO_file_stat): Likewise.
16326 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16327 _G_off64_t.
16328 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16329 instead of struct _G_stat64.
16330 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16331
57e605ba
MK
163322012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
16333
16334 [BZ #14602]
16335 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16336 Replace with ...
16337 (CHECK_EOL): New macro.
16338 (two_way_short_needle): Check beginning of haystack for EOL. Use
16339 CHECK_EOL.
16340 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16341 Replace with CHECK_EOL.
16342 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16343 Replace with CHECK_EOL.
16344
ef1bb361
JM
163452012-10-08 Joseph Myers <joseph@codesourcery.com>
16346
16347 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16348 type-generic.
16349 * math/libm-test.inc: Update comment listing what functions and
16350 macros are tested.
16351 (finite_test): New function.
16352 (isinf_test): Likewise.
16353 (isnan_test): Likewise.
16354 (fpclassify_test): Test subnormal input.
16355 (isfinite_test): Likewise.
16356 (isnormal_test): Likewise.
16357 (main): Call the new functions.
16358
55f11534
JN
163592012-10-08 Jonathan Nieder <jrnieder@gmail.com>
16360
16361 [BZ #14660]
16362 * Makerules (%.dynsym): Force C locale when running
16363 $(OBJDUMP) --dynamic-syms.
16364
1ab29350
AS
163652012-10-08 Andreas Schwab <schwab@linux-m68k.org>
16366
16367 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16368 <stdint.h>.
16369
f1ecb7ef
DM
163702012-10-06 David S. Miller <davem@davemloft.net>
16371
16372 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16373 upper 32-bits of the length value in %o2 since we use branch-on-register
16374 tests which consider the entire 64-bit register.
16375
5d41d91a
L
163762012-10-06 H.J. Lu <hongjiu.lu@intel.com>
16377
16378 * string/test-strstr.c (check2): Add a test for page boundary.
16379
3baddb72
DM
163802012-10-05 David S. Miller <davem@davemloft.net>
16381
16382 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16383 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16384 file.
16385 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16386 sysdep_routines.
16387 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16388 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
16389 and bzero when HWCAP_SPARC_CRYPTO is present.
16390
9cee5585
L
163912012-10-05 H.J. Lu <hongjiu.lu@intel.com>
16392
d7e0dab9
L
16393 [BZ #14602]
16394 * string/test-strstr.c (check2): New function.
16395 (test_main): Call check2.
16396
03759f47
L
16397 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
16398 and bug-strchr1.
16399 * string/bug-strcasestr1.c (do_test): Moved to ...
16400 * string/test-strcasestr.c (check1): Here. New function.
16401 (do_one_test): Break out result checking code into ...
16402 (check_result): This. New function.
16403 (do_one_test): Call check_result.
16404 (test_main): Call check1.
16405 * string/bug-strchr1.c (do_test): Moved to ...
16406 * string/test-strchr.c (check1): Here. New function.
16407 (do_one_test): Break out result checking code into ...
16408 (check_result): This. New function.
16409 (do_one_test): Call check_result.
16410 (test_main): Call check1.
16411 * string/bug-strstr1.c (main): Moved to ...
046f153e 16412 * string/test-strstr.c (check1): Here. New function.
03759f47
L
16413 (do_one_test): Break out result checking code into ...
16414 (check_result): This. New function.
16415 (do_one_test): Call check_result.
16416 (test_main): Call check1.
16417 * string/bug-strcasestr1.c: Removed.
16418 * string/bug-strchr1.c: Likewise.
16419 * string/bug-strstr1.c: Likewise.
16420
53cea63e
L
16421 * elf/Makefile (dl-routines): Add hwcaps.
16422 * elf/dl-support.c (_dl_important_hwcaps): Removed.
16423 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
16424 (_dl_important_hwcaps): Moved to ...
16425 * elf/dl-hwcaps.c: Here. New file.
16426 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
16427
9cee5585 16428 [BZ #14557]
bb859b06
L
16429 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
16430 if IS_IN_rtld isn't defined.
16431
9cee5585
L
16432 * elf/dl-support.c (_dl_sysinfo_map): New.
16433 Include "get-dynamic-info.h" and "setup-vdso.h".
16434 (_dl_non_dynamic_init): Call setup_vdso.
16435 * elf/dynamic-link.h: Don't include <assert.h>.
16436 (elf_get_dynamic_info): Moved to ...
16437 * elf/get-dynamic-info.h: Here. New file.
16438 * elf/dynamic-link.h: Include "get-dynamic-info.h".
16439 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
16440 * elf/setup-vdso.h: Here. New file.
16441 * elf/rtld.c: Include "setup-vdso.h".
16442 (dl_main): Call setup_vdso.
16443
23c31b76
JM
164442012-10-05 Joseph Myers <joseph@codesourcery.com>
16445
28234b07
JM
16446 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
16447 creal in comment listing functions tested. List finite, isinf,
16448 isnan, isless, islessequal, isgreater, isgreaterequal,
16449 islessgreater, isunordered, lgamma_r and pow10 as functions and
16450 macros not tested. Mention which functions not tested are aliases
16451 for other functions. Fix typo. Note that signs of NaNs are not
16452 tested.
16453
23c31b76
JM
16454 * scripts/config.guess: Update from config.git.
16455 * scripts/config.sub: Likewise.
16456
9043e228
RM
164572012-10-04 Roland McGrath <roland@hack.frob.com>
16458
16459 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
16460 * misc/madvise.c (madvise): Renamed to __madvise.
16461 Make madvise a weak alias.
16462 * include/sys/mman.h: Declare __madvise.
16463 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
16464 * sysdeps/unix/syscalls.list
16465 (madvise): Make __madvise the strong name, and madvise a weak alias.
16466 * sysdeps/unix/sysv/linux/syscalls.list
16467 (madvise, mmap): Remove redundant entries.
16468 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
16469 * malloc/malloc.c (mtrim): Likewise.
16470 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
16471
f57f8055
RM
164722012-10-03 Roland McGrath <roland@hack.frob.com>
16473
16474 * sysdeps/mach/hurd/dl-cache.c: File removed.
16475 * config.h.in (USE_LDCONFIG): New #undef.
16476 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
16477 * configure: Regenerated.
16478 * elf/Makefile (dl-routines): Add dl-cache only under
16479 [$(use-ldconfig) = yes].
16480 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
16481 cache on [USE_LDCONFIG].
16482 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
16483 [USE_LDCONFIG].
16484 * elf/rtld.c (dl_main): Likewise.
16485
5bb0c10a
PT
164862012-10-03 Pino Toscano <toscano.pino@tiscali.it>
16487
16488 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
16489 _SC_LEVEL4_CACHE_LINESIZE.
16490
010188c6
RM
164912012-10-03 Roland McGrath <roland@hack.frob.com>
16492
16493 * sysdeps/unix/bsd/confstr.h: File removed.
16494
b6c5ec07
AO
164952012-10-02 Alexandre Oliva <aoliva@redhat.com>
16496
16497 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
16498 sys/sdt-config.h.
16499
408223d4
RM
165002012-10-02 Roland McGrath <roland@hack.frob.com>
16501
16502 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
16503 Make 'mapoff' field ElfW(Off) rather than off_t.
16504
bb9510dc
DL
165052012-10-02 Dmitry V. Levin <ldv@altlinux.org>
16506
fc997c6e
DL
16507 * nscd/Makefile: Remove nscd-cflags and all its users.
16508 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
16509 (CFLAGS-nonlib): Add compiler flags for nscd modules.
16510
bb9510dc
DL
16511 [BZ #10631]
16512 * malloc.c (malloc_printerr): Clarify error message.
16513
05699367
L
165142012-10-02 H.J. Lu <hongjiu.lu@intel.com>
16515
16516 [BZ #14648]
16517 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16518 Set bit_FMA_Usable if FMA is supported.
16519 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
16520 macro.
16521 (bit_FMA4_Usable): Updated.
16522 (index_FMA_Usable): New macro.
16523 (CPUID_FMA): Likewise
16524 (HAS_FMA): Defined with bit_FMA_Usable.
16525
51367701
RM
165262012-10-01 Roland McGrath <roland@hack.frob.com>
16527
16528 * bits/types.h (__swblk_t): Type removed.
16529 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
16530 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
16531 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
16532 (__SWBLK_T_TYPE): Likewise.
16533 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
16534 (__SWBLK_T_TYPE): Likewise.
16535 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
16536 (__SWBLK_T_TYPE): Likewise.
16537 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
16538 (__SWBLK_T_TYPE): Likewise.
16539
4d57bf63 165402012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 16541 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
16542
16543 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
16544 (xdr_mapname): Use YPMAXMAP as maxsize.
16545 (xdr_peername): Use YPMAXPEER as maxsize.
16546 (xdr_keydat): Use YPAXRECORD as maxsize.
16547 (xdr_valdat): Use YPMAXRECORD as maxsize.
16548
93c65d43
RM
165492012-10-01 Roland McGrath <roland@hack.frob.com>
16550
497a03d6
RM
16551 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
16552
93c65d43
RM
16553 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
16554 * csu/init-first.c: ... here.
16555 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
16556 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
16557 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
16558 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
16559 * sysdeps/i386/init-first.c: File removed.
16560 * sysdeps/sh/init-first.c: File removed.
16561
bec749fd
JM
165622012-10-01 Joseph Myers <joseph@codesourcery.com>
16563
16564 [BZ #14645]
16565 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
16566 if x * y might underflow to zero and z is zero.
16567 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16568 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16569 * math/libm-test.inc (min_subnorm_value): New variable.
16570 (fma_test): Add more tests.
16571 (fma_test_towardzero): Likewise.
16572 (fma_test_downward): Likewise
16573 (fma_test_upward): Likewise.
16574 (initialize): Set min_subnorm_value.
16575
8ec5b013
JM
165762012-09-29 Joseph Myers <joseph@codesourcery.com>
16577
16578 [BZ #14638]
16579 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
16580 0 + 0.
16581 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
16582 mode for addition resulting in exact zero.
16583 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
16584 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
16585 exact 0 + 0.
16586 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
16587 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16588 * math/libm-test.inc (fma_test): Add more tests.
16589 (fma_test_towardzero): New function.
16590 (fma_test_downward): Likewise.
16591 (fma_test_upward): Likewise.
16592 (main): Call the new functions.
16593
b1fa802e
DM
165942012-09-28 David S. Miller <davem@davemloft.net>
16595
16596 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
16597
d3b9fd9e
RM
165982012-09-28 Roland McGrath <roland@hack.frob.com>
16599
ea4d37b3
RM
16600 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
16601 instead of SIGALRM.
16602
ac51c949
RM
16603 * sysdeps/gnu/_G_config.h: Moved to ...
16604 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
16605 * sysdeps/mach/hurd/_G_config.h: Moved to ...
16606 * sysdeps/generic/_G_config.h: ... here.
16607
28c195f7
RM
16608 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
16609
848917f9
RM
16610 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
16611
6bacf05b
RM
16612 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
16613 Conditionalize target on [libnss_test1.so-version].
16614
91363dbb
RM
16615 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
16616
cc87f7d8
RM
16617 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
16618 (elfobjdir): Move out of conditionals.
16619
b1c608fe
RM
16620 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
16621 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
16622 (__nss_lookup_function): Conditionalize label remove_from_tree on
16623 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 16624
1d9a6d96
DM
166252012-09-28 David S. Miller <davem@davemloft.net>
16626
16627 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
16628 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
16629 file.
16630 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
16631 sysdep_routines.
16632 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
16633 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
16634 when HWCAP_SPARC_CRYPTO is present.
16635
72581615
PT
166362012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16637
16638 * io/tst-mknodat.c: Create a FIFO instead of a socket.
16639
715a900c
JL
166402012-09-28 Andreas Schwab <schwab@linux-m68k.org>
16641
16642 [BZ #6530]
16643 * stdio-common/vfprintf.c (process_string_arg): Revert
16644 2000-07-22 change.
16645
166462011-09-28 Jonathan Nieder <jrnieder@gmail.com>
16647
16648 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
16649 for testcase.
16650 * stdio-common/tst-sprintf.c: Include <locale.h>
16651 (main): Test sprintf's handling of incomplete multibyte
16652 characters.
16653
9bac1d86
L
166542012-09-28 H.J. Lu <hongjiu.lu@intel.com>
16655
16656 * elf/dl-runtime.c (VERSYMIDX): Removed.
16657 * elf/dl-version.c (VERSYMIDX): Likewise.
16658 * elf/do-rel.h (VERSYMIDX): Likewise.
16659 (VALIDX): Likewise.
16660 * elf/dynamic-link.h (VERSYMIDX): Likewise.
16661 * elf/rtld.c (VALIDX): Likewise.
16662 (ADDRIDX): Likewise.
9bac1d86
L
16663 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
16664 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
16665 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
16666 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
16667 (VALIDX): Likewise.
16668 (ADDRIDX): Likewise.
9bac1d86 16669
b31606c0
PT
166702012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16671
16672 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
16673
11541177
JL
166742012-09-28 Dmitry V. Levin <ldv@altlinux.org>
16675
16676 [BZ #11438]
16677 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
16678 to global scope.
16679 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
16680 addresses are in the same scope as 192.0.2/24.
16681 * posix/gai.conf: Document new scope table defaults.
16682
adb26fae
SP
166832012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16684
16685 [BZ #5298]
16686 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
16687 for ftell. Compute offsets from write pointers instead.
16688 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16689
4573c6b0
SP
166902012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16691
16692 [BZ #14543]
16693 * libio/Makefile (tests): New test case tst-fseek.
16694 * libio/tst-fseek.c: New test case to verify that fseek/ftell
16695 combination works in wide mode.
16696 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
16697 state when the external buffer state changes.
16698
aa9bbfe6
DM
166992012-09-27 David S. Miller <davem@davemloft.net>
16700
16701 [BZ #14376]
16702 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
16703 pass reloc->r_addend in as the 'high' argument to
16704 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
16705
784421e7
DM
16706 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16707
c39bc8b8
PT
167082012-09-28 Pino Toscano <toscano.pino@tiscali.it>
16709
16710 * rt/tst-aio2.c: Include <pthread.h>.
16711 * rt/tst-aio3.c: Likewise.
16712
1ccc2399
SE
167132012-09-27 Steve Ellcey <sellcey@mips.com>
16714
16715 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
16716
31ed4153
L
167172012-09-27 H.J. Lu <hongjiu.lu@intel.com>
16718
25f5f885
L
16719 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
16720 contents on [SHARED].
31ed4153 16721
b7bfe116
MP
167222012-09-26 Marek Polacek <polacek@redhat.com>
16723
16724 [BZ #14530]
16725 [BZ #13741]
16726 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
16727 for C++ and GCC <4.3 as well as for non GCC compilers.
16728
43c4edba
MT
167292012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
16730
16731 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16732
6a1bf82f
RM
167332012-09-25 Roland McGrath <roland@hack.frob.com>
16734
16735 * Makefile.in (all, install): Declare with .PHONY.
16736 Reported by Michael Hope <michael.hope@linaro.org>.
16737
8ad11b9a
TMQMF
167382012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16739
16740 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
16741 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
16742 system header.
16743 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
16744 Likewise.
16745 (sydep_routines): Add the new and the internal functions.
16746 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
16747 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
16748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
16749 (GLIBC_2.17): Add the new function.
16750 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
16751 (GLIBC_2.17): Likewise.
16752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
16753 (GLIBC_2.17): Likewise.
16754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
16755 (GLIBC_2.17): Likewise.
16756 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
16757
7e2fca8d
AM
167582012-09-25 Alan Modra <amodra@gmail.com>
16759
16760 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
16761 Add release barrier before setting once_control to say
16762 initialisation is done. Add hints on lwarx. Use macro in
16763 place of isync.
16764 (clear_once_control): Add release barrier.
16765
b87c4b24
JM
167662012-09-25 Joseph Myers <joseph@codesourcery.com>
16767
d032e0d2
JM
16768 [BZ #13629]
16769 * math/s_clog.c (__clog): Handle more values close to |z| = 1
16770 specially.
16771 * math/s_clog10.c (__clog10): Likewise.
16772 * math/s_clog10f.c (__clog10f): Likewise.
16773 * math/s_clog10l.c (__clog10l): Likewise.
16774 * math/s_clogf.c (__clogf): Likewise.
16775 * math/s_clogl.c (__clogl): Likewise.
16776 * math/Makefile (libm-calls): Add x2y2m1.
16777 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
16778 (__x2y2m1): Likewise.
16779 (__x2y2m1l): Likewise.
16780 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
16781 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
16782 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16783 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
16784 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
16785 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
16786 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
16787 * sysdeps/i386/fpu/libm-test-ulps: Update.
16788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16789
b87c4b24
JM
16790 [BZ #14621]
16791 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
16792 int as type of variable DEPTH.
16793 (glob): Use size_t instead of int as type of variables NEWCOUNT
16794 and OLD_PATHC.
16795
6d3bf199
LD
167962012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
16797
22bf5c17
LD
16798 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
16799 Add s_sincosf-sse2.
16800 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
16801 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
16802 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
16803 macros for using routine as __sincosf_ia32.
16804 Use macro for function declaration and weak_alias.
16805 * sysdeps/i386/fpu/libm-test-ulps: Update.
16806
16807 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
16808 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16809
16810 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
16811 subnormal argument.
16812 * math/s_cexpf.c (__cexpf): Likewise.
16813 * math/s_csinf.c (__csinf): Likewise.
16814 * math/s_csinhf.c (__csinhf): Likewise.
16815 * math/s_ctanf.c (__ctanf): Likewise.
16816 * math/s_ctanhf.c (__ctanhf): Likewise.
16817 * math/s_ccosh.c (__ccoshf): Likewise.
16818 * math/s_cexp.c (__cexpl): Likewise.
16819 * math/s_csin.c (__csin): Likewise.
16820 * math/s_csinh.c (__csinh): Likewise.
16821 * math/s_ctan.c (__ctan): Likewise.
16822 * math/s_ctanh.c (ctanh): Likewise.
16823 * math/s_ccoshl.c (__ccoshl): Likewise.
16824 * math/s_cexpl.c (__cexpl): Likewise.
16825 * math/s_csinl.c (__csinl): Likewise.
16826 * math/s_csinhl.c (__csinhl): Likewise.
16827 * math/s_ctanl.c (__ctanl): Likewise.
16828 * math/s_ctanhl.c (__ctanhl): Likewise.
16829
203e5603
JM
168302012-09-25 Joseph Myers <joseph@codesourcery.com>
16831
16832 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
16833 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
16834 (_IO_off_t): Define to __off_t, not _G_off_t.
16835 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
16836 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
16837 (_IO_wint_t): Define to wint_t, not _G_wint_t.
16838 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
16839 type of __dummy and __dummy2 fields.
16840 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
16841 (_G_ssize_t): Likewise.
16842 (_G_off_t): Likewise.
16843 (_G_pid_t): Likewise.
16844 (_G_uid_t): Likewise.
16845 (_G_wchar_t): Likewise.
16846 (_G_wint_t): Likewise.
16847 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
16848 (_G_ssize_t): Likewise.
16849 (_G_off_t): Likewise.
16850 (_G_pid_t): Likewise.
16851 (_G_uid_t): Likewise.
16852 (_G_wchar_t): Likewise.
16853 (_G_wint_t): Likewise.
16854 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
16855 (_G_ssize_t): Likewise.
16856 (_G_off_t): Likewise.
16857 (_G_pid_t): Likewise.
16858 (_G_uid_t): Likewise.
16859 (_G_wchar_t): Likewise.
16860 (_G_wint_t): Likewise.
16861
9fab36eb
SP
168622012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16863
16864 * malloc/arena.c: Include malloc-sysdep.h.
16865 (shrink_heap): Use check_may_shrink_heap to decide if madvise
16866 is sufficient to shrink the heap or an unmap is needed.
16867 * sysdeps/generic/malloc-sysdep.h: New file. Define
16868 new function check_may_shrink_heap.
16869 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
16870 new function check_may_shrink_heap.
16871
2b4f00d1
SP
168722012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16873
16874 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
16875 comments.
16876
9a9028b1
DL
168772012-09-24 Dmitry V. Levin <ldv@altlinux.org>
16878
57c69bef
DL
16879 * catgets/test-gencat.sh: Add "set -e".
16880 * elf/tst-pathopt.sh: Likewise.
16881 * grp/tst_fgetgrent.sh: Likewise.
16882 * iconvdata/run-iconv-test.sh: Likewise.
16883 * intl/tst-gettext.sh: Likewise.
16884 * intl/tst-gettext2.sh: Likewise.
16885 * intl/tst-gettext4.sh: Likewise.
16886 * intl/tst-gettext6.sh: Likewise.
16887 * intl/tst-translit.sh: Likewise.
16888 * io/ftwtest-sh: Likewise.
16889 * libio/test-freopen.sh: Likewise.
16890 * malloc/tst-mtrace.sh: Likewise.
16891 * posix/globtest.sh: Likewise.
16892 * posix/tst-getconf.sh: Likewise.
16893 * posix/wordexp-tst.sh: Likewise.
16894 * stdio-common/tst-printf.sh: Likewise.
16895 * stdio-common/tst-unbputc.sh: Likewise.
16896 * stdlib/tst-fmtmsg.sh: Likewise.
16897 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16898 * catgets/Makefile: Do not specify -e option when running
16899 testsuite shell scripts.
16900 * elf/Makefile: Likewise.
16901 * grp/Makefile: Likewise.
16902 * iconvdata/Makefile: Likewise.
16903 * intl/Makefile: Likewise.
16904 * io/Makefile: Likewise.
16905 * libio/Makefile: Likewise.
16906 * malloc/Makefile: Likewise.
16907 * posix/Makefile: Likewise.
16908 * stdio-common/Makefile: Likewise.
16909 * stdlib/Makefile: Likewise.
16910 * sysdeps/x86_64/Makefile: Likewise.
16911
9a9028b1
DL
16912 * io/ftwtest-sh: Add copyright header.
16913 * posix/globtest.sh: Likewise.
16914 * posix/tst-getconf.sh: Likewise.
16915 * posix/wordexp-tst.sh: Likewise.
16916 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
16917
ced6f16e
L
169182012-09-24 H.J. Lu <hongjiu.lu@intel.com>
16919
94b32c39
L
16920 [BZ #13679]
16921 * Makeconfig (+link): Defined as $(+link-static) if
16922 $(build-shared) isn't yes.
16923 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
16924 isn't yes.
16925 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
16926
189e935b
L
16927 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
16928
ced6f16e
L
16929 [BZ #14562]
16930 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
16931 new chunk size with MALLOC_ALIGN_MASK.
16932
a9f8e53a
JM
169332012-09-24 Joseph Myers <joseph@codesourcery.com>
16934
16935 [BZ #5044]
16936 * stdio-common/printf_fphex.c: Include <stdbool.h> and
16937 <rounding-mode.h>.
16938 (__printf_fphex): Determine rounding using get_rounding_mode and
16939 round_away.
16940 * stdio-common/tst-printf-round.c (struct hex_test): New
16941 structure.
16942 (hex_tests): New variable.
16943 (test_hex_in_one_mode): New function.
16944 (do_test): Also run tests for hex float output.
16945
43153109
JM
169462012-09-21 Joseph Myers <joseph@codesourcery.com>
16947
16948 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16949 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16950 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
16951 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
16952 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
16953 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
16954 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16955 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
16956
8a26625d
JM
169572012-09-20 Joseph Myers <joseph@codesourcery.com>
16958
16959 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
16960 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
16961 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
16962 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
16963
f3fd569c
DL
169642012-09-19 Dmitry V. Levin <ldv@altlinux.org>
16965
16966 [BZ #14579]
16967 * elf/rtld.c (dl_main): Limit the check for self loading to normal
16968 mode only.
16969 * elf/tst-rtld-load-self.sh: New test.
16970 * elf/Makefile: Run it.
16971
63bbedd4
JM
169722012-09-18 Joseph Myers <joseph@codesourcery.com>
16973
16974 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
16975 (tst-writev-ENV): Remove.
16976 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
16977
626f8b6a
CM
169782012-09-17 Chris Metcalf <cmetcalf@tilera.com>
16979
16980 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
16981
b7aaa4d6
JM
169822012-09-17 Joseph Myers <joseph@codesourcery.com>
16983
16984 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
16985 unconditional.
16986 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
16987 Likewise.
16988 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
16989 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
16990 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
16991 Likewise.
16992
65513990
L
169932012-09-14 H.J. Lu <hongjiu.lu@intel.com>
16994
16995 [BZ #14587]
16996 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
16997 * config.make.in (have-cpp-asm-debuginfo): Removed.
16998 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
16999 * configure: Regenerated.
17000
784761be
JM
170012012-09-14 Joseph Myers <joseph@codesourcery.com>
17002
17003 [BZ #5044]
17004 * stdio-common/printf_fp.c: Include <stdbool.h> and
17005 <rounding-mode.h>.
17006 (___printf_fp): Determine rounding using get_rounding_mode and
17007 round_away.
17008 * stdio-common/tst-printf-round.c: New file.
17009 * stdio-common/Makefile (tests): Add tst-printf-round.
17010 (link-libm): New variable.
17011 ($(objpfx)tst-printf-round): Depend in $(link-libm).
17012
9503345f
L
170132012-09-13 H.J. Lu <hongjiu.lu@intel.com>
17014
17015 [BZ #14576]
17016 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17017 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17018 Likewise.
17019 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17020 Likewise.
17021
ad35fc00
JM
170222012-09-13 Joseph Myers <joseph@codesourcery.com>
17023
17024 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17025 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17026 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17027 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17028
6c9b0f68
JM
170292012-09-12 Joseph Myers <joseph@codesourcery.com>
17030
17031 [BZ #14518]
17032 * include/rounding-mode.h: New file.
17033 * sysdeps/generic/get-rounding-mode.h: Likewise.
17034 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17035 * stdlib/strtod_l.c: Include <rounding-mode.h>.
17036 (MAX_VALUE): New macro.
17037 (MIN_VALUE): Likewise.
17038 (overflow_value): New function.
17039 (underflow_value): Likewise.
17040 (round_and_return): Use overflow_value and underflow_value to
17041 determine return values in overflow and underflow cases. Use
17042 round_away to determine rounding depending on rounding mode.
17043 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17044 determine return values in overflow and underflow cases.
17045 * stdlib/tst-strtod-round.c: Include <fenv.h>.
17046 (struct test_results): New structure.
17047 (struct test): Use struct test_results to store expected results
17048 for all rounding modes.
17049 (TEST): Include expected results for all rounding modes.
17050 (test_in_one_mode): New function.
17051 (do_test): Use test_in_one_mode to compute and check results.
17052 Check results for all rounding modes.
17053 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17054 $(link-libm).
17055
19fcedd5
AM
170562012-12-09 Allan McRae <allan@archlinux.org>
17057
1e9d84cd 17058 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 17059
8bbfd2f1
JM
170602012-09-11 Joseph Myers <joseph@codesourcery.com>
17061
17062 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17063 (_G_int32_t): Likewise.
17064 (_G_uint16_t): Likewise.
17065 (_G_uint32_t): Likewise.
17066 (_G_HAVE_BOOL): Likewise.
17067 (_G_HAVE_ATEXIT): Likewise.
17068 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17069 (_G_HAVE_IO_FILE_OPEN): Likewise.
17070 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17071 (_G_int32_t): Likewise.
17072 (_G_uint16_t): Likewise.
17073 (_G_uint32_t): Likewise.
17074 (_G_HAVE_BOOL): Likewise.
17075 (_G_HAVE_ATEXIT): Likewise.
17076 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17077 (_G_HAVE_IO_FILE_OPEN): Likewise.
17078 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17079 (_G_int32_t): Likewise.
17080 (_G_uint16_t): Likewise.
17081 (_G_uint32_t): Likewise.
17082 (_G_HAVE_BOOL): Likewise.
17083 (_G_HAVE_ATEXIT): Likewise.
17084 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17085 (_G_HAVE_IO_FILE_OPEN): Likewise.
17086
b1dc5912
L
170872012-09-11 H.J. Lu <hongjiu.lu@intel.com>
17088
17089 * csu/libc-tls.c: Update copyright years.
17090
0e886ef9
JM
170912012-09-10 Joseph Myers <joseph@codesourcery.com>
17092
28361c5e
JM
17093 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17094 [!_G_USING_THUNKS]: Remove conditional code.
17095 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17096 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17097
0e886ef9
JM
17098 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17099 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17100 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17101 (_G_VTABLE_LABEL_PREFIX): Likewise.
17102 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17103 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17104 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17105 (_G_VTABLE_LABEL_PREFIX): Likewise.
17106 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17107 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17108 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17109 (_G_VTABLE_LABEL_PREFIX): Likewise.
17110 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17111
bcba7aa2
L
171122012-09-10 H.J. Lu <hongjiu.lu@intel.com>
17113
17114 * libio/Makefile: Include ../Makeconfig before tests.
17115 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17116 only if $(build-shared) is yes.
17117
06585ee8
L
17118 * iconv/gconv_db.c: Update copyright years.
17119
80ccd52c
LD
171202012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17121
17122 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17123 unwind info if defined PIC. Fix special cases description.
17124 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17125
17126 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17127 DP_HI_MASK entry.
17128 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17129
691bc9c1
L
171302012-09-07 H.J. Lu <hongjiu.lu@intel.com>
17131
3d9b46b3
L
17132 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17133
de2139a9
L
17134 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17135 is NULL.
17136
5ca78dd0
L
17137 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17138 (LDLIBS-tst-chk4): This.
17139 (LDFLAGS-tst-chk5): Renamed to ...
17140 (LDLIBS-tst-chk5): This.
17141 (LDFLAGS-tst-chk6): Renamed to ...
17142 (LDLIBS-tst-chk6): This.
17143 (LDFLAGS-tst-lfschk4): Renamed to ...
17144 (LDLIBS-tst-lfschk4): This.
17145 (LDFLAGS-tst-lfschk5): Renamed to ...
17146 (LDLIBS-tst-lfschk5): This.
17147 (LDFLAGS-tst-lfschk6): Renamed to ...
17148 (LDLIBS-tst-lfschk6): This.
17149
691bc9c1
L
17150 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17151 on $(common-objpfx)soversions.mk.
17152
65cafb1c
JM
171532012-09-07 Joseph Myers <joseph@codesourcery.com>
17154
17155 [BZ #10014]
17156 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17157 example host name.
17158
c78ab094
SP
171592012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
17160
17161 * malloc/arena.c (arena_get_retry): New function that gets
17162 another arena for the caller to try its request on.
17163 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17164 current arena cannot fulfill the request.
17165 (__libc_memalign): Likewise.
17166 (__libc_memalign): Likewise.
17167 (__libc_pvalloc): Likewise.
17168 (__libc_calloc): Likewise.
17169
01f49f59
JT
171702012-09-05 John Tobey <john.tobey@gmail.com>
17171
17172 [BZ #13542]
17173 * manual/arith.texi (Operations on Complex): Fix description
17174 of carg branch cut.
17175
4c23fed5
JM
171762012-09-06 Joseph Myers <joseph@codesourcery.com>
17177
1d3c8572
JM
17178 [BZ #10014]
17179 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17180 host name.
17181
4c23fed5
JM
17182 [BZ #10038]
17183 * manual/memory.texi (Memory): Make order of menu items match
17184 order of sections.
17185
04570aaa
L
171862012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17187
17188 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17189 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
17190 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17191
b80af2f4
L
171922012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17193
17194 * csu/libc-tls.c (static_dtv): Renamed to ...
17195 (_dl_static_dtv): This. Make it global.
17196 (_dl_initial_dtv): Removed.
17197 (__libc_setup_tls): Updated.
17198 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17199 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17200 DL_INITIAL_DTV.
17201
2abe9f15
PM
172022012-09-06 Petr Machata <pmachata@redhat.com>
17203
17204 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17205 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17206 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17207 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17208
0948c3af
L
172092012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17210
17211 [BZ #14545]
17212 * csu/libc-tls.c (_dl_initial_dtv): New variable.
17213 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17214 freeing dtv[-1].
17215
a5055ad1
L
172162012-09-06 H.J. Lu <hongjiu.lu@intel.com>
17217
17218 [BZ #14544]
17219 * Makeconfig (link-static-before-libc): Replace $(+prector)
17220 with $(+prectorT).
17221 (link-static-after-libc): Replace $(+postctor) with
17222 $(+postctorT).
17223 (link-bounded): Replace $(+prector)/$(+postctor) with
17224 $(+prectorT)/$(+postctorT).
17225 (+prectorT): New macro.
17226 (+postctorT): Likewise.
17227
ed8c2ecd
JM
172282012-09-06 Joseph Myers <joseph@codesourcery.com>
17229
17230 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17231 (round_str): Handle values above the maximum for IBM long double
17232 as inexact.
17233 * stdlib/tst-strtod-round.c (tests): Regenerated.
17234
14c996c8
AK
172352012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17236
17237 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17238 assembler flag.
17239 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17240 zarch_nohighgprs around the zarch optimized routines.
17241 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17242 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17243 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17244 for zarch.
17245
430d6ce6
DM
172462012-09-05 David S. Miller <davem@davemloft.net>
17247
17248 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17249
ff04dda4
DM
17250 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17251 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17252 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17253 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17254 entries.
17255
24d4e01b
AO
172562012-09-05 Alexandre Oliva <aoliva@redhat.com>
17257
17258 * malloc/arena.c: Fold copyright years.
17259 * malloc/mcheck.c, malloc/memusage.c: Likewise.
17260
61d58174
AO
172612012-09-05 Alexandre Oliva <aoliva@redhat.com>
17262
17263 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17264
20196a5e
AO
172652012-09-05 Alexandre Oliva <aoliva@redhat.com>
17266
17267 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
17268
5c447383
AO
172692012-09-05 Alexandre Oliva <aoliva@redhat.com>
17270
17271 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17272 change internal state upon failure.
17273
fad64255
AO
172742012-09-05 Alexandre Oliva <aoliva@redhat.com>
17275
17276 * malloc/mcheck.c (mcheck_check_all): Fix typo.
17277 * malloc/memusage.c (mmap): Likewise.
17278 (mmap64, mremap): Likewise. Adjust name in comment.
17279
1ffb8c90
SP
172802012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17281
17282 * libio/fileops.c: Fix typos in comments.
17283 * libio/oldfileops.c: Likewise.
17284 * libio/wfileops.c: Likewise.
17285
6ef9cc37
SP
172862012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
17287
17288 [BZ #1349]
17289 * malloc/Makefile (tests): Add tst-malloc-usable test case.
17290 (tst-malloc-usable-ENV): Set environment for test case.
17291 * malloc/hooks.c (malloc_check_get_size): New function to get
17292 requested size.
17293 * malloc/malloc.c (musable): Use malloc_check_get_size.
17294 * malloc/tst-malloc-usable.c: New test case.
17295
4d038ae3
AS
172962012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17297
17298 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17299
c4e85184
AM
173002012-09-05 Allan McRae <allan@archlinux.org>
17301
b9dafc56 17302 [BZ #13966]
c4e85184
AM
17303 * configure.in (CXX_SYSINCLUDES): Use compiler output to
17304 determine header location.
17305 * configure: Regenerated.
17306
e1343020
AS
173072012-09-05 Andreas Schwab <schwab@linux-m68k.org>
17308
17309 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17310 float format.
17311 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
17312 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17313 format.
e1343020
AS
17314 (test): Regenerate.
17315
0a9f1987
DM
173162012-09-04 David S. Miller <davem@davemloft.net>
17317
17318 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17319 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17320 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17321
29237804
FW
173222012-09-04 Florian Weimer <fweimer@redhat.com>
17323
17324 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17325 failures.
17326
edb3cb88
FW
17327 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17328
60160d83
JM
173292012-09-04 Joseph Myers <joseph@codesourcery.com>
17330
17331 [BZ #9914]
17332 * libio/iogetdelim.c: Include <limits.h>.
17333 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17334 + len + 1 would overflow.
17335
bcd6c8dc
AJ
173362012-09-03 Andreas Jaeger <aj@suse.de>
17337
17338 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17339 * sysdeps/i386/fpu/libm-test-ulps: Update.
17340
4ffffbd2
LD
173412012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
17342
17343 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17344 Add s_sinf-sse2, s_conf-sse2.
17345
17346 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17347 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17348 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17349 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17350
17351 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17352 for using routine as __sinf_ia32.
17353 Use macro for function declaration and weak_alias.
17354 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17355 for using routine as __cosf_ia32.
17356 Use macro for function declaration and weak_alias.
17357
17358 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17359 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17360
17361 * sysdeps/x86_64/fpu/s_sinf.S: New file.
17362 * sysdeps/x86_64/fpu/s_cosf.S: New file.
17363 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17364
17365 * math/libm-test.inc (cos_test): Add more test cases.
17366 (sin_test): Likewise.
17367 (sincos_test): Likewise.
17368
511fa286
AK
173692012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17370
17371 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17372 (IFUNC_RESOLVE): Make pointers to the specialized implementations
17373 hidden.
17374 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17375
5f30cfec
L
173762012-09-02 H.J. Lu <hongjiu.lu@intel.com>
17377
17378 [BZ #14538]
17379 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17380 first element of the GOT.
17381 (elf_machine_load_address): Return the difference between
17382 the runtime address of _DYNAMIC and elf_machine_dynamic ().
17383
0786794f
AM
173842012-09-01 Allan McRae <allan@archlinux.org>
17385
5f30cfec
L
17386 [BZ #13412]
17387 * configure.in (AWK): Require gawk version 3.0 or later.
17388 * configure: Regenerated.
0786794f 17389
26889eac
JM
173902012-09-01 Joseph Myers <joseph@codesourcery.com>
17391
17392 * sysdeps/unix/sysv/linux/kernel-features.h
17393 (__ASSUME_POSIX_CPU_TIMERS): Remove.
17394 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17395 [__NR_clock_getres]: Make code unconditional.
17396 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
17397 (clock_getcpuclockid): Remove code left unreachable by removal of
17398 conditionals.
17399 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
17400 code unconditional.
17401 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17402 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17403 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
17404 Make code unconditional.
17405 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
17406 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17407 * sysdeps/unix/sysv/linux/clock_settime.c
17408 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
17409 conditional code.
17410 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
17411 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
17412
d22e28b0
L
174132012-08-29 H.J. Lu <hongjiu.lu@intel.com>
17414
17415 [BZ #14476]
17416 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
17417 scripts/test-installation.pl.
17418
17419 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
17420 and $ld_so_version if it is set.
17421
050af9c4
SP
174222012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
17423
17424 [BZ #14516]
17425 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
17426 failure if reading from procfs failed.
17427 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
17428
ad845c0b
JM
174292012-08-27 Joseph Myers <joseph@codesourcery.com>
17430
17431 * sysdeps/unix/sysv/linux/kernel-features.h
17432 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
17433 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17434 Remove conditional code.
17435 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17436 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
17437 Remove conditional code.
17438 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17439 * sysdeps/unix/sysv/linux/i386/fxstat.c
17440 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17441 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17442 * sysdeps/unix/sysv/linux/i386/fxstatat.c
17443 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17444 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17445 * sysdeps/unix/sysv/linux/i386/lxstat.c
17446 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
17447 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17448 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
17449 Remove conditional code.
17450 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17451 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
17452 Remove conditional code.
17453 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17454 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
17455 <kernel-features.h>.
17456 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
17457 Remove.
17458 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
17459 Remove conditional code.
17460 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
17461 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
17462 Remove conditional.
17463
5dbf56af
MF
174642012-08-27 Mike Frysinger <vapier@gentoo.org>
17465
17466 [BZ #5400]
17467 * NEWS: Add fixed bug number.
17468
d6e70f43
JM
174692012-08-27 Joseph Myers <joseph@codesourcery.com>
17470
7efb4737
JM
17471 [BZ #14519]
17472 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
17473 underflowing exponent in case of negative sign.
17474 * stdlib/tst-strtod-round-data: Add more tests.
17475 * stdlib/tst-strtod-round.c (tests): Regenerated.
17476
af92131a
JM
17477 [BZ #3479]
17478 * stdlib/strtod_l.c (NDIG): Remove.
17479 (HEXNDIG): Likewise.
17480 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
17481 smallest representable value.
17482 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
17483 lie within an exact representation of 1/2 ulp of the result.
17484 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
17485 unconditionally.
17486 (TENS_P9_IDX): Define unconditionally.
17487 (TENS_P9_SIZE): Likewise.
17488 (TENS_P10_IDX): Likewise.
17489 (TENS_P10_SIZE): Likewise.
17490 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
17491 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
17492 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
17493 entries for 10^2^13 and 10^2^14.
17494 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
17495 (TENS_P13_IDX): Define.
17496 (TENS_P13_SIZE): Likewise.
17497 (TENS_P14_IDX): Likewise.
17498 (TENS_P14_SIZE): Likewise.
17499 (_fpioconst_pow10): Change array size to
17500 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
17501 unconditional.
17502 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
17503 1024]: Add entries for 10^2^13 and 10^2^14.
17504 [LAST_POW10 > _LAST_POW10]: Remove #error.
17505 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
17506 (_fpioconst_pow10): Change array size to
17507 FPIOCONST_POW10_ARRAY_SIZE.
17508 * stdlib/gen-fpioconst.c: New file.
17509 * stdlib/gen-tst-strtod-round.c: Likewise.
17510 * stdlib/tst-strtod-round-data: Likewise.
17511 * stdlib/tst-strtod-round.c: Likewise.
17512 * stdlib/Makefile (tests): Add tst-strtod-round.
17513
d6e70f43
JM
17514 [BZ #14459]
17515 * stdlib/strtod_l.c: Include <stdint.h>.
17516 (NDEBUG): Do not define.
17517 (round_and_return): Change EXPONENT parameter to type intmax_t.
17518 Rearrange calculations to avoid internal overflow possibilities.
17519 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
17520 Rearrange calculations to avoid internal overflow possibilities.
17521 Assert that number fits inside MPNSIZE limbs.
17522 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
17523 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
17524 calculations and add assertions to avoid internal overflow
17525 possibilities. Add casts to avoid signed/unsigned operations.
17526 * stdlib/tst-strtod-overflow.c: New file.
17527 * stdlib/Makefile (tests): Add tst-strtod-overflow.
17528
1f529f7d
MP
175292012-08-25 Marek Polacek <polacek@redhat.com>
17530
17531 * time/time.h: Fix some typos in comments.
17532
59a629f1
RM
175332012-08-23 Roland McGrath <roland@hack.frob.com>
17534
17535 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
17536 * posix/tst-rfc3484-2.c: Likewise.
17537 * posix/tst-rfc3484-3.c: Likewise.
17538
d3bafbc9
SM
175392012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
17540
17541 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
17542 (EF_ARM_ABI_FLOAT_HARD): Likewise.
17543
4efcc022
JM
175442012-08-23 Joseph Myers <joseph@codesourcery.com>
17545
17546 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
17547 #include of fxstatat64.c.
17548
3cc3ef96
RM
175492012-08-22 Roland McGrath <roland@hack.frob.com>
17550
f04e2132
RM
17551 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
17552 * shadow/getspent_r.c: Likewise.
17553 * shadow/getspnam.c: Likewise.
17554 * shadow/getspnam_r.c: Likewise.
17555 * gshadow/getsgent.c: Likewise.
17556 * gshadow/getsgent_r.c: Likewise.
17557 * gshadow/getsgnam.c: Likewise.
17558 * gshadow/getsgnam_r.c: Likewise.
17559 * inet/getnetbyad.c: Likewise.
17560 * inet/getnetbyad_r.c: Likewise.
17561 * inet/getnetbynm.c: Likewise.
17562 * inet/getnetbynm_r.c: Likewise.
17563 * inet/getnetent.c: Likewise.
17564 * inet/getnetent_r.c: Likewise.
17565 * inet/getproto.c: Likewise.
17566 * inet/getproto_r.c: Likewise.
17567 * inet/getprtent.c: Likewise.
17568 * inet/getprtent_r.c: Likewise.
17569 * inet/getprtname.c: Likewise.
17570 * inet/getprtname_r.c: Likewise.
17571 * inet/getrpcbyname.c: Likewise.
17572 * inet/getrpcbyname_r.c: Likewise.
17573 * inet/getrpcbynumber.c: Likewise.
17574 * inet/getrpcbynumber_r.c: Likewise.
17575 * inet/getrpcent.c: Likewise.
17576 * inet/getrpcent_r.c: Likewise.
17577 * inet/getaliasent.c: Likewise.
17578 * inet/getaliasent_r.c: Likewise.
17579 * inet/getaliasname.c: Likewise.
17580 * inet/getaliasname_r.c: Likewise.
17581 * nscd/getgrgid_r.c: Likewise.
17582 * nscd/getgrnam_r.c: Likewise.
17583 * nscd/gethstbyad_r.c: Likewise.
17584 * nscd/gethstbynm3_r.c: Likewise.
17585 * nscd/getpwnam_r.c: Likewise.
17586 * nscd/getpwuid_r.c: Likewise.
17587 * nscd/getsrvbynm_r.c: Likewise.
17588 * nscd/getsrvbypt_r.c: Likewise.
17589 * nscd/gai.c: Likewise.
17590
c53d909c
RM
17591 * configure.in (build_nscd): New substituted variable, set
17592 by --disable-build-nscd and defaults to $use_nscd.
17593 * configure: Regenerated.
17594 * config.make.in (build-nscd): New substituted variable.
17595 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
17596 Change conditional to require [$(build-nscd) = yes] as well.
17597 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
17598
3cc3ef96
RM
17599 [BZ# 13696]
17600 * configure.in (use_nscd): New substituted variable, set by
17601 --disable-nscd. If enabled, define USE_NSCD.
17602 * configure: Regenerated.
17603 * config.h.in: Add USE_NSCD.
17604 * config.make.in (use-nscd): New substituted variable.
17605 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
17606 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
17607 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
17608 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
17609 (CFLAGS-getgrnam_r.c): Likewise.
17610 (CFLAGS-initgroups.c): Likewise.
17611 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
17612 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
17613 Variables removed.
17614 * inet/getnetgrent_r.c
17615 (nscd_setnetgrent): New function, broken out of ...
17616 (setnetgrent): ... here. Call it.
17617 (innetgr): Conditionalize nscd bits on [USE_NSCD].
17618 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
17619 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
17620 * nscd/Makefile (routines, aux): Move definitions after include of
17621 Makeconfig. Conditionalize on [$(use-nscd) != no].
17622 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
17623 Conditionalize on [USE_NSCD].
17624 (is_nscd, nscd_init_cb): Likewise.
17625 (nss_load_library): Conditionalize init callback on [USE_NSCD].
17626 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
17627 * nss/nss_db/db-init.c: Likewise.
17628 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
17629 [USE_NSCD].
17630 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
17631 (make_request): Use it.
17632 (cache_valid_p): New function.
17633 (__check_pf): Use it.
17634 * NEWS: Add item for --disable-nscd.
17635
07e51550
DL
176362012-08-22 Dmitry V. Levin <ldv@altlinux.org>
17637
17638 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
17639 to support sed >= 4.2.1-20-ga9bf076.
17640 * configure: Regenerated.
17641
35a5b08b
RM
176422012-08-22 Roland McGrath <roland@hack.frob.com>
17643
17644 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
17645 Conditionalize whole body on [IREL].
17646
8479f23a
JL
176472012-08-22 Jeff Law <law@redhat.com>
17648
17649 [BZ #14505]
17650 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
17651 if the family is PF_UNSPEC.
17652
48da0b21
MF
176532012-08-22 Mike Frysinger <vapier@gentoo.org>
17654
17655 * Makerules (lib-version): Rename from V.
17656 (install-lib-nosubdir): Change V to lib-version.
17657
15d0da8c
WS
176582012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
17659
17660 [BZ #14252]
17661 * powerpc32/power6/wcschr.c: New file.
17662 * powerpc32/power6/wcscpy.c: New file.
17663 * powerpc32/power6/wcsrchr.c: New file.
17664 * powerpc64/power6/wcschr.c: New file.
17665 * powerpc64/power6/wcscpy.c: New file.
17666 * powerpc64/power6/wcsrchr.c: New file.
17667
bcca0895
MK
176682012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17669
17670 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
17671 (two_way_short_needle): Use it.
5a4aaa33
RM
17672 * string/strstr.c (AVAILABLE1_USES_J): Define.
17673 * string/strcasestr.c: Likewise.
99677e57
MK
17674
17675 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
17676 array references.
17677 * string/strcasestr.c (TOLOWER): Make side-effect safe.
17678
400726de
MK
17679 [BZ #11607]
17680 * NEWS: Add an entry.
17681 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
17682 define their defaults.
17683 (two_way_short_needle): Detect end-of-string on-the-fly.
17684 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
17685 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
17686 * string/bug-strcasestr1.c: New test.
17687 * string/Makefile: Run it.
17688
20a71f2c
MK
176892012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
17690
17691 [BZ #11607]
17692 * string/str-two-way.h (two_way_short_needle): Optimize matching of
17693 the first character.
17694
21ad0558
RM
176952012-08-21 Roland McGrath <roland@hack.frob.com>
17696
17697 * csu/elf-init.c (__libc_csu_irel): Function removed.
17698 * csu/libc-start.c (apply_irel): New function.
17699 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
17700
0e1d9911
JM
177012012-08-21 Joseph Myers <joseph@codesourcery.com>
17702
17703 * sysdeps/unix/sysv/linux/kernel-features.h
17704 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
17705 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17706 <kernel-features.h>.
17707 [__NR_fadvise64_64]: Make code unconditional.
17708 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
17709 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17710 !__NR_fadvise64_64)]: Likewise.
17711 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
17712 !__NR_fadvise64_64))]: Likewise.
17713 [__NR_fadvise64]: Make code unconditional.
17714 [!__NR_fadvise64]: Remove conditional code.
17715 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
17716 <kernel-features.h>.
17717 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17718 unconditional.
17719 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17720 conditional code.
17721 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
17722 not include <kernel-features.h>.
17723 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17724 unconditional.
17725 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17726 conditional code.
17727 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
17728 include <kernel-features.h>.
17729 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
17730 unconditional.
17731 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
17732 conditional code.
17733
14a50c9d
WS
177342012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
17735
17736 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
17737 slight instruction rearrangements per scrollpipe analysis.
17738 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
17739
c0f4faf0
RM
177402012-08-20 Roland McGrath <roland@hack.frob.com>
17741
696da859
RM
17742 * manual/syslog.texi (syslog; vsyslog, closelog):
17743 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
17744 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
17745
c0f4faf0
RM
17746 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
17747 DSOCAPS to match condition on defining it.
17748
348363b2
JM
177492012-08-20 Joseph Myers <joseph@codesourcery.com>
17750
a35cbf28
JM
17751 * sysdeps/unix/sysv/linux/kernel-features.h
17752 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
17753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
17754 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17755 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17756 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
17757 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17758 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
17760 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
17761 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
17762
445f7ecd
JM
17763 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
17764 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
17765
348363b2
JM
17766 * sysdeps/unix/sysv/linux/kernel-features.h
17767 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
17768 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
17769 unconditional.
17770 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17771 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
17772 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17773 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17774 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
17775 Make code unconditional.
17776 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17777 (__mmap64) [!__NR_mmap2]: Likewise.
17778 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
17779 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
17780 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17781 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
17782 [__NR_mmap2]: Make code unconditional.
17783 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
17784 (__mmap64) [!__NR_mmap2]: Likewise.
17785
bc5bc0e5
AK
177862012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17787
17788 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
17789
88d506de
AJ
177902012-08-18 Andreas Jaeger <aj@suse.de>
17791
17792 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
17793
493387d2
MF
177942012-08-18 Mike Frysinger <vapier@gentoo.org>
17795
17796 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
17797 * include/unistd.h (__have_sock_cloexec): Likewise.
17798 (__have_pipe2): Likewise.
17799 (__have_dup3): Likewise.
17800
a277af22
MF
178012012-08-18 Mike Frysinger <vapier@gentoo.org>
17802
17803 [BZ #9685]
17804 * include/unistd.h (__have_pipe2): Change define into an extern int.
17805 (__have_dup3): Likewise.
17806 * socket/have_sock_cloexec.c: Include fcntl.h.
17807 (__have_pipe2): New variable.
17808 (__have_dup3): Likewise.
17809
fdab8fd3
MF
178102012-08-17 Mike Frysinger <vapier@gentoo.org>
17811
17812 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
17813
31035e80
MP
178142012-08-17 Marek Polacek <polacek@redhat.com>
17815
17816 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
17817 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
17818
3bd9e993
RM
178192012-08-17 Roland McGrath <roland@hack.frob.com>
17820
c91c505f
RM
17821 * configure.in: Add AC_SUBST for sysheaders.
17822 * configure: Regenerated.
17823 * config.make.in (sysheaders): New substituted variable.
17824
7c6f9d53
RM
17825 * sysdeps/unix/mkfifo.c: Moved ...
17826 * sysdeps/posix/mkfifo.c: ... here.
17827 * sysdeps/unix/mkfifoat.c: Moved ...
17828 * sysdeps/posix/mkfifoat.c: ... here.
17829
17830 * sysdeps/unix/utime.c: Moved ...
17831 * sysdeps/posix/utime.c: ... here.
17832
17833 * sysdeps/unix/time.c: Moved ...
17834 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
17835 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
17836 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
17837
17838 * sysdeps/unix/nice.c: Moved ...
17839 * sysdeps/posix/nice.c: ... here.
17840
17841 * sysdeps/unix/alarm.c: Moved ...
17842 * sysdeps/posix/alarm.c: ... here.
17843
3bd9e993
RM
17844 * intl/Makefile ($(codeset_mo)): Depend on the input file.
17845
d1f09384
JL
178462012-08-17 Jeff Law <law@redhat.com>
17847
17848 * intl/Makefile (codeset_mo): New variable.
17849 ($(codeset_mo)): New target.
17850 (tst-codeset.out): Depend on that. Remove explicit rule.
17851 (tst-gettext3.out, tst-gettext5.out): Likewise.
17852 (LOCPATH-ENV, tst-codeset-ENV): New variables.
17853 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
17854 * intl/tst-codeset.sh: Remove.
17855 * intl/tst-gettext3.sh: Likewise.
17856 * intl/tst-gettext5.sh: Likewise.
17857
2ae1ae5c
RM
178582012-08-17 Roland McGrath <roland@hack.frob.com>
17859
c31fdb83
RM
17860 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
17861 * sysdeps/unix/syscalls.list: ... here.
17862
a0844057
RM
17863 * sysdeps/posix/getaddrinfo.c
17864 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
17865 (gaiconf_init, gaiconf_reload): Use them.
17866 [!_STATBUF_ST_NSEC]
17867 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
17868 Define using time_t rather than struct timespec.
17869
750c1f2a
RM
17870 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
17871 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
17872 Macros removed.
17873 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
17874 [!NO_THREADS].
17875 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
17876 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
17877 Likewise.
17878
2ae1ae5c
RM
17879 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
17880 __libc_cleanup_push argument.
17881
e66a42f5
RM
17882 * bits/param.h: New file.
17883 * misc/sys/param.h: New file.
17884 * include/sys/param.h: New file.
17885 * misc/Makefile (headers): Add bits/param.h.
17886 * sysdeps/generic/sys/param.h: File removed.
17887 * sysdeps/unix/sysv/linux/bits/param.h: New file.
17888 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
17889 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 17890 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 17891
b7c08a66
RM
17892 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
17893 last change.
17894
b2e1c562
RM
17895 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
17896 [_IO_MTSAFE_IO].
17897 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
17898 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
17899 New macros.
17900
c75ccd4c
RM
17901 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
17902 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
17903 rather than -D_IO_MTSAFE_IO conditionally.
17904 * stdio-common/Makefile (CPPFLAGS): Likewise.
17905 * wcsmbs/Makefile (CPPFLAGS): Likewise.
17906 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
17907 Use $(libio-mtsafe).
17908 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
17909 of -D_IO_MTSAFE_IO.
17910 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
17911 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
17912 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
17913 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
17914 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
17915 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
17916 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
17917 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
17918 (CFLAGS-fread_u_chk.c): Likewise.
17919 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
17920 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
17921 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
17922 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
17923 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
17924 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
17925 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
17926 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
17927 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
17928
17929 * libio/Makefile: Test [$(libc-reentrant) = yes]
17930 instead of [$(filter %REENTRANT, $(defines)) nonempty].
17931
17932 * Makeconfig
17933 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
17934 * sysdeps/pthread/configure: File removed.
17935 * sysdeps/pthread/Makeconfig: New file.
17936 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
17937 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
17938
d9195db8
GB
179392012-08-16 Gary Benson <gbenson@redhat.com>
17940
17941 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
17942 unmapping the first object in a namespace.
17943
86466cd9
RM
179442012-08-16 Roland McGrath <roland@hack.frob.com>
17945
17946 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
17947 (__internal_setnetgrent): ... this. Add internal_function to
17948 definition. Add libc_hidden_def.
17949 (setnetgrent): Update caller.
17950 (internal_endnetgrent): Renamed to ...
17951 (__internal_endnetgrent): ... this. Add internal_function to
17952 definition. Add libc_hidden_def.
17953 (endnetgrent): Update caller.
17954 (internal_getnetgrent_r): Renamed to ...
17955 (__internal_getnetgrent_r): ... this. Add internal_function to
17956 definition. Add libc_hidden_def.
17957 (__getnetgrent_r): Update caller.
17958 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
17959
c3c8283c
JM
179602012-08-16 Joseph Myers <joseph@codesourcery.com>
17961
17962 * stdlib/longlong.h: Update from GCC.
17963
db1ee0a8
RM
179642012-08-16 Roland McGrath <roland@hack.frob.com>
17965
17966 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
17967 on _QL, which is set by umul_ppmm but never used.
17968 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
17969 variables, which are set by GMP macros but never used.
17970 * stdio-common/_itowa.c (_itowa): Likewise.
17971 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
17972 * stdlib/mod_1.c (mpn_mod_1): Likewise.
17973
30f69637
CD
179742012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
17975
17976 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
17977 struct La_sh_regs is not constant.
17978 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
17979 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
17980 and struct La_sparc64_regs are not constant.
17981
93a78ac4
JM
179822012-08-16 Joseph Myers <joseph@codesourcery.com>
17983
17984 * sysdeps/unix/sysv/linux/kernel-features.h
17985 (__ASSUME_POSIX_TIMERS): Remove.
17986 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
17987 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17988 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
17989 Make code unconditional.
17990 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17991 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
17992 Make code unconditional.
17993 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17994 * sysdeps/unix/sysv/linux/clock_nanosleep.c
17995 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
17996 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
17997 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
17998 Make code unconditional.
17999 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18000 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18001 (__libc_missing_posix_timers): Remove.
18002
dd924cd7
RM
180032012-08-15 Roland McGrath <roland@hack.frob.com>
18004
4b4f2771
RM
18005 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18006 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18007
601c888b
RM
18008 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18009
176790a7
RM
18010 * elf/dl-sym.c: Include <stdlib.h>.
18011
329bc018
RM
18012 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18013 constants, which avoids warnings in 32-bit builds.
18014
e04e272d
RM
18015 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18016 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18017
952bf94a
RM
18018 * misc/lseek.c: File moved to ...
18019 * io/lseek.c: ... here.
18020
7c99b50a
RM
18021 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18022
dd924cd7
RM
18023 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18024 shifting LEN more than 31 bits at once.
18025
b3f479a8
LD
180262012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18027
18028 [BZ #14195]
8c4ae0d4
RM
18029 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18030 segmentation fault for a case of two empty input strings.
b3f479a8
LD
18031 * string/test-strncasecmp.c (check1): Renamed to...
18032 (bz12205): ...this.
18033 (bz14195): Add new testcase for two empty input strings and N > 0.
18034 (test_main): Call new testcase, adapt for renamed function.
18035
9c55864e
AJ
180362012-08-15 Andreas Jaeger <aj@suse.de>
18037
18038 [BZ #14090]
18039 * crypt/md5test2.c: New test, based on test supplied by Serge
18040 Belyshev <belyshev@depni.sinp.msu.ru>.
18041 * crypt/Makefile (xtests): Add md5test-giant..
18042 * crypt/Makefile ($(objpfx)md5test-giant): Add.
18043
02dcb6c5
PE
180442012-08-15 Paul Eggert <eggert@cs.ucla.edu>
18045
18046 [BZ #14090]
18047 * crypt/md5.c (md5_process_block): Don't assume the buffer
18048 length is less than 2**32.
18049 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18050 length is less than 2**64.
18051
a3f95dcc
RM
180522012-08-15 Roland McGrath <roland@hack.frob.com>
18053
be75d758
RM
18054 * string/str-two-way.h: Include <sys/param.h>.
18055 (MAX): Macro removed.
18056
7312ca90
RM
18057 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18058 Move #define and #undef of memmove to just before and after
18059 including <string.h>.
18060
9a0a5486
RM
18061 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18062 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18063 and after including <string.h>. Move declarations of
18064 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18065 to before #include "string/memmove.c".
18066
67cc348d
RM
18067 * include/dirent.h: Declare __getdirentries.
18068
a3f95dcc
RM
18069 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18070 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18071
ca98e171
MF
180722012-08-14 Mike Frysinger <vapier@gentoo.org>
18073
18074 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18075 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18076 * sysdeps/i386/configure: Regenerated.
18077 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18078 STABS_CURRENT_FILE, and STABS_FUN.
18079 (END): Remove call to STABS_FUN_END.
18080 (STABS_CURRENT_FILE1): Delete.
18081 (STABS_CURRENT_FILE): Likewise.
18082 (STABS_FUN): Likewise.
18083 (STABS_FUN_END): Likewise.
18084 (STABS_FUN2): Likewise.
18085 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18086 * sysdeps/x86_64/configure: Regenerated.
18087
5908bf46
RM
180882012-08-14 Roland McGrath <roland@hack.frob.com>
18089
18090 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 18091 * elf/dl-lookup.c: Likewise.
5908bf46 18092
f2c05b9e
JM
180932012-08-14 Joseph Myers <joseph@codesourcery.com>
18094
18095 * sysdeps/unix/sysv/linux/kernel-features.h
18096 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18097 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18098 unconditionally.
18099 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18100 unconditionally.
18101 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18102 condition on __ASSUME_CLONE_THREAD_FLAGS.
18103
e11f5155
AJ
181042012-08-14 Andreas Jaeger <aj@suse.de>
18105
18106 * sysdeps/i386/fpu/libm-test-ulps: Update.
18107
51a9ba86
MK
181082012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
18109
2fdd4f78
AJ
18110 * include/atomic.h (atomic_exchange_and_add): Split into ...
18111 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18112 New atomic macros.
51a9ba86 18113
ba6cba9e
MT
181142012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
18115
18116 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18117
42443a47
JL
181182012-08-13 Jeff Law <law@redhat.com>
18119
18120 * manual/stdio.texi (snprintf): Clarify handling of the trailing
18121 null byte in the output string.
18122
121dce05
JM
181232012-08-10 Joseph Myers <joseph@codesourcery.com>
18124
18125 * sysdeps/unix/sysv/linux/kernel-features.h
18126 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18127 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18128 (__ASSUME_ARG_MAX_STACK_BASED): Define.
18129 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18130 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18131 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
18132 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18133
bf51f568
JL
181342012-08-09 Jeff Law <law@redhat.com>
18135
18136 [BZ #13939]
18137 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18138 When avoid_arena is set, don't retry in the that arena. Pick the
18139 next one, whatever it might be.
18140 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18141 (arena_lock): Pass in new parameter to arena_get2.
18142 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18143 arena_get2.
18144 (__libc_malloc): Unify retrying after main arena failure with
18145 __libc_memalign version.
18146 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18147
f85fa270
L
181482012-08-09 H.J. Lu <hongjiu.lu@intel.com>
18149
18150 [BZ #14166]
18151 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18152 to __redirect_strstr.
18153 (__strstr_sse42): Use typeof __redirect_strstr.
18154 (__strstr_ia32): Likewise.
18155 (__libc_strstr): New prototype.
18156 (strstr): Renamed to ...
18157 (__libc_strstr): This.
18158 (strstr): New strong alias of __libc_strstr.
18159 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18160 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18161 __redirect_time.
18162 Include <time.h>.
18163 (__libc_time): New prototype.
18164 (time_ifunc): Replace time with __libc_time.
18165 (time): New strong alias and hidden definition of __libc_time.
18166 (__GI_time): Remove strong alias.
18167 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18168 Include <stddef.h>.
18169 (memmove): Redefined to __redirect_memmove.
18170 (__memmove_sse2): Use typeof __redirect_memmove.
18171 (__memmove_ssse3): Likewise.
18172 (__memmove_ssse3_back): Likewise.
18173 (__libc_memmove): New prototype.
18174 (memmove): Renamed to ...
18175 (__libc_memmove): This.
18176 (memmove): New strong alias of __libc_memmove.
18177
33b4a91e
MS
181782012-08-08 Mark Salter <msalter@redhat.com>
18179
18180 * elf/elf.h
18181 (R_MN10300_TLS_GD): Define.
18182 (R_MN10300_TLS_LD): Likewise.
18183 (R_MN10300_TLS_LDO): Likewise.
18184 (R_MN10300_TLS_GOTIE): Likewise.
18185 (R_MN10300_TLS_IE): Likewise.
18186 (R_MN10300_TLS_LE): Likewise.
18187 (R_MN10300_TLS_DTPMOD): Likewise.
18188 (R_MN10300_TLS_DTPOFF): Likewise.
18189 (R_MN10300_TLS_TPOFF): Likewise.
18190 (R_MN10300_SYM_DIFF): Likewise.
18191 (R_MN10300_ALIGN): Likewise.
18192 (R_MN10300_NUM): Update.
18193
b36137f1
JM
181942012-08-08 Joseph Myers <joseph@codesourcery.com>
18195
18196 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18197 Remove.
18198
cdd915fd
RM
181992012-08-08 Roland McGrath <roland@hack.frob.com>
18200
a2433aac
RM
18201 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18202
cdd915fd
RM
18203 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18204 sysdeps/unix -> sysdeps/posix move.
18205 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18206
bf9b740a
AM
182072012-08-07 Allan McRae <allan@archlinux.org>
18208
18209 [BZ #14303]
18210 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18211 (SUNOS_CPP): Likewise.
18212 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18213 not found.
18214 (open_input): Call CPP using execvp.
18215
93df14ee
JM
182162012-08-07 Joseph Myers <joseph@codesourcery.com>
18217
18218 * sysdeps/unix/sysv/linux/kernel-features.h
18219 (__ASSUME_PROT_GROWSUPDOWN): Remove.
18220 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18221 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18222 (__ASSUME_WAITID_SYSCALL): Likewise.
18223 * sysdeps/unix/sysv/linux/dl-execstack.c
18224 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18225 code unconditional.
18226 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18227 conditional code.
18228 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18229 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18230 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18231 code.
18232 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18233 unconditional.
18234 [__ASSUME_WAITID_SYSCALL]: Likewise.
18235 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18236
d34689de
RM
182372012-08-07 Roland McGrath <roland@hack.frob.com>
18238
a281decc
RM
18239 * sysdeps/unix/closedir.c: Renamed to ...
18240 * sysdeps/posix/closedir.c: ... here.
18241 * sysdeps/unix/dirfd.c: Renamed to ...
18242 * sysdeps/posix/dirfd.c: ... here.
18243 * sysdeps/unix/dirstream.h: Renamed to ...
18244 * sysdeps/posix/dirstream.h: ... here.
18245 * sysdeps/unix/fdopendir.c: Renamed to ...
18246 * sysdeps/posix/fdopendir.c: ... here.
18247 * sysdeps/unix/opendir.c: Renamed to ...
18248 * sysdeps/posix/opendir.c: ... here.
18249 * sysdeps/unix/readdir.c: Renamed to ...
18250 * sysdeps/posix/readdir.c: ... here.
18251 * sysdeps/unix/readdir_r.c: Renamed to ...
18252 * sysdeps/posix/readdir_r.c: ... here.
18253 * sysdeps/unix/rewinddir.c: Renamed to ...
18254 * sysdeps/posix/rewinddir.c: ... here.
18255 * sysdeps/unix/seekdir.c: Renamed to ...
18256 * sysdeps/posix/seekdir.c: ... here.
18257 * sysdeps/unix/telldir.c: Renamed to ...
18258 * sysdeps/posix/telldir.c: ... here.
18259 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18260 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18261 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18262 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18263
22895b47
RM
18264 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18265 * bits/fcntl.h: ... here.
18266
707a53b6
RM
18267 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18268 not 0.
18269 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18270 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18271 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18272 (struct flock): Move l_start, l_len to the beginning.
18273 Use __pid_t for l_pid.
18274 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18275 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18276 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18277 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18278 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18279 [__USE_LARGEFILE64] (struct flock64): New type.
18280 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18281
f0bd3e25
RM
18282 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18283 * bits/dirent.h: ... here.
18284
d34689de
RM
18285 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18286 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18287
6dad2c06
JM
182882012-08-07 Joseph Myers <joseph@codesourcery.com>
18289
18290 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18291 Change from 2.6.0 to 2.6.16.
18292 * sysdeps/unix/sysv/linux/configure: Regenerated.
18293 * sysdeps/unix/sysv/linux/kernel-features.h
18294 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18295 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18296 version.
18297 (__ASSUME_UTIMES): Likewise.
18298 (__ASSUME_CLONE_STOPPED): Remove.
18299 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18300 architectures, not kernel version.
18301 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18302 (__ASSUME_NO_CLONE_DETACHED): Likewise.
18303 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18304 (__ASSUME_WAITID_SYSCALL): Likewise.
18305 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18306 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18307 * README: State 2.6.16 as minimum Linux kernel version. Do not
18308 refer to older versions.
18309
03af9520
RM
183102012-08-06 Roland McGrath <roland@hack.frob.com>
18311
8e49df1d
RM
18312 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18313 Define alphasort64 as an alias.
18314 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18315 Define versionsort64 as an alias.
18316 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18317 Define scandir64 as an alias.
18318 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18319 Define scandirat64 as an alias.
18320 * dirent/alphasort64.c (alphasort64):
18321 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18322 * dirent/versionsort64.c: Likewise.
18323 * dirent/scandir64.c: Likewise.
18324 * dirent/scandirat64.c: Likewise.
18325 * sysdeps/wordsize-64/alphasort.c: File removed.
18326 * sysdeps/wordsize-64/alphasort64.c: File removed.
18327 * sysdeps/wordsize-64/scandir.c: File removed.
18328 * sysdeps/wordsize-64/scandir64.c: File removed.
18329 * sysdeps/wordsize-64/scandirat.c: File removed.
18330 * sysdeps/wordsize-64/scandirat64.c: File removed.
18331 * sysdeps/wordsize-64/versionsort.c: File removed.
18332 * sysdeps/wordsize-64/versionsort64.c: File removed.
18333 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18334 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18335 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18336 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18337 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18338 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18339 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18340 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18341
18342 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18343 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18344 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18345 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18346 [defined __arch64__ || defined __sparcv9]
18347 (__INO_T_MATCHES_INO64_T): New macro.
18348 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18349 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18350 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18351 * sysdeps/unix/sysv/linux/bits/dirent.h
18352 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18353 (_DIRENT_MATCHES_DIRENT64): New macro.
18354
03af9520
RM
18355 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18356 Define lockf64 as an alias.
18357 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18358 Define fseeko64 as an alias.
18359 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18360 Define ftello64 as an alias.
18361 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18362 Define _IO_fgetpos64 and fgetpos64 as aliases.
18363 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18364 Define _IO_fsetpos64 and fsetpos64 as aliases.
18365 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18366 Conditionalize body on this.
18367 * libio/fseeko64.c: Likewise.
18368 * libio/ftello64.c: Likewise.
18369 * libio/iofgetpos64.c: Likewise.
18370 * libio/iofsetpos64.c: Likewise.
18371 * sysdeps/wordsize-64/lockf.c: File removed.
18372 * sysdeps/wordsize-64/lockf64.c: File removed.
18373 * sysdeps/wordsize-64/fseeko.c: File removed.
18374 * sysdeps/wordsize-64/fseeko64.c: File removed.
18375 * sysdeps/wordsize-64/ftello.c: File removed.
18376 * sysdeps/wordsize-64/ftello64.c: File removed.
18377 * sysdeps/wordsize-64/iofgetpos.c: File removed.
18378 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18379 * sysdeps/wordsize-64/iofsetpos.c: File removed.
18380 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18381 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18382 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18383 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18384 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18385 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
18386 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
18387 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
18388 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
18389 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
18390 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
18391
18392 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18393 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18394 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
18395 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18396 [defined __arch64__ || defined __sparcv9]
18397 (__OFF_T_MATCHES_OFF64_T): New macro.
18398 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18399 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
18400 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
18401 (__OFF_T_MATCHES_OFF64_T): New macro.
18402
c5757acd
L
184032012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18404
18405 * stdlib/secure-getenv.c (__secure_getenv): Replace
18406 GLIBC_2_16 with GLIBC_2_17.
18407
3a31811e
L
184082012-08-06 H.J. Lu <hongjiu.lu@intel.com>
18409
18410 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
18411 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
18412
faa2bccb
DM
184132012-08-03 David S. Miller <davem@davemloft.net>
18414
18415 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18416
85fe1997
JM
184172012-08-03 Joseph Myers <joseph@codesourcery.com>
18418
18419 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
18420 Remove.
18421 (__ASSUME_CORRECT_SI_PID): Likewise.
18422 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
18423 (__ASSUME_TMPFS_NAME): Likewise.
18424 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
18425 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
18426 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
18427 (HAVE_AUX_SECURE): Make definition unconditional.
18428 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
18429 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
18430
4f75b7a0
RM
184312012-08-03 Roland McGrath <roland@hack.frob.com>
18432
18433 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
18434 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
18435 * sysdeps/mach/hurd/eloop-threshold.h: New file.
18436 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18437 __eloop_threshold instead of SYMLOOP_MAX.
18438
18439 * sysdeps/generic/eloop-threshold.h: New file.
18440 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
18441 of MAXSYMLINKS.
18442 * elf/chroot_canon.c (chroot_canon): Likewise.
18443
7aab07e4
JM
184442012-08-03 Joseph Myers <joseph@codesourcery.com>
18445
18446 [BZ #13717]
18447 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18448 Change to 2.6.0 everywhere.
18449 * sysdeps/unix/sysv/linux/configure: Regenerated.
18450 * sysdeps/unix/sysv/linux/kernel-features.h
18451 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
18452 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
18453 kernel versions.
18454 (__ASSUME_POSIX_TIMERS): Define unconditionally.
18455 (__ASSUME_FUTEX_REQUEUE): Remove.
18456 (__ASSUME_STATFS64): Define unconditionally.
18457 (__ASSUME_AT_SECURE): Likewise.
18458 (__ASSUME_CORRECT_SI_PID): Likewise.
18459 (__ASSUME_TGKILL): Define without depending on kernel version for
18460 i386.
18461 (__ASSUME_UTIMES): Likewise.
18462 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
18463 kernel version.
18464 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
18465 (__ASSUME_TMPFS_NAME): Likewise.
18466 * README: Update reference to Linux kernel versions.
18467
b67e9372
MP
184682012-08-02 Marek Polacek <polacek@redhat.com>
18469
1f529f7d 18470 [BZ# 14150]
b67e9372
MP
18471 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
18472 libc_cv_asm_type_prefix with %.
18473 * configure: Regenerated.
d2441631
RM
18474 * include/libc-symbols.h: Remove comment about
18475 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
18476 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
18477 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
18478 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
18479 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
18480 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
18481 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
18482 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
18483 * elf/tst-unique2mod1.c: Likewise.
18484 * elf/tst-unique1mod2.c: Likewise.
18485 * elf/tst-unique1mod1.c: Likewise.
18486 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
18487 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
18488 Replace ASM_TYPE_DIRECTIVE with .type.
18489 * sysdeps/s390/s390-64/sysdep.h: Likewise.
18490 * sysdeps/i386/sysdep.h: Likewise.
18491 * sysdeps/x86_64/sysdep.h: Likewise.
18492 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
18493 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
18494 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 18495 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
18496 * sysdeps/powerpc/powerpc32/sysdep.h:
18497 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
18498 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
18499 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
18500 * sysdeps/i386/fpu/e_powf.S: Likewise.
18501 * sysdeps/i386/fpu/e_expl.S: Likewise.
18502 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
18503 * sysdeps/i386/fpu/e_acosh.S: Likewise.
18504 * sysdeps/i386/fpu/e_pow.S: Likewise.
18505 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
18506 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
18507 * sysdeps/i386/fpu/s_expm1.S: Likewise.
18508 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
18509 * sysdeps/i386/fpu/e_log2.S: Likewise.
18510 * sysdeps/i386/fpu/e_log2l.S: Likewise.
18511 * sysdeps/i386/fpu/e_scalb.S: Likewise.
18512 * sysdeps/i386/fpu/e_powl.S: Likewise.
18513 * sysdeps/i386/fpu/e_log10f.S: Likewise.
18514 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
18515 * sysdeps/i386/fpu/e_logl.S: Likewise.
18516 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
18517 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
18518 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
18519 * sysdeps/i386/fpu/e_log2f.S: Likewise.
18520 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
18521 * sysdeps/i386/fpu/e_log.S: Likewise.
18522 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
18523 * sysdeps/i386/fpu/e_logf.S: Likewise.
18524 * sysdeps/i386/fpu/e_log10l.S: Likewise.
18525 * sysdeps/i386/fpu/e_atanh.S: Likewise.
18526 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
18527 * sysdeps/i386/fpu/e_log10.S: Likewise.
18528 * sysdeps/i386/fpu/s_frexp.S: Likewise.
18529 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
18530 * sysdeps/i386/fpu/s_asinh.S: Likewise.
18531 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
18532 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
18533 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
18534 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
18535 * sysdeps/i386/i686/strtok.S: Likewise.
18536 * sysdeps/i386/i386-mcount.S: Likewise.
18537 * sysdeps/i386/strtok.S: Likewise.
18538 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
18539 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
18540 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
18541 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
18542 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
18543 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
18544 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
18545 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
18546 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
18547 * sysdeps/x86_64/_mcount.S: Likewise.
18548 * sysdeps/x86_64/strtok.S: Likewise.
18549 * sysdeps/sh/_mcount.S: Likewise.
18550
2747bf9a
RM
185512012-08-01 Roland McGrath <roland@hack.frob.com>
18552
18553 * libio/iofopen.c: Include <fcntl.h>.
18554 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
18555 (_IO_fopen64, fopen64): Define as aliases.
18556 * libio/iofopen64.c: Include <fcntl.h>.
18557 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
18558 Conditionalize body on this.
18559 * sysdeps/wordsize-64/iofopen.c: File removed.
18560 * sysdeps/wordsize-64/iofopen64.c: File removed.
18561
3fb791b8
MP
185622012-08-01 Marek Polacek <polacek@redhat.com>
18563
18564 * libc/Makeconfig: Use elf in place of binfmt-subdir.
18565 Use dlfcn directly instead of a variable.
18566 (binfmt-subdir): Do not define.
18567 (dlfcn): Likewise.
18568
a9f1039f
JM
185692012-08-01 Joseph Myers <joseph@codesourcery.com>
18570
23bddc06
JM
18571 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
18572 Remove all definitions.
18573 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
18574 <kernel-features.h>.
18575 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18576 (miss_F_GETOWN_EX): Remove all definitions.
18577 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
18578 macro definition.
18579 [!__ASSUME_FCNTL64]: Remove conditional code.
18580 [__ASSUME_FCNTL64]: Make code unconditional.
18581 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
18582 <kernel-features.h>.
18583 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
18584 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
18585 (lockf64) [__NR_fcntl64]: Make code unconditional.
18586 (lockf64) [__ASSUME_FCNTL64]: Likewise.
18587
a9f1039f
JM
18588 * sysdeps/unix/sysv/linux/kernel-features.h
18589 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
18590 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
18591 Make code unconditional.
18592 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18593 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
18595 [__NR_vfork]: Make code unconditional.
18596 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18597 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
18599 [__NR_vfork]: Make code unconditional.
18600 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
18601 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
18602
09c0ee5f
RM
186032012-08-01 Roland McGrath <roland@hack.frob.com>
18604
48aec5b9
RM
18605 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
18606 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
18607
cd97c966
RM
18608 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18609 Define mkstemp64 as an alias.
3f55550c
RM
18610 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18611 Define mkstemps64 as an alias.
cd97c966
RM
18612 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18613 Define mkostemp64 as an alias.
b8625cfc
RM
18614 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
18615 Define mkostemps64 as an alias.
cd97c966
RM
18616 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
18617 Conditionalize body on this.
18618 * misc/mkostemp64.c: Likewise.
b8625cfc 18619 * misc/mkostemps64.c: Likewise.
3f55550c 18620 * misc/mkstemps64.c: Likewise.
cd97c966
RM
18621 * sysdeps/wordsize-64/mkstemp64.c: File removed.
18622 * sysdeps/wordsize-64/mkostemp64.c: File removed.
18623 * sysdeps/wordsize-64/mkostemp.c: File removed.
18624 * sysdeps/wordsize-64/mkstemp.c: File removed.
18625 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
18626 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
18627 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
18628 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
18629
09c0ee5f
RM
18630 [BZ #14138]
18631 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
18632 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
18633 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
18634 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
18635
18636 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
18637 compat_symbol macros from <shlib-compat.h> rather than the underlying
18638 default_symbol_version and symbol_version macros, so that DEFAULT
18639 lines in shlib-versions are respected.
18640 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
18641
7e66ee51
FW
186422012-08-01 Florian Weimer <fweimer@redhat.com>
18643
18644 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
18645 Declare with warn_unused_result.
18646 (setgid, setregid, setegid, setresgid): Likewise.
18647 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
18648 Likewise.
18649 * WUR-REPORT: Remove set*id functions.
18650
d2a54255
PT
186512012-07-31 Pino Toscano <toscano.pino@tiscali.it>
18652
18653 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
18654
7ecdb005
RM
186552012-07-31 Roland McGrath <roland@hack.frob.com>
18656
b4180a5e 18657 [BZ #10191]
789bd351
RM
18658 * include/sys/socket.h (__libc_accept, __libc_accept4):
18659 Add attribute_hidden.
18660 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
18661
40ce302d
RM
18662 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
18663 use of PTR_MANGLE.
18664 * inet/getnetgrent_r.c (setup): Likewise.
18665
7ecdb005
RM
18666 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
18667
e2eabb2c
DM
186682012-07-31 David S. Miller <davem@davemloft.net>
18669
18670 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18671
d0419dbf
JM
186722012-07-31 Joseph Myers <joseph@codesourcery.com>
18673
18674 [BZ #13629]
18675 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
18676 value between 1.0 and 2.0 and smaller part has absolute value less
18677 than 1.0.
18678 * math/s_clog10.c (__clog10): Likewise.
18679 * math/s_clog10f.c (__clog10f): Likewise.
18680 * math/s_clog10l.c (__clog10l): Likewise.
18681 * math/s_clogf.c (__clogf): Likewise.
18682 * math/s_clogl.c (__clogl): Likewise.
18683 * math/libm-test.inc (clog_test): Add more tests.
18684 (clog10_test): Likewise.
18685 * sysdeps/i386/fpu/libm-test-ulps: Update.
18686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18687
2bc13872
FW
186882012-07-31 Florian Weimer <fweimer@redhat.com>
18689
18690 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
18691 Exit with zero in case no suitable GID is found, and write a
18692 message to standard error.
18693
bea9b193
RM
186942012-07-30 Roland McGrath <roland@hack.frob.com>
18695
18696 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
18697 rather than to 1.
18698 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
18699 (MAXPATHLEN): Removed.
18700 (NOGROUP, NODEV): New macros.
18701 (setbit, clrbit, isset, isclr): New macros.
18702 (howmany, roundup, powerof2): New macros.
18703 (DEV_BSIZE): New macro.
18704
18705 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
18706 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
18707
18708 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
18709 definition on [!__NO_LONG_DOUBLE_MATH].
18710
18711 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
18712 PTR_MANGLE and PTR_DEMANGLE.
18713
18714 * socket/accept4.c (accept4): Rename to __libc_accept4.
18715 Define accept4 as a weak alias.
18716
18717 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
18718 on [_DIRENT_HAVE_D_TYPE].
18719 * io/ftw.c (ftw_dir): Likewise.
18720
18721 * io/xmknod.c (__xmknod): Don't check PATH for being null.
18722
18723 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
18724
18725 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
18726 Use the BSD numbers rather than the arbitrary ones we had.
18727 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
18728 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
18729 (SIGXCPU, SIGXFSZ): New macros.
18730 (_NSIG): Now 32.
18731
18732 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
18733 initializer on [_LIBC_REENTRANT].
18734
18735 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
18736 definitions inside [_POSIX_MAPPED_FILES].
18737
18738 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
18739
18740 * dirent/opendir.c: Include <fcntl.h>.
18741
18742 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
18743 (__libc_getspecific): Likewise.
18744 (__libc_key_create): Likewise.
18745
18746 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
18747 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
18748 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
18749 (tmpfile64): Define as alias.
18750 * sysdeps/wordsize-64/tmpfile.c: File removed.
18751 * sysdeps/wordsize-64/tmpfile64.c: File removed.
18752 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
18753 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
18754
18755 * stdio-common/vfscanf.c: Include <stdbool.h>.
18756 * nss/makedb.c: Likewise.
18757 * stdio-common/_i18n_number.h: Likewise.
18758 * argp/argp-help.c: Likewise.
18759 * posix/wordexp.c: Likewise.
18760 * sysdeps/posix/spawni.c: Likewise.
18761 * nss/nss_files/files-initgroups.c: Likewise.
18762 * stdio-common/reg-modifier.c: Include <stdlib.h>.
18763 * nss/nss_files/files-initgroups.c: Likewise.
18764 * nss/nss_db/db-netgrp.c: Likewise.
18765 * nss/nss_db/db-initgroups.c: Likewise.
18766 * io/fchmodat.c: Include <sys/stat.h>.
18767
18768 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
18769 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
18770
18771 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
18772 [HAVE_MMAP].
18773
18774 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
18775 Add multiple inclusion protection.
18776
e5abc686
DM
187772012-07-27 David S. Miller <davem@davemloft.net>
18778
18779 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18780
815e6fa3
GB
187812012-07-27 Gary Benson <gbenson@redhat.com>
18782
18783 [BZ #14298]
18784 * elf/rtld.c: Include <stap-probe.h>.
18785 (dl_main): Added static probes "init_start" and "init_complete".
18786 * elf/dl-load.c: Include <stap-probe.h>.
18787 (lose): Take new parameter "nsid".
18788 Added static probe "map_failed".
18789 (_dl_map_object_from_fd): Pass namespace id to lose.
18790 Added static probe "map_start".
18791 (open_verify): Pass namespace id to lose.
18792 * elf/dl-open.c: Include <stap-probe.h>.
18793 (dl_open_worker) Added static probes "map_complete", "reloc_start"
18794 and "reloc_complete".
18795 * elf/dl-close.c: Include <stap-probe.h>.
18796 (_dl_close_worker): Added static probes "unmap_start" and
18797 "unmap_complete".
18798 * elf/rtld-debugger-interface.txt: New file documenting the above.
18799
9f98c16c
RM
188002012-07-26 Roland McGrath <roland@hack.frob.com>
18801
18802 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
18803 rather than a string variable.
18804 * sunrpc/rpc_main.c (h_output): Likewise.
18805 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
18806
f3c22df3
PT
188072012-07-26 Pino Toscano <toscano.pino@tiscali.it>
18808
18809 * inet/check_native.c: New file.
18810
3129cfc6
JM
188112012-07-26 Joseph Myers <joseph@codesourcery.com>
18812
da865e95
JM
18813 [BZ #13629]
18814 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
18815 if larger part has absolute value 1.0.
18816 * math/s_clog10.c (__clog10): Likewise.
18817 * math/s_clog10f.c (__clog10f): Likewise.
18818 * math/s_clog10l.c (__clog10l): Likewise.
18819 * math/s_clogf.c (__clogf): Likewise.
18820 * math/s_clogl.c (__clogl): Likewise.
18821 * math/libm-test.inc (clog_test): Add more tests.
18822 (clog10_test): Likewise.
18823 * sysdeps/i386/fpu/libm-test-ulps: Update.
18824 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18825
3129cfc6
JM
18826 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
18827 (pltexit): Likewise.
18828 (La_regs): Likewise.
18829 (La_retval): Likewise.
18830 (int_retval): Likewise.
18831 Update #error for removed macros to refer only to definitions in
18832 tst-audit.h.
18833 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
18834 macro.
18835 (pltexit): Likewise.
18836 (La_regs): Likewise.
18837 (La_retval): Likewise.
18838 (int_retval): Likewise.
18839 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
18840 macro.
18841 (pltexit): Likewise.
18842 (La_regs): Likewise.
18843 (La_retval): Likewise.
18844 (int_retval): Likewise.
18845 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
18846 macro.
18847 (pltexit): Likewise.
18848 (La_regs): Likewise.
18849 (La_retval): Likewise.
18850 (int_retval): Likewise.
18851 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
18852 macro.
18853 (pltexit): Likewise.
18854 (La_regs): Likewise.
18855 (La_retval): Likewise.
18856 (int_retval): Likewise.
18857 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
18858 macro.
18859 (pltexit): Likewise.
18860 (La_regs): Likewise.
18861 (La_retval): Likewise.
18862 (int_retval): Likewise.
18863 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
18864 macro.
18865 (pltexit): Likewise.
18866 (La_regs): Likewise.
18867 (La_retval): Likewise.
18868 (int_retval): Likewise.
18869 * sysdeps/generic/tst-audit.h: Update comment to refer only to
18870 macro definitions in tst-audit.h.
18871 * sysdeps/i386/tst-audit.h: New file.
18872 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
18873 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
18874 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
18875 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
18876 * sysdeps/sh/tst-audit.h: Likewise.
18877 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
18878 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
18879 * sysdeps/x86_64/tst-audit.h: Likewise.
18880
bfc07087
AJ
188812012-07-26 Andreas Jaeger <aj@suse.de>
18882
b1b2aaf8
AJ
18883 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
18884 ptrace.
18885
18886 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
18887 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
18888 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
18889 PTRACE_O_MASK.
18890 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
18891 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
18892 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
18893
bfc07087
AJ
18894 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
18895 value.
18896
18897 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
18898 _sigsys.
18899 (si_call_addr, si_syscall, si_arch): Define new macro.
18900 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
18901 _sigsys.
18902 (si_call_addr, si_syscall, si_arch): Define new marcro.
18903 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
18904 _sigsys.
18905 (si_call_addr, si_syscall, si_arch): Define new macro.
18906 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
18907 _sigsys.
18908 (si_call_addr, si_syscall, si_arch): Define new macro.
18909
89b4b02f
JM
189102012-07-25 Joseph Myers <joseph@codesourcery.com>
18911
18912 [BZ #13717]
18913 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18914 Change to 2.4.21 where previously 2.4.1.
18915 * sysdeps/unix/sysv/linux/configure: Regenerated.
18916 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
18917 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
18918 Linux kernel version.
18919 (__ASSUME_STD_AUXV): Remove.
18920 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
18921 kernel version.
18922 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
18923 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
18924 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
18925 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
18926 (__ASSUME_NETLINK_SUPPORT): Likewise.
18927 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
18928 (__no_netlink_support): Remove conditional definition.
18929 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
18930 Remove.
18931 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18932 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
18933 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
18934 (if_nameindex_ioctl): Remove.
18935 (if_nameindex_netlink): Do not handle __no_netlink_support.
18936 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18937 code.
18938 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
18939 Remove conditional code.
18940 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
18941 code.
18942 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
18943 unconditional.
18944 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
18945 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
18946 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
18947 Remove.
18948 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
18949 [!__ASSUME_STD_AUXV]: Remove conditional code.
18950 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
18951 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
18952 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
18953 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
18954 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
18955 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18956 code.
18957 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
18959 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
18960 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18961 conditional code.
18962 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
18963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
18964 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
18965 code.
18966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
18967 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
18968 conditional code.
18969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
18970 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18971 code unconditional.
18972 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18973 conditional code.
18974 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18975 unconditional.
18976 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18977 conditional code.
18978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18979 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18980 unconditional.
18981 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18982 conditional code.
18983 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
18984 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18985 code unconditional.
18986 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18987 conditional code.
18988 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18989 unconditional.
18990 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18991 conditional code.
18992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
18993 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
18994 code unconditional.
18995 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
18996 conditional code.
18997 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
18998 unconditional.
18999 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19000 conditional code.
19001
842a39cd
AS
190022012-07-25 Andreas Schwab <schwab@linux-m68k.org>
19003
19004 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19005 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19006 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19007 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19008 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19009 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19010 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19011 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19012 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19013 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19014 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19015 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19016 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19017 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19018 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19019 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19020 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19021 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19022 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19023 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19024 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19025 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19026 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19027
84b3fd84
FW
190282012-07-25 Florian Weimer <fweimer@redhat.com>
19029
19030 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
19031 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19032 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19033 Introduce __libc_secure_getenv.
0c7936d5
FW
19034 * stdlib/Versions (2.17): Add secure_getenv
19035 (GLIBC_PRIVATE): Add __libc_secure_getenv.
19036 * stdlib/secure-getenv.c: Rename __secure_getenv to
19037 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
19038 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
19039 * stdlib/tst-secure-getenv.c: New.
19040 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
19041 * manual/startup.texi (Environment Access): Document
19042 secure_getenv.
84b3fd84
FW
19043 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19044 __libc_secure_getenv.
19045 * inet/ruserpass.c (ruserpass): Likewise.
19046 * malloc/mtrace.c (mtrace): Likewise.
19047 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 19048 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
19049 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19050 * sysdeps/posix/tempname.c: Likewise. Evaluate
19051 HAVE_SECURE_GETENV.
19052 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 19053 __secure_getenv to __libc_secure_getenv.
84b3fd84 19054 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
19055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19056 Likewise.
19057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19058 Likewise.
19059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19061 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19062 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19063 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19064 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 19066
56e49b71
JM
190672012-07-25 Joseph Myers <joseph@codesourcery.com>
19068
19069 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19070 (struct La_i86_retval): Likewise.
19071 (struct La_x86_64_regs): Likewise.
19072 (struct La_x86_64_retval): Likewise.
19073 (struct La_x32_regs): Likewise.
19074 (struct La_x32_retval): Likewise.
19075 (struct La_ppc32_regs): Likewise.
19076 (struct La_ppc32_retval): Likewise.
19077 (struct La_ppc64_regs): Likewise.
19078 (struct La_ppc64_retval): Likewise.
19079 (struct La_sh_regs): Likewise.
19080 (struct La_sh_retval): Likewise.
19081 (struct La_s390_32_regs): Likewise.
19082 (struct La_s390_32_retval): Likewise.
19083 (struct La_s390_64_regs): Likewise.
19084 (struct La_s390_64_retval): Likewise.
19085 (struct La_sparc32_regs): Likewise.
19086 (struct La_sparc32_retval): Likewise.
19087 (struct La_sparc64_regs): Likewise.
19088 (struct La_sparc64_retval): Likewise.
19089 (struct audit_ifaces): Remove architecture-specific pltenter and
19090 pltexit members.
19091 * sysdeps/i386/ldsodefs.h: New file.
19092 * sysdeps/powerpc/ldsodefs.h: Likewise.
19093 * sysdeps/s390/ldsodefs.h: Likewise.
19094 * sysdeps/sh/ldsodefs.h: Likewise.
19095 * sysdeps/sparc/ldsodefs.h: Likewise.
19096 * sysdeps/x86_64/ldsodefs.h: Likewise.
19097
354691b7
MP
190982012-07-25 Marek Polacek <polacek@redhat.com>
19099
19100 [BZ #6808]
19101 * math/libm-test.inc (yn_test): Add another test.
19102 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19103 to ERANGE when the result is +-Inf.
19104 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19105 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19106 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19107 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19108
bf9e2071
JM
191092012-07-24 Joseph Myers <joseph@codesourcery.com>
19110
19111 * conform/data/time.h-data (NULL): Use macro-constant. Require
19112 equal to 0.
19113 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
19114 clock_t.
19115 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
19116
57633811
TS
191172012-07-23 Thomas Schwinge <thomas@codesourcery.com>
19118
19119 * configure.in <sysdeps resolving>: Correct printing
19120 Implies_before.
19121 * configure: Regenerate.
19122
c23c33b0
TS
191232012-07-22 Thomas Schwinge <thomas@codesourcery.com>
19124
19125 * math/w_ilogb.c: Include <limits.h>.
19126 * math/w_ilogbl.c: Likewise.
19127
b5982523
JM
191282012-07-20 Joseph Myers <joseph@codesourcery.com>
19129
19130 * manual/lang.texi (__va_copy): Document primarily as ISO C99
19131 va_copy. Document allowing for unavailable va_copy only as
19132 pre-C99 compatibility.
19133 * manual/string.texi (Copying and Concatenation): Use va_copy
19134 instead of __va_copy in concat example.
19135
ac4ea442
PT
191362012-07-20 Pino Toscano <toscano.pino@tiscali.it>
19137
19138 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19139 (__sendto): Use create_address_port. Initialize APORT and deallocate
19140 it if not null.
19141
f98eafbd
PT
19142 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19143 with O_NOLINK passed to __file_name_lookup.
19144
898c7aab
PT
19145 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19146 with O_NOLINK passed to __file_name_lookup.
19147
0ced335a
PT
19148 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19149 negative N or less than NGIDS.
19150
b3404dbd
PT
19151 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19152 type to string_t. Set ERANGE as errno and return it if NAME is not big
19153 enough. Use memcpy instead of strncpy.
19154
0f48659e
JM
191552012-07-20 Joseph Myers <joseph@codesourcery.com>
19156
19157 * elf/Makefile (check-data): Remove.
19158 (localplt.data): New vpath directive.
19159 ($(objpfx)check-localplt.out): Use localplt.data from vpath
19160 instead of $(check-data).
19161 * scripts/data/localplt-generic.data: Move to ...
19162 * sysdeps/generic/localplt.data: ... here.
19163 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19164 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19165 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19167 ... here.
19168 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19170 ... here.
19171 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19172 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19173 ... here.
19174 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19176 ... here.
19177 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19178 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19179 ... here.
19180 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19181 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19182 ... here.
19183
d37cbdaa
AZ
191842012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19185
19186 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19187 PPC32 and PPC64 files.
19188 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19189 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19190
46f85fc2
AK
191912012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19192
19193 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19194 __makecontext_ret to ...
19195 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19196 ... here and call exit if uc_link is NULL. New file.
19197 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19198 __makecontext_ret.S.
19199 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19200 __makecontext_ret to ...
19201 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19202 ... here and call exit if uc_link is NULL. New file.
19203 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19204 __makecontext_ret.S.
19205
08f43f9b
AK
192062012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19207
19208 * elf/elf.h (R_390_IRELATIVE): New definition.
19209 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19210 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
19211 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19212 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19213 (elf_machine_lazy_rel): Likewise.
19214 * sysdeps/s390/dl-irel.h: New file.
19215 * sysdeps/s390/s390-64/memcpy.S: New asm code.
19216 * sysdeps/s390/s390-64/memset.S: New asm code.
19217 * sysdeps/s390/s390-64/memcmp.S: New asm code.
19218 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19219 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19220 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19221 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19222 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19223 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19224 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19225 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19226 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19227 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19228 * sysdeps/s390/s390-32/memcpy.S: New asm code.
19229 * sysdeps/s390/s390-32/memset.S: New asm code.
19230 * sysdeps/s390/s390-32/memcmp.S: New asm code.
19231
3b05db33
MP
192322012-07-17 Marek Polacek <polacek@redhat.com>
19233
19234 [BZ #14349]
19235 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19236 * sysdeps/s390/s390-64/configure.in: Likewise.
19237 * sysdeps/sparc/configure.in: Likewise.
19238 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19239 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19240 * sysdeps/i386/configure.in: Likewise.
19241 * sysdeps/x86_64/configure.in: Likewise.
19242 * sysdeps/sh/configure.in: Likewise.
19243 * sysdeps/s390/s390-32/configure: Regenerated.
19244 * sysdeps/s390/s390-64/configure: Likewise.
19245 * sysdeps/x86_64/configure: Likewise.
19246 * sysdeps/sh/configure: Likewise.
19247 * sysdeps/powerpc/powerpc64/configure: Likewise.
19248 * sysdeps/powerpc/powerpc32/configure: Likewise.
19249 * sysdeps/sparc/configure: Likwise.
19250 * sysdeps/i386/configure: Likewise.
19251
a66877c6
MP
19252 * elf/dl-open.c: Comment fixes.
19253
cfc82fd8
JM
192542012-07-17 Joseph Myers <joseph@codesourcery.com>
19255
bd29910a
JM
19256 * Makefile [CXX] (check-data): Remove.
19257 [CXX] (c++-types.data): New vpath directive.
19258 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19259 vpath. Do not allow for C++ type data being missing.
19260 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19261 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19262 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19263 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19264 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19265 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19266 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19268 ... here.
19269 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19271 ... here.
19272 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19273 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19274 ... here.
19275 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19276 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19277 ... here.
19278 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19279 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19280 ... here.
19281 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19282 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19283 ... here.
19284 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19285 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19286 ... here.
19287 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19288 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19289
cfc82fd8
JM
19290 * elf/tls-macros.h (TLS_LE): Move architecture-specific
19291 definitions to architecture-specific files.
19292 (TLS_IE): Likewise.
19293 (TLS_LD): Likewise.
19294 (TLS_GD): Likewise.
19295 * sysdeps/i386/tls-macros.h: New file.
19296 * sysdeps/powerpc/tls-macros.h: Likewise.
19297 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19298 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19299 * sysdeps/sh/tls-macros.h: Likewise.
19300 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19301 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19302 * sysdeps/x86_64/tls-macros.h: Likewise.
19303
f7db3170
TS
193042012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19305
07cbfc23
TS
19306 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19307 zero value for regular exit case.
19308
f7db3170
TS
19309 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19310 (__start_context): Preserve zero value for regular exit case.
19311
dc97c227
TS
193122012-07-17 Thomas Schwinge <thomas@codesourcery.com>
19313 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19314
19315 * manual/setjmp.texi (setcontext): Clarify normal process
19316 termination when uc_link is the null pointer.
19317 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19318 exit call.
19319
d0cd7d02
AS
193202012-07-16 Andreas Schwab <schwab@linux-m68k.org>
19321
19322 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19323 preprocessor. Test for each exception mask separately.
19324
dd318934
AJ
193252012-07-16 Andreas Jaeger <aj@suse.de>
19326
19327 * po/ru.po: Update from translation team.
19328
8048311a
JM
193292012-07-15 Joseph Myers <joseph@codesourcery.com>
19330
19331 * conform/data/string.h-data (NULL): Use macro-constant. Require
19332 equal to 0.
19333 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19334 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19335 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19336 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19337 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19338
b637d46e
AJ
193392012-07-13 Andreas Jaeger <aj@suse.de>
19340
19341 * po/fr.po: Update from translation team.
19342
541428fe
MP
193432012-07-12 Marek Polacek <polacek@redhat.com>
19344
19345 [BZ #14173]
19346 * math/libm-test.inc (yn_test): Add test for BZ #14173.
19347 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19348 loop condition.
19349
ec332e94
JM
193502012-07-12 Joseph Myers <joseph@codesourcery.com>
19351
19352 [BZ #13717]
19353 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19354 Change to 2.4.1 where previously 2.4.0.
19355 * sysdeps/unix/sysv/linux/configure: Regenerated.
19356 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19357 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19358 version.
19359 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19360 (__ASSUME_AT_CLKTCK): Remove.
19361 (__ASSUME_AT_PAGESIZE): Likewise.
19362 (__ASSUME_AT_XID): Likewise.
19363 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19364 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19365 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19366 unconditionally.
19367 (HAVE_AUX_PAGESIZE): Likewise.
19368 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19369 [__ASSUME_AT_CLKTCK]: Make code unconditional.
19370 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19371
7b6e99be
JB
193722012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
19373
19374 [BZ #14307]
19375 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19376 the temporary buffer used to invoke __gethostbyname2_r,
19377 __gethostbyaddr_r and gethostbyname4_r to make room for struct
19378 host_data / struct gaih_addrtuple.
19379 * resolv/nss_dns/dns-host.c (global scope): Move definition of
19380 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19381 header file nss/nsswitch.h.
19382 * nss/nsswitch.h (global scope): Add definition of implementation
19383 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19384 resolv/nss_dns/dns-host.c).
19385
608404eb
AJ
193862012-07-11 Andreas Jaeger <aj@suse.de>
19387
19388 * po/fr.po: Update from translation team.
19389
71220aca
AJ
19390 * po/sv.po: Update from translation team
19391 * po/fr.po: Another update from translation team.
19392
28cfe843
AZ
193932012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19394
19395 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
19396 for subnormals or multiply small sinh result by itself.
19397 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19399
6b90f981
DM
194002012-07-11 David S. Miller <davem@davemloft.net>
19401
19402 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19403
c6825772
AS
194042012-07-10 Andreas Schwab <schwab@linux-m68k.org>
19405
19406 [BZ #14347]
19407 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
19408 (INTERNAL_MARK): Shift it here.
19409
7b8e0d49
MP
194102012-07-10 Marek Polacek <polacek@redhat.com>
19411
19412 [BZ #14151]
19413 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
19414 libc_cv_asm_global_directive with .globl.
19415 * configure: Regenerated.
19416 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
19417 with .globl.
19418 * sysdeps/i386/configure: Regenerated.
19419 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
19420 with .globl.
19421 * sysdeps/x86_64/configure: Regenerated.
19422 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
19423 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
19424 * elf/tst-unique2mod2.c: Likewise.
19425 * elf/tst-unique2mod1.c: Likewise.
19426 * elf/tst-unique1mod2.c: Likewise.
19427 * elf/tst-unique1mod1.c: Likewise.
19428 * sysdeps/s390/s390-32/sysdep.h: Likewise.
19429 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19430 * sysdeps/s390/s390-64/sysdep.h: Likewise.
19431 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19432 * sysdeps/mach/sysdep.h: Likewise.
19433 * sysdeps/i386/sysdep.h: Likewise.
19434 * sysdeps/i386/i386-mcount.S: Likewise.
19435 * sysdeps/x86_64/_mcount.S: Likewise.
19436 * sysdeps/x86_64/sysdep.h: Likewise.
19437 * sysdeps/sh/_mcount.S: Likewise.
19438 * sysdeps/sh/sysdep.h: Likewise.
19439 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
19440 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
19441 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
19442 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19443 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
19444 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
19445 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
19446 * locale/localeinfo.h: Likewise.
19447 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
19448 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
19449
6c55cda3
RM
194502012-07-09 Roland McGrath <roland@hack.frob.com>
19451
19452 [BZ #14336]
19453 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
19454 system".
19455 * manual/message.texi (The Uniforum approach): Likewise.
19456 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
19457 (glibc iconv Implementation): Likewise.
19458
638a572e
JM
194592012-07-09 Joseph Myers <joseph@codesourcery.com>
19460
19461 [BZ #14337]
19462 * math/s_clog.c (__clog): Avoid scaling a value down where that
19463 could result in underflow.
19464 * math/s_clog10.c (__clog10): Likewise.
19465 * math/s_clog10f.c (__clog10f): Likewise.
19466 * math/s_clog10l.c (__clog10l): Likewise.
19467 * math/s_clogf.c (__clogf): Likewise.
19468 * math/s_clogl.c (__clogl): Likewise.
19469 * math/libm-test.inc (clog_test): Add more tests.
19470 (clog10_test): Likewise.
19471 * sysdeps/i386/fpu/libm-test-ulps: Update.
19472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19473
261f4859
AS
194742012-07-06 Andreas Schwab <schwab@linux-m68k.org>
19475
0abaf3e4
AS
19476 [BZ #14283]
19477 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
19478 by 7 not 8 to examine high bit of fractional part.
19479
261f4859
AS
19480 [BZ #14042]
19481 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
19482 for call to __mcount_internal.
19483 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
19484 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
19485 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
19486
f17ac40d
JM
194872012-07-06 Joseph Myers <joseph@codesourcery.com>
19488
9ad63c23
JM
19489 [BZ #14154]
19490 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
19491 approximation for values within 0x1p-13f of an odd multiple of
19492 pi/4.
19493 * math/libm-test.inc (tan_test): Do not allow spurious underflow
19494 exception. Add more tests.
19495 * sysdeps/i386/fpu/libm-test-ulps: Update.
19496
f17ac40d
JM
19497 [BZ #6778]
19498 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
19499 inputs and return -1 for them. Do not check for +Inf in case not
19500 reachable for +Inf.
19501 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19502 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
19503 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19504 and return -1 for them. Do not check for +Inf in case not
19505 reachable for +Inf.
19506 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
19507 define.
19508 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
19509 and return -1 for them. Do not check for +Inf in case not
19510 reachable for +Inf.
19511 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
19512 spurious underflow.
19513 * sysdeps/i386/fpu/libm-test-ulps: Update.
19514 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19515
fb21f89b
MF
195162012-07-06 Mike Frysinger <vapier@gentoo.org>
19517
19518 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
19519
cdfe2c5e
JM
195202012-07-05 Joseph Myers <joseph@codesourcery.com>
19521
19522 [BZ #14157]
19523 [BZ #14331]
19524 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
19525 could result in spurious underflow. Scale down values above
19526 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
19527 * math/s_csqrtf.c (__csqrtf): Likewise.
19528 * math/s_csqrtl.c (__csqrtl): Likewise.
19529 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
19530 spurious underflow.
19531 * sysdeps/i386/fpu/libm-test-ulps: Update.
19532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19533
70d35b67
AS
195342012-07-04 Andreas Schwab <schwab@linux-m68k.org>
19535
704bc459
AS
19536 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
19537 xopen-msg.sed.
19538 * catgets/xopen-msg.awk: New file.
19539 * catgets/xopen-msg.sed: Removed.
19540
70d35b67
AS
19541 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
19542 po2text.sed.
19543 * intl/po2test.awk: New file.
19544 * intl/po2test.sed: Removed.
19545
ca61cf32
JM
195462012-07-04 Joseph Myers <joseph@codesourcery.com>
19547
19548 [BZ #14328]
19549 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
19550 or multiply small sinh result by itself.
19551 * math/s_ctanf.c (__ctanf): Likewise.
19552 * math/s_ctanh.c (__ctanh): Likewise.
19553 * math/s_ctanhf.c (__ctanhf): Likewise.
19554 * math/s_ctanhl.c (__ctanhl): Likewise.
19555 * math/s_ctanl.c (__ctanl): Likewise.
19556 * math/libm-test.inc (ctan_test_tonearest): New function.
19557 (ctan_test_towardzero): Likewise.
19558 (ctan_test_downward): Likewise.
19559 (ctan_test_upward): Likewise.
19560 (ctanh_test_tonearest): Likewise.
19561 (ctanh_test_towardzero): Likewise.
19562 (ctanh_test_downward): Likewise.
19563 (ctanh_test_upward): Likewise.
19564 (main): Call these new functions.
19565 * sysdeps/i386/fpu/libm-test-ulps: Update.
19566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19567
ca48a46a
MF
195682012-07-03 Mike Frysinger <vapier@gentoo.org>
19569
19570 * .gitignore: Delete /ports entry.
19571
9d63d37d
AJ
195722012-07-03 Andreas Jaeger <aj@suse.de>
19573
19574 * po/bg.po: Update from translation team.
19575 * po/cs.po: Likewise.
19576 * po/de.po: Likewise.
19577 * po/hr.po: Likewise.
19578 * po/nl.pl: Likewise.
19579 * po/pl.po: Likewise.
19580 * po/vi.po: Likewise.
19581
370ca3d2
JM
195822012-07-03 Joseph Myers <joseph@codesourcery.com>
19583
95f5a9a8
JM
19584 * Makeconfig [!+link] (+link-before-libc): New variable.
19585 [!+link] (+link-after-libc): Likewise.
19586 [!+link] (+link-tests): Likewise.
19587 [!+link] (+link): Define in terms of $(+link-before-libc) and
19588 $(+link-after-libc).
19589 [!+link-static] (+link-static-before-libc): New variable.
19590 [!+link-static] (+link-static-after-libc): Likewise.
19591 [!+link-static] (+link-static-tests): Likewise.
19592 [!+link-static] (+link-static): Define in terms of
19593 $(+link-static-before-libc) and $(+link-static-after-libc).
19594 [build-shared] (link-libc-before-gnulib): New variable.
19595 [build-shared] (link-libc-tests): Likewise.
19596 [build-shared] (link-libc): Define in terms of
19597 $(link-libc-before-gnulib).
19598 [!build-shared] (link-libc-tests): New variable.
19599 (link-libc-static-tests): New variable.
19600 [!gnulib] (gnulib-arch): New variable.
19601 [!gnulib] (gnulib-tests): Likewise.
19602 [!gnulib] (static-gnulib-arch): Likewise.
19603 [!gnulib] (static-gnulib-tests): Likewise.
19604 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
19605 Define with "=" instead of ":=".
19606 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
19607 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
19608 * Rules (binaries-all-notests): New variable.
19609 (binaries-all-tests): Likewise.
19610 (binaries-static-notests): Likewise.
19611 (binaries-static-tests): Likewise.
19612 (binaries-all): Define using $(binaries-all-notests) and
19613 $(binaries-all-tests).
19614 (binaries-static): Define using $(binaries-static-notests) and
19615 $(binaries-static-tests).
19616 (binaries-shared-tests): New variable.
19617 (binaries-shared-notests): Likewise.
19618 (binaries-shared): Remove variable.
19619 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
19620 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
19621 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
19622 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
19623 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
19624 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
19625 * elf/Makefile (sln-modules): New variable.
19626 (extra-objs): Add $(sln-modules:=.o).
19627 (ldconfig-modules): Add static-stubs.
19628 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
19629 * elf/static-stubs.c: New file.
19630
7a845b2c
JM
19631 [BZ #14283]
19632 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
19633 by 7 not 8 to examine high bit of fractional part. Use volatile
19634 variables when splitting into final array of floats if
19635 __FLT_EVAL_METHOD__ != 0.
19636 * math/libm-test.inc (cos_test): Add another test.
19637 (sin_test): Likewise.
19638 * sysdeps/i386/fpu/libm-test-ulps: Update.
19639
e2283f38
JM
19640 [BZ #14273]
19641 * math/libm-test.inc (cosh_test): Add more tests.
19642
370ca3d2
JM
19643 * version.h (RELEASE): Set to "development".
19644 (VERSION): Set to "2.16.90".
19645
ee9247c3
CD
196462012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
19647
19648 * NEWS: Update copyright. Remove last-updated date.
19649 Mention math library bug fixes and timezone data changes.
19650 * README: Mention GNU/Hurd, x32, and HPPA support status.
19651
4648c381
TS
196522012-06-28 Thomas Schwinge <thomas@codesourcery.com>
19653
19654 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
19655
aac78a43
AJ
196562012-06-27 Andreas Jaeger <aj@suse.de>
19657
19658 * manual/contrib.texi (Contributors): Add Samuel Thibault.
19659
ed3dbfad
AJ
196602012-06-25 Andreas Jaeger <aj@suse.de>
19661
19662 * sysdeps/s390/fpu/libm-test-ulps: Update.
19663
4d0ee855
AS
196642012-06-23 Andreas Schwab <schwab@linux-m68k.org>
19665 Thomas Schwinge <thomas@codesourcery.com>
19666
19667 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
19668 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
19669 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
19670 fanotify_mark.
19671
af1bce34
TS
196722012-06-23 Thomas Schwinge <thomas@codesourcery.com>
19673
a9fa33ba
TS
19674 * sysdeps/mach/start.c: Remove file.
19675 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
19676 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
19677 * sysdeps/sh/init-first.c: Likewise.
19678
58f902b8
TS
19679 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
19680 registers for frame unwinding purposes, add CFI directives.
19681 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19682 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
19683 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
19684 Likewise.
19685
1518f58b
TS
19686 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
19687 __fortify_fail returning.
19688 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
19689
db9b5059
TS
19690 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
19691 sysdeps/sh/____longjmp_chk.S.
19692 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
19693 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
19694 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
19695 (gen-as-const-headers): Append sigaltstack-offsets.sym.
19696
967705fe
TS
19697 * sysdeps/sh/abort-instr.h: New file.
19698 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
19699 process in case exit returns.
19700
a9def8c4
TS
19701 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
19702 initialize the GOT register before use.
19703
2a649725
TS
19704 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
19705 calculation of ARGC > 4.
19706
af1bce34
TS
19707 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
19708 meaningful names to some local labels.
19709
d230f50a
KK
197102012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
19711 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19712
19713 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
19714 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
19715 (__arch_compare_and_exchange_val_16_acq): Likewise.
19716 (__arch_compare_and_exchange_val_32_acq): Likewise.
19717 (atomic_exchange_and_add): Fix gUSA sequence.
19718 (atomic_add): Likewise.
19719 (atomic_add_negative): Likewise.
19720 (atomic_add_zero): Likewise.
19721 (atomic_bit_test_set): Likewise.
19722
0479b305
AS
197232012-06-22 Andreas Schwab <schwab@redhat.com>
19724
19725 [BZ #13579]
19726 * include/link.h (struct link_map): Add l_free_initfini.
19727 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
19728 l_initfini.
19729 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
19730 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
19731 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
19732 set.
19733
0e3933b9
CD
197342012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
19735
19736 * configure.in: Use AC_LANG_SOURCE.
19737 * configure: Regenerate.
19738
4248b1b1
RM
197392012-06-22 Roland McGrath <roland@hack.frob.com>
19740
19741 * configure.in (libc_cv_localstatedir): New substituted variable.
19742 * configure: Regenerated.
19743 * config.make.in (localstatedir): New variable, substituted from
19744 libc_cv_localstatedir.
19745 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
19746 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
19747 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
19748 * sysdeps/gnu/configure: Regenerated.
19749
006dd861
JL
197502012-06-21 Jeff Law <law@redhat.com>
19751
19752 [BZ #14277]
19753 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
19754 free. Simplify list management for _LIBC case.
19755
79662d42
JM
197562012-06-21 Joseph Myers <joseph@codesourcery.com>
19757
b7abb4bf
JM
19758 [BZ #14273]
19759 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
19760 Clear sign bit of 64-bit integer value before comparing against
19761 overflow value.
19762
79662d42
JM
19763 * sysdeps/mach/configure: Regenerated.
19764
1f150908
L
197652012-06-21 H.J. Lu <hongjiu.lu@intel.com>
19766
19767 [BZ #14278]
19768 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
19769
28363bbf
JL
197702012-06-21 Jeff Law <law@redhat.com>
19771
19772 [BZ #13882]
19773 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
19774 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 19775 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
19776 * elf/dl-open.c (dl_open_worker): Likewise.
19777
09615db4
CD
197782012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
19779
19780 * scripts/list-sources.sh: Scan PORTS for translations.
19781 * po/libc.pot: Regenerated.
19782
2174c6dd
AJ
197832012-06-21 Andreas Jaeger <aj@suse.de>
19784
19785 [BZ #12194]
19786 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
19787 warning.
19788 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
19789 * bits/byteswap-16.h (__bswap_16): Likewise.
19790 * bits/byteswap.h (__bswap_constant_16): Likewise.
19791
3ee947b1
L
197922012-06-18 H.J. Lu <hongjiu.lu@intel.com>
19793
19794 [BZ #14117]
a2f34833
L
19795 * sysdeps/i386/fpu_control.h: Removed.
19796 * sysdeps/x86_64/fpu_control.h: Moved to ...
19797 * sysdeps/x86/fpu_control.h: Here.
19798
3ee947b1
L
19799 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
19800 (_FPU_SETCW): Likewise.
19801
ed1825f8
L
198022012-06-15 H.J. Lu <hongjiu.lu@intel.com>
19803
25f1282a
L
19804 [BZ #14117]
19805 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
19806 * sysdeps/x86/fpu/bits/mathinline.h: This.
19807 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
19808
ed1825f8
L
19809 [BZ #14050]
19810 [BZ #14117]
19811 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
19812 functions if __x86_64__ is defined.
19813
36d54b74
CLT
198142012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
19815
19816 * string/endian.h: Add !__ASSEMBLER__ condition for including
19817 conversion interfaces.
19818
10285c21
JM
198192012-06-15 Joseph Myers <joseph@codesourcery.com>
19820
19821 [BZ #14241]
19822 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
19823 of ABS(x) in calculating zero to negative powers other than odd
19824 integers.
19825 * math/libm-test.inc (pow_test): Add more tests.
19826
06c5abbd
AJ
198272012-06-15 Andreas Jaeger <aj@suse.de>
19828
19829 * manual/contrib.texi (Contributors): Update entry of Liubov
19830 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
19831 Machado Filho.
19832
a3aeac40
CH
198332012-06-15 Cyril Hrubis <metan@ucw.cz>
19834
19835 * string/string.h: Add __wur to GNU version of strerror_r.
19836
49bdf4c1
L
198372012-06-14 H.J. Lu <hongjiu.lu@intel.com>
19838
19839 [BZ #14229]
19840 * string/Makefile (tests): Add tst-strtok_r.
19841 * string/tst-strtok_r.c: New file.
19842 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
19843 RAX_LP/RDX_LP on SAVE_PTR.
19844
834f9b8d
RM
198452012-06-14 Roland McGrath <roland@hack.frob.com>
19846
19847 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
19848
75fa1921
JM
198492012-06-14 Joseph Myers <joseph@codesourcery.com>
19850
19851 * libm_test.inc (csqrt_test): Allow more spurious underflow
19852 exceptions.
19853 (j0_test): Likewise.
19854 (j1_test): Likewise.
19855 (y0_test): Likewise.
19856 (y1_test): Likewise.
19857
771766df
CD
198582012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
19859
19860 * po/Makefile (libc.pot): Use UTF-8 charset.
19861
ceb9e56b
PP
198622012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
19863
19864 [BZ #14210]
19865 Suppress sign-conversion warning from FD_SET.
19866 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
19867 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
19868 not unsigned long int.
19869 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
19870
ddb28975
L
198712012-06-12 H.J. Lu <hongjiu.lu@intel.com>
19872
19873 [BZ #14050]
19874 [BZ #14117]
19875 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
19876 __extern_always_inline instead of __extern_inline.
19877 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
19878 (__signbit): Likewise.
19879 (__signbitl): Support C++ namespace.
19880 (lrintf): New inline function.
19881 (lrint): Likewise.
19882 (llrintf): Likewise.
19883 (llrint): Likewise.
19884 (fmaxf): Likewise.
19885 (fmax): Likewise.
19886 (fminf): Likewise.
19887 (fmin): Likewise.
19888 (rint): Likewise.
19889 (rintf): Likewise.
19890 (ceil): Likewise.
19891 (ceilf): Likewise.
19892 (floor): Likewise.
19893 (floorf): Likewise.
19894 (nearbyint): Likewise.
19895 (nearbyintf): Likewise.
19896
d7b4fb26
TS
198972012-06-12 Thomas Schwinge <thomas@codesourcery.com>
19898
19899 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
19900 non-default versions.
19901
eb55f5c2
RM
199022012-06-11 Roland McGrath <roland@hack.frob.com>
19903
19904 [BZ #14218]
19905 * manual/argp.texi (Argp): Reword argp_parse description slightly.
19906
366af02c
TS
199072012-06-09 Thomas Schwinge <thomas@codesourcery.com>
19908
99ff6e5c
TS
19909 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
19910 (FE_UPWARD, FE_DOWNWARD): Don't define.
19911 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
19912 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
19913
366af02c
TS
19914 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
19915 reading it.
19916 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
19917 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
19918
793ea851
KK
199192012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
19920
19921 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19922 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
19923 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
19924 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
19925
a728a38f
L
199262012-06-06 H.J. Lu <hongjiu.lu@intel.com>
19927
19928 [BZ #14117]
c08010c7
L
19929 * sysdeps/i386/fpu/bits/fenv.h: Removed.
19930 * sysdeps/i386/fpu/Implies: New file.
19931 * sysdeps/x86_64/fpu/Implies: Likewise.
19932 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
19933 * sysdeps/x86/fpu/bits/fenv.h: This.
19934
a728a38f
L
19935 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
19936 __SSE_MATH__.
19937
6e230d11
SP
199382012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19939
19940 [BZ #14134]
19941 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
19942 character 0xffff that matches the last element of the
19943 conversion table.
19944
1b671feb
AZ
199452012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19946
19947 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
19948 fmodl commit.
19949
6043738b
AZ
199502012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19951
19952 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
19953 values higher than 25.6283.
19954
34ae0b32
AZ
199552012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19956
19957 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
19958 subnormal exponent extraction and add some __builtin_expect.
19959 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
19960 Fix for subnormal mantissa calculation.
19961
1214ec8f
MF
199622012-06-04 Mike Frysinger <vapier@gentoo.org>
19963
19964 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
19965 cpu2 is -1 and errno is not ENOSYS.
19966
f3d1f93c
L
199672012-06-04 H.J. Lu <hongjiu.lu@intel.com>
19968
19969 [BZ #14117]
0e4a3cd7
L
19970 * sysdeps/i386/i486/bits/string.h: Renamed to ...
19971 * sysdeps/x86/bits/string.h: This.
19972 * sysdeps/x86_64/bits/string.h: Removed.
19973
6704c645
L
19974 * sysdeps/i386/i486/bits/string.h: Define inline functions only
19975 if not compiling for x86-64, but compiling for >= i486.
19976
48495318
L
19977 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
19978 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
19979
14adcbfc
L
19980 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
19981 New macro from Linux kernel 3.4.0.
19982 (FP_XSTATE_MAGIC2): Likewise.
19983 (FP_XSTATE_MAGIC2_SIZE): Likewise.
19984 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
19985 (struct _fpx_sw_bytes): New struct.
19986 (struct _xsave_hdr): Likewise.
19987 (struct _ymmh_state): Likewise.
19988 (struct _xstate): Likewise.
19989
68e408ab
L
19990 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
19991 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
19992 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
19993 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
19994 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
19995 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
19996
f3d1f93c
L
19997 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
19998 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
19999 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20000 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20001 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20002 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20003
d9dc34cd
TMQMF
200042012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20005
20006 [BZ #13743]
20007 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20008 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20009 (sysdep_headers): Include sys/platform/ppc.h.
20010 * sysdeps/powerpc/test-gettimebase.c: Test for
20011 __ppc_get_timebase() to catch future ISA opcode/insn changes.
20012 * manual/Makefile (appendices): Include platform.texi.
20013 * manual/contrib.texi (Contributors): Update @node pointers.
20014 * manual/maint.texi (Maintenance): Likewise.
20015 (Platform): New node.
20016 * manual/platform.texi: New file. Document the new features.
20017
4af3879c
SP
200182012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
20019 Jakub Jelinek <jakub@redhat.com>
20020
20021 [BZ #14188]
20022 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20023 where __builtin_expect is unavailable.
20024
2fd6ff13
DM
200252012-06-03 David S. Miller <davem@davemloft.net>
20026
20027 * stdlib/longlong.h: Updated from GCC.
20028
173f7220
AS
200292012-06-02 Andreas Schwab <schwab@linux-m68k.org>
20030
20031 [BZ #14042]
20032 * sysdeps/powerpc/powerpc32/mcount.c: New file.
20033 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20034 __mcount_internal.
20035 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20036 (GLIBC_2.16): Likewise.
20037
f34a1c6f
L
200382012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20039
20040 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20041
88a4576f
JM
200422012-06-01 Joseph Myers <joseph@codesourcery.com>
20043
ea32bcdd
JM
20044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20045 (default-abi): New variable.
20046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20047 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20048 variable.
20049 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20050 Likewise.
20051 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20052 Likewise.
20053 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20054 Likewise.
20055
88a4576f
JM
20056 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20057 definition. Document in comment.
20058
402fe938
DM
200592012-06-01 David S. Miller <davem@davemloft.net>
20060
20061 * stdlib/longlong.h: Updated from GCC.
20062
3553723f
L
200632012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20064
20065 [BZ #14117]
3bd872c4
L
20066 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20067 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20068 sys/debugreg.h sys/io.h here.
20069 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20070 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20071 sys/io.h.
20072 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20073 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20074 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20075 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20076 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20077 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20078
3553723f
L
20079 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20080 Define only if __x86_64__ is defined.
20081
4842e4fe
JM
200822012-06-01 Joseph Myers <joseph@codesourcery.com>
20083
c5bfe3d5
JM
20084 [BZ #14048]
20085 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20086 Use int64_t for variable i.
20087 * math/libm-test.inc (fmod_test): Add more tests.
20088
4842e4fe
JM
20089 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20090 z computation is not scheduled after fetestexcept.
20091 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20092 Use math_force_eval instead of asm to ensure calculation scheduled
20093 before exception test.
20094 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20095 Ensure a1 + u.d computation is not scheduled after fetestexcept.
20096
efb73488
AJ
200972012-06-01 Aurelien Jarno <aurelien@aurel32.net>
20098
20099 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20100 computation is not scheduled after fetestexcept.
20101
29bcce7c
L
201022012-06-01 H.J. Lu <hongjiu.lu@intel.com>
20103
20104 [BZ #14117]
20105 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20106 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20107
73a68f94
AZ
201082012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20109
20110 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20111 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20112
67b6df78
L
201132012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20114
edf2933a 20115 [BZ #14117]
ebc64a18
L
20116 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20117 <bits/wordsize.h>.
20118 (__WCHAR_MIN): Support __WORDSIZE == 64.
20119 (__WCHAR_MAX): Likewise.
20120
edf2933a
L
20121 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20122 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20123
57c6cf40
L
20124 [BZ #14183]
20125 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20126 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20127
67b6df78 20128 [BZ #14117]
8eb6281e
L
20129 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20130 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20131
aac639f4
L
20132 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20133 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20134
67b6df78
L
20135 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20136 Defined to 1 if __x86_64__ isn't defined.
20137 (_STAT_VER_LINUX_OLD): New.
20138 (st_atime): Remove duplicate.
20139 (st_mtime): Likewise.
20140 (st_ctime): Likewise.
20141
1c2cfe81
DM
201422012-05-31 David S. Miller <davem@davemloft.net>
20143
20144 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20145 entries.
20146
5be8418c
AS
201472012-06-01 Andreas Schwab <schwab@linux-m68k.org>
20148
e7725326
AS
20149 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20150 gen-libm-test.pl.
20151
5be8418c
AS
20152 [BZ #14132]
20153 * elf/dl-reloc.c: Include <_itoa.h>.
20154 (_dl_reloc_bad_type): Remove use of INTUSE.
20155 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20156 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20157 * stdio-common/psiginfo.c (psiginfo): Likewise.
20158 * stdio-common/psignal.c (psignal): Likewise.
20159 * string/strsignal.c (strsignal): Likewise.
20160 * include/signal.h (_sys_siglist): Declare hidden proto.
20161 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
20162 INTVARDEF with libc_hidden_data_def.
20163 * stdio-common/itoa-udigits.c: Likewise.
20164 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20165 (_itoa_lower_digits_internal): Remove declaration.
20166 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20167 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20168 (_sys_sigabbrev_internal): Remove aliases.
20169 (_sys_siglist): Define hidden alias.
20170
507352f1
MT
201712012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
20172
20173 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20174 bits/sysctl.h.
20175
42bbb1c3
L
201762012-05-31 H.J. Lu <hongjiu.lu@intel.com>
20177
20178 [BZ #14117]
6bd784b6
L
20179 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20180 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20181
8bca20f0
L
20182 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20183 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20184 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20185 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20186 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20187 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20188
f9e890a9
L
20189 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20190 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20191 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20192
471101a1
L
20193 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20194 with __addr.
20195 (insw): Likewise.
20196 (insl): Likewise.
20197 (outsb): Likewise.
20198 (outsw): Likewise.
20199 (outsl): Likewise.
20200
6451c862
L
20201 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20202 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20203 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20204
a254b8c9
L
20205 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20206 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20207 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20208 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20209 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20210 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20211
b8dfdd92
L
20212 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20213 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20214
578cd270
L
20215 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20216 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20217
de662f5f
L
20218 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20219 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20220 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20221
25653439
L
20222 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20223 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20224 to ...
20225 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20226
6bad24a0
L
20227 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20228 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20229 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20230
42bbb1c3
L
20231 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20232 for x86-64.
20233 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20234
2d10d547
JM
202352012-05-31 Joseph Myers <joseph@codesourcery.com>
20236
20237 * math/math.h (M_El): Use two more decimal places.
20238 (M_LOG2El): Likewise.
20239 (M_LOG10El): Likewise.
20240 (M_LN2l): Likewise.
20241 (M_LN10l): Likewise.
20242 (M_PIl): Likewise.
20243 (M_PI_2l): Likewise.
20244 (M_PI_4l): Likewise.
20245 (M_1_PIl): Likewise.
20246 (M_2_PIl): Likewise.
20247 (M_2_SQRTPIl): Likewise.
20248 (M_SQRT2l): Likewise.
20249 (M_SQRT1_2l): Likewise.
20250
f230c29b
DM
202512012-05-31 David S. Miller <davem@davemloft.net>
20252
20253 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20254 values between float registers.
20255 * sysdeps/sparc/sparc64/memset.S: Likewise.
20256 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20257
fed806c3
MF
202582012-05-31 Mike Frysinger <vapier@gentoo.org>
20259
20260 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20261 -D_FORTIFY_SOURCE=1.
20262 (CPPFLAGS-tst-longjmp_chk.c): Define.
20263 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20264 (CPPFLAGS-tst-longjmp_chk2.c): Define.
20265 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20266 CFLAGS-tst-wchar-h.c.
20267
30917259
MP
202682012-05-31 Marek Polacek <polacek@redhat.com>
20269
20270 [BZ #14132]
20271 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20272 __endmntent_internal): Remove declaration.
20273 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20274 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20275 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20276
1c58d5dc
DM
202772012-05-30 David S. Miller <davem@davemloft.net>
20278
20279 * sysdeps/sparc/sparc32/soft-fp/q_util.c
20280 (___Q_simulate_exceptions): Use real FP ops rather than writing
20281 into the %fsr.
20282 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20283 Likewise.
20284
7dc00e0d
L
202852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20286
20287 [BZ #14117]
0bd53985
L
20288 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20289 * sysdeps/x86/bits/xtitypes.h: This.
20290
3a257e66
L
20291 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20292 * sysdeps/x86/bits/wordsize.h: This.
20293
62f62904
L
20294 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20295 * sysdeps/x86/bits/huge_vall.h: This.
20296
404fe9d9
L
20297 * sysdeps/i386/bits/select.h: Removed.
20298 * sysdeps/x86_64/bits/select.h: Renamed to ...
20299 * sysdeps/x86/bits/select.h: This.
20300
d48d0446
L
20301 * sysdeps/i386/bits/setjmp.h: Removed.
20302 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20303 * sysdeps/x86/bits/setjmp.h: This.
20304
7dc00e0d
L
20305 * sysdeps/i386/bits/mathdef.h: Removed.
20306 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20307 * sysdeps/x86/bits/mathdef.h: This.
20308
03277f8f
AS
203092012-05-30 Andreas Schwab <schwab@linux-m68k.org>
20310
20311 [BZ #14132]
20312 * include/sys/socket.h (__connect_internal)
20313 (__libc_sa_len_internal): Remove declaration.
20314 (__connect, __libc_sa_len): Declare hidden_proto.
20315 (SA_LEN): Remove use of INTUSE.
20316 * socket/connect.c: Add libc_hidden_def.
20317 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20318 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20319 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20320 alias.
20321 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20322 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20323 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20324 of adding _internal alias.
20325
13764867
L
203262012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20327
20328 [BZ #14117]
6bd97696
L
20329 * sysdeps/i386/bits/link.h: Removed.
20330 * sysdeps/i386/bits/linkmap.h: Likewise.
20331 * sysdeps/x86_64/bits/link.h: Renamed to ...
20332 * sysdeps/x86/bits/link.h: This.
20333 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20334 * sysdeps/x86/bits/linkmap.h: This.
20335
f726f0bb
L
20336 * sysdeps/i386/bits/endian.h: Removed.
20337 * sysdeps/x86_64/bits/endian.h: Renamed to ...
20338 * sysdeps/x86/bits/endian.h: This.
20339
13764867
L
20340 * sysdeps/i386/bits/byteswap.h: Removed.
20341 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20342 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20343 * sysdeps/x86/bits/byteswap.h: This.
20344 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20345 * sysdeps/x86/bits/byteswap-16.h: This.
20346 * sysdeps/i386/Implies: Add x86.
20347 * sysdeps/x86_64/Implies: Likewise.
20348
ae251b0b
DM
203492012-05-30 David S. Miller <davem@davemloft.net>
20350
20351 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20352 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20353 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20354 (FP_TRAPPING_EXCEPTIONS): Define.
20355 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20356 (FP_TRAPPING_EXCEPTIONS): Define.
20357 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20358 subnormals only when inexact has been signalled or underflow
20359 exceptions are enabled.
20360 (_FP_PACK_CANONICAL): Likewise.
20361
d5c90867
L
203622012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20363
20364 [BZ #14183]
20365 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20366 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20367
63f1549e
RH
203682012-05-30 Richard Henderson <rth@twiddle.net>
20369
8d8f2279
RH
20370 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20371 with #ifndef NOT_IN_libc.
20372
63f1549e
RH
20373 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
20374 marked to avoid plt entry.
20375
0ab0291b
L
203762012-05-30 H.J. Lu <hongjiu.lu@intel.com>
20377
20378 [BZ #14112]
20379 * Makeconfig (default-abi): New macro.
20380 (abi-includes): Likewise.
20381 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
20382 $(abi-$(default-abi)-lib-soname) for soname if defined.
20383 ($(common-objpfx)gnu/lib-names.stmp): Generate from
20384 abi-variants.
20385 * Makefile (installed-stubs): Likewise.
20386 * include/stubs-biarch.h: Removed.
20387 * scripts/lib-names.awk: Only handle one library at a time.
20388 * scripts/soversions.awk: Remove WORDSIZE support.
20389 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
20390 entries.
20391 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
20392 Removed.
20393 (syscall-list-default-condition): Likewise.
20394 (syscall-list-default-condition): Likewise.
20395 (syscall-list-includes): Likewise.
20396 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
20397 syscall-list-* with abi-*. Handle undefined abi-variants.
20398 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
20399 * sysdeps/unix/sysv/linux/i386/Implies: New file.
20400 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
20401 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
20402 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
20403 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
20404 Removed.
20405 (syscall-list-32-options): Likewise.
20406 (syscall-list-32-condition): Likewise.
20407 (syscall-list-64-options): Likewise.
20408 (syscall-list-64-condition): Likewise.
20409 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
20410 macro.
20411 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
20412 Renamed to ...
20413 (abi-*): This.
20414 (abi-64-ld-soname): New macro.
20415 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
20416 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
20417 Renamed to ...
20418 (abi-*): This.
20419 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
20420 * sysdeps/x86_64/x32/shlib-versions: Likewise.
20421
4da0431d
JM
204222012-05-30 Joseph Myers <joseph@codesourcery.com>
20423
3a85279c
JM
20424 * sysdeps/unix/sysv/linux/kernel-features.h
20425 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
20426 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
20427 include <kernel-features.h>.
20428 [!__NR_ftruncate64]: Remove conditional code.
20429 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20430 [__NR_ftruncate64]: Make code unconditional.
20431 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20432 * sysdeps/unix/sysv/linux/truncate64.c: Do not
20433 include <kernel-features.h>.
20434 [!__NR_ftruncate64]: Remove conditional code.
20435 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20436 [__NR_ftruncate64]: Make code unconditional.
20437 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
20439 include <kernel-features.h>.
20440 [!__NR_ftruncate64]: Remove conditional code.
20441 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20442 [__NR_ftruncate64]: Make code unconditional.
20443 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20445 include <kernel-features.h>.
20446 [!__NR_ftruncate64]: Remove conditional code.
20447 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20448 [__NR_ftruncate64]: Make code unconditional.
20449 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
20450
4da0431d
JM
20451 * configure.in (libc_cv_fpie): Weaken to a compile test using
20452 LIBC_TRY_CC_OPTION.
20453 * configure: Regenerated.
20454
11ef492c
AK
204552012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
20456
20457 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
20458 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
20459 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
20460 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20461 Refreshed.
20462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
20463 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
20464 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
20465 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
20466 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
20467 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20468 Refreshed.
20469
d66ef399
DM
204702012-05-27 David S. Miller <davem@davemloft.net>
20471
20472 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
20473 (___Q_zero): New.
20474 (__Q_simulate_exceptions): Return void. Change to simulate
20475 exceptions by writing into the %fsr.
20476 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
20477 (__Qp_handle_exceptions): Likewise.
20478 (numbers): Delete.
20479 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
20480 __Qp_handle_exceptions.
20481 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
20482 __Qp_handle_exceptions.
20483 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20484 as unused and give dummy FP_RND_NEAREST initializer.
20485 (FP_INHIBIT_RESULTS): Define.
20486 (___Q_simulate_exceptions): Update declaration.
20487 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
20488 formatting.
20489 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
20490 as unused and give dummy FP_RND_NEAREST initializer.
20491 (__Qp_handle_exceptions): Update declaration.
20492 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
20493 formatting.
20494
04fb54b5
TS
204952012-05-27 Thomas Schwinge <thomas@codesourcery.com>
20496
20497 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
20498 the temporary FPU control word.
20499 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
20500 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
20501 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
20502 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20503 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20504 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
20505 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
20506 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20507 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
20508 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
20509 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20510
3f99608f
KK
205112012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
20512
20513 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
20514 fields.
20515
65a4de4e
CLT
205162012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
20517
20518 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
20519 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
20520 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
20521 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
20522 Likewise.
20523 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
20524 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
20525 Likewise.
20526
15749d40
UD
205272012-05-27 Ulrich Drepper <drepper@gmail.com>
20528
20529 * po/h.po: Update from translation team.
20530
25dbcb27
AS
205312012-05-26 Andreas Schwab <schwab@linux-m68k.org>
20532
3d3f8e55
AS
20533 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
20534
25dbcb27
AS
20535 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
20536 handling of denormals.
20537 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
20538 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
20539 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
20540 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
20541 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20542 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
20543 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
20544 Likewise.
20545
7ad47a80 205462012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
20547
20548 [BZ #14152]
20549 * math/libm-test.inc (fma_test): Don't always expect underflow
20550 exception.
20551
9c6ea9fa
SP
205522012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20553
20554 [BZ #12416]
20555 * elf/tst-execstack.c: Include stackinfo.h.
20556 (do_test): Adjust test case to ensure that pthread_getattr_np
20557 behaviour remains the same after marking stack executable.
20558
a8239222
JM
205592012-05-25 Joseph Myers <joseph@codesourcery.com>
20560
20561 * sysdeps/unix/sysv/linux/kernel-features.h
20562 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
20563 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
20564 kernel-features.h.
20565 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20566 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20567 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
20568 kernel-features.h.
20569 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
20570 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
20571
918b5606
L
205722012-05-25 H.J. Lu <hongjiu.lu@intel.com>
20573
20574 * configure.in: Define the default includes to being none.
20575 * configure: Regenerated.
20576
3a097cc7
RM
205772012-05-25 Roland McGrath <roland@hack.frob.com>
20578
8422c9a5
RM
20579 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
20580 * sysdeps/x86_64/setjmp.S: Likewise.
20581 * sysdeps/i386/bsd-setjmp.S: Likewise.
20582 * sysdeps/i386/bsd-_setjmp.S: Likewise.
20583 * sysdeps/i386/setjmp.S: Likewise.
20584 * sysdeps/i386/__longjmp.S: Likewise.
20585 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
20586 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
20587
3a097cc7
RM
20588 * include/stap-probe.h: New file.
20589 * configure.in: Handle --enable-systemtap.
20590 * configure: Regenerated.
20591 * config.h.in (USE_STAP_PROBE): New #undef.
20592 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
20593 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
20594 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
20595
21708942
JM
205962012-05-25 Joseph Myers <joseph@codesourcery.com>
20597
20598 [BZ #13717]
20599 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
20600 to 2.4.0 where earlier.
20601 * sysdeps/unix/sysv/linux/configure: Regenerated.
20602 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20603 <kernel-features.h>.
20604 [__ASSUME_32BITUIDS]: Make code unconditional.
20605 [!__ASSUME_32BITUIDS]: Remove conditional code.
20606 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
20607 <kernel-features.h>.
20608 [__ASSUME_32BITUIDS]: Make code unconditional.
20609 [!__ASSUME_32BITUIDS]: Remove conditional code.
20610 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
20611 [__ASSUME_32BITUIDS]: Make code unconditional.
20612 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
20613 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
20614 <kernel-features.h>.
20615 [__ASSUME_32BITUIDS]: Make code unconditional.
20616 [!__ASSUME_32BITUIDS]: Remove conditional code.
20617 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
20618 <kernel-features.h>.
20619 [__ASSUME_32BITUIDS]: Make code unconditional.
20620 [!__ASSUME_32BITUIDS]: Remove conditional code.
20621 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
20622 <kernel-features.h>.
20623 [__ASSUME_32BITUIDS]: Make code unconditional.
20624 [!__ASSUME_32BITUIDS]: Remove conditional code.
20625 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
20626 <kernel-features.h>.
20627 [__ASSUME_32BITUIDS]: Make code unconditional.
20628 [!__ASSUME_32BITUIDS]: Remove conditional code.
20629 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
20630 <kernel-features.h>.
20631 [__ASSUME_32BITUIDS]: Make code unconditional.
20632 [!__ASSUME_32BITUIDS]: Remove conditional code.
20633 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
20634 <kernel-features.h>.
20635 [__ASSUME_32BITUIDS]: Make code unconditional.
20636 [!__ASSUME_32BITUIDS]: Remove conditional code.
20637 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
20638 <kernel-features.h>.
20639 [__ASSUME_32BITUIDS]: Make code unconditional.
20640 [!__ASSUME_32BITUIDS]: Remove conditional code.
20641 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20642 <kernel-features.h>.
20643 [__ASSUME_32BITUIDS]: Make code unconditional.
20644 [!__ASSUME_32BITUIDS]: Remove conditional code.
20645 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
20646 <kernel-features.h>.
20647 [__ASSUME_32BITUIDS]: Make code unconditional.
20648 [!__ASSUME_32BITUIDS]: Remove conditional code.
20649 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
20650 <kernel-features.h>.
20651 [__ASSUME_32BITUIDS]: Make code unconditional.
20652 [!__ASSUME_32BITUIDS]: Remove conditional code.
20653 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
20654 <kernel-features.h>.
20655 [__NR_setresgid] (__setresgid): Do not declare.
20656 [__ASSUME_32BITUIDS]: Make code unconditional.
20657 [!__ASSUME_32BITUIDS]: Remove conditional code.
20658 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
20659 <kernel-features.h>.
20660 [__NR_setresuid] (__setresuid): Do not declare.
20661 [__ASSUME_32BITUIDS]: Make code unconditional.
20662 [!__ASSUME_32BITUIDS]: Remove conditional code.
20663 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
20664 <kernel-features.h>.
20665 [__ASSUME_32BITUIDS]: Make code unconditional.
20666 [!__ASSUME_32BITUIDS]: Remove conditional code.
20667 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
20668 <kernel-features.h>.
20669 [__ASSUME_32BITUIDS]: Make code unconditional.
20670 [!__ASSUME_32BITUIDS]: Remove conditional code.
20671 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
20672 <kernel-features.h>.
20673 [__ASSUME_32BITUIDS]: Make code unconditional.
20674 [!__ASSUME_32BITUIDS]: Remove conditional code.
20675 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
20676 <kernel-features.h>.
20677 [__ASSUME_32BITUIDS]: Make code unconditional.
20678 [!__ASSUME_32BITUIDS]: Remove conditional code.
20679 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
20680 <kernel-features.h>.
20681 [__ASSUME_32BITUIDS]: Make code unconditional.
20682 [!__ASSUME_32BITUIDS]: Remove conditional code.
20683 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
20684 <kernel-features.h>.
20685 [__ASSUME_32BITUIDS]: Make code unconditional.
20686 [!__ASSUME_32BITUIDS]: Remove conditional code.
20687 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
20688 <kernel-features.h>.
20689 [__ASSUME_32BITUIDS]: Make code unconditional.
20690 [!__ASSUME_32BITUIDS]: Remove conditional code.
20691 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
20692 <kernel-features.h>.
20693 [__ASSUME_32BITUIDS]: Make code unconditional.
20694 [!__ASSUME_32BITUIDS]: Remove conditional code.
20695 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
20696 <kernel-features.h>.
20697 [__ASSUME_32BITUIDS]: Make code unconditional.
20698 [!__ASSUME_32BITUIDS]: Remove conditional code.
20699 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
20700 <kernel-features.h>.
20701 [__ASSUME_32BITUIDS]: Make code unconditional.
20702 [!__ASSUME_32BITUIDS]: Remove conditional code.
20703 * sysdeps/unix/sysv/linux/kernel-features.h
20704 (__ASSUME_SETRESUID_SYSCALL): Remove.
20705 (__ASSUME_SETRESGID_SYSCALL): Likewise.
20706 (__ASSUME_32BITUIDS): Likewise.
20707 (__ASSUME_LDT_WORKS): Likewise.
20708 (__ASSUME_O_DIRECTORY): Likewise.
20709 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
20710 architecture but not kernel version.
20711 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
20712 (__ASSUME_MMAP2_SYSCALL): Likewise.
20713 (__ASSUME_STAT64_SYSCALL): Likewise.
20714 (__ASSUME_IPC64): Likewise.
20715 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
20716 <kernel-features.h>.
20717 [__ASSUME_32BITUIDS]: Make code unconditional.
20718 [!__ASSUME_32BITUIDS]: Remove conditional code.
20719 * sysdeps/unix/sysv/linux/opendir.c: Do not include
20720 <kernel-features.h>.
20721 [__ASSUME_O_DIRECTORY]: Make code unconditional.
20722 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
20723 132096]: Remove conditional code.
20724 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
20725 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20726 <kernel-features.h>.
20727 [__ASSUME_32BITUIDS]: Make code unconditional.
20728 [!__ASSUME_32BITUIDS]: Remove conditional code.
20729 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20730 <kernel-features.h>.
20731 [__ASSUME_32BITUIDS]: Make code unconditional.
20732 [!__ASSUME_32BITUIDS]: Remove conditional code.
20733 * sysdeps/unix/sysv/linux/setegid.c: Do not include
20734 <kernel-features.h>.
20735 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
20736 unconditional.
20737 (__setresgid): Do not declare.
20738 [__ASSUME_32BITUIDS]: Make code unconditional.
20739 [!__ASSUME_32BITUIDS]: Remove conditional code.
20740 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
20741 <kernel-features.h>.
20742 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
20743 unconditional.
20744 (__setresuid): Do not declare.
20745 [__ASSUME_32BITUIDS]: Make code unconditional.
20746 [!__ASSUME_32BITUIDS]: Remove conditional code.
20747 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20748 <kernel-features.h>.
20749 [__ASSUME_32BITUIDS]: Make code unconditional.
20750 [!__ASSUME_32BITUIDS]: Remove conditional code.
20751 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
20752 <kernel-features.h>.
20753 [__ASSUME_32BITUIDS]: Make code unconditional.
20754 [!__ASSUME_32BITUIDS]: Remove conditional code.
20755
a386f1cc
RH
207562012-05-25 Richard Henderson <rth@twiddle.net>
20757
20758 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
20759 dl_hwcap to ifunc resolver.
20760 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
20761 elf_ifunc_invoke.
20762 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
20763 dl_hwcap to ifunc resolver.
20764 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
20765
b6550497
JM
207662012-05-24 Joseph Myers <joseph@codesourcery.com>
20767
20768 [BZ #14153]
20769 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
20770 for |x| <= 2**-26, not 2**-57.
20771 * math/libm-test.inc (acos_test): Do not allow spurious underflow
20772 exception.
20773
b0bc23a1
JL
207742012-05-24 Jeff Law <law@redhat.com>
20775
20776 * stdio-common/Makefile (tests): Add bug25.
20777 * stdio-common/bug25.c: New test.
20778
347c92e9
L
207792012-05-24 H.J. Lu <hongjiu.lu@intel.com>
20780
20781 [BZ #13576]
20782 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
20783 multiple of MALLOC_ALIGNMENT in size.
20784 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
20785
6bcc8b3f
JM
207862012-05-24 Joseph Myers <joseph@codesourcery.com>
20787
20788 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
20789 Require >= 256.
20790 (FILENAME_MAX): Use macro-int-constant.
20791 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
20792 (_IOFBF): Use macro-int-constant.
20793 (_IOLBF): Likewise.
20794 (_IONBF): Likewise.
20795 (SEEK_CUR): Likewise.
20796 (SEEK_END): Likewise.
20797 (SEEK_SET): Likewise.
20798 (TMP_MAX): Likewise.
20799 (EOF): Use macro-int-constant. Require < 0.
20800 (NULL): Use macro-constant. Require == 0.
20801 (stdin): Require type to be FILE *.
20802 (stdout): Likewise.
20803 (stderr): Likewise.
20804 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
20805 macro-int-constant.
20806 (EXIT_SUCCESS): Likewise.
20807 (NULL): Use macro-constant. Require == 0.
20808 (RAND_MAX): Use macro-int-constant.
20809 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
20810 [C99-based standards] (strtof): Require function.
20811 [C99-based standards] (strtold): Likewise.
20812 [C99-based standards] (strtoll): Likewise.
20813 [C99-based standards] (strtoull): Likewise.
20814 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20815 [ISO || ISO99 || ISO11] (limits.h): Likewise.
20816 [ISO || ISO99 || ISO11] (math.h): Likewise.
20817 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
20818 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20819 [ISO || ISO99 || ISO11] (*_t): Do not allow.
20820
d18ea0c5
AS
208212012-05-24 Andreas Schwab <schwab@linux-m68k.org>
20822
20823 [BZ #14132]
56d25bb8
AS
20824 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
20825 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
20826 * intl/dgettext.c (DCGETTEXT): Likewise.
20827 * intl/gettext.c (DCGETTEXT): Likewise.
20828 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
20829 * posix/regex_internal.h (gettext): Likewise.
20830 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
20831 Remove declaration.
20832 * include/argz.h (__argz_count_internal)
20833 (__argz_stringify_internal): Remove declaration.
20834 (__argz_count, __argz_stringify): Declare hidden proto.
20835 * intl/dcgettext.c: Remove use of INTDEF.
20836 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
20837 * string/argz-stringify.c: Likewise.
20838 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20839 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20840 Declare hidden proto.
d18ea0c5
AS
20841 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
20842 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
20843 Declare hidden proto.
20844 * include/stdio.h (__asprintf_internal): Don't declare.
20845 (__asprintf): Don't define as macro. Declare hidden proto.
20846 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
20847 (__fsetlocking): Declare hidden proto.
20848 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
20849 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
20850 hidden proto.
20851 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
20852 (_IO_setlinebuf): Remove use of INTUSE.
20853 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
20854 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
20855 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
20856 Remove declaration.
20857 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
20858 (_IO_do_flush): Remove use of INTUSE.
20859 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
20860 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
20861 (_IO_adjust_column, _IO_least_wmarker)
20862 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
20863 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
20864 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
20865 (_IO_default_doallocate, _IO_wdefault_doallocate)
20866 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
20867 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
20868 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
20869 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
20870 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
20871 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
20872 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
20873 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
20874 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
20875 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
20876 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
20877 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
20878 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
20879 proto.
20880 (_IO_flush_all_internal, _IO_adjust_column_internal)
20881 (_IO_default_uflow_internal, _IO_default_finish_internal)
20882 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
20883 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
20884 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
20885 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
20886 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
20887 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
20888 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
20889 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
20890 (_IO_file_close_internal, _IO_file_close_it_internal)
20891 (_IO_file_underflow_internal, _IO_file_overflow_internal)
20892 (_IO_file_init_internal, _IO_file_attach_internal)
20893 (_IO_file_fopen_internal, _IO_file_read_internal)
20894 (_IO_file_sync_internal, _IO_file_seek_internal)
20895 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
20896 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
20897 (_IO_str_underflow_internal, _IO_str_overflow_internal)
20898 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
20899 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
20900 (_IO_list_all_internal, _IO_link_in_internal)
20901 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
20902 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
20903 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
20904 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
20905 (_IO_do_write_internal, _IO_padn_internal)
20906 (_IO_getline_info_internal, _IO_getline_internal)
20907 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
20908 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
20909 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
20910 (_IO_vfscanf_internal, _IO_vfprintf_internal)
20911 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
20912 (_IO_init_internal, _IO_un_link_internal): Don't declare.
20913 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
20914 with libc_hidden_ver, remove use of INTUSE.
20915 * libio/genops.c: Likewise.
20916 * libio/freopen.c: Likewise.
20917 * libio/freopen64.c: Likewise.
20918 * libio/iofclose.c: Likewise.
20919 * libio/iofdopen.c: Likewise.
20920 * libio/iofflush.c: Likewise.
20921 * libio/iofflush_u.c: Likewise.
20922 * libio/iofgets.c: Likewise.
20923 * libio/iofgets_u.c: Likewise.
20924 * libio/iofopen.c: Likewise.
20925 * libio/iofopncook.c: Likewise.
20926 * libio/iofread.c: Likewise.
20927 * libio/iofread_u.c: Likewise.
20928 * libio/ioftell.c: Likewise.
20929 * libio/iofwrite.c: Likewise.
20930 * libio/iogetline.c: Likewise.
20931 * libio/iogets.c: Likewise.
20932 * libio/iogetwline.c: Likewise.
20933 * libio/iopadn.c: Likewise.
20934 * libio/iopopen.c: Likewise.
20935 * libio/ioseekoff.c: Likewise.
20936 * libio/ioseekpos.c: Likewise.
20937 * libio/iosetbuffer.c: Likewise.
20938 * libio/iosetvbuf.c: Likewise.
20939 * libio/ioungetc.c: Likewise.
20940 * libio/ioungetwc.c: Likewise.
20941 * libio/iovdprintf.c: Likewise.
20942 * libio/iovsprintf.c: Likewise.
20943 * libio/iovsscanf.c: Likewise.
20944 * libio/memstream.c: Likewise.
20945 * libio/obprintf.c: Likewise.
20946 * libio/oldfileops.c: Likewise.
20947 * libio/oldiofclose.c: Likewise.
20948 * libio/oldiofdopen.c: Likewise.
20949 * libio/oldiofopen.c: Likewise.
20950 * libio/oldiopopen.c: Likewise.
20951 * libio/oldstdfiles.c: Likewise.
20952 * libio/putc.c: Likewise.
20953 * libio/setbuf.c: Likewise.
20954 * libio/setlinebuf.c: Likewise.
20955 * libio/stdfiles.c: Likewise.
20956 * libio/strops.c: Likewise.
20957 * libio/vasprintf.c: Likewise.
20958 * libio/vscanf.c: Likewise.
20959 * libio/vsnprintf.c: Likewise.
20960 * libio/vswprintf.c: Likewise.
20961 * libio/wfiledoalloc.c: Likewise.
20962 * libio/wfileops.c: Likewise.
20963 * libio/wgenops.c: Likewise.
20964 * libio/wmemstream.c: Likewise.
20965 * libio/wstrops.c: Likewise.
20966 * libio/__fpurge.c: Likewise.
20967 * libio/__fsetlocking.c: Likewise.
20968 * assert/assert.c: Likewise.
20969 * debug/fgets_chk.c: Likewise.
20970 * debug/fgets_u_chk.c: Likewise.
20971 * debug/fread_chk.c: Likewise.
20972 * debug/fread_u_chk.c: Likewise.
20973 * debug/gets_chk.c: Likewise.
20974 * debug/obprintf_chk.c: Likewise.
20975 * debug/vasprintf_chk.c: Likewise.
20976 * debug/vdprintf_chk.c: Likewise.
20977 * debug/vsnprintf_chk.c: Likewise.
20978 * debug/vsprintf_chk.c: Likewise.
20979 * malloc/mtrace.c: Likewise.
20980 * misc/error.c: Likewise.
20981 * misc/syslog.c: Likewise.
20982 * stdio-common/asprintf.c: Likewise.
20983 * stdio-common/fxprintf.c: Likewise.
20984 * stdio-common/getw.c: Likewise.
20985 * stdio-common/isoc99_fscanf.c: Likewise.
20986 * stdio-common/isoc99_scanf.c: Likewise.
20987 * stdio-common/isoc99_vfscanf.c: Likewise.
20988 * stdio-common/isoc99_vscanf.c: Likewise.
20989 * stdio-common/isoc99_vsscanf.c: Likewise.
20990 * stdio-common/printf-prs.c: Likewise.
20991 * stdio-common/printf_fp.c: Likewise.
20992 * stdio-common/printf_fphex.c: Likewise.
20993 * stdio-common/printf_size.c: Likewise.
20994 * stdio-common/putw.c: Likewise.
20995 * stdio-common/scanf.c: Likewise.
20996 * stdio-common/sprintf.c: Likewise.
20997 * stdio-common/tmpfile.c: Likewise.
20998 * stdio-common/vfprintf.c: Likewise.
20999 * stdio-common/vfscanf.c: Likewise.
21000 * stdlib/strfmon_l.c: Likewise.
21001 * sunrpc/openchild.c: Likewise.
21002 * sunrpc/xdr_stdio.c: Likewise.
21003 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21004 * sysdeps/mach/hurd/tmpfile.c: Likewise.
21005
d6c33fda
RM
210062012-05-24 Roland McGrath <roland@hack.frob.com>
21007
c1487492
RM
21008 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21009
21010 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21011 in the third column, to generate for the shared library an IFUNC
21012 that uses _dl_vdso_vsym.
21013 * Makerules (COMPILE.c, compile-stdin.c): New variables.
21014 * Makeconfig (object-suffixes-noshared): New variable.
21015
21016 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21017 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21018 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21019 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21020
d6c33fda
RM
21021 [BZ #14132]
21022 * include/sys/time.h (__gettimeofday): Remove macro.
21023 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21024 * time/gettimeofday.c (__gettimeofday): Remove #undef.
21025 Remove INTDEF.
21026 (__gettimeofday): Add libc_hidden_def.
21027 (gettimeofday): Add libc_hidden_weak.
21028 * sysdeps/mach/gettimeofday.c: Likewise.
21029 * sysdeps/posix/gettimeofday.c: Likewise.
21030 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21031 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21032 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21033 (__gettimeofday_internal): Remove strong_alias.
21034 (__gettimeofday): Add libc_hidden_def.
21035 (gettimeofday): Add libc_hidden_weak.
21036 * sysdeps/unix/syscalls.list (gettimeofday):
21037 Remove __gettimeofday_internal alias.
21038
b5a2bbe6
L
210392012-05-24 Daniel Jacobowitz <drow@false.org>
21040 H.J. Lu <hongjiu.lu@intel.com>
21041
21042 [BZ #12495]
21043 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21044 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21045 (largebin_index_32_big): New.
21046 (largebin_index): Use it for 16-byte alignment.
21047 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
21048 correction with front_misalign.
21049
cfba4fda
L
210502012-05-24 H.J. Lu <hongjiu.lu@intel.com>
21051
7f907421
L
21052 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21053 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21054 Likewise.
21055 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21056 Likewise.
21057 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21058 Likewise.
21059 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21060 Likewise.
21061 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21062 Likewise.
21063 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21064 Likewise.
21065 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21066 Likewise.
21067 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21068 Likewise.
21069 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21070 Likewise.
21071 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21072 Likewise.
21073 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21074 Likewise.
21075 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21076 Likewise.
21077
cfba4fda
L
21078 * scripts/data/c++-types-x32-linux-gnu.data: New file.
21079 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21080
80bad0cc
JM
210812012-05-24 Joseph Myers <joseph@codesourcery.com>
21082
7a25eb06
JM
21083 [BZ #10846]
21084 [BZ #14036]
21085 * math/libm-test.inc (exp_test): Add test from bug 14036.
21086 (pow_test): Add test from bug 10846.
21087
795405f9
JM
21088 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21089 and other flags.
21090 (special_function): Do not include flags in test name.
21091 (parse_args): Likewise.
21092 * sysdeps/i386/fpu/libm-test-ulps: Update.
21093 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21094 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21095 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21096 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21097
80bad0cc
JM
21098 * math/gen-libm-test.pl (%beautify): Add entries for underflow
21099 exceptions.
21100 * math/libm-test.inc ("Philosophy"): Update comment about
21101 exception testing.
21102 (UNDERFLOW_EXCEPTION): New macro.
21103 (UNDERFLOW_EXCEPTION_OK): Likewise.
21104 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21105 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21106 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21107 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21108 (INVALID_EXCEPTION_OK): Update value.
21109 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21110 (OVERFLOW_EXCEPTION_OK): Likewise.
21111 (IGNORE_ZERO_INF_SIGN): Likewise.
21112 (test_exceptions): Handle underflow exceptions.
21113 (acos_test): Update for underflow exception expectations.
21114 (cexp_test): Likewise.
21115 (clog_test): Likewise.
21116 (clog10_test): Likewise.
21117 (csqrt_test): Likewise.
21118 (ctan_test): Likewise.
21119 (ctanh_test): Likewise.
21120 (exp_test): Likewise.
21121 (exp10_test): Likewise.
21122 (exp2_test): Likewise.
21123 (expm1_test): Likewise.
21124 (fma_test): Likewise.
21125 (j0_test): Likewise.
21126 (jn_test): Likewise.
21127 (nexttoward_test): Likewise.
21128 (pow_test): Likewise.
21129 (scalbn_test): Likewise.
21130 (scalbln_test): Likewise.
21131 (tan_test): Likewise.
21132 (y1_test): Likewise.
21133 * sysdeps/i386/fpu/libm-test-ulps: Update.
21134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21135
9e0e3d0b
DM
211362012-05-23 David S. Miller <davem@davemloft.net>
21137
21138 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21139 (__libc_sigaction): Remove unused local variables.
21140
ccd0a08f
L
211412012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21142
21143 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21144
62bdf9a6
PE
211452012-05-23 Paul Eggert <eggert@cs.ucla.edu>
21146
f8591f80
PE
21147 mktime: avoid signed integer overflow
21148 * time/mktime.c (__mktime_internal): Do not mishandle the case
21149 where diff == INT_MIN.
21150
94c7d826
PE
21151 mktime: simplify computation of average
21152 * time/mktime.c (ranged_convert): Use new time_t_avg function
21153 instead of rolling our own (probably-slower) code.
21154
ce73d683
PE
21155 mktime: do not assume signed right shift propagates sign bit
21156 * time/mktime.c (isdst_differ): New static function.
21157 (__mktime_internal): No need to normalize tm_isdst now.
21158 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21159 tm_isdst values.
21160
72a22e59
PE
21161 mktime: merge another wrapv change from gnulib
21162 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21163 from some compilers.
21164
68605433
PE
21165 mktime: remove incorrect attempt at unusual arithmetics
21166 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21167 The code didn't really work on such machines anyway.
21168 (TYPE_MINIMUM): Assume two's complement.
21169 (twos_complement_arithmetic): Verify that long_int and time_t
21170 are two's complement (or unsigned, in the latter case).
21171
03cf7fe3
PE
21172 mktime: check signed shifts on long_int and time_t, too
21173 * time/mktime.c (SHR): Check that shifts work as desired
21174 on the types long_int and time_t too, as SHR is used on
21175 such types.
21176
f04dfbc2
PE
21177 mktime: do not assume 'long' is wide enough
21178 * time/mktime.c (verify): Move decl up.
21179 (long_int): New type.
21180 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21181 to remove assumption in the code that 'long' is wide enough to
21182 store year values. This assumption is not true on x32 and on
21183 some non-glibc platforms.
21184
62bdf9a6
PE
21185 mktime: merge wrapv change from gnulib
21186 * time/mktime.c (WRAPV): New macro.
21187 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21188 (guess_time_tm, __mktime_internal): Do not assume that signed
21189 integer overflow wraps around; modern compilers generate code
21190 where this assumption is no longer valid.
21191
5e292e4f
L
211922012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21193
21194 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21195 Replace "jmp L(pseudo_end)" with "ret".
21196 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21197 Likewise.
21198
8caf8c87
AJ
211992012-05-23 Andreas Jaeger <aj@suse.de>
21200
21201 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21202 * sysdeps/unix/sysv/linux/poll.c: Remove file.
21203
1a09dc56
AJ
212042012-05-23 Andreas Jaeger <aj@suse.de>
21205 Maximilian Attems <max@stro.at>
21206
21207 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21208 New macros.
21209
1c87aba0
L
212102012-05-23 H.J. Lu <hongjiu.lu@intel.com>
21211
21212 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21213 code so that pseudo_end is just ret and the stack pointer is
21214 correct also for static library in error case.
21215
40e45bd5
JM
212162012-05-23 Joseph Myers <joseph@codesourcery.com>
21217
c2670533
JM
21218 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21219 move to syscalls.list.
21220 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21224
40e45bd5
JM
21225 * manual/install.texi (Running make install): Do not mention Linux
21226 kernel version for which pt_chown is not needed.
21227 (Linux): Do not mention problems with nscd with 2.0 kernels.
21228 * INSTALL: Regenerated.
21229
be08eda5
AJ
212302012-05-23 Andreas Jaeger <aj@suse.de>
21231
21232 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21233 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21234 macro.
21235 * sysdeps/unix/sysv/linux/s390/bits/mman.h
21236 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21237 * sysdeps/unix/sysv/linux/sh/bits/mman.h
21238 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21239 * sysdeps/unix/sysv/linux/i386/bits/mman.h
21240 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21241 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21242 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21243 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21244 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21245 * sysdeps/unix/sysv/linux/bits/in.h
21246 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21247
a6a056bb
RM
212482012-05-22 Roland McGrath <roland@hack.frob.com>
21249
21250 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21251 (PREPARE_VERSION): Just use assert instead, it will be elided
21252 under [NDEBUG] anyway.
21253
c9009328
L
212542012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21255
21256 * sysdeps/unix/sysv/linux/Makefile: Include
21257 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 21258 (sysdep_routines): Remove sysctl.
c9009328
L
21259 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21260 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21261 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21262 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21263 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21264
73338355
AJ
212652012-05-22 Andreas Jaeger <aj@suse.de>
21266
21267 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21268 that pseudo_end is just ret and the stack pointer is correct also
21269 for static library in error case.
21270
d44638b0
PP
212712012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
21272
21273 [BZ #14122]
21274 * nss/nsswitch.c (defconfig_entries): New variable.
21275 (__nss_database_lookup): Don't leak defconfig entries.
21276 (nss_parse_service_list): Don't leak on error paths.
21277 (free_database_entries): New function.
21278 (free_defconfig): New function.
21279 (free_mem): Move common code to free_database_entries.
21280
31a39bd8
L
212812012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21282
da0331a8
L
21283 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21284 Add arch_prctl.
21285 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21286
31a39bd8
L
21287 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21288 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21289 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21290 New macro.
21291 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21292 (INTERNAL_SYSCALL_TYPES): Likewise.
21293 (LOAD_ARGS_TYPES_[1-6]): Likewise.
21294 (LOAD_REGS_TYPES_[1-6]): Likewise.
21295 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21296 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21297
45470df3
AZ
212982012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21299
21300 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21301 copysignl for GLIBC_2_0.
21302 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21303 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21304 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21305 logbl for GLIBC_2_0.
21306 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21307 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21308
98a61bcb
L
213092012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21310
a4f6e481
L
21311 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21312 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21313
f63d5db6
L
21314 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21315 Use "neg %eax".
21316
98a61bcb
L
21317 * time/mktime.c: Update copyright years.
21318
95770f14
PE
213192012-05-22 Paul Eggert <eggert@cs.ucla.edu>
21320
6226efbd
PE
21321 mktime: merge comment-quoting-style change from gnulib
21322 * time/mktime.c: Quote 'like this' in comments.
21323 The GNU coding standards suggest that we no longer quote `like this',
21324 as "`" and "'" are typically rendered asymmetrically nowadays.
21325 The typical gnulib style is to quote 'like this' when quoting
21326 code, and "like this" when quoting English.
21327
b99e4f78
PE
21328 * time/mktime.c (compile-command): Add "-I.".
21329
643e01e6
PE
21330 mktime: merge mktime-internal.h change from gnulib
21331 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21332
2554247d
PE
21333 mktime: merge time_r change from gnulib
21334 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21335
826dd0ab
PE
21336 mktime: merge DEBUG change from gnulib
21337 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21338 case system <time.h> has a #define.
21339
bd83aabe
PE
21340 mktime: merge <sys/types.h> change from gnulib
21341 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21342 since <time.t> is now guaranteed to define time_t.
21343
95770f14
PE
21344 mktime: merge HAVE_CONFIG_H change from gnulib
21345 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21346
5e1a27a9
L
213472012-05-22 H.J. Lu <hongjiu.lu@intel.com>
21348
0e44a77e
L
21349 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21350 Use "neg %eax".
21351
5e1a27a9
L
21352 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21353 __rlim_t cast.
21354 (struct rusage): Use anonymous union to pad each field to
21355 __syscall_slong_t.
21356
46259bec
DM
213572012-05-21 David S. Miller <davem@davemloft.net>
21358
21359 * Makefules (o-iterator): Remove .s cases.
21360 (compile-command.s): Delete.
21361 (COMPILE.s): Delete.
21362 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21363
59f0c22e
JM
213642012-05-21 Joseph Myers <joseph@codesourcery.com>
21365
21366 * configure.in (libc_cv_predef_stack_protector): Only consider
21367 "foobar" and "__stack_chk_fail" lines in libc_undefs.
21368 * configure: Regenerated.
21369
20c07380
L
213702012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21371
bbb3154b
L
21372 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21373 New macro. Use R*LP on int and pointer.
21374 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
21375 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21376 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
21377 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21378
20c07380
L
21379 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21380 [__WORDSIZE_TIME64_COMPAT32] instead of
21381 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21382 (struct utmp): Likewise.
21383 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21384 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21385 Renamed to ...
21386 (__WORDSIZE_TIME64_COMPAT32): This.
21387 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
21388 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
21389 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
21390 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
21391 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
21392 (__WORDSIZE_TIME64_COMPAT32): New macro.
21393
d8d1017e
AJ
213942012-05-21 Andreas Jaeger <aj@suse.de>
21395
21396 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
21397 only if [SHARED]. Add prototype for __wcschr_ia32.
21398
6c7fb145
RM
213992012-05-21 Roland McGrath <roland@hack.frob.com>
21400
21401 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
21402 of %rbp unmolested in the jmp_buf while mangling the low bits.
21403 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
21404 unmolested high bits of %rbp while demangling the low bits.
21405 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21406
66274218
AJ
214072012-05-21 Andreas Jaeger <aj@suse.de>
21408
07c58f8f
AJ
21409 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
21410 * sunrpc/svc_simple.c: Use it for registerrpc.
21411 * sunrpc/xcrypt.c: Use it for passwd2des.
21412
66274218
AJ
21413 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
21414
61f65140
L
214152012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21416
21417 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
21418 Don't define if [__SYSCALL_WORDSIZE != 32].
21419 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
21420 New macro.
21421
5fefb436
AJ
214222012-05-21 Bruno Haible <bruno@clisp.org>
21423 Andreas Jaeger <aj@suse.de>
21424
21425 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
21426 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
21427 inptr and inend for must_buffer_ch.
21428 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
21429 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
21430 * stdio-common/Makefile (tests): Remove bug15.
21431 (bug15-ENV): Remove macro.
21432 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
21433 anymore.
21434
d8e272ab
AJ
214352012-05-19 Andreas Jaeger <aj@suse.de>
21436 Roland McGrath <roland@hack.frob.com>
21437
21438 * manual/contrib.texi: Completely rewritten. It contains now an
21439 alphabetical list of contributors and their contributions.
21440
4a56a162
RH
214412012-05-21 Richard Henderson <rth@twiddle.net>
21442
21443 * misc/getauxval.c (__getauxval): Use unsigned long int.
21444 * misc/sys/auxv.h: Include <sys/cdefs.h>.
21445 (getauxval): Use unsigned long int.
21446
d024d23c
L
214472012-05-21 H.J. Lu <hongjiu.lu@intel.com>
21448
21449 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21450
cbc00a03
RM
214512012-05-21 Roland McGrath <roland@hack.frob.com>
21452
21453 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
21454 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
21455 __alignof__ (long double).
21456
478143fa
AZ
214572012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21458
21459 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21460
c7683a6d
RH
214612012-05-20 Richard Henderson <rth@twiddle.net>
21462
21463 * misc/getauxval.c: New file.
21464 * misc/sys/auxv.h: New file.
21465 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
21466 (routines): Add getauxval.
21467 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
21468 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
21469 * elf/dl-sysdep.c (_dl_auxv): Remove.
21470 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
21471 * elf/dl-support.c (_dl_auxv): New variable.
21472 (_dl_aux_init): Initialize it.
21473 * manual/startup.texi (Auxiliary Vector): New node.
21474 * sysdeps/generic/bits/hwcap.h: New file.
21475 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
21476 * sysdeps/powerpc/sysdep.h: ... here. Include it.
21477 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
21478 * sysdeps/sparc/sysdep.h: ... here. Include it.
21479 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
21480 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
21481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
21482 Update.
c7683a6d
RH
21483 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
21484 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
21485 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
21486 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
21487 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21488 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
21489 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
21490 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
21491
a6f1845d
AZ
214922012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
21493
21494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21495
cbcbe830
DM
214962012-05-19 David S. Miller <davem@davemloft.net>
21497
21498 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21499
e0b16cc2
JM
215002012-05-19 Joseph Myers <joseph@codesourcery.com>
21501
21502 [BZ #14123]
21503 * math/s_ccosh.c: Include <float.h>
21504 (__ccosh): Avoid internal overflow calculating sinh and cosh
21505 values before multiplying by sin and cos values.
21506 * math/s_ccoshf.c: Likewise.
21507 * math/s_ccoshl.c: Likewise.
21508 * math/s_csin.c: Likewise.
21509 * math/s_csinf.c: Likewise.
21510 * math/s_csinl.c: Likewise.
21511 * math/s_csinh.c: Likewise.
21512 * math/s_csinhf.c: Likewise.
21513 * math/s_csinhl.c: Likewise.
21514 * math/libm-test.inc (ccos_test): Add more tests.
21515 (ccosh_test): Likewise.
21516 (csin_test): Likewise.
21517 (csinh_test): Likewise.
21518 * sysdeps/i386/fpu/libm-test-ulps: Update.
21519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21520
6ad13e08
L
215212012-05-19 H.J. Lu <hongjiu.lu@intel.com>
21522
f66f0ce8
L
21523 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
21524 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
21525
6ad13e08
L
21526 * sysdeps/x86_64/x32/_itoa.h: Add comment.
21527
b1d072a7
JM
215282012-05-19 Joseph Myers <joseph@codesourcery.com>
21529
21530 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
21531 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
21532 * sysdeps/powerpc/soft-fp/Versions: Likewise.
21533 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
21534 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
21535 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
21536 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
21537 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
21538 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
21539 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
21540 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
21541 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
21542 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
21543 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
21544 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
21545 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
21546 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
21547 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
21548 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
21549 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
21550 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
21551 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
21552 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
21553 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
21554 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
21555 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
21556 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
21557 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
21558 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
21559 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
21560 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
21561
9eae47cb
AJ
215622012-05-18 Andreas Jaeger <aj@suse.de>
21563
21564 * csu/.gitignore: Delete.
21565
bb07f69f
L
215662012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21567
21568 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
21569 (timex): Use __syscall_slong_t.
21570
e6bdb741
AJ
215712012-05-18 Andreas Jaeger <aj@suse.de>
21572 Carlos O'Donell <carlos_odonell@mentor.com>
21573
21574 * manual/install.texi (Configuring and compiling): Update
21575 description about files modified in the source directory.
d6c33fda 21576 * INSTALL: Regenerated.
e6bdb741 21577
1b74487e
L
215782012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21579
21580 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
21581 value. Use "or" to set return value to -1.
21582 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
21583 negate return value.
21584
a88b64b9
TMQMF
215852012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
21586
21587 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
21588 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
21589 failure if the compiler has Graphite support disabled.
21590 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
21591 Likewise.
21592 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
21593 CFLAGS-memmove.c): Likewise.
21594 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
21595 Likewise.
21596
3707636e
L
215972012-05-18 H.J. Lu <hongjiu.lu@intel.com>
21598
610b8622
L
21599 * sysdeps/x86_64/x32/_itoa.h: New file.
21600
7cd195df
L
21601 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
21602 getdents system call only if kernel and user dirents have the
21603 same d_ino and d_off.
21604
94b07d20
L
21605 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21606 LLONG_MAX != LONG_MAX.
21607 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21608 (_fitoa_word): Likewise.
21609
18298070
L
21610 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
21611 years.
21612 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
21613 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
21614 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
21615
553c7ea4
L
21616 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
21617 include <bits/wordsize.h>. Check __x86_64__ instead of
21618 __WORDSIZE.
21619 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
21620 if __x86_64__ is defined. Use anonymous union on fpstate.
21621
3707636e
L
21622 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
21623 anonymous union.
21624
b53ef01a
AS
216252012-05-18 Andreas Schwab <schwab@linux-m68k.org>
21626
37fb1dc0
AS
21627 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
21628 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
21629 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
21630 Refer to _rtld_local_ro instead of _rtld_global_ro.
21631 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
21632 Likewise.
21633 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
21634 Likewise.
21635 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
21636 Likewise.
21637 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
21638 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
21639 of _rtld_global, and rtld_progname instead of _dl_argv[0].
21640
b53ef01a
AS
21641 * sysdeps/powerpc/powerpc32/dl-machine.c
21642 (__elf_machine_runtime_setup) [PROF]: Don't reference
21643 _dl_prof_resolve.
21644
7a185db2
AJ
216452012-05-18 Andreas Jaeger <aj@suse.de>
21646
21647 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
21648 function only available for GCCs before 3.4 since GCC 3.4
21649 introduced a builtin.
21650 (lrint): Likewise.
21651 (llrintf): Likewise.
21652 (llrint): Likewise.
21653 (fmaxf): Likewise.
21654 (fmax): Likewise.
21655 (fminf): Likewise.
21656 (fmin): Likewise.
21657 (rint): Likewise.
21658 (rintf): Likewise.
21659 (nearbyint): Likewise.
21660 (nearbyintf): Likewise.
21661 (ceil): Likewise.
21662 (ceilf): Likewise.
21663 (floor): Likewise.
21664 (floorf): Likewise.
21665
3e5aef87
L
216662012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21667
428bd707
L
21668 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
21669 on both fields and cast pointer to __syscall_ulong_t.
21670
3e5aef87
L
21671 * bits/types.h (__fsword_t): New type.
21672 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
21673 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
21674 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21675 (__FSWORD_T_TYPE): Likewise.
21676 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21677 (__FSWORD_T_TYPE): Likewise.
21678 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21679 (__FSWORD_T_TYPE): Likewise.
21680 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
21681 (__FSWORD_T_TYPE): Likewise.
21682 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
21683 __SWORD_TYPE with __fsword_t.
21684 (statfs64): Likewise.
21685
1ba7c3dc
DM
216862012-05-17 David S. Miller <davem@davemloft.net>
21687
21688 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
21689
59910343
AJ
216902012-05-17 Andreas Jaeger <aj@suse.de>
21691
21692 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
21693 warning.
21694
2e4c1e9e
L
216952012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21696
21697 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
21698
de7f5ce7
AJ
216992012-05-17 Andreas Jaeger <aj@suse.de>
21700
21701 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
21702 when it is used.
21703
286abc3d
CM
217042012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21705
21706 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
21707
477cc68e
L
217082012-05-17 H.J. Lu <hongjiu.lu@intel.com>
21709
21710 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
21711 * sysdeps/x86_64/tst-mallocalign1.c: New file.
21712
1a0994f5
CD
217132012-05-17 Andreas Jaeger <aj@suse.de>
21714 Carlos O'Donell <carlos_odonell@mentor.com>
21715
21716 [BZ #14059]
21717 * sysdeps/x86_64/multiarch/init-arch.h
21718 (bit_YMM_Usable): Rename to...
21719 (bit_AVX_Usable): ... this.
21720 (bit_FMA4_Usable): New macro.
21721 (bit_XMM_state): New macro.
21722 (bit_YMM_state): New macro.
21723 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
21724 [__ASSEMBLER__] (index_AVX_Usable): ... this.
21725 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
21726 (CPUID_OSXSAVE): New macro.
21727 (CPUID_AVX): New macro.
21728 (CPUID_FMA4): New macro.
21729 (index_YMM_Usable): Rename to...
21730 (index_AVX_Usable): ... this.
21731 (HAS_AVX): Use HAS_ARCH_FEATURE.
21732 (HAS_FMA4): Likewise.
21733 (HAS_YMM_USABLE): Remove.
21734 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21735 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
21736 are present.
21737 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
21738 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
21739 * sysdeps/x86_64/multiarch/Makefile: Likewise.
21740 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
21741 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
21742
0af797de
CM
217432012-05-17 Chris Metcalf <cmetcalf@tilera.com>
21744
21745 * math/libm-test.c: Support platforms without multiple rounding modes.
21746 * math/bug-nextafter.c: Support platforms without FP exceptions.
21747 * math/bug-nexttoward.c: Likewise.
21748 * math/test-fenv.c: Likewise.
21749 * math/test-misc.c: Likewise.
21750 * stdlib/bug-getcontext.c: Likewise.
21751
e39745ff
AJ
217522012-05-17 Andreas Jaeger <aj@suse.de>
21753
21754 * manual/examples/search.c (critter_cmp): Change signature to
21755 avoid warnings.
21756 * manual/string.texi (Collation Functions): Likewise.
21757
48970aba
L
217582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21759
21760 * bits/types.h: Fold copyright years.
21761 * bits/typesizes.h: Likewise.
21762 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
21763 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
21764 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
21765 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
21766 * time/time.h: Likewise.
21767
bedee953
PP
217682012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
21769
21770 [BZ #208]
21771 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
21772 in instead of returning them. Return void.
21773 (__libc_mallinfo): Accumulate over all arenas.
21774 (__malloc_stats): Adjust for change in int_mallinfo interface.
21775
61653dfb
RM
217762012-05-16 Roland McGrath <roland@hack.frob.com>
21777
30b99d79
RM
21778 [BZ #10375]
21779 * configure.in (NM): Add AC_CHECK_TOOL for it.
21780 (libc_extra_cflags): New substituted variable.
21781 Check for -fstack-protector being used implicitly.
21782 * configure: Regenerated.
21783 * config.make.in (config-extra-cflags): New variable,
21784 gets @libc_extra_cflags@.
21785 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
21786
61653dfb
RM
21787 [BZ #10375]
21788 * configure.in: Check for _FORTIFY_SOURCE being predefined.
21789 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
21790 * configure: Regenerated.
21791 * config.make.in (CPPUNDEFS): New substituted variable.
21792 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
21793 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
21794 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
21795
661768bb
L
217962012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21797
21798 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
21799 (mq_attr): Use __syscall_slong_t.
21800
d4261567
L
218012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21802
21803 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
21804 Check __x86_64__ instead of __WORDSIZE.
21805 (_STAT_VER_LINUX): Likewise.
21806 (stat): Check __x86_64__ instead of __WORDSIZE. Use
21807 __syscall_ulong_t and __syscall_slong_t.
21808 (stat64): Likewise.
21809
cf3ff365
L
218102012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21811
21812 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
21813
76cf3e4d
L
218142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21815
21816 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
21817
a637753a
L
218182012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21819
21820 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
21821 __syscall_ulong_t.
21822
d5e05119
L
21823 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
21824 include <bits/wordsize.h>. Check __x86_64__ instead of
21825 __WORDSIZE.
21826 (greg_t): Use "__extension__ long long int" if __x86_64__ is
21827 defined.
21828 (mcontext_t): Replace "unsigned long" with "unsigned long long".
21829
f62ee380
L
21830 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
21831 include <bits/wordsize.h>. Check __x86_64__ instead of
21832 __WORDSIZE.
21833 (user_regs_struct): Use "__extension__ unsigned long long"
21834 instead of "unsigned long" if __x86_64__ is defined.
21835 (user): Likewise. Pad after pointer field if __ILP32__ is
21836 defined.
21837
4e124ced
JM
218382012-05-16 Joseph Myers <joseph@codesourcery.com>
21839
6a3951a0
JM
21840 * configure.in (makeinfo): Require version 4.5 or later. Allow
21841 versions 5 to 9.
21842 * configure: Regenerated.
21843 * manual/install.texi (texinfo): Increase version requirement to
21844 4.5 or later.
21845 * INSTALL: Regenerated.
21846
4e124ced
JM
21847 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
21848
953ca31a
L
218492012-05-16 H.J. Lu <hongjiu.lu@intel.com>
21850
21851 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
21852
617aca05
L
21853 * sysdeps/x86_64/x32/ffs.c: New file.
21854
5762f7ae
L
21855 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
21856 __syscall_ulong_t.
21857 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
21858 defined. Use __syscall_ulong_t.
21859 (shminfo): Use __syscall_ulong_t.
21860 (shm_info): Likewise.
21861
a26b6856
L
21862 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
21863 __syscall_ulong_t.
21864
cb2b9ef7
L
21865 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
21866 <bits/wordsize.h>.
21867 (msgqnum_t): Use __syscall_ulong_t.
21868 (msglen_t): Likewise.
21869 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
21870 __syscall_ulong_t.
21871
34683bb0
L
21872 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
21873 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21874
84a68786
L
21875 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
21876
48baa5f1
L
21877 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
21878 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
21879
180be88b
L
21880 * sysvipc/sys/msg.h (msgbuf): Replace long int with
21881 __syscall_slong_t.
21882
5e90c8ad
L
21883 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
21884 include <bits/wordsize.h>. Check __x86_64__ instead of
21885 __WORDSIZE.
21886
23dfb58b
L
21887 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
21888 "unsigned long long int" if __x86_64__ is defined.
21889 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
21890
ce5d54b0
L
21891 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
21892 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
21893 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
21894
13dc9eac
L
21895 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
21896 <stdint.h>.
21897 (GET_PC): Cast to uintptr_t first.
21898 (GET_FRAME): Likewise.
21899 (GET_STACK): Likewise.
21900
a7895d15
L
21901 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
21902 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
21903 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
21904 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
21905 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
21906 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
21907 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
21908 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
21909 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
21910 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
21911 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
21912 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
21913 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
21914 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
21915 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
21916 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
21917 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
21918 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
21919 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
21920 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
21921 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
21922 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
21923 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
21924 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
21925 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
21926 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
21927 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
21928 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
21929 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
21930
656416c9
AS
219312012-05-16 Andreas Schwab <schwab@linux-m68k.org>
21932
5bd66283
AS
21933 * Makerules (+depfiles): Also collect depfiles from .oS in
21934 $(extra-objs).
21935 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
21936 .oS, $(libnldbl-routines)).
21937
656416c9
AS
21938 * Makerules (native-compile-mkdep-flags): Define.
21939 * sunrpc/Makefile (extra-objs): Add $(addprefix
21940 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
21941 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
21942 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
21943 calling $(make-target-directory).
21944
a46f2169
L
219452012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21946
21947 * bits/types.h (__snseconds_t): Removed.
21948 * time/time.h (struct timespec): Replace __snseconds_t with
21949 __syscall_slong_t.
21950 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
21951 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
21952 Likewise.
21953 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21954 (__SNSECONDS_T_TYPE): Likewise.
21955 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21956 (__SNSECONDS_T_TYPE): Likewise.
21957 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21958 (__SNSECONDS_T_TYPE): Likewise.
21959
6af6528b
L
219602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21961
21962 * sysdeps/mach/hurd/bits/typesizes.h
21963 (__SYSCALL_SLONG_TYPE): New macro.
21964 (__SYSCALL_ULONG_TYPE): Likewise.
21965
de986b56
L
219662012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21967
21968 * bits/types.h (__syscall_slong_t): New type.
21969 (__syscall_ulong_t): Likewise.
21970
21971 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
21972 (__SYSCALL_ULONG_TYPE): Likewise.
21973 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
21974 (__SYSCALL_SLONG_TYPE): Likewise.
21975 (__SYSCALL_ULONG_TYPE): Likewise.
21976 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
21977 (__SYSCALL_SLONG_TYPE): Likewise.
21978 (__SYSCALL_ULONG_TYPE): Likewise.
21979 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
21980 (__SYSCALL_SLONG_TYPE): Likewise.
21981 (__SYSCALL_ULONG_TYPE): Likewise.
21982
85736dc7
L
219832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
21984
21985 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
21986 Add sigaltstack-offsets.sym.
21987 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
21988 <sigaltstack-offsets.h>.
21989 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
21990 longjmp_msg pointer.
21991 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
21992 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
21993 signal stack.
21994 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
21995
cc03b296
JM
219962012-05-15 Joseph Myers <joseph@codesourcery.com>
21997
a9538892
JM
21998 * elf/stackguard-macros.h: Remove file.
21999 * sysdeps/generic/stackguard-macros.h: New file.
22000 * sysdeps/i386/stackguard-macros.h: Likewise.
22001 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22002 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22003 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22004 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22005 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22006 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22007 * sysdeps/x86_64/stackguard-macros.h: Likewise.
22008 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22009 <elf/stackguard-macros.h>.
22010
cc03b296
JM
22011 [BZ #14109]
22012 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22013 __aligned__ in attribute.
22014 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22015 (gregset_t): Likewise.
22016
93171016
L
220172012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22018
22019 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22020 * sysdeps/x86_64/64/Implies-after: Here. New file.
22021 * sysdeps/x86_64/x32/Implies-after: New file.
22022
d86813a0
L
220232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22024
22025 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22026 and access return value for _dl_profile_fixup. Use R10_LP to
22027 load frame size.
22028
2953ec75
L
220292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22030
22031 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22032
3b550e9e
L
220332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22034
22035 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22036 * sysdeps/x86_64/x32/sysdep.h: New file.
22037
eda41706
L
220382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22039
22040 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22041 * sysdeps/x86_64/setjmp.S: Likewise.
22042
9ea01d93
AZ
220432012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22044
22045 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22046 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22047 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22048 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22049 remove unused global constant.
22050
02a91938
CM
220512012-05-15 Chris Metcalf <cmetcalf@tilera.com>
22052
22053 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22054 include of <not-cancel.h>.
22055
6540185f
RM
220562012-05-15 Roland McGrath <roland@hack.frob.com>
22057
22058 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22059
509072a0
AJ
220602012-05-15 Jeff Law <law@redhat.com>
22061 Andreas Jaeger <aj@suse.de>
22062
22063 [BZ #13594]
22064 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22065 out from...
22066 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22067 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22068 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22069 code changing __hst_map_handle.map.
22070
ba75122d
RM
220712012-05-15 Roland McGrath <roland@hack.frob.com>
22072
22073 * configure.in (sysnames): Look for Implies-before and Implies-after
22074 files.
22075 * configure: Regenerated.
22076
890d8bd8
L
220772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22078
22079 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22080 8-byte data alignment with LP_SIZE alignment.
22081
f6ee6623
L
220822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22083
22084 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22085 into R10_LP.
22086
ea2626f6
L
220872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22088
22089 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22090
085f715e
L
220912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22092
22093 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22094 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22095 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22096 Likewise.
22097 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22098
be8498fc
L
220992012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22100
22101 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22102 (stackinfo_sub_sp): Likewise.
22103
70bc83b9
L
221042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22105
22106 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22107 RAX_LP.
22108
9bc0b730
L
221092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22110
22111 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22112 into R*_LP.
22113
6d2850e7
L
221142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22115
22116 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22117 sizes into R*_LP.
22118
3cb84561
L
221192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22120
22121 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22122
54e2ed81
L
221232012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22124
22125 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22126 into R11_LP and load __x86_64_shared_cache_size_half into
22127 R8_LP.
22128
8a17f349
L
221292012-05-15 H.J. Lu <hongjiu.lu@intel.com>
22130
22131 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22132 R8_LP.
22133
777b1eea
AZ
221342012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22135
22136 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22137 logb for POWER7.
22138 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22139 logbf for POWER7.
22140 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22141 logbl for POWER7.
22142 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22143 powerpc32/power7/fpu/s_logb.c via #include.
22144 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22145 powerpc32/power7/fpu/s_logbf.c via #include.
22146 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22147 powerpc32/power7/fpu/s_logbl.c via #include.
22148
d20d4ac2
JM
221492012-05-15 Joseph Myers <joseph@codesourcery.com>
22150
22151 * README.libm: Remove file.
22152
6cdef1ab
L
221532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22154
22155 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22156 count for x32. Use R*_LP and omit operand-size suffix.
22157
0b254d8f
L
221582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22159
22160 * shlib-versions: Move x86_64-.*-linux.* entries to ...
22161 * sysdeps/x86_64/64/shlib-versions: Here. New file.
22162 * sysdeps/x86_64/x32/shlib-versions: New file.
22163
ceb809dc
RM
221642012-05-14 Roland McGrath <roland@hack.frob.com>
22165
22166 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22167 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22168 Use _dl_fatal_printf instead.
22169
37f1abd4
JM
221702012-05-14 Joseph Myers <joseph@codesourcery.com>
22171
22172 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22173 set if not set by the user. Do not allow for being unset.
22174 * sysdeps/unix/sysv/linux/configure: Regenerated.
22175
11de3a33
L
221762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22177
22178 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22179 the `q' suffix from lea and replace .quad with ASM_ADDR.
22180
e02f153a
L
221812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22182
22183 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22184 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
22185 instead of $17.
22186 (PTR_DEMANGLE): Likewise.
22187
520ae0fd
L
221882012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22189
22190 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22191 (LP_OP): Likewise.
22192 (ASM_ADDR): Likewise.
22193 (RAX_LP): Likewise.
22194 (RBP_LP): Likewise.
22195 (RBX_LP): Likewise.
22196 (RCX_LP): Likewise.
22197 (RDI_LP): Likewise.
22198 (RSI_LP): Likewise.
22199 (RSP_LP): Likewise.
22200 (R8_LP): Likewise.
22201 (R9_LP): Likewise.
22202 (R10_LP): Likewise.
22203 (R10_LP): Likewise.
22204 (R11_LP): Likewise.
22205 (R12_LP): Likewise.
22206 (R13_LP): Likewise.
22207 (R14_LP): Likewise.
22208 (R15_LP): Likewise.
22209
b985be81
L
222102012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22211
22212 * sysdeps/x86_64/x32/dl-machine.h: New file.
22213
6a4888ff
AJ
222142012-05-14 Andreas Jaeger <aj@suse.de>
22215
22216 * manual/Makefile (subdir): Remove export of subdir.
22217 (all): Remove target.
22218 (.PHONY): Remove all from list.
22219 (mkinstalldirs): Remove.
22220 (.PHONY): Remove installdirs from list.
22221 ($(inst_infodir)/libc.info): Use make-target-directory.
22222 (installdirs): Remove.
22223 (subdir_%): Remove.
22224 (glibc-targets): Remove.
22225 (lib): Remove.
22226 (stubs): Remove.
22227 ($(objpfx)stubs ../po/manual.pot): Remove.
22228 ($(objpfx)stamp%): Remove.
22229 (make-target-directory): Remove.
22230 (subdir_install): Remove.
22231 (routines): Remove.
22232 (aux): Remove.
22233 (sources): Remove.
22234 (objects): Remove.
22235 (headers): Remove.
22236
22237 [BZ #13750]
22238 * manual/.gitignore: Remove, it's not needed anymore.
22239 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22240 all files in it.
22241 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22242 directory.
22243 (texis): Renamed to $(objpfx)texis.
22244 (texis-path): New, contains path to generated files.
22245 (chapters.%): Use texis-path for complete path, add extra argument
22246 libc-texinfo.sh.
22247 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22248 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22249 (summary,texi, stamp-summary): Use complete path of
22250 files. Generate files in build dir.
22251 (dir-add.texi): Build in build dir.
22252 (libm-err.texi,stamp-libm-err): Likewise.
22253 (version.texi, stamp-version): Likewise.
22254 (.%c.texi): Likewise.
22255 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22256 (mostlyclean): Remove target.
22257 (realclean): Remove target.
22258 (generated): Add new variable with contents from mostlyclean and
22259 realclean, remove entries duplicated in common-mostlyclean, add
22260 stamp-libm-err and stamp-version.
22261 (generated-dirs): Add libc directory.
22262 ($(inst_infodir)/libc.info): Install files from build dir.
22263
22264 * manual/install.texi (Configuring and compiling): Adjust since
22265 the info files are not part of the tar ball anymore.
22266
7ac77294
AJ
222672012-05-14 Andreas Jaeger <aj@suse.de>
22268
22269 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22270 variable.
22271
ffb7875d
JM
222722012-05-14 Joseph Myers <joseph@codesourcery.com>
22273
22274 [BZ #13717]
22275 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22276 to 2.2.0 where earlier.
22277 * sysdeps/unix/sysv/linux/configure: Regenerated.
22278 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22279 Remove conditional code.
22280 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22281 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22282 Remove conditional code.
22283 [!__NR_lchown]: Likewise.
22284 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22285 [__NR_lchown]: Likewise.
22286 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22287 comment referencing __ASSUME_LCHOWN_SYSCALL.
22288 * sysdeps/unix/sysv/linux/i386/sigaction.c
22289 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22290 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22291 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22292 Remove conditional code.
22293 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22294 (__protocol_available): Remove #if 0 code.
22295 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22296 conditional code.
22297 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22298 * sysdeps/unix/sysv/linux/kernel-features.h
22299 (__ASSUME_GETCWD_SYSCALL): Don't define.
22300 (__ASSUME_REALTIME_SIGNALS): Likewise.
22301 (__ASSUME_PREAD_SYSCALL): Likewise.
22302 (__ASSUME_PWRITE_SYSCALL): Likewise.
22303 (__ASSUME_POLL_SYSCALL): Likewise.
22304 (__ASSUME_LCHOWN_SYSCALL): Likewise.
22305 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22306 non-SPARC.
22307 (__ASSUME_SIOCGIFNAME): Don't define.
22308 (__ASSUME_MSG_NOSIGNAL): Likewise.
22309 (__ASSUME_SENDFILE): Define unconditionally.
22310 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22311 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22312 conditional code.
22313 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22314 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22315 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22316 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22317 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22318 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22319 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22320 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22321 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22322 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22324 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22325 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22327 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22328 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22330 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22331 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22333 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22334 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22336 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22337 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22339 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22340 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22342 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22343 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22344 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22345 Remove conditional code.
22346 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22347 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22348 Remove conditional code.
22349 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22350 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22351 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22352 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22353 Remove conditional code.
22354 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22355 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22356 Remove conditional code.
22357 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22358 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22359 Remove conditional code.
22360 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22361 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22362 Remove conditional code.
22363 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22364 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22365 Remove conditional code.
22366 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22367 * sysdeps/unix/sysv/linux/sh/pwrite64.c
22368 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22369 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22370 * sysdeps/unix/sysv/linux/sigaction.c
22371 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22372 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22373 * sysdeps/unix/sysv/linux/sigpending.c
22374 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22375 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22376 * sysdeps/unix/sysv/linux/sigprocmask.c
22377 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22378 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22379 * sysdeps/unix/sysv/linux/sigsuspend.c
22380 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22381 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22382 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22383 (__libc_missing_rt_sigs): Remove.
22384 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22385 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
22386 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
22387 Remove conditional code.
22388 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
22389 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
22390 return 1.
22391 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
22392 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
22393 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
22394 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
22395
1bfb7291
AJ
223962012-05-14 Andreas Jaeger <aj@suse.de>
22397
caae5a81
AJ
22398 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
22399 it's not used in glibc.
22400 (__coshm1): Likewise.
22401 (__acosh1p): Likewise.
22402 (__sgn): Likewise.
22403
1bfb7291
AJ
22404 * manual/string.texi (Copying and Concatenation): Add missing
22405 variable in concat example.
22406 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
22407
c044d724
L
224082012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22409
144c5467 22410 [BZ #14103]
c044d724
L
22411 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
22412 __builtin_clzl with __builtin_clzll.
22413
2523c62b
L
224142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
22415
22416 [BZ #14104]
22417 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
22418 libc_freeres_ptr.
22419
d7bb4c42
LD
224202012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
22421
22422 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
22423 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
22424 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
22425 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
22426
9dc4e1fb
MF
224272012-05-14 Mike Frysinger <vapier@gentoo.org>
22428
22429 * NEWS: Update ia64 info.
22430
c7df0112
AS
224312012-05-12 Andreas Schwab <schwab@linux-m68k.org>
22432
22433 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
22434 used as bcopy.
22435
dc70356c
TS
224362012-05-12 Thomas Schwinge <thomas@codesourcery.com>
22437
22438 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
22439 * sysdeps/unix/syscalls.list (dup3): Likewise.
22440 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
22441 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
22442
9fb1a21f
L
224432012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22444
22445 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
22446 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
22447
4822a2a5
L
224482012-05-11 H.J. Lu <hongjiu.lu@intel.com>
22449
22450 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
22451 thread pointer.
22452 (TLS_IE): Use mov/add instead of movq/addq to load thread
22453 pointer.
22454 (TLS_GD_PREFIX): New.
22455 (TLS_GD): Use it.
22456
842b81d6
DM
224572012-05-11 David S. Miller <davem@davemloft.net>
22458
22459 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
22460 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
22461 (_FPU_SETCW): Likewise.
22462
1cf463cd
L
224632012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22464
22465 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
22466 is 32-byte aligned.
22467
60cc4a18
AS
224682012-05-11 Andreas Schwab <schwab@linux-m68k.org>
22469
22470 [BZ #11837]
22471 * iconvdata/gb18030.c: Update tables.
22472 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
22473 characters specially.
22474 (BODY for TO_LOOP): Add encoding of missing ranges.
22475
febb44a4
TS
224762012-05-11 Thomas Schwinge <thomas@codesourcery.com>
22477
22478 [BZ #13673]
22479 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
22480 * sysdeps/mach/hurd/dup3.c: Likewise.
22481 * sysdeps/mach/hurd/readlinkat.c: Likewise.
22482 * sysdeps/powerpc/memmove.c:: Likewise.
22483
0a10fb9e
L
224842012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22485
22486 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
22487 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
22488
df8a552f
L
224892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22490
22491 * elf/elf.h (R_X86_64_RELATIVE64): New.
22492 (R_X86_64_NUM): Updated.
22493 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
22494 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
22495 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
22496 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
22497 tst-quad1pie tst-quad2pie
22498 (modules-names): Add tst-quadmod1 tst-quadmod2.
22499 ($(objpfx)tst-quad1): New dependency.
22500 ($(objpfx)tst-quad2): Likewise.
22501 ($(objpfx)tst-quad1pie): Likewise.
22502 ($(objpfx)tst-quad2pie): Likewise.
22503 * sysdeps/x86_64/tst-quad1.c: New file.
22504 * sysdeps/x86_64/tst-quad1pie.c: New file.
22505 * sysdeps/x86_64/tst-quad2.c: Likewise.
22506 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
22507 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
22508 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
22509 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
22510 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
22511
f34d6f84
ST
225122012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22513
f42d41d1
ST
22514 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
22515 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
22516 * streams/stropts.h (t_scalar_t): Define type.
22517
3c3571fc
ST
22518 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
22519 (_PATH_PRESERVE): Set to "/var/lib".
22520 (_PATH_RWHODIR): Set to "/var/spool/rwho".
22521
61f06bd3
ST
22522 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
22523 instead of int.
22524
918d4d71
ST
22525 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
22526 if __dir_mkfile succeeded.
22527
f34d6f84
ST
22528 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
22529 checking for _hurd_dtablesize. Unlock it right after having
22530 finished _hurd_dtable allocation.
22531
10589b4a
TS
225322012-05-10 Thomas Schwinge <thomas@schwinge.name>
22533
674cdbc7
TS
22534 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
22535 * sysdeps/mach/hurd/configure: Regenerated.
22536 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
22537 special-casing to...
22538 * sysdeps/gnu/configure.in: ... this new file.
22539 * sysdeps/unix/sysv/linux/configure: Regenerated.
22540 * sysdeps/gnu/configure: New generated file.
22541
8e41b99f
TS
22542 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
22543 for Linux: use nsec instead of usec, as well as:
22544 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
22545 members of type struct timespec.
22546 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
22547 New macros.
22548 (struct stat64): Likewise.
22549 (_STATBUF_ST_NSEC): New macro.
22550 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
22551
10589b4a
TS
22552 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
22553 __strtoul_internal rather than strtoul.
22554
63643c85
PT
225552012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22556
22557 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
22558 and reject them.
22559
3faebe6a
ST
225602012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22561
22562 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
22563 which preserves existing values.
22564 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
22565
c6474b07
PT
225662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22567
22568 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
22569 TIMEOUT values. Return EINVAL for NFDS values either negative or
22570 greater than FD_SETSIZE.
22571
1043890b
ST
225722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22573
22574 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
22575 allocated, call __vm_protect to finish enabling the existing space, and
22576 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
22577 allocate the remainder.
22578
37ed8b9b
PT
225792012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22580
22581 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
22582 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
22583
db653660
ST
225842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22585
37ed8b9b
PT
22586 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
22587 sysdeps/mach/hurd/readlink.c.
b29d4053 22588
db653660
ST
22589 * posix/tst-sysconf.c (posix_options): Only use
22590 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
22591 _POSIX_SYNCHRONIZED_IO when they are defined
22592 * sysdeps/mach/hurd/bits/posix_opt.h:
22593 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
22594 (_XOPEN_REALTIME): Undefine macro.
22595 (_XOPEN_REALTIME_THREADS): Undefine macro.
22596 (_XOPEN_SHM): Undefine macro.
22597 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
22598 macro to -1.
22599 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
22600 macro to -1.
22601 (_POSIX_ASYNC_IO): Undefine macro.
22602 (_POSIX_PRIORITIZED_IO): Undefine macro.
22603 (_POSIX_SPIN_LOCKS): Define macro to -1.
22604
ee16e894
ST
22605 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
22606 SA_NODEFER, SA_RESETHAND.
22607 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
22608 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
22609 F_DUPFD_CLOEXEC.
22610
6103ae3b
TS
226112012-05-10 Thomas Schwinge <thomas@schwinge.name>
22612
22613 * elf/Makefile (pldd-modules): Define unconditionally.
22614
80b4e5f3
TS
226152012-05-10 Thomas Schwinge <thomas@schwinge.name>
22616
22617 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
22618
edadcbd6
ST
226192012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22620
22621 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
22622 Return ENOENT when name is empty.
22623 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
22624
80694780
TS
226252012-05-10 Thomas Schwinge <thomas@schwinge.name>
22626
1792c087
TS
22627 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
22628
80694780
TS
22629 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
22630
6b645f0d
ST
226312012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22632
80694780
TS
22633 Fix mlock in all cases except non-readable pages.
22634 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
22635 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 22636
6b645f0d
ST
22637 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
22638 (__mkdir): When path is `/', just fail with EEXIST.
22639 * sysdeps/mach/hurd/mkdirat.c: Likewise.
22640
e468f8a3
TS
226412012-05-10 Thomas Schwinge <thomas@schwinge.name>
22642
22643 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
22644 <sys/uio.h> (for writev).
22645 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
22646 and <sys/param.h> (for MIN).
22647
a4186cff
PT
226482012-05-10 Pino Toscano <toscano.pino@tiscali.it>
22649
22650 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
22651 REQUESTED_TIME. Properly set the remaining time and return EINTR
22652 if interrupted.
22653
510bbf14
TS
226542012-05-10 Thomas Schwinge <thomas@schwinge.name>
22655
22656 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
22657 Depend on against $(link-rpcuserlibs).
22658
5d5722e8
ST
226592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22660
a4186cff
PT
22661 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
22662 (__libc_stack_end): Do not use attribute_relro.
22663 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
22664 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 22665 to libthread-provided value.
a4186cff
PT
22666 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
22667 attribute_relro.
5d5722e8 22668
37233df9
TS
226692012-05-10 Thomas Schwinge <thomas@schwinge.name>
22670
be971a2b
TS
22671 [BZ #3748]
22672 * bits/libc-lock.h (__libc_once_get): New macro.
22673 * sysdeps/mach/bits/libc-lock.h: Likewise.
22674 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
22675 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
22676 instead of using implementation details.
22677
37233df9
TS
22678 * libio/fileops.c: Unconditionally include <kernel-features.h>.
22679 * libio/freopen.c: Likewise.
22680 * libio/freopen64.c: Likewise.
22681 * misc/syslog.c: Likewise.
22682 * nscd/connections.c: Likewise.
22683 * nscd/netgroupcache.c: Likewise.
22684 * sysdeps/posix/getcwd.c: Likewise.
22685
38de94a5
RM
226862012-05-10 Roland McGrath <roland@hack.frob.com>
22687
22688 * math/w_ilogbf.c: Add #include <limits.h>.
22689
67530489
ST
226902012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22691
a4186cff 22692 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
22693 path instead of returning without unlocking.
22694
67530489
ST
22695 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
22696 immediate-write ioctls.
22697 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
22698
5aa3a74a
TS
226992012-05-10 Thomas Schwinge <thomas@schwinge.name>
22700
18bad2ae
TS
22701 * sysdeps/mach/hurd/i386/init-first.c (init): Use
22702 __builtin_frame_address instead of making assumptions about the
22703 location of the return address relative to DATA. Force early load of
22704 the return address.
22705 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
22706 __builtin_frame_address.
22707
5aa3a74a
TS
22708 dup3 for GNU Hurd.
22709 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
22710 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
22711 implement dup3 and do some further code clean-ups.
22712 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
22713 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
22714
ecd0de9a
ST
227152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22716
cd9fa985
ST
22717 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
22718
a4186cff
PT
22719 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
22720 HURD_CRITICAL_END around holding _hurd_dtable_lock.
22721 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
22722 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
22723 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
22724 d->port.lock.
802ca5a5 22725
a4186cff
PT
22726 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
22727 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
22728 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 22729
bcf55240
TS
227302012-05-10 Thomas Schwinge <thomas@schwinge.name>
22731
6960eb42
TS
22732 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
22733 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
22734 definitions.
22735
eb43375f
TS
22736 accept4 for GNU Hurd.
22737 * include/sys/socket.h (__libc_accept4): New prototype.
22738 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
22739 to implement __libc_accept4.
22740 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
22741 __libc_accept4.
22742 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
22743
bcf55240
TS
22744 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
22745 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
22746 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
22747 signal-defines.sym.
22748
6178c55b
ST
227492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22750
a4186cff 22751 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 22752
6f080c2f
TS
227532012-05-10 Thomas Schwinge <thomas@schwinge.name>
22754
22755 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
22756 assertion on O_CLOEXEC flag.
22757 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
22758 * hurd/intern-fd.c: Likewise.
22759 * hurd/port2fd.c: Likewise.
22760
bcfe3a54
ST
227612012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
22762
22763 [BZ #3906]
22764 * bits/in.h (IPV6_PKTINFO): Define new macro.
22765 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
22766
89c9aa49
AZ
227672012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
22768
22769 [BZ #13954]
22770 [BZ #13955]
22771 [BZ #13956]
22772 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
22773 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
22774 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
22775 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
22776 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22777 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
22778 * math/libm-test.inc (logb_test) : Additional logb tests.
22779
021db4be
AJ
227802012-05-09 Andreas Schwab <schwab@linux-m68k.org>
22781 Andreas Jaeger <aj@suse.de>
22782
22783 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
22784 * configure: Regenerated.
22785 * config.h.in (LINK_OBSOLETE_RPC): New macro.
22786 * config.make.in (link-obsolete-rpc): New substituted variable.
22787 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
22788 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
22789 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22790 (shared-only-routines): Don't set it under [link-obsolete-rpc],
22791 so that libc.a contains the symbols.
22792 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
22793 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
22794 * sunrpc/auth_none.c: Likewise.
22795 * sunrpc/auth_unix.c: Likewise.
22796 * sunrpc/authdes_prot.c: Likewise.
22797 * sunrpc/authuxprot.c: Likewise.
22798 * sunrpc/clnt_gen.c: Likewise.
22799 * sunrpc/clnt_perr.c: Likewise.
22800 * sunrpc/clnt_raw.c: Likewise.
22801 * sunrpc/clnt_simp.c: Likewise.
22802 * sunrpc/clnt_tcp.c: Likewise.
22803 * sunrpc/clnt_udp.c: Likewise.
22804 * sunrpc/clnt_unix.c: Likewise.
22805 * sunrpc/des_crypt.c: Likewise.
22806 * sunrpc/des_soft.c: Likewise.
22807 * sunrpc/get_myaddr.c: Likewise.
22808 * sunrpc/key_call.c: Likewise.
22809 * sunrpc/key_prot.c: Likewise.
22810 * sunrpc/netname.c: Likewise.
22811 * sunrpc/pm_getmaps.c: Likewise.
22812 * sunrpc/pm_getport.c: Likewise.
22813 * sunrpc/pmap_clnt.c: Likewise.
22814 * sunrpc/pmap_prot.c: Likewise.
22815 * sunrpc/pmap_prot2.c: Likewise.
22816 * sunrpc/pmap_rmt.c: Likewise.
22817 * sunrpc/publickey.c: Likewise.
22818 * sunrpc/rpc_cmsg.c: Likewise.
22819 * sunrpc/rpc_common.c: Likewise.
22820 * sunrpc/rpc_dtable.c: Likewise.
22821 * sunrpc/rpc_prot.c: Likewise.
22822 * sunrpc/rpc_thread.c: Likewise.
22823 * sunrpc/rtime.c: Likewise.
22824 * sunrpc/svc.c: Likewise.
22825 * sunrpc/svc_auth.c: Likewise.
22826 * sunrpc/svc_raw.c: Likewise.
22827 * sunrpc/svc_run.c: Likewise.
22828 * sunrpc/svc_tcp.c: Likewise.
22829 * sunrpc/svc_udp.c: Likewise.
22830 * sunrpc/svc_unix.c: Likewise.
22831 * sunrpc/svcauth_des.c: Likewise.
22832 * sunrpc/xcrypt.c: Likewise.
22833 * sunrpc/xdr.c: Likewise.
22834 * sunrpc/xdr_array.c: Likewise.
22835 * sunrpc/xdr_float.c: Likewise.
22836 * sunrpc/xdr_intXX_t.c: Likewise.
22837 * sunrpc/xdr_mem.c: Likewise.
22838 * sunrpc/xdr_rec.c: Likewise.
22839 * sunrpc/xdr_ref.c: Likewise.
22840 * sunrpc/xdr_sizeof.c: Likewise.
22841 * sunrpc/xdr_stdio.c: Likewise.
22842
b5c086a2
RM
228432012-05-10 Roland McGrath <roland@hack.frob.com>
22844
22845 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
22846 change. Update copyright years.
22847
6d74dd09
JM
228482012-05-10 Joseph Myers <joseph@codesourcery.com>
22849
22850 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
22851
28e72501
MK
228522012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
22853 Joseph Myers <joseph@codesourcery.com>
22854 Paul Pluzhnikov <ppluzhnikov@google.com>
22855
22856 [BZ #14012]
22857 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
22858 requiring rpcgen.
22859 [cross-compiling] (extra-libs): Likewise.
22860 [cross-compiling] (extra-libs-others): Likewise.
22861 [cross-compiling] (librpcsvc-routines): Likewise.
22862 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
22863 [cross-compiling] (omit-deps): Likewise.
22864 (sunrpc-CPPFLAGS): New variable.
22865 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
22866 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
22867 (cross-rpcgen-objs): New variable.
22868 (extra-objs): Append $(cross-rpcgen-objs).
22869 ($(cross-rpcgen-objs)): New rule.
22870 ($(objpfx)cross-rpcgen): Likewise.
22871 (rpcgen-cmd): Define to use $(built-program-file). Expand
22872 comment.
22873 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
22874 ($(objpfx)x%.stmp): Likewise.
22875 * sunrpc/proto.h [IS_IN_build] (_): Define.
22876 [IS_IN_build] (_libc_intl_domainname): Likewise.
22877
c8c59454
L
228782012-05-10 H.J. Lu <hongjiu.lu@intel.com>
22879
22880 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
22881 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
22882 and R_X86_64_TPOFF64.
22883
6f27cd16
JM
228842012-05-10 Joseph Myers <joseph@codesourcery.com>
22885
22886 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
22887 sysdeps/unix/sysv/syscalls.list.
22888 (stime): Likewise.
22889 (utime): Likewise.
22890 * sysdeps/unix/sysv/syscalls.list: Remove file.
22891
02467e1c
PE
228922012-05-10 Paul Eggert <eggert@cs.ucla.edu>
22893
22894 [BZ #3440]
22895 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
22896 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
22897 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
22898 (__LC_IDENTIFICATION): Make these macros useful in #if
22899 expressions, as required by C99.
22900
da392631
AS
229012012-05-10 Andreas Schwab <schwab@linux-m68k.org>
22902
22903 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
22904 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
22905 after this.
22906
8115f29b
L
229072012-05-09 H.J. Lu <hongjiu.lu@intel.com>
22908
22909 * stdlib/longlong.h: Updated from GCC.
22910
bdd74070
AJ
229112012-05-09 Andreas Jaeger <aj@suse.de>
22912
edfe0dbe
AJ
22913 * nscd/nscd.c (run_modes): Make named enum, reorder so that
22914 default is first entry.
22915 (run_mode): Set type.
22916 (main): Remove informal message about syslog.
22917 (options): Fix typo.
22918
bcfe3a54
ST
22919 [BZ #14053]
22920 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 22921 to asm.
bcfe3a54
ST
22922 (lrint): Likewise.
22923 (llrintf): Likewise.
22924 (llrint): Likewise.
22925 (rint): Likewise.
22926 (rintf): Likewise.
22927 (nearbyint): Likewise.
22928 (nearbyintf): Likewise.
bdd74070 22929
91d8d69e
AJ
229302012-05-09 Andreas Jaeger <aj@suse.de>
22931 Pedro Alves <palves@redhat.com>
22932
22933 * nscd/nscd.c (run_mode): Use enum.
22934 (main): Cleanup coding style issue.
22935
bb90b80b
AJ
229362012-05-09 Alexandre Oliva <aoliva@redhat.com>
22937 Andreas Jaeger <aj@suse.de>
22938
bcfe3a54
ST
22939 * nscd/nscd.c (go_background): Replaced with...
22940 (run_mode): ... this.
bb90b80b 22941 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
22942 (options): Add -F --foreground.
22943 (main): Implement it.
22944 (parse_opt): Parse it.
bb90b80b 22945
1a4b75a1
AJ
229462012-05-09 Andreas Jaeger <aj@suse.de>
22947
22948 [BZ #14083]
22949 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
22950 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
22951 -Wconversion warning.
22952 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
22953 Likewise.
22954
b1cc2472
JM
229552012-05-09 Joseph Myers <joseph@codesourcery.com>
22956
22957 * conform/data/locale.h-data (NULL): Use macro-constant. Require
22958 == 0.
22959 (LC_ALL): Use macro-int-constant.
22960 (LC_COLLATE): Likewise.
22961 (LC_CTYPE): Likewise.
22962 (LC_MESSAGES): Likewise.
22963 (LC_MONETARY): Likewise.
22964 (LC_NUMERIC): Likewise.
22965 (LC_TIME): Likewise.
22966 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
22967 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
22968 [ISO || ISO99 || ISO11] (*_t): Do not allow.
22969 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
22970 Specify type.
22971 [C99-based standards] (float_t): Expect type.
22972 [C99-based standards] (double_t): Expect type.
22973 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
22974 type.
22975 [C99-based standards] (HUGE_VALL): Likewise.
22976 [C99-based standards] (INFINITY): Likewise.
22977 [C99-based standards] (NAN): Likewise.
22978 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
22979 [C99-based standards] (FP_NAN): Likewise.
22980 [C99-based standards] (FP_NORMAL): Likewise.
22981 [C99-based standards] (FP_SUBNORMAL): Likewise.
22982 [C99-based standards] (FP_ZERO): Likewise.
22983 [C99-based standards] (FP_FAST_FMA): Use
22984 optional-macro-int-constant. Specify type. Require == 1.
22985 [C99-based standards] (FP_FAST_FMAF): Likewise.
22986 [C99-based standards] (FP_FAST_FMAL): Likewise.
22987 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
22988 [C99-based standards] (FP_ILOGBNAN): Likewise.
22989 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
22990 Specify type.
22991 [C99-based standards] (MATH_ERREXCEPT): Likewise.
22992 [C99-based standards] (math_errhandling): Specify type.
22993 [ISO99 || ISO11] (signgam): Do not allow.
22994 [non-C99-based standards] (copysignf): Do not allow.
22995 [non-C99-based standards] (exp2f): Likewise.
22996 [non-C99-based standards] (log2f): Likewise.
22997 [non-C99-based standards] (modff): Allow.
22998 [non-C99-based standards] (erff): Do not allow.
22999 [non-C99-based standards] (erfcf): Likewise.
23000 [non-C99-based standards] (gammaf): Likewise.
23001 [non-C99-based standards] (hypotf): Likewise.
23002 [non-C99-based standards] (j0f): Likewise.
23003 [non-C99-based standards] (j1f): Likewise.
23004 [non-C99-based standards] (jnf): Likewise.
23005 [non-C99-based standards] (lgammaf): Likewise.
23006 [non-C99-based standards] (tgammaf): Likewise.
23007 [non-C99-based standards] (y0f): Likewise.
23008 [non-C99-based standards] (y1f): Likewise.
23009 [non-C99-based standards] (ynf): Likewise.
23010 [non-C99-based standards] (isnanf): Likewise.
23011 [non-C99-based standards] (acoshf): Likewise.
23012 [non-C99-based standards] (asinhf): Likewise.
23013 [non-C99-based standards] (atanhf): Likewise.
23014 [non-C99-based standards] (cbrtf): Likewise.
23015 [non-C99-based standards] (expm1f): Likewise.
23016 [non-C99-based standards] (ilogbf): Likewise.
23017 [non-C99-based standards] (log1pf): Likewise.
23018 [non-C99-based standards] (logbf): Likewise.
23019 [non-C99-based standards] (nextafterf): Likewise.
23020 [non-C99-based standards] (remainderf): Likewise.
23021 [non-C99-based standards] (rintf): Likewise.
23022 [non-C99-based standards] (scalbf): Likewise.
23023 [non-C99-based standards] (copysignl): Likewise.
23024 [non-C99-based standards] (exp2l): Likewise.
23025 [non-C99-based standards] (log2l): Likewise.
23026 [non-C99-based standards] (modfl): Allow.
23027 [non-C99-based standards] (erfl): Do not allow.
23028 [non-C99-based standards] (erfcl): Likewise.
23029 [non-C99-based standards] (gammal): Likewise.
23030 [non-C99-based standards] (hypotl): Likewise.
23031 [non-C99-based standards] (j0l): Likewise.
23032 [non-C99-based standards] (j1l): Likewise.
23033 [non-C99-based standards] (jnl): Likewise.
23034 [non-C99-based standards] (lgammal): Likewise.
23035 [non-C99-based standards] (tgammal): Likewise.
23036 [non-C99-based standards] (y0l): Likewise.
23037 [non-C99-based standards] (y1l): Likewise.
23038 [non-C99-based standards] (ynl): Likewise.
23039 [non-C99-based standards] (isnanl): Likewise.
23040 [non-C99-based standards] (acoshl): Likewise.
23041 [non-C99-based standards] (asinhl): Likewise.
23042 [non-C99-based standards] (atanhl): Likewise.
23043 [non-C99-based standards] (cbrtl): Likewise.
23044 [non-C99-based standards] (expm1l): Likewise.
23045 [non-C99-based standards] (ilogbl): Likewise.
23046 [non-C99-based standards] (log1pl): Likewise.
23047 [non-C99-based standards] (logbl): Likewise.
23048 [non-C99-based standards] (nextafterl): Likewise.
23049 [non-C99-based standards] (remainderl): Likewise.
23050 [non-C99-based standards] (rintl): Likewise.
23051 [non-C99-based standards] (scalbl): Likewise.
23052 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23053 [non-C99-based standards] (FP_*): Do not allow.
23054 [C99-based standards] (FP_*): Change to
23055 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23056 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23057 allow.
23058 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23059 (SIG_ERR): Likewise.
23060 [X/Open-based standards] (SIG_HOLD): Likewise.
23061 (SIG_IGN): Likewise.
23062 (SIGABRT): Use macro-int-constant. Specify type. Require
23063 positive value.
23064 (SIGFPE): Likewise.
23065 (SIGILL): Likewise.
23066 (SIGINT): Likewise.
23067 (SIGSEGV): Likewise.
23068 (SIGTER): Likewise.
23069 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23070 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23071 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23072 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23073 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23074 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23075 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23076 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23077 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23078 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23079 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23080 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23081 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23082 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23083 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23084 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23085 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23086 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23087 [X/Open-based standards] (SIGTRAP): Likewise.
23088 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23089 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23090 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23091 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23092 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23093 allow.
23094
b9f1922d
IW
230952012-05-08 Ian Wienand <ianw@vmware.com>
23096
23097 [BZ #14080]
23098 * time/tzset.c (__tzset_parse_tz): Update default rules for
23099 daylight time changes in the Energy Policy Act of 2005.
23100
1db86e88
AJ
231012012-05-09 Andreas Jaeger <aj@suse.de>
23102
23103 [BZ #13983]
23104 * elf/ldconfig.c (parse_conf): Change string to make clear that
23105 ldconfig only issued a warning if ld.so.conf does not exist.
23106
dee4a4e3
DM
231072012-05-08 David S. Miller <davem@davemloft.net>
23108
ee0db190
DM
23109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23110 movxtod instead of popping the value on the stack.
23111
dee4a4e3
DM
23112 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23113
6a43ec98
CD
231142012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
23115
23116 * config.h.in: Add HAVE_ARM_PCS_VFP.
23117
05c2c961
RMG
231182012-05-08 Roland Mc Grath <roland@hack.frob.com>
23119
bcfe3a54
ST
23120 [BZ #13979]
23121 * include/features.h: Warn if user requests __FORTIFY_SOURCE
23122 checking but the checks are disabled for any reason.
05c2c961 23123
4b30f61a
L
231242012-05-08 H.J. Lu <hongjiu.lu@intel.com>
23125
23126 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23127 and ELF64_R_TYPE with ELFW(R_TYPE).
23128
eee2bc67
JM
231292012-05-08 Joseph Myers <joseph@codesourcery.com>
23130
7ea5391a
JM
23131 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23132 (ulimit): Likewise.
23133
eee2bc67
JM
23134 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23135 (settimeofday): Likewise.
23136
abb66a67
MF
231372012-05-08 Mike Frysinger <vapier@gentoo.org>
23138
23139 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
23140 a struct th_u2 inside the union, and move tu_block/tu_code into
23141 a new th_u3 union of tu_block/tu_code inside of that. Move
23142 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
23143 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
23144 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23145 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23146 (th_stuff): Change to th_u1.tu_stuff.
23147 (th_data): Define.
23148 (th_msg): Change to th_u1.th_u2.tu_data.
23149
7f18b530
DM
231502012-05-07 David S. Miller <davem@davemloft.net>
23151
05760585
DM
23152 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23153
7f18b530
DM
23154 [BZ #14074]
23155 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23156 (SETUP_PIC_REG): Use it.
23157 (SETUP_PIC_REG_LEAF): Use it.
23158
495fd99f
JM
231592012-05-07 Joseph Myers <joseph@codesourcery.com>
23160
23161 [BZ #13885]
23162 [BZ #13923]
23163 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23164 USE_AS_EXPM1L.
23165 (EXPL_FINITE): Likewise.
23166 (FLDLOG): Likewise.
23167 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23168 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23169 e_expl.S.
23170 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23171 USE_AS_EXPM1L.
23172 (EXPL_FINITE): Likewise.
23173 (FLDLOG): Likewise.
23174 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23175 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23176 e_expl.S.
23177 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
23178 test of -max_value argument for long double.
23179 * sysdeps/i386/fpu/libm-test-ulps: Update.
23180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23181
6693d694
DM
231822012-05-06 David S. Miller <davem@davemloft.net>
23183
23184 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23185 quad soft-float symbols whose references which are compiler
23186 generated.
23187 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23188
6c23e11c
JM
231892012-05-06 Joseph Myers <joseph@codesourcery.com>
23190
d8b82cad
JM
23191 [BZ #13884]
23192 [BZ #13914]
23193 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23194 USE_AS_EXP10L.
23195 (EXPL_FINITE): Likewise.
23196 (FLDLOG): Likewise.
23197 (c0): Likewise.
23198 (c1): Likewise.
23199 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23200 Adjust comments for base varying.
23201 (__expl_finite): Change alias to EXPL_FINITE.
23202 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23203 e_expl.S.
23204 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23205 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23206 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23207 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23208 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23209 USE_AS_EXP10L.
23210 (EXPL_FINITE): Likewise.
23211 (FLDLOG): Likewise.
23212 (c0): Likewise.
23213 (c1): Likewise.
23214 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
23215 Adjust comments for base varying.
23216 (__expl_finite): Change alias to EXPL_FINITE.
23217 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
23218 tests for bugs.
23219 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23220
6c23e11c
JM
23221 [BZ #14064]
23222 * math/libm-test.inc (check_float_internal): Correct ulp
23223 calculation for subnormal expected results.
23224
29ba805c
AJ
232252012-05-06 Andreas Jaeger <aj@suse.de>
23226
23227 * Makeconfig (+math-flags): New, set to -frounding-math.
23228 (+cflags): Add +math-flags so that all of glibc gets compiled with
23229 it.
23230
23231 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23232
7b17aeda
JM
232332012-05-05 Joseph Myers <joseph@codesourcery.com>
23234
5779f134
JM
23235 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23236 Disable one test.
23237
41498f4d
JM
23238 [BZ #13787]
23239 [BZ #13922]
23240 [BZ #14036]
23241 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23242 (__ieee754_expl): Allow for and saturate large arguments.
23243 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23244 (u_threshold): Likewise.
23245 (__exp): Call __ieee754_exp before checking for overflow and
23246 underflow.
23247 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23248 (u_threshold): Likewise.
23249 (__expf): Call __ieee754_expf before checking for overflow and
23250 underflow.
23251 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23252 (u_threshold): Likewise.
23253 (__expl): Call __ieee754_expl before checking for overflow and
23254 underflow.
23255 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23256 (__ieee754_expl): Allow for and saturate large arguments.
23257 * math/libm-test.inc (exp_test): Add another test. Do not allow
23258 missing overflow exception on overflow.
23259 (expm1_test): Do not allow missing overflow exception on overflow.
23260
6698b8bf
JM
23261 * sysdeps/i386/fpu/e_expl.c: Move to ...
23262 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
23263 rather than using inline asm.
23264 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23265 * sysdeps/x86_64/fpu/e_expl.S: Copy from
23266 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23267
7b17aeda
JM
23268 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23269 (nice): Likewise.
23270 (poll): Likewise.
23271 (signal): Likewise.
23272 (time): Likewise.
23273 (times): Likewise.
23274
f7c85819
JM
232752012-05-04 Joseph Myers <joseph@codesourcery.com>
23276
23277 * sysdeps/unix/syscalls.list (adjtime): Add entry from
23278 sysdeps/unix/common/syscalls.list.
23279 (fchmod): Likewise.
23280 (fchown): Likewise.
23281 (ftruncate): Likewise.
23282 (getrusage): Likewise.
23283 (gettimeofday): Likewise.
23284 (setpgid): Likewise.
23285 (setregid): Likewise.
23286 (setreuid): Likewise.
23287 (sigaction): Likewise.
23288 (truncate): Likewise.
23289 (vhangup): Likewise.
23290 * sysdeps/unix/common/syscalls.list: Remove file.
23291 * sysdeps/unix/bsd/Implies: Don't include unix/common.
23292 * sysdeps/unix/sysv/linux/Implies: Likewise.
23293
336270d0
L
232942012-05-04 H.J. Lu <hongjiu.lu@intel.com>
23295
23296 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23297 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23298 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23299 Moved to ...
23300 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23301 Here.
23302 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23303 to ...
23304 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23305 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23306 to ...
23307 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23308 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23309 to ...
23310 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23311 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23312 to ...
23313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23314 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23315 to ...
23316 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23317 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23318 to ...
23319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23320 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23321 to ...
23322 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23323 Here.
23324 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23325 to ...
23326 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23327 Here.
23328 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23329 to ...
23330 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23331 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23332 Moved to ...
23333 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23334 Here.
23335 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23336 to ...
23337 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23338
d128e450
JM
233392012-05-04 Joseph Myers <joseph@codesourcery.com>
23340
fa8ee516
JM
23341 * sysdeps/unix/common/bits/dirent.h: Remove file.
23342 * sysdeps/unix/common/bits/fcntl.h: Likewise.
23343
d128e450
JM
23344 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23345 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23346 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23347 * sysdeps/unix/bsd/isatty.c: Likewise.
23348 * sysdeps/unix/bsd/tcdrain.c: Likewise.
23349 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23350 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23351
ff8faaf0 233522012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 23353
62881be4 23354 [BZ #13563]
31dc8730
AZ
23355 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23356 long double comparison inaccuracies.
23357 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23358 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23359
6fef930c
AS
233602012-05-04 Andreas Schwab <schwab@linux-m68k.org>
23361
23362 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23363 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23364
8f203e6c
JM
233652012-05-04 Joseph Myers <joseph@codesourcery.com>
23366
23367 [BZ #14049]
23368 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23369 nonzero digits before rounding a hex value.
23370 * stdlib/tst-strtod.c (tests): Add another test.
23371
5197d9c2
AK
233722012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
23373
23374 * sysdeps/s390/fpu/libm-test-ulps: Update.
23375
f0c1dedf
AJ
233762012-05-03 Andreas Jaeger <aj@suse.de>
23377
23378 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23379 does not get optimized out.
23380 (malloc_opt_barrier): New.
23381
a65ef2ae 233822012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 23383 Roland McGrath <roland@hack.frob.com>
a65ef2ae 23384
2b942cb7 23385 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 23386 intermediate file deletion.
2b942cb7 23387 (generated): Add .symlist files.
a65ef2ae 23388
54b71e02
JM
233892012-05-03 Joseph Myers <joseph@codesourcery.com>
23390
23391 [BZ #13775]
23392 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
23393 Redirect under this condition.
23394 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23395 [__USE_GNU] (__dprintf_chk): Not under this condition.
23396 [__USE_GNU] (__vdprintf_chk): Likewise.
23397 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
23398 under this condition.
23399 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
23400 [__USE_XOPEN2K8] (dprintf): Define under this condition.
23401 [__USE_XOPEN2K8] (vdprintf): Likewise.
23402 [__USE_GNU] (__dprintf_chk): Not under this condition.
23403 [__USE_GNU] (__vdprintf_chk): Likewise.
23404 [__USE_GNU] (dprintf): Likewise.
23405 [__USE_GNU] (vdprintf): Likewise.
23406
d3dfcc41
RM
234072012-05-03 Roland McGrath <roland@hack.frob.com>
23408
23409 * elf/Makefile (common-generated): Set this instead of generated for
23410 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
23411 $(all-built-dso)-derived lists.
23412
7ac30cc5
AJ
234132012-05-03 Andreas Jaeger <aj@suse.de>
23414
0c51e550
AJ
23415 * sysdeps/i386/fpu/libm-test-ulps: Update.
23416
7ac30cc5
AJ
23417 * FAQ: Removed.
23418 * FAQ.in: Likewise.
23419 * scripts/gen-FAQ.pl: Likewise.
23420 * manual/install.texi (Installation): Point to online location of
23421 FAQ.
23422 * Makefile (files-for-dist): Remove FAQ.
23423 (FAQ): Remove.
23424
d4c2917f
AM
234252012-05-02 Allan McRae <allan@archlinux.org>
23426
23427 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
23428 (LDFLAGS-reldepmod5.so): Likewise.
23429 (LDFLAGS-reldep6mod1.so): Likewise.
23430 (LDFLAGS-reldep6mod4.so): Likewise.
23431 (LDFLAGS-reldep8mod3.so): Likewise.
23432 (LDFLAGS-unload4mod1.so): Likewise.
23433 (LDFLAGS-unload4mod2.so): Likewise.
23434 (LDFLAGS-tst-initorder): Likewise.
23435 (LDFLAGS-tst-initordera2.so): Likewise.
23436 (LDFLAGS-tst-initordera3.so): Likewise.
23437 (LDFLAGS-tst-initordera4.so): Likewise.
23438 (LDFLAGS-tst-initorderb2.so): Likewise.
23439 (LDFLAGS-noload): Likewise.
23440 (LDFLAGS-next): Likewise.
23441 (LDFLAGS-order2mod1.so): Likewise.
23442 (LDFLAGS-order2mod2.so): Likewise.
23443 (LDFLAGS-tst-initorder2): Likewise.
23444 (LDFLAGS-tst-initorder2a.so): Likewise.
23445 (LDFLAGS-tst-initorder2b.so): Likewise.
23446 (LDFLAGS-tst-initorder2c.so): Likewise.
23447 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
23448
d77f993f
DM
234492012-05-02 David S. Miller <davem@davemloft.net>
23450
23451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23452
171a70b4
PP
234532012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
23454
23455 [BZ #14055]
23456 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
23457
0be196ad
AJ
234582012-05-02 Andreas Jaeger <aj@suse.de>
23459
23460 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
23461 since we manipulate rounding mode.
23462 (CPPFLAGS-test-idouble.c): Likewise.
23463 (CPPFLAGS-test-ifloat.c): Likewise.
23464 (CFLAGS-test-ldouble.c): Likewise.
23465 (CFLAGS-test-double.c): Likewise.
23466 (CFLAGS-test-float.c): Likewise.
23467 (CFLAGS-test-misc.c): Likewise.
23468 (CFLAGS-test-test-fenv.c): Likewise.
23469
4f9d04aa
AZ
234702012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
23471
2b942cb7
RM
23472 [BZ #2550]
23473 [BZ #2570]
23474 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
23475 comparisons to determine direction to adjust input.
4f9d04aa 23476
82a79e7d
RM
234772012-05-01 Roland McGrath <roland@hack.frob.com>
23478
f5a01ca9
RM
23479 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
23480 output to the target.
23481
90fe4186
RM
23482 * scripts/localplt.awk: New file.
23483 * elf/Makefile ($(objpfx)check-localplt): Target removed.
23484 (check-localplt-CFLAGS): Variable removed.
23485 ($(all-built-dso:=.jmprel)): New static pattern rule.
23486 (generated): Add those targets.
23487 (localplt-built-dso): New variable.
23488 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
23489
23490 * elf/check-localplt.c: File removed.
23491
82397ed6
RM
23492 * scripts/check-execstack.awk: New file.
23493 * elf/Makefile ($(objpfx)check-execstack): Target removed.
23494 (check-execstack-CFLAGS): Variable removed.
23495 ($(objpfx)check-execstack.h): Target removed.
23496 ($(objpfx)execstack-default): New target.
23497 (generated): Add that instead of check-execstack.h.
23498 ($(all-built-dso:=.phdr)): New static pattern rule.
23499 (generated): Add those targets.
23500 * elf/check-execstack.c: File removed.
23501
82a79e7d
RM
23502 * scripts/check-textrel.awk: New file.
23503 * elf/Makefile ($(objpfx)check-textrel): Target removed.
23504 (check-textrel-CFLAGS): Variable removed.
23505 (all-built-dso): Use := to define.o
23506 ($(all-built-dso:=.dyn)): New static pattern rule.
23507 (generated): Add those targets.
23508 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
23509 * config.make.in (READELF): New substituted variable.
23510 * elf/check-textrel.c: File removed.
23511
62fde54f 235122012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 23513
615605c9
JM
23514 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23515 allow.
23516 * conform/data/ctype.h-data [C99-based standards] (isblank):
23517 Expect function.
23518 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
23519 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
23520 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23521 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
23522 Specify type. Require positive value.
23523 (EILSEQ): Likewise.
23524 (ERANGE): Likewise.
23525 [ISO || POSIX] (EILSEQ): Do not expect.
23526 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
23527 Specify type. Require positive value.
23528 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
23529 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
23530 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
23531 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
23532 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
23533 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
23534 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
23535 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
23536 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
23537 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
23538 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
23539 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
23540 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
23541 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
23542 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
23543 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
23544 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
23545 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
23546 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
23547 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
23548 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
23549 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
23550 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
23551 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
23552 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
23553 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
23554 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
23555 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
23556 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
23557 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
23558 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
23559 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
23560 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
23561 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
23562 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
23563 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
23564 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
23565 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
23566 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
23567 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
23568 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
23569 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
23570 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
23571 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
23572 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
23573 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
23574 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
23575 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
23576 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
23577 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
23578 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
23579 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
23580 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
23581 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
23582 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
23583 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
23584 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
23585 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
23586 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
23587 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
23588 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
23589 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
23590 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
23591 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
23592 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
23593 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
23594 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
23595 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
23596 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
23597 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
23598 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
23599 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
23600 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
23601 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
23602 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
23603 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
23604 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
23605 Require >= 2.
23606 (FLT_ROUNDS): Expect as macro, not constant.
23607 (FLT_MANT_DIG): Use macro-int-constant.
23608 (DBL_MANT_DIG): Likewise.
23609 (LDBL_MANT_DIG): Likewise.
23610 (FLT_DIG): Likewise.
23611 (DBL_DIG): Likewise.
23612 (LDBL_DIG): Likewise.
23613 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
23614 (DBL_MIN_EXP): Likewise.
23615 (LDBL_MIN_EXP): Likewise.
23616 (FLT_MAX_EXP): Use macro-int-constant.
23617 (DBL_MAX_EXP): Likewise.
23618 (LDBL_MAX_EXP): Likewise.
23619 (FLT_MAX_10_EXP): Likewise.
23620 (DBL_MAX_10_EXP): Likewise.
23621 (LDBL_MAX_10_EXP): Likewise.
23622 (FLT_MAX): Use macro-constant.
23623 (DBL_MAX): Likewise.
23624 (LDBL_MAX): Likewise.
23625 (FLT_EPSILON): Use macro-constant. Give upper bound.
23626 (DBL_EPSILON): Likewise.
23627 (LDBL_EPSILON): Likewise.
23628 (FLT_MIN): Likewise.
23629 (DBL_MIN): Likewise.
23630 (LDBL_MIN): Likewise.
23631 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
23632 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
23633 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
23634 [ISO11] (FLT_HAS_SUBNORM): Likewise.
23635 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
23636 [ISO11] (DBL_DECIMAL_DIG): Likewise.
23637 [ISO11] (FLT_DECIMAL_DIG): Likewise.
23638 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
23639 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
23640 [ISO11] (FLT_TRUE_MIN): Likewise.
23641 [ISO11] (LDBL_TRUE_MIN): Likewise.
23642 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23643 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
23644 (SCHAR_MIN): Use macro-int-constant. Specify type.
23645 (SCHAR_MAX): Likewise.
23646 (UCHAR_MAX): Likewise.
23647 (CHAR_MIN): Likewise.
23648 (CHAR_MAX): Likewise.
23649 (MB_LEN_MAX): Use macro-int-constant.
23650 (SHRT_MIN): Use macro-int-constant. Specify type.
23651 (SHRT_MAX): Likewise.
23652 (USHRT_MAX): Likewise.
23653 (INT_MAX): Likewise.
23654 (INT_MIN): Use macro-int-constant. Specify type. Make upper
23655 bound negative.
23656 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
23657 bound with "U".
23658 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23659 bound with "L".
23660 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
23661 bound negative. Suffix upper bound with "L".
23662 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
23663 bound with "UL".
23664 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
23665 Specify type.
23666 [C99-based standards] (LLONG_MAX): Likewise.
23667 [C99-based standards] (ULLONG_MAX): Likewise.
23668 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
23669 == 0.
23670 [ISO11] (max_align_t): Require type.
23671 [ISO || ISO99 || ISO11] (*_t): Do not allow.
23672
c9140a62
JM
23673 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
23674 from $CFLAGS, without defining away __attribute__ calls.
23675 (checknamespace): Use $CFLAGS_namespace.
23676
9af0bf29
JM
23677 * conform/conformtest.pl (@keywords): Only include C99 keywords
23678 for standards based on C99 or C11.
23679
343222a2
JM
23680 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
23681 Disable tests.
23682 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
23683 UNIX98]: Likewise.
23684
661f8cf0
JM
23685 * conform/conformtest.pl: Handle "macro-int-constant" and test for
23686 usability of symbols in #if.
23687
ee74b9cb
JM
23688 * conform/conformtest.pl: If macro or constant types start
23689 "promoted:", expect the symbol to be of the following type
23690 promoted by the integer promotions.
62fde54f 23691
aafc49b3
JM
23692 * conform/conformtest.pl: Parse all "constant" and "macro" lines
23693 in one place. Also handle "macro-constant".
23694
fefdf574
JM
23695 * conform/conformtest.pl: Only accept expected macro values with
23696 "==". Parse all "macro" lines in one place.
23697 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
23698
f2d922fe
JM
23699 * conform/conformtest.pl: Handle braced types on "constant" lines
23700 instead of handling "typed-constant".
23701 * conform/data/signal.h-data: Use "constant" instead of
23702 "typed-constant".
23703
d22956c9
JM
23704 * conform/conformtest.pl: Handle "optional-" at start of lines in
23705 one place rather than duplicating several cases. Handle each
23706 format of "macro" line with initial "optional-".
23707
028e2e38
JM
23708 * conform/conformtest.pl: Only accept expected constant or
23709 optional-constant values with "==". Parse all "constant" lines in
23710 one place. Parse all "optional-constant" lines in one place.
23711 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
23712 * conform/data/fmtmsg.h-data: Likewise.
23713 * conform/data/netinet/in.h-data: Likewise.
23714 * conform/data/tar.h-data: Likewise.
23715 * conform/data/limits.h-data: Use "==" form on "constant" and
23716 "optional-constant" lines.
23717
1b8f2850
JM
23718 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
23719 Use -std=c99 for XOPEN2K.
23720 (@knownproblems): Remove.
23721 (newtoken): Don't check %isknown.
23722
a05a144b
JM
23723 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
23724 Do not expect macro.
23725 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
23726 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
23727 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
23728 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
23729 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
23730 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
23731 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
23732 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
23733 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
23734 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
23735 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
23736 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
23737 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
23738 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
23739 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
23740 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
23741 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
23742 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
23743 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
23744 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
23745 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
23746 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
23747 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
23748 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
23749 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
23750 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
23751 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
23752 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
23753 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
23754 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
23755 [XPG3] (acosh): Likewise.
23756 [XPG3] (asinh): Likewise.
23757 [XPG3] (atanh): Likewise.
23758 [XPG3] (cbrt): Likewise.
23759 [XPG3] (expm1): Likewise.
23760 [XPG3] (ilogb): Likewise.
23761 [XPG3] (log1p): Likewise.
23762 [XPG3] (logb): Likewise.
23763 [XPG3] (nextafter): Likewise.
23764 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
23765 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
23766 [XPG3] (remainder): Likewise.
23767 [XPG3] (rint): Likewise.
23768 [XPG3 || XPG4 || UNIX98] (round): Likewise.
23769 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
23770 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
23771 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
23772 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
23773 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
23774 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
23775 [UNIX98 || XOPEN2K] (scalb): Expect.
23776 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
23777 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
23778 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
23779 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
23780 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
23781 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
23782 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
23783 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
23784 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
23785 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
23786 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
23787 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
23788 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
23789 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
23790 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
23791 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
23792 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
23793 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
23794 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
23795 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
23796 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
23797 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
23798 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
23799 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
23800 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
23801 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
23802 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
23803 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
23804 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
23805 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
23806 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
23807 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
23808 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
23809 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
23810 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
23811 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
23812 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
23813 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
23814 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
23815 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
23816 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
23817 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
23818 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
23819 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
23820 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
23821 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
23822 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
23823 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
23824 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
23825 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
23826 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
23827 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
23828 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
23829 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
23830 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
23831 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
23832 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
23833 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
23834 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
23835 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
23836 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
23837 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
23838 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
23839 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
23840 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
23841 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
23842 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
23843 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
23844 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
23845 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
23846 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
23847 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
23848 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
23849 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
23850 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
23851 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
23852 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
23853 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
23854 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
23855 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
23856 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
23857 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
23858 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
23859 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
23860 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
23861 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
23862 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
23863 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
23864 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
23865 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
23866 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
23867 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
23868 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
23869 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
23870 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
23871 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
23872 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
23873 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
23874 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
23875 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
23876 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
23877 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
23878 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
23879 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
23880 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
23881 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
23882 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
23883 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
23884 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
23885 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
23886 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
23887 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
23888 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
23889 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
23890 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
23891 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
23892 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
23893 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
23894 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
23895 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
23896 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
23897 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
23898 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
23899 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
23900 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
23901 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
23902 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
23903 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
23904 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
23905 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
23906 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
23907 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
23908 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
23909 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
23910 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
23911 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
23912 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
23913
73c5ebe3
JM
23914 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
23915 _XOPEN_SOURCE_EXTENDED for XPG4.
23916
39c33b6c
JM
23917 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
23918
62fde54f
JM
23919 * Makeconfig (localtime): Remove variable.
23920 (inst_localtime-file): Likewise.
23921
0741d64c
AS
239222012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23923
23924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
23925 Update.
23926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23927 Update.
23928 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
23929 Update.
23930 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23931 Update.
23932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
23933 Update.
23934 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
23935 Update.
23936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23937 Update.
23938 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
23939 Update.
23940 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23941 Update.
23942
7cb029ee
JM
239432012-05-01 Joseph Myers <joseph@codesourcery.com>
23944
23945 [BZ #2550]
23946 [BZ #2570]
23947 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
23948 comparisons to determine direction to adjust input.
23949 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
23950 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
23951 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
23952 Likewise.
23953 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
23954 Likewise.
23955 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23956 Likewise.
23957 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
23958 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
23959 Likewise.
23960 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
23961 Likewise.
23962 * math/libm-test.inc (nexttoward_test): Add more tests.
23963
412bd966
AS
239642012-05-01 Andreas Schwab <schwab@linux-m68k.org>
23965
23966 [BZ #14040]
23967 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
23968 in version GLIBC_2.1, not GLIBC_2.0.
23969 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
23970 Likewise.
23971
9568c0c2
JM
239722012-04-30 Joseph Myers <joseph@codesourcery.com>
23973
adfbc8ac
JM
23974 [BZ #13942]
23975 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
23976 (1 - x) * (1 + x).
23977 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23978 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
23979 * math/libm-test.inc (acos_test): Add more tests.
23980 (asin_test): Likewise.
23981 * sysdeps/i386/fpu/libm-test-ulps: Update.
23982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23983
5ba3cc69
JM
23984 [BZ #14034]
23985 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
23986 of square root.
23987 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
23988 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
23989 * math/libm-test.inc (acos_test_tonearest): New function.
23990 (acos_test_towardzero): Likewise.
23991 (acos_test_downward): Likewise.
23992 (acos_test_upward): Likewise.
23993 (asin_test_tonearest): Likewise.
23994 (asin_test_towardzero): Likewise.
23995 (asin_test_downward): Likewise.
23996 (asin_test_upward): Likewise.
23997 (main): Call the new functions.
23998 * sysdeps/i386/fpu/libm-test-ulps: Update.
23999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24000
9568c0c2
JM
24001 [BZ #13884]
24002 [BZ #13924]
24003 * math/e_exp10.c: Include <float.h>.
24004 (__ieee754_exp10): Handle underflow here rather than multiplying
24005 large negative argument by M_LN10.
24006 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24007 of __ieee754_expf.
24008 * math/e_exp10l.c: Include <float.h>.
24009 (__ieee754_exp10l): Handle underflow here rather than multiplying
24010 large negative argument by M_LN10l.
24011 * math/libm-test.inc (exp10_test): Add another test. Do not allow
24012 spurious overflow exception on underflow.
24013
5ac3ea17
MP
240142012-04-29 Marek Polacek <polacek@redhat.com>
24015
24016 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24017 (__fortify_function): New macro.
24018 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24019 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24020 __extern_always_inline.
24021 * libio/bits/stdio2.h: Likewise.
24022 * libio/bits/stdio.h: Likewise.
24023 * string/string.h: Likewise.
24024 * string/bits/string3.h: Likewise.
24025 * include/stdio.h: Likewise.
24026 * stdlib/bits/stdlib.h: Likewise.
24027 * stdlib/stdlib.h: Likewise.
24028 * rt/bits/mqueue2.h: Likewise.
24029 * rt/mqueue.h: Likewise.
24030 * posix/bits/unistd.h: Likewise.
24031 * posix/unistd.h: Likewise.
24032 * io/bits/poll2.h: Likewise.
24033 * io/bits/fcntl2.h: Likewise.
24034 * io/fcntl.h: Likewise.
24035 * io/sys/poll.h: Likewise.
24036 * misc/bits/syslog.h: Likewise.
24037 * misc/bits/syslog-ldbl.h: Likewise.
24038 * misc/sys/syslog.h: Likewise.
24039 * socket/bits/socket2.h: Likewise.
24040 * socket/sys/socket.h: Likewise.
24041 * debug/tst-chk1.c: Likewise.
24042 * wcsmbs/bits/wchar2.h: Likewise.
24043 * wcsmbs/bits/wchar-ldbl.h: Likewise.
24044 * wcsmbs/wchar.h: Likewise.
24045
ecf0ebfb
AJ
240462012-04-29 Andreas Jaeger <aj@suse.de>
24047
24048 * Makerules (tests): Remove enable-check-abi protection.
24049 (check-abi-warn): Remove.
24050 (check-abi-%): Remove check-abi-warn usage.
24051
24052 * configure.in: Remove check-abi configure option.
24053 * configure: Regenerated.
24054 * config.make.in (enable-check-abi): Remove.
24055
6d5c57fa
AS
240562012-04-28 Andreas Schwab <schwab@linux-m68k.org>
24057
24c5d07e 24058 [BZ #14033]
ded5180a
AS
24059 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24060 double functions to double *_finite functions.
24061
7e0d315d
AS
24062 [BZ #13941]
24063 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24064 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24065 LDBL_MIN_EXP.
24066 * stdio-common/Makefile (tests): Add tst-sprintf3.
24067 * stdio-common/tst-sprintf3.c: New file.
24068
6d5c57fa
AS
24069 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24070 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24071
0749ff8b
JM
240722012-04-28 Joseph Myers <joseph@codesourcery.com>
24073
24074 * conform/conformtest.pl: Remove duplicate typed-constant
24075 handling.
24076
8dbd5d7b
DM
240772012-04-28 David S. Miller <davem@davemloft.net>
24078
24079 * Makerules (%.abilist): Add vpath on sysdep_dirs.
24080 (check-abi-%): Remove AWK script prerequisite and explicit
24081 abilist directory.
24082 (check-abi): Rewrite to just diff the symlist with the abilist.
24083 (config-tls, config-abi-config): Delete, no longer used.
24084 (update-abi-%): Remove AWK script and explicit abilist directory.
24085 (update-abi): Rewrite to simply compare and conditionally copy the
24086 symlist and the sysdep abilist file. Remove update-abi-config
24087 checks.
24088 * abilist/ld.abilist: Remove.
24089 * abilist/libBrokenLocale.abilist: Remove.
24090 * abilist/libanl.abilist: Remove.
24091 * abilist/libcrypt.abilist: Remove.
24092 * abilist/libdl.abilist: Remove.
24093 * abilist/librt.abilist: Remove.
24094 * abilist/libthread_db.abilist: Remove.
24095 * abilist/libutil.abilist: Remove.
24096 * scripts/extract-abilist.awk: Remove.
24097 * scripts/merge-abilist.awk: Remove.
24098 * sysdeps/generic/libcidn.abilist: New file.
24099 * sysdeps/generic/libnss_compat.abilist: New file.
24100 * sysdeps/generic/libnss_db.abilist: New file.
24101 * sysdeps/generic/libnss_dns.abilist: New file.
24102 * sysdeps/generic/libnss_files.abilist: New file.
24103 * sysdeps/generic/libnss_hesiod.abilist: New file.
24104 * sysdeps/generic/libnss_nis.abilist: New file.
24105 * sysdeps/generic/libnss_nisplus.abilist: New file.
24106 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24107 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24108 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24109 file.
24110 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24111 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24112 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24113 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24114 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24115 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24116 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24117 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24118 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24119 file.
24120 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24121 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24122 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24123 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24124 file.
24125 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24126 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24127 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24128 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24129 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24130 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24131 file.
24132 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24133 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24134 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24135 file.
24136 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24137 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24138 New file.
24139 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24140 New file.
24141 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24142 New file.
24143 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24144 New file.
24145 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24146 New file.
24147 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24148 New file.
24149 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24150 New file.
24151 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24152 New file.
24153 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24154 New file.
24155 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24156 New file.
24157 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24158 New file.
24159 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24160 New file.
24161 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24162 New file.
24163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24164 file.
24165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24166 New file.
24167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24168 New file.
24169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24170 file.
24171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24172 New file.
24173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24174 New file.
24175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24176 file.
24177 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24178 New file.
24179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24180 New file.
24181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24182 New file.
24183 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24184 New file.
24185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24186 New file.
24187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24188 New file.
24189 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24190 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24191 file.
24192 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24193 New file.
24194 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24195 file.
24196 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24197 file.
24198 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24199 file.
24200 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24201 file.
24202 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24203 file.
24204 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24205 New file.
24206 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24207 file.
24208 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24209 file.
24210 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24211 New file.
24212 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24213 file.
24214 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24215 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24216 file.
24217 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24218 New file.
24219 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24220 file.
24221 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24222 file.
24223 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24224 file.
24225 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24226 file.
24227 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24228 file.
24229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24230 New file.
24231 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24232 file.
24233 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24234 file.
24235 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24236 New file.
24237 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24238 file.
24239 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24240 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24241 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24242 file.
24243 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24244 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24245 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24246 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24247 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24248 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24249 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24250 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24251 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24252 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24253 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24254 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24255 file.
24256 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24257 New file.
24258 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24259 file.
24260 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24261 file.
24262 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24263 file.
24264 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24265 file.
24266 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24267 file.
24268 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24269 New file.
24270 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24271 New file.
24272 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24273 file.
24274 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24275 New file.
24276 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24277 file.
24278 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24279 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24280 file.
24281 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24282 New file.
24283 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24284 file.
24285 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24286 file.
24287 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24288 file.
24289 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24290 file.
24291 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24292 file.
24293 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24294 New file.
24295 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24296 New file.
24297 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24298 file.
24299 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24300 New file.
24301 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24302 file.
24303
41d73a1b
JM
243042012-04-28 Joseph Myers <joseph@codesourcery.com>
24305
24306 * conform/conformtest.pl: Fix typo in handling typed-constant from
24307 allow-header.
24308
28aeeda4
JM
243092012-04-27 Joseph Myers <joseph@codesourcery.com>
24310
adae8f5e
JM
24311 * README: Cut down references to pre-2.6 Linux kernels and
24312 Linuxthreads. Update lists of configurations in libc and ports
24313 and sort alphabetically. Say "or newer" with Linux kernel version
24314 requirements.
24315
28aeeda4
JM
24316 * config.h.in [IS_IN_build]: Allow compiling without optimization.
24317
a462cb63
RA
243182012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
24319
24320 [BZ #887]
24321 * math/libm-test.inc (logb_test_downward): New test to expose
24322 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24323 rounding mode.
24324
6ad3493e
JM
243252012-04-27 Joseph Myers <joseph@codesourcery.com>
24326
24327 [BZ #14027]
24328 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24329 to be done.
24330 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24331 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24332
2ce4f015
JM
243332012-04-26 Joseph Myers <joseph@codesourcery.com>
24334
5aeb141a
JM
24335 * sysdeps/unix/i386/brk.S: Remove file.
24336 * sysdeps/unix/i386/dl-brk.S: Likewise.
24337 * sysdeps/unix/i386/pipe.S: Likewise.
24338 * sysdeps/unix/i386/sigreturn.S: Likewise.
24339 * sysdeps/unix/i386/syscall.S: Likewise.
24340 * sysdeps/unix/i386/vfork.S: Likewise.
24341 * sysdeps/unix/i386/wait.S: Likewise.
24342
7143acae
JM
24343 * sysdeps/unix/common/tcsendbrk.c: Move to ...
24344 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24345
2ce4f015
JM
24346 * configure.in (arm*-none*): Do not allow without
24347 --enable-hacker-mode.
24348 (netbsd*): Remove case setting base_os.
24349 (386bsd*): Likewise.
24350 (freebsd*): Likewise.
24351 (bsdi*): Likewise.
24352 (osf*): Likewise.
24353 (sunos*): Likewise.
24354 (ultrix*): Likewise.
24355 (newsos*): Likewise.
24356 (dynix*): Likewise.
24357 (*bsd*): Likewise.
24358 (sysv*): Likewise.
24359 (isc*): Likewise.
24360 (esix*): Likewise.
24361 (sco*): Likewise.
24362 (minix*): Likewise.
24363 (irix4*): Likewise.
24364 (irix6*): Likewise.
24365 (solaris[2-9]*): Likewise.
24366 (none): Likewise.
24367 * configure: Regenerated.
24368
0ac229c8
AZ
243692012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24370
24371 [BZ #11521]
24372 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24373 overflow or cancellation in calculating denominator.
24374 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24375 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24376 down expression to avoid unexpected rounding in newer GCCs.
24377 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24378
33f244f4
DM
243792012-04-26 David S. Miller <davem@davemloft.net>
24380
24381 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24382 long-double compat symbols.
24383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
24386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
24387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
24388 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
24389 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
24390 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
24391 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
24392 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
24393 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
24394 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
24395 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
24396
cfa1f3e8
DM
243972012-04-25 David S. Miller <davem@davemloft.net>
24398
24399 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
24400 HWCAP_* values only after the memory barriers have been defined.
24401 (atomic_full_barrier): Define.
24402 (atomic_read_barrier): Define.
24403 (atomic_write_barrier): Define.
24404
6e236b92
SP
244052012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
24406
24407 * shlib-versions: Add libgcc_s version information.
24408 * sysdeps/generic/libgcc_s.h: Remove.
24409 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
24410 libgcc_s.h.
24411 * sysdeps/gnu/unwind-resume.c: Likewise.
24412 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
24413
aab39a09
DM
244142012-04-25 David S. Miller <davem@davemloft.net>
24415
24416 * sysdeps/unix/sparc/brk.S: Delete.
24417 * sysdeps/unix/sparc/dl-brk.S: Delete.
24418 * sysdeps/unix/sparc/pipe.S: Delete.
24419 * sysdeps/unix/sparc/sysdep.S: Delete.
24420 * sysdeps/unix/sparc/sysdep.h: Delete.
24421 * sysdeps/unix/sparc/vfork.S: Delete.
24422 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
24423 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
24424 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
24425 ret_ERRVAL, r0, r1, MOVE): Define.
24426 (JUMPTARGET): Remove.
24427 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
24428 sysdeps/unix/sparc/sysdep.h
24429 (ENTRY, END): Remove.
24430 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24431
a3cc4f48
JM
244322012-04-25 Joseph Myers <joseph@codesourcery.com>
24433
2ed8cda2
JM
24434 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
24435 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
24436 -DIS_IN_build.
24437
35d76d59
JM
24438 * timezone/README: Update upstream location and email address for
24439 tzcode and tzdata.
24440 * timezone/zdump.c: Update from tzcode 2012b.
24441 * timezone/zic.c: Likewise.
24442
a3cc4f48
JM
24443 * configure.in (libc_cv_as_needed): Remove test.
24444 * configure: Regenerated.
24445 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
24446 conditional definition.
24447 [$(have-as-needed) != yes] (no-as-needed): Likewise.
24448 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
24449 * config.make.in (have-as-needed): Remove variable.
24450
ceab42c3
SP
244512012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
24452 Paul Pluzhnikov <ppluzhnikov@google.com>
24453
24454 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
24455 strings correctly.
24456
3ce2865f
CLT
244572012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
24458
24459 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
24460 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
24461 * sysdeps/sh/strlen.S: Likewise.
24462
f37e0d68
JM
244632012-04-24 Joseph Myers <joseph@codesourcery.com>
24464
ae186e9a
JM
24465 * sysdeps/unix/fork.S: Remove file.
24466 * sysdeps/unix/i386/fork.S: Likewise.
24467 * sysdeps/unix/sparc/fork.S: Likewise.
24468
b96914af
JM
24469 * sysdeps/unix/system.c: Remove file.
24470 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
24471
f37e0d68
JM
24472 * sysdeps/unix/getegid.S: Remove file.
24473 * sysdeps/unix/geteuid.S: Likewise.
24474
87ef29ca
RM
244752012-04-24 Roland McGrath <roland@hack.frob.com>
24476
83bcd236
RM
24477 * scripts/check-localplt.awk: New file.
24478 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
24479 of diff.
24480 * scripts/data/localplt-generic.data: Add a comment.
24481
87ef29ca
RM
24482 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
24483 NODE when __dir_mkfile failed.
24484 * sysdeps/mach/hurd/symlinkat.c: Likewise.
24485 Reported by Ludovic Courtès <ludo@gnu.org>.
24486
e5a6e567
AJ
244872012-04-24 Andreas Jaeger <aj@suse.de>
24488
24489 * Makerules (common-clean): Also remove gen-as-const-headers
24490 files.
24491
c1820385
JM
244922012-04-24 Joseph Myers <joseph@codesourcery.com>
24493
24494 * Makerules (native-compile): Do not change working directory for
24495 build. Use $(OUTPUT_OPTION) in command.
24496 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
24497
94e02fc4
AZ
244982012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24499
24500 [BZ #13886]
24501 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
24502 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
24503 * math/libm-test.inc (floor_test): Add more tests.
24504 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
24505
3a533ca3
JM
245062012-04-24 Joseph Myers <joseph@codesourcery.com>
24507
940ab4b3
JM
24508 * sysdeps/unix/getdents.c: Remove file.
24509 * sysdeps/unix/sysv/getdents.c: Likewise.
24510 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
24511
90e037bd
JM
24512 * sysdeps/unix/syscalls.list (madvise): Add syscall from
24513 sysdeps/unix/mman/syscalls.list.
24514 (mmap): Likewise.
24515 (mprotect): Likewise.
24516 (msync): Likewise.
24517 (munmap): Likewise.
24518 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
24519 * sysdeps/unix/mman/syscalls.list: Remove.
24520 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
24521
3a533ca3
JM
24522 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
24523 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
24524 * configure: Regenerated.
24525 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
24526 $(libgcc_s_suffix).
24527 * config.make.in (libgcc_s_suffix): Remove variable.
24528
1ad743de
JM
245292012-04-23 Joseph Myers <joseph@codesourcery.com>
24530
4ad451e2
JM
24531 * sysdeps/unix/sysv/gethostname.c: Move to ...
24532 * sysdeps/posix/gethostname.c: ... here.
24533
5e37ce39
JM
24534 * sysdeps/unix/execve.S: Remove file.
24535
1ad743de
JM
24536 * sysdeps/unix/_exit.S: Remove file.
24537
4e681b5b
AJ
245382012-04-23 Andreas Jaeger <aj@suse.de>
24539
24540 [BZ #13739]
24541 * manual/Makefile: Remove make dist support, there's no
24542 need for a stand-alone documentation tar ball.
24543 (TEXI2DVI): Define always, it's not in Makeconfig.
24544 (dist): Removed.
24545 (tar-it): Removed.
24546 (edition): Removed.
24547 (glibc-doc-$(edition).tar): Removed
24548 (%.Z): Removed.
24549 (%.gz): Removed.
24550 (%.uu): Removed.
24551 (ETAGS): Remove, it's in Makeconfig.
24552 (move-if-change): Remove, it's in Makeconfig.
24553
38686a03 245542012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
24555
24556 [BZ #13970]
24557 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
24558 (strtod, strtof, strtold, strtol, strtoul, strtoq)
24559 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
24560 (strtod_l, strtof_l, strtold_l): Remove __wur.
24561 It is not necessarily an error to ignore strtol's return value.
24562 One can reliably look at the stored endptr to decide whether
24563 the number had valid syntax.
24564
7c0616fa
AJ
245652012-04-21 Andreas Jaeger <aj@suse.de>
24566
803cb6b7 24567 [BZ #13739]
7c0616fa
AJ
24568 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
24569
b0fe253f
JM
245702012-04-21 Joseph Myers <joseph@codesourcery.com>
24571
24572 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
24573 * sysdeps/unix/sysv/Versions: Remove file.
24574
8280f22d
MT
245752012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
24576
24577 [BZ #13927]
24578 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24579
75ce411f 245802012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
24581
24582 [BZ #7064]
24583 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
24584 version from __vm86.
24585
097d59fa
JM
245862012-04-20 Joseph Myers <joseph@codesourcery.com>
24587
a90f3bcb
JM
24588 * sysdeps/unix/common/lxstat.c: Remove file.
24589 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
24590
edc7ea78
JM
24591 * sysdeps/unix/sysv/Makefile: Remove file.
24592
cb78c221
JM
24593 * sysdeps/unix/sysv/direct.h: Remove file.
24594
efa6a45f
JM
24595 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
24596 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
24597 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
24598 * sysdeps/unix/sysv/bits/signum.h: Likewise.
24599 * sysdeps/unix/sysv/bits/stat.h: Likewise.
24600 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
24601 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
24602
9c9f2d0c
JM
24603 * sysdeps/unix/sysv/setrlimit.c: Remove file.
24604
4541c83b
JM
24605 * sysdeps/unix/xmknod.c: Remove file.
24606 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
24607
f5d153a0
JM
24608 * sysdeps/unix/sysv/settimeofday.c: Remove file.
24609
aa746595
JM
24610 * sysdeps/unix/sysv/i386/time.S: Remove file.
24611
cce5905e
JM
24612 * sysdeps/unix/fxstat.c: Remove file.
24613 * sysdeps/unix/xstat.c: Likewise.
24614 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
24615
37fa3841
JM
24616 * sysdeps/unix/sysv/sigaction.c: Remove file.
24617
ff1962a3
JM
24618 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
24619 (sysdep_headers): Remove variable.
24620 [termio.h not in sysdep_headers] (generated): Likewise.
24621 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
24622 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
24623 * sysdeps/unix/sysv/tcdrain.c: Likewise.
24624 * sysdeps/unix/sysv/tcflow.c: Likewise.
24625 * sysdeps/unix/sysv/tcflush.c: Likewise.
24626 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
24627 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
24628 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
24629 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
24630 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
24631
e7740d31
JM
24632 * sysdeps/unix/siglist.c: Remove file.
24633
ee06f18b
JM
24634 * sysdeps/unix/getppid.S: Remove file.
24635
097d59fa
JM
24636 * sysdeps/unix/mkdir.c: Remove file.
24637 * sysdeps/unix/rmdir.c: Likewise.
24638
ff3d51ec
AS
246392012-04-19 Andreas Schwab <schwab@linux-m68k.org>
24640
24641 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
24642 ERR_MAX value.
24643 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
24644 errlist-compat value.
24645
50f81fd7
DM
246462012-04-18 David S. Miller <davem@davemloft.net>
24647
24648 * sysdeps/generic/memcopy.h (reg_char): Delete.
24649 * debug/strcat_chk.c: Use char, not reg_char.
24650 * debug/strcpy_chk.c: Likewise.
24651 * debug/strncat_chk.c: Likewise.
24652 * debug/strncpy_chk.c: Likewise.
24653 * string/memchr.c: Likewise.
24654 * string/memrchr.c: Likewise.
24655 * string/rawmemchr.c: Likewise.
24656 * string/strcat.c: Likewise.
24657 * string/strchr.c: Likewise.
24658 * string/strchrnul.c: Likewise.
24659 * string/strcmp.c: Likewise.
24660 * string/strcpy.c: Likewise.
24661 * string/strncat.c: Likewise.
24662 * string/strncmp.c: Likewise.
24663 * string/strncpy.c: Likewise.
24664
8ff41c46
WS
246652012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24666
24667 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
24668 __builtin_memcopy is called when src and dest ranges are known to not
24669 overlap.
24670
6b652f46
WS
246712012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24672
24673 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
24674 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
24675 fwd_align_merge macro call.
24676 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
24677 bwd_align_merge macro call.
24678 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24679
b282631e
WS
246802012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
24681
24682 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
24683 bwd_align_merge macros.
24684 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
24685 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
24686 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24687
95aa737c
DM
246882012-04-18 David S. Miller <davem@davemloft.net>
24689
24690 * sysdeps/sparc/sparc64/memcopy.h: Delete.
24691
7a99a614
AJ
246922012-04-18 Andreas Jaeger <aj@suse.de>
24693
24694 [BZ# 6794]
24695 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
24696 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
24697 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24698
24699 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
24700 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
24701 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24702
24703 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
24704 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
24705 Adjust for changed ldbl-128 files.
24706
24707 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
24708 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
24709 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
24710
e5270c23
DM
247112012-04-17 David S. Miller <davem@davemloft.net>
24712
24713 * sysdeps/sparc/sparc32/memcopy.h: Delete.
24714
fb5e92c9
AS
247152012-04-17 Andreas Schwab <schwab@linux-m68k.org>
24716
24717 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
24718 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
24719 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
24720 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
24721 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
24722 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
24723
76da7265
AZ
247242012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24725
24726 [BZ #6794]
24727 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
24728 * math/libm-test.inc: Add ilogb errno and exception tests.
24729 * math/w_ilogb.c: New file: ilogb wrapper.
24730 * math/w_ilogbf.c: New file: ilogbf wrapper.
24731 * math/w_ilogbl.c: New file: ilogbl wrapper.
24732 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
24733 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
24734 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
24735 exception being thrown with 0.0 as argument.
24736 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
24737 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
24738 exception being thrown with 0.0 as argument.
24739 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
24740 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24741 exception being thrown with 0.0 as argument.
24742 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
24743 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
24744 exception being thrown with 0.0 as argument.
24745 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
24746 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 24747 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
24748 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
24749 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
24750 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
24751 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
24752 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
24753 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
24754
0396e69d
PB
247552012-04-17 Petr Baudis <pasky@ucw.cz>
24756
24757 * include/sys/uio.h: Change __vector to __iovec to avoid clash
24758 with altivec.
24759
750b5926
MP
247602012-04-16 Marek Polacek <polacek@redhat.com>
24761
24762 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
24763
751728a1
MP
247642012-04-16 Marek Polacek <polacek@redhat.com>
24765
24766 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
24767 operands of fdivp instruction.
24768
34a27407
L
247692012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24770
24771 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
24772 * elf/tst-auditmod3b.c: Likewise.
24773 * elf/tst-auditmod4b.c: Likewise.
24774 * elf/tst-auditmod5b.c: Likewise.
24775 * elf/tst-auditmod6b.c: Likewise.
24776 * elf/tst-auditmod6c.c: Likewise.
24777 * elf/tst-auditmod7b.c: Likewise.
24778 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
24779 * sysdeps/x86_64/preconfigure.in: Likewise.
24780 * sysdeps/x86_64/preconfigure: Regenerated.
24781
7e73e17d
L
247822012-04-13 H.J. Lu <hongjiu.lu@intel.com>
24783
24784 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
24785 __ILP32__.
24786
c7a6ab72
AB
247872012-04-13 Antoine Balestrat <merkil33@gmail.com>
24788
24789 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24790 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
24791
a9e8e0e0
CL
247922012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
24793
24794 [BZ #13973]
24795 * locale/iso-639.def: Fix gl language name. Spotted by
24796 Yaron Shahrabani.
24797
ec98af7d
RM
247982012-04-12 Roland McGrath <roland@hack.frob.com>
24799
24800 [BZ #2074]
24801 * libio/libio.h (__io_write_fn): Update comment.
24802
247c3ede
PB
248032012-04-12 Petr Baudis <pasky@ucw.cz>
24804
24805 [BZ #2074]
24806 * stdio.texi (Hook Functions): The user provided writer function
24807 is not allowed to return -1.
24808
55939d6d
DM
248092012-04-11 David S. Miller <davem@davemloft.net>
24810
24811 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24812
90020f5a
MF
248132012-04-11 Mike Frysinger <vapier@gentoo.org>
24814
24815 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
24816 Add a leading slash to rtkaio.
24817
288f9098
JM
248182012-04-11 Jim Meyering <meyering@redhat.com>
24819
90020f5a
MF
24820 [BZ #11959]
24821 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
24822 It is not necessarily an error to ignore fwrite's return
24823 value. One can reliably use ferror to test for errors after
24824 the fact.
288f9098 24825
4be2b570
L
248262012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24827
24828 * bits/types.h (__snseconds_t): New type.
24829 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
24830
24831 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
24832 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24833 (__SNSECONDS_T_TYPE): Likewise.
24834 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24835 (__SNSECONDS_T_TYPE): Likewise.
24836 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24837 (__SNSECONDS_T_TYPE): Likewise.
24838
288f9098 248392012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
24840
24841 [BZ #2636]
24842 * manual/time.texi (Processor Time): Return type of times is
24843 elapsed real time since an arbitrary point in the past.
24844 (CPU Time): Move CLK_TCK from here...
24845 (Processor Time): ...to here. Correct description.
24846 * manual/conf.texi (Constants for Sysconf): Correct description of
24847 _SC_CLK_TCK.
24848
d7dd4413
DM
248492012-04-10 David S. Miller <davem@davemloft.net>
24850
24851 [BZ #13967]
24852 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
24853 where the is a gap between DT_REL(A) and DT_JMPREL.
24854
b46068fc
L
248552012-04-10 H.J. Lu <hongjiu.lu@intel.com>
24856
24857 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
24858 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24859 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24860
73d65cc3
SP
248612012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24862
24863 * elf/dl-support.c (_dl_inhibit_cache): New variable.
24864 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
24865 (dl_main): Handle --inhibit-cache.
24866 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
24867 _dl_inhibit_cache.
24868 * elf/dl-load.c (_dl_map_object): Use it.
24869 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
24870
bcc8d661
JM
248712012-04-09 Joseph Myers <joseph@codesourcery.com>
24872
8f9a2fae
JM
24873 [BZ #13872]
24874 * sysdeps/i386/fpu/e_powl.S (p78): New object.
24875 (__ieee754_powl): Saturate large exponents rather than testing for
24876 overflow of y*log2(x).
24877 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24878 * math/libm-test.inc (pow_test): Do not permit spurious overflow
24879 exceptions.
24880
bcc8d661
JM
24881 [BZ #11521]
24882 * math/s_ctan.c: Include <float.h>.
24883 (__ctan): Avoid internal overflow or cancellation in calculating
24884 denominator.
24885 * math/s_ctanf.c: Likewise.
24886 * math/s_ctanl.c: Likewise.
24887 * math/s_ctanh.c: Likewise.
24888 * math/s_ctanhf.c: Likewise.
24889 * math/s_ctanhl.c: Likewise.
24890 * math/libm-test.inc (ctan_test): Add more tests.
24891 (ctanh_test): Likewise.
24892 * sysdeps/i386/fpu/libm-test-ulps: Update.
24893 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24894
823fbbb4
AJ
248952012-04-09 Andreas Jaeger <aj@suse.de>
24896
03879793
AJ
24897 [BZ #6894]
24898 * manual/filesys.texi (Directory Entries): Mention that d_namlen
24899 is an optional BSD extension.
24900
823fbbb4
AJ
24901 [BZ #10254]
24902 * manual/stdio.texi (Opening Streams): Document additional fopen
24903 parameters.
24904
8de131cb
RM
249052012-04-09 Roland McGrath <roland@hack.frob.com>
24906
24907 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
24908 %eax without telling the compiler.
24909
c0ed9d7d
CD
249102012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
24911
24912 [BZ # 13963]
24913 * manual/install.texi: Use sourceware.org.
24914
c483f6b4
JM
249152012-04-09 Joseph Myers <joseph@codesourcery.com>
24916
d7dd9453
JM
24917 [BZ #13873]
24918 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
24919 (__ieee754_pow): Generate overflow and underflow using huge*huge
24920 and tiny*tiny rather than just returning constant infinity or zero
24921 for large exponents.
24922 * math/libm-test.inc (pow_test): Require overflow exceptions for
24923 applicable cases of large exponents.
24924
c483f6b4
JM
24925 [BZ #706]
24926 * sysdeps/i386/fpu/e_pow.S (p10): New object.
24927 (__ieee754_pow): Use iterative multiplication algorithm only for
24928 integer exponents with absolute value below 1024. Check for odd
24929 integer exponents when using algorithm for real exponents.
24930 * math/libm-test.inc (pow_test): Add more tests.
24931 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24932
d2de7579
JM
249332012-04-08 Joseph Myers <joseph@codesourcery.com>
24934
24935 [BZ #13705]
24936 * math/libm-test.inc (exp_test): Do not allow overflow exception
24937 on underflow test.
24938
f77f1232
AJ
249392012-04-08 Aurelien Jarno <aurelien@aurel32.net>
24940
24941 [BZ #13705]
24942 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
24943 instead of __kernel_standard_f.
24944
3884932b
MF
249452012-04-08 Mike Frysinger <vapier@gentoo.org>
24946
24947 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
24948 * sysdeps/x86_64/memset_chk.S: Likewise.
24949
54472e9c
AJ
249502012-04-08 Andreas Jaeger <aj@suse.de>
24951
6ab0fbfc
AJ
24952 [BZ #10153]
24953 * manual/startup.texi (Environment Access): Describe return value
24954 for putenv and setenv.
24955
61efba8c
AJ
24956 [BZ #6895]
24957 * manual/filesys.texi (Directory Entries): Add description for
24958 DT_LNK.
24959
95c3f29a
AJ
24960 [BZ #6890]
24961 * manual/filesys.texi (Directory Entries): Clarify that it's file
24962 system not operating system in the description of DT_UNKNOWN.
24963
54472e9c
AJ
24964 [BZ #6578]
24965 * manual/syslog.texi (closelog): Fix reference, it's openlog.
24966
624254b1
SC
249672012-04-08 Stephen Compall <s11@member.fsf.org>
24968
24969 [BZ #6649]
24970 * manual/llio.texi (Opening and Closing Files): Add cross
24971 reference to explain mode argument.
24972
1e4920e0
MF
249732012-04-07 Mike Frysinger <vapier@gentoo.org>
24974
24975 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
24976 * sysdeps/x86_64/memset_chk.S: Likewise.
24977
5ed848f3
DM
249782012-04-07 David S. Miller <davem@davemloft.net>
24979
24980 * elf/elf.h (R_SPARC_WDISP10): Define.
24981 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
24982 R_SPARC_SIZE32.
24983 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
24984 R_SPARC_SIZE64 and R_SPARC_H34.
24985
96154cd8
CD
249862012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
24987
24988 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
24989 conditions and remove no longer applicable assertion.
24990
9904dc47
L
249912012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24992
24993 * bits/byteswap.h: Include <features.h>.
24994 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
24995 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
24996
f8887d0a
L
249972012-04-06 H.J. Lu <hongjiu.lu@intel.com>
24998
24999 * bits/byteswap.h (__bswap_16): Removed.
25000 Include <bits/byteswap-16.h> to get __bswap_16.
25001 * sysdeps/i386/bits/byteswap.h: Likewise.
25002 * sysdeps/s390/bits/byteswap.h: Likewise.
25003 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25004 * bits/byteswap-16.h: New file.
25005 * sysdeps/i386/bits/byteswap-16.h: Likewise.
25006 * sysdeps/s390/bits/byteswap-16.h: Likewise.
25007 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25008 * string/Makefile (headers): Add bits/byteswap-16.h.
25009
62470f60
PP
250102012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
25011
25012 [BZ #13895]
25013 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25014 extra indirection.
25015 * nss/Makefile (tests-static, tests): Add tst-nss-static.
25016 * nss/tst-nss-static.c: New.
25017
4dad7bab
RM
250182012-04-06 Robert Millan <rmh@gnu.org>
25019
25020 [BZ #6486]
25021 * manual/llio.texi (File Position Primitive): lseek
25022 refers to WHENCE when it really means OFFSET.
25023
e9142a17
AJ
250242012-04-06 Andreas Jaeger <aj@suse.de>
25025
2c040eff
AJ
25026 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25027 strncmp declarations.
25028
e9142a17
AJ
25029 * abilist/libc.abilist: Add __poll and __ppoll.
25030
ff9f1c5f
DM
250312012-04-05 David S. Miller <davem@davemloft.net>
25032
dcd2ae90
DM
25033 * scripts/check-local-headers.sh: Accept a host triplet in the
25034 path matched by the exclude regexp.
25035
993eb054
DM
25036 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25037 definition.
25038 * sysdeps/powerpc/powerpc32/dl-machine.h
25039 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25040 * sysdeps/s390/s390-32/dl-machine.h
25041 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25042 * sysdeps/sparc/sparc32/dl-machine.h
25043 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25044 * sysdeps/sparc/sparc64/dl-machine.h
25045 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25046
ff9f1c5f
DM
25047 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25048 lazy binding.
48e2e132 25049 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
25050 undefined symbol errors.
25051
48e2e132 25052 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
25053 DT_NEEDED entries.
25054
e80d6f94
MM
250552012-04-05 Michael Matz <matz@suse.de>
25056
25057 [BZ #13592]
25058 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25059
349fa79f
AJ
250602012-04-05 Andreas Jaeger <aj@suse.de>
25061
25062 [BZ #13908]
25063 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25064 comment.
25065
f402708f
KK
250662012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25067
25068 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25069 which ROUND is no valid rounding mode.
25070
2ecccfc9
KK
250712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25072
25073 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25074 read again.
25075 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25076
8a53f50f
KK
250772012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25078
25079 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25080 an exception using FPU order intentionally.
25081
250822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
25083
25084 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25085 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25086 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25087 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25088
d653abb7
SJ
250892012-04-05 Simon Josefsson <simon@josefsson.org>
25090
25091 [BZ #12340]
25092 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25093 EINVAL when BUFLEN is too smal.
25094
c3b1bf7d
TS
250952012-04-05 Thomas Schwinge <thomas@codesourcery.com>
25096
25097 [BZ #13553]
25098 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25099 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25100
b1aa60f3
AJ
251012012-04-03 Andreas Jaeger <aj@suse.de>
25102
c3b1bf7d 25103 [BZ #13938]
67f60a26
AJ
25104 * manual/setjmp.texi (System V contexts): Fix sentence.
25105
b1aa60f3
AJ
25106 [BZ #13926]
25107 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25108 New macro for this case.
25109 [!__GNUC__] (__bswap_64): New inline function for this case.
25110 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25111 * bits/byteswap.h: Likewise.
25112 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25113 ull, guard with __GLIBC_HAVE_LONG_LONG.
25114
25115 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25116 __GLIBC_HAVE_LONG_LONG.
25117
25118 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25119 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25120
39c59c35
TMQMF
251212012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25122
25123 [BZ #13691]
25124 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25125 inptr and inend, rather than using last_ch.
25126
135ffda8
DM
251272012-04-02 David S. Miller <davem@davemloft.net>
25128
25129 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25130 * stdio-common/printf-parse.h (read_int): Change return type to
25131 'int', return -1 on INT_MAX overflow.
25132 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25133 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
25134 overflows INT_MAX. Check for overflow of in-format-string precision
25135 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
25136 SIZE_MAX not INT_MAX for integer overflow test.
25137 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25138 skip the construct in the format string but do not record anything.
25139 * stdio-common/bug22.c: Adjust to test both width/prevision
25140 INT_MAX overflow as well as total length INT_MAX overflow. Check
25141 explicitly for proper errno values.
25142
228c019e
TS
251432012-04-02 Thomas Schwinge <thomas@codesourcery.com>
25144
302cadd3
TS
25145 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25146 CHAR_MAX.
25147 * string/test-strcmp.c [! WIDE]: Likewise.
25148 * time/tst-mktime2.c: Likewise for INT_MAX.
25149 * string/test-string.h: #include <sys/param.h> for MIN.
25150
228c019e
TS
25151 * csu/init-first.c (__libc_init_first): Call __ctype_init.
25152 * sysdeps/i386/init-first.c (init): Likewise.
25153 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25154 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25155 * sysdeps/sh/init-first.c (init): Likewise.
25156
cfa633f5
UD
251572012-04-01 Ulrich Drepper <drepper@gmail.com>
25158
25159 * po/ru.po: Update from translation team.
d1635ef8 25160 * po/vi.po: Likewise.
cfa633f5 25161
6cd0a5ea
SP
251622012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
25163
25164 * resolv/nss_dns/dns-host.c: Merge copyright years.
25165
4b43400f
LD
251662012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25167
25168 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25169 Optimize memcpy with prefetch if
25170 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
25171 src, dst pointers have unequal 16 byte alignments.
25172
48c41d04
SP
251732012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
25174
25175 [BZ #13928]
25176 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25177 from a CNAME entry and return the minimum ttl for the query.
25178 (gaih_getanswer_slice): Likewise.
25179
b8dc394d
JL
251802012-03-30 Jeff Law <law@redhat.com>
25181
25182 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25183 due to long keys.
25184 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25185 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25186
2f5a5ed0
JL
25187 * resolv/nss_dns/dns-host.c: Update copyright year.
25188
1d39e359
UD
251892012-03-30 Ulrich Drepper <drepper@gmail.com>
25190
c030f70c 25191 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 25192 requests to save a system call. Fix check that all bytes are sent.
c030f70c 25193
1d39e359
UD
25194 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25195 comments for sendmmsg.
25196
251972012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
25198
25199 [BZ #13691]
25200 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25201 with only 1 character between 0x0041 and 0x01b0.
25202 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25203 * wcsmbs/tst-mbsnrtowcs.c: New file.
25204
20fde227
DM
252052012-03-29 David S. Miller <davem@davemloft.net>
25206
25207 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25208 small copies by hand.
25209
984a4237
JL
252102012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
25211
25212 [BZ #13761]
25213 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25214 _nss_compat_initgroups_dyn): Fall back to malloc/free
25215 for large group memberships.
25216
18c9d62b
DM
252172012-03-28 David S. Miller <davem@davemloft.net>
25218
88d85d4f
DM
25219 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25220 that branches into memcpy.
25221 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25222 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25223 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25224 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25225 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25226 bits.
25227 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25228 implementation too.
25229 * sysdeps/sparc/mempcpy.S: New file.
25230
e5aa83e1
DM
25231 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25232 the IFUNC routine in the libc case.
25233 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25234
88570753
DM
25235 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25236 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25237 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25238 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25239 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25240 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25241 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25242 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25243
249d7567
DM
25244 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25245 loop to 256 bytes instead of 64 bytes and fix test signedness.
25246
18c9d62b
DM
25247 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25248 * sysdeps/sparc/sparc32/Makefile: rather than here...
25249 * sysdeps/sparc/sparc64/Makefile: and here.
25250
05f3d1f6
UD
252512012-03-28 Ulrich Drepper <drepper@gmail.com>
25252
25253 * malloc/mallocbug.c: Avoid warnings about unused variables.
25254
86ae07a8
JL
252552012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
25256
25257 [BZ #13760]
25258 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25259 in the right place. Discard and retry query if response is
25260 larger than input buffer size.
25261
41bf21a1
JM
252622012-03-28 Joseph Myers <joseph@codesourcery.com>
25263
d6270972
JM
25264 [BZ #369]
25265 [BZ #2678]
25266 [BZ #3866]
25267 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25268 x for large integer exponent.
25269 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25270 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
25271 sign of result as needed afterwards.
25272 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25273 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25274 result for underflowing pow the same as for overflow.
25275 (__kernel_standard_l): Handle powl overflow and underflow here
25276 rather than calling __kernel_standard.
25277 * math/libm-test.inc (pow_test): Add more tests.
25278
414fca03 25279 [BZ #3868]
41bf21a1
JM
25280 [BZ #13879]
25281 [BZ #13910]
25282 [BZ #13911]
25283 [BZ #13912]
25284 [BZ #13913]
25285 [BZ #13915]
25286 [BZ #13916]
25287 [BZ #13917]
25288 [BZ #13918]
25289 [BZ #13919]
25290 [BZ #13920]
25291 [BZ #13921]
25292 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25293 * sysdeps/ieee754/k_standard.c: Include <float.h>.
25294 (__kernel_standard_l): New function.
25295 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25296 __kernel_standard.
25297 * math/w_acosl.c (__acosl): Likewise.
25298 * math/w_asinl.c (__asinl): Likewise.
25299 * math/w_atan2l.c (__atan2l): Likewise.
25300 * math/w_atanhl.c (__atanhl): Likewise.
25301 * math/w_coshl.c (__coshl): Likewise.
25302 * math/w_exp10l.c (__exp10l): Likewise.
25303 * math/w_exp2l.c (__exp2l): Likewise.
25304 * math/w_fmodl.c (__fmodl): Likewise.
25305 * math/w_hypotl.c (__hypotl): Likewise.
25306 * math/w_j0l.c (__j0l, __y0l): Likewise.
25307 * math/w_j1l.c (__j1l, __y1l): Likewise.
25308 * math/w_jnl.c (__jnl, __ynl): Likewise.
25309 * math/w_lgammal.c (__lgammal): Likewise.
25310 * math/w_log10l.c (__log10l): Likewise.
25311 * math/w_log2l.c (__log2l): Likewise.
25312 * math/w_logl.c (__logl): Likewise.
25313 * math/w_powl.c (__powl): Likewise.
25314 * math/w_remainderl.c (__remainderl): Likewise.
25315 * math/w_scalbl.c (sysv_scalbl): Likewise.
25316 * math/w_sinhl.c (__sinhl): Likewise.
25317 * math/w_sqrtl.c (__sqrtl): Likewise.
25318 * math/w_tgammal.c (__tgammal): Likewise.
25319 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25320 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25321 * math/libm-test.inc (acos_test): Add more tests.
25322 (acosh_test): Likewise.
25323 (asin_test): Likewise.
25324 (atanh_test): Likewise.
25325 (exp_test): Likewise.
25326 (exp10_test): Likewise.
25327 (exp2_test): Likewise.
25328 (expm1_test): Likewise.
25329 (lgamma_test): Likewise.
25330 (log_test): Likewise.
25331 (log10_test): Likewise.
25332 (log1p_test): Likewise.
25333 (log2_test): Likewise.
25334 (pow_test): Do not allow some spurious overflow exceptions.
25335 (sqrt_test): Add more tests.
25336 (tgamma_test): Likewise.
25337 (y0_test): Likewise.
25338 (y1_test): Likewise.
25339 (yn_test): Likewise.
25340
dd62fda6
AB
253412012-03-27 Anton Blanchard <anton@samba.org>
25342
25343 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25344 MAP_HUGETLB.
25345 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25346 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25347 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25348
1e3cdfda
AJ
253492012-03-27 David S. Miller <davem@davemloft.net>
25350
b855ab85
DM
25351 * conform/Makefile: Run run-conformtest.sh using $(BASH).
25352
1e3cdfda
AJ
25353 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25354 have-as-vis3 check.
25355
253562012-03-27 Andreas Jaeger <aj@suse.de>
25357
25358 * sysdeps/x86_64/elf/configure.in: Moved to ...
25359 * sysdeps/x86_64/configure.in: ... here.
25360 * sysdeps/x86_64/elf/start.S: Moved to ...
25361 * sysdeps/x86_64/start.S: ... here.
25362 * sysdeps/x86_64/elf/configure: Delete.
25363
25364 * sysdeps/x86_64/configure.in: Merge contents from
25365 sysdeps/i386/configure.in (without i686 check).
25366
25367 * sysdeps/i386/elf/Versions: Merge into ...
25368 * sysdeps/i386/Versions: ... this.
25369 * sysdeps/i386/elf/Versions: Delete file.
25370 * sysdeps/i386/elf/start.S: Moved to ...
25371 * sysdeps/i386/start.S: ...here.
25372 * sysdeps/i386/elf/configure.in: Merge into...
25373 * sysdeps/i386/configure.in: ...here.
25374 * sysdeps/i386/elf/configure.in: Delete file.
25375 * sysdeps/i386/elf/configure: Delete file.
25376
25377 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25378 * debug/backtracesyms.c: ... here.
25379 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25380 * debug/backtracesymsfd.c: ... here.
25381 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25382 * sysdeps/generic/ifunc-sel.h: ... here.
25383
25384 * sysdeps/unix/i386/start.c: Delete file.
25385 * sysdeps/unix/sparc/start.c: Delete file.
25386 * sysdeps/unix/start.c: Delete file.
25387
25388 * sysdeps/sh/elf/configure.in: Moved to ...
25389 * sysdeps/sh/configure.in: ... here.
25390 * sysdeps/sh/elf/start.S: Moved to ...
25391 * sysdeps/sh/start.S: ... here.
25392 * sysdeps/sh/elf/configure: Delete file.
25393
25394 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
25395 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
25396 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
25397 * sysdeps/powerpc/powerpc64/entry.h: ... here.
25398 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
25399 * sysdeps/powerpc/powerpc64/start.S: here.
25400 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
25401 * sysdeps/powerpc/powerpc64/Makefile: ... this.
25402 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
25403 * sysdeps/powerpc/powerpc64/configure.in: ... this.
25404 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
25405
25406 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
25407 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
25408 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
25409 * sysdeps/powerpc/powerpc32/start.S: ... here.
25410 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
25411 * sysdeps/powerpc/powerpc32/configure.in: ... this.
25412 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
25413
25414 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
25415 * sysdeps/powerpc/ifunc-sel.h: ... here.
25416 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
25417 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
25418
25419 * sysdeps/sparc/elf/configure.in: Moved to ...
25420 * sysdeps/sparc/configure.in: ... here.
25421 * sysdeps/sparc/elf/configure: Delete file.
25422 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
25423 * sysdeps/sparc/sparc32/start.S: ... here.
25424 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
25425 * sysdeps/sparc/sparc64/start.S: ... here.
25426 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
25427 * sysdeps/sparc/sparc32/Makefile: ... this.
25428 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
25429 * sysdeps/sparc/sparc64/Makefile: ... this.
25430
25431 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
25432 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
25433 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
25434 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
25435 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
25436 * sysdeps/s390/s390-32/setjmp.S: ... here.
25437 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
25438 * sysdeps/s390/s390-32/configure.in: ... here.
25439 * sysdeps/s390/s390-32/elf/configure: Delete file.
25440 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
25441 * sysdeps/s390/s390-32/start.S: ... here.
25442
25443 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
25444 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
25445 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
25446 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
25447 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
25448 * sysdeps/s390/s390-64/setjmp.S: ... here.
25449 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
25450 * sysdeps/s390/s390-64/configure.in: ... here
25451 * sysdeps/s390/s390-64/elf/configure: Delete file.
25452 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
25453 * sysdeps/s390/s390-64/start.S: ... here.
25454 * sysdeps/s390/s390-64/elf/configure: Delete.
25455
25456 * configure.in: Remove support for elf directories in sysdeps.
25457
25458 * configure: Regenerated.
25459 * sysdeps/i386/configure: Regenerated.
25460 * sysdeps/powerpc/powerpc32/configure: Regenerated.
25461 * sysdeps/powerpc/powerpc64/configure: Regenerated.
25462 * sysdeps/s390/s390-32/configure: Regenerated.
25463 * sysdeps/s390/s390-64/configure: Regenerated.
25464 * sysdeps/sh/configure: Regenerated.
25465 * sysdeps/sparc/configure: Regenerated.
25466 * sysdeps/x86_64/configure: Regenerated.
25467
a3f61311
AS
254682012-03-26 Andreas Schwab <schwab@linux-m68k.org>
25469
c876e002
AS
25470 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25471
a3f61311
AS
25472 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
25473 denormal result into account.
25474
ac4c54f0
RM
254752012-03-25 Roland McGrath <roland@hack.frob.com>
25476
25477 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
25478 Reported by Allan McRae <allan@archlinux.org>.
25479
6a9b9c02
JL
254802012-03-23 Jeff Law <law@redhat.com>
25481
25482 * nss/getnssent.c (__nss_getent): Fix typo.
25483
4c42a0c1
DM
254842012-03-23 David S. Miller <davem@davemloft.net>
25485
25486 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25487
1532c7ac
L
254882012-03-23 H.J. Lu <hongjiu.lu@intel.com>
25489
25490 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
25491 to pad to uint64_t for each field.
25492 (dl_tls_index): Replace unsigned long with uint64_t.
25493
3ff42526
PP
254942012-03-23 Daniel Jacobowitz <dmj@google.com>
25495 Paul Pluzhnikov <ppluzhnikov@google.com>
25496
25497 [BZ #6528]
25498 * grp/Makefile (otherlibs): Don't set it.
25499 * inet/Makefile (otherlibs): Likewise.
25500 * login/Makefile (otherlibs): Likewise.
25501 * nscd/Makefile (otherlibs): Likewise.
25502 * posix/Makefile (otherlibs): Likewise.
25503 * pwd/Makefile (otherlibs): Likewise.
25504 * rt/Makefile (otherlibs): Likewise.
25505 * sunrpc/Makefile (otherlibs): Likewise.
25506 * nss/Makefile (otherlibs): Likewise.
25507 Add libnss_files to routines and static-only-routines.
25508 ($(objpfx)getent): Remove rule.
25509 * resolv/Makefile: Add libnss_dns and libresolv to routines and
25510 static-only-routines.
25511
7c69cd14
JM
255122012-03-22 Joseph Myers <joseph@codesourcery.com>
25513
25514 [BZ #13892]
25515 * math/s_cexp.c: Include <float.h>.
25516 (__cexp): Handle exp result overflowing not necessarily
25517 overflowing both real and imaginary parts of result.
25518 * math/s_cexpf.c: Likewise.
25519 * math/s_cexpl.c: Likewise.
25520 * math/libm-test.inc (cexp_test): Add more tests.
25521 * sysdeps/i386/fpu/libm-test-ulps: Update.
25522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25523
81b035fe
L
255242012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25525
25526 * include/link.h (ELFW): New macro.
25527 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
25528 Replace ELF64_R_TYPE with ELFW(R_TYPE).
25529
1da7940c
L
255302012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25531
25532 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
25533 with uint64_t.
25534
b749dbb9
L
255352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25536
25537 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
25538 declaration.
25539 (struct La_x32_retval): Likewise.
25540
2ff87f3f
L
255412012-03-22 H.J. Lu <hongjiu.lu@intel.com>
25542
25543 * sysdeps/x86_64/preconfigure.in: New file.
25544 * sysdeps/x86_64/preconfigure: New generated file.
25545
c0df8e69
JM
255462012-03-22 Joseph Myers <joseph@codesourcery.com>
25547
48e44791
JM
25548 [BZ #13824]
25549 * math/e_exp2l.c: Include <float.h>.
25550 (__ieee754_exp2l): Handle overflow and underflow cases
25551 separately. Only pass fractional part of argument to
25552 __ieee754_expl.
25553 * math/libm-test.inc (exp2_test): Add more tests.
25554
c0df8e69
JM
25555 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
25556 negating x to take absolute value.
25557 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
25558 Likewise.
25559 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
25560 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
25561 Likewise.
25562 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
25563 computing low part if x was negated.
25564 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
25565
c8e43ba7
L
255662012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25567
25568 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
25569 la_x32_gnu_pltexit.
25570 (pltexit): Cast int_retval to ptrdiff_t.
25571 * elf/tst-auditmod3b.c: Likewise.
25572 * elf/tst-auditmod4b.c: Likewise.
25573 * elf/tst-auditmod5b.c: Likewise.
25574 * elf/tst-auditmod6b.c: Likewise.
25575 * elf/tst-auditmod6c.c: Likewise.
25576 * elf/tst-auditmod7b.c: Likewise.
25577
25578 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
25579 and x32_gnu_pltexit.
25580
25581 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
25582 __ELF_NATIVE_CLASS.
25583 (La_x32_regs): New macro.
25584 (La_x32_retval): Likewise.
25585 (la_x32_gnu_pltenter): New function prototype.
25586 (la_x32_gnu_pltexit): Likewise.
25587
7998fa78
AS
255882012-03-21 Andreas Schwab <schwab@linux-m68k.org>
25589
dcb33988
AS
25590 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
25591 exponent.
25592
233fc563
AS
25593 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25594
7998fa78
AS
25595 * configure.in (libc_cv_cc_nofma): Check for option to disable
25596 generation of FMA instructions.
25597 * configure: Regenerate.
25598 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
25599 * sysdeps/ieee754/dbl-64/Makefile: New file.
25600 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
25601 Remove brandred-fma4.
25602 (CFLAGS-brandred-fma4.c): Remove.
25603 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
25604 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
25605 define.
25606 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
25607 define.
25608
8e95c99a
L
256092012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25610
25611 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
25612 LLONG_MAX != LONG_MAX.
25613 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25614 (_fitoa_word): Likewise.
25615 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
25616 LLONG_MAX != LONG_MAX.
25617 * stdio-common/_itowa.h: Include <_itoa.h>.
25618 (_itowa_word): Use _ITOA_WORD_TYPE on value.
25619 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
25620 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
25621 only if not defined.
25622 (_ITOA_WORD_TYPE): Likewise.
25623 (_itoa_word): Use _ITOA_WORD_TYPE on value.
25624 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
25625
6f4db457
DM
256262012-03-21 David S. Miller <davem@davemloft.net>
25627
25628 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25629
7785fe5a
L
256302012-03-21 H.J. Lu <hongjiu.lu@intel.com>
25631
25632 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
25633 of x86_64 when setting libc_cv_slibdir, libdir and
25634 libc_cv_localedir.
25635 * sysdeps/unix/sysv/linux/configure: Regenerated.
25636
4535cd55
JM
256372012-03-21 Joseph Myers <joseph@codesourcery.com>
25638
25639 * manual/lang.texi (Old Varargs): Remove section.
25640 (How Variadic): Update menu.
25641 (va_start): Do not mention varargs.h.
25642
17228132
TS
256432012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25644 Joseph Myers <joseph@codesourcery.com>
25645
25646 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
25647 link test.
25648 * configure: Regenerated.
25649
8149f976
TS
256502012-03-21 Thomas Schwinge <thomas@codesourcery.com>
25651
05f3d1f6
UD
25652 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
25653 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
25654 conformtest.pl
8149f976 25655
1a4ac776
JM
256562012-03-21 Joseph Myers <joseph@codesourcery.com>
25657
be22ce65
JM
25658 * NOTES: Remove.
25659 * Makefile (files-for-dist): Remove NOTES.
25660 (NOTES): Remove rule.
25661 * README: Don't refer to NOTES.
25662 * manual/creature.texi: Don't include macros.texi.
25663 * manual/intro.texi (creature.texi): Remove comment referring to
25664 NOTES.
25665
40b601fb
JM
25666 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
25667 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
25668 * configure: Regenerated.
25669 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
25670 LIBC_TRY_CC_OPTION.
25671 (libc_cv_as_i686): Likewise.
25672 (libc_cv_cc_avx): Likewise.
25673 (libc_cv_cc_sse2avx): Likewise.
25674 (libc_cv_cc_fma4): Likewise.
25675 (libc_cv_cc_novzeroupper): Likewise.
25676 * sysdeps/i386/configure: Regenerated.
25677
1a4ac776
JM
25678 [BZ #13883]
25679 * sysdeps/i386/fpu/s_cexp.S: Remove.
25680 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
25681 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
25682 * math/libm-test.inc (cexp_test): Add more tests.
25683 * sysdeps/i386/fpu/libm-test-ulps: Update.
25684 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25685
a458e7fe
AM
256862012-03-21 Allan McRae <allan@archlinux.org>
25687
25688 * timezone/Makefile: Do not install iso3166.tab and zone.tab
25689
0cb7efc5
JM
256902012-03-21 Joseph Myers <joseph@codesourcery.com>
25691
25692 [BZ #13871]
25693 * math/w_exp2.c: Do not include <float.h>.
25694 (o_threshold, u_threshold): Remove.
25695 (__exp2): Calculate result before checking finiteness and calling
25696 __kernel_standard.
25697 * math/w_exp2f.c: Likewise.
25698 * math/w_exp2l.c: Likewise.
25699 * math/libm-test.inc (exp2_test): Require overflow exception for
25700 1e6 input.
2460d3aa
JM
25701
25702 [BZ #3866]
25703 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
25704 range of signed 64-bit integers before using fistpll. Remove
25705 checks for whether integers fit in mantissa bits.
25706 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
25707 the range of signed 32-bit integers before using fistpl. Remove
25708 checks for whether integers fit in mantissa bits.
25709 * sysdeps/i386/fpu/e_powl.S (p64): New object.
25710 (__ieee754_powl): Test for y outside the range of signed 64-bit
25711 integers before using fistpll. Reduce 64-bit values to 63-bit
25712 ones as needed.
25713 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
25714 divide-by-zero is raised for zero to large negative powers.
25715 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
25716 (__ieee754_powl): Test for y outside the range of signed 64-bit
25717 integers before using fistpll. Reduce 64-bit values to 63-bit
25718 ones as needed.
25719 * math/libm-test.inc (pow_test): Add more tests.
25720
eb96ffb0
L
257212012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25722
25723 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
25724 <stdio-common/_itoa.h>.
25725 * debug/segfault.c: Likewise.
25726 * elf/dl-cache.c: Likewise.
25727 * elf/dl-minimal.c: Likewise.
25728 * elf/dl-misc.c: Likewise.
25729 * elf/dl-sysdep.c: Likewise.
25730 * elf/dl-version.c: Likewise.
25731 * elf/rtld.c: Likewise.
25732 * hurd/hurdsock.c: Likewise.
25733 * hurd/lookup-retry.c: Likewise.
25734 * malloc/malloc.c: Likewise.
25735 * malloc/mtrace.c: Likewise.
25736 * nscd/nscd_getgr_r.c: Likewise.
25737 * nscd/nscd_getpw_r.c: Likewise.
25738 * nscd/nscd_getserv_r.c: Likewise.
25739 * posix/getopt_init.c: Likewise.
25740 * posix/wordexp.c: Likewise.
25741 * stdio-common/_itoa.c: Likewise.
25742 * stdio-common/printf_fphex.c: Likewise.
25743 * stdio-common/vfprintf.c: Likewise.
25744 * string/_strerror.c: Likewise.
25745 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
25746 * sysdeps/i386/i686/hp-timing.h: Likewise.
25747 * sysdeps/mach/_strerror.c: Likewise.
25748 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
25749 * sysdeps/mach/hurd/sethostid.c: Likewise.
25750 * sysdeps/mach/hurd/xmknodat.c: Likewise.
25751 * sysdeps/mach/xpg-strerror.c: Likewise.
25752 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25753 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
25754 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
25755 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
25756 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
25757 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
25758 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
25759 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
25760 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
25761 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
25762 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
25763 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
25764 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
25765 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25766 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25767 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
25768 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
25769 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
25770 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
25771 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
25772 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
25773
25774 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
25775
25776 * stdio-common/_itoa.h: Moved to ...
25777 * sysdeps/generic/_itoa.h: Here.
25778
25779 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
25780
25781 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
25782 instead of "_itoa.h" and "_itowa.h".
25783 * stdio-common/vfprintf.: Likewise.
25784
d1af992d
L
257852012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25786
25787 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
25788 <bits/wordsize.h>.
25789 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
25790 (__signbit): Likwise.
25791 (llrintf): Likwise.
25792 (llrint): Likwise.
25793
114883e0
L
257942012-03-20 H.J. Lu <hongjiu.lu@intel.com>
25795
25796 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
25797 __WORDSIZE != 64.
25798
c135cc1b
JM
257992012-03-20 Joseph Myers <joseph@codesourcery.com>
25800
25801 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
25802 OVERFLOW_EXCEPTION_OK.
25803 * math/libm-test.inc ("Philosophy"): Update comment about
25804 exception testing.
25805 (OVERFLOW_EXCEPTION): Define.
25806 (OVERFLOW_EXCEPTION_OK): Likewise.
25807 (INVALID_EXCEPTION_OK): Renumber.
25808 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25809 (IGNORE_ZERO_INF_SIGN): Likewise.
25810 (test_exceptions): Handle FE_OVERFLOW.
25811 (exp10_test): Expect overflow exceptions.
25812 (exp2_test): Likewise.
25813 (expm1_test): Likewise.
25814 (nextafter_test): Likewise.
25815 (pow_test): Likewise.
25816 (scalbn_test): Likewise.
25817 (scalbln_test): Likewise.
25818
95443d88
L
258192012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25820
25821 * sysdeps/x86_64/bits/atomic.h
25822 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
25823 64bit integer.
25824 (atomic_exchange_acq): Likewise.
25825 (__arch_exchange_and_add_body): Likewise.
25826 (__arch_add_body): Likewise.
25827 (atomic_add_negative): Likewise.
25828 (atomic_add_zero): Likewise.
25829
490df6c4
L
258302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25831
c2722551 25832 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
25833 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
25834
5e52b189
L
258352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25836
25837 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
25838 Check __x86_64__ instead of __WORDSIZE.
25839
a9879d4c
L
258402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25841
25842 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
25843
5df98260
DM
258442012-03-19 David S. Miller <davem@davemloft.net>
25845
e1497744
DM
25846 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25847
5df98260
DM
25848 * sysdeps/sparc/fpu/fenv_private.h: New file.
25849 * sysdeps/sparc/fpu/math_private.h: Use it.
25850 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
25851 Remove.
25852 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
25853 (libc_feholdexcept_setroundl): Remove.
25854 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
25855 Remove.
25856 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
25857 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
25858
b4c35121
L
258592012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25860
25861 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
25862 int64_t instead of long int.
25863 (INSERT_WORDS64): Likwise.
25864
56965fd7
L
258652012-03-19 H.J. Lu <hongjiu.lu@intel.com>
25866
25867 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
25868 _Unwind_GetCFA return to _Unwind_Ptr first.
25869
83d1aec8
JM
258702012-03-19 Joseph Myers <joseph@codesourcery.com>
25871
1897ad44
JM
25872 [BZ #13629]
25873 * math/s_clog.c: Include <float.h>.
25874 (__clog): Scale large or subnormal inputs.
25875 * math/s_clogf.c: Likewise.
25876 * math/s_clogl.c: Likewise.
25877 * math/s_clog10.c: Include <float.h>.
25878 (M_LOG10_2): Define.
25879 (__clog10): Scale large or subnormal inputs.
25880 * math/s_clog10f.c: Likewise.
25881 * math/s_clog10l.c: Likewise.
25882 * math/libm-test.inc (clog_test): Add more tests.
25883 (clog10_test): Likewise.
25884 * sysdeps/i386/fpu/libm-test-ulps: Update.
25885 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25886
7726d6a9
JM
25887 [BZ #11451]
25888 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
25889 x and y.
25890 * math/libm-test.inc (atan2_test): Add another test.
25891
83d1aec8
JM
25892 * Makerules (common-objdir-compile): Remove.
25893 * sysdeps/unix/Makefile (config-generated): Do not add
25894 $(unix-generated) to variable.
25895 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
25896 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
25897 Remove rule.
25898 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
25899 Likewise.
25900 [generic bits/local_lim.h] (before-compile): Do not append to
25901 variable.
25902 [generic bits/local_lim.h] (common-generated): Likewise.
25903 [generic sys/param.h] (before-compile): Do not append to variable.
25904 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
25905 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
25906 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
25907 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
25908 include.
25909 [generic sys/param.h] (sys/param.h-includes): Remove variable.
25910 [generic sys/param.h] (sys/param.h-includes): Remove rule.
25911 [generic sys/param.h] ($(addprefix
25912 $(common-objpfx),$(sys/param.h-includes))): Likewise.
25913 [generic sys/param.h] (common-generated): Do not append to
25914 variable.
25915 [generic sys/param.h] (sysdep_headers): Likewise.
25916 [generic bits/errno.h] (before-compile): Do not append to
25917 variable.
25918 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
25919 rule.
25920 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
25921 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
25922 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
25923 [generic bits/errno.h] (common-generated): Do not append to
25924 variable.
25925 [generic bits/ioctls.h] (before-compile): Do not append to
25926 variable.
25927 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
25928 rule.
25929 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
25930 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
25931 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
25932 rule.
25933 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
25934 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
25935 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
25936 [generic bits/ioctls.h] (common-generated): Do not append to
25937 variable.
25938 [generic sys/syscall.h] (syscall.h): Remove variable.
25939 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
25940 rule.
25941 [generic sys/syscall.h] (before-compile): Do not append to
25942 variable.
25943 [generic sys/syscall.h] (common-generated): Likewise.
25944 * sysdeps/unix/errnos-tmpl.c: Remove file.
25945 * sysdeps/unix/errnos.awk: Likewise.
25946 * sysdeps/unix/ioctls-tmpl.c: Likewise.
25947 * sysdeps/unix/ioctls.awk: Likewise.
25948 * sysdeps/unix/mk-local_lim.c: Likewise.
25949 * sysdeps/unix/snarf-ioctls: Likewise.
25950
4851a949
RH
259512012-03-19 Richard Henderson <rth@twiddle.net>
25952
bd37f2ee
RH
25953 * sysdeps/i386/fpu/fenv_private.h: New file.
25954 * sysdeps/i386/fpu/math_private.h: Use it.
25955 (math_opt_barrier, math_force_eval): Remove.
25956 (libc_feholdexcept_setround_53bit): Remove.
25957 (libc_feupdateenv_53bit): Remove.
25958 * sysdeps/x86_64/fpu/math_private.h: Likewise.
25959 (math_opt_barrier, math_force_eval): Remove.
25960 (libc_feholdexcept): Remove.
25961 (libc_feholdexcept_setround): Remove.
25962 (libc_fetestexcept, libc_fesetenv): Remove.
25963 (libc_feupdateenv_test): Remove.
25964 (libc_feupdateenv, libc_feholdsetround): Remove.
25965 (libc_feresetround): Remove.
25966
d0adc922
RH
25967 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
25968 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
25969
0fe0f1f8
RH
25970 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
25971 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
25972 (libc_feupdateenv_testl): New.
25973 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
25974 (libc_feupdateenv_testf): New.
25975 (libc_feupdateenv): Use libc_feupdateenv_test.
25976 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
25977 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
25978
eb92c487
RH
25979 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
25980 (libc_feholdsetroundf, libc_feholdsetroundl): New.
25981 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
25982 (libc_feresetround_noex): New.
25983 (libc_feresetround_noexf): New.
25984 (libc_feresetround_noexl): New.
25985 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
25986 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
25987 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
25988 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
25989 SET_RESTORE_ROUND.
25990 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
25991 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
25992 (__cos): Likewise.
25993 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
25994 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
25995 SET_RESTORE_ROUND_NOEX.
25996 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
25997 SET_RESTORE_ROUND_NOEXF.
25998 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
25999 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26000 (libc_feholdsetroundf): New.
26001 (libc_feresetround, libc_feresetroundf): New.
26002
7d2e8012
RH
26003 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26004 (libc_feholdexcept_setround_53bit): Convert from macro to function.
26005 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
26006
b4dabbb4
RH
26007 * sysdeps/generic/math_private.h: Include <fenv.h>.
26008 (default_libc_feholdexcept): New.
26009 (default_libc_feholdexcept_setround): New.
26010 (default_libc_fesetenv, default_libc_feupdateenv): New.
26011 (libc_feholdexcept): Only define if undefined.
26012 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26013 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26014 (libc_feholdexcept_setroundl): Likewise.
26015 (libc_feholdexcept_setround_53bit): Likewise.
26016 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26017 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26018 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26019 (libc_feupdateenv_53bit): Likewise.
26020 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26021 (libc_feholdexcept): Convert from macro to inline function.
26022 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26023 (libc_fesetenv, libc_feupdateenv): Likewise.
26024
4851a949
RH
26025 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26026 not previously defined.
26027 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26028 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26029 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26030 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26031 * sysdeps/ieee754/flt-32/math_private.h: New file.
26032 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26033 math_private.h below SET_FLOAT_WORD.
26034 (__isnan, __isinf_ns, __finite): Remove.
26035 (__isnanf, __isinf_nsf, __finitef): Remove.
26036
e79d442e
AS
260372012-03-18 Andreas Schwab <schwab@linux-m68k.org>
26038
26039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26040
90b80344
DM
260412012-03-17 David S. Miller <davem@davemloft.net>
26042
26043 [BZ #6471]
26044 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26045 for 2.16.
26046
edc21804
DM
260472012-03-16 David S. Miller <davem@davemloft.net>
26048
77e927af
DM
26049 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26050 warnings.
26051
374976dd
DM
26052 [BZ #6471]
26053 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26054 properly.
26055 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26056 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26057 sysdep_routines when subdir is sysvipc.
26058 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26059 __getshmlba helper.
26060
edc21804
DM
26061 * sysdeps/sparc/fpu/libm-test/ulps: Update.
26062
473c3ef3
L
260632012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26064
26065 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26066 [__LP64__].
26067
eb0f39b6
L
260682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26069
26070 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26071 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26072 (__lround): Renamed to ...
26073 (__llround): This. Replace long int with long long int.
26074 Define lround functions as aliases of llround functions.
26075 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26076
6b6cd74b
L
260772012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26078
26079 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26080 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
26081 adresses to uintptr_t. Replace "long int" and "unsigned long
26082 int" with "greg_t" on va_arg.
26083
f1a77b01
L
260842012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26085
26086 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26087 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26088
26089 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26090 Move e_machine check before EI_CLASS check. Handle x32
26091 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26092 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26093 SKIP_EM_IA_64 and include
26094 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26095
26096 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26097 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26098 (add_system_dir): New macro.
26099
26100 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26101 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26102
11b90b9f
JM
261032012-03-16 Joseph Myers <joseph@codesourcery.com>
26104
c36e1d23
JM
26105 [BZ #2551]
26106 [BZ #2552]
26107 [BZ #2553]
26108 [BZ #2554]
26109 [BZ #2562]
26110 [BZ #2563]
26111 [BZ #2565]
26112 [BZ #2566]
26113 [BZ #2576]
26114 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26115 (y0): Likewise.
26116 * math/w_j0f.c (j0f): Likewise.
26117 (y0f): Likewise.
26118 * math/w_j0l.c (__j0l): Likewise.
26119 (__y0l): Likewise.
26120 * math/w_j1.c (j1): Likewise.
26121 (y1): Likewise.
26122 * math/w_j1f.c (j1f): Likewise.
26123 (y1f): Likewise.
26124 * math/w_j1l.c (__j1l): Likewise.
26125 (__y1l): Likewise.
26126 * math/w_jn.c (jn): Likewise.
26127 (yn): Likewise.
26128 * math/w_jnf.c (jnf): Likewise.
26129 (ynf): Likewise.
26130 * math/w_jnl.c (__jnl): Likewise.
26131 (__ynl): Likewise.
26132 * math/libm-test.inc (j0_test): Add more tests.
26133 (j1_test): Likewise.
26134 (jn_test): Likewise. Add trailing semicolon to existing test.
26135 (y0_test): Likewise.
26136 (y1_test): Likewise.
26137 * sysdeps/i386/fpu/libm-test-ulps: Update.
26138 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26139
11b90b9f
JM
26140 [BZ #13851]
26141 [BZ #13854]
26142 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26143 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26144 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26145 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26146 (__tanl): Set errno for infinite argument.
26147 * sysdeps/i386/fpu/mptan.c: Remove.
26148 * sysdeps/i386/fpu/s_tan.S: Likewise.
26149 * sysdeps/i386/fpu/s_tanl.S: Likewise.
26150 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26151 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26152 * math/libm-test.inc (tan_test): Add more tests and enable more
26153 tests for double and long double.
26154 * sysdeps/i386/fpu/libm-test-ulps: Update.
26155 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26156
6a1bd2a1
JK
261572012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
26158
26159 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26160 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26161
10a803e0
RM
261622012-03-16 Roland McGrath <roland@hack.frob.com>
26163
26164 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26165 * configure.in: Use it for both main tree and add-ons.
26166 * configure: Regenerated.
26167
f196c7f7
L
261682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
26169
26170 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26171
8848d99d
JM
261722012-03-16 Joseph Myers <joseph@codesourcery.com>
26173
96cbe7f4
JM
26174 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26175 in comment.
26176
8848d99d
JM
26177 [BZ #13851]
26178 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26179 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26180 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26181 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26182 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26183 infinite argument.
26184 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26185 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26186 != 0 for prec == 2.
26187 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26188 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26189 * sysdeps/i386/fpu/s_cosl.S: Likewise.
26190 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26191 * sysdeps/i386/fpu/s_sinl.S: Likewise.
26192 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26193 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26194 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26195 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26196 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26197 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26198 * math/libm-test.inc (cos_test): Add more tests and enable more
26199 tests for long double.
26200 (sin_test): Likewise.
26201 (sincos_test): Likewise.
26202 * sysdeps/i386/fpu/libm-test-ulps: Update.
26203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26204
dd7f4703
DM
262052012-03-16 David S. Miller <davem@davemloft.net>
26206
26207 * sysdeps/sparc/fpu/math_private.h: New file.
26208
006f1daa
DM
262092012-03-15 David S. Miller <davem@davemloft.net>
26210
c0c83bc8
DM
26211 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26212 file.
e6a62e18 26213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
26214 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26215 file.
e6a62e18
DM
26216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26221 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26222 sysdep routines.
26223 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26224
88cb87d9
DM
26225 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26226 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26227
006f1daa 26228 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
26229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26230 sparc-ifunc.h
006f1daa 26231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
26232 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26233 Likewise.
26234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26235 Likewise.
006f1daa
DM
26236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
26239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26240 Likewise.
006f1daa
DM
26241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
26245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26246 Likewise.
26247 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26248 Likewise.
006f1daa
DM
26249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26250 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26253 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26254 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26255 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26256 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26257 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26258 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26259 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26260 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26261 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26262 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26263 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26264 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26265 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26266 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26267 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26268 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26269 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26270 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26271 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26272 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26273
11e0098e
AS
262742012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26275
26276 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26277 scaling.
26278 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26279
e85b09d0
AJ
262802012-03-15 Andreas Jaeger <aj@suse.de>
26281
26282 [BZ #13852]
26283 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26284 ieee754/flt-32 implementation for sin, cos and sincos.
26285 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26286 * sysdeps/i386/fpu/s_cosf.S: Likewise.
26287 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26288 * sysdeps/i386/fpu/s_sinf.S: Likewise.
26289 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26290 ieee754/flt-32 implementation for tan.
26291
26292 * math/libm-test.inc (cos_test): Enable some large input tests for
26293 float as well
26294 (sin_test): Likewise.
26295 (sincos_test): Likewise.
26296 (tan_test): Add tests for large input.
26297
26298 * sysdeps/i386/fpu/libm-test-ulps: Update.
26299
81c64153
AJ
263002012-03-15 Andreas Jaeger <aj@suse.de>
26301
26302 [BZ #13658]
26303 * math/libm-test.inc (cos_test): Add more test cases.
26304 (sin_test): Likewise.
26305 (sincos_test): Likewise.
26306
7bbfa5c6
AJ
263072012-03-15 Andreas Jaeger <aj@suse.de>
26308
26309 [BZ #13837]
26310 * math/libm-test.inc (cos_test): Add a test case for large input
26311 value.
26312 (sin_test): Likewise.
26313 (sincos_test): Likewise.
26314
263152012-03-15 Andreas Jaeger <aj@suse.de>,
26316 Joseph Myers <joseph@codesourcery.com>
26317
26318 [BZ #13658]
0671f479 26319 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
26320 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26321 * sysdeps/i386/fpu/branred.c: Likewise.
26322 * sysdeps/i386/fpu/dosincos.c: Likewise.
26323 * sysdeps/i386/fpu/mpa.c: Likewise.
26324 * sysdeps/i386/fpu/s_cos.S: Likewise.
26325 * sysdeps/i386/fpu/s_sin.S: Likewise.
26326 * sysdeps/i386/fpu/s_sincos.S: Likewise.
26327 * sysdeps/i386/fpu/sincos32.c: Likewise.
26328
26329 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26330 Define.
26331 (libc_feupdateenv_53bit): Define.
26332 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26333 Define.
26334 (libc_feupdateenv_53bit): Define.
26335
26336 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26337 53 bit (without extend i386 double precision).
26338
26339 * math/libm-test.inc (sincos_test): Add tests for large input.
26340 (sin): Likewise.
26341 (cos): Likewise.
26342
26343 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26344
9cad04ea
AS
263452012-03-15 Andreas Schwab <schwab@linux-m68k.org>
26346
26347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26348
f7062b9a
DM
263492012-03-15 David S. Miller <davem@davemloft.net>
26350
26351 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26352 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26353 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26354 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26355 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26356 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26357 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26358 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26359 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26360 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26361 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26362 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26363 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26364 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26365 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
26366 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26367 file.
f7062b9a 26368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
26369 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26370 file.
f7062b9a 26371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
26372 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26373 file.
f7062b9a 26374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
26375 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26376 file.
f7062b9a
DM
26377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26378 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26379 fmin/fmax sysdep routines.
26380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26381
7bd951ff
DM
263822012-03-14 David S. Miller <davem@davemloft.net>
26383
559398ab
DM
26384 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26385 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
26386 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
26387 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
26388 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
26389 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
26390 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
26391 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
26392 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
26393 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
26394 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
26395 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
26396 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
26397 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
26398 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
26399 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
26400 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
26401 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
26402 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
26403 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
26404 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
26405 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
26406 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
26407 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
26408 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
26409 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
26410 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
26411 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26412 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
26413 routines.
26414 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
26415 file.
559398ab 26416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
26417 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
26418 file.
559398ab 26419 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
26420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
26421 file.
559398ab 26422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
26423 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
26424 file.
559398ab 26425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
26426 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
26427 file.
559398ab 26428 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
26429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
26430 file.
26431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
26432 file.
26433 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
26434 file.
26435 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
26436 file.
26437 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
26438 New file.
26439 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
26440 file.
26441 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
26442 file.
559398ab 26443 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
26444 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
26445 file.
559398ab 26446 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
26447 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
26448 file.
559398ab 26449 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
26450 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
26451 file.
559398ab 26452 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
26453 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
26454 VIS3 routines.
559398ab
DM
26455
26456 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
26457 New file.
26458
5a1c1e32
DM
26459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26460
eae47a36
DM
26461 * sysdeps/sparc/configure.in: New file.
26462 * sysdeps/sparc/configure: Generate.
26463 * configure.in (libc_cv_sparc_as_vis3): Substitute.
26464 * configure: Regenerate.
26465 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
26466 * config.make.in (have-as-vis3): New.
26467 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
26468 available use -Av9d instead of -Av9a.
26469 * sysdeps/sparc/sparc64/Makefile: Likewise.
26470 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
26471 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
26472 New file.
26473 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
26474 file.
26475 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
26476 New file.
26477 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
26478 file.
eae47a36
DM
26479 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
26480 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
26481 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
26482 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
26483 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
26484
c0c83bc8
DM
26485 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
26486 fzeros/fnegs to load 0x80000000 into a float register instead of
26487 using the stack.
7bd951ff
DM
26488 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
26489
bd951ccb
JM
264902012-03-14 Joseph Myers <joseph@codesourcery.com>
26491
26492 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26493 bits/syscall.h.
26494 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
26495 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
26496 ($(inst_includedir)/bits/syscall.h): Remove rule.
26497 ($(objpfx)bits/syscall.d): Include instead of
26498 $(objpfx)syscall-list.d.
26499 (generated): Change syscall-list.h and syscall-list.d to
26500 bits/syscall.h and bits/syscall.d.
26501
bb4e6db2
RM
265022012-03-14 Roland McGrath <roland@hack.frob.com>
26503
26504 [BZ #13846]
26505 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
26506
aa4a2ae1
JM
265072012-03-14 Joseph Myers <joseph@codesourcery.com>
26508
e456826d
JM
26509 [BZ #13841]
26510 * math/s_csqrt.c: Include <float.h>.
26511 (__csqrt): Scale large or subnormal inputs.
26512 * math/s_csqrtf.c: Likewise.
26513 * math/s_csqrtl.c: Likewise.
26514 * math/libm-test.inc (csqrt_test): Add more tests.
26515 * sysdeps/i386/fpu/libm-test-ulps: Update.
26516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26517
aa4a2ae1
JM
26518 [BZ #13840]
26519 * math/libm-test.inc (hypot_test): Add more tests.
26520
7c10fd35
DM
265212012-03-13 David S. Miller <davem@davemloft.net>
26522
26523 [BZ #13840]
26524 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
26525 double-precision for the calculation instead of scaling.
26526
f453b98b
JM
265272012-03-13 Joseph Myers <joseph@codesourcery.com>
26528
26529 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
26530 manipulate bits before adding and subtracting TWO52[sx].
26531 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
26532 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
26533 Likewise.
26534 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
26535
09a3453f
DM
265362012-03-13 David S. Miller <davem@davemloft.net>
26537
8e59da90
DM
26538 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
26539 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
26540 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
26541 rtld-global-offsets.h
26542 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26543
2a8ab7f2
DM
26544 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
26545 large parameters.
26546
10f62770
DM
26547 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
26548
5f0bdb18
DM
26549 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
26550 'err' in the ifdef scope in which it is actually used.
26551
09a3453f
DM
26552 * nss/nss_db/db-init.c: Include string.h
26553
b4b2eb5e
DM
265542012-03-12 David S. Miller <davem@davemloft.net>
26555
98bb2f1c
DM
26556 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
26557 masking out of the most significant byte of random value used.
26558 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26559 Fix coding style in previous change.
26560
b4b2eb5e
DM
26561 * sysdeps/unix/sysv/linux/kernel-features.h
26562 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
26563 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
26564 expression.
26565 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
26566 later.
26567
6e226b09
DM
265682012-03-11 David S. Miller <davem@davemloft.net>
26569
a1bcbd40
DM
26570 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
26571 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
26572 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
26573 for 'resultvar' otherwise things get truncated on 64-bit.
26574
cb9d6174
DM
26575 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
26576 Fix masking out of the most significant byte of random value used.
26577
6e226b09
DM
26578 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26579
058c132d
AS
265802012-03-10 Andreas Schwab <schwab@linux-m68k.org>
26581
26582 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26583
2d2cd515
DM
265842012-03-09 David S. Miller <davem@davemloft.net>
26585
26586 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
26587 variables with appropriate CPP guards.
26588 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
26589 frame pointer, not the stack pointer. Correct layout comments. Fix test
26590 on resulting framesize and the management of the outregs buffer for pltexit.
26591 Preserve floating point return values across _dl_call_pltexit call.
26592 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
26593 framesize and the management of the outregs buffer for pltexit.
26594 Preserve floating point return values across _dl_call_pltexit
26595 call.
26596 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
26597 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
26598 (print_exit): Fix format string for return register value.
26599
9a07f9d0
JM
266002012-03-10 Joseph Myers <joseph@codesourcery.com>
26601
26602 * sunrpc/Makefile (others): Add rpcgen.
26603 ($(objpfx)rpcgen): Remove special build rule and dependency on
26604 libc.
26605 * sunrpc/rpcgen.c: New file.
26606
547b5e30
PE
266072012-03-09 Paul Eggert <eggert@cs.ucla.edu>
26608
c524201a
PE
26609 [BZ #13673]
26610 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
26611 * stdio-common/bug-vfprintf-nargs.c: Likewise.
26612 * sysdeps/i386/crti.S: Likewise.
26613 * sysdeps/i386/crtn.S: Likewise.
26614 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
26615 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
26616 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
26617 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
26618 * sysdeps/sh/crti.S: Likewise.
26619 * sysdeps/sh/crtn.S: Likewise.
26620 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26621
7b6235f2
PE
26622 [BZ #13673]
26623 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
26624 with URL.
26625 * locale/programs/locfile-kw.gperf: Likewise.
26626 * locale/programs/charmap-kw.h: Regenerated.
26627 * locale/programs/locfile-kw.h: Likewise.
26628
547b5e30
PE
26629 [BZ #13673]
26630 * intl/plural.y: Replace FSF snail mail address with URL.
26631 * intl/plural.c: Regenerated.
26632
5f0a5dae
RH
266332012-03-09 Richard Henderson <rth@twiddle.net>
26634
26635 * include/math_private.h: Remove file.
26636 * math/math_private.h: Move file ...
26637 * sysdeps/generic/math_private.h: ... here.
26638
b8c03620
RH
26639 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
26640 * sysdeps/powerpc/fpu/math_private.h: Likewise.
26641 * sysdeps/x86_64/fpu/math_private.h: Likewise.
26642
4e234f5d 26643 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
26644 and <math_private.h>.
26645 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
26646 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
26647 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
26648 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
26649 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
26650 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
26651 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26652 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26653 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26654 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26655 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26656 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26657 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26658 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26659 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26660 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26661 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26662 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26663 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26664 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26665 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26666 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26667 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26668 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26669 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
26670 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26671 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26672 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26673 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26674 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26675 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26676 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26677 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
26678 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26679 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
26680 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
26681 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26682 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
26683 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
26684 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26685 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
26686 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
26687 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
26688 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
26689 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
26690 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
26691 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
26692 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
26693 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26694 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
26695 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
26696 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
26697 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
26698 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
26699 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
26700 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26701 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26702 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
26703 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
26704 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
26705 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26706 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
26707 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26708 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
26709 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
26710 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26711 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26712 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26713 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
26714 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
26715 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
26716 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26717 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
26718 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26719 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
26720 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
26721 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
26722 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
26723 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
26724 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
26725 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
26726 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
26727 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
26728 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26729 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26730 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
26731 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
26732 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
26733 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26734 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26735 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26736 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26737 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26738 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26739 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26740 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26741 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26742 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26743 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26744 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26745 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26746 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26747 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26748 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26749 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26750 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26751 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26752 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26753 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26754 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26755 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26756 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26757 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26758 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26759 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
26760 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26761 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26762 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
26763 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26764 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26765 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26766 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
26767 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26768 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
26769 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26770 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
26771 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
26772 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
26773 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
26774 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
26775 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
26776 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26777 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26778 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
26779 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
26780 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
26781 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26782 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
26783 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
26784 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26785 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26786 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
26787 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
26788 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
26789 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
26790 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
26791 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
26792 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
26793 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
26794 * sysdeps/ieee754/k_standard.c: Likewise.
26795 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26796 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26797 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26798 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26799 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26800 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26801 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26802 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26803 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26804 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26805 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26806 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26807 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26808 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26809 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26810 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26811 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26812 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26813 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26814 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
26815 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
26816 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
26817 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26818 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
26819 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26820 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26821 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
26822 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
26823 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
26824 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26825 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26826 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
26827 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
26828 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
26829 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26830 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
26831 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
26832 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
26833 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
26834 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
26835 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26836 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26837 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26838 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
26839 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26840 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26841 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
26842 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
26843 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
26844 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26845 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26846 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26847 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
26848 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
26849 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26850 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26851 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
26852 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
26853 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
26854 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
26855 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26856 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26857 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26858 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26859 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26860 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26861 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26862 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26863 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26864 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26865 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26866 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26867 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26868 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26869 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26870 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26871 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
26872 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26873 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26874 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26875 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26876 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26877 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
26878 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
26879 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
26880 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26881 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
26882 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26883 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26884 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
26885 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
26886 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
26887 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26888 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26889 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26890 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
26891 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
26892 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26893 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26894 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
26895 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
26896 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26897 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26898 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
26899 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
26900 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26901 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26902 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26903 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
26904 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
26905 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
26906 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
26907 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26908 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26909 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26910 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26911 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26912 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26913 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26914 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26915 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26916 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26917 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26918 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26919 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26920 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
26921 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
26922 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
26923 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
26924 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26925 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
26926 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
26927 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
26928 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
26929 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
26930 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
26931 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
26932 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
26933 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
26934 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
26935 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
26936 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
26937 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
26938 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
26939 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
26940 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
26941 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
26942 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
26943 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
26944 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
26945 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
26946 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26947 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
26948 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
26949 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
26950 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
26951 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
26952 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
26953 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
26954 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
26955 * sysdeps/ieee754/s_lib_version.c: Likewise.
26956 * sysdeps/ieee754/s_matherr.c: Likewise.
26957 * sysdeps/ieee754/s_signgam.c: Likewise.
26958 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26959 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26960 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
26961 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
26962 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
26963 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26964 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
26965 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
26966 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
26967 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
26968 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26969 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
26970 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
26971 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
26972 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
26973 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
26974 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
26975 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
26976 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
26977 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26978 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 26979
1991fa03
JM
269802012-03-09 Joseph Myers <joseph@codesourcery.com>
26981
26982 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
26983 * sunrpc/rpc_main.c: Likewise.
26984 * sunrpc/rpc_svcout.c: Likewise.
26985
60d6f5a6
DM
269862012-03-09 David S. Miller <davem@davemloft.net>
26987
26988 * include/math_private.h: New file.
26989
4962050e
JM
269902012-03-09 Joseph Myers <joseph@codesourcery.com>
26991
02a6f887
JM
26992 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
26993 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
26994 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
26995 from <bits/socket_type.h>.
26996 (enum __socket_type): Don't define here.
26997 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
26998 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26999 bits/socket_type.h.
27000
c6e013c1
JM
27001 [BZ #13566]
27002 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27003 checking __USE_GNU.
27004
4962050e
JM
27005 * Makerules ($(inst_includedir)/%.h): New rule.
27006 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27007 (install-others): Remove variable setting.
27008 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27009
38842f45
RH
270102012-03-08 Richard Henderson <rth@twiddle.net>
27011
67bb6da6
RH
27012 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27013 from macro to inline function; merge with the
27014 !__LIBC_INTERNAL_MATH_INLINES version.
27015 (__ieee754_sqrtf): Likewise.
27016
15194b4b
RH
27017 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27018 to inline function.
27019 (__rintf, __floor, __floorf): Likewise.
27020
64e21ede
RH
27021 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27022 macro to inline function.
27023 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27024
38842f45
RH
27025 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27026 not <math/math_private.h>.
27027
c64bf5fe
DM
270282012-03-08 David S. Miller <davem@davemloft.net>
27029
27030 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27031 copyright year.
27032 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27033
82d86f28
TS
270342012-03-08 Thomas Schwinge <thomas@codesourcery.com>
27035
27036 * resolv/gai_misc.c (handle_requests): Fix struct timespec
27037 normalization.
27038 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27039 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27040
aea5d727
UD
270412012-03-08 Ulrich Drepper <drepper@gmail.com>
27042
27043 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
27044 be defined individually, they must be defined as a block. Define
27045 S for printing a string instead of hidint the different by using a
27046 macro for adding the 'l'.
27047 * stdio-common/tst-fphex-wide.c: Adjust.
27048
70bca0a3
MP
270492012-03-07 Marek Polacek <polacek@redhat.com>
27050
27051 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27052
65b81130
MP
270532012-03-08 Marek Polacek <polacek@redhat.com>
27054
27055 [BZ #13806]
27056 * stdio-common/Makefile (tests): Add tst-fphex-wide.
27057 * stdio-common/tst-fphex.c: Define a few macros to make the
27058 test reusable. Use them.
27059 * stdio-common/tst-fphex-wide.c: New file.
27060
07037eeb
JM
270612012-03-08 Joseph Myers <joseph@codesourcery.com>
27062
a7a93d50
JM
27063 [BZ #6911]
27064 * manual/macros.texi (gnusystems): New macro.
27065 (nongnusystems): Likewise.
27066 (gnulinuxhurdsystems): Likewise.
27067 (gnuhurdsystems): Likewise..
27068 (gnulinuxsystems): Likewise.
27069 * manual/charset.texi: Use new macros or @theglibc{} to refer to
27070 variants of the GNU system, not "GNU system".
27071 * manual/conf.texi: Likewise.
27072 * manual/errno.texi: Likewise. Update example of errno macro
27073 expansion.
27074 * manual/filesys.texi: Likewise.
27075 (getumask): Document as specific to GNU/Hurd.
27076 * manual/install.texi: Likewise. Reword some references to
27077 GNU/Linux.
27078 * manual/intro.texi: Likewise.
27079 * manual/io.texi: Likewise.
27080 (File Name Portability): Detail which constraints are inapplicable
27081 to all GNU systems and which are only inapplicable to GNU/Hurd.
27082 * manual/job.texi: Likewise.
27083 * manual/llio.texi: Likewise.
27084 (O_NOCTTY): Document as present on GNU/Linux.
27085 * manual/maint.texi: Likewise.
27086 * manual/memory.texi: Likewise.
27087 * manual/pattern.texi: Likewise.
27088 * manual/pipe.texi: Likewise.
27089 * manual/process.texi: Likewise.
27090 * manual/resource.texi: Likewise.
27091 (RUSAGE_CHILDREN): Remove statement about specifying a particular
27092 child on GNU/Hurd.
27093 * manual/setjmp.texi: Likewise.
27094 * manual/signal.texi: Likewise.
27095 * manual/startup.texi: Likewise.
27096 * manual/stdio.texi: Likewise.
27097 * manual/terminal.texi: Likewise.
27098 (ONLCR): Document as POSIX.
27099 (OXTABS): Document availability on GNU/Linux as XTABS.
27100 (ONOEOT): Document availability separately from other bits.
27101 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27102 * manual/time.texi: Likewise.
27103 * manual/users.texi: Likewise.
27104 * INSTALL: Regenerated.
27105 * sysdeps/gnu/errlist.c: Regenerated.
27106
07037eeb
JM
27107 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27108 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27109 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
27110 puts.
27111 * configure: Regenerated.
27112
d1d3431a
JM
271132012-03-07 Joseph Myers <joseph@codesourcery.com>
27114
af6a1e37
JM
27115 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27116 default includes instead of AC_HEADER_CHECK.
27117 * sysdeps/i386/configure: Regenerated.
27118
d1d3431a
JM
27119 [BZ #10716]
27120 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27121 * math/s_cacoshf.c (__cacoshf): Likewise.
27122 * math/s_cacoshl.c (__cacoshl): Likewise.
27123 * math/s_casinh.c (__casinh): Set signs of result from argument.
27124 * math/s_casinhf.c (__casinhf): Likewise.
27125 * math/s_casinhl.c (__casinhl): Likewise.
27126 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27127 (casinh_test): Add more tests.
27128 * sysdeps/i386/fpu/libm-test-ulps: Update.
27129 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27130
482ff4da
UD
271312012-03-07 Ulrich Drepper <drepper@gmail.com>
27132
872fda05
UD
27133 * po/zh_TW.po: Update from translation team.
27134
a4300c7a
UD
27135 * login/Makefile (distribute): Remove variable.
27136 * catgets/Makefile: Likewise.
27137 * mach/Makefile: Likewise.
27138 * malloc/Makefile: Likewise.
27139 * misc/Makefile: Likewise.
27140 * iconv/Makefile: Likewise.
27141 * nscd/Makefile: Likewise.
27142 * hurd/Makefile: Likewise.
27143 * manual/Makefile: Likewise.
27144 * locale/Makefile: Likewise.
27145 * intl/Makefile: Likewise.
27146 * conform/Makefile: Likewise.
27147 * nss/Makefile: Likewise.
27148 * time/Makefile: Likewise.
27149 * soft-fp/Makefile: Likewise.
27150 * dirent/Makefile: Likewise.
27151 * gmon/Makefile: Likewise.
27152 * po/Makefile: Likewise.
27153 * rt/Makefile: Likewise.
27154 * socket/Makefile: Likewise.
27155 * math/Makefile: Likewise.
27156 * signal/Makefile: Likewise.
27157 * debug/Makefile: Likewise.
27158 * elf/Makefile: Likewise.
27159 * timezone/Makefile: Likewise.
27160 * stdlib/Makefile: Likewise.
27161 * iconvdata/Makefile: Likewise.
27162 * sunrpc/Makefile: Likewise.
27163 * io/Makefile: Likewise.
27164 * argp/Makefile: Likewise.
27165 * inet/Makefile: Likewise.
27166 * hesiod/Makefile: Likewise.
27167 * grp/Makefile: Likewise.
27168 * csu/Makefile: Likewise.
27169 * wctype/Makefile: Likewise.
27170 * crypt/Makefile: Likewise.
27171 * libio/Makefile: Likewise.
27172 * string/Makefile: Likewise.
27173 * nis/Makefile: Likewise.
27174 * resolv/Makefile: Likewise.
27175 * stdio-common/Makefile: Likewise.
27176 * wcsmbs/Makefile: Likewise.
27177 * dlfcn/Makefile: Likewise.
27178 * posix/Makefile: Likewise.
27179
3b7c4e74 27180 [BZ #6959]
482ff4da
UD
27181 * timezone/Makefile: Don't install timezone files, just the programs
27182 and scripts.
27183
f72ed77d
UD
271842012-03-06 Ulrich Drepper <drepper@gmail.com>
27185
a000466f
UD
27186 * nss/databases.def: Add missing gshadow entry.
27187
f72ed77d
UD
27188 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
27189
a53b7a4e
MP
271902012-03-06 Marek Polacek <polacek@redhat.com>
27191
27192 [BZ #13726]
27193 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27194 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27195 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27196 * stdio-common/tst-long-dbl-fphex.c: New file.
27197
e9258400
DM
271982012-03-06 David S. Miller <davem@davemloft.net>
27199
27200 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27201 (set_obp_int): New function.
27202 (get_obp_int): New function.
27203 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
27204 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27205 Avoid unused variable warnings on 'val' and use builtin_expect.
27206 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27207 __builtin_expect.
e9258400
DM
27208 (INLINE_CLONE_SYSCALL): Likewise.
27209
3bd2c723
DM
272102012-03-05 David S. Miller <davem@davemloft.net>
27211
27212 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27213
bbb78d03
AS
272142012-03-05 Andreas Schwab <schwab@linux-m68k.org>
27215
884c5db4
AS
27216 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27217
bbb78d03
AS
27218 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27219 only for |x| >= 40.
27220 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27221
1c9f702a 272222012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
27223
27224 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27225 Replace gettimeofday with __vdso_gettimeofday.
27226
7be16f82
RM
27227 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27228 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27229 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
27230
27231 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27232 time with __vdso_time.
27233
ed58a00f
JM
272342012-03-05 Joseph Myers <joseph@codesourcery.com>
27235
27236 * manual/lang.texi (size_t): Note types to which size_t may be
27237 equivalent with the GNU C Library, but do not describe when
27238 differences between them are significant.
27239
30ee4ced
AJ
272402012-03-05 Andreas Jaeger <aj@suse.de>
27241
27242 * sysdeps/i386/fpu/libm-test-ulps: Update.
27243
b7cd39e8
JM
272442012-03-05 Joseph Myers <joseph@codesourcery.com>
27245
27246 [BZ #3976]
27247 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27248 (__ieee754_pow): Save and restore rounding mode and use
27249 round-to-nearest for main computations.
27250 * math/libm-test.inc (pow_test_tonearest): New function.
27251 (pow_test_towardzero): Likewise.
27252 (pow_test_downward): Likewise.
27253 (pow_test_upward): Likewise.
27254 (main): Call the new functions.
27255 * sysdeps/i386/fpu/libm-test-ulps: Update.
27256 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
27257
27258 [BZ #3976]
27259 * math/libm-test.inc (cosh_test_tonearest): New function.
27260 (cosh_test_towardzero): Likewise.
27261 (cosh_test_downward): Likewise.
27262 (cosh_test_upward): Likewise.
27263 (sinh_test_tonearest): Likewise.
27264 (sinh_test_towardzero): Likewise.
27265 (sinh_test_downward): Likewise.
27266 (sinh_test_upward): Likewise.
27267 (main): Call the new functions.
27268 * sysdeps/i386/fpu/libm-test-ulps: Update.
27269 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27270
6c6a98c9
TV
272712012-03-05 Tom de Vries <tom@codesourcery.com>
27272
27273 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27274 default stack guard is set in last bytes.
27275 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27276
21bb2d2e 272772012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 27278
21bb2d2e 27279 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 27280
21bb2d2e
AJ
27281 [BZ #13656]
27282 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27283 possibly allocate from heap instead of stack.
27284 * stdio-common/bug-vfprintf-nargs.c: New file.
27285 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 27286
c6922934
AS
272872012-03-03 Andreas Schwab <schwab@linux-m68k.org>
27288
27289 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27290
bc957d53
MP
272912012-03-03 Marek Polacek <polacek@redhat.com>
27292
27293 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27294 * math/math_private.h: Likewise.
27295 * stdlib/tst-strtod.c: Likewise.
27296 * sysdeps/i386/i486/bits/atomic.h: Likewise.
27297 * sysdeps/x86_64/bits/atomic.h: Likewise.
27298
6358490d
DM
272992012-03-02 David S. Miller <davem@davemloft.net>
27300
27301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27304 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27305 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27306 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27307 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27308 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27309
01ae168d
RM
273102012-03-02 Roland McGrath <roland@hack.frob.com>
27311
d9a17c07
RM
27312 [BZ #13792]
27313 * manual/examples/README: New file, says the example source files
27314 can be used under GPL>=2.
27315 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27316 line containing just "*/".
27317 * manual/examples/add.c: Add copyright header (GPL>=2).
27318 * manual/examples/argp-ex1.c: Likewise.
27319 * manual/examples/argp-ex2.c: Likewise.
27320 * manual/examples/argp-ex3.c: Likewise.
27321 * manual/examples/argp-ex4.c: Likewise.
27322 * manual/examples/atexit.c: Likewise.
27323 * manual/examples/db.c: Likewise.
27324 * manual/examples/dir.c: Likewise.
27325 * manual/examples/dir2.c: Likewise.
27326 * manual/examples/execinfo.c: Likewise.
27327 * manual/examples/filecli.c: Likewise.
27328 * manual/examples/filesrv.c: Likewise.
27329 * manual/examples/fmtmsgexpl.c: Likewise.
27330 * manual/examples/genpass.c: Likewise.
27331 * manual/examples/inetcli.c: Likewise.
27332 * manual/examples/inetsrv.c: Likewise.
27333 * manual/examples/isockad.c: Likewise.
27334 * manual/examples/longopt.c: Likewise.
27335 * manual/examples/memopen.c: Likewise.
27336 * manual/examples/memstrm.c: Likewise.
27337 * manual/examples/mkfsock.c: Likewise.
27338 * manual/examples/mkisock.c: Likewise.
27339 * manual/examples/mygetpass.c: Likewise.
27340 * manual/examples/pipe.c: Likewise.
27341 * manual/examples/popen.c: Likewise.
27342 * manual/examples/rprintf.c: Likewise.
27343 * manual/examples/search.c: Likewise.
27344 * manual/examples/select.c: Likewise.
27345 * manual/examples/setjmp.c: Likewise.
27346 * manual/examples/sigh1.c: Likewise.
27347 * manual/examples/sigusr.c: Likewise.
27348 * manual/examples/stpcpy.c: Likewise.
27349 * manual/examples/strdupa.c: Likewise.
27350 * manual/examples/strftim.c: Likewise.
27351 * manual/examples/strncat.c: Likewise.
27352 * manual/examples/subopt.c: Likewise.
27353 * manual/examples/swapcontext.c: Likewise.
27354 * manual/examples/termios.c: Likewise.
27355 * manual/examples/testopt.c: Likewise.
27356 * manual/examples/testpass.c: Likewise.
27357 * manual/examples/timeval_subtract.c: Likewise.
27358
01ae168d
RM
27359 [BZ #13792]
27360 * manual/time.texi (Elapsed Time): Move timeval_subtract example
27361 function to ...
27362 * manual/timeval_subtract.c.texi: ... here, new file.
27363
49efa33d
DM
273642012-03-02 David S. Miller <davem@davemloft.net>
27365
27366 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27367
28afd92d
JM
273682012-03-02 Joseph Myers <joseph@codesourcery.com>
27369
804360ed
JM
27370 [BZ #3976]
27371 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27372 (__sin): Save and restore rounding mode and use round-to-nearest
27373 for all computations.
27374 (__cos): Save and restore rounding mode and use round-to-nearest
27375 for all computations.
27376 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27377 <fenv.h>.
27378 (tan): Save and restore rounding mode and use round-to-nearest for
27379 all computations.
27380 * math/libm-test.inc (cos_test_tonearest): New function.
27381 (cos_test_towardzero): Likewise.
27382 (cos_test_downward): Likewise.
27383 (cos_test_upward): Likewise.
27384 (sin_test_tonearest): Likewise.
27385 (sin_test_towardzero): Likewise.
27386 (sin_test_downward): Likewise.
27387 (sin_test_upward): Likewise.
27388 (tan_test_tonearest): Likewise.
27389 (tan_test_towardzero): Likewise.
27390 (tan_test_downward): Likewise.
27391 (tan_test_upward): Likewise.
27392 (main): Call the new functions.
27393 * sysdeps/i386/fpu/libm-test-ulps: Update.
27394 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27395
a6d06d7b
JM
27396 [BZ #10135]
27397 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
27398 small n, then large n, before computing and testing k+n.
27399 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
27400 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
27401 Likewise.
27402 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
27403 Likewise.
27404 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
27405 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
27406 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
27407 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
27408 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
27409 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
27410 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
27411 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
27412 * math/libm-test.inc (scalbn_test): Add more tests.
27413 (scalbln_test): Likewise.
27414
07e12bb3
JM
27415 * manual/filesys.texi (mode_t): Describe constraints on size and
27416 signedness, not exact equivalence to a particular type.
27417 (ino_t): Likewise.
27418 (ino64_t): Likewise.
27419 (dev_t): Likewise.
27420 (nlink_t): Likewise.
27421 (blkcnt_t): Likewise.
27422 (blkcnt64_t): Likewise.
27423 * manual/llio.texi (off_t): Likewise.
27424
28afd92d
JM
27425 [BZ #3976]
27426 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
27427 (__ieee754_exp): Save and restore rounding mode and use
27428 round-to-nearest for all computations.
27429 * math/libm-test.inc (exp_test_tonearest): New function.
27430 (exp_test_towardzero): Likewise.
27431 (exp_test_downward): Likewise.
27432 (exp_test_upward): Likewise.
27433 (main): Call the new functions.
27434 * sysdeps/i386/fpu/libm-test-ulps: Update.
27435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27436
b1eeb65d
CD
274372012-03-01 Chris Demetriou <cgd@google.com>
27438
27439 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
27440 have predictable order.
27441
53362a4b
DM
274422012-03-01 David S. Miller <davem@davemloft.net>
27443
3c969083
DM
27444 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
27445
759707de
DM
27446 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
27447 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
27448 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
27449 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
27450
dfdb8ff2
DM
27451 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
27452 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
27453 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
27454 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
27455 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
27456 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
27457 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
27458 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
27459 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
27460
ead89f96
DM
27461 * sysdeps/sparc/fpu/libm-test-ulps: Update.
27462
7f66bd07
DM
27463 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
27464 * sysdeps/sparc/fpu/libm-test-ulps: to here.
27465 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
27466
53362a4b
DM
27467 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
27468 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27469 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
27470 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
27471 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
27472 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
27473 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
27474 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27475 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
27476 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
27477 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
27478 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
27479 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27480 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
27481 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
27482 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27483 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
27484 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
27485 * sysdeps/sparc/elf/configure: Regenerated.
27486
7b1902cb
JM
274872012-03-01 Joseph Myers <joseph@codesourcery.com>
27488
bec039bc
JM
27489 * configure.in (AS, LD): Require binutils 2.20 or later.
27490 * configure: Regenerated.
27491 * manual/install.texi (Tools for Compilation): Give binutils 2.20
27492 as required minimum version.
27493 * INSTALL: Regenerated.
27494
7b1902cb
JM
27495 [BZ #2541]
27496 [BZ #4108]
27497 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
27498 before squaring exponent.
27499 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
27500 bottom long double and 27 bits of top long double before squaring
27501 exponent.
27502 * math/libm-test.inc (erfc_test): Add more tests.
27503 * sysdeps/i386/fpu/libm-test-ulps: Update.
27504 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27505 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27506
f775c276
KT
275072012-03-01 Kai Tietz <ktietz@redhat.com>
27508
27509 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
27510 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
27511 containing bit-fields.
27512 * soft-fp/extended.h (_FP_UNION_E): Likewise.
27513 * soft-fp/single.h (_FP_UNION_S): Likewise.
27514 * soft-fp/double.h (_FP_UNION_D): Likewise.
27515
5b8a4d4a
JM
275162012-02-29 Joseph Myers <joseph@codesourcery.com>
27517
0bab47b6
JM
27518 [BZ #13786]
27519 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
27520 not include ../strcmp.S.
27521 [USE_AS_STRNCASECMP_L]: Likewise.
27522 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
27523 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
27524 * sysdeps/i386/i686/multiarch/strncase_l-c.c
27525 (__strncasecmp_l_ia32): Define as alias to
27526 __strncasecmp_l_nonascii.
27527
0fcad3e2
JM
27528 [BZ #5794]
27529 * math/libm-test.inc (expm1_test): Add test for bug 5794.
27530 * sysdeps/i386/fpu/libm-test-ulps: Update.
27531 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27532
5b8a4d4a
JM
27533 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
27534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27535
8fdceb2e
JL
275362012-02-29 Jeff Law <law@redhat.com>
27537
27538 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
27539 out of bounds read.
27540
1f393a11
MP
275412012-02-29 Marek Polacek <polacek@redhat.com>
27542
27543 [BZ #13706]
27544 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
27545 * elf/Makefile: Add rules to run tst-unused-dep.out.
27546
8847f037
DM
275472012-02-28 David S. Miller <davem@davemloft.net>
27548
27549 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
27550 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
27551 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
27552 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
27553 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
27554 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
27555
169d7f11
JM
275562012-02-29 Joseph Myers <joseph@codesourcery.com>
27557
27558 * math/libm-test.inc (llround_test): Move one test from
27559 lround_test. Use TEST_f_L in moved test.
27560 (lround_test): Move misplaced test to llround_test. Add testcase
27561 from bug 2561.
27562
39adf059
UD
275632012-02-28 Ulrich Drepper <drepper@gmail.com>
27564
27565 * sysdeps/x86_64/fpu/e_expf.S: New file.
27566 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
27567
71b5d1c5
SB
275682012-02-28 Stanislav Brabec <sbrabec@suse.cz>
27569
27570 [BZ #13637]
27571 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
27572 of remain_len that may cause incomplete multi-byte character and
27573 false match.
27574 * posix/bug-regex33.c: New file.
27575 * posix/Makefile (tests): Add bug-regex33.
27576
1f77f049
JM
275772012-02-28 Joseph Myers <joseph@codesourcery.com>
27578
27579 * manual/macros.texi: New file.
27580 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
27581 * manual/libc.texinfo: Include macros.texi.
27582 * manual/creatute.texi: Likewise.
27583 * manual/install.texi: Likewise.
27584 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
27585 @glibcadj{} in references to the GNU C Library.
27586 * manual/charset.texi: Likewise.
27587 * manual/conf.texi: Likewise.
27588 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
27589 when not using those macros.
27590 * manual/creature.texi: Likewise.
27591 * manual/crypt.texi: Likewise.
27592 * manual/errno.texi: Likewise.
27593 * manual/filesys.texi: Likewise.
27594 * manual/header.texi: Likewise.
27595 * manual/install.texi: Likewise.
27596 * manual/intro.texi: Likewise.
27597 * manual/io.texi: Likewise.
27598 * manual/job.texi: Likewise.
27599 * manual/lang.texi: Likewise.
27600 * manual/libc.texiinfo: Likewise.
27601 * manual/llio.texi: Likewise.
27602 * manual/locale.texi: Likewise.
27603 * manual/maint.texi: Likewise.
27604 * manual/math.texi: Likewise.
27605 * manual/memory.texi: Likewise.
27606 * manual/message.texi: Likewise.
27607 * manual/nss.texi: Likewise.
27608 * manual/pattern.texi: Likewise.
27609 * manual/process.texi: Likewise.
27610 * manual/resource.texi: Likewise.
27611 * manual/search.texi: Likewise.
27612 * manual/setjmp.texi: Likewise.
27613 * manual/signal.texi: Likewise.
27614 * manual/socket.texi: Likewise.
27615 * manual/startup.texi: Likewise.
27616 * manual/stdio.texi: Likewise.
27617 * manual/string.texi: Likewise.
27618 * manual/sysinfo.texi: Likewise.
27619 * manual/syslog.texi: Likewise.
27620 * manual/terminal.texi: Likewise.
27621 * manual/time.texi: Likewise.
27622 * manual/users.texi: Likewise.
27623 * INSTALL: Regenerated.
27624 * NOTES: Regenerated.
d40c5d54 27625 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 27626
450bf206
AS
276272012-02-28 Andreas Schwab <schwab@linux-m68k.org>
27628
27629 * include/dirent.h: Include <dirstream.h> before
27630 <dirent/dirent.h>.
27631
741a235b
DM
276322012-02-28 David S. Miller <davem@davemloft.net>
27633
27634 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
27635 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
27636 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
27637 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
27638
d6b5aa58
DM
276392012-02-27 David S. Miller <davem@davemloft.net>
27640
1aff59a3
DM
27641 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
27642 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
27643 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
27644 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
27645
d6b5aa58
DM
27646 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
27647 frame pointer instead of stack pointer relative arg slot.
27648 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27649 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27650 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27651
433f48bf
CD
276522012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
27653
27654 [BZ #3992]
27655 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
27656
d674b76d
DM
276572012-02-27 David S. Miller <davem@davemloft.net>
27658
27659 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
27660 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
27661 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
27662 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
27663 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
27664 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
27665 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
27666 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
27667
0e7727f7
JM
276682012-02-27 Joseph Myers <joseph@codesourcery.com>
27669
27670 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
27671 later. Allow versions 5-9.
43be4ca2 27672 * configure: Regenerated.
0e7727f7
JM
27673 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
27674 required minimum version and 4.6 as recommended version. Do not
27675 mention bugs in GCC 2.7 and 2.8.
43be4ca2 27676 * INSTALL: Regenerated.
0e7727f7 27677
a78bc654
DM
276782012-02-27 David S. Miller <davem@davemloft.net>
27679
428d5830
DM
27680 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
27681 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
27682 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
27683 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
27684 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
27685 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
27686 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
27687 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
27688
a78bc654
DM
27689 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
27690 manipulate bits before adding and subtracting TWO112[sx].
27691 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
27692
4579f81c
RM
276932012-02-27 Roland McGrath <roland@hack.frob.com>
27694
36c8acb4
RM
27695 [BZ #13775]
27696 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
27697 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
27698 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
27699 being in POSIX, because they are in 1003.1-2008.
27700
84ad622b
RM
27701 * rt/tst-aio.c: Include <fcntl.h>.
27702 * rt/tst-aio7.c: Likewise.
27703 * rt/tst-aio64.c: Likewise.
27704
4579f81c
RM
27705 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
27706
abd923db
JM
277072012-02-27 Joseph Myers <joseph@codesourcery.com>
27708
27709 * manual/install.texi (--with-headers): Describe headers as
27710 interface headers, not private headers.
27711 (Specific advice for GNU/Linux systems): Describe use of headers
27712 from "make headers_install", not private headers from older
27713 kernels.
43be4ca2 27714 * INSTALL: Regenerated.
abd923db
JM
27715 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
27716 Change to 2.6.19.
27717 * sysdeps/unix/sysv/linux/configure: Regenerated.
27718
6664049b
JM
27719 * manual/llio.texi (fclean): Remove documentation.
27720
bb8b6697
JM
27721 * manual/Makefile (libc-texi-generated): New variable. Include
27722 version.texi.
27723 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
27724 $(libc-texi-generated), not duplicated list of files.
27725 (version.texi, stamp-version): New rules.
27726 (realclean): Remove $(libc-texi-generated), not individual files
27727 from that list. Do not remove dir-add.texinfo.
27728 * manual/libc.texinfo: Comment out uses of edition numbers and
27729 references to printed manual. Remove last-updated dates.
27730 (EDITION): Comment out.
27731 (ISBN): Likewise.
27732 (VERSION, UPDATED): Remove.
27733 (version.texi): Include.
27734
12e5c3b9
AS
277352012-02-27 Andreas Schwab <schwab@linux-m68k.org>
27736
27737 * sysdeps/posix/spawni.c: Include <signal.h>.
27738 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
27739 * sysdeps/pthread/aio_fsync.c: Likewise.
27740
4efeffc1 277412012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 27742
ba63ba08
UD
27743 * conform/Makefile (tests): Run only when not cross-compiling and
27744 when fast-check is not defined.
27745
d94a4670
UD
27746 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
27747 * conform/data/limits.h-data: Fixes for POSIX2008.
27748 * conform/run-conformtest.sh: Run all tests.
27749 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
27750 headers.
27751 * include/bits/dlfcn.h: Likewise.
27752 * include/langinfo.h: Likewise.
27753 * include/monetary.h: Likewise.
27754 * include/sys/poll.h: Likewise.
27755
27756 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
27757 for __USE_GNU.
27758 * posix/spawn.h: Define __need_sigset_t.
27759 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
27760 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
27761 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
27762 to get sigevent_t only.
27763 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
27764 only for __USE_GNU.
27765 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27766 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
27767 process_vm_writev only for __USE_GNU.
27768 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
27769
27770 * conform/Makefile: For now ignore errors from run-conformtest.
27771 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
27772 POSIX to avoid namespace pollution. Don't prepend headers.
27773 * conform/data/aio.h-data: Fixes for POSIX testing.
27774 * conform/data/fcntl.h-data: Likewise.
27775 * conform/data/glob.h-data: Likewise.
27776 * conform/data/grp.h-data: Likewise.
27777 * conform/data/pthread.h-data: Likewise.
27778 * conform/data/pwd.h-data: Likewise.
27779 * conform/data/signal.h-data: Likewise.
27780 * conform/data/spawn.h-data: Likewise.
27781 * conform/data/stdio.h-data: Likewise.
27782 * conform/data/stdlib.h-data: Likewise.
27783 * conform/data/stropts.h-data: Likewise.
27784 * conform/data/sys/mman.h-data: Likewise.
27785 * conform/data/sys/stat.h-data: Likewise.
27786 * conform/data/sys/types.h-data: Likewise.
27787 * conform/data/sys/wait.h-data: Likewise.
27788 * conform/data/time.h-data: Likewise.
27789 * conform/data/unistd.h-data: Likewise.
27790 * conform/data/utime.h-data: Likewise.
27791
27792 * io/sys/stat.h: fchmod was always in POSIX.
27793 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
27794 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
27795 * rt/aio.h: Define __need_timespec before including <time.h>.
27796 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
27797 struct. Add forward declaration of pthread_attr_t and use it in
27798 sigevent.
27799 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
27800 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27801 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
27802 always remove CLK_TCK definition.
27803
c20105c3
AS
278042012-02-26 Andreas Schwab <schwab@linux-m68k.org>
27805
27806 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
27807
7a270350
UD
278082012-02-25 Ulrich Drepper <drepper@gmail.com>
27809
31341567
UD
27810 * conform/run-conformtest.sh: New file.
27811 * conform/Makefile: Run run-conformtest for tests.
27812 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
27813 support.
27814
27815 * conform/data/uchar.h-data: New file.
27816 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
27817 * conform/data/arpa/inet.h-data: Likewise.
27818 * conform/data/assert.h-data: Likewise.
27819 * conform/data/complex.h-data: Likewise.
27820 * conform/data/cpio.h-data: Likewise.
27821 * conform/data/ctype.h-data: Likewise.
27822 * conform/data/dirent.h-data: Likewise.
27823 * conform/data/dlfcn.h-data: Likewise.
27824 * conform/data/errno.h-data: Likewise.
27825 * conform/data/fcntl.h-data: Likewise.
27826 * conform/data/float.h-data: Likewise.
27827 * conform/data/fmtmsg.h-data: Likewise.
27828 * conform/data/fnmatch.h-data: Likewise.
27829 * conform/data/ftw.h-data: Likewise.
27830 * conform/data/glob.h-data: Likewise.
27831 * conform/data/grp.h-data: Likewise.
27832 * conform/data/iconv.h-data: Likewise.
27833 * conform/data/inttypes.h-data: Likewise.
27834 * conform/data/langinfo.h-data: Likewise.
27835 * conform/data/libgen.h-data: Likewise.
27836 * conform/data/limits.h-data: Likewise.
27837 * conform/data/locale.h-data: Likewise.
27838 * conform/data/math.h-data: Likewise.
27839 * conform/data/monetary.h-data: Likewise.
27840 * conform/data/mqueue.h-data: Likewise.
27841 * conform/data/ndbm.h-data: Likewise.
27842 * conform/data/net/if.h-data: Likewise.
27843 * conform/data/netdb.h-data: Likewise.
27844 * conform/data/netinet/in.h-data: Likewise.
27845 * conform/data/nl_types.h-data: Likewise.
27846 * conform/data/poll.h-data: Likewise.
27847 * conform/data/pthread.h-data: Likewise.
27848 * conform/data/pwd.h-data: Likewise.
27849 * conform/data/regex.h-data: Likewise.
27850 * conform/data/sched.h-data: Likewise.
27851 * conform/data/search.h-data: Likewise.
27852 * conform/data/semaphore.h-data: Likewise.
27853 * conform/data/setjmp.h-data: Likewise.
27854 * conform/data/signal.h-data: Likewise.
27855 * conform/data/spawn.h-data: Likewise.
27856 * conform/data/stdarg.h-data: Likewise.
27857 * conform/data/stdio.h-data: Likewise.
27858 * conform/data/stdlib.h-data: Likewise.
27859 * conform/data/string.h-data: Likewise.
27860 * conform/data/strings.h-data: Likewise.
27861 * conform/data/stropts.h-data: Likewise.
27862 * conform/data/sys/ipc.h-data: Likewise.
27863 * conform/data/sys/mman.h-data: Likewise.
27864 * conform/data/sys/msg.h-data: Likewise.
27865 * conform/data/sys/resource.h-data: Likewise.
27866 * conform/data/sys/select.h-data: Likewise.
27867 * conform/data/sys/sem.h-data: Likewise.
27868 * conform/data/sys/shm.h-data: Likewise.
27869 * conform/data/sys/socket.h-data: Likewise.
27870 * conform/data/sys/stat.h-data: Likewise.
27871 * conform/data/sys/statvfs.h-data: Likewise.
27872 * conform/data/sys/time.h-data: Likewise.
27873 * conform/data/sys/timeb.h-data: Likewise.
27874 * conform/data/sys/times.h-data: Likewise.
27875 * conform/data/sys/types.h-data: Likewise.
27876 * conform/data/sys/uio.h-data: Likewise.
27877 * conform/data/sys/un.h-data: Likewise.
27878 * conform/data/sys/utsname.h-data: Likewise.
27879 * conform/data/sys/wait.h-data: Likewise.
27880 * conform/data/syslog.h-data: Likewise.
27881 * conform/data/tar.h-data: Likewise.
27882 * conform/data/termios.h-data: Likewise.
27883 * conform/data/utime.h-data: Likewise.
27884 * conform/data/utmpx.h-data: Likewise.
27885 * conform/data/varargs.h-data: Likewise.
27886 * conform/data/wchar.h-data: Likewise.
27887 * conform/data/wctype.h-data: Likewise.
27888 * conform/data/wordexp.h-data: Likewise.
27889
27890 * include/stropts.h: New file.
27891 * include/uchar.h: New file.
27892 * include/aio.h: Changes to allow conformtest.pl to use the headers.
27893 * include/assert.h: Likewise.
27894 * include/ctype.h: Likewise.
27895 * include/dirent.h: Likewise.
27896 * include/dlfcn.h: Likewise.
27897 * include/fcntl.h: Likewise.
27898 * include/fnmatch.h: Likewise.
27899 * include/glob.h: Likewise.
27900 * include/grp.h: Likewise.
27901 * include/libio.h: Likewise.
27902 * include/locale.h: Likewise.
27903 * include/math.h: Likewise.
27904 * include/net/if.h: Likewise.
27905 * include/netdb.h: Likewise.
27906 * include/netinet/in.h: Likewise.
27907 * include/pthread.h: Likewise.
27908 * include/pwd.h: Likewise.
27909 * include/regex.h: Likewise.
27910 * include/sched.h: Likewise.
27911 * include/search.h: Likewise.
27912 * include/setjmp.h: Likewise.
27913 * include/signal.h: Likewise.
27914 * include/stdio.h: Likewise.
27915 * include/stdlib.h: Likewise.
27916 * include/string.h: Likewise.
27917 * include/sys/cdefs.h: Likewise.
27918 * include/sys/mman.h: Likewise.
27919 * include/sys/msg.h: Likewise.
27920 * include/sys/resource.h: Likewise.
27921 * include/sys/select.h: Likewise.
27922 * include/sys/socket.h: Likewise.
27923 * include/sys/stat.h: Likewise.
27924 * include/sys/statvfs.h: Likewise.
27925 * include/sys/time.h: Likewise.
27926 * include/sys/times.h: Likewise.
27927 * include/sys/uio.h: Likewise.
27928 * include/sys/utsname.h: Likewise.
27929 * include/sys/wait.h: Likewise.
27930 * include/termios.h: Likewise.
27931 * include/time.h: Likewise.
27932 * include/ulimit.h: Likewise.
27933 * include/unistd.h: Likewise.
27934 * include/utime.h: Likewise.
27935 * include/wchar.h: Likewise.
27936 * include/wctype.h: Likewise.
27937 * include/wordexp.h: Likewise.
27938
27939 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
27940
7a270350
UD
27941 * time/time.h: TIME_UTC must be a macro.
27942 Make timespec_get available for ISO C11 only as well.
27943
7724defc
UD
279442012-02-24 Ulrich Drepper <drepper@gmail.com>
27945
27946 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
27947 Reported by Peng Haitao <penght@cn.fujitsu.com>.
27948
6b1d1d46
JM
279492012-02-24 Joseph Myers <joseph@codesourcery.com>
27950
27951 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 27952
0f8bbd69
JM
279532012-02-24 Joseph Myers <joseph@codesourcery.com>
27954
27955 * manual/texinfo.tex: Update to version 2012-01-19.16.
27956
66ab80bc
JM
279572012-02-24 Joseph Myers <joseph@codesourcery.com>
27958
27959 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
27960
74981cc5
RM
279612012-02-24 Roland McGrath <roland@hack.frob.com>
27962
ee968201
RM
27963 [BZ #13738]
27964 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
27965 * manual/fdl-1.3.texi: New file.
27966 * manual/fdl-1.1.texi: File removed.
27967
74981cc5
RM
27968 [BZ #13738]
27969 * manual/libc.texinfo (FDL_VERSION): New @set.
27970 Use it for mention of FDL in cover text.
27971 (Documentation License): Use it in @include file name.
27972
7bb764bc
JM
279732012-02-22 Joseph Myers <joseph@codesourcery.com>
27974 Roland McGrath <roland@hack.frob.com>
27975
27976 [BZ #5461]
27977 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
27978 not LONG_LONG_MAX and LONG_LONG_MIN.
27979 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
27980 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
27981 name.
27982 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
27983
6cbeae47
JM
279842012-02-22 Joseph Myers <joseph@codesourcery.com>
27985
27986 [BZ #2547]
27987 [BZ #11365]
27988 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
27989 manipulate bits before adding and subtracting TWO23[sx].
27990 * math/libm-test.inc (nearbyint_test): Add more tests.
27991
fe45ce09
JM
279922012-02-22 Joseph Myers <joseph@codesourcery.com>
27993
27994 [BZ #2548]
27995 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
27996 bits before adding and subtracting TWO23[sx].
27997 * math/libm-test.inc (rint_test): Add more tests.
27998 (rint_test_tonearest): Likewise.
27999 (rint_test_towardzero): Likewise.
28000 (rint_test_downward): Likewise.
28001 (rint_test_upward: Likewise.
28002
ff3b3d82
JM
280032012-02-22 Joseph Myers <joseph@codesourcery.com>
28004
28005 [BZ #10110]
28006 * include/stdc-predef.h: New file. Extracted from features.h.
28007 * include/features.h: Include stdc-predef.h.
28008 * Makefile (headers): Add stdc-predef.h.
28009 * CONFORMANCE (Compiler limitations): Update.
28010
ef0aab35
JM
280112012-02-22 Joseph Myers <joseph@codesourcery.com>
28012
28013 * manual/libc.texinfo (VERSION, UPDATED): Revert.
28014
58639409
DM
280152012-02-21 David S. Miller <davem@davemloft.net>
28016
28017 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28018 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28019
c0e70b25
DM
280202012-02-20 David S. Miller <davem@davemloft.net>
28021
28022 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28023 using a normal save/restore sequence, rather than allocating a
28024 dummy stack frame just to store a frame pointer and restore.
28025 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28026
fb06851d
JM
280272012-02-21 Joseph Myers <joseph@codesourcery.com>
28028
28029 * manual/install.texi: Fix stray word in line-wrapped comment.
28030
7a8b71c3
DM
280312012-02-20 David S. Miller <davem@davemloft.net>
28032
d510c123
DM
28033 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28034 both binutils and gcc support GOTDATA.
28035
0722d7c2
DM
28036 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28037 "rd %pc" in the PIC register setup sequences.
28038
3d2b3019
DM
28039 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28040 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28041 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28042 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28043 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28044 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28045 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28046 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28047 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28048 (SYSCALL_ERROR_HANDLER): Likewise.
28049 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28050 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28051 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28052 (SYSCALL_ERROR_HANDLER): Likewise.
28053
c80098a9
DM
28054 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28055 (HAVE_GCC_GOTDATA): New.
28056 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28057 relocation support in both binutils and gcc.
28058 * sysdeps/sparc/elf/configure: Regenerate.
28059
3a2545a0
DM
28060 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28061 * sysdeps/sparc/sparc32/elf/configure: Delete.
28062 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28063 * sysdeps/sparc/sparc64/elf/configure: Delete.
28064 * sysdeps/sparc/elf/configure.in: New file.
28065 * sysdeps/sparc/elf/configure: Generate.
28066
7a8b71c3
DM
28067 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28068 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28069 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28070 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28071 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28072
f1e86fca
JM
280732012-02-21 Joseph Myers <joseph@codesourcery.com>
28074
28075 * manual/install.texi: Do not mention specific glibc version
28076 numbers.
28077 * manual/libc.texinfo (VERSION, UPDATED): Update.
28078 (@copying): Use @copyright{} and range of years.
28079
0e7dfaef
JM
280802012-02-21 Joseph Myers <joseph@codesourcery.com>
28081
28082 [BZ #13695]
28083 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28084 [crti.S not in sysdirs] (generated): Do not append.
28085 [crti.S not in sysdirs] (omit-deps): Likewise.
28086 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28087 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28088 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28089 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28090 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28091 Likewise.
28092 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28093 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28094 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28095 * csu/defs.awk: Remove file.
28096 * sysdeps/generic/initfini.c: Likewise.
28097 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28098 variable.
28099 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28100 Likewise.
28101
599af3ca
JM
281022012-02-20 Joseph Myers <joseph@codesourcery.com>
28103
28104 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28105 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28106 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28107 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28108 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28109 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28110 <bits/epoll.h>.
28111 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28112 (__EPOLL_PACKED): Define to empty if not defined by
28113 <bits/epoll.h>.
28114 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28115 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28116 bits/epoll.h.
28117
0e499750
JM
281182012-02-20 Joseph Myers <joseph@codesourcery.com>
28119
28120 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28121 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28122 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28123 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28124 <bits/timerfd.h>.
28125 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28126 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28127 bits/timerfd.h.
28128
5ad91f6e
JM
281292012-02-20 Joseph Myers <joseph@codesourcery.com>
28130
28131 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28132 in C locale.
28133 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28134 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28135 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28137
06b99b02
AJ
281382012-02-20 Aurelien Jarno <aurelien@aurel32.net>
28139
28140 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28141 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28142
7638c0fd
AS
281432012-02-19 Andreas Schwab <schwab@linux-m68k.org>
28144
28145 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28146 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28147 defined.
28148 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28149 Likewise.
28150 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28151 entry for 2.16.
28152
92221550
AJ
281532012-02-19 Aurelien Jarno <aurelien@aurel32.net>
28154
28155 * math/w_acos.c: Use non-signaling floating-point comparisons.
28156 * math/w_acosf.c: Likewise.
28157 * math/w_acosh.c: Likewise.
28158 * math/w_acoshf.c: Likewise.
28159 * math/w_acoshl.c: Likewise.
28160 * math/w_acosl.c: Likewise.
28161 * math/w_asin.c: Likewise.
28162 * math/w_asinf.c: Likewise.
28163 * math/w_asinl.c: Likewise.
28164 * math/w_atanh.c: Likewise.
28165 * math/w_atanhf.c: Likewise.
28166 * math/w_atanhl.c: Likewise.
28167 * math/w_exp2.c: Likewise.
28168 * math/w_exp2f.c: Likewise.
28169 * math/w_exp2l.c: Likewise.
28170 * math/w_j0.c: Likewise.
28171 * math/w_j0f.c: Likewise.
28172 * math/w_j0l.c: Likewise.
28173 * math/w_j1.c: Likewise.
28174 * math/w_j1f.c: Likewise.
28175 * math/w_j1l.c: Likewise.
28176 * math/w_jn.c: Likewise.
28177 * math/w_jnf.c: Likewise.
28178 * math/w_log.c: Likewise.
28179 * math/w_log10.c: Likewise.
28180 * math/w_log10f.c: Likewise.
28181 * math/w_log10l.c: Likewise.
28182 * math/w_log2.c: Likewise.
28183 * math/w_log2f.c: Likewise.
28184 * math/w_log2l.c: Likewise.
28185 * math/w_logf.c: Likewise.
28186 * math/w_logl.c: Likewise.
28187 * math/w_sqrt.c: Likewise.
28188 * math/w_sqrtf.c: Likewise.
28189 * math/w_sqrtl.c: Likewise.
28190 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28191 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28192 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28193 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28194 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28195
ebaf36eb
JM
281962012-02-19 Joseph Myers <joseph@codesourcery.com>
28197
28198 [BZ #9739]
28199 * manual/string.texi (strnlen): Use correct parameter name in
28200 equivalent expression.
28201
71c254a6
JM
282022012-02-19 Joseph Myers <joseph@codesourcery.com>
28203
28204 [BZ #11174]
28205 * manual/users.texi (seteuid): Consistently use neweuid for
28206 argument name.
28207
16d2c631
JM
282082012-02-19 Joseph Myers <joseph@codesourcery.com>
28209
28210 [BZ #13704]
28211 * manual/nss.texi (Services in the NSS configuration): Correct
28212 list of services in example configuration file.
28213
cd837b09
NB
282142012-02-19 Nick Bowler <nbowler@draconx.ca>
28215
28216 [BZ #11322]
28217 * manual/arith.texi: Remove statements about negative zero
28218 behaving identically to zero.
28219
02c4bbad
JM
282202012-02-18 Joseph Myers <joseph@codesourcery.com>
28221
28222 [BZ #5993]
28223 * manual/install.texi: Do not document upgrading from libc5.
28224
366842e7
JM
282252012-02-18 Joseph Myers <joseph@codesourcery.com>
28226
28227 [BZ #4596]
28228 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28229
dd54084d
DM
282302012-02-18 David S. Miller <davem@davemloft.net>
28231
28232 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28233 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28234 %o7 across the call.
28235 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28236 instead.
28237 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28238 SETUP_PIC_REG_LEAF.
28239 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28240 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28241 * sysdeps/sparc/crtn.S: Likewise.
28242
2bcc53a3
UD
282432012-02-17 Ulrich Drepper <drepper@gmail.com>
28244
28245 * aout/Makefile: Remove.
28246
09c093b5
RK
282472012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
28248
28249 [BZ #13058]
28250 * manual/examples/argp-ex1.c (main): Format definition in GNU
28251 style.
28252 * manual/examples/argp-ex2.c (main): Likewise.
28253 * manual/examples/argp-ex3.c (main): Likewise.
28254 * manual/examples/argp-ex4.c (main): Likewise.
28255 * manual/examples/longopt.c (main): Use new-style prototype
28256 definition.
28257 * manual/examples/strncat.c (main): Specify return type and use
28258 (void) for arguments.
28259 * manual/examples/subopt.c (main): Use char **argv argument.
28260
2ee633a2
JM
282612012-02-17 Joseph Myers <joseph@codesourcery.com>
28262
28263 [BZ #5077]
28264 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28265 rounding modes.
28266
0520adde
FB
282672012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
28268
28269 [BZ #6907]
28270 * manual/string.texi (strchr): Change when strchrnul is
28271 recommended.
28272
3f4081cd
DGM
282732012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
28274
28275 [BZ #174]
28276 * manual/locale.texi (setlocale): Document LOCPATH.
28277
d1b10e78
JM
282782012-02-17 Joseph Myers <joseph@codesourcery.com>
28279
28280 [BZ #10210]
28281 * manual/process.texi (execle): Move @dots{} before last argument.
28282
79c6869c
PB
282832012-02-17 Paul Bolle <pebolle@tiscali.nl>
28284
28285 [BZ #12047]
28286 * manual/charset.texi (Generic Charset Conversion): Fix typo
28287 (LC_TYPE -> LC_CTYPE).
28288
cc6e48bc
NB
282892012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
28290
28291 [BZ #5805]
28292 * manual/arith.texi (scalbn): Use @var{} on parameter names.
28293 (scalbnf): Likewise.
28294 (scalbnl): Likewise.
28295 (scalbln): Likewise.
28296 (scalblnf): Likewise.
28297 (scalblnl): Likewise.
28298 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28299 (vwarnx): Likewise.
28300 (verr): Likewise.
28301 (verrx): Likewise.
28302 * manual/filesys.texi (telldir): Use braces around return type.
28303 * manual/llio.texi (mmap): Add space after comma.
28304 (mmap64): Likewise.
28305 * manual/math.texi (jn): Use @var{} on parameter names.
28306 (jnf): Likewise.
28307 (jnl): Likewise.
28308 (yn): Likewise.
28309 (ynf): Likewise.
28310 (ynl): Likewise.
28311 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28312 line.
28313 * manual/resource.texi (ulimit): Use @dots{} instead of literal
28314 "...".
28315 (sched_get_priority_min): Remove semicolon on @deftypefun line.
28316 (sched_get_priority_max): Likewise.
28317 * manual/signal.texi (sigvec): Add space after comma.
28318 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28319 names.
28320 (if_indextoname): Likewise.
28321 (if_freenameindex): Likewise.
28322 (sendto): Use ',' instead of '.' in prototype.
28323 * manual/startup.texi (syscall): Use @dots{} instead of literal
28324 "...".
28325 * manual/stdio.texi (__fpending): Separate initial words of
28326 paragraph from @deftypefun line.
28327 * manual/syslog.texi (syslog): Use @dots{} instead of literal
28328 "...".
28329 (vsyslog): Use @var{} on parameter names.
28330 * manual/terminal.texi (stty): Use @var{} on parameter names.
28331 * manual/users.texi (getutmp): Use @var{} on parameter names.
28332 (getutmpx): Likewise.
28333
5b23062f
JM
283342012-02-17 Joseph Myers <joseph@codesourcery.com>
28335
28336 [BZ #6884]
28337 * manual/stdio.texi (fopen): Fix typos in description of
28338 ",ccs=STRING".
28339
8dee4833
AJ
283402012-02-17 Aurelien Jarno <aurelien@aurel32.net>
28341
28342 [BZ #4026]
28343 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28344 get clock_id definition.
28345
9078ce93
TS
283462012-02-17 Thomas Schwinge <thomas@schwinge.name>
28347
28348 [BZ #4822]
28349 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28350 (madvise): Cast every argument to void on its own.
28351
3835c55f
JM
283522012-02-17 Joseph Myers <joseph@codesourcery.com>
28353
28354 [BZ #9902]
28355 * manual/startup.texi (Exit Status): Fix typo.
28356
35c47e37
JM
283572012-02-17 Joseph Myers <joseph@codesourcery.com>
28358
28359 [BZ #10140]
28360 * manual/examples/argp-ex1.c: Include <stdlib.h>.
28361 * manual/examples/argp-ex2.c: Likewise.
28362 * manual/examples/argp-ex3.c: Likewise.
28363
e3b69ca7
RH
283642012-02-16 Richard Henderson <rth@redhat.com>
28365
28366 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28367 * sysdeps/s390/s390-32/initfini.c: Remove.
28368 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28369 * sysdeps/s390/s390-64/initfini.c: Remove.
28370
df83af67
KK
283712012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
28372
28373 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28374 compiler output for sysdeps/generic/initfini.c.
28375 * sysdeps/sh/elf/initfini.c: Remove file.
28376
f63f3380
DM
283772012-02-16 David S. Miller <davem@davemloft.net>
28378
fb59b3a4
DM
28379 [BZ #11494]
28380 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28381
f63f3380
DM
28382 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28383 * sysdeps/sparc/crti.S: New file.
28384 * sysdeps/sparc/crtn.S: New file.
28385 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
28386 * sysdeps/sparc/sparc64/Makefile: Likewise.
28387
df6a4a4a
MF
283882012-02-15 Mike Frysinger <vapier@gentoo.org>
28389
6dd8f3dc 28390 [BZ #3335]
df6a4a4a
MF
28391 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
28392
1cac7236
RM
283932012-02-15 Roland McGrath <roland@hack.frob.com>
28394
d2c736f8
RM
28395 [BZ #4822]
28396 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
28397
1cac7236
RM
28398 * mach/devstream.c (cookie_io_functions_t): Macro removed.
28399 (write, read, close): Likewise.
28400 Patch by Aurelien Jarno <aurelien@aurel32.net>.
28401
8e475601
JM
284022012-02-15 Joseph Myers <joseph@codesourcery.com>
28403
28404 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
28405 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
28406 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
28407 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
28408 <bits/signalfd.h>.
28409 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
28410 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28411 bits/signalfd.h.
28412
ed656b40
MP
284132012-02-14 Marek Polacek <polacek@redhat.com>
28414
28415 * sysdeps/x86_64/crti.S: New file.
28416 * sysdeps/x86_64/crtn.S: New file.
28417 * sysdeps/x86_64/elf/initfini.c: Remove file.
28418
2a979d3a
JM
284192012-02-13 Joseph Myers <joseph@codesourcery.com>
28420
28421 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
28422 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
28423 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
28424 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
28425 <bits/inotify.h>.
28426 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
28427 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28428 bits/inotify.h.
28429
2a418ac3
JM
284302012-02-13 Joseph Myers <joseph@codesourcery.com>
28431
28432 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
28433 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
28434 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
28435 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
28436 <bits/eventfd.h>.
28437 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
28438 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28439 bits/eventfd.h.
28440
fb779be7
TS
284412012-02-10 Thomas Schwinge <thomas@codesourcery.com>
28442
e19e83c5
RM
28443 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
28444 __feraiseexcept instead of feraiseexcept.
7c35ffed 28445
fb779be7
TS
28446 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
28447 nanosleep invocations.
28448 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
28449 strings, and add error checking for a nanosleep invocations.
28450
59ba27a6
PE
284512012-02-09 Paul Eggert <eggert@cs.ucla.edu>
28452
28453 Replace FSF snail mail address with URLs, as per GNU coding standards.
28454 Most of the snail mail addresses were wrong anyway, and omitting
28455 them makes the source code easier to maintain. Almost all of the
28456 changes are to license notices and to locale LC_IDENTIFICATION
28457 addresses, except for this one:
28458 * manual/libc.texinfo: In "Published by", give the FSF's URL,
28459 not its snail mail address.
28460
57b957eb
RH
284612012-02-09 Richard Henderson <rth@twiddle.net>
28462
af850b1c
RH
28463 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
28464 of kernel-features.h.
28465
57b957eb
RH
28466 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
28467
6b73181a
MP
284682012-02-08 Marek Polacek <polacek@redhat.com>
28469
28470 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
28471 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
28472 * sysdeps/gnu/_G_config.h: Likewise.
28473 * sysdeps/generic/_G_config.h: Likewise.
28474
26ecc33a
AS
284752012-02-08 Andreas Schwab <schwab@linux-m68k.org>
28476
6c6dbc63
AS
28477 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
28478 tests.
28479 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28480
e216c012
AS
28481 * sysdeps/powerpc/powerpc32/crti.S: New file.
28482 * sysdeps/powerpc/powerpc32/crtn.S: New file.
28483 * sysdeps/powerpc/powerpc64/crti.S: New file.
28484 * sysdeps/powerpc/powerpc64/crtn.S: New file.
28485
26ecc33a
AS
28486 * Makeconfig (have-initfini): Don't set.
28487 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
28488 * configure.in (nopic_initfini): Don't substitute.
28489 * config.h.in (HAVE_INITFINI): Don't #undef.
28490 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
28491 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
28492
3add8e13
JM
284932012-02-08 Joseph Myers <joseph@codesourcery.com>
28494
28495 Support crti.S and crtn.S provided directly by architectures.
28496 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
28497 [crti.S in sysdirs] (omit-deps): Likewise.
28498 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
28499 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
28500 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
28501 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
28502 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
28503 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
28504 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
28505 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
28506 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
28507 compiler output for sysdeps/generic/initfini.c.
28508 * sysdeps/i386/elf/Makefile: Remove file.
28509 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
28510
a22f12b4
MP
285112012-02-07 Marek Polacek <polacek@redhat.com>
28512
28513 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
28514 * sysdeps/gnu/_G_config.h: Likewise.
28515 * sysdeps/mach/hurd/_G_config.h: Likewise.
28516
148cf100
MP
285172012-02-07 Marek Polacek <polacek@redhat.com>
28518
28519 * math/Makefile (tests): Add tst-CMPLX2.
28520 * math/tst-CMPLX2.c: New file.
28521
cfdc0dd7
AS
285222012-02-07 Andreas Schwab <schwab@linux-m68k.org>
28523
84ba42c4
AS
28524 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28525
cfdc0dd7
AS
28526 * math/libm-test.inc (jn_test): Add missing L suffix.
28527
622c86f4
MP
285282012-02-06 Marek Polacek <polacek@redhat.com>
28529
28530 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
28531 * sysdeps/i386/fpu/e_powf.S: Likewise.
28532 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
28533 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
28534 * sysdeps/i386/fpu/e_acosh.S: Likewise.
28535 * sysdeps/i386/fpu/e_pow.S: Likewise.
28536 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
28537 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
28538 * sysdeps/i386/fpu/s_expm1.S: Likewise.
28539 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
28540 * sysdeps/i386/fpu/e_log2.S: Likewise.
28541 * sysdeps/i386/fpu/e_log2l.S: Likewise.
28542 * sysdeps/i386/fpu/e_scalb.S: Likewise.
28543 * sysdeps/i386/fpu/e_powl.S: Likewise.
28544 * sysdeps/i386/fpu/s_log1p.S: Likewise.
28545 * sysdeps/i386/fpu/e_log10f.S: Likewise.
28546 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
28547 * sysdeps/i386/fpu/e_logl.S: Likewise.
28548 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
28549 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
28550 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
28551 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
28552 * sysdeps/i386/fpu/e_log2f.S: Likewise.
28553 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
28554 * sysdeps/i386/fpu/e_log.S: Likewise.
28555 * sysdeps/i386/fpu/s_cexp.S: Likewise.
28556 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
28557 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
28558 * sysdeps/i386/fpu/e_logf.S: Likewise.
28559 * sysdeps/i386/fpu/e_log10l.S: Likewise.
28560 * sysdeps/i386/fpu/e_atanh.S: Likewise.
28561 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
28562 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
28563 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
28564 * sysdeps/i386/fpu/e_log10.S: Likewise.
28565 * sysdeps/i386/fpu/s_frexp.S: Likewise.
28566 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
28567 * sysdeps/i386/fpu/s_asinh.S: Likewise.
28568 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
28569 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
28570 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
28571 * sysdeps/i386/asm-syntax.h: Likewise.
28572 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
28573 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
28574 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
28575 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
28576 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
28577 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
28578 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
28579 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
28580 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
28581 * sysdeps/powerpc/sysdep.h: Likewise.
28582 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
28583 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
28584
d4a54ac6
JM
285852012-02-06 Joseph Myers <joseph@codesourcery.com>
28586
28587 [BZ #411]
28588 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
28589
314054ea
JM
285902012-02-06 Joseph Myers <joseph@codesourcery.com>
28591
28592 * sysdeps/i386/sysdep.h: Include <features.h>.
28593 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
28594 version.
28595
d8e0ca50
JM
285962012-02-05 Joseph Myers <joseph@codesourcery.com>
28597
28598 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
28599 Define.
28600 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
28601 LOAD_PIC_REG_STR.
28602
b1da7dd9
JM
286032012-02-03 Joseph Myers <joseph@codesourcery.com>
28604
28605 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
28606 (SETUP_PIC_REG): Use GET_PC_THUNK.
28607 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
28608 macro.
28609
9a1d9254
JM
286102012-02-03 Joseph Myers <joseph@codesourcery.com>
28611
28612 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
28613 for non-PIC compilation.
28614 (SETUP_PIC_REG): Add .p2align directive.
28615 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
28616 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28617 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28618 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28619 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28620 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28621 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28622 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28623 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28624 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28625 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28626 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28627 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28628 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28629 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28630 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28631 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28632 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28633 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28634 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28635 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
28636 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28637 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28638 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28639 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28640 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28641 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28642 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28643 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28644 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28645 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28646 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
28647 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28648 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28649 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28650 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28651 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28652 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28653 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28654 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28655 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28656
65dc3b75
JM
286572012-02-03 Joseph Myers <joseph@codesourcery.com>
28658
28659 * math/tst-CMPLX.c: Include <stdio.h>.
28660
d55bf177
JM
286612012-01-31 Joseph Myers <joseph@codesourcery.com>
28662
28663 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
28664 float.
28665 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28666 * sysdeps/sparc/bits/mathdef.h: Likewise.
28667
69db4f8f
MP
286682012-01-31 Marek Polacek <polacek@redhat.com>
28669
28670 * libio/libio.h: Don't define _PARAMS.
28671 * locale/programs/config.h: Don't define PARAMS.
28672 * stdlib/strtol_l.c: Likewise.
28673 (__strtol_l): Remove PARAMS from the prototype.
28674
41b81892
UD
286752012-01-31 Ulrich Drepper <drepper@gmail.com>
28676
3b49edc0
UD
28677 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
28678 names. Just use the correct names. Remove unnecessary wrapper
28679 functions.
28680 * malloc/arena.c: Likewise.
28681 * malloc/hooks.c: Likewise.
28682
41b81892
UD
28683 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
28684 ARENA_TEST says not to. Simplify test for creation of a new arena.
28685 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
28686
27a25b6e
UD
286872012-01-30 Ulrich Drepper <drepper@gmail.com>
28688
28689 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
28690 into tail calls.
28691 (update_get_addr): New function.
28692 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
28693 GET_ADDR_MODULE parameter.
28694
c8a89e7d
JM
286952012-01-30 Joseph Myers <joseph@codesourcery.com>
28696
28697 * crypt/cert.c: Remove __STDC__ conditionals.
28698 * crypt/crypt-entry.c: Likewise.
28699 * crypt/crypt_util.c: Likewise.
28700 * libio/filedoalloc.c: Likewise.
28701 * libio/fileops.c: Likewise.
28702 * libio/genops.c: Likewise.
28703 * libio/iofclose.c: Likewise.
28704 * libio/iofdopen.c: Likewise.
28705 * libio/iofopen.c: Likewise.
28706 * libio/iofopen64.c: Likewise.
28707 * libio/iogetdelim.c: Likewise.
28708 * libio/iopopen.c: Likewise.
28709 * libio/obprintf.c: Likewise.
28710 * libio/oldfileops.c: Likewise.
28711 * libio/oldiofclose.c: Likewise.
28712 * libio/oldiofdopen.c: Likewise.
28713 * libio/oldiofopen.c: Likewise.
28714 * libio/oldiopopen.c: Likewise.
28715 * libio/wfiledoalloc.c: Likewise.
28716 * libio/wgenops.c: Likewise.
28717 * locale/programs/xmalloc.c: Likewise.
28718 * misc/syslog.c: Likewise.
28719 * stdio-common/xbug.c: Likewise.
28720 * string/memchr.c: Likewise.
28721 * string/memcmp.c: Likewise.
28722 * string/memrchr.c: Likewise.
28723 * string/rawmemchr.c: Likewise.
28724 * sysdeps/posix/getcwd.c: Likewise.
28725 * time/strftime_l.c: Likewise.
28726
3b100462
JM
287272012-01-30 Joseph Myers <joseph@codesourcery.com>
28728
28729 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
28730 * config.make.in (config-cflags-sse2avx): Define.
28731 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
28732 Fix typo.
28733
607998af
CM
287342012-01-29 Chris Metcalf <cmetcalf@tilera.com>
28735
28736 * scripts/config.guess: Update from upstream config git repository.
28737 * scripts/config.sub: Likewise.
28738
3601428f
CM
287392012-01-28 Chris Metcalf <cmetcalf@tilera.com>
28740
3ac8b282
CM
28741 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
28742 (EM_NUM): Update.
28743 (R_TILEPRO_*, R_TILEGX_*): New macros.
28744
e034841e
CM
28745 * scripts/firstversions.awk: Fix bug in version range handling.
28746
540d7568
CM
28747 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
28748
3601428f
CM
28749 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
28750
463de862
CM
28751 * include/sys/epoll.h: New file.
28752 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
28753 libc_hidden_def.
28754
73139a76
UD
287552012-01-28 Ulrich Drepper <drepper@gmail.com>
28756
96bc5b45
UD
28757 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
28758 Avoid unnecessary __WORDSIZE == 64 test.
28759 (fmaxf): Use VEX format if possible.
28760 (fmax): Likewise.
28761 (fminf): Likewise.
28762 (fmin): Likewise.
28763
56f6f6a2
UD
28764 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
28765 * math/math_private.h: Remove libc_fegetround* and
28766 libc_fesetround*.
28767 * sysdeps/i386/configure.in: Check for -msse2avx.
28768 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
28769 also if SSE2AVX is defined.
28770 Remove libc_fegetround* and libc_fesetround*.
28771 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
28772 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
28773 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
28774 of HAS_YMM_USABLE.
28775 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28776 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28777 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28778 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28779 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
28780
73139a76
UD
28781 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
28782
d73f93a4
AZ
287832012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28784
28785 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
28786 size is not set.
28787 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
28788
6ee65ed6
UD
287892012-01-27 Ulrich Drepper <drepper@gmail.com>
28790
28791 [BZ #13618]
28792 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
28793 relocation.
28794 * Makeconfig (libm): Define.
28795 * elf/Makefile: Add rules to build and run tst-relsort1.
28796 * elf/tst-relsort1.c: New file.
28797 * elf/tst-relsort1mod1.c: New file.
28798 * elf/tst-relsort1mod2.c: New file.
28799
8db21882
JM
288002012-01-27 Joseph Myers <joseph@codesourcery.com>
28801
28802 * math/s_ldexp.c: Remove __STDC__ conditionals.
28803 * math/s_ldexpf.c: Likewise.
28804 * math/s_ldexpl.c: Likewise.
28805 * math/s_nextafter.c: Likewise.
28806 * math/s_nexttowardf.c: Likewise.
28807 * math/s_significand.c: Likewise.
28808 * math/s_significandf.c: Likewise.
28809 * math/s_significandl.c: Likewise.
28810 * math/w_jnl.c: Likewise.
28811 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
28812 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
28813 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
28814 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
28815 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
28816 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
28817 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
28818 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
28819 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
28820 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
28821 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
28822 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
28823 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
28824 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
28825 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
28826 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
28827 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
28828 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
28829 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
28830 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
28831 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
28832 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
28833 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
28834 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
28835 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
28836 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
28837 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
28838 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
28839 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
28840 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
28841 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
28842 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
28843 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
28844 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
28845 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
28846 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
28847 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
28848 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
28849 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
28850 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
28851 * sysdeps/ieee754/k_standard.c: Likewise.
28852 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
28853 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
28854 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
28855 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
28856 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
28857 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
28858 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
28859 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
28860 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
28861 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
28862 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
28863 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
28864 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
28865 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
28866 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
28867 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
28868 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
28869 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
28870 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
28871 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
28872 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
28873 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
28874 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
28875 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
28876 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
28877 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
28878 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
28879 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
28880 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
28881 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
28882 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
28883 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
28884 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28885 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
28886 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
28887 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
28888 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
28889 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28890 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
28891 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
28892 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
28893 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
28894 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
28895 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
28896 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28897 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
28898 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
28899 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
28900 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
28901 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
28902 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
28903 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
28904 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28905 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
28906 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
28907 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
28908 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
28909 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
28910 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
28911 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
28912 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
28913 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
28914 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
28915 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
28916 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
28917 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
28918 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
28919 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
28920 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
28921 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
28922 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
28923 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
28924 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
28925 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
28926 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
28927 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
28928 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
28929 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
28930 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
28931 * sysdeps/ieee754/s_matherr.c: Likewise.
28932 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
28933 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
28934 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
28935 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
28936
965a54a4
JM
289372012-01-26 Joseph Myers <joseph@codesourcery.com>
28938
28939 * crypt/md5.h: Remove __STDC__ conditionals.
28940 * libio/libioP.h: Likewise.
28941 * locale/programs/config.h: Likewise.
28942 * sysdeps/generic/sysdep.h: Likewise.
28943 * sysdeps/i386/asm-syntax.h: Likewise.
28944 * sysdeps/s390/asm-syntax.h: Likewise.
28945 * sysdeps/unix/sysdep.h: Likewise.
28946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28947 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28948
7071ad79
JM
289492012-01-26 Joseph Myers <joseph@codesourcery.com>
28950
28951 * libio/libio.h: Remove __STDC__ conditionals.
28952 * malloc/obstack.h: Likewise.
28953 * math/complex.h: Likewise.
28954 * math/math.h: Likewise.
28955 * sysdeps/generic/_G_config.h: Likewise.
28956 * sysdeps/gnu/_G_config.h: Likewise.
28957 * sysdeps/mach/hurd/_G_config.h: Likewise.
28958 * sysdeps/powerpc/bits/mathdef.h: Likewise.
28959 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
28960 * sysdeps/sparc/bits/mathdef.h: Likewise.
28961
afc5ed09
UD
289622012-01-26 Ulrich Drepper <drepper@gmail.com>
28963
28964 [BZ #13583]
28965 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 28966 Clean up HAS_* macros.
afc5ed09 28967 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
28968 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
28969 possible.
28970 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
28971 HAS_AVX.
28972 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
28973 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
28974 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
28975 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
28976 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 28977
bdb6de1d
JM
289782012-01-25 Joseph Myers <joseph@codesourcery.com>
28979
28980 * elf/tst-unique3.cc (gets): Remove declaration.
28981 * elf/tst-unique3lib.cc (gets): Likewise.
28982 * elf/tst-unique3lib2.cc (gets): Likewise.
28983 * elf/tst-unique4.cc (gets): Likewise.
28984
b15549e6
UD
289852012-01-24 Ulrich Drepper <drepper@gmail.com>
28986
28987 * include/stdio.h: Add C++ protection. Add gets declarations and
28988 definitions.
28989 * debug/tst-chk1.c: Don't declare gets here.
28990 * stdio-common/tst-gets.c: Likewise.
28991
a037381f
JM
289922012-01-24 Joseph Myers <joseph@codesourcery.com>
28993
28994 * posix/glob: Remove directory.
28995
f1d4aa75
JM
289962012-01-24 Joseph Myers <joseph@codesourcery.com>
28997
28998 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
28999
81c0c964
PT
290002012-01-22 Pino Toscano <toscano.pino@tiscali.it>
29001
29002 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29003 of the non-standard EPFNOSUPPORT.
29004
0ea698ae
ST
290052011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
29006
29007 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29008 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29009 ANYWHERE set to 1 only on KERN_NO_SPACE error.
29010
d220b117
UD
290112012-01-21 Ulrich Drepper <drepper@gmail.com>
29012
29013 * wcsmbs/uchar.h: Test __STDC_VERSION__.
29014
3e1aa84e
UD
290152012-01-20 Ulrich Drepper <drepper@gmail.com>
29016
29017 * nscd/aicache.c (addhstaiX): Do not cache negative results of
29018 transient errors.
29019 * nscd/grpcache.c (cache_addgr): Likewise.
29020 * nscd/hstcache.c (cache_addhst): Likewise.
29021 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29022 * nscd/pwdcache.c (cache_addpw): Likewise.
29023 * nscd/servicescache.c (cache_addserv): Likewise.
29024
400aa020
UD
290252012-01-16 Ulrich Drepper <drepper@gmail.com>
29026
d77e7869
UD
29027 * malloc/malloc.c: Various cleanups.
29028 * malloc/hooks.c: Likewise.
29029
400aa020
UD
29030 * stdlib/Makefile (tests): Add bug-fmtmsg1.
29031 * stdlib/bug-fmtmsg1.c: New file.
29032
29033 * stdlib/fmtmsg.c (init): Add missing unlock.
29034 Patch by Peng Haitao <penght@cn.fujitsu.com>.
29035
e0a309cf
MP
290362012-01-12 Marek Polacek <polacek@redhat.com>
29037
29038 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29039 and _GNU_SOURCE.
29040
929d11c7
WS
290412012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
29042
29043 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29044 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29045 macro to ensure uniqueness of label name.
29046 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29047 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29048
41d0e869
UD
290492012-01-11 Ulrich Drepper <drepper@gmail.com>
29050
0cc5ed3b
UD
29051 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29052
41d0e869
UD
29053 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29054 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29055 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29056 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29057
a47a831a
UD
290582012-01-10 Ulrich Drepper <drepper@gmail.com>
29059
daa891c0
UD
29060 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29061
29062 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29063 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29064 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29065
e58ef0f2
UD
29066 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29067
a47a831a 29068 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
29069 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29070 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 29071 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
29072
29073 * math/bits/math-finite.h: Add ldexp support.
29074
a0bfc9c7
MP
290752012-01-10 Marek Polacek <polacek@redhat.com>
29076
29077 * locale/programs/localedef.h (show_archive_content): Add noreturn
29078 attribute.
29079
d6e97a1d
UD
290802012-01-09 Ulrich Drepper <drepper@gmail.com>
29081
29082 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29083
d5835c26
UD
290842012-01-08 Ulrich Drepper <drepper@gmail.com>
29085
e5f484c6
UD
29086 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29087
d5835c26
UD
29088 * io/Makefile (headers): Add bits/poll2.h.
29089
d1f741e9
WS
290902011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
29091
29092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29093 typo #include statement.
29094
ec09c1c4
UD
290952012-01-08 Ulrich Drepper <drepper@gmail.com>
29096
29097 * include/sys/cdefs.h: Define __attribute_alloc_size.
29098 * catgets/gencat.c: Add alloc_size attribute and apply consistently
29099 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29100 * elf/pldd.c: Likewise.
29101 * iconv/iconv_charmap.c: Likewise.
29102 * iconv/iconvconfig.c: Likewise.
29103 * iconv/strtab.c: Likewise.
29104 * locale/programs/locale.c: Likewise.
29105 * locale/programs/localedef.h: Likewise.
29106 * locale/programs/simple-hash.c: Likewise.
29107 * nscd/nscd.h: Likewise.
29108 * nss/makedb.c: Likewise.
29109 * sysdeps/generic/ldconfig.h: Likewise.
29110 * locale/programs/localedef.c: Remove xmalloc prototype.
29111 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29112
20b38e03
PP
291132012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29114
29115 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29116 appropriate.
29117
a0da5fe1
UD
291182012-01-08 Ulrich Drepper <drepper@gmail.com>
29119
1d5a644a 29120 * math/Makefile (tests): Add tst-CMPLX.
669704fd 29121 * math/tst-CMPLX.c: New file.
1d5a644a 29122
8784a6db
UD
29123 * math/complex.h (CMPLXL): Fix typo.
29124
d9a216c0
UD
29125 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29126 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29127 GLIBC_2.16.
29128 * debug/tst-chk1.c: Add poll and ppoll tests.
29129 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29130 * include/sys/poll.h: Add hidden proto for ppoll.
29131 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29132 * sysdeps/mach/hurd/ppoll.c: Likewise.
29133 * io/ppoll.c: Likewise.
29134 * debug/poll_chk.c: New file.
29135 * debug/ppoll_chk.c: New file.
29136 * include/bits/poll2.h: New file.
29137 * io/bits/poll2.h: New file.
29138
ac097f5c
UD
29139 [BZ #1350]
29140 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29141
2119dcfa
UD
29142 * configure.in: static is always set to yes. Remove.
29143 * config.make.in: Don't set build-static.
29144 * Makeconfig: Remove use of build-static.
29145 * dlfcn/Makefile: Likewise.
29146 * elf/Makefile: Likewise.
29147 * math/Makefile: Likewise.
29148 * misc/Makefile: Likewise.
29149 * nptl/Makefile: Likewise.
29150 * sysdeps/mach/hurd/Makefile: Likewise.
29151
121766a9
UD
29152 * configure.in: PWD_P is not used anymore.
29153 * config.make.in: Remove PWD_P entry.
29154
51a1d39c 29155 * configure.in: Remove last remnants of RANLIB.
8720d066 29156 No need to check for signed size_t anymore.
215f4bdc
UD
29157 Don't set libc_commonpagesize and libc_relro_required here for Alpha
29158 and IA-64.
3857022a 29159 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
29160 * aclocal.m4: Likewise.
29161
d3ed7225
UD
29162 * wcsmbs/mbrtoc16.c: Implement using towc function.
29163 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29164 * wcsmbs/wcsmbsload.c: Likewise.
29165 * iconv/gconv_simple.c: Likewise.
29166 * iconv/gconv_int.h: Likewise.
29167 * iconv/gconv_builtin.h: Likewise.
29168 * iconv/iconv_prog.c: Remove CHAR16 handling.
29169
29170 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29171
29172 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29173
a0da5fe1
UD
29174 * configure.in: Remove --with-elf and --enable-bounded options.
29175 Dont set base_machine for ia64. More non-ELF conditions removed.
29176 Remove testing and setting of leading underscore information.
29177 * config.make.in (build-bounded): Set to no.
29178 * config.h.in: Remove NO_UNDERSCORES entry.
29179 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
29180 them.
29181 * csu/start.c: Remove !NO_UNDERSCORE code.
29182 * locale/localeinfo.h: Likewise.
29183 * sysdeps/generic/machine-gmon.h: Likewise.
29184 * sysdeps/generic/sysdep.h: Likewise.
29185 * sysdeps/i386/sysdep.h: Likewise.
29186 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29187 * sysdeps/mach/sysdep.h: Likewise.
29188 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29189 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29190 * sysdeps/sh/sysdep.h: Likewise.
29191 * sysdeps/sparc/sparc32/alloca.S: Likewise.
29192 * sysdeps/unix/i386/sysdep.S: Likewise.
29193 * sysdeps/unix/sparc/start.c: Likewise.
29194 * sysdeps/unix/sparc/sysdep.S: Likewise.
29195 * sysdeps/unix/sparc/sysdep.h: Likewise.
29196 * sysdeps/unix/start.c: Likewise.
29197 * sysdeps/unix/x86_64/sysdep.S: Likewise.
29198 * sysdeps/x86_64/sysdep.h: Likewise.
29199
df78418a
UD
292002012-01-07 Ulrich Drepper <drepper@gmail.com>
29201
a784e502
UD
29202 [BZ #13553]
29203 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29204 for non-gcc.
29205 * argp/argp-fmtstream.h: Use const instead __const.
29206 * argp/argp.h: Likewise.
29207 * assert/assert.h: Likewise.
29208 * bits/fenv.h: Likewise.
29209 * bits/sched.h: Likewise.
29210 * bits/sigset.h: Likewise.
29211 * bits/sigthread.h: Likewise.
29212 * catgets/nl_types.h: Likewise.
29213 * conform/data/pthread.h-data: Likewise.
29214 * crypt/crypt-private.h: Likewise.
29215 * crypt/crypt.h: Likewise.
29216 * crypt/crypt_util.c: Likewise.
29217 * ctype/ctype.h: Likewise.
29218 * debug/execinfo.h: Likewise.
29219 * debug/mbsnrtowcs_chk.c: Likewise.
29220 * debug/mbsrtowcs_chk.c: Likewise.
29221 * debug/wcsnrtombs_chk.c: Likewise.
29222 * debug/wcsrtombs_chk.c: Likewise.
29223 * debug/wcstombs_chk.c: Likewise.
29224 * dirent/dirent.h: Likewise.
29225 * dlfcn/dlfcn.h: Likewise.
29226 * elf/neededtest4.c: Likewise.
29227 * grp/grp.h: Likewise.
29228 * gshadow/gshadow.h: Likewise.
29229 * iconv/gconv.h: Likewise.
29230 * iconv/gconv_int.h: Likewise.
29231 * iconv/gconv_simple.c: Likewise.
29232 * iconv/iconv.h: Likewise.
29233 * iconv/loop.c: Likewise.
29234 * iconv/skeleton.c: Likewise.
29235 * include/aio.h: Likewise.
29236 * include/aliases.h: Likewise.
29237 * include/argz.h: Likewise.
29238 * include/arpa/inet.h: Likewise.
29239 * include/assert.h: Likewise.
29240 * include/dirent.h: Likewise.
29241 * include/dlfcn.h: Likewise.
29242 * include/execinfo.h: Likewise.
29243 * include/fcntl.h: Likewise.
29244 * include/fenv.h: Likewise.
29245 * include/glob.h: Likewise.
29246 * include/grp.h: Likewise.
29247 * include/libintl.h: Likewise.
29248 * include/mntent.h: Likewise.
29249 * include/netdb.h: Likewise.
29250 * include/pwd.h: Likewise.
29251 * include/rpc/netdb.h: Likewise.
29252 * include/sched.h: Likewise.
29253 * include/search.h: Likewise.
29254 * include/shadow.h: Likewise.
29255 * include/signal.h: Likewise.
29256 * include/stdio.h: Likewise.
29257 * include/stdlib.h: Likewise.
29258 * include/string.h: Likewise.
29259 * include/sys/socket.h: Likewise.
29260 * include/sys/stat.h: Likewise.
29261 * include/sys/statfs.h: Likewise.
29262 * include/sys/statvfs.h: Likewise.
29263 * include/sys/syslog.h: Likewise.
29264 * include/sys/time.h: Likewise.
29265 * include/sys/uio.h: Likewise.
29266 * include/time.h: Likewise.
29267 * include/unistd.h: Likewise.
29268 * include/utmp.h: Likewise.
29269 * include/wchar.h: Likewise.
29270 * include/wctype.h: Likewise.
29271 * inet/aliases.h: Likewise.
29272 * inet/arpa/inet.h: Likewise.
29273 * inet/netinet/ether.h: Likewise.
29274 * inet/netinet/in.h: Likewise.
29275 * intl/libintl.h: Likewise.
29276 * io/bits/fcntl2.h: Likewise.
29277 * io/fcntl.h: Likewise.
29278 * io/ftw.h: Likewise.
29279 * io/sys/poll.h: Likewise.
29280 * io/sys/stat.h: Likewise.
29281 * io/sys/statfs.h: Likewise.
29282 * io/sys/statvfs.h: Likewise.
29283 * io/utime.h: Likewise.
29284 * libio/bits/stdio.h: Likewise.
29285 * libio/bits/stdio2.h: Likewise.
29286 * libio/libio.h: Likewise.
29287 * libio/libioP.h: Likewise.
29288 * libio/stdio.h: Likewise.
29289 * locale/lc-ctype.c: Likewise.
29290 * locale/locale.h: Likewise.
29291 * login/utmp.h: Likewise.
29292 * malloc/arena.c: Likewise.
29293 * malloc/malloc.c: Likewise.
29294 * malloc/malloc.h: Likewise.
29295 * malloc/mcheck.c: Likewise.
29296 * malloc/mtrace.c: Likewise.
29297 * math/bits/mathcalls.h: Likewise.
29298 * math/fenv.h: Likewise.
29299 * math/math_private.h: Likewise.
29300 * misc/bits/error.h: Likewise.
29301 * misc/bits/syslog.h: Likewise.
29302 * misc/err.h: Likewise.
29303 * misc/error.h: Likewise.
29304 * misc/fstab.h: Likewise.
29305 * misc/mntent.h: Likewise.
29306 * misc/regexp.h: Likewise.
29307 * misc/search.h: Likewise.
29308 * misc/sgtty.h: Likewise.
29309 * misc/sys/mman.h: Likewise.
29310 * misc/sys/syslog.h: Likewise.
29311 * misc/sys/uio.h: Likewise.
29312 * misc/sys/xattr.h: Likewise.
29313 * misc/ttyent.h: Likewise.
29314 * nis/rpcsvc/ypclnt.h: Likewise.
29315 * nss/nss.h: Likewise.
29316 * posix/bits/unistd.h: Likewise.
29317 * posix/fnmatch.h: Likewise.
29318 * posix/glob.h: Likewise.
29319 * posix/sched.h: Likewise.
29320 * posix/spawn.h: Likewise.
29321 * posix/sys/wait.h: Likewise.
29322 * posix/unistd.h: Likewise.
29323 * posix/wordexp.h: Likewise.
29324 * pwd/pwd.h: Likewise.
29325 * resolv/netdb.h: Likewise.
29326 * resource/sys/resource.h: Likewise.
29327 * rt/aio.h: Likewise.
29328 * rt/bits/mqueue2.h: Likewise.
29329 * rt/mqueue.h: Likewise.
29330 * shadow/shadow.h: Likewise.
29331 * signal/signal.h: Likewise.
29332 * socket/send.c: Likewise.
29333 * socket/sendto.c: Likewise.
29334 * socket/sys/socket.h: Likewise.
29335 * stdio-common/printf.h: Likewise.
29336 * stdlib/bits/stdlib.h: Likewise.
29337 * stdlib/fmtmsg.h: Likewise.
29338 * stdlib/monetary.h: Likewise.
29339 * stdlib/stdlib.h: Likewise.
29340 * stdlib/ucontext.h: Likewise.
29341 * streams/stropts.h: Likewise.
29342 * string/argz.h: Likewise.
29343 * string/bits/string2.h: Likewise.
29344 * string/string.h: Likewise.
29345 * string/strings.h: Likewise.
29346 * sunrpc/rpc/auth.h: Likewise.
29347 * sunrpc/rpc/auth_des.h: Likewise.
29348 * sunrpc/rpc/clnt.h: Likewise.
29349 * sunrpc/rpc/netdb.h: Likewise.
29350 * sunrpc/rpc/pmap_clnt.h: Likewise.
29351 * sunrpc/rpc/xdr.h: Likewise.
29352 * sysdeps/generic/inttypes.h: Likewise.
29353 * sysdeps/generic/net/if.h: Likewise.
29354 * sysdeps/generic/sys/swap.h: Likewise.
29355 * sysdeps/gnu/net/if.h: Likewise.
29356 * sysdeps/gnu/utmpx.h: Likewise.
29357 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29358 * sysdeps/i386/i486/bits/string.h: Likewise.
29359 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29360 * sysdeps/s390/bits/string.h: Likewise.
29361 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29362 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29363 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29364 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29365 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29366 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29367 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29368 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29369 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29370 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29371 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29372 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29373 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29374 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29375 * sysdeps/unix/sysv/linux/readv.c: Likewise.
29376 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29377 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29378 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29379 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29380 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29381 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29382 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29383 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29384 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29385 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
29386 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
29387 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
29388 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29389 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
29390 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
29391 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
29392 * sysvipc/sys/ipc.h: Likewise.
29393 * sysvipc/sys/msg.h: Likewise.
29394 * sysvipc/sys/sem.h: Likewise.
29395 * sysvipc/sys/shm.h: Likewise.
29396 * termios/termios.h: Likewise.
29397 * time/sys/time.h: Likewise.
29398 * time/time.h: Likewise.
29399 * wcsmbs/bits/wchar2.h: Likewise.
29400 * wcsmbs/uchar.h: Likewise.
29401 * wcsmbs/wchar.h: Likewise.
29402 * wctype/wctype.h: Likewise.
29403
0269750c
UD
29404 [BZ #13551]
29405 * Makeconfig: Remove all but ELF support including AIX support.
29406 * Makerules: Likewise.
29407 * config.h.in: Likewise.
29408 * config.make.in: Likewise.
29409 * configure: Likewise.
29410 * configure.in: Likewise.
29411 * csu/Makefile: Likewise.
29412 * csu/version.c: Likewise.
29413 * debug/Makefile: Likewise.
29414 * dlfcn/Makefile: Likewise.
29415 * elf/Makefile: Likewise.
29416 * extra-lib.mk: Likewise.
29417 * iconv/Makefile: Likewise.
29418 * include/libc-symbols.h: Likewise.
29419 * include/shlib-compat.h: Likewise.
29420 * resolv/Makefile: Likewise.
29421 * resolv/res_libc.c: Likewise.
29422 * rt/Makefile: Likewise.
29423 * sysdeps/i386/asm-syntax.h: Likewise.
29424 * sysdeps/i386/sysdep.h: Likewise.
29425 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29426 * sysdeps/mach/sysdep.h: Likewise.
29427 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
29428 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
29429 * sysdeps/s390/asm-syntax.h: Likewise.
29430 * sysdeps/s390/s390-32/sysdep.h: Likewise.
29431 * sysdeps/s390/s390-64/sysdep.h: Likewise.
29432 * sysdeps/sh/sysdep.h: Likewise.
29433 * sysdeps/unix/sparc/sysdep.h: Likewise.
29434 * sysdeps/wordsize-32/divdi3.c: Likewise.
29435 * sysdeps/x86_64/sysdep.h: Likewise.
29436
00bbd29b
UD
29437 * argp/Versions: Remove _argp_unlock_xxx.
29438
29439 [BZ #13559]
29440 * abilist/ld.abilist: Update. Adjust for removal of tls option.
29441 * abilist/libBrokenLocale.abilist: Likewise.
29442 * abilist/libanl.abilist: Likewise.
29443 * abilist/libc.abilist: Likewise.
29444 * abilist/libcrypt.abilist: Likewise.
29445 * abilist/libdl.abilist: Likewise.
29446 * abilist/libm.abilist: Likewise.
29447 * abilist/libnsl.abilist: Likewise.
29448 * abilist/libpthread.abilist: Likewise.
29449 * abilist/libresolv.abilist: Likewise.
29450 * abilist/librt.abilist: Likewise.
29451 * abilist/libthread_db.abilist: Likewise.
29452 * abilist/libutil.abilist: Likewise.
29453 * abilist/libnss_db.abilist: New file.
29454
29455 * scripts/abilist.awk: Add support for indirect functions.
29456
a2693a0e
UD
29457 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
29458
3f05895f
UD
29459 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
29460
ecb6fb48
UD
29461 * shlib-versions: Remove entries for ports architectures.
29462
664f8cb9
UD
29463 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
29464 files in ports.
29465 * elf/stackguard-macros.h: Remove support for IA-64.
29466 * elf/tst-auditmod1.c: Likewise.
29467 * sysdeps/generic/ldsodefs.h: Likewise.
29468
7ae81d88
UD
29469 * sysdeps/unix/sysv/linux/configure.in: Ports should define
29470 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
29471 configure files.
29472
bdeba135
UD
29473 [BZ #13552]
29474 * configure.in: Remove --enable-omitfp support.
29475 * FAQ.in: Adjust.
29476 * config.make.in: Likewise.
29477 * Makeconfig: Likewise.
29478 * manual/install.texi: Likewise.
29479
d75a0a62
UD
29480 In case anyone cares, the IA-64 architecture could move to ports.
29481 * sysdeps/ia64/*: Removed.
29482 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 29483 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 29484
dcc9756b
UD
29485 [BZ #13555]
29486 * configure.in: Remove entries for unsupported architectures.
29487
d3761ebc 29488 [BZ #13533]
9954432e
UD
29489 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
29490 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
29491 routines.
29492 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
29493 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
29494 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
29495 fall back to using wcrtomb.
29496 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
29497 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
29498 renaming.
29499 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
29500 * wcsmbs/tst-c16c32-1.c: New file.
29501
29502 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
29503 local variable.
29504
c3a87236
UD
29505 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
29506
28926a1b
UD
29507 * elf/tst-unique3.cc: Add explicit declaration of gets.
29508 * elf/tst-unique3lib.cc: Likewise.
29509 * elf/tst-unique3lib2.cc: Likewise.
29510 * elf/tst-unique4.cc: Likewise.
29511
df78418a
UD
29512 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
29513
8ecd6b2a
JM
295142012-01-06 Joseph Myers <joseph@codesourcery.com>
29515
29516 [BZ #13566]
29517 * assert/assert.h (static_assert): Don't define for C++.
29518 * libio/stdio.h (gets): Do declare for C++ <= C++11.
29519 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
29520
9f115170
UD
295212012-01-03 Ulrich Drepper <drepper@gmail.com>
29522
5e0d0300
UD
29523 * iconv/loop.c (single loop): Fix assertion in storing of
29524 remaining bytes.
29525
9f115170
UD
29526 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
29527
81fb02b0
UD
295282012-01-01 Ulrich Drepper <drepper@gmail.com>
29529
29530 * posix/getconf.c: Update copyright year.
29531 * nss/getent.c: Likewise.
a316c1f6 29532 * nss/makedb.c: Likewise.
81fb02b0
UD
29533 * iconv/iconvconfig.c: Likewise.
29534 * iconv/iconv_prog.c: Likewise.
29535 * elf/ldconfig.c: Likewise.
a316c1f6
UD
29536 * elf/pldd.c: Likewise.
29537 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
29538 * catgets/gencat.c: Likewise.
29539 * csu/version.c: Likewise.
29540 * elf/ldd.bash.in: Likewise.
29541 * elf/sprof.c (print_version): Likewise.
29542 * locale/programs/locale.c: Likewise.
29543 * locale/programs/localedef.c: Likewise.
a316c1f6 29544 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
29545 * nscd/nscd.c (print_version): Likewise.
29546 * debug/xtrace.sh: Likewise.
29547 * malloc/memusage.sh: Likewise.
29548 * malloc/mtrace.pl: Likewise.
29549 * debug/catchsegv.sh: Likewise.
29550
2ba92745
JJ
295512011-12-30 Jakub Jelinek <jakub@redhat.com>
29552
29553 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
29554 pure attribute.
29555
dadebdae
UD
295562011-12-24 Ulrich Drepper <drepper@gmail.com>
29557
d3761ebc 29558 [BZ #13533]
db6af3eb
UD
29559 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
29560 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
29561 transformations.
29562 * iconv/gconv_int.h: Likewise.
29563 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
29564 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
29565 from libc for GLIBC_2.16.
29566 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
29567 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
29568 * wcsmbs/uchar.h: Really define mbstate_t.
29569 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
29570 * wcsmbs/c16rtomb.c: New file.
29571 * wcsmbs/mbrtoc16.c: New file.
29572 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
29573 for C/POSIX locale.
29574 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
29575 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
29576
dadebdae
UD
29577 * wcsmbs/wchar.h: Add missing __restrict.
29578
67371b56
UD
295792011-12-23 Ulrich Drepper <drepper@gmail.com>
29580
74033a25
UD
29581 [BZ #13532]
29582 * time/Makefile (routines): Add timespec_get.
29583 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
29584 * time/time.h: Define TIME_UTC and declare timespec_get. Define
29585 timespec for ISO C11.
29586 * time/timespec_get.c: New file.
29587 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
29588 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
29589
380d7e87
UD
29590 [BZ #13531]
29591 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
29592 * stdlib/stdlib.h: Declare aligned_alloc.
29593 * Versions.def: Add GLIBC_2.16 for libc.
29594 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
29595
4e9e7a35
UD
29596 [BZ 13527]
29597 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
29598 ISO C11.
29599
380d7e87 29600 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
29601 code.
29602
03a71829
UD
29603 [BZ #13528]
29604 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
29605
839e283e
UD
29606 [BZ #13529]
29607 * assert/assert.h (static_assert): Define.
29608
ce5294e2 29609 * version.h: Update for 2.16 development version.
90fa7312 29610
8d44e150 29611 [BZ #13526]
d7809905
UD
29612 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
29613 _ISOC11_SOURCE.
29614
c0da14cd
UD
29615 * version.h (RELEASE): Bump for 2.15 release.
29616 * include/features.h (__GLIBC_MINOR__): Bump to 15.
29617
530a3249
MP
29618 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
29619 Patch by Marek Polacek <mpolacek@redhat.com>.
29620
67371b56
UD
29621 * bits/byteswap.h: Protect long long constants with __extension__.
29622 * sysdeps/i386/bits/byteswap.h: Likewise.
29623 * sysdeps/ia64/bits/byteswap.h: Likewise.
29624 * sysdeps/s390/bits/byteswap.h: Likewise.
29625 * sysdeps/x86_64/bits/byteswap.h: Likewise.
29626
15db4de1
LD
296272011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29628
29629 [BZ #13540]
bbe315ea
LD
29630 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
29631 destination buffer.
15db4de1
LD
29632 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
29633
2b2596b1
MP
296342011-12-23 Marek Polacek <polacek@redhat.com>
29635
29636 * elf/dl-addr.c (determine_info): Add inline keyword.
29637 * elf/tst-auditmod4b.c (check_avx): Likewise.
29638 * elf/tst-auditmod6b.c (check_avx): Likewise.
29639 * elf/tst-auditmod6c.c (check_avx): Likewise.
29640 * elf/tst-auditmod7b.c (check_avx): Likewise.
29641
70c6c246
UD
296422011-12-23 Ulrich Drepper <drepper@gmail.com>
29643
29644 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
29645 !__SSE_MATH__.
29646
c044cf14
LD
296472011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29648
15db4de1 29649 [BZ #13540]
c044cf14
LD
29650 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
29651 processing for last bytes.
29652
6b13d9d9
BH
296532011-08-06 Bruno Haible <bruno@clisp.org>
29654
d455f537
BH
29655 [BZ #13061]
29656 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
29657 U+0385, not to U+1FEE.
29658
6b13d9d9
BH
29659 [BZ #13062]
29660 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
29661 entry for U+00A5 U+0301.
29662
db910efd
UD
296632011-12-22 Ulrich Drepper <drepper@gmail.com>
29664
27deeafc
UD
29665 [BZ #13166]
29666 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
29667 buffer for the output is too small.
29668
aed9d171
UD
29669 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
29670 optimization.
29671
db910efd
UD
29672 [BZ #13185]
29673 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
29674 SSE flags if possible.
29675
2bd779ae
LD
296762011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29677
e7f9dac3 29678 [BZ #13540]
2bd779ae
LD
29679 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
29680 processing for last bytes.
29681
154bfc16
JM
296822011-12-22 Joseph Myers <joseph@codesourcery.com>
29683
29684 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
29685 (syscall-list-default-options, syscall-list-default-condition)
29686 (syscall-list-includes): Define.
29687 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
29688 list of ABIs and options and #if conditions for each ABI. Do not
29689 handle common syscalls between ABIs specially.
29690 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
29691 Remove.
29692 (syscall-list-variants, syscall-list-32bit-options)
29693 (syscall-list-32bit-condition, syscall-list-64bit-options)
29694 (syscall-list-64bit-condition): Define.
29695 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
29696 (syscall-list-variants, syscall-list-32bit-options)
29697 (syscall-list-32bit-condition, syscall-list-64bit-options)
29698 (syscall-list-64bit-condition): Define.
29699 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
29700 Remove.
29701 (syscall-list-variants, syscall-list-32bit-options)
29702 (syscall-list-32bit-condition, syscall-list-64bit-options)
29703 (syscall-list-64bit-condition): Define.
29704 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
29705 Remove.
29706 (syscall-list-variants, syscall-list-32bit-options)
29707 (syscall-list-32bit-condition, syscall-list-64bit-options)
29708 (syscall-list-64bit-condition): Define.
29709
21eaf3a5
UD
297102011-12-22 Ulrich Drepper <drepper@gmail.com>
29711
16c6f992
UD
29712 * locale/iso-639.def: Add brx entry.
29713
41043168
UD
29714 [BZ #13328]
29715 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
29716 Proposed by Mariusz_Cukr <marcukr@op.pl>.
29717
21eaf3a5
UD
29718 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
29719 __feraiseexcept_renamed.
29720
e3a851a2
UD
297212011-12-21 Ulrich Drepper <drepper@gmail.com>
29722
4920765e
UD
29723 [BZ #13538]
29724 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
29725 EPOLLET with unsigned values.
29726 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
29727 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29728
e3a851a2
UD
29729 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
29730 to large cancellation.
29731 * math/s_cacoshf.c: Likewise.
29732 * math/s_cacoshl.c: Likewise.
29733
b27e24b8
RK
297342011-11-18 Richard B. Kreckel <kreckel@ginac.de>
29735
29736 [BZ #13305]
aebefeee 29737 [BZ #12786]
b27e24b8
RK
29738 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
29739 * math/s_cacoshf.c: Likewise.
29740 * math/s_cacoshl.c: Likewise.
29741
ee190f67
UD
297422011-12-21 Ulrich Drepper <drepper@gmail.com>
29743
29744 [BZ #13439]
29745 * iconv/gconv.h: Define __GCONV_SWAP.
29746 * iconvdata/unicode.c: The swap bit must be stored in __flags.
29747 * iconvdata/utf-16.c: Likewise.
29748 * iconvdata/utf-32.c: Likewise.
29749
707f25df
AS
297502011-12-21 Andreas Schwab <schwab@linux-m68k.org>
29751
29752 [BZ #13524]
29753 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
29754 numerator after shifting it by one limb.
29755
d2daaa1e
RÁE
297562011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
29757
29758 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
29759 under [__USE_EXTERN_INLINES].
29760
a4647e72
UD
297612011-12-17 Ulrich Drepper <drepper@gmail.com>
29762
29763 [BZ #13446]
29764 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
29765
f0b264f1
AZ
297662011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29767
29768 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
29769 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
29770 optimized code.
29771 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
29772 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
29773 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
29774 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
29775 for strncasecmp/strncasecmp_l compilation.
29776 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
29777 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
29778
8ef4f244
MP
297792011-12-08 Marek Polacek <mpolacek@redhat.com>
29780
29781 [BZ #13484]
29782 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
29783 of __asm__.
29784
97ac2654
UD
297852011-12-17 Ulrich Drepper <drepper@gmail.com>
29786
29787 [BZ #13506]
29788 * time/tzfile.c (__tzfile_read): Check values from file header.
29789
91d2a845
WS
297902011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
29791
29792 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
29793 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
29794 * powerpc/powerpc32/dl-start.S: Likewise.
29795 * powerpc/powerpc32/elf/start.S: Likewise.
29796 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
29797 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
29798 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
29799 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
29800 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
29801 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
29802 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
29803 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29804 * powerpc/powerpc32/fpu/s_round.S: Likewise.
29805 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
29806 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
29807 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
29808 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
29809 * powerpc/powerpc32/memset.S: Likewise.
29810 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
29811 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
29812 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
29813 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
29814 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
29815 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
29816 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
29817 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
29818 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
29819 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
29820 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
29821 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29822 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29823
a1267ba1
AZ
298242011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29825
29826 * math/libm-test.inc: Added more nearbyint tests.
29827 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
29828 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
29829 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
29830 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
29831
ad8ac1bd
RL
298322011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
29833
29834 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
29835 FD_CLOEXEC.
29836
1d3e4b61
UD
298372011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29838
29839 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
29840 Add wcscpy-ssse3 wcscpy-c.
29841 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
29842 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
29843 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
29844 * sysdeps/x86_64/wcschr.S: New file.
29845 * sysdeps/x86_64/wcsrchr.S: New file.
29846 * string/test-strcmp.c: Remove checking of wcscmp function for
29847 wrong alignments.
29848 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
29849 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
29850 wcsrchr-sse2 wcsrchr-c.
29851 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
29852 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
29853 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
29854 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
29855 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
29856 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
29857 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
29858 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
29859 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
29860 * wcsmbc/wcschr.c (WCSCHR): New macro.
29861
5b330a2d
UD
298622011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29863
29864 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
29865 * wcsmbs/test-wcsrchr.c: New file.
29866 * string/test-strrchr.c: Add wcsrchr support.
29867 (WIDE): New macro.
29868 * wcsmbs/test-wcscpy.c: New file.
29869 * string/test-strcpy.c: Add wcscpy support.
29870 (WIDE): New macro.
26428b7c 29871
f039c043
UD
298722011-12-10 Ulrich Drepper <drepper@gmail.com>
29873
29874 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
29875 the inner loop.
29876
850fb039
AS
298772011-12-06 Andreas Schwab <schwab@linux-m68k.org>
29878
29879 [BZ #13472]
29880 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
29881
4efbd5cb
UD
298822011-12-04 Ulrich Drepper <drepper@gmail.com>
29883
52ff5dd0 29884 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 29885 Minor optimizations.
52ff5dd0 29886
4efbd5cb
UD
29887 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
29888 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
29889 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
29890
8a426e12
UD
298912011-12-03 Ulrich Drepper <drepper@gmail.com>
29892
aff2453d
UD
29893 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
29894 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
29895 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
29896 for gcc to avoid warnings.
29897 * inet/Makefile (tests): Add tst-checks.
29898 * inet/tst-checks.c: New file.
29899
29900 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
29901 warning.
29902
29903 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
29904 __wmemcmp_sse2.
29905
29906 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
29907 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
29908
8a426e12
UD
29909 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
29910
9bea3473
UD
299112011-12-02 Ulrich Drepper <drepper@gmail.com>
29912
3a965496
UD
29913 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
29914 problem.
29915
9bea3473
UD
29916 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
29917
f101631b
UD
299182011-11-29 Joseph Myers <joseph@codesourcery.com>
29919
29920 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
29921 conditional on GCC version.
29922 (__arch_compare_and_exchange_val_8_acq)
29923 (__arch_compare_and_exchange_val_16_acq)
29924 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
29925 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
29926 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
29927
a98275aa
UD
299282011-12-02 Joseph Myers <joseph@codesourcery.com>
29929
29930 * sysdeps/sh/backtrace.c: New file.
29931
d4cc29a2
AS
299322011-12-02 Andreas Schwab <schwab@redhat.com>
29933
29934 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
29935 parenthesis.
29936
6257af2d
AS
299372011-12-01 Andreas Schwab <schwab@redhat.com>
29938
29939 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
29940 falling back to utime.
29941
b5f44c1a
AS
299422011-11-30 Andreas Schwab <schwab@redhat.com>
29943
29944 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
29945 expectations for float.
29946
f3a6cc0a
AS
299472011-11-29 Andreas Schwab <schwab@redhat.com>
29948
29949 * locale/weight.h (findidx): Add parameter len.
29950 * locale/weightwc.h (findidx): Likewise.
29951 * posix/fnmatch_loop.c (FCT): Adjust caller.
29952 * posix/regcomp.c (build_equiv_class): Likewise.
29953 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
29954 * posix/regexec.c (check_node_accept_bytes): Likewise.
29955 * string/strcoll_l.c (STRCOLL): Likewise.
29956 * string/strxfrm_l.c (STRXFRM): Likewise.
29957
9d65ea3a
UD
299582011-11-17 Ulrich Drepper <drepper@gmail.com>
29959
29960 * Makefile.in: Remove CVSOPT handling.
29961 * configure.in: Remove use of AC_REVISION.
29962 * iconvdata/Makefile (distribute): No need to filter out CVS.
29963 * scripts/list-sources.sh: Remove CVS, subversion and monotone
29964 handling.
29965
5583a086
AS
299662011-11-16 Andreas Schwab <schwab@redhat.com>
29967
29968 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
29969 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
29970 [USE_AS_STRNCASECMP_L]: Likewise.
29971 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
29972 NO_TLS_DIRECT_SEG_REFS.
29973 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
29974 Fix argument offsets for non-PIC.
29975 [USE_AS_STRNCASECMP_L]: Likewise.
29976 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
29977 NO_TLS_DIRECT_SEG_REFS.
29978
d62a8200
UD
299792011-11-15 Ulrich Drepper <drepper@gmail.com>
29980
9d65ea3a 29981 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
29982 O_CLOEXEC.
29983 * locale/loadlocale.c (_nl_load_locale): Likewise.
29984
09f93bd3
AS
299852011-11-15 Andreas Schwab <schwab@redhat.com>
29986
446514f9
AS
29987 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
29988 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
29989 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
29990 (SYSCALL_GETTIME): Set errno on error.
29991
09f93bd3
AS
29992 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
29993 count references to noai6ai_cached.
29994
312be3f9
UD
299952011-11-15 Ulrich Drepper <drepper@gmail.com>
29996
29997 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
29998
29999 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30000 FD_CLOEXEC for /proc/self/maps.
30001
30002 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30003 FD_CLOEXEC for /proc/meminfo.
30004
30005 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30006 gai.conf.
30007
30008 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
30009 FD_CLOEXEC for given file.
30010
30011 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30012
30013 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30014 FD_CLOEXEC for /etc/hosts.
30015 (_gethtent): Likewise.
30016
30017 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30018
30019 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30020 cancellation and set FD_CLOEXEC for /etc/netgroup.
30021
30022 * nss/nss_files/files-key.c (search): Don't allow cancellation when
30023 reading /etc/publickey.
30024
30025 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30026 allow cancellation when reading /etc/group.
30027
30028 * nss/nss_files/files-alias.c (internal_setent): Don't allow
30029 cancellation.
30030 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
30031
30032 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30033 when using data file.
30034
30035 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30036
30037 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30038 (write_nis_obj): Use "c" and "e" in fopen.
30039
30040 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30041
30042 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30043
30044 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30045
30046 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30047
30048 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30049 locale.alias.
30050
30051 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30052
30053 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30054
30055 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30056
30057 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30058 file parsing and set FD_CLOEXEC.
30059
82af0fa8
UD
300602011-11-14 Ulrich Drepper <drepper@gmail.com>
30061
30062 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30063
a5fb313c
AS
300642011-11-14 Andreas Schwab <schwab@redhat.com>
30065
30066 * malloc/arena.c (arena_get2): Don't call reused_arena when
30067 _int_new_arena failed.
30068
6abf3465
UD
300692011-11-14 Ulrich Drepper <drepper@gmail.com>
30070
30071 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30072 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30073 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30074 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30075 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30076 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30077 to compile strcasecmp and strncasecmp.
30078 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30079 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30080
30081 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30082
76e3966e
UD
300832011-11-13 Ulrich Drepper <drepper@gmail.com>
30084
30085 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30086 locale-defines.sym to gen-as-const-headers.
30087 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30088 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30089 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30090 to compile strcasecmp and strncasecmp.
30091 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30092 strcasecmp_l and strncasecmp_l.
30093 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30094 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30095 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30096 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30097 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30098 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30099 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30100 * sysdeps/i386/i686/multiarch/strncase.S: New file.
30101 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30102 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30103 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30104
ab26144e
UD
301052011-11-12 Ulrich Drepper <drepper@gmail.com>
30106
7edb22ef
UD
30107 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30108 result of SYSDEP_GETTIME_CPU to retval.
30109 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30110 parameter list to macro. Remove trailing semicolon. Adjust users.
30111
9694fc44
UD
30112 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30113 variable.
30114
8ad89ef8
UD
30115 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30116 mantissa words.
30117 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30118
0c822ef9
UD
30119 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30120 from unused variable.
30121
874e0564
UD
30122 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30123 DWARF definitions.
30124 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30125 for assembling.
30126
3a2edc79
UD
30127 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30128 over namespaces.
30129
f3c2577f
UD
30130 * sunrpc/rpc_prot.c (rejected): Fix case value.
30131
294ce126
UD
30132 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30133 unsigned long long int to avoid warnings in shift.
30134
5e2b63c6
UD
30135 * posix/regex_internal.c (re_string_reconstruct): Actually use result
30136 of use of trans.
30137 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30138 variable tmp.
30139
e7f4b08e
UD
30140 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30141 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30142 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30143
ab26144e
UD
30144 * nis/nis_table.c (nis_list): Use variable of correct type for
30145 result of __follow_path call.
30146
8a6d5255
AZ
301472011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30148
30149 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30150 of math functions ceil, trunc, floor, round, and sqrt, when
30151 avaliable on the platform.
30152 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30153 name clash.
30154 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30155 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30156 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30157
aaddc98c
MP
301582011-10-30 Marek Polacek <mpolacek@redhat.com>
30159
30160 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30161 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30162
95b7042b
RM
301632011-11-11 Roland McGrath <roland@hack.frob.com>
30164
30165 * include/unistd.h: Fix __readlink return type.
30166 Reported by Chris Metcalf <cmetcalf@tilera.com>.
30167
57769839
UD
301682011-11-11 Ulrich Drepper <drepper@gmail.com>
30169
30170 * stdlib/ucontext.h: Undo last change for makecontext.
30171
edc5984d
AS
301722011-11-11 Andreas Schwab <schwab@redhat.com>
30173
98591e58
AS
30174 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30175
edc5984d
AS
30176 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30177 * setjmp/setjmp.h: Mark functions as non-leaf.
30178 * setjmp/bits/setjmp2.h: Likewise.
30179 * stdlib/ucontext.h: Likewise.
30180
77cdc054
AS
301812011-11-10 Andreas Schwab <schwab@redhat.com>
30182
30183 * malloc/arena.c (_int_new_arena): Don't increment narenas.
30184 (reused_arena): Don't check arena limit.
30185 (arena_get2): Atomically check arena limit.
30186
fe72eebd
UD
301872011-11-08 Ulrich Drepper <drepper@gmail.com>
30188
5f078c32
UD
30189 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30190 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30191
fe72eebd
UD
30192 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30193 instructions.
30194
ae1bc2fa
AS
301952011-11-07 Andreas Schwab <schwab@redhat.com>
30196
7583a88d
AS
30197 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30198 handler when locking.
30199
ae1bc2fa
AS
30200 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30201 Fix size of allocated buffer.
30202
10fb0bfa
AS
302032011-11-04 Andreas Schwab <schwab@redhat.com>
30204
998832a4
AS
30205 [BZ #10103]
30206 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30207 declarations for long double functions.
30208 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30209
10fb0bfa
AS
30210 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30211
3d7ba52b
AS
302122011-11-03 Andreas Schwab <schwab@redhat.com>
30213
a9ae54a1
AS
30214 * nscd/nscd.c (main): Don't start AVC thread until credentials are
30215 installed.
30216
3d7ba52b
AS
30217 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30218 is disabled.
30219
bc8db248
ST
302202011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
30221
30222 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30223
45b96dd6
AS
302242011-11-01 Andreas Schwab <schwab@linux-m68k.org>
30225
647776f6
AS
30226 * include/alloca.h (stackinfo_alloca_round): Define.
30227 (extend_alloca): Use it.
30228 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30229 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30230 here.
30231
d91a8b93
AS
30232 * scripts/check-local-headers.sh: Ignore libaudit.h.
30233
45b96dd6
AS
30234 * nscd/Makefile (extra-objs): Make recursively expanded.
30235
432d41ce
UD
302362011-11-01 Ulrich Drepper <drepper@gmail.com>
30237
34372fc6
UD
30238 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30239 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30240
fadb59f8
UD
30241 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30242 * posix/tst-rfc3484-2.c: Likewise.
30243 * posix/tst-rfc3484-3.c: Likewise.
30244
78239589
UD
30245 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30246 process_vm_writev.
30247 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30248 process_vm_writev.
30249 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30250 process_vm_writev from libc using GLIBC_2.15 version.
30251
432d41ce
UD
30252 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30253
02f9c6cf
PP
302542011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
30255
30256 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30257 stack usage.
30258
3a2c0242
UD
302592011-10-31 Ulrich Drepper <drepper@gmail.com>
30260
f4ec4833
UD
30261 [BZ #13367]
30262 * nss/getent.c (initgroups_keys): Show error message in case no group
30263 names are given.
30264
3a2c0242
UD
30265 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30266 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30267 __bump_nl_timestamp.
30268 * nscd/connections (nscd_init): When host database is served open
30269 netlink socket and request notification about configuration changes.
30270 (main_loop_poll): Track netlink file descriptor and bump timestamp
30271 in case data becomes available.
30272 (main_loop_epoll): Likewise.
30273 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30274 (database_pers_head): Add extra_data fileds.
30275 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30276 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30277 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30278 Adjust caller.
30279 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30280 in6ai data, call __free_in6ai.
30281 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30282 Add -DHAVE_NETLINK.
30283 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
30284 interface information. Reuse previous data if netlink timestamp
30285 is not changed.
30286 (__bump_nl_timestamp): New function.
30287 (__free_in6ai): New function.
30288
636064eb
UD
302892011-10-30 Ulrich Drepper <drepper@gmail.com>
30290
30291 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30292 close_not_cancel_no_status here.
30293 (__check_pf): Reorganize code a bit to not call close twice if OOM.
30294
9beb2334
UD
302952011-10-29 Ulrich Drepper <drepper@gmail.com>
30296
6ef76f3b
UD
30297 [BZ #13276]
30298 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30299 return value.
30300
0ffc4f3e 30301 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
30302 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30303 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30304
cb95113e
UD
303052011-07-03 Andreas Jaeger <aj@suse.de>
30306
30307 [BZ #10709]
30308 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30309 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30310 * math/libm-test.inc (sin_test): Add test case.
30311
a1b560ff
UD
303122011-10-29 Ulrich Drepper <drepper@gmail.com>
30313
c9aaface
UD
30314 [BZ #13337]
30315 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30316 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30317
d272e7f1
UD
30318 * elf/chroot_canon.c (chroot_canon): Cleanups.
30319
1bc33071
UD
30320 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30321
1760874d
TJ
30322 [BZ #13335]
30323 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30324 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30325
51d91b18
UD
30326 * string/test-strchr.c: Make usable for strchrnul testing.
30327 * string/test-strchrnul.c: New file.
30328 * string/Makefile (strop-tests): Add strchrnul.
30329
a1b560ff 30330 * po/it.po: Update from translation team.
b611fb81 30331 * po/es.po: Likewise.
a1b560ff 30332
a5b81e1f
UD
303332011-10-28 Ulrich Drepper <drepper@gmail.com>
30334
fd52bc6d
UD
30335 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30336 the three constants needed as parameters. Drop the others.
30337 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30338 __m128i_strloadu_tolower.
52e4b9eb
UD
30339 Create and initialize variable zero and use it in all the places
30340 where _mm_setzero_si128 was used.
fd52bc6d 30341
a5b81e1f
UD
30342 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30343 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30344 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30345 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30346 anymore.
30347 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30348 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30349 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30350 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30351 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30352 __mpranred, __mptan.
30353 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30354 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30355 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30356 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30357 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30358 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30359 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30360 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30361 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30362
b4343346
AS
303632011-10-28 Andreas Schwab <schwab@redhat.com>
30364
0c92d8a8
AS
30365 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30366 redefine if SHARED.
30367 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30368
b4343346
AS
30369 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30370 wide char related routines to wcsmbs subdir.
30371
3871f58f
AS
303722011-10-27 Andreas Schwab <schwab@redhat.com>
30373
30374 [BZ #13344]
30375 * misc/sys/cdefs.h (__THROWNL): Define.
30376 * posix/unistd.h: Use __THREADNL instead of __THREAD
30377 for memory synchronization functions.
30378
94d44d9f
RM
303792011-10-26 Roland McGrath <roland@hack.frob.com>
30380
21b64b15 30381 [BZ #13349]
94d44d9f
RM
30382 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30383 doesn't exist.
30384 * manual/stdio.texi (Obstack Streams): Node removed.
30385
f6ce9294
AS
303862011-10-26 Andreas Schwab <schwab@redhat.com>
30387
80479147
AS
30388 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
30389 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30390 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30391
f6ce9294
AS
30392 * math/math_private.h (math_force_eval): Allow non-addressable
30393 arguments.
30394 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
30395
618280a1
UD
303962011-10-25 Ulrich Drepper <drepper@gmail.com>
30397
e0016b11
UD
30398 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
30399 file is not needed.
30400
30401 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
30402 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30403 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30404 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30405 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30406 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30407 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30408 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
30409 Add AVX variants.
30410 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
30411 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
30412 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
30413 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
30414 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
30415 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
30416 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
30417 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
30418 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
30419 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
30420 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
30421 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
30422 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
30423 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
30424 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
30425 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
30426 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
30427 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
30428 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
30429
30430 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
30431 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
30432
618280a1
UD
30433 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
30434 place. Use VEX encoding when compiling for AVX.
30435
37822576
AS
304362011-10-25 Andreas Schwab <schwab@redhat.com>
30437
1f1e1947
AS
30438 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
30439 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
30440
37822576
AS
30441 * string/test-strchr.c (do_test): Don't generate NUL bytes.
30442
31ea014d
UD
304432011-10-25 Ulrich Drepper <drepper@gmail.com>
30444
d7826aa1 30445 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 30446 useless if() expression.
d7826aa1
UD
30447 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
30448 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
30449 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
30450 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30451 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
30452 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
30453 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30454 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30455 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
30456 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
30457 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
30458 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30459 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
30460 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30461 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
30462 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
30463 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
30464 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
30465 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
30466
31ea014d
UD
30467 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
30468
16437fec
AS
304692011-10-25 Andreas Schwab <schwab@redhat.com>
30470
30471 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
30472 condition.
30473 * elf/dl-fini.c (_dl_sort_fini): Likewise.
30474
31d3cc00
UD
304752011-10-25 Ulrich Drepper <drepper@gmail.com>
30476
30477 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
30478 .text section. Avoid duplicate constants.
30479 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
30480 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30481 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
30482 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30483 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30484 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30485 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30486 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30487 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
30488 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
30489 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
30490 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
30491 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
30492 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
30493 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
30494 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
30495 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
30496 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
30497 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
30498 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30499 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
30500 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
30501 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
30502 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
30503 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
30504 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
30505 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
30506 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
30507 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
30508 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
30509 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
30510 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
30511 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
30512 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
30513 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
30514 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
30515 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
30516 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
30517 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
30518 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
30519 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
30520 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
30521 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
30522 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
30523 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
30524
58985aa9
UD
305252011-10-24 Ulrich Drepper <drepper@gmail.com>
30526
202c9deb
UD
30527 * sysdeps/x86_64/dla.h: Move to ...
30528 * sysdeps/x86_64/fpu/dla.h: ...here.
30529 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
30530 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 30531
af968f62
UD
30532 * config.make.in: Add have-mfma4 entry.
30533 * configure.in: Substitute libc_cv_cc_fma4.
30534 * math/Makefile (dbl-only-routines): Add sincostab.
30535 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
30536 Use __sincostab not sincos.
30537 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
30538 name is a macro.
30539 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30540 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30541 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30542 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
30543 using __copysign.
30544 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
30545 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
30546 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
30547 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
30548 and __inv.
30549 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
30550 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
30551 __copysign.
30552 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
30553 define aliases when function name is a macro.
30554 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
30555 sysdeps/ieee754/dbl-64/sincos.tbl.
30556 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
30557 fma4-enabled routines.
30558 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
30559 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
30560 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
30561 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
30562 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
30563 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
30564 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
30565 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
30566 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
30567 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
30568 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
30569 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
30570 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
30571 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
30572 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
30573 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
30574 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
30575 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
30576 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
30577 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
30578 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
30579 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
30580 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
30581 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
30582 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
30583 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
30584 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
30585 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
30586 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
30587 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
30588
58985aa9
UD
30589 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
30590 rename.
30591 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30592 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30593 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30594 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30595 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30596 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30597 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30598 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30599
a201fbcf
AS
306002011-10-24 Andreas Schwab <schwab@redhat.com>
30601
30602 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
30603
fc2ee42a
LD
306042011-10-23 Ulrich Drepper <drepper@gmail.com>
30605
bb3129bd
UD
30606 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
30607
0275fff8
UD
30608 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
30609 prediction.
30610 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
30611
2fa2ae85
UD
30612 * string/strnlen.c: Don't define STRNLEN, reverse logic.
30613 Remove unused variable magic_bits.
30614 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
30615
fc2ee42a
LD
30616 * string/strnlen.c: Define and use STRNLEN macro.
30617 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
30618 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
30619 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
30620 * wcsmbs/wcslen.c: Define and use WCSLEN.
30621 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
30622 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
30623 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
30624 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
30625 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
30626 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
30627 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
30628
ce7dd29f
LD
306292011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30630
30631 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30632 strnlen-sse2-no-bsf.
30633 Rename strlen-no-bsf to strlen-sse2-no-bsf.
30634 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
30635 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
30636 Add strnlen support.
30637 (USE_AS_STRNLEN): New macro.
30638 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
30639 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
30640 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
30641 * sysdeps/x86_64/wcslen.S: New file.
30642
979c70a3
MZ
306432011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
30644
30645 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
30646 XMM-moves are used for copying on small sizes.
30647
2d09f82f
LD
306482011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30649
30650 * wcsmbs/Makefile (strop-tests): Add wcschr.
30651 * wcsmbs/test-wcschr.c: New file.
30652 * string/test-strchr.c: Update.
30653 Add wcschr support.
30654 (WIDE): New macro.
30655
619fccca
LD
306562011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30657
2d09f82f 30658 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
30659 * wcsmbs/test-wcslen.c: New file.
30660 * string/test-strlen.c: Update.
30661 Add wcslen support.
30662 (WIDE): New macro.
30663
09f699ea
UD
306642011-10-23 Ulrich Drepper <drepper@gmail.com>
30665
30666 * po/it.po: Update from translation team.
30667
95584d3b
LD
306682011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30669
30670 * sysdeps/x86_64/wcscmp.S: Update.
30671 Fix wrong comparison semantics.
30672 wcscmp shall use signed comparison not unsigned.
30673 Don't use substraction to avoid overflow bug.
30674 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
30675 * wcsmbc/wcscmp.c: Likewise.
30676 * string/test-strcmp.c: Likewise.
30677 Add new tests to check cases with negative values.
30678
c8b3296b
UD
306792011-10-23 Ulrich Drepper <drepper@gmail.com>
30680
30681 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
30682 * sysdeps/x86_64/dla.h: ...here. New file.
30683 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
30684 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30685 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30686 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30687 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30688 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
30689 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30690 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30691 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30692
246ad57a
AS
306932011-10-23 Andreas Schwab <schwab@linux-m68k.org>
30694
30695 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
30696 __ynl_finite aliases.
30697
a1a87169
UD
306982011-10-22 Ulrich Drepper <drepper@gmail.com>
30699
0d355eb7
UD
30700 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30701
a1a87169
UD
30702 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
30703 define DLA_FMA.
30704 [DLA_FMA] (EMULV): Use DLA_FMA.
30705 [DLA_FMA] (MUL12): Use EMULV.
30706 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
30707 that are not needed.
30708 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
30709 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
30710 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
30711 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
30712 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
30713 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
30714 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
30715
ee2aafe0
AS
307162011-10-22 Andreas Schwab <schwab@linux-m68k.org>
30717
30718 * math/s_nan.c: Undef __nan.
30719 * math/s_nanf.c: Undef __nanf.
30720 * math/s_nanl.c: Undef __nanl.
30721 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
30722 "math_private.h".
30723
bc62c2fb
UD
307242011-10-22 Ulrich Drepper <drepper@gmail.com>
30725
77425c63
UD
30726 * math/s_catan.c: Add branch predictions.
30727 * math/s_catanf.c: Likewise.
30728 * math/s_catanh.c: Likewise.
30729 * math/s_catanhf.c: Likewise.
30730 * math/s_catanhl.c: Likewise.
30731 * math/s_catanl.c: Likewise.
30732 * math/s_cexp.c: Likewise.
30733 * math/s_cexpf.c: Likewise.
30734 * math/s_cexpl.c: Likewise.
30735 * math/s_clog.c: Likewise.
30736 * math/s_clog10.c: Likewise.
30737 * math/s_clog10f.c: Likewise.
30738 * math/s_clog10l.c: Likewise.
30739 * math/s_clogf.c: Likewise.
30740 * math/s_clogl.c: Likewise.
30741 * math/s_csqrt.c: Likewise.
30742 * math/s_csqrtf.c: Likewise.
30743 * math/s_csqrtl.c: Likewise.
30744 * math/s_ctanf.c: Likewise.
30745 * math/s_ctanh.c: Likewise.
30746 * math/s_ctanhf.c: Likewise.
30747 * math/s_ctanhl.c: Likewise.
30748 * math/s_ctanl.c: Likewise.
30749
bc62c2fb
UD
30750 * math/math_private.h: Define __nan, __nanf, __nanl.
30751 * math/s_cacosh.c: Include <math_private.h>.
30752 * math/s_cacoshl.c: Likewise.
30753 * math/s_casinh.c: Likewise.
30754 * math/s_casinhf.c: Likewise.
30755 * math/s_casinhl.c: Likewise.
30756 * math/s_ccos.c: Rely entire on ccosh.
30757 * math/s_ccosf.c: Rely entire on ccoshf.
30758 * math/s_ccosl.c: Rely entirely on ccoshl.
30759 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
30760 Remove tests for FE_INVALID.
30761 * math/s_ccoshf.c: Likewise.
30762 * math/s_ccoshl.c: Likewise.
30763 * math/s_csin.c: Likewise.
30764 * math/s_csinf.c: Likewise.
30765 * math/s_csinh.c Likewise.
30766 * math/s_csinhf.c: Likewise.
30767 * math/s_csinhl.c: Likewise.
30768 * math/s_csinl.c: Likewise.
30769 * math/s_ctan.c: Likewise.
30770 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
30771 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
30772 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
30773
8ec250a4
UD
307742011-10-21 Ulrich Drepper <drepper@gmail.com>
30775
c196fed8
UD
30776 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
30777 compilation problems.
30778
8ec250a4
UD
30779 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
30780 __builtin_expect.
30781
8d4f46c6
UD
307822011-10-20 Ulrich Drepper <drepper@gmail.com>
30783
ed72b654
UD
30784 * sysdeps/i386/configure.in: Test for -mfma4 option.
30785 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
30786 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
30787 COMMON_CPUID_INDEX_80000001.
30788 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
30789 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
30790 use it if FMA3 is not supported.
30791 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30792
8d4f46c6
UD
30793 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
30794 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
30795
d45c60c2
AS
307962011-10-20 Andreas Schwab <schwab@redhat.com>
30797
30798 [BZ #12892]
30799 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
30800 it would create a cycle with a link time dependency.
30801
d9a4d2ab
UD
308022011-10-19 Ulrich Drepper <drepper@gmail.com>
30803
855d1560
UD
30804 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
30805 instruction.
30806 * string/Makefile (strop-tests): Add rawmemchr.
30807 * string/test-rawmemchr.c: New file.
30808
d9a4d2ab
UD
30809 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
30810 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
30811 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
30812 when compiling str{,n}casecmp and when AVX is available. Hook up
30813 new optimized code in initializers.
30814
8f3b1ffe
AS
308152011-10-19 Andreas Schwab <schwab@redhat.com>
30816
30817 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
30818 __feraiseexcept instead of feraiseexcept.
30819
d38f1dba
UD
308202011-10-18 Ulrich Drepper <drepper@gmail.com>
30821
d9a8d0ab
UD
30822 * math/math_private.h: Define defaults for libc_fetestexcept and
30823 libc_feupdateenv.
30824 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
30825 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
30826 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
30827 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30828 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
30829 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30830 libc_fetestexcept and libc_feupdateenv.
30831
4855e3dd
UD
30832 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
30833 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
30834 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
30835 * sysdeps/x86_64/fpu/math_private.h: Define special version of
30836 libc_feholdexcept_setround.
30837
581d30e3
UD
30838 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
30839 Add s_nearbyint-c and s_nearbyintf-c.
30840 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
30841 nearbyintf inlines.
30842 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
30843 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
30844 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
30845 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
30846
d38f1dba
UD
30847 * math/math_private.h: Define defaults for libc_fegetround,
30848 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
30849 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
30850 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
30851 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
30852 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
30853 standard functions.
30854 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
30855 Remove comments and hacks for old compiler versions.
30856 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
30857 libc_fegetround, libc_fesetround, libc_feholdexcept, and
30858 libc_feholdexceptl.
30859
caa6c9d8
AS
308602011-10-18 Andreas Schwab <schwab@redhat.com>
30861
30862 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
30863 (__feraiseexcept_renamed): Add __NTH.
30864 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
30865 namespace violations.
30866
97c066e6
UD
308672011-10-17 Ulrich Drepper <drepper@gmail.com>
30868
99ce7b04
UD
30869 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
30870
1004d182
UD
30871 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
30872
228a984d
UD
30873 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
30874 recently added interfaces.
30875 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
30876
c8553a6a
UD
30877 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
30878 about macro parameter expansion.
30879
ed22dcf6
UD
30880 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
30881 __NO_MATH_INLINES is defined. Cleanups.
30882
30883 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
30884 and __floorf is target has SSE4.1.
30885 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
30886 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
30887 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
30888 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
30889
b171c137
UD
30890 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
30891 name.
30892 (floorf): Likewise.
30893
97c066e6
UD
30894 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
30895
629f62ef
AS
308962011-10-17 Andreas Schwab <schwab@redhat.com>
30897
49a43d80
AS
30898 * misc/sys/cdefs.h: Fix last change.
30899
629f62ef
AS
30900 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
30901 database lookup.
30902
e453f6cd
UD
309032011-10-16 Ulrich Drepper <drepper@gmail.com>
30904
aa78043a
UD
30905 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
30906
ad0f5cad
UD
30907 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
30908 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
30909 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
30910 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
30911 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
30912 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
30913 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
30914 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
30915 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
30916 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
30917 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
30918 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
30919 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
30920 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
30921 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
30922 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
30923 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
30924 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
30925 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
30926 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
30927 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
30928 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
30929
30930 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
30931 ceil, ceilf, floor, floorf.
30932
30933 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
30934 Perform IRELATIVE relocations last.
30935
e453f6cd
UD
30936 * elf/do-rel.h: Add another parameter nrelative, replacing the
30937 local variable with the same name. Change name of the function
30938 to end in Rel or Rela (uppercase).
30939 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
30940 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
30941 elf_dynamic_do_##reloc function.
30942
fd5bdc09
UD
309432011-10-15 Ulrich Drepper <drepper@gmail.com>
30944
79b195b5
UD
30945 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
30946 is sufficient, at least on modern CPUs.
30947
d4a28569
UD
30948 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
30949
b61099b5
UD
30950 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
30951 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
30952
bcf01e6d
UD
30953 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
30954 __expl_finite.
30955 * math/bits/math-finite.h: Add entries for exp.
30956 * math/e_expl.c: Add __*_finite alias.
30957 * sysdeps/i386/fpu/e_exp.S: Likewise.
30958 * sysdeps/i386/fpu/e_expf.S: Likewise.
30959 * sysdeps/i386/fpu/e_expl.c: Likewise.
30960 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
30961 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
30962 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
30963 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
30964 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
30965 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
30966 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
30967
ba1a0d59
UD
30968 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
30969 is sufficient, at least on modern CPUs.
30970
fd5bdc09
UD
30971 * ctype/ctype-info.c (__ctype_init): Define.
30972 * include/ctype.h (__ctype_init): Declare.
30973 (__ctype_b_loc): The variable is always initialized.
30974 (__ctype_toupper_loc): Likewise.
30975 (__ctype_tolower_loc): Likewise.
30976 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
30977 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
30978
7872cfb0
AS
309792011-10-15 Andreas Schwab <schwab@linux-m68k.org>
30980
b468825a
AS
30981 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
30982
7872cfb0
AS
30983 * configure.in: Also look in $cxxmachine/include for C++ system
30984 headers.
30985
be13f7bf
LD
309862011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
30987
30988 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
30989 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
30990 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
30991 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
30992 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
30993 (USE_AS_WMEMCMP): New macro.
30994 Fixing indents.
30995 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
30996 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
30997 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
30998 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
30999 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31000 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31001 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31002 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31003 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31004 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31005 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31006 (USE_AS_WMEMCMP): New macro.
31007 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31008 * sysdeps/string/test-memcmp.c: Update.
31009 Fix simple_wmemcmp.
31010 Add new tests.
31011 * wcsmbs/wmemcmp.c: Update.
31012 (WMEMCMP): New macro.
31013 Fix overflow bug.
31014
556a2007
AJ
310152011-10-12 Andreas Jaeger <aj@suse.de>
31016
31017 [BZ #13268]
31018 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31019
538faaa7
UD
310202011-10-15 Ulrich Drepper <drepper@gmail.com>
31021
ab6737ff
UD
31022 * libio/iofwide.c (do_length): Avoid warning.
31023
538faaa7
UD
31024 * ctype/ctype.h (__isctype_f): Add missing __THROW.
31025
396a21b1
UD
310262011-10-14 Ulrich Drepper <drepper@gmail.com>
31027
cdf2901f
UD
31028 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31029
38ad40ce
UD
31030 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31031 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31032 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31033 * sysdeps/i386/i686/fpu/e_log.S: New file.
31034 * sysdeps/i386/i686/fpu/e_logf.S: New file.
31035 * sysdeps/i386/i686/fpu/e_logl.S: New file.
31036
396a21b1
UD
31037 * ctype/ctype.h: Add support for inlined isXXX functions when
31038 compiling C++ code.
31039
6b1f68c9
AS
310402011-10-14 Andreas Schwab <schwab@redhat.com>
31041
349290c0
AS
31042 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31043
6b1f68c9
AS
31044 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31045
f2282d42
RM
310462011-10-13 Roland McGrath <roland@hack.frob.com>
31047
31048 [BZ #13291]
31049 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31050
5298ffa8
AS
310512011-10-13 Andreas Schwab <schwab@redhat.com>
31052
714fad23
AS
31053 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31054 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31055 feraiseexcept.
31056
81dcc7fb
AS
31057 * sysdeps/x86_64/memrchr.S: Check for zero size.
31058
5298ffa8
AS
31059 * string/stratcliff.c: Add memrchr tests.
31060
951fbcec
LD
310612011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31062
31063 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31064 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31065 rawmemchr-sse2 rawmemchr-sse2-bsf.
31066 * sysdeps/i386/i686/multiarch/memchr.S: New file.
31067 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31068 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31069 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31070 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31071 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31072 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31073 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31074 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31075 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31076 * string/memrchr.c (MEMRCHR): New macro.
31077
0ac5ae23
UD
310782011-10-12 Ulrich Drepper <drepper@gmail.com>
31079
31080 Add integration with gcc's -ffinite-math-only and optimize wrapper
31081 functions in libm.
31082 * Versions.def: Define GLIBC_2.15 version for libm.
31083 * math/Makefile (headers): Add bits/math-finite.h.
31084 * math/bits/math-finite.h: New file.
31085 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31086 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31087 * math/e_acoshl.c: Add __*_finite alias.
31088 * math/e_acosl.c: Likewise.
31089 * math/e_asinl.c: Likewise.
31090 * math/e_atan2l.c: Likewise.
31091 * math/e_atanhl.c: Likewise.
31092 * math/e_coshl.c: Likewise.
31093 * math/e_exp10.c: Likewise.
31094 * math/e_exp10f.c: Likewise.
31095 * math/e_exp10l.c: Likewise.
31096 * math/e_exp2l.c: Likewise.
31097 * math/e_fmodl.c: Likewise.
31098 * math/e_gammal_r.c: Likewise.
31099 * math/e_hypotl.c: Likewise.
31100 * math/e_j0l.c: Likewise.
31101 * math/e_j1l.c: Likewise.
31102 * math/e_jnl.c: Likewise.
31103 * math/e_lgammal_r.c: Likewise.
31104 * math/e_log10l.c: Likewise.
31105 * math/e_log2l.c: Likewise.
31106 * math/e_logl.c: Likewise.
31107 * math/e_powl.c: Likewise.
31108 * math/e_sinhl.c: Likewise.
31109 * math/e_sqrtl.c: Likewise.
31110 * math/e_scalb.c: Completely rewritten and optimized.
31111 * math/e_scalbf.c: Likewise.
31112 * math/e_scalbl.c: Likewise.
31113 * math/w_acos.c: Likewise.
31114 * math/w_acosf.c: Likewise.
31115 * math/w_acosl.c: Likewise.
31116 * math/w_acosh.c: Likewise.
31117 * math/w_acoshf.c: Likewise.
31118 * math/w_acoshl.c: Likewise.
31119 * math/w_asin.c: Likewise.
31120 * math/w_asinf.c: Likewise.
31121 * math/w_asinl.c: Likewise.
31122 * math/w_atan2.c: Likewise.
31123 * math/w_atan2f.c: Likewise.
31124 * math/w_atan2l.c: Likewise.
31125 * math/w_atanh.c: Likewise.
31126 * math/w_atanhf.c: Likewise.
31127 * math/w_atanhl.c: Likewise.
31128 * math/w_exp10.c: Likewise.
31129 * math/w_exp10f.c: Likewise.
31130 * math/w_exp10l.c: Likewise.
31131 * math/w_fmod.c: Likewise.
31132 * math/w_fmodf.c: Likewise.
31133 * math/w_fmodl.c: Likewise.
31134 * math/w_j0.c: Likewise.
31135 * math/w_j0f.c: Likewise.
31136 * math/w_j0l.c: Likewise.
31137 * math/w_j1.c: Likewise.
31138 * math/w_j1f.c: Likewise.
31139 * math/w_j1l.c: Likewise.
31140 * math/w_jn.c: Likewise.
31141 * math/w_jnf.c: Likewise.
31142 * math/w_log.c: Likewise.
31143 * math/w_logf.c: Likewise.
31144 * math/w_logl.c: Likewise.
31145 * math/w_log10.c: Likewise.
31146 * math/w_log10f.c: Likewise.
31147 * math/w_log10l.c: Likewise.
31148 * math/w_log2.c: Likewise.
31149 * math/w_log2f.c: Likewise.
31150 * math/w_log2l.c: Likewise.
31151 * math/w_pow.c: Likewise.
31152 * math/w_powf.c: Likewise.
31153 * math/w_powl.c: Likewise.
31154 * math/w_remainder.c: Likewise.
31155 * math/w_remainderf.c: Likewise.
31156 * math/w_remainderl.c: Likewise.
31157 * math/w_scalb.c: Likewise.
31158 * math/w_scalbf.c: Likewise.
31159 * math/w_scalbl.c: Likewise.
31160 * math/w_sqrt.c: Likewise.
31161 * math/w_sqrtf.c: Likewise.
31162 * math/w_sqrtl.c: Likewise.
31163 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31164 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
31165 used.
31166 * math/math_private.h: Declare __kernel_standard_f.
31167 * math/w_cosh.c: Remove cruft and optimize a bit.
31168 * math/w_coshf.c: Likewise.
31169 * math/w_coshl.c: Likewise.
31170 * math/w_exp2.c: Likewise.
31171 * math/w_exp2f.c: Likewise.
31172 * math/w_exp2l.c: Likewise.
31173 * math/w_hypot.c: Likewise.
31174 * math/w_hypotf.c: Likewise.
31175 * math/w_hypotl.c: Likewise.
31176 * math/w_lgamma.c: Likewise.
31177 * math/w_lgamma_r.c: Likewise.
31178 * math/w_lgammaf.c: Likewise.
31179 * math/w_lgammaf_r.c: Likewise.
31180 * math/w_lgammal.c: Likewise.
31181 * math/w_lgammal_r.c: Likewise.
31182 * math/w_sinh.c: Likewise.
31183 * math/w_sinhf.c: Likewise.
31184 * math/w_sinhl.c: Likewise.
31185 * math/w_tgamma.c: Likewise.
31186 * math/w_tgammaf.c: Likewise.
31187 * math/w_tgammal.c: Likewise.
31188 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31189 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31190 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31191 Minor optimizations. Pretty printing. Remove cruft.
31192 * sysdeps/i386/fpu/e_acosf.S: Likewise.
31193 * sysdeps/i386/fpu/e_acosh.S: Likewise.
31194 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31195 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31196 * sysdeps/i386/fpu/e_acosl.c: Likewise.
31197 * sysdeps/i386/fpu/e_asin.S: Likewise.
31198 * sysdeps/i386/fpu/e_asinf.S: Likewise.
31199 * sysdeps/i386/fpu/e_atan2.S: Likewise.
31200 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31201 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31202 * sysdeps/i386/fpu/e_atanh.S: Likewise.
31203 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31204 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31205 * sysdeps/i386/fpu/e_exp10.S: Likewise.
31206 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31207 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31208 * sysdeps/i386/fpu/e_exp2.S: Likewise.
31209 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31210 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31211 * sysdeps/i386/fpu/e_fmod.S: Likewise.
31212 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31213 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31214 * sysdeps/i386/fpu/e_hypot.S: Likewise.
31215 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31216 * sysdeps/i386/fpu/e_log.S: Likewise.
31217 * sysdeps/i386/fpu/e_log10.S: Likewise.
31218 * sysdeps/i386/fpu/e_log10f.S: Likewise.
31219 * sysdeps/i386/fpu/e_log10l.S: Likewise.
31220 * sysdeps/i386/fpu/e_log2.S: Likewise.
31221 * sysdeps/i386/fpu/e_log2f.S: Likewise.
31222 * sysdeps/i386/fpu/e_log2l.S: Likewise.
31223 * sysdeps/i386/fpu/e_logf.S: Likewise.
31224 * sysdeps/i386/fpu/e_logl.S: Likewise.
31225 * sysdeps/i386/fpu/e_pow.S: Likewise.
31226 * sysdeps/i386/fpu/e_powf.S: Likewise.
31227 * sysdeps/i386/fpu/e_powl.S: Likewise.
31228 * sysdeps/i386/fpu/e_remainder.S: Likewise.
31229 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31230 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31231 * sysdeps/i386/fpu/e_scalb.S: Likewise.
31232 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31233 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31234 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31235 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31236 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31237 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31238 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31239 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31240 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31241 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31242 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31243 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31244 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31245 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31246 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31247 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31248 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31249 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31250 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31251 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31252 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31253 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31254 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31255 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31256 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31257 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31258 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31259 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31260 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31261 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31262 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31263 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31264 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31265 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31266 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31267 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31268 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31269 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31270 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31271 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31272 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31273 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31274 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31275 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31276 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31277 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31278 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31279 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31280 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31281 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31282 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31283 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31284 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31285 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31286 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31287 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31288 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31289 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31290 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31291 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31292 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31293 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31294 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31295 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31296 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31297 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31298 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31299 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31300 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31301 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31302 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31303 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31304 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31305 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31306 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31307 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31308 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31309 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31310 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31311 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31312 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31313 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31314 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31315 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31316 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31317 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31318 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31319 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31320 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31321 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31322 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31323 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31324 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31325 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31326 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31327 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31328 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31329 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31330 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31331 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31332 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31333 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31334 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31335 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31336 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31337 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31338 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31339 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31340 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31341 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31342 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31343 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31344 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31345 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31346 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31347 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
31348 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31349 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31350 (__isnanf): Likewise.
31351 (__isinf_ns): Likewise.
31352 (__isinf_nsf): Likewise.
31353 (__finite): Likewise.
31354 (__finitef): Likewise.
31355 (__ieee754_sqrt): Define as macro.
31356 (__ieee754_sqrtf): Define as macro.
31357 (__ieee754_sqrtl): Define as macro.
31358 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31359 inlined copy.
31360 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31361 __FINITE_MATH_ONLY__ consistent.
31362 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31363
12cc2fcd
AS
313642011-10-10 Andreas Schwab <schwab@linux-m68k.org>
31365
a843a204
AS
31366 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31367 of rawmemchr.
31368
12cc2fcd
AS
31369 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31370
c853acd5
UD
313712011-10-09 Ulrich Drepper <drepper@gmail.com>
31372
31373 * po/ja.po: Update from translation team.
31374
c658d255
RM
313752011-10-08 Roland McGrath <roland@hack.frob.com>
31376
110946e4
RM
31377 * locale/programs/locarchive.c (prepare_address_space): New function.
31378 (create_archive, enlarge_archive, open_archive): Use it.
31379
50604220
RM
31380 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31381 inside [SHARED], where it is used.
31382
c658d255
RM
31383 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31384
31385 * nss/getent.c (netgroup_keys): Remove unused variable.
31386 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
31387
6a621eb7
UD
313882011-10-08 Ulrich Drepper <drepper@gmail.com>
31389
7edb55ce
UD
31390 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
31391 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
31392 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
31393 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
31394 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
31395 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
31396 * math/Makefile (libm-calls): Add s_isinf_ns.
31397 * math/divtc3.c: Use __isinf_nsl instead of isinf.
31398 * math/multc3.c: Likewise.
31399 * math/s_casin.c: Likewise.
31400 * math/s_casinf.c: Likewise.
31401 * math/s_casinl.c: Likewise.
31402 * math/s_ccos.c: Likewise.
31403 * math/s_ccosf.c: Likewise.
31404 * math/s_ccosl.c: Likewise.
31405 * math/s_ctan.c: Likewise.
31406 * math/s_ctanf.c: Likewise.
31407 * math/s_ctanh.c: Likewise.
31408 * math/s_ctanhf.c: Likewise.
31409 * math/s_ctanhl.c: Likewise.
31410 * math/s_ctanl.c: Likewise.
31411 * math/w_fmod.c: Likewise.
31412 * math/w_fmodf.c: Likewise.
31413 * math/w_fmodl.c: Likewise.
31414 * math/w_remainder.c: Likewise.
31415 * math/w_remainderf.c: Likewise.
31416 * math/w_remainderl.c: Likewise.
31417 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
31418 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
31419 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
31420 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
31421 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
31422 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
31423 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
31424 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
31425
187da0ae
UD
31426 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
31427 of the number.
31428 * stdio-common/printf_fphex.c: Likewise.
31429 * stdio-common/printf_size.c: Likewise.
31430
9277c064
UD
31431 * math/e_exp10.c: Include math_private.h using <...> not "...".
31432 * math/e_exp10f.c: Likewise.
31433 * math/e_exp10l.c: Likewise.
31434 * math/e_exp2l.c: Likewise.
31435 * math/e_j0l.c: Likewise.
31436 * math/e_j1l.c: Likewise.
31437 * math/e_jnl.c: Likewise.
31438 * math/e_lgammal_r.c: Likewise.
31439 * math/e_rem_pio2l.c: Likewise.
31440 * math/e_scalb.c: Likewise.
31441 * math/e_scalbf.c: Likewise.
31442 * math/e_scalbl.c: Likewise.
31443 * math/k_cosl.c: Likewise.
31444 * math/k_sinl.c: Likewise.
31445 * math/k_tanl.c: Likewise.
31446 * math/s_cacoshf.c: Likewise.
31447 * math/s_catan.c: Likewise.
31448 * math/s_catanf.c: Likewise.
31449 * math/s_catanh.c: Likewise.
31450 * math/s_catanhf.c: Likewise.
31451 * math/s_catanhl.c: Likewise.
31452 * math/s_catanl.c: Likewise.
31453 * math/s_ccosh.c: Likewise.
31454 * math/s_ccoshf.c: Likewise.
31455 * math/s_ccoshl.c: Likewise.
31456 * math/s_cexp.c: Likewise.
31457 * math/s_cexpf.c: Likewise.
31458 * math/s_cexpl.c: Likewise.
31459 * math/s_clog.c: Likewise.
31460 * math/s_clog10.c: Likewise.
31461 * math/s_clog10f.c: Likewise.
31462 * math/s_clog10l.c: Likewise.
31463 * math/s_clogf.c: Likewise.
31464 * math/s_clogl.c: Likewise.
31465 * math/s_csin.c: Likewise.
31466 * math/s_csinf.c: Likewise.
31467 * math/s_csinh.c: Likewise.
31468 * math/s_csinhf.c: Likewise.
31469 * math/s_csinhl.c: Likewise.
31470 * math/s_csinl.c: Likewise.
31471 * math/s_csqrt.c: Likewise.
31472 * math/s_csqrtf.c: Likewise.
31473 * math/s_csqrtl.c: Likewise.
31474 * math/s_ctan.c: Likewise.
31475 * math/s_ctanf.c: Likewise.
31476 * math/s_ctanh.c: Likewise.
31477 * math/s_ctanhf.c: Likewise.
31478 * math/s_ctanhl.c: Likewise.
31479 * math/s_ctanl.c: Likewise.
31480 * math/s_ldexp.c: Likewise.
31481 * math/s_ldexpf.c: Likewise.
31482 * math/s_ldexpl.c: Likewise.
31483 * math/s_significand.c: Likewise.
31484 * math/s_significandf.c: Likewise.
31485 * math/s_significandl.c: Likewise.
31486 * math/w_acos.c: Likewise.
31487 * math/w_acosf.c: Likewise.
31488 * math/w_acosh.c: Likewise.
31489 * math/w_acoshf.c: Likewise.
31490 * math/w_acoshl.c: Likewise.
31491 * math/w_acosl.c: Likewise.
31492 * math/w_asin.c: Likewise.
31493 * math/w_asinf.c: Likewise.
31494 * math/w_asinl.c: Likewise.
31495 * math/w_atan2.c: Likewise.
31496 * math/w_atan2f.c: Likewise.
31497 * math/w_atan2l.c: Likewise.
31498 * math/w_atanh.c: Likewise.
31499 * math/w_atanhf.c: Likewise.
31500 * math/w_atanhl.c: Likewise.
31501 * math/w_cosh.c: Likewise.
31502 * math/w_coshf.c: Likewise.
31503 * math/w_coshl.c: Likewise.
31504 * math/w_dremf.c: Likewise.
31505 * math/w_exp10.c: Likewise.
31506 * math/w_exp10f.c: Likewise.
31507 * math/w_exp10l.c: Likewise.
31508 * math/w_exp2.c: Likewise.
31509 * math/w_exp2f.c: Likewise.
31510 * math/w_fmod.c: Likewise.
31511 * math/w_fmodf.c: Likewise.
31512 * math/w_fmodl.c: Likewise.
31513 * math/w_hypot.c: Likewise.
31514 * math/w_hypotf.c: Likewise.
31515 * math/w_hypotl.c: Likewise.
31516 * math/w_j0.c: Likewise.
31517 * math/w_j0f.c: Likewise.
31518 * math/w_j0l.c: Likewise.
31519 * math/w_j1.c: Likewise.
31520 * math/w_j1f.c: Likewise.
31521 * math/w_j1l.c: Likewise.
31522 * math/w_jn.c: Likewise.
31523 * math/w_jnf.c: Likewise.
31524 * math/w_jnl.c: Likewise.
31525 * math/w_lgamma.c: Likewise.
31526 * math/w_lgamma_r.c: Likewise.
31527 * math/w_lgammaf.c: Likewise.
31528 * math/w_lgammaf_r.c: Likewise.
31529 * math/w_lgammal.c: Likewise.
31530 * math/w_lgammal_r.c: Likewise.
31531 * math/w_log.c: Likewise.
31532 * math/w_log10.c: Likewise.
31533 * math/w_log10f.c: Likewise.
31534 * math/w_log10l.c: Likewise.
31535 * math/w_log2.c: Likewise.
31536 * math/w_log2f.c: Likewise.
31537 * math/w_log2l.c: Likewise.
31538 * math/w_logf.c: Likewise.
31539 * math/w_logl.c: Likewise.
31540 * math/w_pow.c: Likewise.
31541 * math/w_powf.c: Likewise.
31542 * math/w_powl.c: Likewise.
31543 * math/w_remainder.c: Likewise.
31544 * math/w_remainderf.c: Likewise.
31545 * math/w_remainderl.c: Likewise.
31546 * math/w_scalb.c: Likewise.
31547 * math/w_scalbf.c: Likewise.
31548 * math/w_scalbl.c: Likewise.
31549 * math/w_sinh.c: Likewise.
31550 * math/w_sinhf.c: Likewise.
31551 * math/w_sinhl.c: Likewise.
31552 * math/w_sqrt.c: Likewise.
31553 * math/w_sqrtf.c: Likewise.
31554 * math/w_sqrtl.c: Likewise.
31555 * math/w_tgamma.c: Likewise.
31556 * math/w_tgammaf.c: Likewise.
31557 * math/w_tgammal.c: Likewise.
31558
6a621eb7
UD
31559 * po/ja.po: Update from translation team.
31560
bf582445
AJ
315612011-09-29 Andreas Jaeger <aj@suse.de>
31562
f9efbf3a
AJ
31563 [BZ #13179]
31564 * sunrpc/netname.c (netname2host): Fix logic.
31565
bf582445
AJ
31566 [BZ #6779]
31567 [BZ #6783]
31568 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
31569 correctly.
31570 * math/w_remainder.c (__remainder): Likewise.
31571 * math/w_remainderf.c (__remainderf): Likewise.
31572 * math/libm-test.inc (remainder_test): Add test cases.
31573
48693bea
AK
315742011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31575
31576 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
31577 sdiv_qrnnd.
31578
42622229
LD
315792011-10-07 Ulrich Drepper <drepper@gmail.com>
31580
31581 * string/test-memcmp.c: Avoid unncessary #defines.
31582 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31583
093ecf92
LD
315842011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31585
31586 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
31587 Use new sse2 version for core i3 - i7 as it's faster
31588 than sse42 version.
31589 (bit_Prefer_PMINUB_for_stringop): New.
31590 * sysdeps/x86_64/rawmemchr.S: Update.
31591 Replace with faster SSE2 version.
31592 * sysdeps/x86_64/memrchr.S: New file.
31593 * sysdeps/x86_64/memchr.S: Update.
31594 Replace with faster SSE2 version.
31595
fde56e5c
MP
315962011-09-12 Marek Polacek <mpolacek@redhat.com>
31597
31598 * elf/dl-load.c (lose): Add cast to avoid warning.
31599
21fd49a9
UD
316002011-10-07 Ulrich Drepper <drepper@gmail.com>
31601
5a06e643
UD
31602 * po/ca.po: Update from translation team.
31603
684ae515
UD
31604 * inet/getnetgrent_r.c: Hook up nscd.
31605 * nscd/Makefile (routines): Add nscd_netgroup.
31606 (nscd-modules): Add netgroupcache.
31607 (CFLAGS-netgroupcache.c): Define.
31608 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
31609 (cache_search): Add const to second parameter.
31610 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
31611 INNETGR.
31612 (dbs): Add netgrdb entry.
31613 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
31614 (verify_persistent_db): Handle netgrdb.
31615 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
31616 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
31617 GETFDNETGR.
31618 (netgroup_response_header): Define.
31619 (innetgroup_response_header): Define.
31620 (datahead): Add netgroup_response_header and innetgroup_response_header
31621 elements.
31622 * nscd/nscd.conf: Add entries for netgroup cache.
31623 * nscd/nscd.h (dbtype): Add netgrdb.
31624 (_PATH_NSCD_NETGROUP_DB): Define.
31625 (netgroup_iov_disabled): Declare.
31626 (xmalloc, xcalloc, xrealloc): Move declarations here.
31627 (cache_search): Adjust prototype.
31628 Add netgroup-related prototypes.
31629 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
31630 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
31631 (__nscd_innetgr): Declare.
31632 * nscd/selinux.c (perms): Use access_vector_t as element type and
31633 add netgroup-related initializers.
31634 * nscd/netgroupcache.c: New file.
31635 * nscd/nscd_netgroup.c: New file.
31636 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
31637 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
31638 For four parameters use innetgr.
31639 * nss/nss_files/files-init.c: Add definition and callback for netgr.
31640 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
31641 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
31642 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
31643
21fd49a9
UD
31644 * nscd/connections.c (register_traced_file): Don't register file
31645 for disabled databases.
31646
054c0457
UD
316472011-10-06 Ulrich Drepper <drepper@gmail.com>
31648
32b63198
UD
31649 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
31650
054c0457
UD
31651 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
31652 from tree and freeing node.
31653
64031225
JO
316542011-09-25 Jiri Olsa <jolsa@redhat.com>
31655
31656 * nss/nsswitch.c (__nss_database_lookup): Handle
31657 nss_parse_service_list out of memory case.
31658
0490345c
JO
316592011-09-15 Jiri Olsa <jolsa@redhat.com>
31660
31661 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
31662 out of memory case.
31663
3a62d00d
AS
316642011-10-04 Andreas Schwab <schwab@redhat.com>
31665
31666 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
31667 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
31668 pass it down.
31669 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
31670 elf_machine_rela, elf_machine_lazy_rel.
31671 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
31672 (ELF_DYNAMIC_DO_REL): Likewise.
31673 (ELF_DYNAMIC_DO_RELA): Likewise.
31674 (ELF_DYNAMIC_RELOCATE): Likewise.
31675 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
31676 to ELF_DYNAMIC_DO_REL.
31677 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
31678 (dl_main): In trace mode always set __RTLD_NOIFUNC.
31679 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
31680 elf_machine_rela.
31681 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
31682 skip_ifunc, don't call ifunc function if non-zero.
31683 (elf_machine_rela): Likewise.
31684 (elf_machine_lazy_rel): Likewise.
31685 (elf_machine_lazy_rela): Likewise.
31686 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
31687 (elf_machine_lazy_rel): Likewise.
31688 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
31689 Likewise.
31690 (elf_machine_lazy_rel): Likewise.
31691 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31692 Likewise.
31693 (elf_machine_lazy_rel): Likewise.
31694 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
31695 (elf_machine_lazy_rel): Likewise.
31696 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
31697 (elf_machine_lazy_rel): Likewise.
31698 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
31699 (elf_machine_lazy_rel): Likewise.
31700 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
31701 (elf_machine_lazy_rel): Likewise.
31702 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
31703 (elf_machine_lazy_rel): Likewise.
31704 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
31705 (elf_machine_lazy_rel): Likewise.
31706
68577918
UD
317072011-09-28 Ulrich Drepper <drepper@gmail.com>
31708
31709 * nss/nss_files/files-init.c (_nss_files_init): Use static
31710 initialization for all the *_traced_file variables.
31711
68822d74
AS
317122011-09-28 Andreas Schwab <schwab@redhat.com>
31713
31714 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31715
2056100b
RM
317162011-09-27 Roland McGrath <roland@hack.frob.com>
31717
31718 [BZ #13226]
31719 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
31720
32c76b63
AS
317212011-09-27 Andreas Schwab <schwab@redhat.com>
31722
31723 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
31724 Reread the line before reparsing it.
31725
bf972c9d
AS
317262011-09-26 Andreas Schwab <schwab@redhat.com>
31727
31728 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
31729
e057a1b5
JM
317302011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
31731 Maxim Kuvyrkov <maxim@codesourcery.com>
31732 Joseph Myers <joseph@codesourcery.com>
31733
31734 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
31735 if needed for __stack_chk_guard.
31736
bc7e1c36
RM
317372011-09-19 Roland McGrath <roland@hack.frob.com>
31738
ecb1482f
RM
31739 * sysdeps/posix/spawni.c (script_execute): Always define it.
31740 It will be optimized away if unused.
31741 (maybe_script_execute): New function.
31742 (__spawni): Call it.
31743
bc7e1c36
RM
31744 * Makerules: Don't include tls.make.
31745 (config-tls): Always set to thread.
31746 * tls.make.c: File removed.
31747
1c3b002b
MF
317482011-09-19 Mike Frysinger <vapier@gentoo.org>
31749
31750 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
31751 * config.make.in (CPPFLAGS-config): New substituted variable.
31752
2840865d
UD
317532011-09-15 Ulrich Drepper <drepper@gmail.com>
31754
88738eb6
UD
31755 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
31756
cbf645a6 31757 [BZ #13192]
2840865d
UD
31758 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
31759 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
31760
b402e91a
RM
317612011-09-15 Roland McGrath <roland@hack.frob.com>
31762
31763 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
31764 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
31765 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31766 (CALL_FAIL): Likewise.
31767 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
31768 (CALL_FAIL): Macro removed.
31769 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
31770
4c1a1f71
UD
317712011-09-15 Ulrich Drepper <drepper@gmail.com>
31772
31773 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
31774 for __FINITE_MATH_ONLY__ == 1.
31775
edc121be
AS
317762011-09-15 Andreas Schwab <schwab@redhat.com>
31777
31778 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
31779 __ieee754_sqrt instead of sqrt.
31780 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
31781 __ieee754_sqrtf instead of sqrtf.
31782 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
31783 __floorf instead of floorf.
31784 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
31785 __floorf, __truncf instead of floorf, truncf.
31786
cd205654
UD
317872011-09-14 Ulrich Drepper <drepper@gmail.com>
31788
ee4d0315
UD
31789 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
31790
cd205654
UD
31791 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
31792 __extern_always_inline.
31793 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
31794 32-bit.
31795
48b67d71
AS
317962011-09-14 Andreas Schwab <schwab@redhat.com>
31797
31798 * elf/rtld.c (dl_main): Also relocate in dependency order when
31799 doing symbol dependency testing.
31800
1ae12c75
AS
318012011-09-13 Andreas Schwab <schwab@linux-m68k.org>
31802
31803 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31804 Always define `refsym'.
31805
995a80df
AS
318062011-09-13 Andreas Schwab <schwab@redhat.com>
31807
e529793b
AS
31808 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
31809 (__FD_ELT): Renamed from __FDELT.
31810 * misc/bits/select2.h (__FD_ELT): Likewise.
31811 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
31812 __FD_MASK instead of __FDELT, __FDMASK.
31813 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31814 Likewise.
31815 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
31816 Likewise.
31817
52d4fef8
AS
31818 * elf/Makefile (gen-ldd): Fix pattern.
31819
995a80df
AS
31820 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
31821 (init_tls): Likewise.
31822
8682f8b0
UD
318232011-09-12 Ulrich Drepper <drepper@gmail.com>
31824
31825 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
31826
de82006d
AS
318272011-09-12 Andreas Schwab <schwab@redhat.com>
31828
a7c8e6a1
AS
31829 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
31830 `struct cmsghdr *' instead of `void *'.
31831 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
31832 Likewise.
31833
0f31fe77
AS
318342011-09-11 Andreas Schwab <schwab@linux-m68k.org>
31835
31836 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
31837 if non-absolute.
31838 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
31839 ldd_rewrite_script.
0f31fe77 31840
32b4c839
UD
318412011-09-11 Ulrich Drepper <drepper@gmail.com>
31842
83cd1420
UD
31843 * configure.in: Remove --with-tls option.
31844 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
31845 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
31846 out in case it is missing.
31847 * sysdeps/ia64/elf/configure.in: Likewise.
31848 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
31849 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
31850 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
31851 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
31852 * sysdeps/sh/elf/configure.in: Likewise.
31853 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
31854 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
31855 * sysdeps/x86_64/elf/configure.in: Likewise.
31856 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
31857 * sysdeps/mach/hurd/tls.h: Likewise.
31858
633f745d
UD
31859 [BZ #13067]
31860 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
31861
f318beb8
UD
31862 [BZ #13090]
31863 * configure.in: Fix use of AC_INIT.
31864
32b4c839
UD
31865 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
31866
3ce1f295
UD
318672011-09-10 Ulrich Drepper <drepper@gmail.com>
31868
bb016596
UD
31869 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
31870 __set_errno.
8e58439c
UD
31871 * malloc/hooks.c: Likewise.
31872
aebae053 31873 [BZ #11929]
02d46fc4
UD
31874 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
31875 variables statically.
31876 (narenas): Initialize.
31877 (list_lock): Initialize.
bb016596
UD
31878 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
31879 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
31880 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
31881 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
31882 Add initializers to main_arena and mp_.
31883 (malloc_state): Remove pagesize member. Change all users to use
31884 GLRO(dl_pagesize).
31885
31886 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
31887 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
31888 is always initialized.
31889
22a89187
UD
31890 * malloc/malloc.c: Removed unused configurations and dead code.
31891 * malloc/arena.c: Likewise.
31892 * malloc/hooks.c: Likewise.
02d46fc4 31893 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 31894
d063d164
UD
31895 * include/tls.h: Removed. USE___THREAD must always be defined.
31896 * bits/libc-tsd.h: Don't handle !USE___THREAD.
31897 * elf/dl-libc.c: Likewise.
31898 * elf/dl-tsd.c: Likewise.
31899 * include/errno.h: Likewise.
31900 * include/netdb.h: Likewise.
31901 * include/resolv.h: Likewise.
31902 * inet/herrno-loc.c: Likewise.
31903 * inet/herrno.c: Likewise.
31904 * malloc/arena.c: Likewise.
31905 * malloc/hooks.c: Likewise.
31906 * malloc/malloc.c: Likewise.
31907 * resolv/res-state.c: Likewise.
31908 * resolv/res_libc.c: Likewise.
31909 * sysdeps/i386/dl-machine.h: Likewise.
31910 * sysdeps/ia64/dl-machine.h: Likewise.
31911 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31912 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31913 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31914 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31915 * sysdeps/sh/dl-machine.h: Likewise.
31916 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31917 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31918 * sysdeps/unix/i386/sysdep.S: Likewise.
31919 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31920 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
31921 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
31922 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31923 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
31924 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31925 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31926 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31927 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31928 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31929 * sysdeps/unix/x86_64/sysdep.S: Likewise.
31930 * sysdeps/x86_64/dl-machine.h: Likewise.
31931 * tls.make.c: Likewise.
31932
3ce1f295
UD
31933 * configure.in: Remove --with-__thread option. Make tests for
31934 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
31935 tls_model attribute fail if no support is available. Remove
31936 USE_IN_LIBIO.
31937 * Makeconfig: Adjust for dropped configure option. All features are
31938 now mandatory.
31939 * Makerules: Likewise.
31940 * Versions.def: Likewise.
31941 * argp/argp-fmtstream.c: Likewise.
31942 * argp/argp-fmtstream.h: Likewise.
31943 * argp/argp-help.c: Likewise.
31944 * assert/assert.c: Likewise.
31945 * config.h.in: Likewise.
31946 * config.make.in: Likewise.
31947 * configure: Likewise.
31948 * configure.in: Likewise.
31949 * csu/Versions: Likewise.
31950 * csu/init.c: Likewise.
31951 * elf/tst-audit2.c: Likewise.
31952 * elf/tst-tls10.c: Likewise.
31953 * elf/tst-tls10.h: Likewise.
31954 * elf/tst-tls11.c: Likewise.
31955 * elf/tst-tls12.c: Likewise.
31956 * elf/tst-tls14.c: Likewise.
31957 * elf/tst-tlsmod11.c: Likewise.
31958 * elf/tst-tlsmod12.c: Likewise.
31959 * elf/tst-tlsmod13.c: Likewise.
31960 * elf/tst-tlsmod13a.c: Likewise.
31961 * elf/tst-tlsmod14a.c: Likewise.
31962 * elf/tst-tlsmod15b.c: Likewise.
31963 * elf/tst-tlsmod16a.c: Likewise.
31964 * elf/tst-tlsmod16b.c: Likewise.
31965 * elf/tst-tlsmod7.c: Likewise.
31966 * elf/tst-tlsmod8.c: Likewise.
31967 * elf/tst-tlsmod9.c: Likewise.
31968 * gmon/gmon.c: Likewise.
31969 * grp/fgetgrent_r.c: Likewise.
31970 * grp/putgrent.c: Likewise.
31971 * hurd/fopenport.c: Likewise.
31972 * include/libc-symbols.h: Likewise.
31973 * include/tls.h: Likewise.
31974 * intl/gettextP.h: Likewise.
31975 * intl/loadinfo.h: Likewise.
31976 * locale/global-locale.c: Likewise.
31977 * locale/localeinfo.h: Likewise.
31978 * mach/devstream.c: Likewise.
31979 * malloc/arena.c: Likewise.
31980 * malloc/set-freeres.c: Likewise.
31981 * misc/err.c: Likewise.
31982 * misc/getttyent.c: Likewise.
31983 * misc/mntent_r.c: Likewise.
31984 * posix/getopt.c: Likewise.
31985 * posix/wordexp.c: Likewise.
31986 * pwd/fgetpwent_r.c: Likewise.
31987 * resolv/Versions: Likewise.
31988 * resolv/res_hconf.c: Likewise.
31989 * shadow/fgetspent_r.c: Likewise.
31990 * shadow/putspent.c: Likewise.
31991 * stdio-common/printf_fphex.c: Likewise.
31992 * stdio-common/tmpfile.c: Likewise.
31993 * stdlib/abort.c: Likewise.
31994 * stdlib/fmtmsg.c: Likewise.
31995 * sunrpc/auth_unix.c: Likewise.
31996 * sunrpc/clnt_perr.c: Likewise.
31997 * sunrpc/clnt_tcp.c: Likewise.
31998 * sunrpc/clnt_udp.c: Likewise.
31999 * sunrpc/clnt_unix.c: Likewise.
32000 * sunrpc/openchild.c: Likewise.
32001 * sunrpc/svc_simple.c: Likewise.
32002 * sunrpc/svc_tcp.c: Likewise.
32003 * sunrpc/svc_udp.c: Likewise.
32004 * sunrpc/svc_unix.c: Likewise.
32005 * sunrpc/xdr.c: Likewise.
32006 * sunrpc/xdr_array.c: Likewise.
32007 * sunrpc/xdr_rec.c: Likewise.
32008 * sunrpc/xdr_ref.c: Likewise.
32009 * sunrpc/xdr_stdio.c: Likewise.
32010
1248c1c4
PB
320112011-09-09 Ulrich Drepper <drepper@gmail.com>
32012
32013 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32014
320152011-07-03 Andreas Jaeger <aj@suse.de>
32016
32017 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32018 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32019 regenerate with gen-libm-tests.pl.
32020
320212010-05-12 Petr Baudis <pasky@suse.cz>
32022
32023 [BZ #11589]
32024 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32025 around j0() zero points by switching to j1().
32026 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32027 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32028 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32029 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32030
f22e1074
UD
320312011-09-09 Ulrich Drepper <drepper@gmail.com>
32032
f19009c1
UD
32033 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32034 instead of 0.
32035 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 32036 instead of 0.
f19009c1
UD
32037 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32038 Patch in part by Pavel Roskin <proski@gnu.org>.
32039
3f8cc204
UD
32040 [BZ #13138]
32041 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32042 realloc.
32043 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
32044 Free memory block if necessary.
32045
f22e1074
UD
32046 [BZ #12847]
32047 * libio/genops.c (INTDEF): For string streams the _lock pointer can
32048 be NULL. Don't lock in this case.
32049
0a2349f9
RM
320502011-09-09 Roland McGrath <roland@hack.frob.com>
32051
32052 * elf/elf.h (ELFOSABI_GNU): New macro.
32053 (ELFOSABI_LINUX): Define to that.
32054
f3cdd467
DZ
320552011-07-29 Denis Zaitceff <zaitceff@gmail.com>
32056
32057 * string/strncat.c (strncat): Undef the symbol in case it has been
32058 defined in bits/string.h.
32059
74718d13
UD
320602011-09-09 Ulrich Drepper <drepper@gmail.com>
32061
633e9e0f
UD
32062 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32063
0a2349f9 32064 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
32065 link map.
32066
f9924780
AJ
320672011-08-17 Andreas Jaeger <aj@suse.de>
32068
32069 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32070
7f5517aa
PP
320712011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
32072 Ian Lance Taylor <iant@google.com>
32073
32074 * math/libm-test.inc (lround_test): New testcase.
32075 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32076
762011fe
UD
320772011-09-08 Ulrich Drepper <drepper@gmail.com>
32078
92963737
UD
32079 * Makefile: Remove support for automatic cvs check-ins.
32080 * Makerules: Likewise.
32081 * config.make.in: Likewise.
32082 * configure.in: Likewise.
32083 * intl/Makefile: Likewise.
32084 * locale/Makefile: Likewise.
32085 * po/Makefile: Likewise.
32086 * posix/Makefile: Likewise.
32087 * sysdeps/gnu/Makefile: Likewise.
32088 * sysdeps/mach/hurd/Makefile: Likewise.
32089 * sysdeps/sparc/sparc32/Makefile: Likewise.
32090
b0727fd8
JS
32091 [BZ #13118]
32092 * posix/Makefile (bug-regex32-ENV): Define.
32093 Patch by John Stanley <jpsinthemix@verizon.net>.
32094
a0f33f99
UD
32095 * misc/Makefile (headers): Add bits/select2.h.
32096 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32097 * misc/bits/select2.h: New file.
32098 * include/bits/select2.h: New file.
32099 * debug/Makefile (routines): Add fdelt_chk.
32100 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32101 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32102 FD_ISSET.
32103 * debug/fdelt_chk.c: New file.
32104
762011fe
UD
32105 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
32106 * wcsmbs/test-wmemcmp.c: Likewise.
32107 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 32108 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
32109
321102011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32111
32112 * string/Makefile (strop-tests): Add memcmp.
32113 * string/test-wmemcmp.c: New file.
32114 * string/test-memcmp.c: Add wmemcmp support.
32115
7f513ec8
RM
321162011-09-08 Roland McGrath <roland@hack.frob.com>
32117
0442afb4
RM
32118 [BZ #13153]
32119 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32120 2011-07-19 change.
32121
7f513ec8
RM
32122 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32123 garbage value in a __mach_port_mod_refs call in the cases of the
32124 task-self and thread-self ports.
32125
a12b2239
ST
321262011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
32127
32128 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32129
610f9ab4
AS
321302011-09-08 Andreas Schwab <schwab@redhat.com>
32131
7f513ec8 32132 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 32133
48882a1a
LD
321342011-09-07 Ulrich Drepper <drepper@gmail.com>
32135
b49865be
UD
32136 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32137
fdc86bc9
UD
32138 * elf/dl-libc.c (dlerror_run): Pass back error code from
32139 dl_catch_error.
32140
c966526a
UD
32141 [BZ #13123]
32142 * elf/dl-load.c (lose): Free l_origin if it is valid.
32143
48882a1a
LD
32144 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32145 names.
32146 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32147 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32148 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32149 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32150 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32151 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32152
77a2a8b4
AZ
321532011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32154
32155 * sysdeps/powerpc/fpu/e_hypot.c: New file.
32156 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32157 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32158 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32159 * sysdeps/powerpc/fpu/k_cosf.c: New file.
32160 * sysdeps/powerpc/fpu/k_sinf.c: New file.
32161 * sysdeps/powerpc/fpu/s_cosf.c: New file.
32162 * sysdeps/powerpc/fpu/s_sinf.c: New file.
32163 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32164 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32165
24f579d8
AM
321662011-08-15 Alan Modra <amodra@gmail.com>
32167
32168 [BZ #13092]
32169 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32170 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32171 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
32172 ppc_mcount to static-only-routines.
32173 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32174 __mcount_internal.
32175 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32176 __mcount_internal with usual JUMPTARGET. Remove useless nop.
32177
3d4837df
UD
321782011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
32179
32180 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32181 for finite and infinity parameters.
32182
22700377
WS
321832011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
32184
32185 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32186 and add nop instructions for throughput optimization.
32187 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32188
5025581e
WS
321892011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
32190
32191 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32192 aligned copy for power7 with vector-scalar instructions.
32193 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32194
08a300c9
L
321952011-07-24 H.J. Lu <hongjiu.lu@intel.com>
32196
32197 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32198 AVX check.
32199
59178ef9
AS
322002011-09-07 Andreas Schwab <schwab@redhat.com>
32201
32202 [BZ #13144]
32203 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32204 last change.
32205
e38ba7ab
UD
322062011-09-07 Ulrich Drepper <drepper@gmail.com>
32207
32208 * sysdeps/unix/sysv/linux/x86_64/init-first.c
32209 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32210 syscall wrapper around clock_gettime in __vdso_clock_gettime.
32211 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32212 clock_gettime.
32213
d53a73ac
UD
322142011-09-06 Ulrich Drepper <drepper@gmail.com>
32215
fc8bffcc
UD
32216 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32217 Forgot to demangle the pointer.
32218
ceaa0c5d
UD
32219 * sysdeps/i386/sysdep.h: Define atom_text_section.
32220 * sysdeps/x86_64/sysdep.h: Likewise.
32221 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32222 section with atom_text_section.
32223 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32224 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32225 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32226 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32227 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32228
a77d3c17
UD
32229 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32230 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32231 already be defined. Change to take two parameters and don't assign
32232 result to variable. Adjust all users.
32233 Define INTERNAL_GETTIME if not already defined.
32234 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32235 call.
32236 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32237 HAVE_CLOCK_GETTIME_VSYSCALL.
32238 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32239
d53a73ac
UD
32240 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32241 gettimeofday vsyscall, just use time.
32242
a8f84144
AS
322432011-09-06 Andreas Schwab <schwab@redhat.com>
32244
32245 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32246 <errno.h>.
32247
ef606249
UD
322482011-09-06 Ulrich Drepper <drepper@gmail.com>
32249
32250 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32251 syscall on x86-64.
32252 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32253 syscall.
32254 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32255 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32256 syscall if possible.
32257
6585cb60
UD
322582011-09-05 Ulrich Drepper <drepper@gmail.com>
32259
32260 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32261 e_ident. Don't pass to find_mapsXX.
32262 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32263
a5f524e4
LD
322642011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32265
32266 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32267 strchr-sse2-no-bsf strrchr-sse2-no-bsf
32268 * sysdeps/x86_64/multiarch/strchr.S: Update.
32269 Check bit_slow_BSF bit.
32270 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32271 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32272 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32273
554881ef
UD
322742011-09-05 Ulrich Drepper <drepper@gmail.com>
32275
d96de963
UD
32276 [BZ #13134]
32277 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32278 before glibc 2.15.
32279 (tryshell): Define.
32280 (__spawni): Change last parameter to be flag. Test
32281 SPAWN_XFLAGS_USE_PATH flag to use path or not.
32282 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32283 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32284 * posix/spawni.c: Likewise.
32285 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32286 * posix/spawnp.c: Likewise. Change normal version to use
32287 SPAWN_XFLAGS_USE_PATH.
32288 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32289 SPAWN_XFLAGS_TRY_SHELL.
32290
d48e5868
UD
32291 [BZ #13150]
32292 * posix/glob.h: Remove gcc 1.x support.
32293
554881ef
UD
32294 [BZ #13068]
32295 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32296
693fb948
LD
322972011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32298
32299 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32300 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32301 strrchr-sse2-bsf
32302 * sysdeps/i386/i686/multiarch/strchr.S: New file.
32303 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32304 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32305 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32306 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32307 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32308
1b48c537
UD
323092011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32310
49d42c37
UD
32311 * sysdeps/x86_64/wcscmp.S: New file.
32312
1b48c537
UD
32313 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32314 wcscmp-c wcscmp-sse2
32315 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32316 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32317 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32318 * wcsmbs/wcscmp.c: Allow renaming.
32319
15c95c5d
DM
323202011-09-05 David S. Miller <davem@davemloft.net>
32321
32322 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32323 stack slot, rather than the struct return pointer slot.
32324 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32325 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32327 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32328
2f0ad8f3
UD
323292011-09-05 Ulrich Drepper <drepper@gmail.com>
32330
d88ae418
UD
32331 * po/ja.po: Update from translation team.
32332
2f0ad8f3
UD
32333 [BZ #13144]
32334 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32335 kernel in 64-bit binaries.
32336
5f4318d1
DM
323372011-09-01 David S. Miller <davem@davemloft.net>
32338
32339 * elf/elf.h (HWCAP_SPARC_*): Move to..
32340 * sysdeps/sparc/sysdep.h: this new file and add new values.
32341 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32342 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32343 _DL_HWCAP_COUNT to 24.
32344 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32345 entries.
32346 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32347 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32348 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32349 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32350 instead of magic constants.
32351 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32352
3ba57516
DM
323532011-08-31 David S. Miller <davem@davemloft.net>
32354
32355 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32356 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32357 Reimplement to do errno handling inline.
32358 (SYSCALL_ERROR_HANDLER): New macro.
32359 (__SYSCALL_STRING): Do not do errno handling in asm.
32360 (__CLONE_SYSCALL_STRING): Delete.
32361 (__INTERNAL_SYSCALL_STRING): Delete.
32362 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32363 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32364 (PSEUDO): Reimplement to do errno handling inline.
32365 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32366 (SYSCALL_ERROR_HANDLER): New macro.
32367 (__SYSCALL_STRING): Do not do errno handling in asm.
32368 (__CLONE_SYSCALL_STRING): Delete.
32369 (__INTERNAL_SYSCALL_STRING): Delete.
32370 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32371 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32372 i386.
32373 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32374 (inline_syscall*): Add 'err' argument.
32375 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32376 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32377 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32378 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32379
32380 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32381 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32382
2bc17433
AS
323832011-08-30 Andreas Schwab <schwab@redhat.com>
32384
32385 * elf/rtld.c (dl_main): Relocate objects in dependency order.
32386
fbeb5f4d
JO
323872011-08-29 Jiri Olsa <jolsa@redhat.com>
32388
32389 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
32390 directive.
32391
ad69cc26
DM
323922011-08-24 David S. Miller <davem@davemloft.net>
32393
32394 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
32395
39dd69df
AS
323962011-08-24 Andreas Schwab <schwab@redhat.com>
32397
32398 * elf/Makefile: Add rules to build and run unload8 test.
32399 * elf/unload8.c: New file.
32400 * elf/unload8mod1.c: New file.
32401 * elf/unload8mod1x.c: New file.
32402 * elf/unload8mod2.c: New file.
32403 * elf/unload8mod3.c: New file.
32404
32405 * elf/dl-close.c (_dl_close_worker): Reset private search list if
32406 it wasn't used.
32407
2c0b250a
DM
324082011-08-23 David S. Miller <davem@davemloft.net>
32409
32410 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
32411 subtract stack bias.
32412 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
32413 %sp not %fp in calculations.
32414 (_JMPBUF_UNWINDS_ADJ): Likewise.
32415
22044b48
DM
32416 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
32417 (aio_suspend): Call it to force an exception region around the
32418 AIO_MISC_WAIT() invocation.
32419
2cae4995
AS
324202011-08-23 Andreas Schwab <schwab@redhat.com>
32421
32422 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
32423 backslash.
32424
873a772e
AJ
324252011-07-04 Aurelien Jarno <aurelien@aurel32.net>
32426
32427 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
32428 protection macro.
32429 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
32430 and <dl-machine.h>.
32431 (Elf64_FuncDesc): Remove.
32432
25ad0df1
DM
324332011-08-22 David S. Miller <davem@davemloft.net>
32434
32435 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
32436 sigaltstack check, add missing cfi directives.
32437 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
32438 missing cfi directives, and sigaltstack handling.
32439
e888bcbe
AS
324402011-08-16 Andreas Schwab <schwab@redhat.com>
32441
32442 [BZ #11724]
32443 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
32444 object is seen twice.
32445 * elf/dl-fini.c (_dl_sort_fini): Likewise.
32446
32447 * elf/Makefile (distribute): Add tst-initorder2.c.
32448 (tests): Add tst-initorder2.
32449 (modules-names): Add tst-initorder2a tst-initorder2b
32450 tst-initorder2c tst-initorder2d. Add rules to build them.
32451 ($(objpfx)tst-initorder2.out): New rule.
32452 * elf/tst-initorder2.c: New file.
32453 * elf/tst-initorder2.exp: New file.
32454
87162f46
AS
324552011-08-22 Andreas Schwab <schwab@redhat.com>
32456
70538b7f
AS
32457 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
32458
f55ffe58
AS
32459 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
32460 dependencies back to end of function.
32461
87162f46
AS
32462 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
32463 $(elfobjdir)/ld.so.
32464
91b392a4
UD
324652011-08-21 Ulrich Drepper <drepper@gmail.com>
32466
32467 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
32468 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
32469 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
32470 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
32471 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
32472 of __vdso_gettimeofday.
32473 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
32474 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
32475 attribute_hidden.
32476 (_libc_vdso_platform_setup): Remove initialization of
32477 __vdso_gettimeofday and __vdso_time.
32478
5c43483f
UD
324792011-08-20 Ulrich Drepper <drepper@gmail.com>
32480
775a77e7
UD
32481 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
32482 and fgetc_unlocked.
32483 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
32484 getc_unlocked.
89f447ed 32485
49c74ba9
UD
32486 * elf/dl-open.c (add_to_global): Report additions to the global scope
32487 for LD_DEBUG=scopes.
32488 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 32489 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 32490
5c43483f
UD
32491 [BZ #13114]
32492 * stdio-common/Makefile (tests): Add bug24.
32493 * stdio-common/bug24.c: New file.
32494
a101b025
AJ
324952011-08-19 Andreas Jaeger <aj@suse.de>
32496
32497 [BZ #13114]
32498 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
32499 non-existant file when using close-on-exec mode.
32500
c88f1766
UD
325012011-08-20 Ulrich Drepper <drepper@gmail.com>
32502
0276a718
UD
32503 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
32504 the very first instruction.
32505
c88f1766
UD
32506 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
32507 the CFI state in the end.
32508 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
32509 inclusion of dl-trampoline.h.
32510 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
32511
51ccffa0
AS
325122011-08-19 Andreas Schwab <schwab@redhat.com>
32513
94d7165f
AS
32514 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
32515 expectations for long double.
32516
51ccffa0
AS
32517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
32518 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
32519
fd708658 325202011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
32521
32522 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
32523 artificual limit depends upon the system page size.
32524
44f0a71e
UD
325252011-08-17 Ulrich Drepper <drepper@gmail.com>
32526
32527 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
32528 * resolv/Makefile: Define CFLAGS-libresolv.
32529
8de79a24
AS
325302011-08-17 Andreas Schwab <schwab@redhat.com>
32531
32532 * nss/makedb.c (compute_tables): Make variables used in nested
32533 function static.
32534
27724598
UD
325352011-08-17 Ulrich Drepper <drepper@gmail.com>
32536
c5305d88
UD
32537 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
32538 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
32539 if buffer was too small.
32540
27724598
UD
32541 * elf/pldd.c (main): Attach to all threads in the process.
32542 Rewrite /proc handling to use *at functions.
32543
076fe015
UD
325442011-08-16 Ulrich Drepper <drepper@gmail.com>
32545
174baab3
UD
32546 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
32547 specifies first scope to show.
32548 (dl_open_worker): Update callers. Move printing scope of new
32549 object to before the relocation.
44f0a71e 32550 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
32551 * sysdeps/generic/ldsodefs.h: Update declaration.
32552
076fe015
UD
32553 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
32554 string for the scope number.
32555
a60df2c3
UD
325562011-08-14 Ulrich Drepper <drepper@gmail.com>
32557
32558 * nscd/servicescache.c (cache_addserv): Make sure written is always
32559 initialized.
32560
5e4287d1
RM
325612011-08-14 Roland McGrath <roland@hack.frob.com>
32562
85ae0589
RM
32563 * sysdeps/i386/i486/bits/atomic.h
32564 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
32565 statement expression, so as to suppress "set but not used" warning.
32566 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
32567
69f63097
RM
32568 * string/strncat.c (STRNCAT): Use prototype definition.
32569
675456ef
RM
32570 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
32571 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
32572 -Iprograms here.
32573 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
32574 (localedef-modules): Add localedef.
32575 (locale-modules): Add locale.
32576
5e4287d1
RM
32577 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
32578 * elf/rtld.c (dl_main): Invert order of assignment in last change,
32579 to avoid a warning.
32580
9c96ff23
DM
325812011-08-14 David S. Miller <davem@davemloft.net>
32582
32583 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
32584 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
32585
f9ddf089
UD
325862011-08-13 Ulrich Drepper <drepper@gmail.com>
32587
44f0a71e 32588 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
32589 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
32590 * elf/rtld.c (dl_main): Set l_name of vDSO.
32591 Call _dl_show_scope when DL_DEBUG_SCOPES.
32592 (process_dl_debug): Recognize scopes flag and also set it for all.
32593 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
32594 Declare _dl_show_scope.
32595
1dc27704
UD
32596 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
32597 (do_dlopen): Pass caller_dlopen to dl_open.
32598 (__libc_dlopen_mode): Initialize caller_dlopen.
32599
f9ddf089
UD
32600 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
32601 of libc. Make tolower call locale-independent. Optimize a bit by
32602 using isdigit instead of isalnum.
32603 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
32604
9ac533d3
UD
326052011-08-12 Ulrich Drepper <drepper@gmail.com>
32606
32607 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
32608 was a dependency or dynamically loaded.
32609
89edf2e9
UD
326102011-08-11 Ulrich Drepper <drepper@gmail.com>
32611
8e999d29
UD
32612 * intl/l10nflist.c: Allow architecture-specific pop function.
32613 * sysdeps/x86_64/l10nflist.c: New file.
32614
89edf2e9
UD
32615 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
32616 classification.
32617
14d96785
AS
326182011-08-10 Andreas Schwab <schwab@redhat.com>
32619
32620 * include/dirent.h: Add libc_hidden_proto for scandirat and
32621 scandirat64. Don't declare __scandirat64.
32622 * dirent/scandirat.c: Add libc_hidden_def.
32623 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
32624 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
32625
6761ac04
DM
326262011-08-10 David S. Miller <davem@davemloft.net>
32627
32628 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
32629 enum.
32630 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32631 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32632 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32633
c55fbd1e
UD
326342011-08-09 Ulrich Drepper <drepper@gmail.com>
32635
32636 * Versions.def [libc]: Add GLIBC_2.15.
32637 * dirent/Makefile (routines): Add scandirat and scandirat64.
32638 * dirent/Versions [libc]: Export scandirat and scandirat64 for
32639 GLIBC_2.15.
32640 * dirent/dirent.h: Declare scandirat and scandirat64.
32641 * dirent/scandirat.c: New file.
32642 * dirent/scandirat64.c: New file.
32643 * sysdeps/wordsize-64/scandirat.c: New file.
32644 * sysdeps/wordsize-64/scandirat64.c: New file.
32645 * dirent/opendir.c: Define opendirat.
32646 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
32647 using scandirat.
32648 * dirent/scandir64.c: Adjust for scandir.c change.
32649 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
32650 __scandirat64, and __scandir_cancel_handler.
32651 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
32652 additional parameter and use openat instead of open (outside of ld.so).
32653 Add new __opendir as wrapper around __opendirat.
32654 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
32655 here without requiring old scandirat implementation.
32656
879165f2
UD
326572011-08-08 Ulrich Drepper <drepper@gmail.com>
32658
32659 * dirent/scandir.c (cancel_handler): Renamed to
32660 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
32661 defined. Adjust users.
32662 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
32663 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
32664
cb7e923b
UD
326652011-08-04 Ulrich Drepper <drepper@gmail.com>
32666
16292edd
UD
32667 * string/test-string.h (IMPL): Use __STRING to expand name and then
32668 stringify it.
32669
cb7e923b
UD
32670 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
32671 of cleanups.
32672
cff82933
LD
326732011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32674
32675 * string/Makefile: Update.
32676 (strop-tests): Append strncat.
32677 * string/test-wcscmp.c: New file.
32678 New comprehensive test for wcscmp.
32679 * string/test-strcmp.c: Update.
32680 (WIDE): New define.
32681
9be9bfcc
AS
326822011-07-22 Andreas Schwab <schwab@redhat.com>
32683
32684 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
32685 line.
32686
2e96f1c7
AS
326872011-07-26 Andreas Schwab <schwab@redhat.com>
32688
32689 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
32690 encoding to ACE if AI_IDN.
32691
85188888
JJ
326922011-08-01 Jakub Jelinek <jakub@redhat.com>
32693
32694 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
32695 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
32696
5fa16e9b
LD
326972011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32698
32699 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
32700 Fix overflow bug in strncat.
32701 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
32702
32703 * string/test-strncat.c: Update.
32704 Add new tests for checking overflow bugs.
32705
327062011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32707
32708 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32709 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
32710 * sysdeps/i386/i686/multiarch/strcat.S: New file.
32711 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
32712 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
32713 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
32714 * sysdeps/i386/i686/multiarch/strncat.S: New file.
32715 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
32716 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
32717
32718 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
32719 (USE_AS_STRCAT): Define.
32720 Add strcat and strncat support.
32721 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32722
8c1a459f
AS
327232011-07-25 Andreas Schwab <schwab@redhat.com>
32724
32725 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
32726 __n bigger than INT_MAX+1.
32727 (__strncmp_g): Likewise.
32728
bba33c28
UD
327292011-07-23 Ulrich Drepper <drepper@gmail.com>
32730
798be72d
UD
32731 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
32732 * libio/stido.h: Likewise.
32733
8accd4dc
UD
32734 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
32735 (AF_NFC): Define.
32736 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
32737 (AF_NFC): Define.
32738
cbff0d96
UD
32739 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
32740 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
32741 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
32742 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
32743 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
32744
9191c04a
UD
32745 [BZ #13021]
32746 * scripts/test-installation.pl: Don't expect libnss_test1 to be
32747 installed.
32748
bba33c28
UD
32749 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
32750 typo.
32751 (_dl_x86_64_save_sse): Likewise.
32752
90f139dd
UD
327532011-07-22 Ulrich Drepper <drepper@gmail.com>
32754
1aae088a
UD
32755 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
32756 OSXSAVE.
32757 (_dl_x86_64_save_sse): Likewise.
32758
8e2045f5
UD
32759 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
32760
90f139dd
UD
32761 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
32762
1d002f25
AS
327632011-07-21 Andreas Schwab <schwab@redhat.com>
32764
32765 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
32766 change.
32767 (_dl_x86_64_save_sse): Use correct AVX check.
32768
21137f89
UD
327692011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32770
32771 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
32772 bug in strncpy/strncat.
32773 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
32774
a65c0b7a
UD
327752011-07-21 Ulrich Drepper <drepper@gmail.com>
32776
32777 * string/tester.c (test_strcat): Add tests for different alignments
32778 of source and destination.
32779 (test_strncat): Likewise.
32780
6986b98a
UD
327812011-07-20 Ulrich Drepper <drepper@gmail.com>
32782
90bb2039
UD
32783 [BZ #12852]
32784 * posix/glob.c (glob): Check passed in values before using them in
32785 expressions to avoid some overflows.
32786 (glob_in_dir): Likewise.
32787
5644ef54
UD
32788 [BZ #13007]
32789 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
32790 check for AVX enablement so that we don't crash with old kernels and
32791 new hardware.
32792 * elf/tst-audit4.c: Add same checks here.
32793 * elf/tst-audit6.c: Likewise.
32794
32795 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 32796
bfc9dc9b
AS
327972011-07-09 Andreas Schwab <schwab@linux-m68k.org>
32798
32799 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
32800
702e64bb
UD
328012011-07-20 Ulrich Drepper <drepper@gmail.com>
32802
32803 * po/cs.po: Update from translation team.
32804 * po/bg.po: Likewise.
32805
295e904f
MP
328062011-07-12 Marek Polacek <mpolacek@redhat.com>
32807
32808 * misc/sys/cdefs.h: Add support for const attribute.
32809 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
32810 to gnu_dev_{major,minor,makedev} functions.
32811
3ff94596
MP
328122011-07-20 Marek Polacek <mpolacek@redhat.com>
32813
32814 * intl/dcigettext.c (get_output_charset): Add missing bracket.
32815
28b59fca
AS
328162011-07-20 Andreas Schwab <schwab@redhat.com>
32817
32818 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
32819 strlen results.
32820
19df733e
AK
328212011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
32822
32823 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
32824 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
32825 register in order to avoid conflicts with the soft frame pointer
32826 being held in r11 when necessary.
32827 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
32828 (INTERNAL_VSYSCALL_NCS): Likewise.
32829
c8835729
MP
328302011-07-14 Marek Polacek <mpolacek@redhat.com>
32831
32832 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
32833 * elf/dl-fini.c (_dl_fini): Adjust caller.
32834 * elf/dl-close.c (_dl_close_worker): Likewise.
32835 * sysdeps/generic/ldsodefs.h: Adjust declaration.
32836
b902330c
MP
328372011-07-15 Marek Polacek <mpolacek@redhat.com>
32838
8991e135
MP
32839 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
32840 "aux_cache->nlibs < 0".
32841
b902330c
MP
32842 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
32843 in the reload-count case.
32844
99710781
LD
328452011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
32846
32847 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32848 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
32849 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
32850 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
32851 * sysdeps/x86_64/multiarch/strcat.S: New file.
32852 * sysdeps/x86_64/multiarch/strncat.S: New file.
32853 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
32854 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
32855 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
32856 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
32857 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
32858 (USE_AS_STRCAT): Define.
32859 Add strcat and strncat support.
32860 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32861 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
32862 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
32863 * string/strncat.c: Update.
32864 (USE_AS_STRNCAT): Define.
32865 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32866 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
32867 and i7.
32868 * sysdeps/x86_64/multiarch/init-arch.h
32869 (bit_Prefer_PMINUB_for_stringop): New.
32870 (index_Prefer_PMINUB_for_stringop): Likewise.
32871 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
32872 bit_Prefer_PMINUB_for_stringop.
32873
7dc6bd90
UD
328742011-07-19 Ulrich Drepper <drepper@gmail.com>
32875
32876 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
32877 buffer64.
32878 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
32879 of casting of buffer.
32880 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
32881 buffer32 and buffer64.
32882 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
32883 writes instead of casting of buffer.
32884 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
32885 buffer32.
32886 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
32887 casting of buffer.
32888
e0e72284
AS
328892011-07-19 Andreas Schwab <schwab@redhat.com>
32890
32891 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
32892
feb1eb0b
UD
328932011-07-19 Ulrich Drepper <drepper@gmail.com>
32894
32895 * nscd/nscd.c (termination_handler): Don't do anything for a database
32896 if it has not yet been initialized.
32897
298711ff
UD
328982011-07-18 Ulrich Drepper <drepper@gmail.com>
32899
32900 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32901
329022011-07-15 Marek Polacek <mpolacek@redhat.com>
32903
32904 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
32905
f9d68389
UD
329062011-07-18 Ulrich Drepper <drepper@gmail.com>
32907
32908 * po/nl.po: Update from translation team.
32909 * po/sv.po: Likewise.
32910
db290cf5
RM
329112011-07-16 Roland McGrath <roland@hack.frob.com>
32912
32913 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
32914 now disallowed by GCC.
5c550700 32915
fd5e21c7
RM
32916 * configure.in (use-default-link): Default to yes if a test -shared
32917 link meets our qualifications.
32918 * configure: Regenerated.
32919
5c550700
RM
32920 * config.make.in (output-format): New variable.
32921 * configure.in: Check for ld --print-output-format support.
32922 * configure: Regenerated.
32923 * Makerules ($(common-objpfx)format.lds)
32924 [$(output-format) != unknown]: Just use $(output-format),
32925 instead of the linker-script munging.
32926
9fa2c032
RM
329272011-07-14 Roland McGrath <roland@hack.frob.com>
32928
a6928d51
RM
32929 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
32930 of $(common-objpfx)shlib.lds.
32931 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
32932
661607b3
RM
32933 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
32934 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
32935
9fa2c032
RM
32936 * configure.in (-z relro check): Adjust test code to add a large
32937 writable data section after it.
32938 * configure: Regenerated.
32939
defe9061
RM
329402011-07-11 Roland McGrath <roland@hack.frob.com>
32941
32942 * configure.in (-z relro check): Fix test code to make the variable
32943 truly const.
32944 * configure: Regenerated.
32945
319b9ad4
UD
329462011-07-11 Ulrich Drepper <drepper@gmail.com>
32947
32948 * nscd/nscd.h (struct traced_file): Define.
32949 (struct database_dyn): Remove inotify_descr, reset_res, and filename
32950 elements. Add traced_files.
32951 (inotify_fd): Declare.
32952 (register_traced_file): Declare.
32953 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
32954 (inotify_fd): Export.
32955 (resolv_conf_descr): Remove.
32956 (nscd_init): Move inotify descriptor creation to main.
32957 Don't register files for notification here.
32958 (register_traced_file): New function.
32959 (invalidate_cache): Don't use reset_res to determine whether to call
32960 res_init, go through the list of registered files.
32961 (main_loop_poll): The inotify descriptors are now stored in the
32962 structures for the traced files.
32963 (main_loop_epoll): Likewise
32964 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
32965 to __nss_disable_nscd.
32966 * nscd/cache.c (prune_cache): There is no single inotify descriptor
32967 for a database anymore. Check the records for all the registered
32968 files instead.
32969 * nss/Makefile (libnss_files-routines): Add files-init.
32970 (libnss_db-routines): Add db-init.
32971 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
32972 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
32973 * nss/nss_db/db-init.c: New file.
32974 * nss/nss_files/files-init.c: New file.
32975 * nss/nsswitch.c (nss_load_library): New function. Broken out of
32976 __nss_lookup_function.
32977 (__nss_lookup_function): Call nss_load_library.
32978 (nss_load_all_libraries): New function.
32979 (__nss_disable_nscd): Take parameter with callback function for files
32980 to register. Set is_nscd. Load all the DSOs for the NSS modules
32981 used for the cached services.
32982 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
32983 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
32984 options for features to all the files in nscd.
32985
32986 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
32987
23bee3e8
RM
329882011-07-10 Roland McGrath <roland@hack.frob.com>
32989
32990 * csu/elf-init.c (__libc_csu_init): Comment typo.
32991
46a5b7f0
UD
329922011-07-09 Ulrich Drepper <drepper@gmail.com>
32993
32994 * po/pl.po: Update from translation team.
32995 * po/ja.po: Likewise.
32996 * po/ru.po: Likewise.
32997 * po/ko.po: Likewise.
32998 * po/fr.po: Likewise.
32999
d30cf5bb
RM
330002011-07-09 Roland McGrath <roland@hack.frob.com>
33001
113ddea4
RM
33002 * configure.in (.ctors/.dtors header and trailer check):
33003 Use an empirical test on a built program.
33004 * configure: Regenerated.
33005
574920b4
RM
33006 * configure.in (-z relro check): Use an empirical test on a built DSO.
33007 Detect, but do not require, on ia64.
33008 * configure: Regenerated.
33009
d30cf5bb
RM
33010 * configure.in (READELF): Find it with AC_CHECK_TOOL.
33011 Update tests that use readelf to use $READELF instead.
33012 * configure: Regenerated.
33013
8538fdb3
UD
330142011-07-08 Ulrich Drepper <drepper@gmail.com>
33015
33016 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33017 if the result is not used.
33018
04d08991
AJ
330192011-07-05 Andreas Jaeger <aj@suse.de>
33020
33021 [BZ#9696]
33022 * stdlib/tst-strtod.c: Add testcase.
33023
de283087
AD
330242011-07-07 Ulrich Drepper <drepper@gmail.com>
33025
4e5f31c8 33026 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 33027 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
33028 The latter has a higher limit. Take additional parameter to pass to
33029 the new function.
33030 (__pathconf): Pass file to __statfs_link_max.
33031 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33032 __statfs_link_max.
33033 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33034 __statfs_link_max.
33035
de283087
AD
33036 [BZ #12868]
33037 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33038 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33039 Handle Lustre.
33040 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33041 (__statfs_filesize_max): Likewise.
33042 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33043
c75fa153
AJ
330442011-07-05 Andreas Jaeger <aj@suse.de>
33045
33046 * resolv/res_comp.c (dn_skipname): Remove unused variable.
33047
1a544854
UD
330482011-07-06 Marek Polacek <mpolacek@redhat.com>
33049
33050 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33051 `status' variable.
33052 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33053 Likewise.
33054
6f0eec67
UD
330552011-07-04 H.J. Lu <hongjiu.lu@intel.com>
33056
33057 * Makefile (strop-tests): Add strncat.
33058 * string/test-strncat.c: New file.
33059
aae30307
UD
330602011-06-30 Marek Polacek <mpolacek@redhat.com>
33061
33062 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33063
c0cfb5eb
UD
330642011-06-21 Andreas Jaeger <aj@suse.de>
33065
33066 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33067 Copy rule from iconvdata/Makefile.
33068
01636b21
UD
330692011-07-06 Ulrich Drepper <drepper@gmail.com>
33070
33071 [BZ #12922]
33072 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33073 but no long options are defined, just return 'W'.
33074
9895c8bc
UD
330752011-06-22 Marek Polacek <mpolacek@redhat.com>
33076
33077 [BZ #9696]
33078 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33079
5d4cf042
UD
330802011-07-06 Ulrich Drepper <drepper@gmail.com>
33081
33082 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33083 netgroups to read.
960e5535 33084 (innetgr): Likewise.
5d4cf042 33085
751eb97e
RM
330862011-07-05 Roland McGrath <roland@hack.frob.com>
33087
33088 * config.make.in (install_root): Default to $(DESTDIR).
33089
f15f1e45
UD
330902011-07-05 Ulrich Drepper <drepper@gmail.com>
33091
33092 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33093
4e34ac6a
RM
330942011-07-02 Roland McGrath <roland@hack.frob.com>
33095
5e9b6af4
RM
33096 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33097
84f9ea0f
RM
33098 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33099 containing directory rather than embedding absolute directory names.
33100
ea5ee9f7
RM
33101 * scripts/check-local-headers.sh: Rewritten using awk.
33102 Match by word, not by line. Print error messages for matches.
33103 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33104
1b74661a
RM
33105 * Makerules [shlib-lds-flags empty]:
33106 ($(common-objpfx)libc_pic.opts): New target.
33107 ($(common-objpfx)libc_pic.os.clean): New target.
33108 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33109
33110 * config.make.in (OBJCOPY): New variable.
33111 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33112 * configure: Regenerated.
33113
f781ef40
RM
33114 * config.make.in (use-default-link): New variable.
33115 * configure.in (use_default_link): Grok --with-default-link to set it.
33116 * configure: Regenerated.
33117 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33118 (shlib-lds, shlib-lds-flags): Define to empty.
33119
2d4fa81e
RM
33120 * Makerules (shlib-lds): New variable.
33121 (shlib-lds-flags): New variable.
33122 (build-shlib, build-moduile, build-module-asneeded): Use it.
33123 ($(common-objpfx)libc.so): Use $(shlib-lds).
33124 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33125 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33126
31fffa6b
RM
33127 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33128 DT_FLAGS/DT_FLAGS_1 with zero flags.
33129
4e34ac6a
RM
33130 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33131 linker script munging.
33132
fcfc776b
UD
331332011-07-02 Ulrich Drepper <drepper@gmail.com>
33134
33135 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33136 as 128-bit value.
33137 * crypt/sha512.c (sha512_process_block): Perform total addition using
33138 128-bit if possible.
33139 (__sha512_finish_ctx): Likewise.
33140 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33141 as 64-bit value.
33142 * crypt/sha256.c (SWAP64): Define.
33143 (sha256_process_block): Perform total addition using 64-bit if
33144 possible.
33145 (__sha256_finish_ctx): Likewise.
33146
99231d9a
UD
331472011-07-01 Ulrich Drepper <drepper@gmail.com>
33148
33149 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
33150 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33151 * nscd/hstcache.c (cache_addhst): Likewise.
33152 * nscd/grpcache.c (cache_addgr): Likewise.
33153 * nscd/aicache.c (addhstaiX): Likewise
33154 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33155
445b4a53
TK
331562011-07-01 Thorsten Kukuk <kukuk@suse.de>
33157
33158 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33159 * nscd/initgrcache.c (addinitgroupsX): Likewise.
33160 * nscd/hstcache.c (cache_addhst): Likewise.
33161 * nscd/grpcache.c (cache_addgr): Likewise.
33162 * nscd/aicache.c (addhstaiX): Likewise
33163
6d4d8e8e
AS
331642011-07-01 Andreas Schwab <schwab@redhat.com>
33165
33166 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33167 domain only when needed.
33168
89f654c5
AS
331692011-06-30 Andreas Schwab <schwab@redhat.com>
33170
33171 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33172 is always restored.
33173
cf3b23ff
UD
331742011-06-29 Ulrich Drepper <drepper@gmail.com>
33175
33176 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33177 are re-adding the entry.
33178 * nscd/servicescache.c (cache_addserv): Likewise.
33179
751626f9
AJ
331802011-06-30 Aurelien Jarno <aurelien@aurel32.net>
33181
33182 * sysdeps/generic/dl-irel.h: fix protection against multiple
33183 inclusions.
33184 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33185
9113ea1f
UD
331862011-06-28 Ulrich Drepper <drepper@gmail.com>
33187
5c0b8d90
UD
33188 [BZ #12935]
33189 * malloc/memusage.sh: Fix quoting in message.
33190 * debug/xtrace.sh: Likewise.
33191
9113ea1f
UD
33192 * configure.in: Remove support for --experimental-malloc option, make
33193 it the default.
33194 * config.make.in: Likewise.
33195 * malloc/Makefile: Likewise.
33196
a4172181
AS
331972011-06-27 Andreas Schwab <schwab@redhat.com>
33198
33199 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33200 two-byte characters.
33201
78a7eee7
RM
332022011-06-27 Roland McGrath <roland@hack.frob.com>
33203
62bede13
RM
33204 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33205 AC_CACHE_CHECK invocation.
33206 * configure: Regenerated.
33207
78a7eee7
RM
33208 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33209
5ce33a62
UD
332102011-06-27 Ulrich Drepper <drepper@gmail.com>
33211
034807a9
UD
33212 [BZ #12350]
33213 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
33214 bit from old_res_options.
33215
4902da17
UD
33216 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33217
5ce33a62
UD
33218 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33219 value type for setfct.
33220
c2344f56
L
332212011-06-23 H.J. Lu <hongjiu.lu@intel.com>
33222
33223 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33224 __gettimeofday instead of gettimeofday.
33225
68468076
UD
332262011-06-26 Ulrich Drepper <drepper@gmail.com>
33227
33228 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33229
acb0d739
L
332302011-06-24 H.J. Lu <hongjiu.lu@intel.com>
33231
33232 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33233
33234 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33235 info.
33236
8912479f
L
332372011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33238
33239 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33240 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33241 strcpy-sse2-unaligned strncpy-sse2-unaligned
33242 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33243 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33244 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33245 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33246 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33247 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33248 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33249 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33250 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33251 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33252 (STRCPY): Support SSE2 and SSSE3 versions.
33253
d5495a11
UD
332542011-06-24 Ulrich Drepper <drepper@gmail.com>
33255
33256 [BZ #12874]
33257 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33258 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33259 kernels which artificially limit size of requests.
33260
0b1cbaae
L
332612011-06-22 H.J. Lu <hongjiu.lu@intel.com>
33262
33263 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33264 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33265 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33266 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33267 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33268 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33269 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33270 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33271 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33272 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33273 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33274 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33275 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33276 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33277 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33278 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33279 Enable unaligned load optimization for Intel Core i3, i5 and i7
33280 processors.
33281 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33282 Define.
33283 (index_Fast_Unaligned_Load): Define.
33284 (HAS_FAST_UNALIGNED_LOAD): Define.
33285
07f494a0
MP
332862011-06-23 Marek Polacek <mpolacek@redhat.com>
33287
33288 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33289
fa3fc0fe
UD
332902011-06-22 Ulrich Drepper <drepper@gmail.com>
33291
33292 [BZ #12907]
33293 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33294 until it is clear that the information is realy needed.
33295 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33296
e12df166
AS
332972011-06-22 Andreas Schwab <schwab@redhat.com>
33298
33299 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33300
852eb34d
UD
333012011-06-22 Ulrich Drepper <drepper@gmail.com>
33302
84e2a551
UD
33303 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33304 /sys/devices/system/cpu/online if it is usable.
33305
852eb34d
UD
33306 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33307 reading the information from the /proc filesystem to once a second.
33308
6e502e19
UD
333092011-06-21 Andreas Jaeger <aj@suse.de>
33310
33311 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33312 NULL after inclusion of kernel headers.
33313
75d39ff2
UD
333142011-06-21 Ulrich Drepper <drepper@gmail.com>
33315
51f9aa6a
UD
33316 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33317 calls to internal_setent.
33318
c0244a9d
UD
33319 [BZ #12885]
33320 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33321 addresses using gethostbyname4_r ignore IPv4 addresses.
33322
c5e3c2ae
UD
33323 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33324 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
33325
75d39ff2
UD
33326 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33327
42675c6f
DM
333282011-06-20 David S. Miller <davem@davemloft.net>
33329
33330 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33331 inclusions.
33332 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33333
33334 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33335 (elf_irel): Use it.
33336 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33337 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33338 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33339 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33340 * sysdeps/x86_64/dl-irel.h: Likewise.
33341
33342 * elf/dl-runtime.c: Use elf_ifunc_invoke.
33343 * elf/dl-sym.c: Likewise.
33344
57912a71
UD
333452011-06-15 Ulrich Drepper <drepper@gmail.com>
33346
33347 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
33348 need to dereference resplen2.
33349
ee22793d
AS
333502011-06-14 Andreas Schwab <schwab@redhat.com>
33351
33352 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33353
a9e836b0
UD
333542011-06-15 Ulrich Drepper <drepper@gmail.com>
33355
77fb9117
UD
33356 * Makeconfig: Define vardbdir and inst_vardbdir.
33357 * nss/Makefile: Add rules to install db-Makefile.
33358
40c1b22c
UD
33359 * nss/nss_db/db-XXX.c: Cleanup.
33360
9f2da732
UD
33361 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33362 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33363 GLIBC_PRIVATE.
33364 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33365 * nss/makedb.c: Implement -g option to specify that value strings
33366 are generated and should not be added to table iterated over for
33367 get*ent calls.
33368 * nss/nss_db/db-initgroups.c: New file.
33369
82e9a1f7
UD
33370 * nss/getent.c: Add support for initgroups lookups through getgrouplist
33371 interface.
33372
c41af17e
UD
33373 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33374 (internal_getgrouplist): Adjust to name change.
33375 Update use_initgroups_entry if this is not the first call.
33376 * nss/databases.def: Add initgroups entry.
33377
a9e836b0
UD
33378 * nss/makedb.c (compute_tables): Check result of multiple hash table
33379 sizes to minimize maximum chain length.
33380
2666d441
UD
333812011-06-14 Ulrich Drepper <drepper@gmail.com>
33382
33383 * Versions.def: Add entry for libnss_db.
33384 * shlib-versions: Likewise.
33385 * nss/Makefile: Add rules to build libnss_db.
33386 * nss/Versions: Add libnss_db information. Organize libnss_files
33387 entries better.
33388 * nss/db-Makefile: Add gshadow support. Change rules for the new
33389 makedb progra. Some minor improvements to generate smaller files.
33390 * nss/nss_db/nss_db.h: Move NSS database header data structures to
33391 here from...
33392 * nss/makedb.c: ...here.
33393 Improve database format to be smaller and require less memory at
33394 runtime.
33395 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
33396 db anymore.
33397 * nss/nss_db/db-netgrp.c: Likewise.
33398 * nss/nss_db/db-open.c: Likewise.
33399 * nss/nss_files/flies-XXX.x: Adjust comments.
33400 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
33401 * nss/nss_files/files-grp.c: Likewise.
33402 * nss/nss_files/files-hosts.c: Likewise.
33403 * nss/nss_files/files-network.c: Likewise.
33404 * nss/nss_files/files-proto.c: Likewise.
33405 * nss/nss_files/files-pwd.c: Likewise.
33406 * nss/nss_files/files-rpc.c: Likewise.
33407 * nss/nss_files/files-service.c: Likewise.
33408 * nss/nss_files/files-sgrp.c: Likewise.
33409 * nss/nss_files/files-spwd.c: Likewise.
33410 * nss/nss_db/db-alias.c: Removed.
33411 * nss/nss_db/dummy-db.h: Removed.
33412
9ee76b5a
UD
334132011-06-02 Ulrich Drepper <drepper@gmail.com>
33414
33415 * nss/makedb.c: Rewritten to not use database library.
33416 * nss/Makefile: Update to build new makedb program.
33417
c71ca1f8
AJ
334182011-06-14 Andreas Jaeger <aj@suse.de>
33419
33420 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
33421 memset declaration.
33422
3154bfb8
UD
334232011-06-10 Andreas Schwab <schwab@redhat.com>
33424
33425 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
33426 tmpbuf.
33427
b350afab
RM
334282011-06-10 Roland McGrath <roland@hack.frob.com>
33429
decd4e50
RM
33430 * Makerules (shlib.lds): Fail if the linker script comes out empty.
33431 * elf/Makefile ($(objpfx)ld.so): Likewise.
33432
5615eaf2
RM
33433 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
33434 Don't list ld.so twice in dependencies.
33435
33436 * posix/bug-regex31.c: Include <stdlib.h>.
33437
33438 * nscd/hstcache.c (cache_addhst): Remove unused variable.
33439
33440 * nis/nss_compat/compat-spwd.c
33441 (getspent_next_nss_netgr): Remove unused variable.
33442 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
33443
33444 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
33445 nonmembers" output to use the right array.
33446
33447 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
33448
33449 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
33450
33451 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
33452 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
33453 * catgets/gencat.c (read_input_file): Likewise.
33454 * locale/programs/locarchive.c (enlarge_archive): Likewise.
33455
33456 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
33457 variable definition inside #if's controlling its use.
33458
33459 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
33460
33461 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
33462
33463 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
33464
33465 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
33466 unreachable code.
33467
33468 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
33469
b68e08db
RM
33470 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
33471 * configure: Regenerated.
33472
b350afab
RM
33473 * Makerules: Revert last change.
33474 * elf/Makefile: Likewise.
33475
28368601
RM
334762011-06-09 Roland McGrath <roland@hack.frob.com>
33477
33478 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
33479 * elf/Makefile ($(objpfx)librtld.os): Likewise.
33480 (reloc-link): Likewise.
33481
11988f8f
UD
334822011-06-09 Ulrich Drepper <drepper@gmail.com>
33483
33484 * elf/Makefile: Add rules to build pldd.
33485 * elf/pldd.c: New file.
33486 * elf/pldd-xx.c: New file.
33487
e80fab37
UD
334882011-06-07 Ulrich Drepper <drepper@gmail.com>
33489
33490 * version.h: Update for 2.15 development version.
33491
9b849836
DM
334922011-06-07 David S. Miller <davem@davemloft.net>
33493
33494 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
33495 ifuncs.
33496 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
33497 elf_machine_lazy_rel): Likewise.
33498 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
33499 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
33500 elf_machine_lazy_rel): Likewise.
33501 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
33502 dl_hwcap via passed in argument.
33503 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
33504 Likewise.
33505
5a31b283
AK
335062011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
33507
33508 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
33509
069e52f8
RM
335102011-06-06 Roland McGrath <roland@hack.frob.com>
33511
33512 [BZ #12849]
33513 * manual/fdl-1.1.texi: New file, verbatim from:
33514 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
33515 * manual/lgpl-2.1.texi: New file, verbatim from:
33516 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
33517 * manual/Makefile (licenses): New variable, list those new file names.
33518 (texis): Use it.
33519 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
33520
33521 * manual/fdl.texi: File removed.
33522 * manual/lesser.texi: File removed.
33523 * manual/libc.texinfo (Copying, Documentation License):
33524 Use new @include file names, put @appendix directive before @include.
33525
f16846a5
JJ
335262011-06-04 Jakub Jelinek <jakub@redhat.com>
33527
33528 [BZ #12841]
33529 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
33530 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
33531 (mq_open): Add __NTH.
33532
3d29045b
L
335332011-06-02 H.J. Lu <hongjiu.lu@intel.com>
33534
33535 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33536 Assume Intel Core i3/i5/i7 processor if AVX is available.
33537
8c297311
UD
335382011-05-31 Ulrich Drepper <drepper@gmail.com>
33539
33540 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33541 typo.
33542
c8fc0c91
UD
335432011-05-31 Andreas Schwab <schwab@redhat.com>
33544
33545 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
33546 memory. Use alloca_account. Fix memory leak when retrying.
33547
5b27a807
UD
335482011-05-31 Ulrich Drepper <drepper@gmail.com>
33549
356f8bc6
UD
33550 * version.h (RELEASE): Bump for 2.14 release.
33551 * include/features.h (__GLIBC_MINOR__): Bump to 14.
33552
5b27a807
UD
33553 * config.make.in (RANLIB): Remove entry.
33554
01f16ab0
UD
335552011-05-30 Ulrich Drepper <drepper@gmail.com>
33556
41fce8bd
UD
33557 * po/Makefile (po-sed-cmd): Add ksh to extensions.
33558 (libc.pot): Work around missing support for .ksh extension in xgettext.
33559
4769ae77
UD
33560 [BZ #12684]
33561 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
33562 if both request failed.
33563 (send_dg): In case of server errors clear resplen or *resplen2.
33564
6b1e7d19
UD
33565 [BZ #12454]
33566 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
33567 when there are multiple maps.
33568 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
33569 (_dl_fini): Remove test here.
33570
01f16ab0
UD
33571 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
33572
b1ebd700
UD
335732011-05-29 Ulrich Drepper <drepper@gmail.com>
33574
7ae22829
UD
33575 [BZ #12350]
33576 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
33577 bit from old_res_options.
33578 (gaih_inet): Likewise.
33579
553149f6 33580 [BZ #11099]
18a84741 33581 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
33582 as signed.
33583
652ffab1
UD
33584 * resolv/res_init.c (res_setoptions): Make the code more compact.
33585
16985fd0
UD
33586 [BZ #11558]
33587 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
33588 set RES_USEVC.
33589
0464f746
UD
33590 [BZ #11634]
33591 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
33592
7d17596c
UD
33593 * malloc/malloc.h: Mark malloc hook variables as deprecated.
33594
cf6bbbd7
UD
33595 [BZ #11781]
33596 * malloc/malloc.h: Declare malloc hook variables as volatile.
33597
13f1ab36
UD
33598 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
33599 in last patch.
33600
b1ebd700
UD
33601 [BZ #11799]
33602 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 33603 raise in the comment.
80e2212d
UD
33604 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
33605 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
33606 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 33607
ce67228d
UD
336082011-05-28 Ulrich Drepper <drepper@gmail.com>
33609
8887a920
UD
33610 [BZ #12811]
33611 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
33612 grow the buffers more if it already has to be sufficient.
33613 (build_wcs_upper_buffer): Likewise.
33614 * posix/regexec.c (check_matching): Likewise.
33615 (clean_state_log_if_needed): Likewise.
33616 (extend_buffers): Don't enlarge buffers beyond size of the input
33617 buffer.
33618 Patches mostly by Emil Wojak <emil@wojak.eu>.
33619 * posix/bug-regex32.c: New file.
33620 * posix/Makefile (tests): Add bug-regex32.
33621
4f031072
UD
33622 * locale/findlocale.c (_nl_find_locale): Return right away if
33623 _nl_explode_name failed.
33624 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
33625
d0478f0c
UD
33626 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
33627
de81b246
UD
33628 * debug/xtrace.sh: Unify messages.
33629 * malloc/memusage.sh: Likewise.
33630
c738465a
UD
33631 [BZ #12813]
33632 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
33633 time symbol from vDSO. Substitute with vsyscall if not available.
33634 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
33635 __vdso_time.
33636
f1f929d7
UD
33637 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
33638 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
33639 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
33640 Add sendmmsg and internal_sendmmsg.
33641 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
33642 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
33643 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
33644
ce67228d
UD
33645 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
33646 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
33647 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
33648
e57420c6
UD
336492011-05-27 Ulrich Drepper <drepper@gmail.com>
33650
a8509ca5
UD
33651 [BZ #12813]
33652 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
33653 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
33654 available.
33655 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
33656 __vdso_getcpu.
33657
e57420c6
UD
33658 [BZ #12814]
33659 * iconvdata/Makefile (tests): Add bug-iconv9.
33660 * iconvdata/bug-iconv9.c: New file.
33661
4d07db15
AS
336622011-05-27 Andreas Schwab <schwab@redhat.com>
33663
33664 [BZ #12814]
33665 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
33666
ea486f69
JJ
336672011-05-25 Jakub Jelinek <jakub@redhat.com>
33668
33669 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33670 (struct user_regs_struct): Change intcs field back to cs.
33671
6f038433
UD
336722011-05-25 Ulrich Drepper <drepper@gmail.com>
33673
33674 * po/ja.po: Update from translation team.
33675
67f86a25
UD
336762011-05-23 Ulrich Drepper <drepper@gmail.com>
33677
33678 [BZ #12795]
33679 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
33680 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
33681
def7fbd6
AS
336822011-05-20 Andreas Schwab <schwab@redhat.com>
33683
33684 * stdlib/longlong.h: Update from GCC.
33685
f50ef8f1
AS
336862011-05-23 Andreas Schwab <schwab@redhat.com>
33687
33688 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
33689 parameter name.
33690 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
33691 Add parameter name.
33692 (__sysconf): Pass it down.
33693
de7ce8f1
UD
336942011-05-22 Ulrich Drepper <drepper@gmail.com>
33695
f2962a71
UD
33696 [BZ #12671]
33697 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
33698 some situations.
33699 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
33700 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
33701 add in in __libc_use_alloca calls. Adjust callers.
33702 (glob): Use malloc in some situations.
33703
de7ce8f1
UD
33704 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
33705 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
33706 pltexit.
33707
aec84f53
UD
337082011-05-21 Ulrich Drepper <drepper@gmail.com>
33709
05bb4a68
UD
33710 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
33711 and CLOCK_BOOTTIME_ALARM.
33712
7ea72f99
UD
33713 [BZ #12782]
33714 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
33715 is returned.
33716
7e4afad5
UD
33717 * string/_strerror.c (__strerror_r): Print negative errors as signed
33718 numbers.
33719
8e211fec
UD
33720 [BZ #12777]
33721 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
33722 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
33723 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
33724
f7d82dc9
UD
33725 * configure.in: Fix typo in redirection and correct removal of test
33726 files in two cases.
33727
cc9e536d
UD
33728 [BZ #12788]
33729 * locale/setlocale.c (new_composite_name): Fix test to check for
33730 identical name of all categories.
33731
aec84f53
UD
33732 [BZ #12792]
33733 * libio/filedoalloc.c (local_isatty): New function.
33734 (_IO_file_doallocate): Use local_isatty.
33735 * stdio-common/perror.c (perror): In case a new stream is used
33736 forward the stream error.
33737 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
33738 error flag.
33739
78e64fdc
RT
337402011-05-20 Ulrich Drepper <drepper@gmail.com>
33741
34a9094f
UD
33742 [BZ #11869]
33743 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
33744 alloca.
33745 * include/alloca.h (extend_alloca_account): Define.
33746
78e64fdc
RT
33747 [BZ #11857]
33748 * posix/regex.h: Fix comments with documentation of user-accessible
33749 fields after compilation and describe correct free'ing of pattern
33750 after re_compile_pattern.
33751 Patch by Reuben Thomas <rrt@sc3d.org>.
33752
457bddfc
RA
337532011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
33754
33755 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
33756 and -mno-altivec to prevent the compiler from using Altivec and/or
33757 VSX instructions when the corresponding registers are not available.
33758
a4527b51
AS
337592011-05-19 Andreas Schwab <schwab@redhat.com>
33760
33761 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
33762
ed690b2f
UD
337632011-05-19 Ulrich Drepper <drepper@gmail.com>
33764
33765 * libio/freopen.c (freopen): Use __dup2, not dup2.
33766 * libio/freopen64.c (freopen64): Likewise.
33767
8db73634
L
337682011-05-17 H.J. Lu <hongjiu.lu@intel.com>
33769
33770 [BZ #12775]
33771 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
33772 * math/Makefile (tests): Add test-powl.
33773 (CFLAGS-test-powl.c): Define.
33774 * math/test-powl.c: New file.
33775
0a197a9d
L
337762011-05-16 H.J. Lu <hongjiu.lu@intel.com>
33777
33778 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
33779
ee30c380
UD
337802011-05-17 Ulrich Drepper <drepper@gmail.com>
33781
33782 [BZ #11837]
33783 * iconvdata/gb18030.c: Update to GB18020-2005.
33784
6ce75379
UD
337852011-05-16 Ulrich Drepper <drepper@gmail.com>
33786
a4b89fd8
AR
33787 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
33788 RE_SYNTAX_POSIX_AWK): Update to match recent development.
33789 Patch by Aharon Robbins <arnold@skeeve.com>.
33790
ea389b12
UD
33791 [BZ #11892]
33792 * stdlib/putenv.c (putenv): Don't always create copy of the variable
33793 on the stack.
33794
68a3f91f
UD
33795 [BZ #11895]
33796 * misc/pselect.c (__pselect): Handle timeout value errors hidden
33797 through underflows.
33798
15cc7dd1
UD
33799 [BZ #12766]
33800 * misc/error.c (error_at_line): Ensure file_name and old_file_name
33801 point to strings before performing equality test for error_one_per_line
33802 mode.
33803
f3799213
UD
33804 [BZ #11697]
33805 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
33806
d79a9c94
UD
33807 [BZ #11820]
33808 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
33809 (struct user_fpregs_struct): Avoid __uint*_t types.
33810
56e5eb46
UD
33811 [BZ #6420]
33812 * malloc/mtrace.c (tr_where): Add additional parameter to point to
33813 symbol info. Use it instead of calling _dl_addr locally.
33814 (lock_and_info): New function.
33815 (tr_freehook): Call lock_and_info and pass symbol info as additional
33816 parameter to tr_where.
33817 (tr_mallochook): Likewise.
33818 (tr_reallochook): Likewise.
33819 (tr_memalignhook): Likewise.
33820
6ce75379
UD
33821 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
33822 used and couldn't be at all thread-safe.
33823
f8a3b5bf
UD
338242011-05-15 Ulrich Drepper <drepper@gmail.com>
33825
94b7cc37
UD
33826 * libio/freopen.c (freopen): Don't close old file descriptor
33827 before the new one is opened. Instead dup the new file descriptor
33828 to the old one after the new stream is created.
33829 * libio/freopen64.c (freopen64): Likewise.
33830 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
33831 * libio/fileops.c (_IO_new_file_close_it): Handle new
33832 _IO_FLAGS2_NOCLOSE flag.
33833 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
33834 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
33835 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
33836 _IO_FLAGS2_NOCLOSE flag.
33837 * include/unistd.h: Add hidden_proto for dup3.
33838 Define __have_dup3.
33839 * io/dup3.c: Define hidden symbol.
33840 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
33841
bd25564e
UD
33842 [BZ #7101]
33843 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
33844 when an incomplete long option is used.
33845 * posix/tst-getopt_long1.c: New file.
33846 * posix/Makefile (tests): Add tst-getopt_long1.
33847
c84cfef4
UD
33848 [BZ #10138]
33849 * scripts/config.guess: Update from autoconf-2.68.
33850 * scripts/config.sub: Likewise.
33851
3b85df27
UD
33852 [BZ #10157]
33853 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
33854 tests into ...
33855 (has_cpuclock): ...this. New function.
33856 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
33857 macro here based on has_cpuclock code.
33858
15a856b1
UD
33859 [BZ #10149]
33860 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33861 First byte (not low byte) is now always NUL.
33862 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
33863
05f399e6
UD
33864 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33865 Use non-cancelable interfaces.
33866
10a52685 33867 [BZ #9809]
94ecc67d
UD
33868 * locale/iso-639.def: Add entry for Sorani.
33869
f8a3b5bf
UD
33870 [BZ #11901]
33871 * include/stdlib.h: Move include protection to the right place.
33872 Define abort_msg_s. Declare __abort_msg with it.
33873 * stdlib/abort.c (__abort_msg): Adjust type.
33874 * assert/assert.c (__assert_fail_base): New function. Majority
33875 of code from __assert_fail. Allocate memory for __abort_msg with
33876 mmap.
33877 (__assert_fail): Now call __assert_fail_base.
33878 * assert/assert-perr.c: Remove bulk of implementation. Use
33879 __assert_fail_base.
33880 * include/assert.hL Declare __assert_fail_base.
33881 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
33882 mmap.
33883 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
33884
1af4e298
UD
338852011-05-14 Ulrich Drepper <drepper@gmail.com>
33886
f8a3b5bf 33887 [BZ #11952]
d26dfc60
MG
33888 [BZ #12453]
33889 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
33890 until all modules are registered in the DTV.
33891 * elf/Makefile: Add rules to build and run tst-tls19.
33892 * elf/tst-tls19.c: New file.
33893 * elf/tst-tls19mod1.c: New file.
33894 * elf/tst-tls19mod2.c: New file.
33895 * elf/tst-tls19mod3.c: New file.
33896 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
33897
2fc54d6f
UD
33898 [BZ #12083]
33899 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
33900 correctly.
33901
98d76b46
UD
33902 [BZ #12601]
33903 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
33904 two-byte sequence errors.
33905 * iconvdata/Makefile (tests): Add bug-iconv8.
33906 * iconvdata/bug-iconv8.c: New file.
33907
da3c19ef
UD
33908 [BZ #12626]
33909 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
33910 buf2 definition.
33911
ca408c15
UD
33912 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
33913
d6f67f7d
UD
33914 [BZ #12432]
33915 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
33916 (dummy_getcfa): New function.
33917 (init): Get _Unwind_GetCFA address, use dummy if not found.
33918 (backtrace_helper): In recursion check, also check whether CFA changes.
33919 (__backtrace): Completely initialize arg.
33920
1af4e298 33921 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
33922 storing incomplete byte sequence in state object. Avoid testing for
33923 guaranteed too small input if we know there is enough data available.
1af4e298 33924
da62f81b
AS
339252011-05-11 Andreas Schwab <schwab@redhat.com>
33926
33927 * Makeconfig (+link-pie): Indent.
33928 * Rules (binaries-pie): Define if $(have-fpie) and
33929 $(build-shared).
33930 (binaries-shared): Also filter out $(binaries-pie).
33931 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
33932 * nscd/Makefile (others-pie): Add nscd.
33933 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
33934 ($(objpfx)nscd): Remove command override.
33935 * login/Makefile (others-pie): Add pt_chown.
33936 ($(objpfx)pt_chown): Remove command override.
33937 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
33938 remove command overrides.
33939
fcabc0f8
UD
339402011-05-13 Ulrich Drepper <drepper@gmail.com>
33941
20030ae6
UD
33942 * libio/tst_putwc.c: Fix error messages.
33943
fcabc0f8
UD
33944 [BZ #12724]
33945 * libio/fileops.c (_IO_new_file_close_it): Always flush when
33946 currently writing and seek to current position when not.
33947 * libio/Makefile (tests): Add bug-fclose1.
33948 * libio/bug-fclose1.c: New file.
33949
320a5dc0
PB
339502011-05-12 Ulrich Drepper <drepper@gmail.com>
33951
33952 [BZ #12511]
33953 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
33954 don't set DF_1_NODELETE here.
33955 (do_lookup_x): When entering new entry test for copy relocation
33956 and if necessary set DF_1_NODELETE flag.
33957 * elf/tst-unique4.cc: New file.
33958 * elf/tst-unique4.h: New file.
33959 * elf/tst-unique4lib.cc: New file.
33960 * elf/Makefile: Add rules to build and run tst-unique4.
33961 Patch by Piotr Bury <pbury@goahead.com>.
33962
22836f52
UD
339632011-05-11 Ulrich Drepper <drepper@gmail.com>
33964
f574184a
UD
33965 [BZ #12052]
33966 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
33967
e1fb097f
UD
33968 [BZ #12625]
33969 * misc/mntent_r.c (addmntent): Flush the stream after the output
33970
22836f52
UD
33971 [BZ #12393]
33972 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
33973 (is_trusted_path_normalize): Skip initial colon. Append slash
33974 to empty buffer. Duplicate is_trusted_path code but allow
33975 constructed patch to be prefix.
33976 (is_dst): Allow $ORIGIN followed by /.
33977 (_dl_dst_substitute): Correct clearing of check_for_trusted.
33978 Correct testing of result of is_trusted_path_normalize
33979 (decompose_rpath): Fix warning.
33980
7b3b0b2a
UD
339812011-05-10 Ulrich Drepper <drepper@gmail.com>
33982
33983 [BZ #11257]
33984 * grp/initgroups.c (internal_getgrouplist): When we found the service
33985 list through the initgroups entry in nsswitch.conf do not always
33986 continue on a successful lookup. Don't always use the
eac80ce2 33987 __nss_group_database value if it is set.
7b3b0b2a
UD
33988 * nss/nsswitch.conf (initgroups): Change action for successful db
33989 lookup to continue for compatibility.
33990
2a81eaa5
UD
339912011-05-09 Ulrich Drepper <drepper@gmail.com>
33992
be97a69e
UD
33993 [BZ #11532]
33994 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
33995 and CP774 modules.
33996 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
33997 and CP774 modules.
33998 * iconvdata/tst-tables.sh: Likewise.
33999 * iconvdata/cp770.c: New file.
34000 * iconvdata/cp771.c: New file.
34001 * iconvdata/cp772.c: New file.
34002 * iconvdata/cp773.c: New file.
34003 * iconvdata/cp774.c: New file.
34004 * iconvdata/testdata/CP770: New file.
34005 * iconvdata/testdata/CP770..UTF8: New file.
34006 * iconvdata/testdata/CP771: New file.
34007 * iconvdata/testdata/CP771..UTF8: New file.
34008 * iconvdata/testdata/CP772: New file.
34009 * iconvdata/testdata/CP772..UTF8: New file.
34010 * iconvdata/testdata/CP773: New file.
34011 * iconvdata/testdata/CP773..UTF8: New file.
34012 * iconvdata/testdata/CP774: New file.
34013 * iconvdata/testdata/CP774..UTF8: New file.
34014
34015 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34016 END CHARMAP line.
34017 * iconvdata/gen-8bit-gap.sh: Likewise.
34018 * iconvdata/gen-8bit.sh: Likewise.
34019
c1e9e399
UD
34020 * locale/iso-639.def: Add ary entry.
34021
24c55fb3 34022 [BZ #11258]
96b4b1b0
UD
34023 * locale/C-translit.h.in: Add U20A1 transliteration.
34024
bdc2f971
KB
34025 [BZ #12178]
34026 * locale/iso-639.def: Add wae entry.
34027 Patch by Kevin Bortis <bortis@translate-wae.ch>.
34028
2952b117
UD
34029 [BZ #12545]
34030 * locale/programs/localedef.c (construct_output_path): Use ssize_t
34031 for n.
34032
2a81eaa5
UD
34033 [BZ #12711]
34034 * locale/C-translit.h.in: Add entry for U20B9.
34035 Patch by pravin.d.s@gmail.com.
34036
28377d1b
UD
340372011-05-08 Ulrich Drepper <drepper@gmail.com>
34038
7fb90fb8
UD
34039 [BZ #12713]
34040 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34041 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
34042 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
34043 in rtld. Use *stat64.
7fb90fb8 34044 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 34045 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 34046 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
34047 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34048 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34049 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34050 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34051 __fstatat64 macros.
7fb90fb8
UD
34052 * include/dirent.h: Add libc_hidden_proto for rewinddir.
34053 * dirent/rewinddir.c: Add libc_hidden_def.
34054 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 34055 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 34056
28377d1b
UD
34057 * include/dirent.h (__alloc_dir): Add flags parameter.
34058 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34059 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34060 __alloc_dir.
34061 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
34062 from fdopendir if O_CLOEXEC is already set.
34063
66bdbaa4
AM
340642011-03-15 Alan Modra <amodra@gmail.com>
34065
34066 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34067 l_tls_firstbyte_offset non-zero. Save padding offset in
34068 l_tls_firstbyte_offset for later use.
34069 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34070 freeing static tls block.
34071
95721191
JN
340722011-03-05 Jonathan Nieder <jrnieder@gmail.com>
34073
34074 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34075 where #ifdef was intended. The intent is to prevent ARG_MAX from
34076 being defined by the kernel headers.
34077
f87dfb1f
UD
340782011-05-07 Ulrich Drepper <drepper@gmail.com>
34079
34080 [BZ #12734]
34081 * resolv/resolv.h: Define RES_NOTLDQUERY.
34082 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34083 no-tld-query and set RES_NOTLDQUERY.
34084 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34085 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34086 modern BIND to search name as TLD unless forbidden.
34087
47c3cd7a
UD
340882011-05-07 Petr Baudis <pasky@suse.cz>
34089 Ulrich Drepper <drepper@gmail.com>
34090
34091 [BZ #12393]
34092 * elf/dl-load.c (fillin_rpath): Move trusted path check...
34093 (is_trusted_path): ...to here.
c1e9ea35 34094 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 34095 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 34096 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 34097
8a35c912
PP
340982011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
34099
34100 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34101 __BEGIN/__END_DECLS.
34102
acd41f47
UD
341032011-05-06 Ulrich Drepper <drepper@gmail.com>
34104
34105 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34106 NSS_STATUS_NOTFOUND if no record was found.
34107
597df647
AS
341082011-05-05 Andreas Schwab <schwab@redhat.com>
34109
34110 * sunrpc/Makefile (headers): Add rpc/netdb.h.
34111 (headers-not-in-tirpc): Remove rpc/netdb.h
34112 * resolv/netdb.h: Revert last change.
34113
b9af1301
PP
341142011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
34115
34116 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34117 circular dependency between libgcc.a and libc.a.
34118
4e34d5f5
AS
341192011-05-05 Andreas Schwab <schwab@redhat.com>
34120
34121 * resolv/netdb.h: Don't include <rpc/netdb.h>.
34122 * nis/Makefile: Don't install rpcsvc/*.
34123 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34124 instead of <rpc/types.h>.
34125 (MAXHOSTNAMELEN): Define.
34126
00ee369c
AS
341272011-05-03 Andreas Schwab <schwab@redhat.com>
34128
34129 * elf/ldconfig.c (add_dir): Don't crash on empty path.
34130
0b592a30
MB
341312011-04-28 Maciej Babinski <mbabinski@google.com>
34132
34133 [BZ #12714]
34134 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34135 gethostbyname4_r when IPv6 results are possible.
34136
6e04cbbe
UD
341372011-05-02 Ulrich Drepper <drepper@gmail.com>
34138
34139 [BZ #12723]
34140 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34141 _PC_PIPE_BUF handling.
34142
e4ecafe0
BH
341432011-04-30 Bruno Haible <bruno@clisp.org>
34144
34145 [BZ #12717]
34146 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34147 * resolv/netdb.h (getnameinfo): Change type of flags parameter
34148 to 'int'.
34149 * inet/getnameinfo.c (getnameinfo): Likewise.
34150
125ee683
UD
341512011-04-29 Ulrich Drepper <drepper@gmail.com>
34152
34153 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34154 to groups setting in database lookup.
34155 * nss/nsswitch.conf: Add initgroups entry.
34156
b722481a
EB
341572011-04-22 Ulrich Drepper <drepper@gmail.com>
34158
34159 [BZ #12685]
34160 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34161 mode string.
34162 Patch by Eric Blake <eblake@redhat.com>.
34163
4df46dbd
L
341642011-04-20 H.J. Lu <hongjiu.lu@intel.com>
34165
34166 * sunrpc/Makefile (need-export-routines): Add svc_run.
34167 (routines): Remove svc_run.
34168 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34169 * sunrpc/clnt_perr.c (clnt_perrno): Export.
34170 * sunrpc/svc_run.c (svc_run): Likewise.
34171 * sunrpc/svc_udp.c (svcudp_create): Likewise.
34172
e84142d2
UD
341732011-04-21 Ulrich Drepper <drepper@gmail.com>
34174
34175 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34176 problem in reallocation in last patch.
34177
877175d8
UD
341782011-04-20 Ulrich Drepper <drepper@gmail.com>
34179
34180 * sunrpc/Makefile: Move inclusion of Rules.
34181
ab8eed78
UD
341822011-04-19 Ulrich Drepper <drepper@gmail.com>
34183
34184 * nss/nss_files/files-initgroups.c: New file.
34185 * nss/Makefile (libnss_files-routines): Add files-initgroups.
34186 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34187 _nss_files_initgroups_dyn.
34188
e3d8f584
RS
341892011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
34190
34191 * elf/elf.h (R_ARM_IRELATIVE): Define.
34192
af190f45
UD
341932011-04-19 Ulrich Drepper <drepper@gmail.com>
34194
34195 * po/ru.po: Update from translation team.
34196
53cf59ef
UD
341972011-04-17 Ulrich Drepper <drepper@gmail.com>
34198
34199 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34200 dependencies.
34201
4c559bcd
MF
342022011-02-06 Mike Frysinger <vapier@gentoo.org>
34203
34204 [BZ #12653]
34205 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34206 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34207 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34208 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34209 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34210
4420675c
AS
342112011-03-28 Andreas Schwab <schwab@linux-m68k.org>
34212
34213 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34214 differing bytes.
34215 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34216 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34217 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34218
75ea32ab
UD
342192011-04-17 Ulrich Drepper <drepper@gmail.com>
34220
34221 [BZ #12420]
34222 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34223 storing it.
34224 * stdlib/bug-getcontext.c: New file.
34225 * stdlib/Makefile: Add rules to build and run bug-getcontext.
34226
27390476
AK
342272011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34228
34229 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34230 instructions into .machine "z9-109".
34231 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34232 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34233
10442705
AK
342342011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
34235
34236 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34237 between environment variables and auxiliary vector.
34238
7b57bfe5
UD
342392011-04-16 Ulrich Drepper <drepper@gmail.com>
34240
34241 * Makefile: Add rules to build linkobj/libc.so.
34242 * include/libc-symbols.h: Define libc_hidden_nolink.
34243 * include/rpc/auth.h: Mark functions which are to be hidden.
34244 * include/rpc/auth_des.h: Likewise.
34245 * include/rpc/auth_unix.h: Likewise.
34246 * include/rpc/clnt.h: Likewise.
34247 * include/rpc/des_crypt.h: Likewise.
34248 * include/rpc/key_prot.h: Likewise.
34249 * include/rpc/pmap_clnt.h: Likewise.
34250 * include/rpc/pmap_prot.h: Likewise.
34251 * include/rpc/pmap_rmt.h: Likewise.
34252 * include/rpc/rpc_msg.h: Likewise.
34253 * include/rpc/svc.h: Likewise.
34254 * include/rpc/svc_auth.h: Likewise.
34255 * include/rpc/xdr.h: Likewise.
34256 * nis/Makefile: Link all DSOs against linkobj/libc.so.
34257 * nss/Makefile: Likewise.
34258 * sunrpc/Makefile: Don't install headers. Build library with normal
34259 entry points. Don't build rpcinfo. Link RPC tests appropriately.
34260 * sunrpc/auth_des.c: Hide exported symbols by default, export some
34261 for the compat linking library. Remove use of INTDEF/INTUSE.
34262 * sunrpc/auth_none.c: Likewise.
34263 * sunrpc/auth_unix.c: Likewise.
34264 * sunrpc/authdes_prot.c: Likewise.
34265 * sunrpc/authuxprot.c: Likewise.
34266 * sunrpc/clnt_gen.c: Likewise.
34267 * sunrpc/clnt_perr.c: Likewise.
34268 * sunrpc/clnt_raw.c: Likewise.
34269 * sunrpc/clnt_simp.c: Likewise.
34270 * sunrpc/clnt_tcp.c: Likewise.
34271 * sunrpc/clnt_udp.c: Likewise.
34272 * sunrpc/clnt_unix.c: Likewise.
34273 * sunrpc/des_crypt.c: Likewise.
34274 * sunrpc/des_soft.c: Likewise.
34275 * sunrpc/get_myaddr.c: Likewise.
34276 * sunrpc/key_call.c: Likewise.
34277 * sunrpc/key_prot.c: Likewise.
34278 * sunrpc/netname.c: Likewise.
34279 * sunrpc/pm_getmaps.c: Likewise.
34280 * sunrpc/pm_getport.c: Likewise.
34281 * sunrpc/pmap_clnt.c: Likewise.
34282 * sunrpc/pmap_prot.c: Likewise.
34283 * sunrpc/pmap_prot2.c: Likewise.
34284 * sunrpc/pmap_rmt.c: Likewise.
34285 * sunrpc/publickey.c: Likewise.
34286 * sunrpc/rpc_cmsg.c: Likewise.
34287 * sunrpc/rpc_common.c: Likewise.
34288 * sunrpc/rpc_dtable.c: Likewise.
34289 * sunrpc/rpc_prot.c: Likewise.
34290 * sunrpc/rpc_thread.c: Likewise.
34291 * sunrpc/rtime.c: Likewise.
34292 * sunrpc/svc.c: Likewise.
34293 * sunrpc/svc_auth.c: Likewise.
34294 * sunrpc/svc_authux.c: Likewise.
34295 * sunrpc/svc_raw.c: Likewise.
34296 * sunrpc/svc_run.c: Likewise.
34297 * sunrpc/svc_simple.c: Likewise.
34298 * sunrpc/svc_tcp.c: Likewise.
34299 * sunrpc/svc_udp.c: Likewise.
34300 * sunrpc/svc_unix.c: Likewise.
34301 * sunrpc/svcauth_des.c: Likewise.
34302 * sunrpc/xcrypt.c: Likewise.
34303 * sunrpc/xdr.c: Likewise.
34304 * sunrpc/xdr_array.c: Likewise.
34305 * sunrpc/xdr_float.c: Likewise.
34306 * sunrpc/xdr_intXX_t.c: Likewise.
34307 * sunrpc/xdr_mem.c: Likewise.
34308 * sunrpc/xdr_rec.c: Likewise.
34309 * sunrpc/xdr_ref.c: Likewise.
34310 * sunrpc/xdr_sizeof.c: Likewise.
34311 * sunrpc/xdr_stdio.c: Likewise.
34312
e6c61494
UD
343132011-04-10 Ulrich Drepper <drepper@gmail.com>
34314
34315 [BZ #12650]
34316 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34317 * sysdeps/ia64/dl-tls.h: Likewise.
34318 * sysdeps/powerpc/dl-tls.h: Likewise.
34319 * sysdeps/s390/dl-tls.h: Likewise.
34320 * sysdeps/sh/dl-tls.h: Likewise.
34321 * sysdeps/sparc/dl-tls.h: Likewise.
34322 * sysdeps/x86_64/dl-tls.h: Likewise.
34323 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34324
34fe483e
AS
343252011-03-14 Andreas Schwab <schwab@redhat.com>
34326
34327 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34328 rpath element also skip the following colon.
34329 (expand_dynamic_string_token): Add is_path parameter and pass
34330 down to DL_DST_REQUIRED and _dl_dst_substitute.
34331 (decompose_rpath): Call expand_dynamic_string_token with
34332 non-zero is_path. Ignore empty rpaths.
34333 (_dl_map_object_from_fd): Call expand_dynamic_string_token
34334 with zero is_path.
34335
f12a32e6
AS
343362011-04-08 Andreas Schwab <schwab@linux-m68k.org>
34337
34338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34339 Make cancelable.
34340
38a7d692
UD
343412011-04-09 Ulrich Drepper <drepper@gmail.com>
34342
34343 [BZ #12655]
34344 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34345 Patch by Filipe David Manana <fdmanana@apache.org>.
34346
e451d22b
AS
343472011-04-07 Andreas Schwab <schwab@redhat.com>
34348
34349 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34350 Maintain aligned stack.
34351 (CHECK_RSP): Remove unused macro.
34352
dedc7c7b
UD
343532011-04-03 Ulrich Drepper <drepper@gmail.com>
34354
34355 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34356 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34357
94521213
UD
343582011-04-02 Ulrich Drepper <drepper@gmail.com>
34359
34360 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34361
8cb700c0 34362 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 34363
0354e355
L
343642011-03-26 H.J. Lu <hongjiu.lu@intel.com>
34365
34366 [BZ #12518]
34367 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34368 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34369 * sysdeps/x86_64/memmove.c: New file.
34370 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34371 (memcpy): Renamed to ...
34372 (__new_memcpy): This.
34373 (memcpy): Provide GLIBC_2_14 memcpy.
34374 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34375 (memcpy): Provide GLIBC_2_2_5 memcpy.
34376
8593482f
UD
343772011-04-01 Ulrich Drepper <drepper@gmail.com>
34378
34379 [BZ #12631]
34380 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34381
81a5726b
AS
343822011-03-30 Andreas Schwab <schwab@redhat.com>
34383
34384 * misc/syncfs.c: New file.
34385 * misc/Makefile (routines): Add syncfs.
34386 * posix/unistd.h: Declare syncfs.
34387 * sysdeps/unix/syscalls.list: Add syncfs.
34388
00e5419f
AS
343892011-04-01 Andreas Schwab <schwab@redhat.com>
34390
34391 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
34392 open_by_handle_at.
34393 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
34394 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34395 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34396 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34397 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34398 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
34399 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34400
748876bf
UD
344012011-04-01 Ulrich Drepper <drepper@gmail.com>
34402
658e451d
UD
34403 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
34404 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34405 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
34406 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34407 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34408 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34409 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34410
748876bf
UD
34411 * io/Makefile: Compile fallocate.c, fallocate64.c, and
34412 sync_file_range.c with -fexceptions.
34413 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
34414 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
34415 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34416 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34417 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
34418 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
34419 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
34420 sync_file_range as cancellation point
34421 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
34422 now a wrapper around __call_sync_file_range with cancellation handling.
34423 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
34424 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
34425 function name to __call_sync_file_range.
34426 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
34427 Add call_sync_file_range.
748876bf 34428
6e63d5e1
AS
344292011-04-01 Andreas Schwab <schwab@redhat.com>
34430
34431 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 34432 bits/timex.h.
6e63d5e1 34433
46998f74
UD
344342011-04-01 Ulrich Drepper <drepper@gmail.com>
34435
4c1423ed
UD
34436 * iconv/iconv.h: Fix typo in comment.
34437 * io/fcntl.h: Likewise.
34438 * libio/stdio.h: Likewise.
34439 * posix/spawn.h: Likewise.
34440 * posix/unistd.h: Likewise.
34441 * stdlib/stdlib.h: Likewise.
34442 * time/time.h: Likewise.
34443 * wcsmbs/wchar.h: Likewise.
34444
158648c0
UD
34445 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
34446 open_by_handle): Add.
34447 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
34448 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
34449 Augment a few comments.
34450 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
34451 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34452 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
34453 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34454 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
34455 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
34456 open_by_handle.
34457
46998f74
UD
34458 * io/fcntl.h (AT_EMPTY_PATH): Define.
34459
83fe108b
UD
344602011-03-30 Ulrich Drepper <drepper@gmail.com>
34461
34462 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
34463 * sysdeps/unix/sysv/linux/bits/time.h: New file.
34464 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
34465 to...
34466 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
34467 * Versions.def: Add GLIBC_2.14.
34468 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
34469 Export.
83fe108b 34470
bb242059
UD
344712011-03-22 Ulrich Drepper <drepper@gmail.com>
34472
34473 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
34474 round counter.
34475 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34476
c97a1282
L
344772011-03-20 H.J. Lu <hongjiu.lu@intel.com>
34478
34479 [BZ #12597]
34480 * string/test-strncmp.c (do_page_test): New function.
34481 (check2): Likewise.
34482 (test_main): Call check2.
34483 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
34484
2a115601
UD
344852011-03-20 Ulrich Drepper <drepper@gmail.com>
34486
34487 [BZ #12587]
34488 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
34489 Handle cache information in CPU leaf 4.
34490 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
34491
8126d904
UD
344922011-03-18 Ulrich Drepper <drepper@gmail.com>
34493
042c49c6 34494 [BZ #12583]
8126d904
UD
34495 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
34496 character representation.
34497 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
34498
ccfe366e
RA
344992011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
34500
34501 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
34502 END(__isnan) to END(__isnanf) to match function entry point/label
34503 EALIGN(__isnanf,...).
34504
c6e13027
JJ
345052011-03-10 Jakub Jelinek <jakub@redhat.com>
34506
34507 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
34508
33f85a3f
UD
345092011-03-10 Ulrich Drepper <drepper@gmail.com>
34510
028478fa
UD
34511 [BZ #12510]
34512 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
34513 copy from the symbol referenced in the relocation to initialize the
34514 used variable.
34515 Patch by Piotr Bury <pbury@goahead.com>.
34516 * elf/Makefile: Add rules to build and tst-unique3.
34517 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
34518 * elf/tst-unique3.cc: New file.
34519 * elf/tst-unique3.h: New file.
34520 * elf/tst-unique3lib.cc: New file.
34521 * elf/tst-unique3lib2.cc: New file.
34522
33f85a3f
UD
34523 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
34524
03592fc7
MF
345252011-03-10 Mike Frysinger <vapier@gentoo.org>
34526
34527 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
34528 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
34529 to _start.
03592fc7 34530
6a5ee102
UD
345312011-03-06 Ulrich Drepper <drepper@gmail.com>
34532
34533 * elf/dl-load.c (_dl_map_object): If we are looking for the first
34534 to-be-loaded object along a path to loader is ld.so.
34535
7e4ba49c
HJ
345362011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34537 Ulrich Drepper <drepper@gmail.com>
34538
34539 * sysdeps/x86_64/memset.S: After aligning destination, code
34540 branches to different locations depending on the value of
34541 misalignment, when multiarch is enabled. Fix this.
34542
345432011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
34544
34545 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
34546 Set _x86_64_preferred_memory_instruction for AMD processsors.
34547 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34548 Set bit_Prefer_SSE_for_memop for AMD processors.
34549
13a804de
UD
345502011-03-04 Ulrich Drepper <drepper@gmail.com>
34551
34552 * libio/fmemopen.c (fmemopen): Optimize a bit.
34553
9d25c392
AS
345542011-03-03 Andreas Schwab <schwab@redhat.com>
34555
34556 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
34557
a5543c6a
RM
345582011-03-03 Roland McGrath <roland@redhat.com>
34559
34560 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
34561
012d35f7
DM
345622011-02-28 Aurelien Jarno <aurelien@aurel32.net>
34563
7e4ba49c 34564 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
34565 __bzero_ultra1 instead of __memset_ultra1.
34566
4bff6e01
AS
345672011-02-23 Andreas Schwab <schwab@redhat.com>
34568 Ulrich Drepper <drepper@gmail.com>
34569
34570 [BZ #12509]
34571 * include/link.h (struct link_map): Add l_orig_initfini.
34572 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
34573 returning unsuccessfully.
34574 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
34575 close of a file loaded at startup, restore the original l_initfini
34576 list.
34577 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
34578 list, store the pointer.
34579 * elf/Makefile ($(objpfx)noload-mem): New rule.
34580 (noload-ENV): Define.
34581 (tests): Add $(objpfx)noload-mem.
34582 * elf/noload.c: Include <memcheck.h>.
34583 (main): Call mtrace. Close all opened handles.
34584
f2092faf
AS
345852011-02-17 Andreas Schwab <schwab@redhat.com>
34586
34587 [BZ #12454]
34588 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
34589 dependencies are missing.
34590
6c8a2e88
ST
345912011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
34592
f2092faf 34593 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
34594 Hurd needs munmap.
34595 * sysdeps/mach/hurd/ifreq.h: New file.
34596
84a42118
PB
345972011-01-27 Petr Baudis <pasky@suse.cz>
34598 Ulrich Drepper <drepper@gmail.com>
34599
071f805e 34600 [BZ 12445]#
84a42118
PB
34601 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
34602 to extend_alloca().
34603 * stdio-common/bug23.c: New file.
34604 * stdio-common/Makefile (tests): Add bug23.
34605
e23fe25b
AS
346062010-09-28 Andreas Schwab <schwab@redhat.com>
34607 Ulrich Drepper <drepper@gmail.com>
34608
34609 [BZ #12489]
34610 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
34611 before performing relro protection. At old place add assertion
34612 to make sure nothing changed.
34613
d3f02e10
NS
346142011-02-17 Nathan Sidwell <nathan@codesourcery.com>
34615 Glauber de Oliveira Costa <glommer@gmail.com>
34616
34617 * elf/elf.h: Add new ARM TLS relocs.
34618
d55fd7a5
RA
346192011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
34620
34621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
34622 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
34623 cast from r3.
34624 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
34625 'tests' variable.
34626 * sysdeps/wordsize-64/tst-writev.c: New file.
34627
2206397e
RA
346282011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
34629
34630 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
34631 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
34632 insns in _dl_start to prevent a TOC reference before relocs are
34633 resolved.
34634
e9433893
UD
346352011-02-15 Ulrich Drepper <drepper@gmail.com>
34636
34637 [BZ #12469]
34638 * Makeconfig: Remove RANLIB definition.
34639 * Makerules: Don't use RANLIB.
34640 * aclocal.m4: Remove ranlib test.
34641 * configure.in: No need to check for ranlib.
34642 * elf/rtld-Rules: Don't use RANLIB.
34643
f75286c6
ST
346442011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
34645
8e31c82d
ST
34646 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
34647 protection macro.
34648 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
34649 inclusion protection macro.
34650
f75286c6
ST
34651 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
34652 SIGRTMIN and SIGRTMAX and print information in that case only when
34653 SIGRTMIN is defined.
34654
c1d0e639
JJ
346552011-02-11 Jakub Jelinek <jakub@redhat.com>
34656
34657 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
34658 arginfo fn returning -1.
34659
34660 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
34661 and thousands string is zero terminated.
34662
edf9294e
AS
346632011-02-03 Andreas Schwab <schwab@redhat.com>
34664
34665 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
34666 sysdeps/unix/sysv/linux/bits/socket.h.
34667
2b7e92df
ST
346682011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
34669
edf9294e
AS
34670 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
34671 (__CPU_COUNT): Remove old macros.
34672 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
34673 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
34674 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
34675 (__sched_cpualloc, __sched_cpufree): Add declarations.
34676
a4c7ea7b
UD
346772011-02-05 Ulrich Drepper <drepper@gmail.com>
34678
34679 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
34680 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
34681 * nscd/aicache.c (addhstaiX): Return timeout of added value.
34682 (readdhstai): Return value of addhstaiX call.
34683 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
34684 (addgrbyX): Return value returned by cache_addgr.
34685 (readdgrbyname): Return value returned by addgrbyX.
34686 (readdgrbygid): Likewise.
34687 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
34688 (addpwbyX): Return value returned by cache_addpw.
34689 (readdpwbyname): Return value returned by addhstbyX.
34690 (readdpwbyuid): Likewise.
34691 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
34692 (addservbyX): Return value returned by cache_addserv.
34693 (readdservbyname): Return value returned by addservbyX:
34694 (readdservbyport): Likewise.
34695 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
34696 (addhstbyX): Return value returned by cache_addhst.
34697 (readdhstbyname): Return value returned by addhstbyX.
34698 (readdhstbyaddr): Likewise.
34699 (readdhstbynamev6): Likewise.
34700 (readdhstbyaddrv6): Likewise.
34701 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
34702 (readdinitgroups): Return value returned by addinitgroupsX.
34703 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
34704 (prune_cache): Keep track of timeout value of re-added entries.
34705 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
34706 * nscd/nscd.h: Adjust prototypes of readd* functions.
34707
a0bf67cc
RM
347082011-02-04 Roland McGrath <roland@redhat.com>
34709
34710 * nis/nis_server.c (nis_servstate): Use the right name for 0.
34711 (nis_stats): Likewise.
34712 * nis/nis_modify.c (nis_modify): Likewise.
34713 * nis/nis_remove.c (nis_remove): Likewise.
34714 * nis/nis_add.c (nis_add): Likewise.
34715
34716 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
34717
34718 * posix/fnmatch_loop.c: Add some consts.
34719
34720 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
34721
435b95eb
L
347222011-02-02 H.J. Lu <hongjiu.lu@intel.com>
34723
34724 [BZ #12460]
34725 * config.make.in (config-cflags-novzeroupper): Define.
34726 * configure.in: Substitute libc_cv_cc_novzeroupper.
34727 * elf/Makefile (AVX-CFLAGS): Define.
34728 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
34729 (CFLAGS-tst-auditmod4a.c): Likewise.
34730 (CFLAGS-tst-auditmod4b.c): Likewise.
34731 (CFLAGS-tst-auditmod6b.c): Likewise.
34732 (CFLAGS-tst-auditmod6c.c): Likewise.
34733 (CFLAGS-tst-auditmod7b.c): Likewise.
34734 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
34735
8517b15e
UD
347362011-02-02 Ulrich Drepper <drepper@gmail.com>
34737
34738 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
34739 function to the callback.
34740 Patch partly by Jiri Olsa <jolsa@redhat.com>.
34741
10a656fe
AS
347422011-02-02 Andreas Schwab <schwab@redhat.com>
34743
34744 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
34745 of errno.
34746
968dad0a
UD
347472011-01-19 Ulrich Drepper <drepper@gmail.com>
34748
9f94d2ea 34749 [BZ #11724]
968dad0a
UD
34750 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
34751 of constructors.
34752 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
34753 of destructors.
34754 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
34755
34756 [BZ #11724]
34757 * elf/Makefile: Add rules to build and run new test.
34758 * elf/tst-initorder.c: New file.
34759 * elf/tst-initorder.exp: New file.
34760 * elf/tst-initordera1.c: New file.
34761 * elf/tst-initordera2.c: New file.
34762 * elf/tst-initordera3.c: New file.
34763 * elf/tst-initordera4.c: New file.
34764 * elf/tst-initorderb1.c: New file.
34765 * elf/tst-initorderb2.c: New file.
34766 * elf/tst-order-a1.c: New file.
34767 * elf/tst-order-a2.c: New file.
34768 * elf/tst-order-a3.c: New file.
34769 * elf/tst-order-a4.c: New file.
34770 * elf/tst-order-b1.c: New file.
34771 * elf/tst-order-b2.c: New file.
34772 * elf/tst-order-main.c: New file.
34773 New test case by George Gensure <werkt0@gmail.com>.
34774
86e92359
UD
347752010-10-01 Andreas Schwab <schwab@redhat.com>
34776
34777 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
34778 decoding ACE if AI_CANONIDN.
34779
5d5732b0
UD
347802011-01-18 Ulrich Drepper <drepper@gmail.com>
34781
34782 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
34783
a77e8cbc
UD
347842011-01-17 Ulrich Drepper <drepper@gmail.com>
34785
6392473f
UD
34786 * version.h (RELEASE): Bump for 2.13 release.
34787 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
34788
620a0529
UD
34789 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
34790
18ba70a5
UD
34791 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
34792 MADV_NOHUGEPAGE.
32465c3e
UD
34793 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
34794 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
34795 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
34796 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
34797 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
34798 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
34799
c0dafcf1
UD
34800 * posix/getconf.c: Update copyright year.
34801 * catgets/gencat.c: Likewise.
34802 * csu/version.c: Likewise.
34803 * debug/catchsegv.sh: Likewise.
34804 * debug/xtrace.sh: Likewise.
34805 * elf/ldconfig.c: Likewise.
34806 * elf/ldd.bash.in: Likewise.
34807 * elf/sprof.c (print_version): Likewise.
34808 * iconv/iconv_prog.c: Likewise.
34809 * iconv/iconvconfig.c: Likewise.
34810 * locale/programs/locale.c: Likewise.
34811 * locale/programs/localedef.c: Likewise.
34812 * malloc/memusage.sh: Likewise.
34813 * malloc/mtrace.pl: Likewise.
34814 * nscd/nscd.c (print_version): Likewise.
34815 * nss/getent.c: Likewise.
34816
a77e8cbc
UD
34817 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
34818 PF_CAIF, and PF_ALG.
34819 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34820
77e8bddf
AS
348212011-01-16 Andreas Schwab <schwab@linux-m68k.org>
34822
1f20b93a
AS
34823 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
34824 (modules-names): Use them.
34825 (ifunc-test-modules, ifunc-pie-tests): Define.
34826 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
34827 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
34828 (test-extras): Likewise.
34829 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
34830 $(compile-command.c).
34831 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
34832 (all-built-dso): Define.
34833 (check-textrel.out, check-execstack.out): Depend on it.
34834
77e8bddf
AS
34835 * configure.in: Don't override --enable-multi-arch.
34836
bc425b33
UD
348372011-01-15 Ulrich Drepper <drepper@gmail.com>
34838
34839 [BZ #6812]
34840 * nscd/hstcache.c (tryagain): Define.
34841 (cache_addhst): Return tryagain not notfound for temporary errors.
34842 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
34843 failed.
34844
794c3ad3
UD
348452011-01-14 Ulrich Drepper <drepper@gmail.com>
34846
70181fdd
UD
34847 [BZ #10563]
34848 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
34849 to make the syscall.
34850 * sysdeps/unix/sysv/linux/setgroups.c: New file.
34851
794c3ad3
UD
34852 [BZ #12378]
34853 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
34854 and fall back to matching as normal character if the string ends before
34855 the matching ']' is found. This is what POSIX requires.
34856 * posix/testfnm.c: Adjust test result.
34857 * posix/globtest.sh: Adjust test result. Add new test.
34858 * posix/tst-fnmatch.input: Likewise.
34859 * posix/tst-fnmatch2.c: Add new test.
34860
68dc9497
AS
348612010-12-28 Andreas Schwab <schwab@linux-m68k.org>
34862
34863 * elf/Makefile (check-execstack): Revert last change. Depend on
34864 check-execstack.h.
34865 (check-execstack.h): New target.
34866 (generated): Add check-execstack.h.
34867 * elf/check-execstack.c: Include "check-execstack.h".
34868 (main): Revert last change.
34869 (handle_file): Return zero if GNU_STACK is absent and
34870 DEFAULT_STACK_PERMS doesn't include PF_X.
34871
451f001b
UD
348722011-01-13 Ulrich Drepper <drepper@gmail.com>
34873
cfa28e56
UD
34874 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
34875 in child fails because the descriptor is already closed.
8cf8ce17
UD
34876 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
34877 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
34878 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 34879
1086d70d
UD
34880 [BZ #12397]
34881 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
34882 syscall.
34883
451f001b
UD
34884 [BZ #10484]
34885 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
34886 temporary buffer used to handle multi lookups locally.
a85b5cb4 34887 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 34888
08769175
UD
348892011-01-12 Ulrich Drepper <drepper@gmail.com>
34890
34891 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
34892 loader is ld.so.
34893
5e49c52e
UD
348942011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
34895
34896 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
34897 alignment for SSE2.
34898
60522a5f
UD
348992011-01-12 Ulrich Drepper <drepper@gmail.com>
34900
34901 [BZ #12394]
34902 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
34903 characters. When rounding increased number of integer digits recompute
34904 number of groups.
34905 * stdio-common/tst-grouping.c: New file.
34906 * stdio-common/Makefile: Add rules to build and run tst-grouping.
34907
f257bbd7
UD
349082011-01-09 Ulrich Drepper <drepper@gmail.com>
34909
34910 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
34911 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
34912
34913 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
34914 void.
34915 * bits/select.h: Likewise.
34916
fa9c15cb
UD
349172011-01-08 Ulrich Drepper <drepper@gmail.com>
34918
34919 * po/ja.po: Update from translation team.
34920
16c2895f
DM
349212011-01-04 David S. Miller <davem@sunset.davemloft.net>
34922
34923 [BZ #11155]
34924 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
34925 implementation just like for lxstat, fxstatat, et al.
34926
2543fef2
JM
349272010-12-27 Jim Meyering <meyering@redhat.com>
34928
34929 [BZ #12348]
34930 * posix/regexec.c (build_trtable): Return failure indication upon
34931 calloc failure. Otherwise, re_search_internal could infloop on OOM.
34932
98727dbe
UD
349332010-12-25 Ulrich Drepper <drepper@gmail.com>
34934
5bd6dc5c
UD
34935 [BZ #12201]
34936 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
34937 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
34938 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
34939 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
34940
97983464
UD
34941 [BZ #12207]
34942 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
34943
98727dbe
UD
34944 [BZ #12204]
34945 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
34946 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
34947
4a531bb0
L
349482010-12-15 H.J. Lu <hongjiu.lu@intel.com>
34949
34950 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
34951 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
34952 script has SORT_BY_INIT_PRIORITY.
34953 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
34954 NO_CTORS_DTORS_SECTIONS is defined.
34955 * elf/soinit.c: Likewise.
34956 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
34957 NO_CTORS_DTORS_SECTIONS is defined.
34958 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
34959 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
34960 * sysdeps/sh/init-first.c: Likewise.
34961 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
34962
07eb4b71
UD
349632010-12-24 Ulrich Drepper <drepper@gmail.com>
34964
34965 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
34966 always use the slow path.
34967
30950a5f
RA
349682010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
34969
34970 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
34971 similar rule which adds the sysdep directories to the header search in
34972 order to pick up the correct platform stackinfo.h.
34973 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
34974 perform test if it is, otherwise return successfully without testing.
34975 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
34976 DEFAULT_STACK_PERMS define in stackinfo.h.
34977 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
34978 defined in stackinfo.h.
34979 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
34980 DEFAULT_STACK_PERMS defined in stackinfo.h.
34981 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
34982 * sysdeps/ia64/stackinfo.h: Likewise.
34983 * sysdeps/s390/stackinfo.h: Likewise.
34984 * sysdeps/sh/stackinfo.h: Likewise.
34985 * sysdeps/sparc/stackinfo.h: Likewise.
34986 * sysdeps/x86_64/stackinfo.h: Likewise.
34987 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
34988 PF_X for powerpc64. Retain PF_X for powerpc32.
34989
db753e2c
UD
349902010-12-19 Ulrich Drepper <drepper@gmail.com>
34991
14b697f7
UD
34992 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
34993 accurately.
db753e2c
UD
34994 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
34995 GETDENTS_64BIT_ALIGNED.
34996
28300719
UD
349972010-12-14 Ulrich Drepper <dreper@gmail.com>
34998
14b697f7 34999 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 35000
4f197237
AS
350012010-12-10 Andreas Schwab <schwab@redhat.com>
35002
dbb0472f
AS
35003 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35004 _GNU_SOURCE.
35005
4f197237
AS
35006 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35007 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35008 Remove __restrict.
35009 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35010 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35011
fb88ac72
UD
350122010-12-09 Ulrich Drepper <drepper@gmail.com>
35013
35014 [BZ #11655]
35015 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35016 are initialized.
35017
42acbb92
JJ
350182010-12-09 Jakub Jelinek <jakub@redhat.com>
35019
35020 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35021
c038d98d
UD
350222010-12-03 Ulrich Drepper <drepper@gmail.com>
35023
35024 * po/it.po: Update from translation team.
35025
3a4a2499
L
350262010-12-01 H.J. Lu <hongjiu.lu@intel.com>
35027
35028 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35029 unused codes.
35030
1e24cf6e
UD
350312010-11-30 Ulrich Drepper <drepper@gmail.com>
35032
35033 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35034
a7690819
AS
350352010-11-24 Andreas Schwab <schwab@redhat.com>
35036
35037 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35038 specially.
35039 (gaih_getanswer_slice): Likewise.
35040
3bf8d1b1
JJ
350412010-10-20 Jakub Jelinek <jakub@redhat.com>
35042
35043 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35044
6db52fbb
PB
350452010-05-31 Petr Baudis <pasky@suse.cz>
35046
35047 [BZ #11149]
35048 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35049 silently even in the chroot mode.
35050
eaca7569
UD
350512010-11-22 Ulrich Drepper <drepper@gmail.com>
35052
35053 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35054 last patch a bit. Pretty printing
35055
3056dcdb
UD
350562010-05-31 Petr Baudis <pasky@suse.cz>
35057
35058 [BZ #10085]
35059 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35060 initialization of skip_initgroups_dyn.
35061
cf7c9078
UD
350622010-11-19 Ulrich Drepper <drepper@gmail.com>
35063
35064 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35065 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35066
a1fb5e3e
UD
350672010-11-16 Ulrich Drepper <drepper@gmail.com>
35068
35069 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35070
3540d66b
AS
350712010-11-11 Andreas Schwab <schwab@redhat.com>
35072
35073 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35074 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35075 (tst-fnmatch-ENV): Set MALLOC_TRACE.
35076 ($(objpfx)tst-fnmatch-mem): New rule.
35077 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35078 * posix/tst-fnmatch.c (main): Call mtrace.
35079
13b69574
L
350802010-11-11 H.J. Lu <hongjiu.lu@intel.com>
35081
35082 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35083 Support Intel processor model 6 and model 0x2c.
35084
da93d214
LM
350852010-11-10 Luis Machado <luisgpm@br.ibm.com>
35086
35087 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35088 signed comparison.
35089
8ca52c6e
L
350902010-11-09 H.J. Lu <hongjiu.lu@intel.com>
35091
35092 [BZ #12205]
35093 * string/test-strncasecmp.c (check_result): New function.
35094 (do_one_test): Use it.
35095 (check1): New function.
35096 (test_main): Use it.
35097 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35098 Support strcasecmp and strncasecmp.
35099
69da074d
UD
351002010-11-08 Ulrich Drepper <drepper@gmail.com>
35101
35102 [BZ #12194]
35103 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35104 * sysdeps/x86_64/bits/byteswap.h: Likewise.
35105
ff02d528
L
351062010-11-07 H.J. Lu <hongjiu.lu@intel.com>
35107
35108 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35109 IFUNC support.
35110 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35111 memset-x86-64.
35112 * sysdeps/x86_64/multiarch/bzero.S: New file.
35113 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35114 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35115 * sysdeps/x86_64/multiarch/memset.S: New file.
35116 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35117 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35118 Set bit_Prefer_SSE_for_memop for Intel processors.
35119 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35120 Define.
35121 (index_Prefer_SSE_for_memop): Define.
35122 (HAS_PREFER_SSE_FOR_MEMOP): Define.
35123
344d0b54
LM
351242010-11-04 Luis Machado <luisgpm@br.ibm.com>
35125
35126 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35127 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35128
c0dde15b
UD
351292010-11-03 H.J. Lu <hongjiu.lu@intel.com>
35130
35131 [BZ #12191]
35132 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35133 (__x86_64_raw_data_cache_size_half): Likewise.
35134 (__x86_64_raw_shared_cache_size): Likewise.
35135 (__x86_64_raw_shared_cache_size_half): Likewise.
35136
35137 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35138 (__x86_64_raw_data_cache_size_half): Likewise.
35139 (__x86_64_raw_shared_cache_size): Likewise.
35140 (__x86_64_raw_shared_cache_size_half): Likewise.
35141 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35142 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35143 and __x86_64_raw_shared_cache_size_half. Round
35144 __x86_64_data_cache_size_half, __x86_64_data_cache_size
35145 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35146 to multiple of 256 bytes.
35147
0e516e0e
MS
351482010-11-03 Ulrich Drepper <drepper@gmail.com>
35149
35150 [BZ #12167]
35151 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35152 of inacessible symlinks. Verify result of symlink before returning it.
35153 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35154 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35155
0e012e87
ER
351562010-10-28 Erich Ritz <erichritz@gmail.com>
35157
35158 * math/math.h (isinf): Fix typo in comment.
35159
de0ff7bc
UD
351602010-11-01 Ulrich Drepper <drepper@gmail.com>
35161
35162 * po/da.po: Update from translation team.
35163
fa41c84d
UD
351642010-10-26 Ulrich Drepper <drepper@gmail.com>
35165
35166 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35167 is added to the list.
35168
f0967738
AK
351692010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35170 Ulrich Drepper <drepper@gmail.com>
35171
35172 * elf/dl-object.c (_dl_new_object): Don't append the new object to
35173 the global list here. Move code to...
35174 (_dl_add_to_namespace_list): ...here. New function.
35175 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35176 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35177 * elf/dl-load.c (lose): Don't remove the element from the list.
35178 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35179 (_dl_map_object): Likewise.
35180
351812010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
35182
35183 [BZ #12159]
35184 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35185 into all bytes of SSE register.
35186 Patch by Richard Li <richardpku@gmail.com>.
35187
f0967738 351882010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
35189
35190 [BZ #12140]
35191 * malloc/malloc.c (_int_free): Fill correct number of bytes when
35192 perturbing.
35193
d0b9e94f
MB
351942010-10-20 Michael B. Brutman <brutman@us.ibm.com>
35195
35196 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35197 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35198 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35199 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35201 submachine.
35202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35203
8e9f92e9
AS
352042010-10-22 Andreas Schwab <schwab@redhat.com>
35205
35206 * include/dlfcn.h (__RTLD_SECURE): Define.
35207 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
35208 mode & __RTLD_SECURE instead.
35209 (open_path): Rename preloaded parameter to secure.
35210 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35211 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35212 * elf/dl-deps.c (openaux): Likewise.
35213 * elf/rtld.c (struct map_args): Remove is_preloaded.
35214 (map_doit): Don't use it.
35215 (dl_main): Likewise.
35216 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35217 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35218
bc96fbda
AS
352192010-09-09 Andreas Schwab <schwab@redhat.com>
35220
35221 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35222 (sysd-rules-targets): Remove duplicates.
35223 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35224 rtld-%.$o dependency.
35225
22cd1c9b
AS
352262010-10-18 Andreas Schwab <schwab@redhat.com>
35227
35228 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35229 _dl_map_object do it.
35230
18edac48
UD
352312010-10-19 Ulrich Drepper <drepper@gmail.com>
35232
35233 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35234 fast fma builtins, define the macros in the C99 standard.
35235 (FP_FAST_FMAF): Likewise.
35236 (FP_FAST_FMAL): Likewise.
35237 * sysdeps/x86_64/bits/mathdef.h: Likewise.
35238
35239 * bits/mathdef.h: Update copyright year.
35240 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35241
d2050124
MM
352422010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
35243
35244 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35245 builtins, define the macros in the C99 standard.
35246 (FP_FAST_FMAF): Likewise.
35247 (FP_FAST_FMAL): Likewise.
35248 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35249 multiply/add.
35250 (FP_FAST_FMAF): Likewise.
35251
475facd1
JJ
352522010-10-15 Jakub Jelinek <jakub@redhat.com>
35253
35254 [BZ #3268]
35255 * math/libm-test.inc (fma_test): Some new testcases.
35256 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35257 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35258 y and infinite z. Do multiplication by C already in long double.
35259 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35260 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35261 y and infinite z. Do bitwise or of inexact bit into u.d.
35262 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35263 * sysdeps/i386/fpu/s_fmaf.S: Removed.
35264 * sysdeps/i386/fpu/s_fma.S: Removed.
35265 * sysdeps/i386/fpu/s_fmal.S: Removed.
35266
7c08a05c
JJ
352672010-10-16 Jakub Jelinek <jakub@redhat.com>
35268
35269 [BZ #3268]
35270 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35271 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35272 computation is not scheduled after fetestexcept. Fix value
35273 of minimum denormal long double.
35274
f3f7372d
JJ
352752010-10-14 Jakub Jelinek <jakub@redhat.com>
35276
35277 [BZ #3268]
35278 * math/libm-test.inc (fma_test): Add some more tests.
35279 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35280 correctly.
35281
14d43591
AS
352822010-10-15 Andreas Schwab <schwab@redhat.com>
35283
35284 * scripts/data/localplt-s390-linux-gnu.data: New file.
35285 * scripts/data/localplt-s390x-linux-gnu.data: New file.
35286
5e908464
JJ
352872010-10-13 Jakub Jelinek <jakub@redhat.com>
35288
35289 [BZ #3268]
35290 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35291 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35292 instead of dbl-64.
35293 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35294 inlines.
35295 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35296 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35297 if one of x and y is very large and the other is subnormal.
35298 * sysdeps/s390/fpu/s_fmaf.c: New file.
35299 * sysdeps/s390/fpu/s_fma.c: New file.
35300 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35301 * sysdeps/powerpc/fpu/s_fma.S: New file.
35302 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35303 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35304 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35305
353062010-10-12 Jakub Jelinek <jakub@redhat.com>
35307
35308 [BZ #3268]
35309 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35310 fma tests.
35311 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35312 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35313 * sysdeps/i386/i686/multiarch/s_fma.c: Include
35314 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35315 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35316 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35317 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35318
b833d51f
UD
353192010-10-12 Ulrich Drepper <drepper@redhat.com>
35320
35321 [BZ #12078]
35322 * posix/regcomp.c (parse_branch): One more memory leak plugged.
35323 * posix/bug-regex31.input: Add test case.
35324
1751705d
UD
353252010-10-11 Ulrich Drepper <drepper@gmail.com>
35326
e9b9cbf5
UD
35327 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35328 * posix/bug-regex31.input: New file.
35329
35330 [BZ #12078]
35331 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35332 (parse_sub_exp): Fix last change, use postorder.
35333
ef06edbe
UD
35334 * posix/bug-regex31.c: New file.
35335 * posix/Makefile: Add rules to build and run bug-regex31.
35336
a129c80d
UD
35337 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35338
35339 [BZ #12078]
35340 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35341
b76b818e
UD
35342 [BZ #12108]
35343 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35344 to have entries in sys_siglist.
35345
1751705d
UD
35346 [BZ #12093]
35347 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35348 be NULL.
35349
9ff8d36f
JJ
353502010-10-07 Jakub Jelinek <jakub@redhat.com>
35351
35352 [BZ #3268]
35353 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35354 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35355 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35356 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35357 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35358 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35359 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35360 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35361 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35362 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35363 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35364 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35365 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35366 * math/ftestexcept.c (fetestexcept): Likewise.
35367 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35368 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35369 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35370 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35371 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35372 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35373 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35374
af325969
UD
353752010-10-11 Ulrich Drepper <drepper@gmail.com>
35376
c579b202 35377 [BZ #12107]
af325969
UD
35378 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35379 newline.
35380
67a67b95
UD
353812010-10-06 Ulrich Drepper <drepper@gmail.com>
35382
35383 * string/bug-strstr1.c: New file.
35384 * string/Makefile: Add rules to build and run bug-strstr1.
35385
5fb308bc
EB
353862010-10-05 Eric Blake <eblake@redhat.com>
35387
35388 [BZ #12092]
35389 * string/str-two-way.h (two_way_long_needle): Always clear memory
35390 when skipping input due to the shift table.
35391
45db99c7
UD
353922010-10-03 Ulrich Drepper <drepper@gmail.com>
35393
3b111893
UD
35394 [BZ #12005]
35395 * malloc/mcheck.c: Handle large requests.
35396
45db99c7
UD
35397 [BZ #12077]
35398 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
35399 for strncmp and strncasecmp.
35400 * string/stratcliff.c: Add tests for strcmp and strncmp.
35401 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
35402
cf7a1eb8
NI
354032010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
35404
35405 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
35406 __set_fpscr.
35407
6484ba5e
AJ
354082010-09-30 Andreas Jaeger <aj@suse.de>
35409
35410 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
35411 (CGROUP_SUPER_MAGIC): Define.
35412 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35413 Handle btrfs and cgroup file systems.
35414 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
35415 Likewise.
35416
91c42559
LM
354172010-09-27 Luis Machado <luisgpm@br.ibm.com>
35418
35419 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
35420 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
35421
87a97932
AK
354222010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35423
35424 [BZ #12067]
35425 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
35426 trying to locate the ELF header.
35427
c21cc9bc
AS
354282010-09-27 Andreas Schwab <schwab@redhat.com>
35429
35430 [BZ #11611]
35431 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
35432 Mask out sign-bit copies when constructing f_fsid.
35433
315970f6
PB
354342010-09-24 Petr Baudis <pasky@suse.cz>
35435
35436 * debug/stack_chk_fail_local.c: Add missing licence exception.
35437 * debug/warning-nop.c: Likewise.
35438
1ac7a2c7
JM
354392010-09-15 Joseph Myers <joseph@codesourcery.com>
35440
35441 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
35442 implementing getdents64 using getdents syscall, set d_type if
35443 __ASSUME_GETDENTS32_D_TYPE.
35444
56801c50
AS
354452010-09-16 Andreas Schwab <schwab@redhat.com>
35446
35447 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
35448 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
35449
dda51327
UD
354502010-09-21 Ulrich Drepper <drepper@redhat.com>
35451
35452 [BZ #12037]
35453 * posix/unistd.h: Undo change of feature selection for ftruncate from
35454 2010-01-11.
35455
8ffcee4a
UD
354562010-09-20 Ulrich Drepper <drepper@redhat.com>
35457
a545ecd9 35458 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
35459 detection.
35460
e24f0a8b
AS
354612010-09-20 Andreas Schwab <schwab@redhat.com>
35462
35463 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
35464 fanotify_mark.
35465 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35466
7291c56f
AS
354672010-09-14 Andreas Schwab <schwab@redhat.com>
35468
35469 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
35470 variables after CHECK_SP call.
35471 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
35472
bc5fb037
AS
354732010-09-13 Andreas Schwab <schwab@redhat.com>
35474 Ulrich Drepper <drepper@redhat.com>
35475
35476 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
35477 re-relocationg ld.so.
35478 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
35479 _dl_init_paths call.
35480 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
35481 here anymore.
35482
e66e7419
UD
354832010-09-14 Ulrich Drepper <drepper@redhat.com>
35484
35485 * resolv/res_init.c (__res_vinit): Count the default server we added.
35486
c044aa75
CLT
354872010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
35488 Ulrich Drepper <drepper@redhat.com>
35489
35490 [BZ #11968]
35491 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
35492 (____longjmp_chk): Use %ebx for saving value across system call.
35493 Add unwind info.
35494
32cf4069
AS
354952010-09-06 Andreas Schwab <schwab@redhat.com>
35496
35497 * manual/Makefile: Don't mix pattern rules with normal rules.
35498
817328ee
AS
354992010-09-05 Andreas Schwab <schwab@linux-m68k.org>
35500
35501 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
35502 operation.
35503 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
35504 * libio/iofopncook.c (_IO_cookie_init): Likewise.
35505 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
35506 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
35507 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
35508 Likewise.
35509
29fddf61
UD
355102010-09-04 Ulrich Drepper <drepper@redhat.com>
35511
35512 [BZ #11979]
35513 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
35514 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
35515
0959ffc9
UD
355162010-09-02 Ulrich Drepper <drepper@redhat.com>
35517
35518 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
35519 * sysdeps/x86_64/addmul_1.S: Likewise.
35520 * sysdeps/x86_64/lshift.S: Likewise.
35521 * sysdeps/x86_64/mul_1.S: Likewise.
35522 * sysdeps/x86_64/rshift.S: Likewise.
35523 * sysdeps/x86_64/sub_n.S: Likewise.
35524 * sysdeps/x86_64/submul_1.S: Likewise.
35525
ece29840
ST
355262010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
35527
0959ffc9
UD
35528 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
35529 Define __sched_param instead of SCHED_* and sched_param when
ece29840 35530 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 35531 * bits/sched.h [__need_schedparam]
ece29840 35532 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
35533 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
35534 (__defined_schedparam): Define to 1.
ece29840
ST
35535 (__sched_param): New structure, identical to sched_param.
35536 (__need_schedparam): Undefine.
35537
e53a31fe
MF
355382010-08-31 Mike Frysinger <vapier@gentoo.org>
35539
fdc0c10d
MF
35540 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
35541 (epoll_create1): Declare.
35542
e53a31fe
MF
35543 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
35544
a726d796
AS
355452010-08-31 Andreas Schwab <schwab@redhat.com>
35546
35547 [BZ #7066]
35548 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
35549 shifting retval into place.
35550
2f3e3dc7
UD
355512010-09-01 Ulrich Drepper <drepper@redhat.com>
35552
f2933da9
UD
35553 * nis/rpcsvc/nis.h: Update copyright notice.
35554 * nis/rpcsvc/nis.x: Likewise.
35555 * nis/rpcsvc/nis_callback.h: Likewise.
35556 * nis/rpcsvc/nis_callback.x: Likewise.
35557 * nis/rpcsvc/nis_object.x: Likewise.
35558 * nis/rpcsvc/nis_tags.h: Likewise.
35559 * nis/rpcsvc/yp.h: Likewise.
35560 * nis/rpcsvc/yp.x: Likewise.
35561 * nis/rpcsvc/ypupd.h: Likewise.
35562 * nis/yp_xdr.c: Likewise.
35563 * nis/ypupdate_xdr.c: Likewise.
35564
2f3e3dc7
UD
35565 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
35566 mainly the body of pmap_getport. Add parameters to specify timeouts.
35567 (pmap_getport): Use __libc_rpc_getport.
35568 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
35569 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
35570 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
35571
f3dcc2f9
AS
355722010-08-31 Andreas Schwab <schwab@linux-m68k.org>
35573
35574 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
35575 fanotify_mark.
35576
6d34eb5b
RM
355772010-08-27 Roland McGrath <roland@redhat.com>
35578
35579 * sysdeps/i386/i686/multiarch/Makefile
35580 (CFLAGS-varshift.c): New variable.
35581
9ea3de11
UD
355822010-08-27 Ulrich Drepper <drepper@redhat.com>
35583
c96d23fc
UD
35584 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
35585 * sysdeps/i386/i686/multiarch/varshift.c: New file.
35586
9ea3de11
UD
35587 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
35588
35589 * sysdeps/x86_64/strlen.S: Minimal code improvement.
35590
623aac7f
L
355912010-08-26 H.J. Lu <hongjiu.lu@intel.com>
35592
35593 * sysdeps/x86_64/strlen.S: Unroll the loop.
35594 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35595 strlen-sse2 strlen-sse2-bsf.
35596 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
35597 __strlen_no_bsf if bit_Slow_BSF is set.
35598 (__strlen_sse42): Removed.
35599 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
35600 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
35601
8b2b7715
RM
356022010-08-25 Roland McGrath <roland@redhat.com>
35603
35604 * sysdeps/x86_64/multiarch/varshift.S: File removed.
35605 * sysdeps/x86_64/multiarch/varshift.c: New file.
35606 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
35607 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
35608 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
35609 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
35610
e73015f2
L
356112010-08-25 H.J. Lu <hongjiu.lu@intel.com>
35612
35613 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
35614 strlen-sse2 strlen-sse2-bsf.
35615 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
35616 __strlen_sse2_bsf if bit_Slow_BSF is unset.
35617 (__strlen_sse2): Removed.
35618 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
35619 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
35620 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
35621 bit_Slow_BSF for Atom.
35622 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
35623 (index_Slow_BSF): Define.
35624 (HAS_SLOW_BSF): Define.
35625
df24a73e
UD
356262010-08-25 Ulrich Drepper <drepper@redhat.com>
35627
35628 [BZ #10851]
35629 * resolv/res_init.c (__res_vinit): When no server address at all
35630 is given default to loopback.
35631
f2ac4868
RM
356322010-08-24 Roland McGrath <roland@redhat.com>
35633
09055553
RM
35634 * configure.in: Remove config-name.h generation.
35635 * configure: Regenerated.
35636 * config-name.in: File removed.
35637 * scripts/config-uname.sh: New file.
35638 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
35639 ($(objdir)config-name.h): New target.
35640
f2ac4868
RM
35641 * sunrpc/rpc_parse.h: Avoid nested comment.
35642
73f27d5e
RH
356432010-08-24 Richard Henderson <rth@redhat.com>
35644 Ulrich Drepper <drepper@redhat.com>
35645 H.J. Lu <hongjiu.lu@intel.com>
35646
35647 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
35648 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
35649 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
35650 Replace _mm_srli_si128 with __m128i_shift_right. Replace
35651 _mm_alignr_epi8 with _mm_loadu_si128.
35652 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
35653 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
35654 (__m128i_shift_right): Removed.
35655 * sysdeps/i386/i686/multiarch/varshift.h: New file.
35656 * sysdeps/i386/i686/multiarch/varshift.S: New file.
35657 * sysdeps/x86_64/multiarch/varshift.h: New file.
35658 * sysdeps/x86_64/multiarch/varshift.S: New file.
35659
84b9230c
MF
356602010-08-21 Mike Frysinger <vapier@gentoo.org>
35661
35662 * configure.in: Move assembler checks to before sysdep dir checking.
35663
9bbd0ddc
PB
356642010-08-20 Petr Baudis <pasky@suse.cz>
35665
35666 * LICENSES: Sync the sunrpc license.
35667
9da4bb31
UD
356682010-08-19 Ulrich Drepper <drepper@redhat.com>
35669
a7ab6ec8
UD
35670 * sunrpc/auth_des.c: Update copyright notice once again.
35671 * sunrpc/auth_none.c: Likewise.
35672 * sunrpc/auth_unix.c: Likewise.
35673 * sunrpc/authdes_prot.c: Likewise.
35674 * sunrpc/authuxprot.c: Likewise.
35675 * sunrpc/bindrsvprt.c: Likewise.
35676 * sunrpc/clnt_gen.c: Likewise.
35677 * sunrpc/clnt_perr.c: Likewise.
35678 * sunrpc/clnt_raw.c: Likewise.
35679 * sunrpc/clnt_simp.c: Likewise.
35680 * sunrpc/clnt_tcp.c: Likewise.
35681 * sunrpc/clnt_udp.c: Likewise.
35682 * sunrpc/clnt_unix.c: Likewise.
35683 * sunrpc/des_crypt.c: Likewise.
35684 * sunrpc/des_soft.c: Likewise.
35685 * sunrpc/get_myaddr.c: Likewise.
35686 * sunrpc/getrpcport.c: Likewise.
35687 * sunrpc/key_call.c: Likewise.
35688 * sunrpc/key_prot.c: Likewise.
35689 * sunrpc/openchild.c: Likewise.
35690 * sunrpc/pm_getmaps.c: Likewise.
35691 * sunrpc/pm_getport.c: Likewise.
35692 * sunrpc/pmap_clnt.c: Likewise.
35693 * sunrpc/pmap_prot.c: Likewise.
35694 * sunrpc/pmap_prot2.c: Likewise.
35695 * sunrpc/pmap_rmt.c: Likewise.
35696 * sunrpc/rpc/auth.h: Likewise.
35697 * sunrpc/rpc/auth_unix.h: Likewise.
35698 * sunrpc/rpc/clnt.h: Likewise.
35699 * sunrpc/rpc/des_crypt.h: Likewise.
35700 * sunrpc/rpc/key_prot.h: Likewise.
35701 * sunrpc/rpc/netdb.h: Likewise.
35702 * sunrpc/rpc/pmap_clnt.h: Likewise.
35703 * sunrpc/rpc/pmap_prot.h: Likewise.
35704 * sunrpc/rpc/pmap_rmt.h: Likewise.
35705 * sunrpc/rpc/rpc.h: Likewise.
35706 * sunrpc/rpc/rpc_des.h: Likewise.
35707 * sunrpc/rpc/rpc_msg.h: Likewise.
35708 * sunrpc/rpc/svc.h: Likewise.
35709 * sunrpc/rpc/svc_auth.h: Likewise.
35710 * sunrpc/rpc/types.h: Likewise.
35711 * sunrpc/rpc/xdr.h: Likewise.
35712 * sunrpc/rpc_clntout.c: Likewise.
35713 * sunrpc/rpc_cmsg.c: Likewise.
35714 * sunrpc/rpc_common.c: Likewise.
35715 * sunrpc/rpc_cout.c: Likewise.
35716 * sunrpc/rpc_dtable.c: Likewise.
35717 * sunrpc/rpc_hout.c: Likewise.
35718 * sunrpc/rpc_main.c: Likewise.
35719 * sunrpc/rpc_parse.c: Likewise.
35720 * sunrpc/rpc_parse.h: Likewise.
35721 * sunrpc/rpc_prot.c: Likewise.
35722 * sunrpc/rpc_sample.c: Likewise.
35723 * sunrpc/rpc_scan.c: Likewise.
35724 * sunrpc/rpc_scan.h: Likewise.
35725 * sunrpc/rpc_svcout.c: Likewise.
35726 * sunrpc/rpc_tblout.c: Likewise.
35727 * sunrpc/rpc_util.c: Likewise.
35728 * sunrpc/rpc_util.h: Likewise.
35729 * sunrpc/rpcinfo.c: Likewise.
35730 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
35731 * sunrpc/rpcsvc/key_prot.x: Likewise.
35732 * sunrpc/rpcsvc/klm_prot.x: Likewise.
35733 * sunrpc/rpcsvc/mount.x: Likewise.
35734 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
35735 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
35736 * sunrpc/rpcsvc/rex.x: Likewise.
35737 * sunrpc/rpcsvc/rstat.x: Likewise.
35738 * sunrpc/rpcsvc/rusers.x: Likewise.
35739 * sunrpc/rpcsvc/sm_inter.x: Likewise.
35740 * sunrpc/rpcsvc/spray.x: Likewise.
35741 * sunrpc/rpcsvc/yppasswd.x: Likewise.
35742 * sunrpc/rtime.c: Likewise.
35743 * sunrpc/svc.c: Likewise.
35744 * sunrpc/svc_auth.c: Likewise.
35745 * sunrpc/svc_authux.c: Likewise.
35746 * sunrpc/svc_raw.c: Likewise.
35747 * sunrpc/svc_run.c: Likewise.
35748 * sunrpc/svc_simple.c: Likewise.
35749 * sunrpc/svc_tcp.c: Likewise.
35750 * sunrpc/svc_udp.c: Likewise.
35751 * sunrpc/svc_unix.c: Likewise.
35752 * sunrpc/svcauth_des.c: Likewise.
35753 * sunrpc/xcrypt.c: Likewise.
35754 * sunrpc/xdr.c: Likewise.
35755 * sunrpc/xdr_array.c: Likewise.
35756 * sunrpc/xdr_float.c: Likewise.
35757 * sunrpc/xdr_mem.c: Likewise.
35758 * sunrpc/xdr_rec.c: Likewise.
35759 * sunrpc/xdr_ref.c: Likewise.
35760 * sunrpc/xdr_sizeof.c: Likewise.
35761 * sunrpc/xdr_stdio.c: Likewise.
35762
9da4bb31
UD
35763 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
35764 handling.
35765
bdaa77bc
AS
357662010-08-19 Andreas Schwab <schwab@redhat.com>
35767
35768 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
35769
fe2f79db
LM
357702010-08-19 Luis Machado <luisgpm@br.ibm.com>
35771
35772 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
35773 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
35774 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
35775 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
35776 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
35777 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
35778 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
35779 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
35780 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
35781 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
35782 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
35783 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
35784 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
35785 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
35786
b9b42ee0
AB
357872010-07-26 Anton Blanchard <anton@samba.org>
35788
35789 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
35790 * malloc/arena.c (heap_trim): Likewise.
35791
1c06ba31
UD
357922010-08-16 Ulrich Drepper <drepper@redhat.com>
35793
35794 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
35795 here. Not...
35796 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
35797 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
35798
f8392f40
L
357992010-08-12 H.J. Lu <hongjiu.lu@intel.com>
35800
35801 * sysdeps/i386/elf/Makefile: New file.
35802
3162f12e
AS
358032010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35804
35805 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
35806 from fanotify_init.
35807 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
35808 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35809
28c90b2c
UD
358102010-08-15 Ulrich Drepper <drepper@redhat.com>
35811
35812 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
35813 of strncasecmp_l.
1feccb6c 35814 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 35815
ca6bb004
UD
358162010-08-14 Ulrich Drepper <drepper@redhat.com>
35817
e9f82e0d
UD
35818 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
35819 strncase_l-nonascii.
35820 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35821 Add strncase_l-ssse3.
35822 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
35823 * sysdeps/x86_64/strcmp.S: Likewise.
35824 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
35825 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
35826 * sysdeps/x86_64/strncase.S: New file.
35827 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
35828 * sysdeps/x86_64/strncase_l.S: New file.
35829 * string/Makefile (strop-tests): Add strncasecmp.
35830 * string/test-strncasecmp.c: New file.
35831
35832 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
35833 warning.
35834
ca6bb004
UD
35835 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
35836 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
35837
052fa7b3
AS
358382010-08-14 Andreas Schwab <schwab@linux-m68k.org>
35839
35840 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
35841
962dba78
UD
358422010-08-12 Ulrich Drepper <drepper@redhat.com>
35843
35844 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
35845 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
35846 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
35847
bebff237
AM
358482010-05-01 Alan Modra <amodra@gmail.com>
35849
35850 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
35851 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
35852 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
35853 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
35854 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
35855 tidying. Don't tail-call __sigjmp_save for static lib.
35856 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
35857 save location.
35858 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
35859 (CALL_MCOUNT): Add eh info, and nop after bl.
35860 (TAIL_CALL_SYSCALL_ERROR): New macro.
35861 (PSEUDO_RET): Use it.
35862 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
35863 Correct save location of integer regs and cr.
35864 (_dl_profile_resolve): Correct cr save location. Delete nops
35865 after bl when SHARED. Reduce cfi size a little by better
35866 placement of cfi directives.
35867 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
35868 make a stack frame. Instead use parm save area as a temp.
35869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
35870 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
35871 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
35872 Don't make a stack frame for parent, use parm save area.
35873 Increase child stack frame to 112 bytes. Don't save unused reg,
35874 and adjust reg usage. Set up cfi on error recovery and
35875 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
35876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
35877 (__makecontext): Add dummy nop after jump to exit.
35878 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
35879 Use correct parm save area and cr save, reduce stack frame.
35880 Correct cfi for possible PSEUDO_RET frame setup.
35881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
35882 Branch to local label emitted by PSEUDO_RET rather than
35883 __syscall_error.
35884
02637374
AS
358852010-08-12 Andreas Schwab <schwab@redhat.com>
35886
35887 [BZ #11904]
35888 * locale/programs/locale.c (print_assignment): New function.
35889 (show_locale_vars): Use it.
35890
c3e2f19b
UD
358912010-08-11 Ulrich Drepper <drepper@redhat.com>
35892
3cdaa6ad
UD
35893 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
35894 field.
35895 (struct statfs64): Likewise.
35896 (_STATFS_F_FLAGS): Define.
35897 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
35898 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
35899 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
35900 (ST_VALID): Define locally.
35901 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
35902 __statvfs_getflags, use the provided value.
35903 * sysdeps/unix/sysv/linux/kernel-features.h: Define
35904 __ASSUME_STATFS_F_FLAGS.
35905
754f7da3
UD
35906 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
35907
10b3bedc
UD
35908 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
35909 Add sys/fanotify.h.
35910 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
35911 fanotify_mask for GLIBC_2.13.
35912 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
35913 fanotify_init and fanotify_mark.
35914 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
35915 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
35916
c08fb0d7
UD
35917 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
35918 Add prlimit.
35919 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
35920 prlimit64 for GLIBC_2.13.
35921 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
35922 prlimit64.
35923 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
35924 syscall.
35925 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
35926 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
35927 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
35928 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
35929 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
35930 add prlimit alias.
35931 * sysdeps/unix/sysv/linux/prlimit.c: New file.
35932
15bac72b
UD
35933 [BZ #11903]
35934 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
35935 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
35936
c3e2f19b
UD
35937 * nss/Makefile: Add rules to build and run tst-nss-test1.
35938 * shlib-versions: Add entry for libnss_test1.
35939 * nss/nss_test1.c: New file.
35940 * nss/tst-nss-test1.c: New file.
35941
35942 * nss/nsswitch.c (__nss_database_custom): Define new variable.
35943 (__nss_configure_lookup): Set appropriate entry in
35944 __nss_configure_lookup to true.
35945 * nss/nsswitch.h: Define enum with indeces of databases in
35946 databases and __nss_database_custom arrays. Declare
35947 __nss_database_custom.
35948 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
35949 to avoid using nscd when custom rules are installed.
35950 * nss/getXXbyYY_r.c: Likewise.
35951 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
35952
35953 * nss/nss_files/files-parse.c: Whitespace fixes.
35954
f15ce4d8
UD
359552010-08-09 Ulrich Drepper <drepper@redhat.com>
35956
35957 [BZ #11883]
35958 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
35959 * posix/fnmatch_loop.c: Likewise.
35960
d22e4cc9
AK
359612010-07-17 Andi Kleen <ak@linux.intel.com>
35962
35963 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
35964 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
35965 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
35966 * Versions.def [GLIBC_2.13]: Add.
35967
805bc17d
UD
359682010-08-06 Ulrich Drepper <drepper@redhat.com>
35969
35970 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
35971 Also fail if tpwd after pwuid call is NULL.
35972
5a42321d
ST
359732010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
35974
35975 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
35976 when converting to ms.
35977
fd3ebeda
ST
359782010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
35979
35980 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
35981 EOPNOTSUPP errors with ENOTTY.
35982 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
35983 EOPNOTSUPP errors with ENOTTY.
35984
73507d3a
UD
359852010-07-31 Ulrich Drepper <drepper@redhat.com>
35986
35987 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
35988 Add strcasecmp_l-ssse3.
35989 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
35990 strcasecmp.
35991 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
35992 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
35993 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
35994
fe36dd02
UD
359952010-07-30 Ulrich Drepper <drepper@redhat.com>
35996
66f6765a
UD
35997 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
35998
42e08a54
UD
35999 * string/Makefile (strop-tests): Add strcasecmp.
36000 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36001 strcasecmp_l-nonascii.
36002 (gen-as-const-headers): Add locale-defines.sym.
36003 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36004 * sysdeps/x86_64/strcasecmp.S: New file.
36005 * sysdeps/x86_64/strcasecmp_l.S: New file.
36006 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36007 * sysdeps/x86_64/locale-defines.sym: New file.
36008 * string/test-strcasecmp.c: New file.
36009
fe36dd02
UD
36010 * string/test-strcasestr.c: Test both ends of the range of characters.
36011 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36012
48cbc0d6
RM
360132010-07-29 Roland McGrath <roland@redhat.com>
36014
76e6d6bc 36015 [BZ #11856]
48cbc0d6
RM
36016 * manual/locale.texi (Yes-or-No Questions): Fix example code.
36017
880113d9
UD
360182010-07-27 Ulrich Drepper <drepper@redhat.com>
36019
36020 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36021 for ld.so.
36022
deb9cabb
AS
360232010-07-27 Andreas Schwab <schwab@redhat.com>
36024
36025 * manual/memory.texi (Malloc Tunable Parameters): Document
36026 M_PERTURB.
36027
1c7570ff
RM
360282010-07-26 Roland McGrath <roland@redhat.com>
36029
36030 [BZ #11840]
36031 * configure.in (-fgnu89-inline check): Set and substitute
36032 gnu89_inline, not libc_cv_gnu89_inline.
36033 * configure: Regenerated.
36034 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36035
24fb0f88
UD
360362010-07-26 Ulrich Drepper <drepper@redhat.com>
36037
36038 * string/test-strnlen.c: New file.
36039 * string/Makefile (strop-tests): Add strnlen.
36040 * string/tester.c (test_strnlen): Add a few more test cases.
36041 * string/tst-strlen.c: Better error reporting.
36042
36043 * sysdeps/x86_64/strnlen.S: New file.
36044
8e96b93a
UD
360452010-07-24 Ulrich Drepper <drepper@redhat.com>
36046
36047 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36048 lower-latency instructions.
36049
dbc676d4
UD
360502010-07-23 Ulrich Drepper <drepper@redhat.com>
36051
36052 * string/test-strcasestr.c: New file.
36053 * string/test-strstr.c: New file.
36054 * string/Makefile (strop-tests): Add strstr and strcasestr.
36055 * string/str-two-way.h: Don't undefine MAX.
36056 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36057
f6a31e0e
AS
360582010-07-21 Andreas Schwab <schwab@redhat.com>
36059
36060 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36061 strcasestr-nonascii.
36062 (CFLAGS-strcasestr-nonascii.c): Define.
36063 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36064 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36065 Remove unused attribute.
36066
5dbc3b6c
RM
360672010-07-20 Roland McGrath <roland@redhat.com>
36068
36069 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36070 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
36071 ld.so.cache was broken. With it, there is no way to disable dsocaps
36072 like LD_HWCAP_MASK can disable hwcaps.
36073
23d101d8
EPM
360742010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36075
36076 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36077
cc9f2e47
UD
360782010-07-16 Ulrich Drepper <drepper@redhat.com>
36079
36080 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36081 call in strcasestr.
36082 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36083 __strcasestr_sse42_nonascii.
36084 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36085 strcasestr-nonascii.c.
36086 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36087
77c1b069
LM
360882010-06-15 Luis Machado <luisgpm@br.ibm.com>
36089
36090 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36091 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36092 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36093 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36094
440566c3
UD
360952010-07-09 Ulrich Drepper <drepper@redhat.com>
36096
36097 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36098 fcntl.
36099
5be9d05d
AS
361002010-07-06 Andreas Schwab <schwab@redhat.com>
36101
c30b7ee2 36102 [BZ #11577]
5be9d05d
AS
36103 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36104 dl_signal_cerror.
36105
8a492a67
UD
361062010-07-06 Ulrich Drepper <drepper@redhat.com>
36107
36108 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36109 _PC_PIPE_BUF using F_GETPIPE_SZ.
36110
713df3d5
RM
361112010-07-05 Roland McGrath <roland@redhat.com>
36112
36113 * manual/arith.texi (Rounding Functions): Fix rint description
36114 implicit in round description.
36115
702e8f14
UD
361162010-07-02 Ulrich Drepper <drepper@redhat.com>
36117
36118 * elf/Makefile: Fix linking for a few tests to make recent linker
36119 happy.
36120
52ed8be9
AS
361212010-06-30 Andreas Schwab <schwab@redhat.com>
36122
36123 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36124 $(common-objpfx)libc_nonshared.a.
36125
f47c9a11
LM
361262010-06-21 Luis Machado <luisgpm@br.ibm.com>
36127
36128 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36129 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36130 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36131 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36132 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36133 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36134 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36135 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36136 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36137 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36138 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36150 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36151 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36152 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36153 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36154 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36155 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36156 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36157 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36158 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36159 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36160 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36161 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36162 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36165 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36168 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36169 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36176
6fb8cbcb
L
361772010-06-25 H.J. Lu <hongjiu.lu@intel.com>
36178
36179 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36180 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
36181 * string/memmove.c (memmove): Renamed to ...
36182 (MEMMOVE): ...this. Default to memmove.
36183 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36184 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36185 (END_CHK): Define.
36186 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36187 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36188 mempcpy-ssse3-back memmove-ssse3-back.
36189 * sysdeps/x86_64/multiarch/bcopy.S: New file .
36190 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36191 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36192 * sysdeps/x86_64/multiarch/memcpy.S: New file.
36193 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36194 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36195 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36196 * sysdeps/x86_64/multiarch/memmove.c: New file.
36197 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36198 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36199 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36200 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36201 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36202 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36203 Define.
36204 (index_Fast_Copy_Backward): Define.
36205 (HAS_ARCH_FEATURE): Define.
36206 (HAS_FAST_REP_STRING): Define.
36207 (HAS_FAST_COPY_BACKWARD): Define.
36208
4e733bac 362092010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
36210
36211 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36212 Restore proper fallback handling.
36213
63c4ed22
UD
362142010-06-19 Ulrich Drepper <drepper@redhat.com>
36215
ac2b484c
UD
36216 [BZ #11701]
36217 * posix/group_member.c (__group_member): Correct checking loop.
36218
63c4ed22
UD
36219 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36220 OOM in getpwuid_r correctly. Return error number when the caller
36221 should return, otherwise -1.
36222 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36223 call returning > 0 value.
36224 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36225
765ade4b
AS
362262010-06-07 Andreas Schwab <schwab@redhat.com>
36227
36228 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36229 libc_nonshared.a from targets in modules-names.
36230
80da2e09
KS
362312010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
36232
36233 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36234 requires it.
36235
158db122
LM
362362010-06-10 Luis Machado <luisgpm@br.ibm.com>
36237
36238 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36239 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36240 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36241 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36242
caa78cf8
AS
362432010-06-02 Andreas Schwab <schwab@redhat.com>
36244
36245 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36246
b2ef2c01
UD
362472010-06-14 Ulrich Drepper <drepper@redhat.com>
36248
36249 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36250 and F_GETPIPE_SZ.
36251 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36252 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36253 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36254 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36255 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36256 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36257
fbd643b6
RM
362582010-06-14 Roland McGrath <roland@redhat.com>
36259
36260 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36261
f32f2869
JJ
362622010-06-07 Jakub Jelinek <jakub@redhat.com>
36263
36264 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36265 __REDIRECT followed by __THROW.
36266 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36267 * posix/getopt.h (getopt): Likewise.
36268
2a50c078
EPM
362692010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
36270
36271 * hurd/lookup-at.c (__file_name_lookup_at): Accept
36272 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
36273 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36274 in AT_FLAGS.
36275 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36276 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36277
eb5ad2eb
LM
362782010-05-28 Luis Machado <luisgpm@br.ibm.com>
36279
36280 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36281
3c88fe1e
L
362822010-05-26 H.J. Lu <hongjiu.lu@intel.com>
36283
36284 [BZ #11640]
36285 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36286 Properly check family and model.
36287
d2f73151
TY
362882010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
36289
36290 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36291
ebd2e13d
LM
362922010-05-24 Luis Machado <luisgpm@br.ibm.com>
36293
36294 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36295
b32b8b45
UD
362962010-05-21 Ulrich Drepper <drepper@redhat.com>
36297
36298 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36299 symbol reference.
36300
9acbe24d
AS
363012010-05-19 Andreas Schwab <schwab@redhat.com>
36302
36303 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36304 symbol reference.
36305
f0ccf6ea
AS
363062010-05-21 Andreas Schwab <schwab@redhat.com>
36307
3d04ff3a
AS
36308 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36309 and internal_recvmmsg.
36310 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36311 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36312 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36313 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36314
f0ccf6ea
AS
36315 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36316 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36317 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36318
5b08ac57
AS
363192010-05-20 Andreas Schwab <schwab@redhat.com>
36320
36321 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36322
4828935d
LM
363232010-05-17 Luis Machado <luisgpm@br.ibm.com>
36324
36325 POWER7 optimizations.
36326 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36327 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36328
373d545e
UD
363292010-05-19 Ulrich Drepper <drepper@redhat.com>
36330
36331 * version.h: Update for 2.13 development version.
36332
21a2b1ae
AS
363332010-05-12 Andrew Stubbs <ams@codesourcery.com>
36334
36335 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36336 exceptions. Return 0.
36337
3f7dcb2b
RM
363382010-05-07 Roland McGrath <roland@redhat.com>
36339
36340 * elf/ldconfig.c (main): Add a const.
36341
5f24d53a 363422010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 36343
a160f8d8
UD
36344 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36345 (args_options): Add no-idn option.
36346 (ahosts_keys_int): Add idn_flags to ai_flags.
36347 (parse_option): Handle 'i' option to clear idn_flags.
36348
5f24d53a
UD
36349 * malloc/malloc.c (_int_free): Possible race in the most recently
36350 added check. Only act on the data if no current modification
36351 happened.
265bb1ce
UD
36352
36353See ChangeLog.17 for earlier changes.
This page took 4.808545 seconds and 5 git commands to generate.